From 4a5e9fd587f30f370904b0aeb5a6988390d5de88 Mon Sep 17 00:00:00 2001 From: Doug Kent Date: Thu, 4 Jan 2018 09:24:28 -0500 Subject: [PATCH] All tests passing with latest daostack-arc - updated node version - install truffle locally - testrpc => ganache - remove contracts from git - remove images folder - use our own migration script - Use truffle-core-migrate-without-compile to avoid recompiling contracts - use non-nconf config system for now while we sort out whether it can work for us - no longer migrate from within arc folder - rename contracts folder for linux - include ability to run tests in package - Remove commented code --- .babelrc | 4 +- .eslintrc.json | 3 +- .gitignore | 6 +- .travis.yml | 13 +- README.md | 2 +- config/default.json | 7 +- contracts/AbsoluteVote.json | 11716 ---------- contracts/ActionInterface.json | 3976 ---- contracts/ActionMock.json | 765 - contracts/Avatar.json | 4370 ---- contracts/BasicToken.json | 1317 -- contracts/BurnableToken.json | 1161 - contracts/ContributionReward.json | 7121 ------ contracts/Controller.json | 16294 -------------- contracts/DAOToken.json | 938 - contracts/Debug.json | 483 - contracts/Destructible.json | 521 - contracts/ERC20.json | 745 - contracts/ERC20Basic.json | 474 - contracts/EmergentVoteScheme.json | 24102 --------------------- contracts/ExecutableInterface.json | 251 - contracts/ExecutableTest.json | 609 - contracts/GenesisScheme.json | 4251 ---- contracts/GlobalConstraintInterface.json | 403 - contracts/GlobalConstraintMock.json | 1034 - contracts/GlobalConstraintRegistrar.json | 7078 ------ contracts/IntVoteInterface.json | 1631 -- contracts/Migrations.json | 839 - contracts/MintableToken.json | 1668 -- contracts/MirrorContractICO.json | 7248 ------- contracts/OrganizationRegister.json | 3294 --- contracts/Ownable.json | 841 - contracts/QuorumVote.json | 2235 -- contracts/Reputation.json | 2455 --- contracts/SafeMath.json | 1347 -- contracts/SchemeRegistrar.json | 8147 ------- contracts/SimpleICO.json | 7624 ------- contracts/StandardToken.json | 3736 ---- contracts/StandardTokenMock.json | 574 - contracts/TokenCapGC.json | 1760 -- contracts/UniversalScheme.json | 2126 -- contracts/UniversalSchemeInterface.json | 473 - contracts/UpgradeScheme.json | 7337 ------- contracts/VestingScheme.json | 13214 ----------- contracts/VoteInOrganizationScheme.json | 5444 ----- dist/absoluteVote.js | 44 - dist/arc.js | 137 - dist/config.js | 20 - dist/contracts.js | 79 - dist/contributionreward.js | 185 - dist/globalconstraintregistrar.js | 151 - dist/organization.js | 354 - dist/schemeregistrar.js | 244 - dist/tokenCapGC.js | 44 - dist/upgradescheme.js | 212 - dist/utils.js | 283 - dist/wallet.js | 164 - docs/README.md | 2 +- images/dao-icon.png | Bin 17913 -> 0 bytes lib/arc.d.ts | 111 +- lib/arc.js | 22 +- lib/config.js | 24 +- lib/contracts.js | 21 +- lib/contributionreward.js | 68 +- lib/globalconstraintregistrar.js | 28 +- lib/organization.js | 95 +- lib/schemeregistrar.js | 84 +- lib/upgradescheme.js | 95 +- lib/utils.js | 38 +- lib/wallet.js | 28 +- migrations/1_initial_migration.js | 5 + migrations/2_deploy_organization.js | 97 + package-lock.json | 6974 ++---- package-scripts.js | 202 +- package-scripts/archiveGanacheDb.js | 14 + package-scripts/archiveTestrpcDb.js | 26 - package-scripts/unArchiveGanacheDb.js | 5 + package-scripts/unArchiveTestrpcDb.js | 5 - package.json | 80 +- test/contributionreward.js | 109 +- test/globalconstraintregistrar.js | 98 +- test/helpers.js | 183 +- test/organization.js | 56 +- test/schemeregistrar.js | 103 +- test/upgradescheme.js | 108 +- test/utils.js | 40 +- test/wallet.js | 26 +- testrpcDb.zip | Bin 257677 -> 0 bytes truffle.js | 44 + yarn.lock | 1330 +- 90 files changed, 4095 insertions(+), 167580 deletions(-) delete mode 100644 contracts/AbsoluteVote.json delete mode 100644 contracts/ActionInterface.json delete mode 100644 contracts/ActionMock.json delete mode 100644 contracts/Avatar.json delete mode 100644 contracts/BasicToken.json delete mode 100644 contracts/BurnableToken.json delete mode 100644 contracts/ContributionReward.json delete mode 100644 contracts/Controller.json delete mode 100644 contracts/DAOToken.json delete mode 100644 contracts/Debug.json delete mode 100644 contracts/Destructible.json delete mode 100644 contracts/ERC20.json delete mode 100644 contracts/ERC20Basic.json delete mode 100644 contracts/EmergentVoteScheme.json delete mode 100644 contracts/ExecutableInterface.json delete mode 100644 contracts/ExecutableTest.json delete mode 100644 contracts/GenesisScheme.json delete mode 100644 contracts/GlobalConstraintInterface.json delete mode 100644 contracts/GlobalConstraintMock.json delete mode 100644 contracts/GlobalConstraintRegistrar.json delete mode 100644 contracts/IntVoteInterface.json delete mode 100644 contracts/Migrations.json delete mode 100644 contracts/MintableToken.json delete mode 100644 contracts/MirrorContractICO.json delete mode 100644 contracts/OrganizationRegister.json delete mode 100644 contracts/Ownable.json delete mode 100644 contracts/QuorumVote.json delete mode 100644 contracts/Reputation.json delete mode 100644 contracts/SafeMath.json delete mode 100644 contracts/SchemeRegistrar.json delete mode 100644 contracts/SimpleICO.json delete mode 100644 contracts/StandardToken.json delete mode 100644 contracts/StandardTokenMock.json delete mode 100644 contracts/TokenCapGC.json delete mode 100644 contracts/UniversalScheme.json delete mode 100644 contracts/UniversalSchemeInterface.json delete mode 100644 contracts/UpgradeScheme.json delete mode 100644 contracts/VestingScheme.json delete mode 100644 contracts/VoteInOrganizationScheme.json delete mode 100644 dist/absoluteVote.js delete mode 100644 dist/arc.js delete mode 100644 dist/config.js delete mode 100644 dist/contracts.js delete mode 100644 dist/contributionreward.js delete mode 100644 dist/globalconstraintregistrar.js delete mode 100644 dist/organization.js delete mode 100644 dist/schemeregistrar.js delete mode 100644 dist/tokenCapGC.js delete mode 100644 dist/upgradescheme.js delete mode 100644 dist/utils.js delete mode 100644 dist/wallet.js delete mode 100644 images/dao-icon.png create mode 100644 migrations/1_initial_migration.js create mode 100644 migrations/2_deploy_organization.js create mode 100644 package-scripts/archiveGanacheDb.js delete mode 100644 package-scripts/archiveTestrpcDb.js create mode 100644 package-scripts/unArchiveGanacheDb.js delete mode 100644 package-scripts/unArchiveTestrpcDb.js delete mode 100644 testrpcDb.zip create mode 100644 truffle.js diff --git a/.babelrc b/.babelrc index 2d1e93509..78e2c84f4 100644 --- a/.babelrc +++ b/.babelrc @@ -1,4 +1,6 @@ { "presets": ["es2015"], - "plugins": ["syntax-async-functions"] + "plugins": ["syntax-async-functions"], + // for VS Code test code debugging + "sourceMaps": "inline" } diff --git a/.eslintrc.json b/.eslintrc.json index 389372053..77c22f550 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -26,6 +26,7 @@ "no-confusing-arrow": 2, "no-lonely-if": 2, "no-continue": 2, - "indent": ["error", 2, { "SwitchCase": 1 }] + "indent": ["error", 2, { "SwitchCase": 1 }], + "quotes": [2, "double", "avoid-escape"] } } diff --git a/.gitignore b/.gitignore index cf318cfe5..1d29f9193 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,9 @@ node_modules/ .node-xmlhttprequest-sync* +.node-xmlhttprequest-content* *.tgz .vscode/ -testrpcDb/ \ No newline at end of file +ganacheDb/ +dist/ +ganacheDb.zip +migrated_contracts/ \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 38af6510e..963193f06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ dist: trusty language: node_js node_js: - - "7.10.0" + - "9.3.0" before_install: - sudo apt-get update -qq @@ -14,13 +14,14 @@ before_install: - sudo apt-get install geth -y -qq install: - - yarn - - yarn start test.testrpcDb.restoreFromZip - - nohup yarn start test.testrpcDb.run & + - npm install + - npm start migrateContracts.initialize + - nohup npm start test.ganache.run & + - npm start migrateContracts script: - - yarn start lint - - yarn start test.automated + - npm start lint + - npm start test.automated notifications: slack: daostack:fGuaFPsiQiV5mgmzRcSzbYqw diff --git a/README.md b/README.md index 5a6bfc5b9..86fc851b4 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ The default configuration settings for Arc can be found in config/default.json, "providerUrl": "http://localhost:8545", "network": "kovan", // Options are 'homestead', 'ropsten', 'rinkeby', 'kovan' "apiToken": "" // Required for Infura or Etherscan - "gasLimit": 6500000 + "gasLimit": [a number like 6015000] } ``` diff --git a/config/default.json b/config/default.json index 036770f16..36c6d1af6 100644 --- a/config/default.json +++ b/config/default.json @@ -1,5 +1,6 @@ { "providerUrl": "http://localhost:8545", - "network": "kovan", - "gasLimit": 6500000 -} + "network": "ganache", + "gasLimit": 6015000, + "apiToken": "" +} \ No newline at end of file diff --git a/contracts/AbsoluteVote.json b/contracts/AbsoluteVote.json deleted file mode 100644 index ba83bf4e4..000000000 --- a/contracts/AbsoluteVote.json +++ /dev/null @@ -1,11716 +0,0 @@ -{ - "contractName": "AbsoluteVote", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "parameters", - "outputs": [ - { - "name": "reputationSystem", - "type": "address" - }, - { - "name": "precReq", - "type": "uint256" - }, - { - "name": "allowOwner", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_reputationSystem", - "type": "address" - }, - { - "name": "_precReq", - "type": "uint256" - }, - { - "name": "_allowOwner", - "type": "bool" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_voter", - "type": "address" - } - ], - "name": "voteInfo", - "outputs": [ - { - "name": "", - "type": "uint256" - }, - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "proposals", - "outputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "avatar", - "type": "address" - }, - { - "name": "numOfChoices", - "type": "uint256" - }, - { - "name": "executable", - "type": "address" - }, - { - "name": "paramsHash", - "type": "bytes32" - }, - { - "name": "totalVotes", - "type": "uint256" - }, - { - "name": "open", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - }, - { - "name": "_voter", - "type": "address" - } - ], - "name": "ownerVote", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "cancelProposal", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_numOfChoices", - "type": "uint256" - }, - { - "name": "_paramsHash", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_executable", - "type": "address" - } - ], - "name": "propose", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "votesStatus", - "outputs": [ - { - "name": "votes", - "type": "uint256[11]" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "cancelVote", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - } - ], - "name": "vote", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "getNumberOfChoices", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - }, - { - "name": "_rep", - "type": "uint256" - }, - { - "name": "", - "type": "uint256" - } - ], - "name": "voteWithSpecifiedAmounts", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "isVotable", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_reputationSystem", - "type": "address" - }, - { - "name": "_precReq", - "type": "uint256" - }, - { - "name": "_allowOwner", - "type": "bool" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_numOfChoices", - "type": "uint256" - }, - { - "indexed": false, - "name": "_proposer", - "type": "address" - }, - { - "indexed": false, - "name": "_paramsHash", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogCancelProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_decision", - "type": "uint256" - } - ], - "name": "LogExecuteProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_voter", - "type": "address" - }, - { - "indexed": false, - "name": "_vote", - "type": "uint256" - }, - { - "indexed": false, - "name": "_reputation", - "type": "uint256" - }, - { - "indexed": false, - "name": "_isOwnerVote", - "type": "bool" - } - ], - "name": "LogVoteProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_voter", - "type": "address" - } - ], - "name": "LogCancelVoting", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6110d18061001e6000396000f3006060604052600436106100c15763ffffffff60e060020a6000350416630250680481146100c657806302a1cdaf1461010c578063119ce91b1461014557806332ed5b121461017f578063339e23d1146101df57806337376ca81461021857806388737b5e1461022e5780638fe23d1a146102595780639525c0cc146102a85780639ef1204c146102c0578063a003651d146102d9578063ac5d8745146102ef578063c08351061461030e578063e751f27114610324578063fed0d7df1461033a575b600080fd5b34156100d157600080fd5b6100dc600435610361565b604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390f35b341561011757600080fd5b610133600160a060020a0360043516602435604435151561038f565b60405190815260200160405180910390f35b341561015057600080fd5b610167600435600160a060020a03602435166103f9565b60405191825260208201526040908101905180910390f35b341561018a57600080fd5b610195600435610458565b604051600160a060020a0397881681529587166020870152604080870195909552929095166060850152608084015260a083019390935291151560c082015260e001905180910390f35b34156101ea57600080fd5b610204600435602435600160a060020a03604435166104a7565b604051901515815260200160405180910390f35b341561022357600080fd5b61020460043561053e565b341561023957600080fd5b610133600435602435600160a060020a03604435811690606435166105fe565b341561026457600080fd5b61026f6004356107f5565b604051808261016080838360005b8381101561029557808201518382015260200161027d565b5050505090500191505060405180910390f35b34156102b357600080fd5b6102be600435610842565b005b34156102cb57600080fd5b610204600435602435610872565b34156102e457600080fd5b6101336004356108a9565b34156102fa57600080fd5b6102046004356024356044356064356108be565b341561031957600080fd5b6102046004356108f6565b341561032f57600080fd5b61020460043561090e565b341561034557600080fd5b610133600160a060020a03600435166024356044351515610b5c565b600060208190529081526040902080546001820154600290920154600160a060020a03909116919060ff1683565b6000838383604051600160a060020a03939093166c01000000000000000000000000028352601483019190915215157f0100000000000000000000000000000000000000000000000000000000000000026034820152603501604051809103902090509392505050565b60008061040461100a565b6000858152600160209081526040808320600160a060020a03881684526007019091529081902090805190810160405281548152600190910154602082015290508051816020015192509250509250929050565b60016020819052600091825260409091208054918101546002820154600383015460048401546005850154600890950154600160a060020a039687169694851695939490921692909160ff1687565b600083815260016020526040812054849033600160a060020a039081169116146104d057600080fd5b600085815260016020526040902060080154859060ff1615156104f257600080fd5b60008681526001602090815260408083206004015483529082905290206002015460ff1615156105255760009250610535565b6105328685876000610c11565b92505b50509392505050565b600081815260016020526040812054829033600160a060020a0390811691161461056757600080fd5b600083815260016020526040902060080154839060ff16151561058957600080fd5b60008481526001602090815260408083206004015483529082905290206002015460ff1615156105bc57600092506105f7565b6105c584610e3b565b837fd06f0966987a6526e0c1291838668e5dbcaf062ae68baadf345ff3edd792e8b560405160405180910390a2600192505b5050919050565b600080610609611021565b600086815260208190526040902054600160a060020a0316151561062c57600080fd5b60008711801561063d5750600a8711155b151561064857600080fd5b30600254604051600160a060020a03929092166c01000000000000000000000000028252601482015260340160405190819003902060028054600190810190915560408084018a905260808401899052600160a060020a03808916602080870191909152888216606087015233909116855260c085018390526000848152929052902090925081908151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015160018201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560408201518160020155606082015160038201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790556080820151600482015560a0820151816005015560c0820151600891909101805460ff191691151591909117905550817f82cc1e47a0fddd1b4b3576bd36d20b845eac0f69b7057cb0357a3cb4ce29cb65883389604051928352600160a060020a0390911660208301526040808301919091526060909101905180910390a25095945050505050565b6107fd61105d565b6000828152600160205260408120905b600282015481116105f75760008181526006830160205260409020548382600b811061083557fe5b602002015260010161080d565b600081815260016020526040902060080154819060ff16151561086457600080fd5b61086e8233610ed6565b5050565b600082815260016020526040812060080154839060ff16151561089457600080fd5b6108a18433856000610c11565b949350505050565b60009081526001602052604090206002015490565b600084815260016020526040812060080154859060ff1615156108e057600080fd5b6108ec86338787610c11565b9695505050505050565b60009081526001602052604090206008015460ff1690565b600080600080600061091e611021565b600087815260016020526040902060080154879060ff16151561094057600080fd5b6000888152600160209081526040808320600481015484529183905280832054919850600160a060020a03909116916318160ddd9151602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156109a857600080fd5b6102c65a03f115156109b957600080fd5b505050604051805160048801546000908152602081905260408120600101549197509095509350505b60028601548311610b4c576000838152600687016020526040902054606485870204901115610b41578560e060405190810160409081528254600160a060020a039081168352600184015481166020840152600284015491830191909152600383015416606082015260048201546080820152600582015460a082015260089091015460ff16151560c08201529150610a7a88610e3b565b877f81be7b59f2640007c1101f52199758a7ea91009239bc8a7a2449472c02d221cc8460405190815260200160405180910390a28160600151600160a060020a031663310ce4e28984602001518660006040516020015260405160e060020a63ffffffff86160281526004810193909352600160a060020a0390911660248301526044820152606401602060405180830381600087803b1515610b1c57600080fd5b6102c65a03f11515610b2d57600080fd5b505050604051805190505060019650610b51565b6001909201916109e2565b600096505b505050505050919050565b60008060648411158015610b705750600084115b1515610b7b57600080fd5b610b8685858561038f565b905060606040519081016040908152600160a060020a0387168252602080830187905285151582840152600084815290819052208151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff191691151591909117905550949350505050565b600080610c1c611085565b600087815260016020908152604080832060048101548452918390528083209194506060905190810160409081528254600160a060020a031682526001830154602083015260029283015460ff1615159082015290840154909250861115610c8357600080fd5b8151600160a060020a031663db89c0448860006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610cdb57600080fd5b6102c65a03f11515610cec57600080fd5b505050604051805191505084811015610d0457600080fd5b841515610d0f578094505b600160a060020a038716600090815260078401602052604090206001015415610d3c57610d3c8888610ed6565b6000868152600684016020526040902054610d5e90869063ffffffff610fe216565b60008781526006850160205260409020556005830154610d8590869063ffffffff610fe216565b60058401556040805190810160409081528782526020808301889052600160a060020a038a166000908152600787019091522081518155602082015160019091015550600160a060020a038088169089907f98919cf2e7177b2b2794b7596166eb688e15f8422b46387aab412d792035c01290899085903316851415604051928352602083019190915215156040808301919091526060909101905180910390a3610e2f8861090e565b98975050505050505050565b6000818152600160205260408120905b60028201548111610e6f576000818152600683016020526040812055600101610e4b565b505060009081526001602081905260408220805473ffffffffffffffffffffffffffffffffffffffff19908116825591810180548316905560028101839055600381018054909216909155600481018290556005810191909155600801805460ff19169055565b6000610ee061100a565b6000848152600160209081526040808320600160a060020a038716845260078101909252918290209093509080519081016040528154815260019091015460208201908152909150610f5290516006840160008451815260200190815260200160002054610ff890919063ffffffff16565b6006830160008351815260200190815260200160002081905550610f85816020015160058401549063ffffffff610ff816565b6005830155600160a060020a03831660008181526007840160205260408082208281556001019190915585907f694e00fc5266ab4e93df364ff0161f5d7e3a035126b13d918755bfed6d8ab299905160405180910390a350505050565b600082820183811015610ff157fe5b9392505050565b60008282111561100457fe5b50900390565b604080519081016040526000808252602082015290565b60e06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c082015290565b610160604051908101604052600b815b600081526020019060019003908161106d5790505090565b6060604051908101604090815260008083526020830181905290820152905600a165627a7a7230582072dfaa7975e3dc1cec193d87e821473add3f3002c8fe8d0bc3b26aab8c4dcc5a0029", - "deployedBytecode": "0x6060604052600436106100c15763ffffffff60e060020a6000350416630250680481146100c657806302a1cdaf1461010c578063119ce91b1461014557806332ed5b121461017f578063339e23d1146101df57806337376ca81461021857806388737b5e1461022e5780638fe23d1a146102595780639525c0cc146102a85780639ef1204c146102c0578063a003651d146102d9578063ac5d8745146102ef578063c08351061461030e578063e751f27114610324578063fed0d7df1461033a575b600080fd5b34156100d157600080fd5b6100dc600435610361565b604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390f35b341561011757600080fd5b610133600160a060020a0360043516602435604435151561038f565b60405190815260200160405180910390f35b341561015057600080fd5b610167600435600160a060020a03602435166103f9565b60405191825260208201526040908101905180910390f35b341561018a57600080fd5b610195600435610458565b604051600160a060020a0397881681529587166020870152604080870195909552929095166060850152608084015260a083019390935291151560c082015260e001905180910390f35b34156101ea57600080fd5b610204600435602435600160a060020a03604435166104a7565b604051901515815260200160405180910390f35b341561022357600080fd5b61020460043561053e565b341561023957600080fd5b610133600435602435600160a060020a03604435811690606435166105fe565b341561026457600080fd5b61026f6004356107f5565b604051808261016080838360005b8381101561029557808201518382015260200161027d565b5050505090500191505060405180910390f35b34156102b357600080fd5b6102be600435610842565b005b34156102cb57600080fd5b610204600435602435610872565b34156102e457600080fd5b6101336004356108a9565b34156102fa57600080fd5b6102046004356024356044356064356108be565b341561031957600080fd5b6102046004356108f6565b341561032f57600080fd5b61020460043561090e565b341561034557600080fd5b610133600160a060020a03600435166024356044351515610b5c565b600060208190529081526040902080546001820154600290920154600160a060020a03909116919060ff1683565b6000838383604051600160a060020a03939093166c01000000000000000000000000028352601483019190915215157f0100000000000000000000000000000000000000000000000000000000000000026034820152603501604051809103902090509392505050565b60008061040461100a565b6000858152600160209081526040808320600160a060020a03881684526007019091529081902090805190810160405281548152600190910154602082015290508051816020015192509250509250929050565b60016020819052600091825260409091208054918101546002820154600383015460048401546005850154600890950154600160a060020a039687169694851695939490921692909160ff1687565b600083815260016020526040812054849033600160a060020a039081169116146104d057600080fd5b600085815260016020526040902060080154859060ff1615156104f257600080fd5b60008681526001602090815260408083206004015483529082905290206002015460ff1615156105255760009250610535565b6105328685876000610c11565b92505b50509392505050565b600081815260016020526040812054829033600160a060020a0390811691161461056757600080fd5b600083815260016020526040902060080154839060ff16151561058957600080fd5b60008481526001602090815260408083206004015483529082905290206002015460ff1615156105bc57600092506105f7565b6105c584610e3b565b837fd06f0966987a6526e0c1291838668e5dbcaf062ae68baadf345ff3edd792e8b560405160405180910390a2600192505b5050919050565b600080610609611021565b600086815260208190526040902054600160a060020a0316151561062c57600080fd5b60008711801561063d5750600a8711155b151561064857600080fd5b30600254604051600160a060020a03929092166c01000000000000000000000000028252601482015260340160405190819003902060028054600190810190915560408084018a905260808401899052600160a060020a03808916602080870191909152888216606087015233909116855260c085018390526000848152929052902090925081908151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015160018201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560408201518160020155606082015160038201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790556080820151600482015560a0820151816005015560c0820151600891909101805460ff191691151591909117905550817f82cc1e47a0fddd1b4b3576bd36d20b845eac0f69b7057cb0357a3cb4ce29cb65883389604051928352600160a060020a0390911660208301526040808301919091526060909101905180910390a25095945050505050565b6107fd61105d565b6000828152600160205260408120905b600282015481116105f75760008181526006830160205260409020548382600b811061083557fe5b602002015260010161080d565b600081815260016020526040902060080154819060ff16151561086457600080fd5b61086e8233610ed6565b5050565b600082815260016020526040812060080154839060ff16151561089457600080fd5b6108a18433856000610c11565b949350505050565b60009081526001602052604090206002015490565b600084815260016020526040812060080154859060ff1615156108e057600080fd5b6108ec86338787610c11565b9695505050505050565b60009081526001602052604090206008015460ff1690565b600080600080600061091e611021565b600087815260016020526040902060080154879060ff16151561094057600080fd5b6000888152600160209081526040808320600481015484529183905280832054919850600160a060020a03909116916318160ddd9151602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156109a857600080fd5b6102c65a03f115156109b957600080fd5b505050604051805160048801546000908152602081905260408120600101549197509095509350505b60028601548311610b4c576000838152600687016020526040902054606485870204901115610b41578560e060405190810160409081528254600160a060020a039081168352600184015481166020840152600284015491830191909152600383015416606082015260048201546080820152600582015460a082015260089091015460ff16151560c08201529150610a7a88610e3b565b877f81be7b59f2640007c1101f52199758a7ea91009239bc8a7a2449472c02d221cc8460405190815260200160405180910390a28160600151600160a060020a031663310ce4e28984602001518660006040516020015260405160e060020a63ffffffff86160281526004810193909352600160a060020a0390911660248301526044820152606401602060405180830381600087803b1515610b1c57600080fd5b6102c65a03f11515610b2d57600080fd5b505050604051805190505060019650610b51565b6001909201916109e2565b600096505b505050505050919050565b60008060648411158015610b705750600084115b1515610b7b57600080fd5b610b8685858561038f565b905060606040519081016040908152600160a060020a0387168252602080830187905285151582840152600084815290819052208151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff191691151591909117905550949350505050565b600080610c1c611085565b600087815260016020908152604080832060048101548452918390528083209194506060905190810160409081528254600160a060020a031682526001830154602083015260029283015460ff1615159082015290840154909250861115610c8357600080fd5b8151600160a060020a031663db89c0448860006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610cdb57600080fd5b6102c65a03f11515610cec57600080fd5b505050604051805191505084811015610d0457600080fd5b841515610d0f578094505b600160a060020a038716600090815260078401602052604090206001015415610d3c57610d3c8888610ed6565b6000868152600684016020526040902054610d5e90869063ffffffff610fe216565b60008781526006850160205260409020556005830154610d8590869063ffffffff610fe216565b60058401556040805190810160409081528782526020808301889052600160a060020a038a166000908152600787019091522081518155602082015160019091015550600160a060020a038088169089907f98919cf2e7177b2b2794b7596166eb688e15f8422b46387aab412d792035c01290899085903316851415604051928352602083019190915215156040808301919091526060909101905180910390a3610e2f8861090e565b98975050505050505050565b6000818152600160205260408120905b60028201548111610e6f576000818152600683016020526040812055600101610e4b565b505060009081526001602081905260408220805473ffffffffffffffffffffffffffffffffffffffff19908116825591810180548316905560028101839055600381018054909216909155600481018290556005810191909155600801805460ff19169055565b6000610ee061100a565b6000848152600160209081526040808320600160a060020a038716845260078101909252918290209093509080519081016040528154815260019091015460208201908152909150610f5290516006840160008451815260200190815260200160002054610ff890919063ffffffff16565b6006830160008351815260200190815260200160002081905550610f85816020015160058401549063ffffffff610ff816565b6005830155600160a060020a03831660008181526007840160205260408082208281556001019190915585907f694e00fc5266ab4e93df364ff0161f5d7e3a035126b13d918755bfed6d8ab299905160405180910390a350505050565b600082820183811015610ff157fe5b9392505050565b60008282111561100457fe5b50900390565b604080519081016040526000808252602082015290565b60e06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c082015290565b610160604051908101604052600b815b600081526020019060019003908161106d5790505090565b6060604051908101604090815260008083526020830181905290820152905600a165627a7a7230582072dfaa7975e3dc1cec193d87e821473add3f3002c8fe8d0bc3b26aab8c4dcc5a0029", - "sourceMap": "106:11989:1:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "106:11989:1:-;;;;;;;;;-1:-1:-1;;;106:11989:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1557:46;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1557:46:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2972:196;;;;;;;;;;-1:-1:-1;;;;;2972:196:1;;;;;;;;;;;;;;;;;;;;;;;;;;8565:216;;;;;;;;;;;;-1:-1:-1;;;;;8565:216:1;;;;;;;;;;;;;;;;;;;;;;;;;;1650:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1650:43:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5916:324;;;;;;;;;;;;;;-1:-1:-1;;;;;5916:324:1;;;;;;;;;;;;;;;;;;;;;;4764:340;;;;;;;;;;;;;;3681:915;;;;;;;;;;;;;;-1:-1:-1;;;;;3681:915:1;;;;;;;;;;9030:276;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;6654:131:1;;;;;;;;;;;;;;;;5368:162;;;;;;;;;;;;;;;;8076:140;;;;;;;;;;;;;;6248:196;;;;;;;;;;;;;;;;;;;;9475:124;;;;;;;;;;;;;;7045:824;;;;;;;;;;;;;;2400:485;;;;;;;;;;-1:-1:-1;;;;;2400:485:1;;;;;;;;;;;1557:46;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1557:46:1;;;;;;;;:::o;2972:196::-;3082:7;3119:17;3138:8;3148:11;3109:51;;-1:-1:-1;;;;;3109:51:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3102:58;;2972:196;;;;;:::o;8565:216::-;8644:4;8650;8667:18;;:::i;:::-;8688:22;;;;:9;:22;;;;;;;;-1:-1:-1;;;;;8688:37:1;;;;:29;;:37;;;;;;;;:22;8667:58;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8667:58:1;8744:10;8756:5;:16;;;8736:37;;;;8565:216;;;;;;:::o;1650:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1650:43:1;;;;;;;;;;;;;;;;;;;:::o;5916:324::-;6051:4;2041:22;;;:9;:22;;;;;:28;6009:11;;2027:10;-1:-1:-1;;;;;2027:42:1;;;2041:28;;2027:42;2019:51;;;;;;2243:22;;;;:9;:22;;;;;:27;;;6030:11;;2243:27;;2235:36;;;;;;;;6074:10;6085:22;;;:9;:22;;;;;;;;:33;;;6074:45;;;;;;;;:56;;;;;6072:58;6068:103;;;6154:5;6147:12;;;;6068:103;6189:43;6202:11;6215:6;6223:5;6230:1;6189:12;:43::i;:::-;6181:51;;2282:1;2081;5916:324;;;;;;:::o;4764:340::-;4876:4;2041:22;;;:9;:22;;;;;:28;4834:11;;2027:10;-1:-1:-1;;;;;2027:42:1;;;2041:28;;2027:42;2019:51;;;;;;2243:22;;;;:9;:22;;;;;:27;;;4855:11;;2243:27;;2235:36;;;;;;;;4899:10;4910:22;;;:9;:22;;;;;;;;:33;;;4899:45;;;;;;;;:56;;;;;4897:58;4893:103;;;4979:5;4972:12;;;;4893:103;5006:27;5021:11;5006:14;:27::i;:::-;5062:11;5044:30;;;;;;;;;;5092:4;5085:11;;2282:1;2081;4764:340;;;;:::o;3681:915::-;3804:7;4062:18;4175:24;;:::i;:::-;3938:1;3886:23;;;;;;;;;;:40;-1:-1:-1;;;;;3886:40:1;:54;;3878:63;;;;;;3976:1;3960:13;:17;:56;;;;;1800:2;3981:13;:35;;3960:56;3952:65;;;;;;;;4093:4;4099:12;;4083:29;;-1:-1:-1;;;;;4083:29:1;;;;;;;;;;;;;;;;;;;;;;4123:12;:14;;;;;;;;;4210:21;;;;:37;;;4258:19;;;:33;;;-1:-1:-1;;;;;4302:25:1;;;:15;;;;:25;;;;4338:33;;;-1:-1:-1;4338:19:1;;:33;4399:10;4382:27;;;;;4420:13;;;:20;;;4123:12;4451:21;;;;;;;;4083:29;;-1:-1:-1;4210:8:1;;;4451:32;;;-1:-1:-1;;4451:32:1;-1:-1:-1;;;;;4451:32:1;;;;;;;;;;;;;;;;-1:-1:-1;;4451:32:1;-1:-1:-1;;;;;4451:32:1;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4451:32:1;-1:-1:-1;;;;;4451:32:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4451:32:1;;;;;;;;;;-1:-1:-1;4509:10:1;4494:66;4521:13;4536:10;4548:11;4494:66;;;;;-1:-1:-1;;;;;4494:66:1;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4578:10:1;3681:915;-1:-1:-1;;;;;3681:915:1:o;9030:276::-;9096:14;;:::i;:::-;9123:25;9151:22;;;:9;:22;;;;;;9184:115;9210:21;;;;9203:28;;9184:115;;9268:19;;;;:14;;;:19;;;;;;9255:5;9283:3;9255:10;;;;;;;;;;:32;9233:5;;9184:115;;6654:131;2243:22;;;;:9;:22;;;;;:27;;;6710:11;;2243:27;;2235:36;;;;;;;;6734:43;6753:11;6766:10;6734:18;:43::i;:::-;6654:131;;:::o;5368:162::-;5451:4;2243:22;;;:9;:22;;;;;:27;;;5430:11;;2243:27;;2235:36;;;;;;;;5475:47;5488:11;5501:10;5513:5;5520:1;5475:12;:47::i;:::-;5468:54;5368:162;-1:-1:-1;;;;5368:162:1:o;8076:140::-;8149:4;8173:22;;;:9;:22;;;;;:35;;;;8076:140::o;6248:196::-;6365:4;2243:22;;;:9;:22;;;;;:27;;;6344:11;;2243:27;;2235:36;;;;;;;;6389:47;6402:11;6414:10;6425:5;6431:4;6389:12;:47::i;:::-;6382:54;6248:196;-1:-1:-1;;;;;;6248:196:1:o;9475:124::-;9539:4;9564:22;;;:9;:22;;;;;:27;;;;;;9475:124::o;7045:824::-;7119:4;7136:25;7197:20;7293:12;7409:8;7549:27;;:::i;:::-;2243:22;;;;:9;:22;;;;;:27;;;7098:11;;2243:27;;2235:36;;;;;;;;7164:22;;;;:9;:22;;;;;;;;7231:19;;;;7220:31;;;;;;;;;:48;7164:22;;-1:-1:-1;;;;;;7220:48:1;;;;:60;;:62;;;;;;;;;-1:-1:-1;;;7220:62:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7319:19;;;;7308:10;:31;;;;;;;;;;:39;;;7220:62;;-1:-1:-1;7308:39:1;;-1:-1:-1;7308:10:1;-1:-1:-1;;7404:435:1;7430:21;;;;7423:28;;7404:435;;7479:19;;;;:14;;;:19;;;;;;7525:3;7501:23;;;:27;7479:49;;7475:353;;;7579:8;7549:38;;;;;;;;;;;;-1:-1:-1;;;;;7549:38:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7606:27:1;7621:11;7606:14;:27::i;:::-;7671:11;7652:36;7684:3;7652:36;;;;;;;;;;;;;;7708:11;:22;;;-1:-1:-1;;;;;7707:32:1;;7740:11;7753;:18;;;7777:3;7707:75;;;;;;;;-1:-1:-1;;;7707:75:1;;;;;;;;;;;;;-1:-1:-1;;;;;7707:75:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7808:4;7801:11;;;;7475:353;7453:5;;;;;7404:435;;;7856:5;7849:12;;2282:1;7045:824;;;;;;;;;:::o;2400:485::-;2501:7;2572:24;2541:3;2529:8;:15;;:31;;;;;2559:1;2548:8;:12;2529:31;2521:40;;;;;;;;2599:59;2617:17;2636:8;2646:11;2599:17;:59::i;:::-;2572:86;;2700:143;;;;;;;;;;-1:-1:-1;;;;;2700:143:1;;;;;;;;;;;;;;;;;;-1:-1:-1;2669:28:1;;;;;;;;2700:143;2669:174;;;-1:-1:-1;;2669:174:1;-1:-1:-1;;;;;2669:174:1;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2669:174:1;;;;;;;;;;-1:-1:-1;2861:16:1;2400:485;-1:-1:-1;;;;2400:485:1:o;10876:1216::-;10974:4;10991:25;11052:24;;:::i;:::-;11248:15;11019:22;;;:9;:22;;;;;;;;11090:19;;;;11079:31;;;;;;;;;11019:22;;-1:-1:-1;11052:58:1;;;;;;;;;;;;-1:-1:-1;;;;;11052:58:1;;;;;;;;;;;;;;;;;;;;;;;;11168:21;;;;11052:58;;-1:-1:-1;11159:30:1;;;11151:39;;;;;;11266:6;:23;-1:-1:-1;;;;;11266:36:1;;11303:6;11266:44;;;;;;;;-1:-1:-1;;;11266:44:1;;;;;;-1:-1:-1;;;;;11266:44:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11329:18:1;;;;11321:27;;;;;;11363:9;;11359:59;;;11396:10;11389:17;;11359:59;-1:-1:-1;;;;;11500:23:1;;;;;;:15;;;:23;;;;;:34;;;:39;11496:111;;11556:39;11575:11;11588:6;11556:18;:39::i;:::-;11681:21;;;;:14;;;:21;;;;;;11672:31;;:4;;:31;:8;:31;:::i;:::-;11648:21;;;;:14;;;:21;;;;;:55;11745:19;;;;11736:29;;:4;;:29;:8;:29;:::i;:::-;11714:19;;;:51;11802:75;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11776:23:1;;-1:-1:-1;11776:23:1;;;:15;;;:23;;;;11802:75;11776:101;;;;;;;;;;;;-1:-1:-1;;;;;;11907:79:1;;;;11923:11;;11907:79;;11944:5;;11951:10;;11974;11964:20;;;;11907:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12064:20;12072:11;12064:7;:20::i;:::-;12057:27;10876:1216;-1:-1:-1;;;;;;;;10876:1216:1:o;10067:281::-;10131:25;10159:22;;;:9;:22;;;;;;10192:109;10218:21;;;;10211:28;;10192:109;;10270:19;;;;:14;;;:19;;;;;10263:26;10241:5;;10192:109;;;-1:-1:-1;;10318:22:1;;;;:9;:22;;;;;;;10311:29;;-1:-1:-1;;10311:29:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10311:29:1;;;10067:281::o;9607:452::-;9692:25;9753:18;;:::i;:::-;9720:22;;;;:9;:22;;;;;;;;-1:-1:-1;;;;;9774:23:1;;;;:15;;;:23;;;;;;;9720:22;;-1:-1:-1;9774:23:1;9720:22;9753:44;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9837:50:1;;9870:16;9838:14;;;:26;9853:5;:10;9838:26;;;;;;;;;;;;9837:32;;:50;;;;:::i;:::-;9808:14;;;:26;9823:5;:10;9808:26;;;;;;;;;;;:79;;;;9920:43;9946:5;:16;;;9921:19;;;;;9920:43;:25;:43;:::i;:::-;9898:19;;;:65;-1:-1:-1;;;;;9981:23:1;;;;;;:15;;;:23;;;;;;9974:30;;;;;;;;;10031:11;;10015:36;;;;;;;;;;9607:452;;;;:::o;698:129:28:-;756:7;783:5;;;801:6;;;;794:14;;;;821:1;698:129;-1:-1:-1;;;698:129:28:o;584:110::-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;106:11989:1:-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../controller/Reputation.sol\";\r\nimport \"./IntVoteInterface.sol\";\r\n\r\n\r\ncontract AbsoluteVote is IntVoteInterface {\r\n using SafeMath for uint;\r\n\r\n\r\n struct Parameters {\r\n Reputation reputationSystem; // the reputation system that is being used\r\n uint precReq; // how many percentages required for the proposal to be passed\r\n bool allowOwner; // does this proposal has an owner who has owner rights?\r\n }\r\n\r\n struct Voter {\r\n uint vote; // 0 - 'abstain'\r\n uint reputation; // amount of voter's reputation\r\n }\r\n\r\n struct Proposal {\r\n address owner; // the proposal's owner\r\n address avatar; // the avatar of the organization that owns the proposal\r\n uint numOfChoices;\r\n ExecutableInterface executable; // will be executed if the proposal will pass\r\n bytes32 paramsHash; // the hash of the parameters of the proposal\r\n uint totalVotes;\r\n mapping(uint=>uint) votes;\r\n mapping(address=>Voter) voters;\r\n bool open; // voting open flag\r\n }\r\n\r\n event LogNewProposal(bytes32 indexed _proposalId, uint _numOfChoices, address _proposer, bytes32 _paramsHash);\r\n event LogCancelProposal(bytes32 indexed _proposalId);\r\n event LogExecuteProposal(bytes32 indexed _proposalId, uint _decision);\r\n event LogVoteProposal(bytes32 indexed _proposalId, address indexed _voter, uint _vote, uint _reputation, bool _isOwnerVote);\r\n event LogCancelVoting(bytes32 indexed _proposalId, address indexed _voter);\r\n\r\n mapping(bytes32=>Parameters) public parameters; // A mapping from hashes to parameters\r\n mapping(bytes32=>Proposal) public proposals; // Mapping from the ID of the proposal to the proposal itself.\r\n\r\n uint constant MAX_NUM_OF_CHOICES = 10;\r\n uint proposalsCnt; // Total amount of proposals\r\n\r\n /**\r\n * @dev Check that there is owner for the proposal and he sent the transaction\r\n */\r\n modifier onlyProposalOwner(bytes32 _proposalId) {\r\n require(msg.sender == proposals[_proposalId].owner);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Check that the proposal is votable (open and not executed yet)\r\n */\r\n modifier votable(bytes32 _proposalId) {\r\n require(proposals[_proposalId].open);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev hash the parameters, save them if necessary, and return the hash value\r\n */\r\n function setParameters(Reputation _reputationSystem, uint _precReq, bool _allowOwner) public returns(bytes32) {\r\n require(_precReq <= 100 && _precReq > 0);\r\n bytes32 hashedParameters = getParametersHash(_reputationSystem, _precReq, _allowOwner);\r\n parameters[hashedParameters] = Parameters({\r\n reputationSystem: _reputationSystem,\r\n precReq: _precReq,\r\n allowOwner: _allowOwner\r\n });\r\n return hashedParameters;\r\n }\r\n\r\n /**\r\n * @dev hashParameters returns a hash of the given parameters\r\n */\r\n function getParametersHash(Reputation _reputationSystem, uint _precReq, bool _allowOwner) public pure returns(bytes32) {\r\n return keccak256(_reputationSystem, _precReq, _allowOwner);\r\n }\r\n\r\n /**\r\n * @dev register a new proposal with the given parameters. Every proposal has a unique ID which is being\r\n * generated by calculating keccak256 of a incremented counter.\r\n * @param _paramsHash defined the parameters of the voting machine used for this proposal\r\n * @param _avatar an address to be sent as the payload to the _executable contract.\r\n * @param _executable This contract will be executed when vote is over.\r\n * TODO: Maybe we need to check the 0 < precReq <= 100 ??\r\n */\r\n function propose(uint _numOfChoices, bytes32 _paramsHash, address _avatar, ExecutableInterface _executable) public returns(bytes32) {\r\n // Check valid params and number of choices:\r\n require(parameters[_paramsHash].reputationSystem != address(0));\r\n require(_numOfChoices > 0 && _numOfChoices <= MAX_NUM_OF_CHOICES);\r\n // Generate a unique ID:\r\n bytes32 proposalId = keccak256(this, proposalsCnt);\r\n proposalsCnt++;\r\n // Open proposal:\r\n Proposal memory proposal;\r\n proposal.numOfChoices = _numOfChoices;\r\n proposal.paramsHash = _paramsHash;\r\n proposal.avatar = _avatar;\r\n proposal.executable = _executable;\r\n proposal.owner = msg.sender;\r\n proposal.open = true;\r\n proposals[proposalId] = proposal;\r\n LogNewProposal(proposalId, _numOfChoices, msg.sender, _paramsHash);\r\n return proposalId;\r\n }\r\n\r\n /**\r\n * @dev Cancel a proposal, only the owner can call this function and only if allowOwner flag is true.\r\n * @param _proposalId the proposal ID\r\n */\r\n function cancelProposal(bytes32 _proposalId) public onlyProposalOwner(_proposalId) votable(_proposalId) returns(bool) {\r\n if (! parameters[proposals[_proposalId].paramsHash].allowOwner) {\r\n return false;\r\n }\r\n deleteProposal(_proposalId);\r\n LogCancelProposal(_proposalId);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev voting function\r\n * @param _proposalId id of the proposal\r\n * @param _vote a value between 0 to and the proposal number of choices.\r\n * @return bool true - the proposal has been executed\r\n * false - otherwise.\r\n */\r\n function vote(bytes32 _proposalId, uint _vote) public votable(_proposalId) returns(bool) {\r\n return internalVote(_proposalId, msg.sender, _vote, 0);\r\n }\r\n\r\n /**\r\n * @dev voting function with owner functionality (can vote on behalf of someone else)\r\n * @param _proposalId id of the proposal\r\n * @param _vote a value between 0 to and the proposal number of choices.\r\n * @param _voter will be voted with that voter's address\r\n * @return bool true - the proposal has been executed\r\n * false - otherwise.\r\n */\r\n function ownerVote(bytes32 _proposalId, uint _vote, address _voter) public onlyProposalOwner(_proposalId) votable(_proposalId) returns(bool) {\r\n if (! parameters[proposals[_proposalId].paramsHash].allowOwner) {\r\n return false;\r\n }\r\n return internalVote(_proposalId, _voter, _vote, 0);\r\n }\r\n\r\n function voteWithSpecifiedAmounts(bytes32 _proposalId,uint _vote,uint _rep,uint) public votable(_proposalId) returns(bool) {\r\n return internalVote(_proposalId,msg.sender,_vote,_rep);\r\n }\r\n\r\n /**\r\n * @dev Cancel the vote of the msg.sender: subtract the reputation amount from the votes\r\n * and delete the voter from the proposal struct\r\n * @param _proposalId id of the proposal\r\n */\r\n function cancelVote(bytes32 _proposalId) public votable(_proposalId) {\r\n cancelVoteInternal(_proposalId, msg.sender);\r\n }\r\n\r\n /**\r\n * @dev execute check if the proposal has been decided, and if so, execute the proposal\r\n * @param _proposalId the id of the proposal\r\n * @return bool true - the proposal has been executed\r\n * false - otherwise.\r\n */\r\n function execute(bytes32 _proposalId) public votable(_proposalId) returns(bool) {\r\n Proposal storage proposal = proposals[_proposalId];\r\n uint totalReputation = parameters[proposal.paramsHash].reputationSystem.totalSupply();\r\n uint precReq = parameters[proposal.paramsHash].precReq;\r\n // Check if someone crossed the bar:\r\n for (uint cnt = 0; cnt <= proposal.numOfChoices; cnt++) {\r\n if (proposal.votes[cnt] > totalReputation*precReq/100) {\r\n Proposal memory tmpProposal = proposal;\r\n deleteProposal(_proposalId);\r\n LogExecuteProposal(_proposalId, cnt);\r\n (tmpProposal.executable).execute(_proposalId, tmpProposal.avatar, int(cnt));\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n /**\r\n * @dev getNumberOfChoices returns the number of choices possible in this proposal\r\n * @param _proposalId the ID of the proposal\r\n * @return uint that contains number of choices\r\n */\r\n function getNumberOfChoices(bytes32 _proposalId) public constant returns(uint) {\r\n return proposals[_proposalId].numOfChoices;\r\n }\r\n\r\n /**\r\n * @dev voteInfo returns the vote and the amount of reputation of the user committed to this proposal\r\n * @param _proposalId the ID of the proposal\r\n * @param _voter the address of the voter\r\n * @return uint vote - the voters vote\r\n * uint reputation - amount of reputation committed by _voter to _proposalId\r\n */\r\n function voteInfo(bytes32 _proposalId, address _voter) public constant returns(uint, uint) {\r\n Voter memory voter = proposals[_proposalId].voters[_voter];\r\n return (voter.vote, voter.reputation);\r\n }\r\n\r\n /**\r\n * @dev votesStatus returns the number of yes, no, and abstain and if the proposal is ended of a given proposal id\r\n * @param _proposalId the ID of the proposal\r\n * @return votes array of votes for each choice\r\n */\r\n function votesStatus(bytes32 _proposalId) public constant returns(uint[11] votes) {\r\n Proposal storage proposal = proposals[_proposalId];\r\n for (uint cnt = 0; cnt <= proposal.numOfChoices; cnt++) {\r\n votes[cnt] = proposal.votes[cnt];\r\n }\r\n }\r\n\r\n /**\r\n * @dev isVotable check if the proposal is votable\r\n * @param _proposalId the ID of the proposal\r\n * @return bool true or false\r\n */\r\n function isVotable(bytes32 _proposalId) public constant returns(bool) {\r\n return proposals[_proposalId].open;\r\n }\r\n\r\n function cancelVoteInternal(bytes32 _proposalId, address _voter) internal {\r\n Proposal storage proposal = proposals[_proposalId];\r\n Voter memory voter = proposal.voters[_voter];\r\n proposal.votes[voter.vote] = (proposal.votes[voter.vote]).sub(voter.reputation);\r\n proposal.totalVotes = (proposal.totalVotes).sub(voter.reputation);\r\n delete proposal.voters[_voter];\r\n LogCancelVoting(_proposalId, _voter);\r\n }\r\n\r\n function deleteProposal(bytes32 _proposalId) private {\r\n Proposal storage proposal = proposals[_proposalId];\r\n for (uint cnt = 0; cnt <= proposal.numOfChoices; cnt++) {\r\n delete proposal.votes[cnt];\r\n }\r\n delete proposals[_proposalId];\r\n }\r\n\r\n /**\r\n * @dev Vote for a proposal, if the voter already voted, cancel the last vote and set a new one instead\r\n * @param _proposalId id of the proposal\r\n * @param _voter used in case the vote is cast for someone else\r\n * @param _vote a value between 0 to and the proposal's number of choices.\r\n * @return true in case of proposal execution otherwise false\r\n * throws if proposal is not open or if it has been executed\r\n * NB: executes the proposal if a decision has been reached\r\n */\r\n function internalVote(bytes32 _proposalId, address _voter, uint _vote, uint _rep) private returns(bool) {\r\n Proposal storage proposal = proposals[_proposalId];\r\n Parameters memory params = parameters[proposal.paramsHash];\r\n // Check valid vote:\r\n require(_vote <= proposal.numOfChoices);\r\n // Check voter has enough reputation:\r\n uint reputation = params.reputationSystem.reputationOf(_voter);\r\n require(reputation >= _rep);\r\n if (_rep == 0) {\r\n _rep = reputation;\r\n }\r\n // If this voter has already voted, first cancel the vote:\r\n if (proposal.voters[_voter].reputation != 0) {\r\n cancelVoteInternal(_proposalId, _voter);\r\n }\r\n // The voting itself:\r\n proposal.votes[_vote] = _rep.add(proposal.votes[_vote]);\r\n proposal.totalVotes = _rep.add(proposal.totalVotes);\r\n proposal.voters[_voter] = Voter({\r\n reputation: _rep,\r\n vote: _vote\r\n });\r\n // Event:\r\n LogVoteProposal(_proposalId, _voter, _vote, reputation, (_voter != msg.sender));\r\n // execute the proposal if this vote was decisive:\r\n return execute(_proposalId);\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\VotingMachines\\AbsoluteVote.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/AbsoluteVote.sol", - "exportedSymbols": { - "AbsoluteVote": [ - 877 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 59, - "name": "PragmaDirective", - "src": "0:24:1" - }, - { - "attributes": { - "SourceUnit": 4358, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Reputation.sol", - "file": "../controller/Reputation.sol", - "scope": 878, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 60, - "name": "ImportDirective", - "src": "28:38:1" - }, - { - "attributes": { - "SourceUnit": 2659, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/IntVoteInterface.sol", - "file": "./IntVoteInterface.sol", - "scope": 878, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 61, - "name": "ImportDirective", - "src": "68:32:1" - }, - { - "attributes": { - "contractDependencies": [ - 2658 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 877, - 2658 - ], - "name": "AbsoluteVote", - "scope": 878 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 62, - "name": "UserDefinedTypeName", - "src": "131:16:1" - } - ], - "id": 63, - "name": "InheritanceSpecifier", - "src": "131:16:1" - }, - { - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SafeMath", - "referencedDeclaration": 9084, - "type": "library SafeMath" - }, - "id": 64, - "name": "UserDefinedTypeName", - "src": "161:8:1" - }, - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 65, - "name": "ElementaryTypeName", - "src": "174:4:1" - } - ], - "id": 66, - "name": "UsingForDirective", - "src": "155:24:1" - }, - { - "attributes": { - "canonicalName": "AbsoluteVote.Parameters", - "name": "Parameters", - "scope": 877, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "reputationSystem", - "scope": 73, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 67, - "name": "UserDefinedTypeName", - "src": "218:10:1" - } - ], - "id": 68, - "name": "VariableDeclaration", - "src": "218:27:1" - }, - { - "attributes": { - "constant": false, - "name": "precReq", - "scope": 73, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 69, - "name": "ElementaryTypeName", - "src": "300:4:1" - } - ], - "id": 70, - "name": "VariableDeclaration", - "src": "300:12:1" - }, - { - "attributes": { - "constant": false, - "name": "allowOwner", - "scope": 73, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 71, - "name": "ElementaryTypeName", - "src": "386:4:1" - } - ], - "id": 72, - "name": "VariableDeclaration", - "src": "386:15:1" - } - ], - "id": 73, - "name": "StructDefinition", - "src": "189:277:1" - }, - { - "attributes": { - "canonicalName": "AbsoluteVote.Voter", - "name": "Voter", - "scope": 877, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "vote", - "scope": 78, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 74, - "name": "ElementaryTypeName", - "src": "498:4:1" - } - ], - "id": 75, - "name": "VariableDeclaration", - "src": "498:9:1" - }, - { - "attributes": { - "constant": false, - "name": "reputation", - "scope": 78, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 76, - "name": "ElementaryTypeName", - "src": "535:4:1" - } - ], - "id": 77, - "name": "VariableDeclaration", - "src": "535:15:1" - } - ], - "id": 78, - "name": "StructDefinition", - "src": "474:116:1" - }, - { - "attributes": { - "canonicalName": "AbsoluteVote.Proposal", - "name": "Proposal", - "scope": 877, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "owner", - "scope": 101, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 79, - "name": "ElementaryTypeName", - "src": "625:7:1" - } - ], - "id": 80, - "name": "VariableDeclaration", - "src": "625:13:1" - }, - { - "attributes": { - "constant": false, - "name": "avatar", - "scope": 101, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 81, - "name": "ElementaryTypeName", - "src": "673:7:1" - } - ], - "id": 82, - "name": "VariableDeclaration", - "src": "673:14:1" - }, - { - "attributes": { - "constant": false, - "name": "numOfChoices", - "scope": 101, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 83, - "name": "ElementaryTypeName", - "src": "755:4:1" - } - ], - "id": 84, - "name": "VariableDeclaration", - "src": "755:17:1" - }, - { - "attributes": { - "constant": false, - "name": "executable", - "scope": 101, - "stateVariable": false, - "storageLocation": "default", - "type": "contract ExecutableInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ExecutableInterface", - "referencedDeclaration": 5155, - "type": "contract ExecutableInterface" - }, - "id": 85, - "name": "UserDefinedTypeName", - "src": "783:19:1" - } - ], - "id": 86, - "name": "VariableDeclaration", - "src": "783:30:1" - }, - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 101, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 87, - "name": "ElementaryTypeName", - "src": "870:7:1" - } - ], - "id": 88, - "name": "VariableDeclaration", - "src": "870:18:1" - }, - { - "attributes": { - "constant": false, - "name": "totalVotes", - "scope": 101, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 89, - "name": "ElementaryTypeName", - "src": "945:4:1" - } - ], - "id": 90, - "name": "VariableDeclaration", - "src": "945:15:1" - }, - { - "attributes": { - "constant": false, - "name": "votes", - "scope": 101, - "stateVariable": false, - "storageLocation": "default", - "type": "mapping(uint256 => uint256)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 91, - "name": "ElementaryTypeName", - "src": "979:4:1" - }, - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 92, - "name": "ElementaryTypeName", - "src": "985:4:1" - } - ], - "id": 93, - "name": "Mapping", - "src": "971:19:1" - } - ], - "id": 94, - "name": "VariableDeclaration", - "src": "971:25:1" - }, - { - "attributes": { - "constant": false, - "name": "voters", - "scope": 101, - "stateVariable": false, - "storageLocation": "default", - "type": "mapping(address => struct AbsoluteVote.Voter storage ref)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => struct AbsoluteVote.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 95, - "name": "ElementaryTypeName", - "src": "1015:7:1" - }, - { - "attributes": { - "contractScope": null, - "name": "Voter", - "referencedDeclaration": 78, - "type": "struct AbsoluteVote.Voter storage pointer" - }, - "id": 96, - "name": "UserDefinedTypeName", - "src": "1024:5:1" - } - ], - "id": 97, - "name": "Mapping", - "src": "1007:23:1" - } - ], - "id": 98, - "name": "VariableDeclaration", - "src": "1007:30:1" - }, - { - "attributes": { - "constant": false, - "name": "open", - "scope": 101, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 99, - "name": "ElementaryTypeName", - "src": "1048:4:1" - } - ], - "id": 100, - "name": "VariableDeclaration", - "src": "1048:9:1" - } - ], - "id": 101, - "name": "StructDefinition", - "src": "598:487:1" - }, - { - "attributes": { - "anonymous": false, - "name": "LogNewProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 111, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 102, - "name": "ElementaryTypeName", - "src": "1114:7:1" - } - ], - "id": 103, - "name": "VariableDeclaration", - "src": "1114:27:1" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_numOfChoices", - "scope": 111, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 104, - "name": "ElementaryTypeName", - "src": "1143:4:1" - } - ], - "id": 105, - "name": "VariableDeclaration", - "src": "1143:18:1" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_proposer", - "scope": 111, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 106, - "name": "ElementaryTypeName", - "src": "1163:7:1" - } - ], - "id": 107, - "name": "VariableDeclaration", - "src": "1163:17:1" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_paramsHash", - "scope": 111, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 108, - "name": "ElementaryTypeName", - "src": "1182:7:1" - } - ], - "id": 109, - "name": "VariableDeclaration", - "src": "1182:19:1" - } - ], - "id": 110, - "name": "ParameterList", - "src": "1113:89:1" - } - ], - "id": 111, - "name": "EventDefinition", - "src": "1093:110:1" - }, - { - "attributes": { - "anonymous": false, - "name": "LogCancelProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 115, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 112, - "name": "ElementaryTypeName", - "src": "1233:7:1" - } - ], - "id": 113, - "name": "VariableDeclaration", - "src": "1233:27:1" - } - ], - "id": 114, - "name": "ParameterList", - "src": "1232:29:1" - } - ], - "id": 115, - "name": "EventDefinition", - "src": "1209:53:1" - }, - { - "attributes": { - "anonymous": false, - "name": "LogExecuteProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 121, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 116, - "name": "ElementaryTypeName", - "src": "1293:7:1" - } - ], - "id": 117, - "name": "VariableDeclaration", - "src": "1293:27:1" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_decision", - "scope": 121, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 118, - "name": "ElementaryTypeName", - "src": "1322:4:1" - } - ], - "id": 119, - "name": "VariableDeclaration", - "src": "1322:14:1" - } - ], - "id": 120, - "name": "ParameterList", - "src": "1292:45:1" - } - ], - "id": 121, - "name": "EventDefinition", - "src": "1268:70:1" - }, - { - "attributes": { - "anonymous": false, - "name": "LogVoteProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 133, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 122, - "name": "ElementaryTypeName", - "src": "1366:7:1" - } - ], - "id": 123, - "name": "VariableDeclaration", - "src": "1366:27:1" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_voter", - "scope": 133, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 124, - "name": "ElementaryTypeName", - "src": "1395:7:1" - } - ], - "id": 125, - "name": "VariableDeclaration", - "src": "1395:22:1" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_vote", - "scope": 133, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 126, - "name": "ElementaryTypeName", - "src": "1419:4:1" - } - ], - "id": 127, - "name": "VariableDeclaration", - "src": "1419:10:1" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_reputation", - "scope": 133, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 128, - "name": "ElementaryTypeName", - "src": "1431:4:1" - } - ], - "id": 129, - "name": "VariableDeclaration", - "src": "1431:16:1" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_isOwnerVote", - "scope": 133, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 130, - "name": "ElementaryTypeName", - "src": "1449:4:1" - } - ], - "id": 131, - "name": "VariableDeclaration", - "src": "1449:17:1" - } - ], - "id": 132, - "name": "ParameterList", - "src": "1365:102:1" - } - ], - "id": 133, - "name": "EventDefinition", - "src": "1344:124:1" - }, - { - "attributes": { - "anonymous": false, - "name": "LogCancelVoting" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 139, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 134, - "name": "ElementaryTypeName", - "src": "1496:7:1" - } - ], - "id": 135, - "name": "VariableDeclaration", - "src": "1496:27:1" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_voter", - "scope": 139, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 136, - "name": "ElementaryTypeName", - "src": "1525:7:1" - } - ], - "id": 137, - "name": "VariableDeclaration", - "src": "1525:22:1" - } - ], - "id": 138, - "name": "ParameterList", - "src": "1495:53:1" - } - ], - "id": 139, - "name": "EventDefinition", - "src": "1474:75:1" - }, - { - "attributes": { - "constant": false, - "name": "parameters", - "scope": 877, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 140, - "name": "ElementaryTypeName", - "src": "1565:7:1" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 73, - "type": "struct AbsoluteVote.Parameters storage pointer" - }, - "id": 141, - "name": "UserDefinedTypeName", - "src": "1574:10:1" - } - ], - "id": 142, - "name": "Mapping", - "src": "1557:28:1" - } - ], - "id": 143, - "name": "VariableDeclaration", - "src": "1557:46:1" - }, - { - "attributes": { - "constant": false, - "name": "proposals", - "scope": 877, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 144, - "name": "ElementaryTypeName", - "src": "1658:7:1" - }, - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 101, - "type": "struct AbsoluteVote.Proposal storage pointer" - }, - "id": 145, - "name": "UserDefinedTypeName", - "src": "1667:8:1" - } - ], - "id": 146, - "name": "Mapping", - "src": "1650:26:1" - } - ], - "id": 147, - "name": "VariableDeclaration", - "src": "1650:43:1" - }, - { - "attributes": { - "constant": true, - "name": "MAX_NUM_OF_CHOICES", - "scope": 877, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 148, - "name": "ElementaryTypeName", - "src": "1765:4:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3130", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 10", - "value": "10" - }, - "id": 149, - "name": "Literal", - "src": "1800:2:1" - } - ], - "id": 150, - "name": "VariableDeclaration", - "src": "1765:37:1" - }, - { - "attributes": { - "constant": false, - "name": "proposalsCnt", - "scope": 877, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 151, - "name": "ElementaryTypeName", - "src": "1809:4:1" - } - ], - "id": 152, - "name": "VariableDeclaration", - "src": "1809:17:1" - }, - { - "attributes": { - "name": "onlyProposalOwner", - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 168, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 153, - "name": "ElementaryTypeName", - "src": "1987:7:1" - } - ], - "id": 154, - "name": "VariableDeclaration", - "src": "1987:19:1" - } - ], - "id": 155, - "name": "ParameterList", - "src": "1986:21:1" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 156, - "name": "Identifier", - "src": "2019:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 157, - "name": "Identifier", - "src": "2027:3:1" - } - ], - "id": 158, - "name": "MemberAccess", - "src": "2027:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 80, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 159, - "name": "Identifier", - "src": "2041:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 154, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 160, - "name": "Identifier", - "src": "2051:11:1" - } - ], - "id": 161, - "name": "IndexAccess", - "src": "2041:22:1" - } - ], - "id": 162, - "name": "MemberAccess", - "src": "2041:28:1" - } - ], - "id": 163, - "name": "BinaryOperation", - "src": "2027:42:1" - } - ], - "id": 164, - "name": "FunctionCall", - "src": "2019:51:1" - } - ], - "id": 165, - "name": "ExpressionStatement", - "src": "2019:51:1" - }, - { - "id": 166, - "name": "PlaceholderStatement", - "src": "2081:1:1" - } - ], - "id": 167, - "name": "Block", - "src": "2008:82:1" - } - ], - "id": 168, - "name": "ModifierDefinition", - "src": "1960:130:1" - }, - { - "attributes": { - "name": "votable", - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 181, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 169, - "name": "ElementaryTypeName", - "src": "2203:7:1" - } - ], - "id": 170, - "name": "VariableDeclaration", - "src": "2203:19:1" - } - ], - "id": 171, - "name": "ParameterList", - "src": "2202:21:1" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 172, - "name": "Identifier", - "src": "2235:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "open", - "referencedDeclaration": 100, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 173, - "name": "Identifier", - "src": "2243:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 170, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 174, - "name": "Identifier", - "src": "2253:11:1" - } - ], - "id": 175, - "name": "IndexAccess", - "src": "2243:22:1" - } - ], - "id": 176, - "name": "MemberAccess", - "src": "2243:27:1" - } - ], - "id": 177, - "name": "FunctionCall", - "src": "2235:36:1" - } - ], - "id": 178, - "name": "ExpressionStatement", - "src": "2235:36:1" - }, - { - "id": 179, - "name": "PlaceholderStatement", - "src": "2282:1:1" - } - ], - "id": 180, - "name": "Block", - "src": "2224:67:1" - } - ], - "id": 181, - "name": "ModifierDefinition", - "src": "2186:105:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_reputationSystem", - "scope": 223, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 182, - "name": "UserDefinedTypeName", - "src": "2423:10:1" - } - ], - "id": 183, - "name": "VariableDeclaration", - "src": "2423:28:1" - }, - { - "attributes": { - "constant": false, - "name": "_precReq", - "scope": 223, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 184, - "name": "ElementaryTypeName", - "src": "2453:4:1" - } - ], - "id": 185, - "name": "VariableDeclaration", - "src": "2453:13:1" - }, - { - "attributes": { - "constant": false, - "name": "_allowOwner", - "scope": 223, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 186, - "name": "ElementaryTypeName", - "src": "2468:4:1" - } - ], - "id": 187, - "name": "VariableDeclaration", - "src": "2468:16:1" - } - ], - "id": 188, - "name": "ParameterList", - "src": "2422:63:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 223, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 189, - "name": "ElementaryTypeName", - "src": "2501:7:1" - } - ], - "id": 190, - "name": "VariableDeclaration", - "src": "2501:7:1" - } - ], - "id": 191, - "name": "ParameterList", - "src": "2500:9:1" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 192, - "name": "Identifier", - "src": "2521:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 185, - "type": "uint256", - "value": "_precReq" - }, - "id": 193, - "name": "Identifier", - "src": "2529:8:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "313030", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 100", - "value": "100" - }, - "id": 194, - "name": "Literal", - "src": "2541:3:1" - } - ], - "id": 195, - "name": "BinaryOperation", - "src": "2529:15:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 185, - "type": "uint256", - "value": "_precReq" - }, - "id": 196, - "name": "Identifier", - "src": "2548:8:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 197, - "name": "Literal", - "src": "2559:1:1" - } - ], - "id": 198, - "name": "BinaryOperation", - "src": "2548:12:1" - } - ], - "id": 199, - "name": "BinaryOperation", - "src": "2529:31:1" - } - ], - "id": 200, - "name": "FunctionCall", - "src": "2521:40:1" - } - ], - "id": 201, - "name": "ExpressionStatement", - "src": "2521:40:1" - }, - { - "attributes": { - "assignments": [ - 203 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "hashedParameters", - "scope": 223, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 202, - "name": "ElementaryTypeName", - "src": "2572:7:1" - } - ], - "id": 203, - "name": "VariableDeclaration", - "src": "2572:24:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Reputation_$4357", - "typeString": "contract Reputation" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 241, - "type": "function (contract Reputation,uint256,bool) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 204, - "name": "Identifier", - "src": "2599:17:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 183, - "type": "contract Reputation", - "value": "_reputationSystem" - }, - "id": 205, - "name": "Identifier", - "src": "2617:17:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 185, - "type": "uint256", - "value": "_precReq" - }, - "id": 206, - "name": "Identifier", - "src": "2636:8:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 187, - "type": "bool", - "value": "_allowOwner" - }, - "id": 207, - "name": "Identifier", - "src": "2646:11:1" - } - ], - "id": 208, - "name": "FunctionCall", - "src": "2599:59:1" - } - ], - "id": 209, - "name": "VariableDeclarationStatement", - "src": "2572:86:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct AbsoluteVote.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct AbsoluteVote.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 143, - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)", - "value": "parameters" - }, - "id": 210, - "name": "Identifier", - "src": "2669:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 203, - "type": "bytes32", - "value": "hashedParameters" - }, - "id": 211, - "name": "Identifier", - "src": "2680:16:1" - } - ], - "id": 212, - "name": "IndexAccess", - "src": "2669:28:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "reputationSystem", - "precReq", - "allowOwner" - ], - "type": "struct AbsoluteVote.Parameters memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 73, - "type": "type(struct AbsoluteVote.Parameters storage pointer)", - "value": "Parameters" - }, - "id": 213, - "name": "Identifier", - "src": "2700:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 183, - "type": "contract Reputation", - "value": "_reputationSystem" - }, - "id": 214, - "name": "Identifier", - "src": "2744:17:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 185, - "type": "uint256", - "value": "_precReq" - }, - "id": 215, - "name": "Identifier", - "src": "2785:8:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 187, - "type": "bool", - "value": "_allowOwner" - }, - "id": 216, - "name": "Identifier", - "src": "2820:11:1" - } - ], - "id": 217, - "name": "FunctionCall", - "src": "2700:143:1" - } - ], - "id": 218, - "name": "Assignment", - "src": "2669:174:1" - } - ], - "id": 219, - "name": "ExpressionStatement", - "src": "2669:174:1" - }, - { - "attributes": { - "functionReturnParameters": 191 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 203, - "type": "bytes32", - "value": "hashedParameters" - }, - "id": 220, - "name": "Identifier", - "src": "2861:16:1" - } - ], - "id": 221, - "name": "Return", - "src": "2854:23:1" - } - ], - "id": 222, - "name": "Block", - "src": "2510:375:1" - } - ], - "id": 223, - "name": "FunctionDefinition", - "src": "2400:485:1" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 877, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_reputationSystem", - "scope": 241, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 224, - "name": "UserDefinedTypeName", - "src": "2999:10:1" - } - ], - "id": 225, - "name": "VariableDeclaration", - "src": "2999:28:1" - }, - { - "attributes": { - "constant": false, - "name": "_precReq", - "scope": 241, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 226, - "name": "ElementaryTypeName", - "src": "3029:4:1" - } - ], - "id": 227, - "name": "VariableDeclaration", - "src": "3029:13:1" - }, - { - "attributes": { - "constant": false, - "name": "_allowOwner", - "scope": 241, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 228, - "name": "ElementaryTypeName", - "src": "3044:4:1" - } - ], - "id": 229, - "name": "VariableDeclaration", - "src": "3044:16:1" - } - ], - "id": 230, - "name": "ParameterList", - "src": "2998:63:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 241, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 231, - "name": "ElementaryTypeName", - "src": "3082:7:1" - } - ], - "id": 232, - "name": "VariableDeclaration", - "src": "3082:7:1" - } - ], - "id": 233, - "name": "ParameterList", - "src": "3081:9:1" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 233 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Reputation_$4357", - "typeString": "contract Reputation" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 234, - "name": "Identifier", - "src": "3109:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 225, - "type": "contract Reputation", - "value": "_reputationSystem" - }, - "id": 235, - "name": "Identifier", - "src": "3119:17:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 227, - "type": "uint256", - "value": "_precReq" - }, - "id": 236, - "name": "Identifier", - "src": "3138:8:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 229, - "type": "bool", - "value": "_allowOwner" - }, - "id": 237, - "name": "Identifier", - "src": "3148:11:1" - } - ], - "id": 238, - "name": "FunctionCall", - "src": "3109:51:1" - } - ], - "id": 239, - "name": "Return", - "src": "3102:58:1" - } - ], - "id": 240, - "name": "Block", - "src": "3091:77:1" - } - ], - "id": 241, - "name": "FunctionDefinition", - "src": "2972:196:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "propose", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": 2570, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_numOfChoices", - "scope": 342, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 242, - "name": "ElementaryTypeName", - "src": "3698:4:1" - } - ], - "id": 243, - "name": "VariableDeclaration", - "src": "3698:18:1" - }, - { - "attributes": { - "constant": false, - "name": "_paramsHash", - "scope": 342, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 244, - "name": "ElementaryTypeName", - "src": "3718:7:1" - } - ], - "id": 245, - "name": "VariableDeclaration", - "src": "3718:19:1" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 342, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 246, - "name": "ElementaryTypeName", - "src": "3739:7:1" - } - ], - "id": 247, - "name": "VariableDeclaration", - "src": "3739:15:1" - }, - { - "attributes": { - "constant": false, - "name": "_executable", - "scope": 342, - "stateVariable": false, - "storageLocation": "default", - "type": "contract ExecutableInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ExecutableInterface", - "referencedDeclaration": 5155, - "type": "contract ExecutableInterface" - }, - "id": 248, - "name": "UserDefinedTypeName", - "src": "3756:19:1" - } - ], - "id": 249, - "name": "VariableDeclaration", - "src": "3756:31:1" - } - ], - "id": 250, - "name": "ParameterList", - "src": "3697:91:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 342, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 251, - "name": "ElementaryTypeName", - "src": "3804:7:1" - } - ], - "id": 252, - "name": "VariableDeclaration", - "src": "3804:7:1" - } - ], - "id": 253, - "name": "ParameterList", - "src": "3803:9:1" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 254, - "name": "Identifier", - "src": "3878:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputationSystem", - "referencedDeclaration": 68, - "type": "contract Reputation" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 143, - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)", - "value": "parameters" - }, - "id": 255, - "name": "Identifier", - "src": "3886:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 245, - "type": "bytes32", - "value": "_paramsHash" - }, - "id": 256, - "name": "Identifier", - "src": "3897:11:1" - } - ], - "id": 257, - "name": "IndexAccess", - "src": "3886:23:1" - } - ], - "id": 258, - "name": "MemberAccess", - "src": "3886:40:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 259, - "name": "ElementaryTypeNameExpression", - "src": "3930:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 260, - "name": "Literal", - "src": "3938:1:1" - } - ], - "id": 261, - "name": "FunctionCall", - "src": "3930:10:1" - } - ], - "id": 262, - "name": "BinaryOperation", - "src": "3886:54:1" - } - ], - "id": 263, - "name": "FunctionCall", - "src": "3878:63:1" - } - ], - "id": 264, - "name": "ExpressionStatement", - "src": "3878:63:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 265, - "name": "Identifier", - "src": "3952:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 243, - "type": "uint256", - "value": "_numOfChoices" - }, - "id": 266, - "name": "Identifier", - "src": "3960:13:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 267, - "name": "Literal", - "src": "3976:1:1" - } - ], - "id": 268, - "name": "BinaryOperation", - "src": "3960:17:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 243, - "type": "uint256", - "value": "_numOfChoices" - }, - "id": 269, - "name": "Identifier", - "src": "3981:13:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 150, - "type": "uint256", - "value": "MAX_NUM_OF_CHOICES" - }, - "id": 270, - "name": "Identifier", - "src": "3998:18:1" - } - ], - "id": 271, - "name": "BinaryOperation", - "src": "3981:35:1" - } - ], - "id": 272, - "name": "BinaryOperation", - "src": "3960:56:1" - } - ], - "id": 273, - "name": "FunctionCall", - "src": "3952:65:1" - } - ], - "id": 274, - "name": "ExpressionStatement", - "src": "3952:65:1" - }, - { - "attributes": { - "assignments": [ - 276 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposalId", - "scope": 342, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 275, - "name": "ElementaryTypeName", - "src": "4062:7:1" - } - ], - "id": 276, - "name": "VariableDeclaration", - "src": "4062:18:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_AbsoluteVote_$877", - "typeString": "contract AbsoluteVote" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 277, - "name": "Identifier", - "src": "4083:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9783, - "type": "contract AbsoluteVote", - "value": "this" - }, - "id": 278, - "name": "Identifier", - "src": "4093:4:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 152, - "type": "uint256", - "value": "proposalsCnt" - }, - "id": 279, - "name": "Identifier", - "src": "4099:12:1" - } - ], - "id": 280, - "name": "FunctionCall", - "src": "4083:29:1" - } - ], - "id": 281, - "name": "VariableDeclarationStatement", - "src": "4062:50:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 152, - "type": "uint256", - "value": "proposalsCnt" - }, - "id": 282, - "name": "Identifier", - "src": "4123:12:1" - } - ], - "id": 283, - "name": "UnaryOperation", - "src": "4123:14:1" - } - ], - "id": 284, - "name": "ExpressionStatement", - "src": "4123:14:1" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 342, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct AbsoluteVote.Proposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 101, - "type": "struct AbsoluteVote.Proposal storage pointer" - }, - "id": 285, - "name": "UserDefinedTypeName", - "src": "4175:8:1" - } - ], - "id": 286, - "name": "VariableDeclaration", - "src": "4175:24:1" - } - ], - "id": 287, - "name": "VariableDeclarationStatement", - "src": "4175:24:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "numOfChoices", - "referencedDeclaration": 84, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 286, - "type": "struct AbsoluteVote.Proposal memory", - "value": "proposal" - }, - "id": 288, - "name": "Identifier", - "src": "4210:8:1" - } - ], - "id": 290, - "name": "MemberAccess", - "src": "4210:21:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 243, - "type": "uint256", - "value": "_numOfChoices" - }, - "id": 291, - "name": "Identifier", - "src": "4234:13:1" - } - ], - "id": 292, - "name": "Assignment", - "src": "4210:37:1" - } - ], - "id": 293, - "name": "ExpressionStatement", - "src": "4210:37:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "paramsHash", - "referencedDeclaration": 88, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 286, - "type": "struct AbsoluteVote.Proposal memory", - "value": "proposal" - }, - "id": 294, - "name": "Identifier", - "src": "4258:8:1" - } - ], - "id": 296, - "name": "MemberAccess", - "src": "4258:19:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 245, - "type": "bytes32", - "value": "_paramsHash" - }, - "id": 297, - "name": "Identifier", - "src": "4280:11:1" - } - ], - "id": 298, - "name": "Assignment", - "src": "4258:33:1" - } - ], - "id": 299, - "name": "ExpressionStatement", - "src": "4258:33:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "avatar", - "referencedDeclaration": 82, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 286, - "type": "struct AbsoluteVote.Proposal memory", - "value": "proposal" - }, - "id": 300, - "name": "Identifier", - "src": "4302:8:1" - } - ], - "id": 302, - "name": "MemberAccess", - "src": "4302:15:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 247, - "type": "address", - "value": "_avatar" - }, - "id": 303, - "name": "Identifier", - "src": "4320:7:1" - } - ], - "id": 304, - "name": "Assignment", - "src": "4302:25:1" - } - ], - "id": 305, - "name": "ExpressionStatement", - "src": "4302:25:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "executable", - "referencedDeclaration": 86, - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 286, - "type": "struct AbsoluteVote.Proposal memory", - "value": "proposal" - }, - "id": 306, - "name": "Identifier", - "src": "4338:8:1" - } - ], - "id": 308, - "name": "MemberAccess", - "src": "4338:19:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 249, - "type": "contract ExecutableInterface", - "value": "_executable" - }, - "id": 309, - "name": "Identifier", - "src": "4360:11:1" - } - ], - "id": 310, - "name": "Assignment", - "src": "4338:33:1" - } - ], - "id": 311, - "name": "ExpressionStatement", - "src": "4338:33:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "owner", - "referencedDeclaration": 80, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 286, - "type": "struct AbsoluteVote.Proposal memory", - "value": "proposal" - }, - "id": 312, - "name": "Identifier", - "src": "4382:8:1" - } - ], - "id": 314, - "name": "MemberAccess", - "src": "4382:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 315, - "name": "Identifier", - "src": "4399:3:1" - } - ], - "id": 316, - "name": "MemberAccess", - "src": "4399:10:1" - } - ], - "id": 317, - "name": "Assignment", - "src": "4382:27:1" - } - ], - "id": 318, - "name": "ExpressionStatement", - "src": "4382:27:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "open", - "referencedDeclaration": 100, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 286, - "type": "struct AbsoluteVote.Proposal memory", - "value": "proposal" - }, - "id": 319, - "name": "Identifier", - "src": "4420:8:1" - } - ], - "id": 321, - "name": "MemberAccess", - "src": "4420:13:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 322, - "name": "Literal", - "src": "4436:4:1" - } - ], - "id": 323, - "name": "Assignment", - "src": "4420:20:1" - } - ], - "id": 324, - "name": "ExpressionStatement", - "src": "4420:20:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 325, - "name": "Identifier", - "src": "4451:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 276, - "type": "bytes32", - "value": "proposalId" - }, - "id": 326, - "name": "Identifier", - "src": "4461:10:1" - } - ], - "id": 327, - "name": "IndexAccess", - "src": "4451:21:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 286, - "type": "struct AbsoluteVote.Proposal memory", - "value": "proposal" - }, - "id": 328, - "name": "Identifier", - "src": "4475:8:1" - } - ], - "id": 329, - "name": "Assignment", - "src": "4451:32:1" - } - ], - "id": 330, - "name": "ExpressionStatement", - "src": "4451:32:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 111, - "type": "function (bytes32,uint256,address,bytes32)", - "value": "LogNewProposal" - }, - "id": 331, - "name": "Identifier", - "src": "4494:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 276, - "type": "bytes32", - "value": "proposalId" - }, - "id": 332, - "name": "Identifier", - "src": "4509:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 243, - "type": "uint256", - "value": "_numOfChoices" - }, - "id": 333, - "name": "Identifier", - "src": "4521:13:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 334, - "name": "Identifier", - "src": "4536:3:1" - } - ], - "id": 335, - "name": "MemberAccess", - "src": "4536:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 245, - "type": "bytes32", - "value": "_paramsHash" - }, - "id": 336, - "name": "Identifier", - "src": "4548:11:1" - } - ], - "id": 337, - "name": "FunctionCall", - "src": "4494:66:1" - } - ], - "id": 338, - "name": "ExpressionStatement", - "src": "4494:66:1" - }, - { - "attributes": { - "functionReturnParameters": 253 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 276, - "type": "bytes32", - "value": "proposalId" - }, - "id": 339, - "name": "Identifier", - "src": "4578:10:1" - } - ], - "id": 340, - "name": "Return", - "src": "4571:17:1" - } - ], - "id": 341, - "name": "Block", - "src": "3813:783:1" - } - ], - "id": 342, - "name": "FunctionDefinition", - "src": "3681:915:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "cancelProposal", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": 2583, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 378, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 343, - "name": "ElementaryTypeName", - "src": "4788:7:1" - } - ], - "id": 344, - "name": "VariableDeclaration", - "src": "4788:19:1" - } - ], - "id": 345, - "name": "ParameterList", - "src": "4787:21:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 378, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 352, - "name": "ElementaryTypeName", - "src": "4876:4:1" - } - ], - "id": 353, - "name": "VariableDeclaration", - "src": "4876:4:1" - } - ], - "id": 354, - "name": "ParameterList", - "src": "4875:6:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 168, - "type": "modifier (bytes32)", - "value": "onlyProposalOwner" - }, - "id": 346, - "name": "Identifier", - "src": "4816:17:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 344, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 347, - "name": "Identifier", - "src": "4834:11:1" - } - ], - "id": 348, - "name": "ModifierInvocation", - "src": "4816:30:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 181, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 349, - "name": "Identifier", - "src": "4847:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 344, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 350, - "name": "Identifier", - "src": "4855:11:1" - } - ], - "id": 351, - "name": "ModifierInvocation", - "src": "4847:20:1" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "allowOwner", - "referencedDeclaration": 72, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 143, - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)", - "value": "parameters" - }, - "id": 355, - "name": "Identifier", - "src": "4899:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 88, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 356, - "name": "Identifier", - "src": "4910:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 344, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 357, - "name": "Identifier", - "src": "4920:11:1" - } - ], - "id": 358, - "name": "IndexAccess", - "src": "4910:22:1" - } - ], - "id": 359, - "name": "MemberAccess", - "src": "4910:33:1" - } - ], - "id": 360, - "name": "IndexAccess", - "src": "4899:45:1" - } - ], - "id": 361, - "name": "MemberAccess", - "src": "4899:56:1" - } - ], - "id": 362, - "name": "UnaryOperation", - "src": "4897:58:1" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 354 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 363, - "name": "Literal", - "src": "4979:5:1" - } - ], - "id": 364, - "name": "Return", - "src": "4972:12:1" - } - ], - "id": 365, - "name": "Block", - "src": "4957:39:1" - } - ], - "id": 366, - "name": "IfStatement", - "src": "4893:103:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 754, - "type": "function (bytes32)", - "value": "deleteProposal" - }, - "id": 367, - "name": "Identifier", - "src": "5006:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 344, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 368, - "name": "Identifier", - "src": "5021:11:1" - } - ], - "id": 369, - "name": "FunctionCall", - "src": "5006:27:1" - } - ], - "id": 370, - "name": "ExpressionStatement", - "src": "5006:27:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 115, - "type": "function (bytes32)", - "value": "LogCancelProposal" - }, - "id": 371, - "name": "Identifier", - "src": "5044:17:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 344, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 372, - "name": "Identifier", - "src": "5062:11:1" - } - ], - "id": 373, - "name": "FunctionCall", - "src": "5044:30:1" - } - ], - "id": 374, - "name": "ExpressionStatement", - "src": "5044:30:1" - }, - { - "attributes": { - "functionReturnParameters": 354 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 375, - "name": "Literal", - "src": "5092:4:1" - } - ], - "id": 376, - "name": "Return", - "src": "5085:11:1" - } - ], - "id": 377, - "name": "Block", - "src": "4882:222:1" - } - ], - "id": 378, - "name": "FunctionDefinition", - "src": "4764:340:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "vote", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": 2609, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 399, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 379, - "name": "ElementaryTypeName", - "src": "5382:7:1" - } - ], - "id": 380, - "name": "VariableDeclaration", - "src": "5382:19:1" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 399, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 381, - "name": "ElementaryTypeName", - "src": "5403:4:1" - } - ], - "id": 382, - "name": "VariableDeclaration", - "src": "5403:10:1" - } - ], - "id": 383, - "name": "ParameterList", - "src": "5381:33:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 399, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 387, - "name": "ElementaryTypeName", - "src": "5451:4:1" - } - ], - "id": 388, - "name": "VariableDeclaration", - "src": "5451:4:1" - } - ], - "id": 389, - "name": "ParameterList", - "src": "5450:6:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 181, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 384, - "name": "Identifier", - "src": "5422:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 380, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 385, - "name": "Identifier", - "src": "5430:11:1" - } - ], - "id": 386, - "name": "ModifierInvocation", - "src": "5422:20:1" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 389 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 876, - "type": "function (bytes32,address,uint256,uint256) returns (bool)", - "value": "internalVote" - }, - "id": 390, - "name": "Identifier", - "src": "5475:12:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 380, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 391, - "name": "Identifier", - "src": "5488:11:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 392, - "name": "Identifier", - "src": "5501:3:1" - } - ], - "id": 393, - "name": "MemberAccess", - "src": "5501:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 382, - "type": "uint256", - "value": "_vote" - }, - "id": 394, - "name": "Identifier", - "src": "5513:5:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 395, - "name": "Literal", - "src": "5520:1:1" - } - ], - "id": 396, - "name": "FunctionCall", - "src": "5475:47:1" - } - ], - "id": 397, - "name": "Return", - "src": "5468:54:1" - } - ], - "id": 398, - "name": "Block", - "src": "5457:73:1" - } - ], - "id": 399, - "name": "FunctionDefinition", - "src": "5368:162:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "ownerVote", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": 2597, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 436, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 400, - "name": "ElementaryTypeName", - "src": "5935:7:1" - } - ], - "id": 401, - "name": "VariableDeclaration", - "src": "5935:19:1" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 436, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 402, - "name": "ElementaryTypeName", - "src": "5956:4:1" - } - ], - "id": 403, - "name": "VariableDeclaration", - "src": "5956:10:1" - }, - { - "attributes": { - "constant": false, - "name": "_voter", - "scope": 436, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 404, - "name": "ElementaryTypeName", - "src": "5968:7:1" - } - ], - "id": 405, - "name": "VariableDeclaration", - "src": "5968:14:1" - } - ], - "id": 406, - "name": "ParameterList", - "src": "5934:49:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 436, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 413, - "name": "ElementaryTypeName", - "src": "6051:4:1" - } - ], - "id": 414, - "name": "VariableDeclaration", - "src": "6051:4:1" - } - ], - "id": 415, - "name": "ParameterList", - "src": "6050:6:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 168, - "type": "modifier (bytes32)", - "value": "onlyProposalOwner" - }, - "id": 407, - "name": "Identifier", - "src": "5991:17:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 401, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 408, - "name": "Identifier", - "src": "6009:11:1" - } - ], - "id": 409, - "name": "ModifierInvocation", - "src": "5991:30:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 181, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 410, - "name": "Identifier", - "src": "6022:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 401, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 411, - "name": "Identifier", - "src": "6030:11:1" - } - ], - "id": 412, - "name": "ModifierInvocation", - "src": "6022:20:1" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "allowOwner", - "referencedDeclaration": 72, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 143, - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)", - "value": "parameters" - }, - "id": 416, - "name": "Identifier", - "src": "6074:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 88, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 417, - "name": "Identifier", - "src": "6085:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 401, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 418, - "name": "Identifier", - "src": "6095:11:1" - } - ], - "id": 419, - "name": "IndexAccess", - "src": "6085:22:1" - } - ], - "id": 420, - "name": "MemberAccess", - "src": "6085:33:1" - } - ], - "id": 421, - "name": "IndexAccess", - "src": "6074:45:1" - } - ], - "id": 422, - "name": "MemberAccess", - "src": "6074:56:1" - } - ], - "id": 423, - "name": "UnaryOperation", - "src": "6072:58:1" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 415 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 424, - "name": "Literal", - "src": "6154:5:1" - } - ], - "id": 425, - "name": "Return", - "src": "6147:12:1" - } - ], - "id": 426, - "name": "Block", - "src": "6132:39:1" - } - ], - "id": 427, - "name": "IfStatement", - "src": "6068:103:1" - }, - { - "attributes": { - "functionReturnParameters": 415 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 876, - "type": "function (bytes32,address,uint256,uint256) returns (bool)", - "value": "internalVote" - }, - "id": 428, - "name": "Identifier", - "src": "6189:12:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 401, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 429, - "name": "Identifier", - "src": "6202:11:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 405, - "type": "address", - "value": "_voter" - }, - "id": 430, - "name": "Identifier", - "src": "6215:6:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 403, - "type": "uint256", - "value": "_vote" - }, - "id": 431, - "name": "Identifier", - "src": "6223:5:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 432, - "name": "Literal", - "src": "6230:1:1" - } - ], - "id": 433, - "name": "FunctionCall", - "src": "6189:43:1" - } - ], - "id": 434, - "name": "Return", - "src": "6181:51:1" - } - ], - "id": 435, - "name": "Block", - "src": "6057:183:1" - } - ], - "id": 436, - "name": "FunctionDefinition", - "src": "5916:324:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "voteWithSpecifiedAmounts", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": 2625, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 461, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 437, - "name": "ElementaryTypeName", - "src": "6282:7:1" - } - ], - "id": 438, - "name": "VariableDeclaration", - "src": "6282:19:1" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 461, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 439, - "name": "ElementaryTypeName", - "src": "6302:4:1" - } - ], - "id": 440, - "name": "VariableDeclaration", - "src": "6302:10:1" - }, - { - "attributes": { - "constant": false, - "name": "_rep", - "scope": 461, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 441, - "name": "ElementaryTypeName", - "src": "6313:4:1" - } - ], - "id": 442, - "name": "VariableDeclaration", - "src": "6313:9:1" - }, - { - "attributes": { - "constant": false, - "name": "", - "scope": 461, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 443, - "name": "ElementaryTypeName", - "src": "6323:4:1" - } - ], - "id": 444, - "name": "VariableDeclaration", - "src": "6323:4:1" - } - ], - "id": 445, - "name": "ParameterList", - "src": "6281:47:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 461, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 449, - "name": "ElementaryTypeName", - "src": "6365:4:1" - } - ], - "id": 450, - "name": "VariableDeclaration", - "src": "6365:4:1" - } - ], - "id": 451, - "name": "ParameterList", - "src": "6364:6:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 181, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 446, - "name": "Identifier", - "src": "6336:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 438, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 447, - "name": "Identifier", - "src": "6344:11:1" - } - ], - "id": 448, - "name": "ModifierInvocation", - "src": "6336:20:1" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 451 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 876, - "type": "function (bytes32,address,uint256,uint256) returns (bool)", - "value": "internalVote" - }, - "id": 452, - "name": "Identifier", - "src": "6389:12:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 438, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 453, - "name": "Identifier", - "src": "6402:11:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 454, - "name": "Identifier", - "src": "6414:3:1" - } - ], - "id": 455, - "name": "MemberAccess", - "src": "6414:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 440, - "type": "uint256", - "value": "_vote" - }, - "id": 456, - "name": "Identifier", - "src": "6425:5:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 442, - "type": "uint256", - "value": "_rep" - }, - "id": 457, - "name": "Identifier", - "src": "6431:4:1" - } - ], - "id": 458, - "name": "FunctionCall", - "src": "6389:47:1" - } - ], - "id": 459, - "name": "Return", - "src": "6382:54:1" - } - ], - "id": 460, - "name": "Block", - "src": "6371:73:1" - } - ], - "id": 461, - "name": "FunctionDefinition", - "src": "6248:196:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "cancelVote", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": 2633, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 476, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 462, - "name": "ElementaryTypeName", - "src": "6674:7:1" - } - ], - "id": 463, - "name": "VariableDeclaration", - "src": "6674:19:1" - } - ], - "id": 464, - "name": "ParameterList", - "src": "6673:21:1" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 468, - "name": "ParameterList", - "src": "6723:0:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 181, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 465, - "name": "Identifier", - "src": "6702:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 463, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 466, - "name": "Identifier", - "src": "6710:11:1" - } - ], - "id": 467, - "name": "ModifierInvocation", - "src": "6702:20:1" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 718, - "type": "function (bytes32,address)", - "value": "cancelVoteInternal" - }, - "id": 469, - "name": "Identifier", - "src": "6734:18:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 463, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 470, - "name": "Identifier", - "src": "6753:11:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 471, - "name": "Identifier", - "src": "6766:3:1" - } - ], - "id": 472, - "name": "MemberAccess", - "src": "6766:10:1" - } - ], - "id": 473, - "name": "FunctionCall", - "src": "6734:43:1" - } - ], - "id": 474, - "name": "ExpressionStatement", - "src": "6734:43:1" - } - ], - "id": 475, - "name": "Block", - "src": "6723:62:1" - } - ], - "id": 476, - "name": "FunctionDefinition", - "src": "6654:131:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "execute", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": 2643, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 565, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 477, - "name": "ElementaryTypeName", - "src": "7062:7:1" - } - ], - "id": 478, - "name": "VariableDeclaration", - "src": "7062:19:1" - } - ], - "id": 479, - "name": "ParameterList", - "src": "7061:21:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 565, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 483, - "name": "ElementaryTypeName", - "src": "7119:4:1" - } - ], - "id": 484, - "name": "VariableDeclaration", - "src": "7119:4:1" - } - ], - "id": 485, - "name": "ParameterList", - "src": "7118:6:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 181, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 480, - "name": "Identifier", - "src": "7090:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 478, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 481, - "name": "Identifier", - "src": "7098:11:1" - } - ], - "id": 482, - "name": "ModifierInvocation", - "src": "7090:20:1" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 487 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 565, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 101, - "type": "struct AbsoluteVote.Proposal storage pointer" - }, - "id": 486, - "name": "UserDefinedTypeName", - "src": "7136:8:1" - } - ], - "id": 487, - "name": "VariableDeclaration", - "src": "7136:25:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 488, - "name": "Identifier", - "src": "7164:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 478, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 489, - "name": "Identifier", - "src": "7174:11:1" - } - ], - "id": 490, - "name": "IndexAccess", - "src": "7164:22:1" - } - ], - "id": 491, - "name": "VariableDeclarationStatement", - "src": "7136:50:1" - }, - { - "attributes": { - "assignments": [ - 493 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "totalReputation", - "scope": 565, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 492, - "name": "ElementaryTypeName", - "src": "7197:4:1" - } - ], - "id": 493, - "name": "VariableDeclaration", - "src": "7197:20:1" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "totalSupply", - "referencedDeclaration": 4207, - "type": "function () view external returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputationSystem", - "referencedDeclaration": 68, - "type": "contract Reputation" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 143, - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)", - "value": "parameters" - }, - "id": 494, - "name": "Identifier", - "src": "7220:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 88, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 487, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 495, - "name": "Identifier", - "src": "7231:8:1" - } - ], - "id": 496, - "name": "MemberAccess", - "src": "7231:19:1" - } - ], - "id": 497, - "name": "IndexAccess", - "src": "7220:31:1" - } - ], - "id": 498, - "name": "MemberAccess", - "src": "7220:48:1" - } - ], - "id": 499, - "name": "MemberAccess", - "src": "7220:60:1" - } - ], - "id": 500, - "name": "FunctionCall", - "src": "7220:62:1" - } - ], - "id": 501, - "name": "VariableDeclarationStatement", - "src": "7197:85:1" - }, - { - "attributes": { - "assignments": [ - 503 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "precReq", - "scope": 565, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 502, - "name": "ElementaryTypeName", - "src": "7293:4:1" - } - ], - "id": 503, - "name": "VariableDeclaration", - "src": "7293:12:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "precReq", - "referencedDeclaration": 70, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 143, - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)", - "value": "parameters" - }, - "id": 504, - "name": "Identifier", - "src": "7308:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 88, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 487, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 505, - "name": "Identifier", - "src": "7319:8:1" - } - ], - "id": 506, - "name": "MemberAccess", - "src": "7319:19:1" - } - ], - "id": 507, - "name": "IndexAccess", - "src": "7308:31:1" - } - ], - "id": 508, - "name": "MemberAccess", - "src": "7308:39:1" - } - ], - "id": 509, - "name": "VariableDeclarationStatement", - "src": "7293:54:1" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 511 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 565, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 510, - "name": "ElementaryTypeName", - "src": "7409:4:1" - } - ], - "id": 511, - "name": "VariableDeclaration", - "src": "7409:8:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 512, - "name": "Literal", - "src": "7420:1:1" - } - ], - "id": 513, - "name": "VariableDeclarationStatement", - "src": "7409:12:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 511, - "type": "uint256", - "value": "cnt" - }, - "id": 514, - "name": "Identifier", - "src": "7423:3:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 84, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 487, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 515, - "name": "Identifier", - "src": "7430:8:1" - } - ], - "id": 516, - "name": "MemberAccess", - "src": "7430:21:1" - } - ], - "id": 517, - "name": "BinaryOperation", - "src": "7423:28:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 511, - "type": "uint256", - "value": "cnt" - }, - "id": 518, - "name": "Identifier", - "src": "7453:3:1" - } - ], - "id": 519, - "name": "UnaryOperation", - "src": "7453:5:1" - } - ], - "id": 520, - "name": "ExpressionStatement", - "src": "7453:5:1" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 94, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 487, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 521, - "name": "Identifier", - "src": "7479:8:1" - } - ], - "id": 522, - "name": "MemberAccess", - "src": "7479:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 511, - "type": "uint256", - "value": "cnt" - }, - "id": 523, - "name": "Identifier", - "src": "7494:3:1" - } - ], - "id": 524, - "name": "IndexAccess", - "src": "7479:19:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "/", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "*", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 493, - "type": "uint256", - "value": "totalReputation" - }, - "id": 525, - "name": "Identifier", - "src": "7501:15:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 503, - "type": "uint256", - "value": "precReq" - }, - "id": 526, - "name": "Identifier", - "src": "7517:7:1" - } - ], - "id": 527, - "name": "BinaryOperation", - "src": "7501:23:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "313030", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 100", - "value": "100" - }, - "id": 528, - "name": "Literal", - "src": "7525:3:1" - } - ], - "id": 529, - "name": "BinaryOperation", - "src": "7501:27:1" - } - ], - "id": 530, - "name": "BinaryOperation", - "src": "7479:49:1" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 532 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "tmpProposal", - "scope": 565, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct AbsoluteVote.Proposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 101, - "type": "struct AbsoluteVote.Proposal storage pointer" - }, - "id": 531, - "name": "UserDefinedTypeName", - "src": "7549:8:1" - } - ], - "id": 532, - "name": "VariableDeclaration", - "src": "7549:27:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 487, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 533, - "name": "Identifier", - "src": "7579:8:1" - } - ], - "id": 534, - "name": "VariableDeclarationStatement", - "src": "7549:38:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 754, - "type": "function (bytes32)", - "value": "deleteProposal" - }, - "id": 535, - "name": "Identifier", - "src": "7606:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 478, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 536, - "name": "Identifier", - "src": "7621:11:1" - } - ], - "id": 537, - "name": "FunctionCall", - "src": "7606:27:1" - } - ], - "id": 538, - "name": "ExpressionStatement", - "src": "7606:27:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 121, - "type": "function (bytes32,uint256)", - "value": "LogExecuteProposal" - }, - "id": 539, - "name": "Identifier", - "src": "7652:18:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 478, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 540, - "name": "Identifier", - "src": "7671:11:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 511, - "type": "uint256", - "value": "cnt" - }, - "id": 541, - "name": "Identifier", - "src": "7684:3:1" - } - ], - "id": 542, - "name": "FunctionCall", - "src": "7652:36:1" - } - ], - "id": 543, - "name": "ExpressionStatement", - "src": "7652:36:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "execute", - "referencedDeclaration": 5154, - "type": "function (bytes32,address,int256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "executable", - "referencedDeclaration": 86, - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 532, - "type": "struct AbsoluteVote.Proposal memory", - "value": "tmpProposal" - }, - "id": 544, - "name": "Identifier", - "src": "7708:11:1" - } - ], - "id": 545, - "name": "MemberAccess", - "src": "7708:22:1" - } - ], - "id": 546, - "name": "TupleExpression", - "src": "7707:24:1" - } - ], - "id": 547, - "name": "MemberAccess", - "src": "7707:32:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 478, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 548, - "name": "Identifier", - "src": "7740:11:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "avatar", - "referencedDeclaration": 82, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 532, - "type": "struct AbsoluteVote.Proposal memory", - "value": "tmpProposal" - }, - "id": 549, - "name": "Identifier", - "src": "7753:11:1" - } - ], - "id": 550, - "name": "MemberAccess", - "src": "7753:18:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "int256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(int256)", - "value": "int" - }, - "id": 551, - "name": "ElementaryTypeNameExpression", - "src": "7773:3:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 511, - "type": "uint256", - "value": "cnt" - }, - "id": 552, - "name": "Identifier", - "src": "7777:3:1" - } - ], - "id": 553, - "name": "FunctionCall", - "src": "7773:8:1" - } - ], - "id": 554, - "name": "FunctionCall", - "src": "7707:75:1" - } - ], - "id": 555, - "name": "ExpressionStatement", - "src": "7707:75:1" - }, - { - "attributes": { - "functionReturnParameters": 485 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 556, - "name": "Literal", - "src": "7808:4:1" - } - ], - "id": 557, - "name": "Return", - "src": "7801:11:1" - } - ], - "id": 558, - "name": "Block", - "src": "7530:298:1" - } - ], - "id": 559, - "name": "IfStatement", - "src": "7475:353:1" - } - ], - "id": 560, - "name": "Block", - "src": "7460:379:1" - } - ], - "id": 561, - "name": "ForStatement", - "src": "7404:435:1" - }, - { - "attributes": { - "functionReturnParameters": 485 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 562, - "name": "Literal", - "src": "7856:5:1" - } - ], - "id": 563, - "name": "Return", - "src": "7849:12:1" - } - ], - "id": 564, - "name": "Block", - "src": "7125:744:1" - } - ], - "id": 565, - "name": "FunctionDefinition", - "src": "7045:824:1" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getNumberOfChoices", - "payable": false, - "scope": 877, - "stateMutability": "view", - "superFunction": 2650, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 578, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 566, - "name": "ElementaryTypeName", - "src": "8104:7:1" - } - ], - "id": 567, - "name": "VariableDeclaration", - "src": "8104:19:1" - } - ], - "id": 568, - "name": "ParameterList", - "src": "8103:21:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 578, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 569, - "name": "ElementaryTypeName", - "src": "8149:4:1" - } - ], - "id": 570, - "name": "VariableDeclaration", - "src": "8149:4:1" - } - ], - "id": 571, - "name": "ParameterList", - "src": "8148:6:1" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 571 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 84, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 572, - "name": "Identifier", - "src": "8173:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 567, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 573, - "name": "Identifier", - "src": "8183:11:1" - } - ], - "id": 574, - "name": "IndexAccess", - "src": "8173:22:1" - } - ], - "id": 575, - "name": "MemberAccess", - "src": "8173:35:1" - } - ], - "id": 576, - "name": "Return", - "src": "8166:42:1" - } - ], - "id": 577, - "name": "Block", - "src": "8155:61:1" - } - ], - "id": 578, - "name": "FunctionDefinition", - "src": "8076:140:1" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "voteInfo", - "payable": false, - "scope": 877, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 605, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 579, - "name": "ElementaryTypeName", - "src": "8583:7:1" - } - ], - "id": 580, - "name": "VariableDeclaration", - "src": "8583:19:1" - }, - { - "attributes": { - "constant": false, - "name": "_voter", - "scope": 605, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 581, - "name": "ElementaryTypeName", - "src": "8604:7:1" - } - ], - "id": 582, - "name": "VariableDeclaration", - "src": "8604:14:1" - } - ], - "id": 583, - "name": "ParameterList", - "src": "8582:37:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 605, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 584, - "name": "ElementaryTypeName", - "src": "8644:4:1" - } - ], - "id": 585, - "name": "VariableDeclaration", - "src": "8644:4:1" - }, - { - "attributes": { - "constant": false, - "name": "", - "scope": 605, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 586, - "name": "ElementaryTypeName", - "src": "8650:4:1" - } - ], - "id": 587, - "name": "VariableDeclaration", - "src": "8650:4:1" - } - ], - "id": 588, - "name": "ParameterList", - "src": "8643:12:1" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 590 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "voter", - "scope": 605, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct AbsoluteVote.Voter memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Voter", - "referencedDeclaration": 78, - "type": "struct AbsoluteVote.Voter storage pointer" - }, - "id": 589, - "name": "UserDefinedTypeName", - "src": "8667:5:1" - } - ], - "id": 590, - "name": "VariableDeclaration", - "src": "8667:18:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voters", - "referencedDeclaration": 98, - "type": "mapping(address => struct AbsoluteVote.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 591, - "name": "Identifier", - "src": "8688:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 580, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 592, - "name": "Identifier", - "src": "8698:11:1" - } - ], - "id": 593, - "name": "IndexAccess", - "src": "8688:22:1" - } - ], - "id": 594, - "name": "MemberAccess", - "src": "8688:29:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 582, - "type": "address", - "value": "_voter" - }, - "id": 595, - "name": "Identifier", - "src": "8718:6:1" - } - ], - "id": 596, - "name": "IndexAccess", - "src": "8688:37:1" - } - ], - "id": 597, - "name": "VariableDeclarationStatement", - "src": "8667:58:1" - }, - { - "attributes": { - "functionReturnParameters": 588 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "tuple(uint256,uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "vote", - "referencedDeclaration": 75, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 590, - "type": "struct AbsoluteVote.Voter memory", - "value": "voter" - }, - "id": 598, - "name": "Identifier", - "src": "8744:5:1" - } - ], - "id": 599, - "name": "MemberAccess", - "src": "8744:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputation", - "referencedDeclaration": 77, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 590, - "type": "struct AbsoluteVote.Voter memory", - "value": "voter" - }, - "id": 600, - "name": "Identifier", - "src": "8756:5:1" - } - ], - "id": 601, - "name": "MemberAccess", - "src": "8756:16:1" - } - ], - "id": 602, - "name": "TupleExpression", - "src": "8743:30:1" - } - ], - "id": 603, - "name": "Return", - "src": "8736:37:1" - } - ], - "id": 604, - "name": "Block", - "src": "8656:125:1" - } - ], - "id": 605, - "name": "FunctionDefinition", - "src": "8565:216:1" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "votesStatus", - "payable": false, - "scope": 877, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 643, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 606, - "name": "ElementaryTypeName", - "src": "9051:7:1" - } - ], - "id": 607, - "name": "VariableDeclaration", - "src": "9051:19:1" - } - ], - "id": 608, - "name": "ParameterList", - "src": "9050:21:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "votes", - "scope": 643, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256[11] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "uint256[11] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 609, - "name": "ElementaryTypeName", - "src": "9096:4:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3131", - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 11", - "value": "11" - }, - "id": 610, - "name": "Literal", - "src": "9101:2:1" - } - ], - "id": 611, - "name": "ArrayTypeName", - "src": "9096:8:1" - } - ], - "id": 612, - "name": "VariableDeclaration", - "src": "9096:14:1" - } - ], - "id": 613, - "name": "ParameterList", - "src": "9095:16:1" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 615 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 643, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 101, - "type": "struct AbsoluteVote.Proposal storage pointer" - }, - "id": 614, - "name": "UserDefinedTypeName", - "src": "9123:8:1" - } - ], - "id": 615, - "name": "VariableDeclaration", - "src": "9123:25:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 616, - "name": "Identifier", - "src": "9151:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 607, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 617, - "name": "Identifier", - "src": "9161:11:1" - } - ], - "id": 618, - "name": "IndexAccess", - "src": "9151:22:1" - } - ], - "id": 619, - "name": "VariableDeclarationStatement", - "src": "9123:50:1" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 621 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 643, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 620, - "name": "ElementaryTypeName", - "src": "9189:4:1" - } - ], - "id": 621, - "name": "VariableDeclaration", - "src": "9189:8:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 622, - "name": "Literal", - "src": "9200:1:1" - } - ], - "id": 623, - "name": "VariableDeclarationStatement", - "src": "9189:12:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 621, - "type": "uint256", - "value": "cnt" - }, - "id": 624, - "name": "Identifier", - "src": "9203:3:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 84, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 615, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 625, - "name": "Identifier", - "src": "9210:8:1" - } - ], - "id": 626, - "name": "MemberAccess", - "src": "9210:21:1" - } - ], - "id": 627, - "name": "BinaryOperation", - "src": "9203:28:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 621, - "type": "uint256", - "value": "cnt" - }, - "id": 628, - "name": "Identifier", - "src": "9233:3:1" - } - ], - "id": 629, - "name": "UnaryOperation", - "src": "9233:5:1" - } - ], - "id": 630, - "name": "ExpressionStatement", - "src": "9233:5:1" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 612, - "type": "uint256[11] memory", - "value": "votes" - }, - "id": 631, - "name": "Identifier", - "src": "9255:5:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 621, - "type": "uint256", - "value": "cnt" - }, - "id": 632, - "name": "Identifier", - "src": "9261:3:1" - } - ], - "id": 633, - "name": "IndexAccess", - "src": "9255:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 94, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 615, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 634, - "name": "Identifier", - "src": "9268:8:1" - } - ], - "id": 635, - "name": "MemberAccess", - "src": "9268:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 621, - "type": "uint256", - "value": "cnt" - }, - "id": 636, - "name": "Identifier", - "src": "9283:3:1" - } - ], - "id": 637, - "name": "IndexAccess", - "src": "9268:19:1" - } - ], - "id": 638, - "name": "Assignment", - "src": "9255:32:1" - } - ], - "id": 639, - "name": "ExpressionStatement", - "src": "9255:32:1" - } - ], - "id": 640, - "name": "Block", - "src": "9240:59:1" - } - ], - "id": 641, - "name": "ForStatement", - "src": "9184:115:1" - } - ], - "id": 642, - "name": "Block", - "src": "9112:194:1" - } - ], - "id": 643, - "name": "FunctionDefinition", - "src": "9030:276:1" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "isVotable", - "payable": false, - "scope": 877, - "stateMutability": "view", - "superFunction": 2657, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 656, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 644, - "name": "ElementaryTypeName", - "src": "9494:7:1" - } - ], - "id": 645, - "name": "VariableDeclaration", - "src": "9494:19:1" - } - ], - "id": 646, - "name": "ParameterList", - "src": "9493:21:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 656, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 647, - "name": "ElementaryTypeName", - "src": "9539:4:1" - } - ], - "id": 648, - "name": "VariableDeclaration", - "src": "9539:4:1" - } - ], - "id": 649, - "name": "ParameterList", - "src": "9538:6:1" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 649 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "open", - "referencedDeclaration": 100, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 650, - "name": "Identifier", - "src": "9564:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 645, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 651, - "name": "Identifier", - "src": "9574:11:1" - } - ], - "id": 652, - "name": "IndexAccess", - "src": "9564:22:1" - } - ], - "id": 653, - "name": "MemberAccess", - "src": "9564:27:1" - } - ], - "id": 654, - "name": "Return", - "src": "9556:35:1" - } - ], - "id": 655, - "name": "Block", - "src": "9545:54:1" - } - ], - "id": 656, - "name": "FunctionDefinition", - "src": "9475:124:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "cancelVoteInternal", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 718, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 657, - "name": "ElementaryTypeName", - "src": "9635:7:1" - } - ], - "id": 658, - "name": "VariableDeclaration", - "src": "9635:19:1" - }, - { - "attributes": { - "constant": false, - "name": "_voter", - "scope": 718, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 659, - "name": "ElementaryTypeName", - "src": "9656:7:1" - } - ], - "id": 660, - "name": "VariableDeclaration", - "src": "9656:14:1" - } - ], - "id": 661, - "name": "ParameterList", - "src": "9634:37:1" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 662, - "name": "ParameterList", - "src": "9681:0:1" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 664 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 718, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 101, - "type": "struct AbsoluteVote.Proposal storage pointer" - }, - "id": 663, - "name": "UserDefinedTypeName", - "src": "9692:8:1" - } - ], - "id": 664, - "name": "VariableDeclaration", - "src": "9692:25:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 665, - "name": "Identifier", - "src": "9720:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 658, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 666, - "name": "Identifier", - "src": "9730:11:1" - } - ], - "id": 667, - "name": "IndexAccess", - "src": "9720:22:1" - } - ], - "id": 668, - "name": "VariableDeclarationStatement", - "src": "9692:50:1" - }, - { - "attributes": { - "assignments": [ - 670 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "voter", - "scope": 718, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct AbsoluteVote.Voter memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Voter", - "referencedDeclaration": 78, - "type": "struct AbsoluteVote.Voter storage pointer" - }, - "id": 669, - "name": "UserDefinedTypeName", - "src": "9753:5:1" - } - ], - "id": 670, - "name": "VariableDeclaration", - "src": "9753:18:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voters", - "referencedDeclaration": 98, - "type": "mapping(address => struct AbsoluteVote.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 664, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 671, - "name": "Identifier", - "src": "9774:8:1" - } - ], - "id": 672, - "name": "MemberAccess", - "src": "9774:15:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 660, - "type": "address", - "value": "_voter" - }, - "id": 673, - "name": "Identifier", - "src": "9790:6:1" - } - ], - "id": 674, - "name": "IndexAccess", - "src": "9774:23:1" - } - ], - "id": 675, - "name": "VariableDeclarationStatement", - "src": "9753:44:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 94, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 664, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 676, - "name": "Identifier", - "src": "9808:8:1" - } - ], - "id": 680, - "name": "MemberAccess", - "src": "9808:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "vote", - "referencedDeclaration": 75, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 670, - "type": "struct AbsoluteVote.Voter memory", - "value": "voter" - }, - "id": 678, - "name": "Identifier", - "src": "9823:5:1" - } - ], - "id": 679, - "name": "MemberAccess", - "src": "9823:10:1" - } - ], - "id": 681, - "name": "IndexAccess", - "src": "9808:26:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 94, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 664, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 682, - "name": "Identifier", - "src": "9838:8:1" - } - ], - "id": 683, - "name": "MemberAccess", - "src": "9838:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "vote", - "referencedDeclaration": 75, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 670, - "type": "struct AbsoluteVote.Voter memory", - "value": "voter" - }, - "id": 684, - "name": "Identifier", - "src": "9853:5:1" - } - ], - "id": 685, - "name": "MemberAccess", - "src": "9853:10:1" - } - ], - "id": 686, - "name": "IndexAccess", - "src": "9838:26:1" - } - ], - "id": 687, - "name": "TupleExpression", - "src": "9837:28:1" - } - ], - "id": 688, - "name": "MemberAccess", - "src": "9837:32:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputation", - "referencedDeclaration": 77, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 670, - "type": "struct AbsoluteVote.Voter memory", - "value": "voter" - }, - "id": 689, - "name": "Identifier", - "src": "9870:5:1" - } - ], - "id": 690, - "name": "MemberAccess", - "src": "9870:16:1" - } - ], - "id": 691, - "name": "FunctionCall", - "src": "9837:50:1" - } - ], - "id": 692, - "name": "Assignment", - "src": "9808:79:1" - } - ], - "id": 693, - "name": "ExpressionStatement", - "src": "9808:79:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "totalVotes", - "referencedDeclaration": 90, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 664, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 694, - "name": "Identifier", - "src": "9898:8:1" - } - ], - "id": 696, - "name": "MemberAccess", - "src": "9898:19:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalVotes", - "referencedDeclaration": 90, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 664, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 697, - "name": "Identifier", - "src": "9921:8:1" - } - ], - "id": 698, - "name": "MemberAccess", - "src": "9921:19:1" - } - ], - "id": 699, - "name": "TupleExpression", - "src": "9920:21:1" - } - ], - "id": 700, - "name": "MemberAccess", - "src": "9920:25:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputation", - "referencedDeclaration": 77, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 670, - "type": "struct AbsoluteVote.Voter memory", - "value": "voter" - }, - "id": 701, - "name": "Identifier", - "src": "9946:5:1" - } - ], - "id": 702, - "name": "MemberAccess", - "src": "9946:16:1" - } - ], - "id": 703, - "name": "FunctionCall", - "src": "9920:43:1" - } - ], - "id": 704, - "name": "Assignment", - "src": "9898:65:1" - } - ], - "id": 705, - "name": "ExpressionStatement", - "src": "9898:65:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct AbsoluteVote.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voters", - "referencedDeclaration": 98, - "type": "mapping(address => struct AbsoluteVote.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 664, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 706, - "name": "Identifier", - "src": "9981:8:1" - } - ], - "id": 707, - "name": "MemberAccess", - "src": "9981:15:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 660, - "type": "address", - "value": "_voter" - }, - "id": 708, - "name": "Identifier", - "src": "9997:6:1" - } - ], - "id": 709, - "name": "IndexAccess", - "src": "9981:23:1" - } - ], - "id": 710, - "name": "UnaryOperation", - "src": "9974:30:1" - } - ], - "id": 711, - "name": "ExpressionStatement", - "src": "9974:30:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 139, - "type": "function (bytes32,address)", - "value": "LogCancelVoting" - }, - "id": 712, - "name": "Identifier", - "src": "10015:15:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 658, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 713, - "name": "Identifier", - "src": "10031:11:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 660, - "type": "address", - "value": "_voter" - }, - "id": 714, - "name": "Identifier", - "src": "10044:6:1" - } - ], - "id": 715, - "name": "FunctionCall", - "src": "10015:36:1" - } - ], - "id": 716, - "name": "ExpressionStatement", - "src": "10015:36:1" - } - ], - "id": 717, - "name": "Block", - "src": "9681:378:1" - } - ], - "id": 718, - "name": "FunctionDefinition", - "src": "9607:452:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "deleteProposal", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "private" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 754, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 719, - "name": "ElementaryTypeName", - "src": "10091:7:1" - } - ], - "id": 720, - "name": "VariableDeclaration", - "src": "10091:19:1" - } - ], - "id": 721, - "name": "ParameterList", - "src": "10090:21:1" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 722, - "name": "ParameterList", - "src": "10120:0:1" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 724 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 754, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 101, - "type": "struct AbsoluteVote.Proposal storage pointer" - }, - "id": 723, - "name": "UserDefinedTypeName", - "src": "10131:8:1" - } - ], - "id": 724, - "name": "VariableDeclaration", - "src": "10131:25:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 725, - "name": "Identifier", - "src": "10159:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 720, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 726, - "name": "Identifier", - "src": "10169:11:1" - } - ], - "id": 727, - "name": "IndexAccess", - "src": "10159:22:1" - } - ], - "id": 728, - "name": "VariableDeclarationStatement", - "src": "10131:50:1" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 730 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 754, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 729, - "name": "ElementaryTypeName", - "src": "10197:4:1" - } - ], - "id": 730, - "name": "VariableDeclaration", - "src": "10197:8:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 731, - "name": "Literal", - "src": "10208:1:1" - } - ], - "id": 732, - "name": "VariableDeclarationStatement", - "src": "10197:12:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 730, - "type": "uint256", - "value": "cnt" - }, - "id": 733, - "name": "Identifier", - "src": "10211:3:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 84, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 724, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 734, - "name": "Identifier", - "src": "10218:8:1" - } - ], - "id": 735, - "name": "MemberAccess", - "src": "10218:21:1" - } - ], - "id": 736, - "name": "BinaryOperation", - "src": "10211:28:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 730, - "type": "uint256", - "value": "cnt" - }, - "id": 737, - "name": "Identifier", - "src": "10241:3:1" - } - ], - "id": 738, - "name": "UnaryOperation", - "src": "10241:5:1" - } - ], - "id": 739, - "name": "ExpressionStatement", - "src": "10241:5:1" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 94, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 724, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 740, - "name": "Identifier", - "src": "10270:8:1" - } - ], - "id": 741, - "name": "MemberAccess", - "src": "10270:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 730, - "type": "uint256", - "value": "cnt" - }, - "id": 742, - "name": "Identifier", - "src": "10285:3:1" - } - ], - "id": 743, - "name": "IndexAccess", - "src": "10270:19:1" - } - ], - "id": 744, - "name": "UnaryOperation", - "src": "10263:26:1" - } - ], - "id": 745, - "name": "ExpressionStatement", - "src": "10263:26:1" - } - ], - "id": 746, - "name": "Block", - "src": "10248:53:1" - } - ], - "id": 747, - "name": "ForStatement", - "src": "10192:109:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 748, - "name": "Identifier", - "src": "10318:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 720, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 749, - "name": "Identifier", - "src": "10328:11:1" - } - ], - "id": 750, - "name": "IndexAccess", - "src": "10318:22:1" - } - ], - "id": 751, - "name": "UnaryOperation", - "src": "10311:29:1" - } - ], - "id": 752, - "name": "ExpressionStatement", - "src": "10311:29:1" - } - ], - "id": 753, - "name": "Block", - "src": "10120:228:1" - } - ], - "id": 754, - "name": "FunctionDefinition", - "src": "10067:281:1" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "internalVote", - "payable": false, - "scope": 877, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "private" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 876, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 755, - "name": "ElementaryTypeName", - "src": "10898:7:1" - } - ], - "id": 756, - "name": "VariableDeclaration", - "src": "10898:19:1" - }, - { - "attributes": { - "constant": false, - "name": "_voter", - "scope": 876, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 757, - "name": "ElementaryTypeName", - "src": "10919:7:1" - } - ], - "id": 758, - "name": "VariableDeclaration", - "src": "10919:14:1" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 876, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 759, - "name": "ElementaryTypeName", - "src": "10935:4:1" - } - ], - "id": 760, - "name": "VariableDeclaration", - "src": "10935:10:1" - }, - { - "attributes": { - "constant": false, - "name": "_rep", - "scope": 876, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 761, - "name": "ElementaryTypeName", - "src": "10947:4:1" - } - ], - "id": 762, - "name": "VariableDeclaration", - "src": "10947:9:1" - } - ], - "id": 763, - "name": "ParameterList", - "src": "10897:60:1" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 876, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 764, - "name": "ElementaryTypeName", - "src": "10974:4:1" - } - ], - "id": 765, - "name": "VariableDeclaration", - "src": "10974:4:1" - } - ], - "id": 766, - "name": "ParameterList", - "src": "10973:6:1" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 768 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 876, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 101, - "type": "struct AbsoluteVote.Proposal storage pointer" - }, - "id": 767, - "name": "UserDefinedTypeName", - "src": "10991:8:1" - } - ], - "id": 768, - "name": "VariableDeclaration", - "src": "10991:25:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 769, - "name": "Identifier", - "src": "11019:9:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 756, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 770, - "name": "Identifier", - "src": "11029:11:1" - } - ], - "id": 771, - "name": "IndexAccess", - "src": "11019:22:1" - } - ], - "id": 772, - "name": "VariableDeclarationStatement", - "src": "10991:50:1" - }, - { - "attributes": { - "assignments": [ - 774 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 876, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct AbsoluteVote.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 73, - "type": "struct AbsoluteVote.Parameters storage pointer" - }, - "id": 773, - "name": "UserDefinedTypeName", - "src": "11052:10:1" - } - ], - "id": 774, - "name": "VariableDeclaration", - "src": "11052:24:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 143, - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)", - "value": "parameters" - }, - "id": 775, - "name": "Identifier", - "src": "11079:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 88, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 768, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 776, - "name": "Identifier", - "src": "11090:8:1" - } - ], - "id": 777, - "name": "MemberAccess", - "src": "11090:19:1" - } - ], - "id": 778, - "name": "IndexAccess", - "src": "11079:31:1" - } - ], - "id": 779, - "name": "VariableDeclarationStatement", - "src": "11052:58:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 780, - "name": "Identifier", - "src": "11151:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 760, - "type": "uint256", - "value": "_vote" - }, - "id": 781, - "name": "Identifier", - "src": "11159:5:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 84, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 768, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 782, - "name": "Identifier", - "src": "11168:8:1" - } - ], - "id": 783, - "name": "MemberAccess", - "src": "11168:21:1" - } - ], - "id": 784, - "name": "BinaryOperation", - "src": "11159:30:1" - } - ], - "id": 785, - "name": "FunctionCall", - "src": "11151:39:1" - } - ], - "id": 786, - "name": "ExpressionStatement", - "src": "11151:39:1" - }, - { - "attributes": { - "assignments": [ - 788 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "reputation", - "scope": 876, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 787, - "name": "ElementaryTypeName", - "src": "11248:4:1" - } - ], - "id": 788, - "name": "VariableDeclaration", - "src": "11248:15:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "reputationOf", - "referencedDeclaration": 4243, - "type": "function (address) view external returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputationSystem", - "referencedDeclaration": 68, - "type": "contract Reputation" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 774, - "type": "struct AbsoluteVote.Parameters memory", - "value": "params" - }, - "id": 789, - "name": "Identifier", - "src": "11266:6:1" - } - ], - "id": 790, - "name": "MemberAccess", - "src": "11266:23:1" - } - ], - "id": 791, - "name": "MemberAccess", - "src": "11266:36:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 758, - "type": "address", - "value": "_voter" - }, - "id": 792, - "name": "Identifier", - "src": "11303:6:1" - } - ], - "id": 793, - "name": "FunctionCall", - "src": "11266:44:1" - } - ], - "id": 794, - "name": "VariableDeclarationStatement", - "src": "11248:62:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 795, - "name": "Identifier", - "src": "11321:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 788, - "type": "uint256", - "value": "reputation" - }, - "id": 796, - "name": "Identifier", - "src": "11329:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 762, - "type": "uint256", - "value": "_rep" - }, - "id": 797, - "name": "Identifier", - "src": "11343:4:1" - } - ], - "id": 798, - "name": "BinaryOperation", - "src": "11329:18:1" - } - ], - "id": 799, - "name": "FunctionCall", - "src": "11321:27:1" - } - ], - "id": 800, - "name": "ExpressionStatement", - "src": "11321:27:1" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 762, - "type": "uint256", - "value": "_rep" - }, - "id": 801, - "name": "Identifier", - "src": "11363:4:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 802, - "name": "Literal", - "src": "11371:1:1" - } - ], - "id": 803, - "name": "BinaryOperation", - "src": "11363:9:1" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 762, - "type": "uint256", - "value": "_rep" - }, - "id": 804, - "name": "Identifier", - "src": "11389:4:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 788, - "type": "uint256", - "value": "reputation" - }, - "id": 805, - "name": "Identifier", - "src": "11396:10:1" - } - ], - "id": 806, - "name": "Assignment", - "src": "11389:17:1" - } - ], - "id": 807, - "name": "ExpressionStatement", - "src": "11389:17:1" - } - ], - "id": 808, - "name": "Block", - "src": "11374:44:1" - } - ], - "id": 809, - "name": "IfStatement", - "src": "11359:59:1" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputation", - "referencedDeclaration": 77, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voters", - "referencedDeclaration": 98, - "type": "mapping(address => struct AbsoluteVote.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 768, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 810, - "name": "Identifier", - "src": "11500:8:1" - } - ], - "id": 811, - "name": "MemberAccess", - "src": "11500:15:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 758, - "type": "address", - "value": "_voter" - }, - "id": 812, - "name": "Identifier", - "src": "11516:6:1" - } - ], - "id": 813, - "name": "IndexAccess", - "src": "11500:23:1" - } - ], - "id": 814, - "name": "MemberAccess", - "src": "11500:34:1" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 815, - "name": "Literal", - "src": "11538:1:1" - } - ], - "id": 816, - "name": "BinaryOperation", - "src": "11500:39:1" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 718, - "type": "function (bytes32,address)", - "value": "cancelVoteInternal" - }, - "id": 817, - "name": "Identifier", - "src": "11556:18:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 756, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 818, - "name": "Identifier", - "src": "11575:11:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 758, - "type": "address", - "value": "_voter" - }, - "id": 819, - "name": "Identifier", - "src": "11588:6:1" - } - ], - "id": 820, - "name": "FunctionCall", - "src": "11556:39:1" - } - ], - "id": 821, - "name": "ExpressionStatement", - "src": "11556:39:1" - } - ], - "id": 822, - "name": "Block", - "src": "11541:66:1" - } - ], - "id": 823, - "name": "IfStatement", - "src": "11496:111:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 94, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 768, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 824, - "name": "Identifier", - "src": "11648:8:1" - } - ], - "id": 827, - "name": "MemberAccess", - "src": "11648:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 760, - "type": "uint256", - "value": "_vote" - }, - "id": 826, - "name": "Identifier", - "src": "11663:5:1" - } - ], - "id": 828, - "name": "IndexAccess", - "src": "11648:21:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 762, - "type": "uint256", - "value": "_rep" - }, - "id": 829, - "name": "Identifier", - "src": "11672:4:1" - } - ], - "id": 830, - "name": "MemberAccess", - "src": "11672:8:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 94, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 768, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 831, - "name": "Identifier", - "src": "11681:8:1" - } - ], - "id": 832, - "name": "MemberAccess", - "src": "11681:14:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 760, - "type": "uint256", - "value": "_vote" - }, - "id": 833, - "name": "Identifier", - "src": "11696:5:1" - } - ], - "id": 834, - "name": "IndexAccess", - "src": "11681:21:1" - } - ], - "id": 835, - "name": "FunctionCall", - "src": "11672:31:1" - } - ], - "id": 836, - "name": "Assignment", - "src": "11648:55:1" - } - ], - "id": 837, - "name": "ExpressionStatement", - "src": "11648:55:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "totalVotes", - "referencedDeclaration": 90, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 768, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 838, - "name": "Identifier", - "src": "11714:8:1" - } - ], - "id": 840, - "name": "MemberAccess", - "src": "11714:19:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 762, - "type": "uint256", - "value": "_rep" - }, - "id": 841, - "name": "Identifier", - "src": "11736:4:1" - } - ], - "id": 842, - "name": "MemberAccess", - "src": "11736:8:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalVotes", - "referencedDeclaration": 90, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 768, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 843, - "name": "Identifier", - "src": "11745:8:1" - } - ], - "id": 844, - "name": "MemberAccess", - "src": "11745:19:1" - } - ], - "id": 845, - "name": "FunctionCall", - "src": "11736:29:1" - } - ], - "id": 846, - "name": "Assignment", - "src": "11714:51:1" - } - ], - "id": 847, - "name": "ExpressionStatement", - "src": "11714:51:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct AbsoluteVote.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct AbsoluteVote.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voters", - "referencedDeclaration": 98, - "type": "mapping(address => struct AbsoluteVote.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 768, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 848, - "name": "Identifier", - "src": "11776:8:1" - } - ], - "id": 851, - "name": "MemberAccess", - "src": "11776:15:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 758, - "type": "address", - "value": "_voter" - }, - "id": 850, - "name": "Identifier", - "src": "11792:6:1" - } - ], - "id": 852, - "name": "IndexAccess", - "src": "11776:23:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "reputation", - "vote" - ], - "type": "struct AbsoluteVote.Voter memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 78, - "type": "type(struct AbsoluteVote.Voter storage pointer)", - "value": "Voter" - }, - "id": 853, - "name": "Identifier", - "src": "11802:5:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 762, - "type": "uint256", - "value": "_rep" - }, - "id": 854, - "name": "Identifier", - "src": "11835:4:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 760, - "type": "uint256", - "value": "_vote" - }, - "id": 855, - "name": "Identifier", - "src": "11860:5:1" - } - ], - "id": 856, - "name": "FunctionCall", - "src": "11802:75:1" - } - ], - "id": 857, - "name": "Assignment", - "src": "11776:101:1" - } - ], - "id": 858, - "name": "ExpressionStatement", - "src": "11776:101:1" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 133, - "type": "function (bytes32,address,uint256,uint256,bool)", - "value": "LogVoteProposal" - }, - "id": 859, - "name": "Identifier", - "src": "11907:15:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 756, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 860, - "name": "Identifier", - "src": "11923:11:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 758, - "type": "address", - "value": "_voter" - }, - "id": 861, - "name": "Identifier", - "src": "11936:6:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 760, - "type": "uint256", - "value": "_vote" - }, - "id": 862, - "name": "Identifier", - "src": "11944:5:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 788, - "type": "uint256", - "value": "reputation" - }, - "id": 863, - "name": "Identifier", - "src": "11951:10:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 758, - "type": "address", - "value": "_voter" - }, - "id": 864, - "name": "Identifier", - "src": "11964:6:1" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 865, - "name": "Identifier", - "src": "11974:3:1" - } - ], - "id": 866, - "name": "MemberAccess", - "src": "11974:10:1" - } - ], - "id": 867, - "name": "BinaryOperation", - "src": "11964:20:1" - } - ], - "id": 868, - "name": "TupleExpression", - "src": "11963:22:1" - } - ], - "id": 869, - "name": "FunctionCall", - "src": "11907:79:1" - } - ], - "id": 870, - "name": "ExpressionStatement", - "src": "11907:79:1" - }, - { - "attributes": { - "functionReturnParameters": 766 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 565 - ], - "referencedDeclaration": 565, - "type": "function (bytes32) returns (bool)", - "value": "execute" - }, - "id": 871, - "name": "Identifier", - "src": "12064:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 756, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 872, - "name": "Identifier", - "src": "12072:11:1" - } - ], - "id": 873, - "name": "FunctionCall", - "src": "12064:20:1" - } - ], - "id": 874, - "name": "Return", - "src": "12057:27:1" - } - ], - "id": 875, - "name": "Block", - "src": "10980:1112:1" - } - ], - "id": 876, - "name": "FunctionDefinition", - "src": "10876:1216:1" - } - ], - "id": 877, - "name": "ContractDefinition", - "src": "106:11989:1" - } - ], - "id": 878, - "name": "SourceUnit", - "src": "0:12097:1" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": { - "42": { - "events": {}, - "links": {}, - "address": "0xaa32b39711341ba2341f24b58dd4a7ff287f3548" - }, - "1512051714758": { - "events": {}, - "links": {}, - "address": "0xa7d255a853a15b642f68fbea8efb1f2d71b4a205" - } - }, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.925Z" -} \ No newline at end of file diff --git a/contracts/ActionInterface.json b/contracts/ActionInterface.json deleted file mode 100644 index 8b929fda2..000000000 --- a/contracts/ActionInterface.json +++ /dev/null @@ -1,3976 +0,0 @@ -{ - "contractName": "ActionInterface", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_params", - "type": "bytes32[]" - } - ], - "name": "action", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./Controller.sol\";\r\nimport \"./Reputation.sol\";\r\nimport \"./DAOToken.sol\";\r\nimport \"zeppelin-solidity/contracts/ownership/Ownable.sol\";\r\nimport \"zeppelin-solidity/contracts/token/StandardToken.sol\";\r\n\r\n\r\ncontract ActionInterface {\r\n function action(bytes32[] _params) public returns(bool);\r\n}\r\n\r\n\r\n/**\r\n * @title An Avatar holds tokens, reputation and ether for a controller\r\n */\r\ncontract Avatar is Ownable {\r\n bytes32 public orgName;\r\n DAOToken public nativeToken;\r\n Reputation public nativeReputation;\r\n\r\n event GenericAction(address indexed _action, bytes32[] _params);\r\n event SendEther(uint _amountInWei, address indexed _to);\r\n event ExternalTokenTransfer(address indexed _externalToken, address indexed _to, uint _value);\r\n event ExternalTokenTransferFrom(address indexed _externalToken, address _from, address _to, uint _value);\r\n event ExternalTokenIncreaseApproval(StandardToken indexed _externalToken, address _spender, uint _addedValue);\r\n event ExternalTokenDecreaseApproval(StandardToken indexed _externalToken, address _spender, uint _subtractedValue);\r\n event ReceiveEther(address indexed _sender, uint _value);\r\n\r\n /**\r\n * @dev the constructor takes organization name, native token and reputation system\r\n and creates an avatar for a controller\r\n */\r\n function Avatar(bytes32 _orgName, DAOToken _nativeToken, Reputation _nativeReputation) public {\r\n orgName = _orgName;\r\n nativeToken = _nativeToken;\r\n nativeReputation = _nativeReputation;\r\n }\r\n\r\n /**\r\n * @dev enables an avatar to receive ethers\r\n */\r\n function() public payable {\r\n ReceiveEther(msg.sender, msg.value);\r\n }\r\n\r\n /**\r\n * @dev call an action function on an ActionInterface.\r\n * This function use deligatecall and might expose the organization to security\r\n * risk. Use this function only if you really knows what you are doing.\r\n * @param _action the address of the contract to call.\r\n * @param _params the params for the call.\r\n * @return bool which represents success\r\n */\r\n function genericAction(address _action, bytes32[] _params)\r\n public onlyOwner returns(bool)\r\n {\r\n GenericAction(_action, _params);\r\n\r\n return _action.delegatecall(bytes4(keccak256(\"action(bytes32[])\")),\r\n uint256(32),// length of length of the array\r\n uint256(_params.length), // length of the array\r\n _params); // array itself);\r\n }\r\n\r\n /**\r\n * @dev send ethers from the avatar's wallet\r\n * @param _amountInWei amount to send in Wei units\r\n * @param _to send the ethers to this address\r\n * @return bool which represents success\r\n */\r\n function sendEther(uint _amountInWei, address _to) public onlyOwner returns(bool) {\r\n _to.transfer(_amountInWei);\r\n SendEther(_amountInWei, _to);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev external token transfer\r\n * @param _externalToken the token contract\r\n * @param _to the destination address\r\n * @param _value the amount of tokens to transfer\r\n * @return bool which represents success\r\n */\r\n function externalTokenTransfer(StandardToken _externalToken, address _to, uint _value)\r\n public onlyOwner returns(bool)\r\n {\r\n _externalToken.transfer(_to, _value);\r\n ExternalTokenTransfer(_externalToken, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev external token transfer from a specific account\r\n * @param _externalToken the token contract\r\n * @param _from the account to spend token from\r\n * @param _to the destination address\r\n * @param _value the amount of tokens to transfer\r\n * @return bool which represents success\r\n */\r\n function externalTokenTransferFrom(\r\n StandardToken _externalToken,\r\n address _from,\r\n address _to,\r\n uint _value\r\n )\r\n public onlyOwner returns(bool)\r\n {\r\n _externalToken.transferFrom(_from, _to, _value);\r\n ExternalTokenTransferFrom(_externalToken, _from, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev increase approval for the spender address to spend a specified amount of tokens\r\n * on behalf of msg.sender.\r\n * @param _externalToken the address of the Token Contract\r\n * @param _spender address\r\n * @param _addedValue the amount of ether (in Wei) which the approval is refering to.\r\n * @return bool which represents a success\r\n */\r\n function externalTokenIncreaseApproval(StandardToken _externalToken, address _spender, uint _addedValue)\r\n public onlyOwner returns(bool)\r\n {\r\n _externalToken.increaseApproval(_spender, _addedValue);\r\n ExternalTokenIncreaseApproval(_externalToken, _spender, _addedValue);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev decrease approval for the spender address to spend a specified amount of tokens\r\n * on behalf of msg.sender.\r\n * @param _externalToken the address of the Token Contract\r\n * @param _spender address\r\n * @param _subtractedValue the amount of ether (in Wei) which the approval is refering to.\r\n * @return bool which represents a success\r\n */\r\n function externalTokenDecreaseApproval(StandardToken _externalToken, address _spender, uint _subtractedValue )\r\n public onlyOwner returns(bool)\r\n {\r\n _externalToken.decreaseApproval(_spender, _subtractedValue);\r\n ExternalTokenDecreaseApproval(_externalToken,_spender, _subtractedValue);\r\n return true;\r\n }\r\n\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\controller\\Avatar.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Avatar.sol", - "exportedSymbols": { - "ActionInterface": [ - 2797 - ], - "Avatar": [ - 3072 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 2783, - "name": "PragmaDirective", - "src": "0:24:5" - }, - { - "attributes": { - "SourceUnit": 4158, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Controller.sol", - "file": "./Controller.sol", - "scope": 3073, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2784, - "name": "ImportDirective", - "src": "28:26:5" - }, - { - "attributes": { - "SourceUnit": 4358, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Reputation.sol", - "file": "./Reputation.sol", - "scope": 3073, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2785, - "name": "ImportDirective", - "src": "56:26:5" - }, - { - "attributes": { - "SourceUnit": 4193, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/DAOToken.sol", - "file": "./DAOToken.sol", - "scope": 3073, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2786, - "name": "ImportDirective", - "src": "84:24:5" - }, - { - "attributes": { - "SourceUnit": 9141, - "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "file": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "scope": 3073, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2787, - "name": "ImportDirective", - "src": "110:59:5" - }, - { - "attributes": { - "SourceUnit": 9701, - "absolutePath": "zeppelin-solidity/contracts/token/StandardToken.sol", - "file": "zeppelin-solidity/contracts/token/StandardToken.sol", - "scope": 3073, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2788, - "name": "ImportDirective", - "src": "171:61:5" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 2797 - ], - "name": "ActionInterface", - "scope": 3073 - }, - "children": [ - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "action", - "payable": false, - "scope": 2797, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 2796, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2789, - "name": "ElementaryTypeName", - "src": "286:7:5" - } - ], - "id": 2790, - "name": "ArrayTypeName", - "src": "286:9:5" - } - ], - "id": 2791, - "name": "VariableDeclaration", - "src": "286:17:5" - } - ], - "id": 2792, - "name": "ParameterList", - "src": "285:19:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2796, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2793, - "name": "ElementaryTypeName", - "src": "320:4:5" - } - ], - "id": 2794, - "name": "VariableDeclaration", - "src": "320:4:5" - } - ], - "id": 2795, - "name": "ParameterList", - "src": "319:6:5" - } - ], - "id": 2796, - "name": "FunctionDefinition", - "src": "270:56:5" - } - ], - "id": 2797, - "name": "ContractDefinition", - "src": "238:91:5" - }, - { - "attributes": { - "contractDependencies": [ - 9140 - ], - "contractKind": "contract", - "documentation": "@title An Avatar holds tokens, reputation and ether for a controller\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 3072, - 9140 - ], - "name": "Avatar", - "scope": 3073 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Ownable", - "referencedDeclaration": 9140, - "type": "contract Ownable" - }, - "id": 2798, - "name": "UserDefinedTypeName", - "src": "437:7:5" - } - ], - "id": 2799, - "name": "InheritanceSpecifier", - "src": "437:7:5" - }, - { - "attributes": { - "constant": false, - "name": "orgName", - "scope": 3072, - "stateVariable": true, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2800, - "name": "ElementaryTypeName", - "src": "452:7:5" - } - ], - "id": 2801, - "name": "VariableDeclaration", - "src": "452:22:5" - }, - { - "attributes": { - "constant": false, - "name": "nativeToken", - "scope": 3072, - "stateVariable": true, - "storageLocation": "default", - "type": "contract DAOToken", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "DAOToken", - "referencedDeclaration": 4192, - "type": "contract DAOToken" - }, - "id": 2802, - "name": "UserDefinedTypeName", - "src": "481:8:5" - } - ], - "id": 2803, - "name": "VariableDeclaration", - "src": "481:27:5" - }, - { - "attributes": { - "constant": false, - "name": "nativeReputation", - "scope": 3072, - "stateVariable": true, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 2804, - "name": "UserDefinedTypeName", - "src": "515:10:5" - } - ], - "id": 2805, - "name": "VariableDeclaration", - "src": "515:34:5" - }, - { - "attributes": { - "anonymous": false, - "name": "GenericAction" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_action", - "scope": 2812, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2806, - "name": "ElementaryTypeName", - "src": "578:7:5" - } - ], - "id": 2807, - "name": "VariableDeclaration", - "src": "578:23:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_params", - "scope": 2812, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2808, - "name": "ElementaryTypeName", - "src": "603:7:5" - } - ], - "id": 2809, - "name": "ArrayTypeName", - "src": "603:9:5" - } - ], - "id": 2810, - "name": "VariableDeclaration", - "src": "603:17:5" - } - ], - "id": 2811, - "name": "ParameterList", - "src": "577:44:5" - } - ], - "id": 2812, - "name": "EventDefinition", - "src": "558:64:5" - }, - { - "attributes": { - "anonymous": false, - "name": "SendEther" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_amountInWei", - "scope": 2818, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2813, - "name": "ElementaryTypeName", - "src": "644:4:5" - } - ], - "id": 2814, - "name": "VariableDeclaration", - "src": "644:17:5" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_to", - "scope": 2818, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2815, - "name": "ElementaryTypeName", - "src": "663:7:5" - } - ], - "id": 2816, - "name": "VariableDeclaration", - "src": "663:19:5" - } - ], - "id": 2817, - "name": "ParameterList", - "src": "643:40:5" - } - ], - "id": 2818, - "name": "EventDefinition", - "src": "628:56:5" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenTransfer" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 2826, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2819, - "name": "ElementaryTypeName", - "src": "718:7:5" - } - ], - "id": 2820, - "name": "VariableDeclaration", - "src": "718:30:5" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_to", - "scope": 2826, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2821, - "name": "ElementaryTypeName", - "src": "750:7:5" - } - ], - "id": 2822, - "name": "VariableDeclaration", - "src": "750:19:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_value", - "scope": 2826, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2823, - "name": "ElementaryTypeName", - "src": "771:4:5" - } - ], - "id": 2824, - "name": "VariableDeclaration", - "src": "771:11:5" - } - ], - "id": 2825, - "name": "ParameterList", - "src": "717:66:5" - } - ], - "id": 2826, - "name": "EventDefinition", - "src": "690:94:5" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenTransferFrom" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 2836, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2827, - "name": "ElementaryTypeName", - "src": "822:7:5" - } - ], - "id": 2828, - "name": "VariableDeclaration", - "src": "822:30:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_from", - "scope": 2836, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2829, - "name": "ElementaryTypeName", - "src": "854:7:5" - } - ], - "id": 2830, - "name": "VariableDeclaration", - "src": "854:13:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_to", - "scope": 2836, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2831, - "name": "ElementaryTypeName", - "src": "869:7:5" - } - ], - "id": 2832, - "name": "VariableDeclaration", - "src": "869:11:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_value", - "scope": 2836, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2833, - "name": "ElementaryTypeName", - "src": "882:4:5" - } - ], - "id": 2834, - "name": "VariableDeclaration", - "src": "882:11:5" - } - ], - "id": 2835, - "name": "ParameterList", - "src": "821:73:5" - } - ], - "id": 2836, - "name": "EventDefinition", - "src": "790:105:5" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenIncreaseApproval" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 2844, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 2837, - "name": "UserDefinedTypeName", - "src": "937:13:5" - } - ], - "id": 2838, - "name": "VariableDeclaration", - "src": "937:36:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_spender", - "scope": 2844, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2839, - "name": "ElementaryTypeName", - "src": "975:7:5" - } - ], - "id": 2840, - "name": "VariableDeclaration", - "src": "975:16:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_addedValue", - "scope": 2844, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2841, - "name": "ElementaryTypeName", - "src": "993:4:5" - } - ], - "id": 2842, - "name": "VariableDeclaration", - "src": "993:16:5" - } - ], - "id": 2843, - "name": "ParameterList", - "src": "936:74:5" - } - ], - "id": 2844, - "name": "EventDefinition", - "src": "901:110:5" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenDecreaseApproval" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 2852, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 2845, - "name": "UserDefinedTypeName", - "src": "1053:13:5" - } - ], - "id": 2846, - "name": "VariableDeclaration", - "src": "1053:36:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_spender", - "scope": 2852, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2847, - "name": "ElementaryTypeName", - "src": "1091:7:5" - } - ], - "id": 2848, - "name": "VariableDeclaration", - "src": "1091:16:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_subtractedValue", - "scope": 2852, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2849, - "name": "ElementaryTypeName", - "src": "1109:4:5" - } - ], - "id": 2850, - "name": "VariableDeclaration", - "src": "1109:21:5" - } - ], - "id": 2851, - "name": "ParameterList", - "src": "1052:79:5" - } - ], - "id": 2852, - "name": "EventDefinition", - "src": "1017:115:5" - }, - { - "attributes": { - "anonymous": false, - "name": "ReceiveEther" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 2858, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2853, - "name": "ElementaryTypeName", - "src": "1157:7:5" - } - ], - "id": 2854, - "name": "VariableDeclaration", - "src": "1157:23:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_value", - "scope": 2858, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2855, - "name": "ElementaryTypeName", - "src": "1182:4:5" - } - ], - "id": 2856, - "name": "VariableDeclaration", - "src": "1182:11:5" - } - ], - "id": 2857, - "name": "ParameterList", - "src": "1156:38:5" - } - ], - "id": 2858, - "name": "EventDefinition", - "src": "1138:57:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "Avatar", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_orgName", - "scope": 2880, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2859, - "name": "ElementaryTypeName", - "src": "1368:7:5" - } - ], - "id": 2860, - "name": "VariableDeclaration", - "src": "1368:16:5" - }, - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 2880, - "stateVariable": false, - "storageLocation": "default", - "type": "contract DAOToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "DAOToken", - "referencedDeclaration": 4192, - "type": "contract DAOToken" - }, - "id": 2861, - "name": "UserDefinedTypeName", - "src": "1386:8:5" - } - ], - "id": 2862, - "name": "VariableDeclaration", - "src": "1386:21:5" - }, - { - "attributes": { - "constant": false, - "name": "_nativeReputation", - "scope": 2880, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 2863, - "name": "UserDefinedTypeName", - "src": "1409:10:5" - } - ], - "id": 2864, - "name": "VariableDeclaration", - "src": "1409:28:5" - } - ], - "id": 2865, - "name": "ParameterList", - "src": "1367:71:5" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 2866, - "name": "ParameterList", - "src": "1446:0:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2801, - "type": "bytes32", - "value": "orgName" - }, - "id": 2867, - "name": "Identifier", - "src": "1457:7:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2860, - "type": "bytes32", - "value": "_orgName" - }, - "id": 2868, - "name": "Identifier", - "src": "1467:8:5" - } - ], - "id": 2869, - "name": "Assignment", - "src": "1457:18:5" - } - ], - "id": 2870, - "name": "ExpressionStatement", - "src": "1457:18:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract DAOToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2803, - "type": "contract DAOToken", - "value": "nativeToken" - }, - "id": 2871, - "name": "Identifier", - "src": "1486:11:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2862, - "type": "contract DAOToken", - "value": "_nativeToken" - }, - "id": 2872, - "name": "Identifier", - "src": "1500:12:5" - } - ], - "id": 2873, - "name": "Assignment", - "src": "1486:26:5" - } - ], - "id": 2874, - "name": "ExpressionStatement", - "src": "1486:26:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract Reputation" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2805, - "type": "contract Reputation", - "value": "nativeReputation" - }, - "id": 2875, - "name": "Identifier", - "src": "1523:16:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2864, - "type": "contract Reputation", - "value": "_nativeReputation" - }, - "id": 2876, - "name": "Identifier", - "src": "1542:17:5" - } - ], - "id": 2877, - "name": "Assignment", - "src": "1523:36:5" - } - ], - "id": 2878, - "name": "ExpressionStatement", - "src": "1523:36:5" - } - ], - "id": 2879, - "name": "Block", - "src": "1446:121:5" - } - ], - "id": 2880, - "name": "FunctionDefinition", - "src": "1352:215:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "", - "payable": true, - "scope": 3072, - "stateMutability": "payable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 2881, - "name": "ParameterList", - "src": "1648:2:5" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 2882, - "name": "ParameterList", - "src": "1666:0:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2858, - "type": "function (address,uint256)", - "value": "ReceiveEther" - }, - "id": 2883, - "name": "Identifier", - "src": "1677:12:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 2884, - "name": "Identifier", - "src": "1690:3:5" - } - ], - "id": 2885, - "name": "MemberAccess", - "src": "1690:10:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 2886, - "name": "Identifier", - "src": "1702:3:5" - } - ], - "id": 2887, - "name": "MemberAccess", - "src": "1702:9:5" - } - ], - "id": 2888, - "name": "FunctionCall", - "src": "1677:35:5" - } - ], - "id": 2889, - "name": "ExpressionStatement", - "src": "1677:35:5" - } - ], - "id": 2890, - "name": "Block", - "src": "1666:54:5" - } - ], - "id": 2891, - "name": "FunctionDefinition", - "src": "1640:80:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "genericAction", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_action", - "scope": 2926, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2892, - "name": "ElementaryTypeName", - "src": "2138:7:5" - } - ], - "id": 2893, - "name": "VariableDeclaration", - "src": "2138:15:5" - }, - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 2926, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2894, - "name": "ElementaryTypeName", - "src": "2155:7:5" - } - ], - "id": 2895, - "name": "ArrayTypeName", - "src": "2155:9:5" - } - ], - "id": 2896, - "name": "VariableDeclaration", - "src": "2155:17:5" - } - ], - "id": 2897, - "name": "ParameterList", - "src": "2137:36:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2926, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2900, - "name": "ElementaryTypeName", - "src": "2204:4:5" - } - ], - "id": 2901, - "name": "VariableDeclaration", - "src": "2204:4:5" - } - ], - "id": 2902, - "name": "ParameterList", - "src": "2203:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 2898, - "name": "Identifier", - "src": "2186:9:5" - } - ], - "id": 2899, - "name": "ModifierInvocation", - "src": "2186:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2812, - "type": "function (address,bytes32[] memory)", - "value": "GenericAction" - }, - "id": 2903, - "name": "Identifier", - "src": "2226:13:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2893, - "type": "address", - "value": "_action" - }, - "id": 2904, - "name": "Identifier", - "src": "2240:7:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2896, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 2905, - "name": "Identifier", - "src": "2249:7:5" - } - ], - "id": 2906, - "name": "FunctionCall", - "src": "2226:31:5" - } - ], - "id": 2907, - "name": "ExpressionStatement", - "src": "2226:31:5" - }, - { - "attributes": { - "functionReturnParameters": 2902 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "delegatecall", - "referencedDeclaration": null, - "type": "function () returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2893, - "type": "address", - "value": "_action" - }, - "id": 2908, - "name": "Identifier", - "src": "2277:7:5" - } - ], - "id": 2909, - "name": "MemberAccess", - "src": "2277:20:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 2910, - "name": "ElementaryTypeNameExpression", - "src": "2298:6:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7ff4b6301c72901450252ee5e8584376c615d5c87d4c0b2d9dafc6024e2589a0", - "typeString": "literal_string \"action(bytes32[])\"" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 2911, - "name": "Identifier", - "src": "2305:9:5" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "616374696f6e28627974657333325b5d29", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"action(bytes32[])\"", - "value": "action(bytes32[])" - }, - "id": 2912, - "name": "Literal", - "src": "2315:19:5" - } - ], - "id": 2913, - "name": "FunctionCall", - "src": "2305:30:5" - } - ], - "id": 2914, - "name": "FunctionCall", - "src": "2298:38:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(uint256)", - "value": "uint256" - }, - "id": 2915, - "name": "ElementaryTypeNameExpression", - "src": "2347:7:5" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3332", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 32", - "value": "32" - }, - "id": 2916, - "name": "Literal", - "src": "2355:2:5" - } - ], - "id": 2917, - "name": "FunctionCall", - "src": "2347:11:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(uint256)", - "value": "uint256" - }, - "id": 2918, - "name": "ElementaryTypeNameExpression", - "src": "2401:7:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2896, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 2919, - "name": "Identifier", - "src": "2409:7:5" - } - ], - "id": 2920, - "name": "MemberAccess", - "src": "2409:14:5" - } - ], - "id": 2921, - "name": "FunctionCall", - "src": "2401:23:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2896, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 2922, - "name": "Identifier", - "src": "2458:7:5" - } - ], - "id": 2923, - "name": "FunctionCall", - "src": "2277:189:5" - } - ], - "id": 2924, - "name": "Return", - "src": "2270:196:5" - } - ], - "id": 2925, - "name": "Block", - "src": "2215:293:5" - } - ], - "id": 2926, - "name": "FunctionDefinition", - "src": "2115:393:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "sendEther", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_amountInWei", - "scope": 2951, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2927, - "name": "ElementaryTypeName", - "src": "2751:4:5" - } - ], - "id": 2928, - "name": "VariableDeclaration", - "src": "2751:17:5" - }, - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 2951, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2929, - "name": "ElementaryTypeName", - "src": "2770:7:5" - } - ], - "id": 2930, - "name": "VariableDeclaration", - "src": "2770:11:5" - } - ], - "id": 2931, - "name": "ParameterList", - "src": "2750:32:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2951, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2934, - "name": "ElementaryTypeName", - "src": "2808:4:5" - } - ], - "id": 2935, - "name": "VariableDeclaration", - "src": "2808:4:5" - } - ], - "id": 2936, - "name": "ParameterList", - "src": "2807:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 2932, - "name": "Identifier", - "src": "2790:9:5" - } - ], - "id": 2933, - "name": "ModifierInvocation", - "src": "2790:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transfer", - "referencedDeclaration": null, - "type": "function (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2930, - "type": "address", - "value": "_to" - }, - "id": 2937, - "name": "Identifier", - "src": "2825:3:5" - } - ], - "id": 2939, - "name": "MemberAccess", - "src": "2825:12:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2928, - "type": "uint256", - "value": "_amountInWei" - }, - "id": 2940, - "name": "Identifier", - "src": "2838:12:5" - } - ], - "id": 2941, - "name": "FunctionCall", - "src": "2825:26:5" - } - ], - "id": 2942, - "name": "ExpressionStatement", - "src": "2825:26:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2818, - "type": "function (uint256,address)", - "value": "SendEther" - }, - "id": 2943, - "name": "Identifier", - "src": "2862:9:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2928, - "type": "uint256", - "value": "_amountInWei" - }, - "id": 2944, - "name": "Identifier", - "src": "2872:12:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2930, - "type": "address", - "value": "_to" - }, - "id": 2945, - "name": "Identifier", - "src": "2886:3:5" - } - ], - "id": 2946, - "name": "FunctionCall", - "src": "2862:28:5" - } - ], - "id": 2947, - "name": "ExpressionStatement", - "src": "2862:28:5" - }, - { - "attributes": { - "functionReturnParameters": 2936 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 2948, - "name": "Literal", - "src": "2908:4:5" - } - ], - "id": 2949, - "name": "Return", - "src": "2901:11:5" - } - ], - "id": 2950, - "name": "Block", - "src": "2814:106:5" - } - ], - "id": 2951, - "name": "FunctionDefinition", - "src": "2732:188:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenTransfer", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 2980, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 2952, - "name": "UserDefinedTypeName", - "src": "3201:13:5" - } - ], - "id": 2953, - "name": "VariableDeclaration", - "src": "3201:28:5" - }, - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 2980, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2954, - "name": "ElementaryTypeName", - "src": "3231:7:5" - } - ], - "id": 2955, - "name": "VariableDeclaration", - "src": "3231:11:5" - }, - { - "attributes": { - "constant": false, - "name": "_value", - "scope": 2980, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2956, - "name": "ElementaryTypeName", - "src": "3244:4:5" - } - ], - "id": 2957, - "name": "VariableDeclaration", - "src": "3244:11:5" - } - ], - "id": 2958, - "name": "ParameterList", - "src": "3200:56:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2980, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2961, - "name": "ElementaryTypeName", - "src": "3287:4:5" - } - ], - "id": 2962, - "name": "VariableDeclaration", - "src": "3287:4:5" - } - ], - "id": 2963, - "name": "ParameterList", - "src": "3286:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 2959, - "name": "Identifier", - "src": "3269:9:5" - } - ], - "id": 2960, - "name": "ModifierInvocation", - "src": "3269:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transfer", - "referencedDeclaration": 9213, - "type": "function (address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2953, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 2964, - "name": "Identifier", - "src": "3309:14:5" - } - ], - "id": 2966, - "name": "MemberAccess", - "src": "3309:23:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2955, - "type": "address", - "value": "_to" - }, - "id": 2967, - "name": "Identifier", - "src": "3333:3:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2957, - "type": "uint256", - "value": "_value" - }, - "id": 2968, - "name": "Identifier", - "src": "3338:6:5" - } - ], - "id": 2969, - "name": "FunctionCall", - "src": "3309:36:5" - } - ], - "id": 2970, - "name": "ExpressionStatement", - "src": "3309:36:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2826, - "type": "function (address,address,uint256)", - "value": "ExternalTokenTransfer" - }, - "id": 2971, - "name": "Identifier", - "src": "3356:21:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2953, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 2972, - "name": "Identifier", - "src": "3378:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2955, - "type": "address", - "value": "_to" - }, - "id": 2973, - "name": "Identifier", - "src": "3394:3:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2957, - "type": "uint256", - "value": "_value" - }, - "id": 2974, - "name": "Identifier", - "src": "3399:6:5" - } - ], - "id": 2975, - "name": "FunctionCall", - "src": "3356:50:5" - } - ], - "id": 2976, - "name": "ExpressionStatement", - "src": "3356:50:5" - }, - { - "attributes": { - "functionReturnParameters": 2963 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 2977, - "name": "Literal", - "src": "3424:4:5" - } - ], - "id": 2978, - "name": "Return", - "src": "3417:11:5" - } - ], - "id": 2979, - "name": "Block", - "src": "3298:138:5" - } - ], - "id": 2980, - "name": "FunctionDefinition", - "src": "3170:266:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenTransferFrom", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 3013, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 2981, - "name": "UserDefinedTypeName", - "src": "3807:13:5" - } - ], - "id": 2982, - "name": "VariableDeclaration", - "src": "3807:28:5" - }, - { - "attributes": { - "constant": false, - "name": "_from", - "scope": 3013, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2983, - "name": "ElementaryTypeName", - "src": "3846:7:5" - } - ], - "id": 2984, - "name": "VariableDeclaration", - "src": "3846:13:5" - }, - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 3013, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2985, - "name": "ElementaryTypeName", - "src": "3870:7:5" - } - ], - "id": 2986, - "name": "VariableDeclaration", - "src": "3870:11:5" - }, - { - "attributes": { - "constant": false, - "name": "_value", - "scope": 3013, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2987, - "name": "ElementaryTypeName", - "src": "3892:4:5" - } - ], - "id": 2988, - "name": "VariableDeclaration", - "src": "3892:11:5" - } - ], - "id": 2989, - "name": "ParameterList", - "src": "3796:114:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3013, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2992, - "name": "ElementaryTypeName", - "src": "3941:4:5" - } - ], - "id": 2993, - "name": "VariableDeclaration", - "src": "3941:4:5" - } - ], - "id": 2994, - "name": "ParameterList", - "src": "3940:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 2990, - "name": "Identifier", - "src": "3923:9:5" - } - ], - "id": 2991, - "name": "ModifierInvocation", - "src": "3923:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferFrom", - "referencedDeclaration": 9554, - "type": "function (address,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2982, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 2995, - "name": "Identifier", - "src": "3963:14:5" - } - ], - "id": 2997, - "name": "MemberAccess", - "src": "3963:27:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2984, - "type": "address", - "value": "_from" - }, - "id": 2998, - "name": "Identifier", - "src": "3991:5:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2986, - "type": "address", - "value": "_to" - }, - "id": 2999, - "name": "Identifier", - "src": "3998:3:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2988, - "type": "uint256", - "value": "_value" - }, - "id": 3000, - "name": "Identifier", - "src": "4003:6:5" - } - ], - "id": 3001, - "name": "FunctionCall", - "src": "3963:47:5" - } - ], - "id": 3002, - "name": "ExpressionStatement", - "src": "3963:47:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2836, - "type": "function (address,address,address,uint256)", - "value": "ExternalTokenTransferFrom" - }, - "id": 3003, - "name": "Identifier", - "src": "4021:25:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2982, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 3004, - "name": "Identifier", - "src": "4047:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2984, - "type": "address", - "value": "_from" - }, - "id": 3005, - "name": "Identifier", - "src": "4063:5:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2986, - "type": "address", - "value": "_to" - }, - "id": 3006, - "name": "Identifier", - "src": "4070:3:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2988, - "type": "uint256", - "value": "_value" - }, - "id": 3007, - "name": "Identifier", - "src": "4075:6:5" - } - ], - "id": 3008, - "name": "FunctionCall", - "src": "4021:61:5" - } - ], - "id": 3009, - "name": "ExpressionStatement", - "src": "4021:61:5" - }, - { - "attributes": { - "functionReturnParameters": 2994 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3010, - "name": "Literal", - "src": "4100:4:5" - } - ], - "id": 3011, - "name": "Return", - "src": "4093:11:5" - } - ], - "id": 3012, - "name": "Block", - "src": "3952:160:5" - } - ], - "id": 3013, - "name": "FunctionDefinition", - "src": "3762:350:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenIncreaseApproval", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 3042, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 3014, - "name": "UserDefinedTypeName", - "src": "4536:13:5" - } - ], - "id": 3015, - "name": "VariableDeclaration", - "src": "4536:28:5" - }, - { - "attributes": { - "constant": false, - "name": "_spender", - "scope": 3042, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3016, - "name": "ElementaryTypeName", - "src": "4566:7:5" - } - ], - "id": 3017, - "name": "VariableDeclaration", - "src": "4566:16:5" - }, - { - "attributes": { - "constant": false, - "name": "_addedValue", - "scope": 3042, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3018, - "name": "ElementaryTypeName", - "src": "4584:4:5" - } - ], - "id": 3019, - "name": "VariableDeclaration", - "src": "4584:16:5" - } - ], - "id": 3020, - "name": "ParameterList", - "src": "4535:66:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3042, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3023, - "name": "ElementaryTypeName", - "src": "4632:4:5" - } - ], - "id": 3024, - "name": "VariableDeclaration", - "src": "4632:4:5" - } - ], - "id": 3025, - "name": "ParameterList", - "src": "4631:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 3021, - "name": "Identifier", - "src": "4614:9:5" - } - ], - "id": 3022, - "name": "ModifierInvocation", - "src": "4614:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "increaseApproval", - "referencedDeclaration": 9639, - "type": "function (address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3015, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 3026, - "name": "Identifier", - "src": "4654:14:5" - } - ], - "id": 3028, - "name": "MemberAccess", - "src": "4654:31:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3017, - "type": "address", - "value": "_spender" - }, - "id": 3029, - "name": "Identifier", - "src": "4686:8:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3019, - "type": "uint256", - "value": "_addedValue" - }, - "id": 3030, - "name": "Identifier", - "src": "4696:11:5" - } - ], - "id": 3031, - "name": "FunctionCall", - "src": "4654:54:5" - } - ], - "id": 3032, - "name": "ExpressionStatement", - "src": "4654:54:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2844, - "type": "function (contract StandardToken,address,uint256)", - "value": "ExternalTokenIncreaseApproval" - }, - "id": 3033, - "name": "Identifier", - "src": "4719:29:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3015, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 3034, - "name": "Identifier", - "src": "4749:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3017, - "type": "address", - "value": "_spender" - }, - "id": 3035, - "name": "Identifier", - "src": "4765:8:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3019, - "type": "uint256", - "value": "_addedValue" - }, - "id": 3036, - "name": "Identifier", - "src": "4775:11:5" - } - ], - "id": 3037, - "name": "FunctionCall", - "src": "4719:68:5" - } - ], - "id": 3038, - "name": "ExpressionStatement", - "src": "4719:68:5" - }, - { - "attributes": { - "functionReturnParameters": 3025 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3039, - "name": "Literal", - "src": "4805:4:5" - } - ], - "id": 3040, - "name": "Return", - "src": "4798:11:5" - } - ], - "id": 3041, - "name": "Block", - "src": "4643:174:5" - } - ], - "id": 3042, - "name": "FunctionDefinition", - "src": "4497:320:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenDecreaseApproval", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 3071, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 3043, - "name": "UserDefinedTypeName", - "src": "5246:13:5" - } - ], - "id": 3044, - "name": "VariableDeclaration", - "src": "5246:28:5" - }, - { - "attributes": { - "constant": false, - "name": "_spender", - "scope": 3071, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3045, - "name": "ElementaryTypeName", - "src": "5276:7:5" - } - ], - "id": 3046, - "name": "VariableDeclaration", - "src": "5276:16:5" - }, - { - "attributes": { - "constant": false, - "name": "_subtractedValue", - "scope": 3071, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3047, - "name": "ElementaryTypeName", - "src": "5294:4:5" - } - ], - "id": 3048, - "name": "VariableDeclaration", - "src": "5294:21:5" - } - ], - "id": 3049, - "name": "ParameterList", - "src": "5245:72:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3071, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3052, - "name": "ElementaryTypeName", - "src": "5348:4:5" - } - ], - "id": 3053, - "name": "VariableDeclaration", - "src": "5348:4:5" - } - ], - "id": 3054, - "name": "ParameterList", - "src": "5347:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 3050, - "name": "Identifier", - "src": "5330:9:5" - } - ], - "id": 3051, - "name": "ModifierInvocation", - "src": "5330:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "decreaseApproval", - "referencedDeclaration": 9699, - "type": "function (address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3044, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 3055, - "name": "Identifier", - "src": "5370:14:5" - } - ], - "id": 3057, - "name": "MemberAccess", - "src": "5370:31:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3046, - "type": "address", - "value": "_spender" - }, - "id": 3058, - "name": "Identifier", - "src": "5402:8:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3048, - "type": "uint256", - "value": "_subtractedValue" - }, - "id": 3059, - "name": "Identifier", - "src": "5412:16:5" - } - ], - "id": 3060, - "name": "FunctionCall", - "src": "5370:59:5" - } - ], - "id": 3061, - "name": "ExpressionStatement", - "src": "5370:59:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2852, - "type": "function (contract StandardToken,address,uint256)", - "value": "ExternalTokenDecreaseApproval" - }, - "id": 3062, - "name": "Identifier", - "src": "5440:29:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3044, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 3063, - "name": "Identifier", - "src": "5470:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3046, - "type": "address", - "value": "_spender" - }, - "id": 3064, - "name": "Identifier", - "src": "5485:8:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3048, - "type": "uint256", - "value": "_subtractedValue" - }, - "id": 3065, - "name": "Identifier", - "src": "5495:16:5" - } - ], - "id": 3066, - "name": "FunctionCall", - "src": "5440:72:5" - } - ], - "id": 3067, - "name": "ExpressionStatement", - "src": "5440:72:5" - }, - { - "attributes": { - "functionReturnParameters": 3054 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3068, - "name": "Literal", - "src": "5530:4:5" - } - ], - "id": 3069, - "name": "Return", - "src": "5523:11:5" - } - ], - "id": 3070, - "name": "Block", - "src": "5359:183:5" - } - ], - "id": 3071, - "name": "FunctionDefinition", - "src": "5207:335:5" - } - ], - "id": 3072, - "name": "ContractDefinition", - "src": "418:5129:5" - } - ], - "id": 3073, - "name": "SourceUnit", - "src": "0:5549:5" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.827Z" -} \ No newline at end of file diff --git a/contracts/ActionMock.json b/contracts/ActionMock.json deleted file mode 100644 index 8ad85a6ca..000000000 --- a/contracts/ActionMock.json +++ /dev/null @@ -1,765 +0,0 @@ -{ - "contractName": "ActionMock", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "avatar", - "type": "address" - }, - { - "name": "params", - "type": "bytes32[]" - } - ], - "name": "genericAction", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "params", - "type": "bytes32[]" - } - ], - "name": "action", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_sender", - "type": "address" - }, - { - "indexed": false, - "name": "_param", - "type": "bytes32" - } - ], - "name": "Action", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6102c68061001e6000396000f30060606040526004361061004b5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ce15a5481146100505780637ff4b630146100ce575b600080fd5b341561005b57600080fd5b6100ba6004803573ffffffffffffffffffffffffffffffffffffffff1690604460248035908101908301358060208082020160405190810160405280939291908181526020018383602002808284375094965061011d95505050505050565b604051901515815260200160405180910390f35b34156100d957600080fd5b6100ba600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061022995505050505050565b60008273ffffffffffffffffffffffffffffffffffffffff16636ce15a5430846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156101e35780820151838201526020016101cb565b505050509050019350505050602060405180830381600087803b151561020857600080fd5b6102c65a03f1151561021957600080fd5b5050506040518051949350505050565b60007f38986d52282e94f11fdf413d0c6cb2f89ce3ef8986c7e800152f440db2bcbfb2338360008151811061025a57fe5b9060200190602002015160405173ffffffffffffffffffffffffffffffffffffffff909216825260208201526040908101905180910390a15060019190505600a165627a7a72305820eccac788d01130f16fc9084a67b173f7d85b64c05a302e8c9fc712646b8c768f0029", - "deployedBytecode": "0x60606040526004361061004b5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ce15a5481146100505780637ff4b630146100ce575b600080fd5b341561005b57600080fd5b6100ba6004803573ffffffffffffffffffffffffffffffffffffffff1690604460248035908101908301358060208082020160405190810160405280939291908181526020018383602002808284375094965061011d95505050505050565b604051901515815260200160405180910390f35b34156100d957600080fd5b6100ba600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061022995505050505050565b60008273ffffffffffffffffffffffffffffffffffffffff16636ce15a5430846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156101e35780820151838201526020016101cb565b505050509050019350505050602060405180830381600087803b151561020857600080fd5b6102c65a03f1151561021957600080fd5b5050506040518051949350505050565b60007f38986d52282e94f11fdf413d0c6cb2f89ce3ef8986c7e800152f440db2bcbfb2338360008151811061025a57fe5b9060200190602002015160405173ffffffffffffffffffffffffffffffffffffffff909216825260208201526040908101905180910390a15060019190505600a165627a7a72305820eccac788d01130f16fc9084a67b173f7d85b64c05a302e8c9fc712646b8c768f0029", - "sourceMap": "68:382:11:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "68:382:11:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;301:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;301:144:11;;-1:-1:-1;301:144:11;;-1:-1:-1;;;;;;301:144:11;;;;;;;;;;;;;;;;;;169:124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;169:124:11;;-1:-1:-1;169:124:11;;-1:-1:-1;;;;;;169:124:11;301:144;371:4;395:6;:20;;;424:4;430:6;395:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;301:144:11;-1:-1:-1;;;;301:144:11:o;169:124::-;218:4;235:28;242:10;253:6;260:1;253:9;;;;;;;;;;;;;;;;235:28;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;281:4:11;169:124;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../controller/Avatar.sol\";\r\n\r\n\r\ncontract ActionMock is ActionInterface {\r\n\r\n event Action(address _sender,bytes32 _param);\r\n\r\n function action(bytes32[] params) public returns(bool) {\r\n Action(msg.sender,params[0]);\r\n return true;\r\n }\r\n\r\n function genericAction(Avatar avatar,bytes32[] params) public returns(bool) {\r\n return avatar.genericAction(address(this),params);\r\n }\r\n\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\test\\ActionMock.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/test/ActionMock.sol", - "exportedSymbols": { - "ActionMock": [ - 4548 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 4500, - "name": "PragmaDirective", - "src": "0:24:11" - }, - { - "attributes": { - "SourceUnit": 3073, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Avatar.sol", - "file": "../controller/Avatar.sol", - "scope": 4549, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4501, - "name": "ImportDirective", - "src": "28:34:11" - }, - { - "attributes": { - "contractDependencies": [ - 2797 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 4548, - 2797 - ], - "name": "ActionMock", - "scope": 4549 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ActionInterface", - "referencedDeclaration": 2797, - "type": "contract ActionInterface" - }, - "id": 4502, - "name": "UserDefinedTypeName", - "src": "91:15:11" - } - ], - "id": 4503, - "name": "InheritanceSpecifier", - "src": "91:15:11" - }, - { - "attributes": { - "anonymous": false, - "name": "Action" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_sender", - "scope": 4509, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4504, - "name": "ElementaryTypeName", - "src": "129:7:11" - } - ], - "id": 4505, - "name": "VariableDeclaration", - "src": "129:15:11" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_param", - "scope": 4509, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4506, - "name": "ElementaryTypeName", - "src": "145:7:11" - } - ], - "id": 4507, - "name": "VariableDeclaration", - "src": "145:14:11" - } - ], - "id": 4508, - "name": "ParameterList", - "src": "128:32:11" - } - ], - "id": 4509, - "name": "EventDefinition", - "src": "116:45:11" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "action", - "payable": false, - "scope": 4548, - "stateMutability": "nonpayable", - "superFunction": 2796, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 4528, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4510, - "name": "ElementaryTypeName", - "src": "185:7:11" - } - ], - "id": 4511, - "name": "ArrayTypeName", - "src": "185:9:11" - } - ], - "id": 4512, - "name": "VariableDeclaration", - "src": "185:16:11" - } - ], - "id": 4513, - "name": "ParameterList", - "src": "184:18:11" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4528, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4514, - "name": "ElementaryTypeName", - "src": "218:4:11" - } - ], - "id": 4515, - "name": "VariableDeclaration", - "src": "218:4:11" - } - ], - "id": 4516, - "name": "ParameterList", - "src": "217:6:11" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4509, - "type": "function (address,bytes32)", - "value": "Action" - }, - "id": 4517, - "name": "Identifier", - "src": "235:6:11" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 4518, - "name": "Identifier", - "src": "242:3:11" - } - ], - "id": 4519, - "name": "MemberAccess", - "src": "242:10:11" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4512, - "type": "bytes32[] memory", - "value": "params" - }, - "id": 4520, - "name": "Identifier", - "src": "253:6:11" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4521, - "name": "Literal", - "src": "260:1:11" - } - ], - "id": 4522, - "name": "IndexAccess", - "src": "253:9:11" - } - ], - "id": 4523, - "name": "FunctionCall", - "src": "235:28:11" - } - ], - "id": 4524, - "name": "ExpressionStatement", - "src": "235:28:11" - }, - { - "attributes": { - "functionReturnParameters": 4516 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 4525, - "name": "Literal", - "src": "281:4:11" - } - ], - "id": 4526, - "name": "Return", - "src": "274:11:11" - } - ], - "id": 4527, - "name": "Block", - "src": "224:69:11" - } - ], - "id": 4528, - "name": "FunctionDefinition", - "src": "169:124:11" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "genericAction", - "payable": false, - "scope": 4548, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "avatar", - "scope": 4547, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 4529, - "name": "UserDefinedTypeName", - "src": "324:6:11" - } - ], - "id": 4530, - "name": "VariableDeclaration", - "src": "324:13:11" - }, - { - "attributes": { - "constant": false, - "name": "params", - "scope": 4547, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4531, - "name": "ElementaryTypeName", - "src": "338:7:11" - } - ], - "id": 4532, - "name": "ArrayTypeName", - "src": "338:9:11" - } - ], - "id": 4533, - "name": "VariableDeclaration", - "src": "338:16:11" - } - ], - "id": 4534, - "name": "ParameterList", - "src": "323:32:11" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4547, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4535, - "name": "ElementaryTypeName", - "src": "371:4:11" - } - ], - "id": 4536, - "name": "VariableDeclaration", - "src": "371:4:11" - } - ], - "id": 4537, - "name": "ParameterList", - "src": "370:6:11" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 4537 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "genericAction", - "referencedDeclaration": 2926, - "type": "function (address,bytes32[] memory) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4530, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 4538, - "name": "Identifier", - "src": "395:6:11" - } - ], - "id": 4539, - "name": "MemberAccess", - "src": "395:20:11" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ActionMock_$4548", - "typeString": "contract ActionMock" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 4540, - "name": "ElementaryTypeNameExpression", - "src": "416:7:11" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9795, - "type": "contract ActionMock", - "value": "this" - }, - "id": 4541, - "name": "Identifier", - "src": "424:4:11" - } - ], - "id": 4542, - "name": "FunctionCall", - "src": "416:13:11" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4533, - "type": "bytes32[] memory", - "value": "params" - }, - "id": 4543, - "name": "Identifier", - "src": "430:6:11" - } - ], - "id": 4544, - "name": "FunctionCall", - "src": "395:42:11" - } - ], - "id": 4545, - "name": "Return", - "src": "388:49:11" - } - ], - "id": 4546, - "name": "Block", - "src": "377:68:11" - } - ], - "id": 4547, - "name": "FunctionDefinition", - "src": "301:144:11" - } - ], - "id": 4548, - "name": "ContractDefinition", - "src": "68:382:11" - } - ], - "id": 4549, - "name": "SourceUnit", - "src": "0:452:11" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.857Z" -} \ No newline at end of file diff --git a/contracts/Avatar.json b/contracts/Avatar.json deleted file mode 100644 index 3942706b2..000000000 --- a/contracts/Avatar.json +++ /dev/null @@ -1,4370 +0,0 @@ -{ - "contractName": "Avatar", - "abi": [ - { - "constant": true, - "inputs": [], - "name": "orgName", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_action", - "type": "address" - }, - { - "name": "_params", - "type": "bytes32[]" - } - ], - "name": "genericAction", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeReputation", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_externalToken", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - }, - { - "name": "_addedValue", - "type": "uint256" - } - ], - "name": "externalTokenIncreaseApproval", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_externalToken", - "type": "address" - }, - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "externalTokenTransferFrom", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_amountInWei", - "type": "uint256" - }, - { - "name": "_to", - "type": "address" - } - ], - "name": "sendEther", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_externalToken", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - }, - { - "name": "_subtractedValue", - "type": "uint256" - } - ], - "name": "externalTokenDecreaseApproval", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_externalToken", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "externalTokenTransfer", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "name": "_orgName", - "type": "bytes32" - }, - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_nativeReputation", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "payable": true, - "stateMutability": "payable", - "type": "fallback" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_action", - "type": "address" - }, - { - "indexed": false, - "name": "_params", - "type": "bytes32[]" - } - ], - "name": "GenericAction", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_amountInWei", - "type": "uint256" - }, - { - "indexed": true, - "name": "_to", - "type": "address" - } - ], - "name": "SendEther", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_externalToken", - "type": "address" - }, - { - "indexed": true, - "name": "_to", - "type": "address" - }, - { - "indexed": false, - "name": "_value", - "type": "uint256" - } - ], - "name": "ExternalTokenTransfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_externalToken", - "type": "address" - }, - { - "indexed": false, - "name": "_from", - "type": "address" - }, - { - "indexed": false, - "name": "_to", - "type": "address" - }, - { - "indexed": false, - "name": "_value", - "type": "uint256" - } - ], - "name": "ExternalTokenTransferFrom", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_externalToken", - "type": "address" - }, - { - "indexed": false, - "name": "_spender", - "type": "address" - }, - { - "indexed": false, - "name": "_addedValue", - "type": "uint256" - } - ], - "name": "ExternalTokenIncreaseApproval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_externalToken", - "type": "address" - }, - { - "indexed": false, - "name": "_spender", - "type": "address" - }, - { - "indexed": false, - "name": "_subtractedValue", - "type": "uint256" - } - ], - "name": "ExternalTokenDecreaseApproval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": false, - "name": "_value", - "type": "uint256" - } - ], - "name": "ReceiveEther", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6040516060806109d583398101604052808051919060200180519190602001805160008054600160a060020a03338116600160a060020a031992831617909255600196909655600280549582169587169590951790945560038054949091169390941692909217909255505061094b8061008a6000396000f3006060604052600436106100955763ffffffff60e060020a6000350416631386dc2d81146100d45780636ce15a54146100f957806389ae1c901461016a5780638cf1355c146101995780638da5cb5b146101c1578063b756d5a2146101d4578063cb16d4a214610202578063d29ab9c414610224578063dab0efff1461024c578063e1758bd814610274578063f2fde38b14610287575b33600160a060020a03167ff32a9f77675fd5917534c7746608fd3e309eac68fbdcbf5925e24ca97a7043963460405190815260200160405180910390a2005b34156100df57600080fd5b6100e76102a8565b60405190815260200160405180910390f35b341561010457600080fd5b61015660048035600160a060020a03169060446024803590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506102ae95505050505050565b604051901515815260200160405180910390f35b341561017557600080fd5b61017d610400565b604051600160a060020a03909116815260200160405180910390f35b34156101a457600080fd5b610156600160a060020a036004358116906024351660443561040f565b34156101cc57600080fd5b61017d6104fb565b34156101df57600080fd5b610156600160a060020a036004358116906024358116906044351660643561050a565b341561020d57600080fd5b610156600435600160a060020a0360243516610610565b341561022f57600080fd5b610156600160a060020a03600435811690602435166044356106a3565b341561025757600080fd5b610156600160a060020a036004358116906024351660443561078f565b341561027f57600080fd5b61017d610875565b341561029257600080fd5b6102a6600160a060020a0360043516610884565b005b60015481565b6000805433600160a060020a039081169116146102ca57600080fd5b82600160a060020a03167f8518530cc6bc186721ab2fc226031ca054c8484893d8b0c7faab65a58aac238d8360405160208082528190810183818151815260200191508051906020019060200280838360005b8381101561033557808201518382015260200161031d565b505050509050019250505060405180910390a282600160a060020a03166040517f616374696f6e28627974657333325b5d290000000000000000000000000000008152601101604051809103902060e060020a900460208451856040518463ffffffff1660e060020a02815260040180848152602001838152602001828051906020019060200280838360005b838110156103da5780820151838201526020016103c2565b5050505090500193505050506000604051808303818661646e5a03f49695505050505050565b600354600160a060020a031681565b6000805433600160a060020a0390811691161461042b57600080fd5b83600160a060020a031663d73dd623848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561048857600080fd5b6102c65a03f1151561049957600080fd5b50505060405180515050600160a060020a0384167fbe7df27d98bd0614ae920a695c2c2be09c164d8456083da020a98538692c465f8484604051600160a060020a03909216825260208201526040908101905180910390a25060019392505050565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461052657600080fd5b84600160a060020a03166323b872dd85858560006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561059057600080fd5b6102c65a03f115156105a157600080fd5b50505060405180515050600160a060020a0385167f179c15de44aa7ab84896301974328eb40b5b40fe01cfe0fee2924ea712c3e843858585604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a2506001949350505050565b6000805433600160a060020a0390811691161461062c57600080fd5b600160a060020a03821683156108fc0284604051600060405180830381858888f19350505050151561065d57600080fd5b81600160a060020a03167f22fca66666089f39bc900dd6605b489df4aae6260cc8ea8257594cfb8c84926c8460405190815260200160405180910390a250600192915050565b6000805433600160a060020a039081169116146106bf57600080fd5b83600160a060020a03166366188463848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561071c57600080fd5b6102c65a03f1151561072d57600080fd5b50505060405180515050600160a060020a0384167f495e426dd61227fe840d969dfba17620c573364af8c37748ea71f96f744ae3348484604051600160a060020a03909216825260208201526040908101905180910390a25060019392505050565b6000805433600160a060020a039081169116146107ab57600080fd5b83600160a060020a031663a9059cbb848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561080857600080fd5b6102c65a03f1151561081957600080fd5b505050604051805190505082600160a060020a031684600160a060020a03167f49dc2a60d2599a7b6932d78fb694c30dfc596fe4e0282b5d0fd184b52472c04d8460405190815260200160405180910390a35060019392505050565b600254600160a060020a031681565b60005433600160a060020a0390811691161461089f57600080fd5b600160a060020a03811615156108b457600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820786998839b4cbdb5de27a89e499d071bb45a6e91c521dbfe4500bd3b9d6741d90029", - "deployedBytecode": "0x6060604052600436106100955763ffffffff60e060020a6000350416631386dc2d81146100d45780636ce15a54146100f957806389ae1c901461016a5780638cf1355c146101995780638da5cb5b146101c1578063b756d5a2146101d4578063cb16d4a214610202578063d29ab9c414610224578063dab0efff1461024c578063e1758bd814610274578063f2fde38b14610287575b33600160a060020a03167ff32a9f77675fd5917534c7746608fd3e309eac68fbdcbf5925e24ca97a7043963460405190815260200160405180910390a2005b34156100df57600080fd5b6100e76102a8565b60405190815260200160405180910390f35b341561010457600080fd5b61015660048035600160a060020a03169060446024803590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506102ae95505050505050565b604051901515815260200160405180910390f35b341561017557600080fd5b61017d610400565b604051600160a060020a03909116815260200160405180910390f35b34156101a457600080fd5b610156600160a060020a036004358116906024351660443561040f565b34156101cc57600080fd5b61017d6104fb565b34156101df57600080fd5b610156600160a060020a036004358116906024358116906044351660643561050a565b341561020d57600080fd5b610156600435600160a060020a0360243516610610565b341561022f57600080fd5b610156600160a060020a03600435811690602435166044356106a3565b341561025757600080fd5b610156600160a060020a036004358116906024351660443561078f565b341561027f57600080fd5b61017d610875565b341561029257600080fd5b6102a6600160a060020a0360043516610884565b005b60015481565b6000805433600160a060020a039081169116146102ca57600080fd5b82600160a060020a03167f8518530cc6bc186721ab2fc226031ca054c8484893d8b0c7faab65a58aac238d8360405160208082528190810183818151815260200191508051906020019060200280838360005b8381101561033557808201518382015260200161031d565b505050509050019250505060405180910390a282600160a060020a03166040517f616374696f6e28627974657333325b5d290000000000000000000000000000008152601101604051809103902060e060020a900460208451856040518463ffffffff1660e060020a02815260040180848152602001838152602001828051906020019060200280838360005b838110156103da5780820151838201526020016103c2565b5050505090500193505050506000604051808303818661646e5a03f49695505050505050565b600354600160a060020a031681565b6000805433600160a060020a0390811691161461042b57600080fd5b83600160a060020a031663d73dd623848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561048857600080fd5b6102c65a03f1151561049957600080fd5b50505060405180515050600160a060020a0384167fbe7df27d98bd0614ae920a695c2c2be09c164d8456083da020a98538692c465f8484604051600160a060020a03909216825260208201526040908101905180910390a25060019392505050565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461052657600080fd5b84600160a060020a03166323b872dd85858560006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561059057600080fd5b6102c65a03f115156105a157600080fd5b50505060405180515050600160a060020a0385167f179c15de44aa7ab84896301974328eb40b5b40fe01cfe0fee2924ea712c3e843858585604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a2506001949350505050565b6000805433600160a060020a0390811691161461062c57600080fd5b600160a060020a03821683156108fc0284604051600060405180830381858888f19350505050151561065d57600080fd5b81600160a060020a03167f22fca66666089f39bc900dd6605b489df4aae6260cc8ea8257594cfb8c84926c8460405190815260200160405180910390a250600192915050565b6000805433600160a060020a039081169116146106bf57600080fd5b83600160a060020a03166366188463848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561071c57600080fd5b6102c65a03f1151561072d57600080fd5b50505060405180515050600160a060020a0384167f495e426dd61227fe840d969dfba17620c573364af8c37748ea71f96f744ae3348484604051600160a060020a03909216825260208201526040908101905180910390a25060019392505050565b6000805433600160a060020a039081169116146107ab57600080fd5b83600160a060020a031663a9059cbb848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561080857600080fd5b6102c65a03f1151561081957600080fd5b505050604051805190505082600160a060020a031684600160a060020a03167f49dc2a60d2599a7b6932d78fb694c30dfc596fe4e0282b5d0fd184b52472c04d8460405190815260200160405180910390a35060019392505050565b600254600160a060020a031681565b60005433600160a060020a0390811691161461089f57600080fd5b600160a060020a03811615156108b457600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820786998839b4cbdb5de27a89e499d071bb45a6e91c521dbfe4500bd3b9d6741d90029", - "sourceMap": "418:5129:5:-;;;1352:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;509:10:29;501:18;;-1:-1:-1;;;;;;501:18:29;;;;;;;;1457::5;;;;1486:11;:26;;;;;;;;;;;;;;;1523:16;:36;;;;;;;;;;;;;;;;;-1:-1:-1;;418:5129:5;;;;;;", - "deployedSourceMap": "418:5129:5:-;;;;;;;;-1:-1:-1;;;418:5129:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1690:10:5;1677:35;;1702:9;1677:35;;;;;;;;;;;;;;418:5129;452:22;;;;;;;;;;;;;;;;;;;;;;;;;;;2115:393;;;;;;;;;;;;;-1:-1:-1;;;;;2115:393:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2115:393:5;;-1:-1:-1;2115:393:5;;-1:-1:-1;;;;;;2115:393:5;;;;;;;;;;;;;;;;;;515:34;;;;;;;;;;;;;;;-1:-1:-1;;;;;515:34:5;;;;;;;;;;;;;;;4497:320;;;;;;;;;;-1:-1:-1;;;;;4497:320:5;;;;;;;;;;;;238:20:29;;;;;;;;;;;;3762:350:5;;;;;;;;;;-1:-1:-1;;;;;3762:350:5;;;;;;;;;;;;;;;;;2732:188;;;;;;;;;;;;;;-1:-1:-1;;;;;2732:188:5;;;5207:335;;;;;;;;;;-1:-1:-1;;;;;5207:335:5;;;;;;;;;;;;3170:266;;;;;;;;;;-1:-1:-1;;;;;3170:266:5;;;;;;;;;;;;481:27;;;;;;;;;;;;834:169:29;;;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;452:22:5;;;;:::o;2115:393::-;2204:4;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;2226:31:5;;;2249:7;2226:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;-1:-1;;;;;2277:20:5;;2305:30;;;;;;;;;;;;;;;-1:-1:-1;;;2277:189:5;;2355:2;2409:7;:14;2458:7;2277:189;;;;;-1:-1:-1;;;2277:189:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;2115:393:5;-1:-1:-1;;;;;;2115:393:5:o;515:34::-;;;-1:-1:-1;;;;;515:34:5;;:::o;4497:320::-;4632:4;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;4654:31:5;;;4686:8;4696:11;4654:54;;;;;;;;;;;-1:-1:-1;;;4654:54:5;;;-1:-1:-1;;;;;4654:54:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;4719:68:5;;;4765:8;4775:11;4719:68;;-1:-1:-1;;;;;4719:68:5;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4805:4:5;4497:320;;;;;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;3762:350:5:-;3941:4;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;3963:27:5;;;3991:5;3998:3;4003:6;3963:47;;;;;;;;;;;-1:-1:-1;;;3963:47:5;;;-1:-1:-1;;;;;3963:47:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;4021:61:5;;;4063:5;4070:3;4075:6;4021:61;;-1:-1:-1;;;;;4021:61:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4100:4:5;3762:350;;;;;;:::o;2732:188::-;2808:4;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;2825:12:5;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2862:28:5;;;2872:12;2862:28;;;;;;;;;;;;;;-1:-1:-1;2908:4:5;2732:188;;;;:::o;5207:335::-;5348:4;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;5370:31:5;;;5402:8;5412:16;5370:59;;;;;;;;;;;-1:-1:-1;;;5370:59:5;;;-1:-1:-1;;;;;5370:59:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;5440:72:5;;;5485:8;5495:16;5440:72;;-1:-1:-1;;;;;5440:72:5;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5530:4:5;5207:335;;;;;:::o;3170:266::-;3287:4;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;3309:23:5;;;3333:3;3338:6;3309:36;;;;;;;;;;;-1:-1:-1;;;3309:36:5;;;-1:-1:-1;;;;;3309:36:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;3356:50:5;;;;;;;3399:6;3356:50;;;;;;;;;;;;;;-1:-1:-1;3424:4:5;3170:266;;;;;:::o;481:27::-;;;-1:-1:-1;;;;;481:27:5;;:::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./Controller.sol\";\r\nimport \"./Reputation.sol\";\r\nimport \"./DAOToken.sol\";\r\nimport \"zeppelin-solidity/contracts/ownership/Ownable.sol\";\r\nimport \"zeppelin-solidity/contracts/token/StandardToken.sol\";\r\n\r\n\r\ncontract ActionInterface {\r\n function action(bytes32[] _params) public returns(bool);\r\n}\r\n\r\n\r\n/**\r\n * @title An Avatar holds tokens, reputation and ether for a controller\r\n */\r\ncontract Avatar is Ownable {\r\n bytes32 public orgName;\r\n DAOToken public nativeToken;\r\n Reputation public nativeReputation;\r\n\r\n event GenericAction(address indexed _action, bytes32[] _params);\r\n event SendEther(uint _amountInWei, address indexed _to);\r\n event ExternalTokenTransfer(address indexed _externalToken, address indexed _to, uint _value);\r\n event ExternalTokenTransferFrom(address indexed _externalToken, address _from, address _to, uint _value);\r\n event ExternalTokenIncreaseApproval(StandardToken indexed _externalToken, address _spender, uint _addedValue);\r\n event ExternalTokenDecreaseApproval(StandardToken indexed _externalToken, address _spender, uint _subtractedValue);\r\n event ReceiveEther(address indexed _sender, uint _value);\r\n\r\n /**\r\n * @dev the constructor takes organization name, native token and reputation system\r\n and creates an avatar for a controller\r\n */\r\n function Avatar(bytes32 _orgName, DAOToken _nativeToken, Reputation _nativeReputation) public {\r\n orgName = _orgName;\r\n nativeToken = _nativeToken;\r\n nativeReputation = _nativeReputation;\r\n }\r\n\r\n /**\r\n * @dev enables an avatar to receive ethers\r\n */\r\n function() public payable {\r\n ReceiveEther(msg.sender, msg.value);\r\n }\r\n\r\n /**\r\n * @dev call an action function on an ActionInterface.\r\n * This function use deligatecall and might expose the organization to security\r\n * risk. Use this function only if you really knows what you are doing.\r\n * @param _action the address of the contract to call.\r\n * @param _params the params for the call.\r\n * @return bool which represents success\r\n */\r\n function genericAction(address _action, bytes32[] _params)\r\n public onlyOwner returns(bool)\r\n {\r\n GenericAction(_action, _params);\r\n\r\n return _action.delegatecall(bytes4(keccak256(\"action(bytes32[])\")),\r\n uint256(32),// length of length of the array\r\n uint256(_params.length), // length of the array\r\n _params); // array itself);\r\n }\r\n\r\n /**\r\n * @dev send ethers from the avatar's wallet\r\n * @param _amountInWei amount to send in Wei units\r\n * @param _to send the ethers to this address\r\n * @return bool which represents success\r\n */\r\n function sendEther(uint _amountInWei, address _to) public onlyOwner returns(bool) {\r\n _to.transfer(_amountInWei);\r\n SendEther(_amountInWei, _to);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev external token transfer\r\n * @param _externalToken the token contract\r\n * @param _to the destination address\r\n * @param _value the amount of tokens to transfer\r\n * @return bool which represents success\r\n */\r\n function externalTokenTransfer(StandardToken _externalToken, address _to, uint _value)\r\n public onlyOwner returns(bool)\r\n {\r\n _externalToken.transfer(_to, _value);\r\n ExternalTokenTransfer(_externalToken, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev external token transfer from a specific account\r\n * @param _externalToken the token contract\r\n * @param _from the account to spend token from\r\n * @param _to the destination address\r\n * @param _value the amount of tokens to transfer\r\n * @return bool which represents success\r\n */\r\n function externalTokenTransferFrom(\r\n StandardToken _externalToken,\r\n address _from,\r\n address _to,\r\n uint _value\r\n )\r\n public onlyOwner returns(bool)\r\n {\r\n _externalToken.transferFrom(_from, _to, _value);\r\n ExternalTokenTransferFrom(_externalToken, _from, _to, _value);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev increase approval for the spender address to spend a specified amount of tokens\r\n * on behalf of msg.sender.\r\n * @param _externalToken the address of the Token Contract\r\n * @param _spender address\r\n * @param _addedValue the amount of ether (in Wei) which the approval is refering to.\r\n * @return bool which represents a success\r\n */\r\n function externalTokenIncreaseApproval(StandardToken _externalToken, address _spender, uint _addedValue)\r\n public onlyOwner returns(bool)\r\n {\r\n _externalToken.increaseApproval(_spender, _addedValue);\r\n ExternalTokenIncreaseApproval(_externalToken, _spender, _addedValue);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev decrease approval for the spender address to spend a specified amount of tokens\r\n * on behalf of msg.sender.\r\n * @param _externalToken the address of the Token Contract\r\n * @param _spender address\r\n * @param _subtractedValue the amount of ether (in Wei) which the approval is refering to.\r\n * @return bool which represents a success\r\n */\r\n function externalTokenDecreaseApproval(StandardToken _externalToken, address _spender, uint _subtractedValue )\r\n public onlyOwner returns(bool)\r\n {\r\n _externalToken.decreaseApproval(_spender, _subtractedValue);\r\n ExternalTokenDecreaseApproval(_externalToken,_spender, _subtractedValue);\r\n return true;\r\n }\r\n\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\controller\\Avatar.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Avatar.sol", - "exportedSymbols": { - "ActionInterface": [ - 2797 - ], - "Avatar": [ - 3072 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 2783, - "name": "PragmaDirective", - "src": "0:24:5" - }, - { - "attributes": { - "SourceUnit": 4158, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Controller.sol", - "file": "./Controller.sol", - "scope": 3073, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2784, - "name": "ImportDirective", - "src": "28:26:5" - }, - { - "attributes": { - "SourceUnit": 4358, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Reputation.sol", - "file": "./Reputation.sol", - "scope": 3073, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2785, - "name": "ImportDirective", - "src": "56:26:5" - }, - { - "attributes": { - "SourceUnit": 4193, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/DAOToken.sol", - "file": "./DAOToken.sol", - "scope": 3073, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2786, - "name": "ImportDirective", - "src": "84:24:5" - }, - { - "attributes": { - "SourceUnit": 9141, - "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "file": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "scope": 3073, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2787, - "name": "ImportDirective", - "src": "110:59:5" - }, - { - "attributes": { - "SourceUnit": 9701, - "absolutePath": "zeppelin-solidity/contracts/token/StandardToken.sol", - "file": "zeppelin-solidity/contracts/token/StandardToken.sol", - "scope": 3073, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2788, - "name": "ImportDirective", - "src": "171:61:5" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 2797 - ], - "name": "ActionInterface", - "scope": 3073 - }, - "children": [ - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "action", - "payable": false, - "scope": 2797, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 2796, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2789, - "name": "ElementaryTypeName", - "src": "286:7:5" - } - ], - "id": 2790, - "name": "ArrayTypeName", - "src": "286:9:5" - } - ], - "id": 2791, - "name": "VariableDeclaration", - "src": "286:17:5" - } - ], - "id": 2792, - "name": "ParameterList", - "src": "285:19:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2796, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2793, - "name": "ElementaryTypeName", - "src": "320:4:5" - } - ], - "id": 2794, - "name": "VariableDeclaration", - "src": "320:4:5" - } - ], - "id": 2795, - "name": "ParameterList", - "src": "319:6:5" - } - ], - "id": 2796, - "name": "FunctionDefinition", - "src": "270:56:5" - } - ], - "id": 2797, - "name": "ContractDefinition", - "src": "238:91:5" - }, - { - "attributes": { - "contractDependencies": [ - 9140 - ], - "contractKind": "contract", - "documentation": "@title An Avatar holds tokens, reputation and ether for a controller\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 3072, - 9140 - ], - "name": "Avatar", - "scope": 3073 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Ownable", - "referencedDeclaration": 9140, - "type": "contract Ownable" - }, - "id": 2798, - "name": "UserDefinedTypeName", - "src": "437:7:5" - } - ], - "id": 2799, - "name": "InheritanceSpecifier", - "src": "437:7:5" - }, - { - "attributes": { - "constant": false, - "name": "orgName", - "scope": 3072, - "stateVariable": true, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2800, - "name": "ElementaryTypeName", - "src": "452:7:5" - } - ], - "id": 2801, - "name": "VariableDeclaration", - "src": "452:22:5" - }, - { - "attributes": { - "constant": false, - "name": "nativeToken", - "scope": 3072, - "stateVariable": true, - "storageLocation": "default", - "type": "contract DAOToken", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "DAOToken", - "referencedDeclaration": 4192, - "type": "contract DAOToken" - }, - "id": 2802, - "name": "UserDefinedTypeName", - "src": "481:8:5" - } - ], - "id": 2803, - "name": "VariableDeclaration", - "src": "481:27:5" - }, - { - "attributes": { - "constant": false, - "name": "nativeReputation", - "scope": 3072, - "stateVariable": true, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 2804, - "name": "UserDefinedTypeName", - "src": "515:10:5" - } - ], - "id": 2805, - "name": "VariableDeclaration", - "src": "515:34:5" - }, - { - "attributes": { - "anonymous": false, - "name": "GenericAction" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_action", - "scope": 2812, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2806, - "name": "ElementaryTypeName", - "src": "578:7:5" - } - ], - "id": 2807, - "name": "VariableDeclaration", - "src": "578:23:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_params", - "scope": 2812, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2808, - "name": "ElementaryTypeName", - "src": "603:7:5" - } - ], - "id": 2809, - "name": "ArrayTypeName", - "src": "603:9:5" - } - ], - "id": 2810, - "name": "VariableDeclaration", - "src": "603:17:5" - } - ], - "id": 2811, - "name": "ParameterList", - "src": "577:44:5" - } - ], - "id": 2812, - "name": "EventDefinition", - "src": "558:64:5" - }, - { - "attributes": { - "anonymous": false, - "name": "SendEther" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_amountInWei", - "scope": 2818, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2813, - "name": "ElementaryTypeName", - "src": "644:4:5" - } - ], - "id": 2814, - "name": "VariableDeclaration", - "src": "644:17:5" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_to", - "scope": 2818, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2815, - "name": "ElementaryTypeName", - "src": "663:7:5" - } - ], - "id": 2816, - "name": "VariableDeclaration", - "src": "663:19:5" - } - ], - "id": 2817, - "name": "ParameterList", - "src": "643:40:5" - } - ], - "id": 2818, - "name": "EventDefinition", - "src": "628:56:5" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenTransfer" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 2826, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2819, - "name": "ElementaryTypeName", - "src": "718:7:5" - } - ], - "id": 2820, - "name": "VariableDeclaration", - "src": "718:30:5" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_to", - "scope": 2826, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2821, - "name": "ElementaryTypeName", - "src": "750:7:5" - } - ], - "id": 2822, - "name": "VariableDeclaration", - "src": "750:19:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_value", - "scope": 2826, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2823, - "name": "ElementaryTypeName", - "src": "771:4:5" - } - ], - "id": 2824, - "name": "VariableDeclaration", - "src": "771:11:5" - } - ], - "id": 2825, - "name": "ParameterList", - "src": "717:66:5" - } - ], - "id": 2826, - "name": "EventDefinition", - "src": "690:94:5" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenTransferFrom" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 2836, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2827, - "name": "ElementaryTypeName", - "src": "822:7:5" - } - ], - "id": 2828, - "name": "VariableDeclaration", - "src": "822:30:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_from", - "scope": 2836, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2829, - "name": "ElementaryTypeName", - "src": "854:7:5" - } - ], - "id": 2830, - "name": "VariableDeclaration", - "src": "854:13:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_to", - "scope": 2836, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2831, - "name": "ElementaryTypeName", - "src": "869:7:5" - } - ], - "id": 2832, - "name": "VariableDeclaration", - "src": "869:11:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_value", - "scope": 2836, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2833, - "name": "ElementaryTypeName", - "src": "882:4:5" - } - ], - "id": 2834, - "name": "VariableDeclaration", - "src": "882:11:5" - } - ], - "id": 2835, - "name": "ParameterList", - "src": "821:73:5" - } - ], - "id": 2836, - "name": "EventDefinition", - "src": "790:105:5" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenIncreaseApproval" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 2844, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 2837, - "name": "UserDefinedTypeName", - "src": "937:13:5" - } - ], - "id": 2838, - "name": "VariableDeclaration", - "src": "937:36:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_spender", - "scope": 2844, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2839, - "name": "ElementaryTypeName", - "src": "975:7:5" - } - ], - "id": 2840, - "name": "VariableDeclaration", - "src": "975:16:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_addedValue", - "scope": 2844, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2841, - "name": "ElementaryTypeName", - "src": "993:4:5" - } - ], - "id": 2842, - "name": "VariableDeclaration", - "src": "993:16:5" - } - ], - "id": 2843, - "name": "ParameterList", - "src": "936:74:5" - } - ], - "id": 2844, - "name": "EventDefinition", - "src": "901:110:5" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenDecreaseApproval" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 2852, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 2845, - "name": "UserDefinedTypeName", - "src": "1053:13:5" - } - ], - "id": 2846, - "name": "VariableDeclaration", - "src": "1053:36:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_spender", - "scope": 2852, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2847, - "name": "ElementaryTypeName", - "src": "1091:7:5" - } - ], - "id": 2848, - "name": "VariableDeclaration", - "src": "1091:16:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_subtractedValue", - "scope": 2852, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2849, - "name": "ElementaryTypeName", - "src": "1109:4:5" - } - ], - "id": 2850, - "name": "VariableDeclaration", - "src": "1109:21:5" - } - ], - "id": 2851, - "name": "ParameterList", - "src": "1052:79:5" - } - ], - "id": 2852, - "name": "EventDefinition", - "src": "1017:115:5" - }, - { - "attributes": { - "anonymous": false, - "name": "ReceiveEther" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 2858, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2853, - "name": "ElementaryTypeName", - "src": "1157:7:5" - } - ], - "id": 2854, - "name": "VariableDeclaration", - "src": "1157:23:5" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_value", - "scope": 2858, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2855, - "name": "ElementaryTypeName", - "src": "1182:4:5" - } - ], - "id": 2856, - "name": "VariableDeclaration", - "src": "1182:11:5" - } - ], - "id": 2857, - "name": "ParameterList", - "src": "1156:38:5" - } - ], - "id": 2858, - "name": "EventDefinition", - "src": "1138:57:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "Avatar", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_orgName", - "scope": 2880, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2859, - "name": "ElementaryTypeName", - "src": "1368:7:5" - } - ], - "id": 2860, - "name": "VariableDeclaration", - "src": "1368:16:5" - }, - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 2880, - "stateVariable": false, - "storageLocation": "default", - "type": "contract DAOToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "DAOToken", - "referencedDeclaration": 4192, - "type": "contract DAOToken" - }, - "id": 2861, - "name": "UserDefinedTypeName", - "src": "1386:8:5" - } - ], - "id": 2862, - "name": "VariableDeclaration", - "src": "1386:21:5" - }, - { - "attributes": { - "constant": false, - "name": "_nativeReputation", - "scope": 2880, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 2863, - "name": "UserDefinedTypeName", - "src": "1409:10:5" - } - ], - "id": 2864, - "name": "VariableDeclaration", - "src": "1409:28:5" - } - ], - "id": 2865, - "name": "ParameterList", - "src": "1367:71:5" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 2866, - "name": "ParameterList", - "src": "1446:0:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2801, - "type": "bytes32", - "value": "orgName" - }, - "id": 2867, - "name": "Identifier", - "src": "1457:7:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2860, - "type": "bytes32", - "value": "_orgName" - }, - "id": 2868, - "name": "Identifier", - "src": "1467:8:5" - } - ], - "id": 2869, - "name": "Assignment", - "src": "1457:18:5" - } - ], - "id": 2870, - "name": "ExpressionStatement", - "src": "1457:18:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract DAOToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2803, - "type": "contract DAOToken", - "value": "nativeToken" - }, - "id": 2871, - "name": "Identifier", - "src": "1486:11:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2862, - "type": "contract DAOToken", - "value": "_nativeToken" - }, - "id": 2872, - "name": "Identifier", - "src": "1500:12:5" - } - ], - "id": 2873, - "name": "Assignment", - "src": "1486:26:5" - } - ], - "id": 2874, - "name": "ExpressionStatement", - "src": "1486:26:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract Reputation" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2805, - "type": "contract Reputation", - "value": "nativeReputation" - }, - "id": 2875, - "name": "Identifier", - "src": "1523:16:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2864, - "type": "contract Reputation", - "value": "_nativeReputation" - }, - "id": 2876, - "name": "Identifier", - "src": "1542:17:5" - } - ], - "id": 2877, - "name": "Assignment", - "src": "1523:36:5" - } - ], - "id": 2878, - "name": "ExpressionStatement", - "src": "1523:36:5" - } - ], - "id": 2879, - "name": "Block", - "src": "1446:121:5" - } - ], - "id": 2880, - "name": "FunctionDefinition", - "src": "1352:215:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "", - "payable": true, - "scope": 3072, - "stateMutability": "payable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 2881, - "name": "ParameterList", - "src": "1648:2:5" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 2882, - "name": "ParameterList", - "src": "1666:0:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2858, - "type": "function (address,uint256)", - "value": "ReceiveEther" - }, - "id": 2883, - "name": "Identifier", - "src": "1677:12:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 2884, - "name": "Identifier", - "src": "1690:3:5" - } - ], - "id": 2885, - "name": "MemberAccess", - "src": "1690:10:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 2886, - "name": "Identifier", - "src": "1702:3:5" - } - ], - "id": 2887, - "name": "MemberAccess", - "src": "1702:9:5" - } - ], - "id": 2888, - "name": "FunctionCall", - "src": "1677:35:5" - } - ], - "id": 2889, - "name": "ExpressionStatement", - "src": "1677:35:5" - } - ], - "id": 2890, - "name": "Block", - "src": "1666:54:5" - } - ], - "id": 2891, - "name": "FunctionDefinition", - "src": "1640:80:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "genericAction", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_action", - "scope": 2926, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2892, - "name": "ElementaryTypeName", - "src": "2138:7:5" - } - ], - "id": 2893, - "name": "VariableDeclaration", - "src": "2138:15:5" - }, - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 2926, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2894, - "name": "ElementaryTypeName", - "src": "2155:7:5" - } - ], - "id": 2895, - "name": "ArrayTypeName", - "src": "2155:9:5" - } - ], - "id": 2896, - "name": "VariableDeclaration", - "src": "2155:17:5" - } - ], - "id": 2897, - "name": "ParameterList", - "src": "2137:36:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2926, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2900, - "name": "ElementaryTypeName", - "src": "2204:4:5" - } - ], - "id": 2901, - "name": "VariableDeclaration", - "src": "2204:4:5" - } - ], - "id": 2902, - "name": "ParameterList", - "src": "2203:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 2898, - "name": "Identifier", - "src": "2186:9:5" - } - ], - "id": 2899, - "name": "ModifierInvocation", - "src": "2186:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2812, - "type": "function (address,bytes32[] memory)", - "value": "GenericAction" - }, - "id": 2903, - "name": "Identifier", - "src": "2226:13:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2893, - "type": "address", - "value": "_action" - }, - "id": 2904, - "name": "Identifier", - "src": "2240:7:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2896, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 2905, - "name": "Identifier", - "src": "2249:7:5" - } - ], - "id": 2906, - "name": "FunctionCall", - "src": "2226:31:5" - } - ], - "id": 2907, - "name": "ExpressionStatement", - "src": "2226:31:5" - }, - { - "attributes": { - "functionReturnParameters": 2902 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "delegatecall", - "referencedDeclaration": null, - "type": "function () returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2893, - "type": "address", - "value": "_action" - }, - "id": 2908, - "name": "Identifier", - "src": "2277:7:5" - } - ], - "id": 2909, - "name": "MemberAccess", - "src": "2277:20:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 2910, - "name": "ElementaryTypeNameExpression", - "src": "2298:6:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_7ff4b6301c72901450252ee5e8584376c615d5c87d4c0b2d9dafc6024e2589a0", - "typeString": "literal_string \"action(bytes32[])\"" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 2911, - "name": "Identifier", - "src": "2305:9:5" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "616374696f6e28627974657333325b5d29", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"action(bytes32[])\"", - "value": "action(bytes32[])" - }, - "id": 2912, - "name": "Literal", - "src": "2315:19:5" - } - ], - "id": 2913, - "name": "FunctionCall", - "src": "2305:30:5" - } - ], - "id": 2914, - "name": "FunctionCall", - "src": "2298:38:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_32_by_1", - "typeString": "int_const 32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(uint256)", - "value": "uint256" - }, - "id": 2915, - "name": "ElementaryTypeNameExpression", - "src": "2347:7:5" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3332", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 32", - "value": "32" - }, - "id": 2916, - "name": "Literal", - "src": "2355:2:5" - } - ], - "id": 2917, - "name": "FunctionCall", - "src": "2347:11:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(uint256)", - "value": "uint256" - }, - "id": 2918, - "name": "ElementaryTypeNameExpression", - "src": "2401:7:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2896, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 2919, - "name": "Identifier", - "src": "2409:7:5" - } - ], - "id": 2920, - "name": "MemberAccess", - "src": "2409:14:5" - } - ], - "id": 2921, - "name": "FunctionCall", - "src": "2401:23:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2896, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 2922, - "name": "Identifier", - "src": "2458:7:5" - } - ], - "id": 2923, - "name": "FunctionCall", - "src": "2277:189:5" - } - ], - "id": 2924, - "name": "Return", - "src": "2270:196:5" - } - ], - "id": 2925, - "name": "Block", - "src": "2215:293:5" - } - ], - "id": 2926, - "name": "FunctionDefinition", - "src": "2115:393:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "sendEther", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_amountInWei", - "scope": 2951, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2927, - "name": "ElementaryTypeName", - "src": "2751:4:5" - } - ], - "id": 2928, - "name": "VariableDeclaration", - "src": "2751:17:5" - }, - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 2951, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2929, - "name": "ElementaryTypeName", - "src": "2770:7:5" - } - ], - "id": 2930, - "name": "VariableDeclaration", - "src": "2770:11:5" - } - ], - "id": 2931, - "name": "ParameterList", - "src": "2750:32:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2951, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2934, - "name": "ElementaryTypeName", - "src": "2808:4:5" - } - ], - "id": 2935, - "name": "VariableDeclaration", - "src": "2808:4:5" - } - ], - "id": 2936, - "name": "ParameterList", - "src": "2807:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 2932, - "name": "Identifier", - "src": "2790:9:5" - } - ], - "id": 2933, - "name": "ModifierInvocation", - "src": "2790:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transfer", - "referencedDeclaration": null, - "type": "function (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2930, - "type": "address", - "value": "_to" - }, - "id": 2937, - "name": "Identifier", - "src": "2825:3:5" - } - ], - "id": 2939, - "name": "MemberAccess", - "src": "2825:12:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2928, - "type": "uint256", - "value": "_amountInWei" - }, - "id": 2940, - "name": "Identifier", - "src": "2838:12:5" - } - ], - "id": 2941, - "name": "FunctionCall", - "src": "2825:26:5" - } - ], - "id": 2942, - "name": "ExpressionStatement", - "src": "2825:26:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2818, - "type": "function (uint256,address)", - "value": "SendEther" - }, - "id": 2943, - "name": "Identifier", - "src": "2862:9:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2928, - "type": "uint256", - "value": "_amountInWei" - }, - "id": 2944, - "name": "Identifier", - "src": "2872:12:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2930, - "type": "address", - "value": "_to" - }, - "id": 2945, - "name": "Identifier", - "src": "2886:3:5" - } - ], - "id": 2946, - "name": "FunctionCall", - "src": "2862:28:5" - } - ], - "id": 2947, - "name": "ExpressionStatement", - "src": "2862:28:5" - }, - { - "attributes": { - "functionReturnParameters": 2936 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 2948, - "name": "Literal", - "src": "2908:4:5" - } - ], - "id": 2949, - "name": "Return", - "src": "2901:11:5" - } - ], - "id": 2950, - "name": "Block", - "src": "2814:106:5" - } - ], - "id": 2951, - "name": "FunctionDefinition", - "src": "2732:188:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenTransfer", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 2980, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 2952, - "name": "UserDefinedTypeName", - "src": "3201:13:5" - } - ], - "id": 2953, - "name": "VariableDeclaration", - "src": "3201:28:5" - }, - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 2980, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2954, - "name": "ElementaryTypeName", - "src": "3231:7:5" - } - ], - "id": 2955, - "name": "VariableDeclaration", - "src": "3231:11:5" - }, - { - "attributes": { - "constant": false, - "name": "_value", - "scope": 2980, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2956, - "name": "ElementaryTypeName", - "src": "3244:4:5" - } - ], - "id": 2957, - "name": "VariableDeclaration", - "src": "3244:11:5" - } - ], - "id": 2958, - "name": "ParameterList", - "src": "3200:56:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2980, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2961, - "name": "ElementaryTypeName", - "src": "3287:4:5" - } - ], - "id": 2962, - "name": "VariableDeclaration", - "src": "3287:4:5" - } - ], - "id": 2963, - "name": "ParameterList", - "src": "3286:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 2959, - "name": "Identifier", - "src": "3269:9:5" - } - ], - "id": 2960, - "name": "ModifierInvocation", - "src": "3269:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transfer", - "referencedDeclaration": 9213, - "type": "function (address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2953, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 2964, - "name": "Identifier", - "src": "3309:14:5" - } - ], - "id": 2966, - "name": "MemberAccess", - "src": "3309:23:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2955, - "type": "address", - "value": "_to" - }, - "id": 2967, - "name": "Identifier", - "src": "3333:3:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2957, - "type": "uint256", - "value": "_value" - }, - "id": 2968, - "name": "Identifier", - "src": "3338:6:5" - } - ], - "id": 2969, - "name": "FunctionCall", - "src": "3309:36:5" - } - ], - "id": 2970, - "name": "ExpressionStatement", - "src": "3309:36:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2826, - "type": "function (address,address,uint256)", - "value": "ExternalTokenTransfer" - }, - "id": 2971, - "name": "Identifier", - "src": "3356:21:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2953, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 2972, - "name": "Identifier", - "src": "3378:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2955, - "type": "address", - "value": "_to" - }, - "id": 2973, - "name": "Identifier", - "src": "3394:3:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2957, - "type": "uint256", - "value": "_value" - }, - "id": 2974, - "name": "Identifier", - "src": "3399:6:5" - } - ], - "id": 2975, - "name": "FunctionCall", - "src": "3356:50:5" - } - ], - "id": 2976, - "name": "ExpressionStatement", - "src": "3356:50:5" - }, - { - "attributes": { - "functionReturnParameters": 2963 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 2977, - "name": "Literal", - "src": "3424:4:5" - } - ], - "id": 2978, - "name": "Return", - "src": "3417:11:5" - } - ], - "id": 2979, - "name": "Block", - "src": "3298:138:5" - } - ], - "id": 2980, - "name": "FunctionDefinition", - "src": "3170:266:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenTransferFrom", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 3013, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 2981, - "name": "UserDefinedTypeName", - "src": "3807:13:5" - } - ], - "id": 2982, - "name": "VariableDeclaration", - "src": "3807:28:5" - }, - { - "attributes": { - "constant": false, - "name": "_from", - "scope": 3013, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2983, - "name": "ElementaryTypeName", - "src": "3846:7:5" - } - ], - "id": 2984, - "name": "VariableDeclaration", - "src": "3846:13:5" - }, - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 3013, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2985, - "name": "ElementaryTypeName", - "src": "3870:7:5" - } - ], - "id": 2986, - "name": "VariableDeclaration", - "src": "3870:11:5" - }, - { - "attributes": { - "constant": false, - "name": "_value", - "scope": 3013, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2987, - "name": "ElementaryTypeName", - "src": "3892:4:5" - } - ], - "id": 2988, - "name": "VariableDeclaration", - "src": "3892:11:5" - } - ], - "id": 2989, - "name": "ParameterList", - "src": "3796:114:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3013, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2992, - "name": "ElementaryTypeName", - "src": "3941:4:5" - } - ], - "id": 2993, - "name": "VariableDeclaration", - "src": "3941:4:5" - } - ], - "id": 2994, - "name": "ParameterList", - "src": "3940:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 2990, - "name": "Identifier", - "src": "3923:9:5" - } - ], - "id": 2991, - "name": "ModifierInvocation", - "src": "3923:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferFrom", - "referencedDeclaration": 9554, - "type": "function (address,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2982, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 2995, - "name": "Identifier", - "src": "3963:14:5" - } - ], - "id": 2997, - "name": "MemberAccess", - "src": "3963:27:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2984, - "type": "address", - "value": "_from" - }, - "id": 2998, - "name": "Identifier", - "src": "3991:5:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2986, - "type": "address", - "value": "_to" - }, - "id": 2999, - "name": "Identifier", - "src": "3998:3:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2988, - "type": "uint256", - "value": "_value" - }, - "id": 3000, - "name": "Identifier", - "src": "4003:6:5" - } - ], - "id": 3001, - "name": "FunctionCall", - "src": "3963:47:5" - } - ], - "id": 3002, - "name": "ExpressionStatement", - "src": "3963:47:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2836, - "type": "function (address,address,address,uint256)", - "value": "ExternalTokenTransferFrom" - }, - "id": 3003, - "name": "Identifier", - "src": "4021:25:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2982, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 3004, - "name": "Identifier", - "src": "4047:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2984, - "type": "address", - "value": "_from" - }, - "id": 3005, - "name": "Identifier", - "src": "4063:5:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2986, - "type": "address", - "value": "_to" - }, - "id": 3006, - "name": "Identifier", - "src": "4070:3:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2988, - "type": "uint256", - "value": "_value" - }, - "id": 3007, - "name": "Identifier", - "src": "4075:6:5" - } - ], - "id": 3008, - "name": "FunctionCall", - "src": "4021:61:5" - } - ], - "id": 3009, - "name": "ExpressionStatement", - "src": "4021:61:5" - }, - { - "attributes": { - "functionReturnParameters": 2994 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3010, - "name": "Literal", - "src": "4100:4:5" - } - ], - "id": 3011, - "name": "Return", - "src": "4093:11:5" - } - ], - "id": 3012, - "name": "Block", - "src": "3952:160:5" - } - ], - "id": 3013, - "name": "FunctionDefinition", - "src": "3762:350:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenIncreaseApproval", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 3042, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 3014, - "name": "UserDefinedTypeName", - "src": "4536:13:5" - } - ], - "id": 3015, - "name": "VariableDeclaration", - "src": "4536:28:5" - }, - { - "attributes": { - "constant": false, - "name": "_spender", - "scope": 3042, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3016, - "name": "ElementaryTypeName", - "src": "4566:7:5" - } - ], - "id": 3017, - "name": "VariableDeclaration", - "src": "4566:16:5" - }, - { - "attributes": { - "constant": false, - "name": "_addedValue", - "scope": 3042, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3018, - "name": "ElementaryTypeName", - "src": "4584:4:5" - } - ], - "id": 3019, - "name": "VariableDeclaration", - "src": "4584:16:5" - } - ], - "id": 3020, - "name": "ParameterList", - "src": "4535:66:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3042, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3023, - "name": "ElementaryTypeName", - "src": "4632:4:5" - } - ], - "id": 3024, - "name": "VariableDeclaration", - "src": "4632:4:5" - } - ], - "id": 3025, - "name": "ParameterList", - "src": "4631:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 3021, - "name": "Identifier", - "src": "4614:9:5" - } - ], - "id": 3022, - "name": "ModifierInvocation", - "src": "4614:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "increaseApproval", - "referencedDeclaration": 9639, - "type": "function (address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3015, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 3026, - "name": "Identifier", - "src": "4654:14:5" - } - ], - "id": 3028, - "name": "MemberAccess", - "src": "4654:31:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3017, - "type": "address", - "value": "_spender" - }, - "id": 3029, - "name": "Identifier", - "src": "4686:8:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3019, - "type": "uint256", - "value": "_addedValue" - }, - "id": 3030, - "name": "Identifier", - "src": "4696:11:5" - } - ], - "id": 3031, - "name": "FunctionCall", - "src": "4654:54:5" - } - ], - "id": 3032, - "name": "ExpressionStatement", - "src": "4654:54:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2844, - "type": "function (contract StandardToken,address,uint256)", - "value": "ExternalTokenIncreaseApproval" - }, - "id": 3033, - "name": "Identifier", - "src": "4719:29:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3015, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 3034, - "name": "Identifier", - "src": "4749:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3017, - "type": "address", - "value": "_spender" - }, - "id": 3035, - "name": "Identifier", - "src": "4765:8:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3019, - "type": "uint256", - "value": "_addedValue" - }, - "id": 3036, - "name": "Identifier", - "src": "4775:11:5" - } - ], - "id": 3037, - "name": "FunctionCall", - "src": "4719:68:5" - } - ], - "id": 3038, - "name": "ExpressionStatement", - "src": "4719:68:5" - }, - { - "attributes": { - "functionReturnParameters": 3025 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3039, - "name": "Literal", - "src": "4805:4:5" - } - ], - "id": 3040, - "name": "Return", - "src": "4798:11:5" - } - ], - "id": 3041, - "name": "Block", - "src": "4643:174:5" - } - ], - "id": 3042, - "name": "FunctionDefinition", - "src": "4497:320:5" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenDecreaseApproval", - "payable": false, - "scope": 3072, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 3071, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 3043, - "name": "UserDefinedTypeName", - "src": "5246:13:5" - } - ], - "id": 3044, - "name": "VariableDeclaration", - "src": "5246:28:5" - }, - { - "attributes": { - "constant": false, - "name": "_spender", - "scope": 3071, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3045, - "name": "ElementaryTypeName", - "src": "5276:7:5" - } - ], - "id": 3046, - "name": "VariableDeclaration", - "src": "5276:16:5" - }, - { - "attributes": { - "constant": false, - "name": "_subtractedValue", - "scope": 3071, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3047, - "name": "ElementaryTypeName", - "src": "5294:4:5" - } - ], - "id": 3048, - "name": "VariableDeclaration", - "src": "5294:21:5" - } - ], - "id": 3049, - "name": "ParameterList", - "src": "5245:72:5" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3071, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3052, - "name": "ElementaryTypeName", - "src": "5348:4:5" - } - ], - "id": 3053, - "name": "VariableDeclaration", - "src": "5348:4:5" - } - ], - "id": 3054, - "name": "ParameterList", - "src": "5347:6:5" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 3050, - "name": "Identifier", - "src": "5330:9:5" - } - ], - "id": 3051, - "name": "ModifierInvocation", - "src": "5330:9:5" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "decreaseApproval", - "referencedDeclaration": 9699, - "type": "function (address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3044, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 3055, - "name": "Identifier", - "src": "5370:14:5" - } - ], - "id": 3057, - "name": "MemberAccess", - "src": "5370:31:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3046, - "type": "address", - "value": "_spender" - }, - "id": 3058, - "name": "Identifier", - "src": "5402:8:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3048, - "type": "uint256", - "value": "_subtractedValue" - }, - "id": 3059, - "name": "Identifier", - "src": "5412:16:5" - } - ], - "id": 3060, - "name": "FunctionCall", - "src": "5370:59:5" - } - ], - "id": 3061, - "name": "ExpressionStatement", - "src": "5370:59:5" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2852, - "type": "function (contract StandardToken,address,uint256)", - "value": "ExternalTokenDecreaseApproval" - }, - "id": 3062, - "name": "Identifier", - "src": "5440:29:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3044, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 3063, - "name": "Identifier", - "src": "5470:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3046, - "type": "address", - "value": "_spender" - }, - "id": 3064, - "name": "Identifier", - "src": "5485:8:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3048, - "type": "uint256", - "value": "_subtractedValue" - }, - "id": 3065, - "name": "Identifier", - "src": "5495:16:5" - } - ], - "id": 3066, - "name": "FunctionCall", - "src": "5440:72:5" - } - ], - "id": 3067, - "name": "ExpressionStatement", - "src": "5440:72:5" - }, - { - "attributes": { - "functionReturnParameters": 3054 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3068, - "name": "Literal", - "src": "5530:4:5" - } - ], - "id": 3069, - "name": "Return", - "src": "5523:11:5" - } - ], - "id": 3070, - "name": "Block", - "src": "5359:183:5" - } - ], - "id": 3071, - "name": "FunctionDefinition", - "src": "5207:335:5" - } - ], - "id": 3072, - "name": "ContractDefinition", - "src": "418:5129:5" - } - ], - "id": 3073, - "name": "SourceUnit", - "src": "0:5549:5" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.835Z" -} \ No newline at end of file diff --git a/contracts/BasicToken.json b/contracts/BasicToken.json deleted file mode 100644 index bed237b28..000000000 --- a/contracts/BasicToken.json +++ /dev/null @@ -1,1317 +0,0 @@ -{ - "contractName": "BasicToken", - "abi": [ - { - "constant": true, - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "balance", - "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" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6102458061001e6000396000f3006060604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd811461005b57806370a0823114610080578063a9059cbb1461009f575b600080fd5b341561006657600080fd5b61006e6100d5565b60405190815260200160405180910390f35b341561008b57600080fd5b61006e600160a060020a03600435166100db565b34156100aa57600080fd5b6100c1600160a060020a03600435166024356100f6565b604051901515815260200160405180910390f35b60005481565b600160a060020a031660009081526001602052604090205490565b6000600160a060020a038316151561010d57600080fd5b600160a060020a03331660009081526001602052604090205482111561013257600080fd5b600160a060020a03331660009081526001602052604090205461015b908363ffffffff6101f116565b600160a060020a033381166000908152600160205260408082209390935590851681522054610190908363ffffffff61020316565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b6000828211156101fd57fe5b50900390565b60008282018381101561021257fe5b93925050505600a165627a7a72305820c4585e9aedf75c9bf074a04fcf475f8465bad2983729e0118f53094e59d8068d0029", - "deployedBytecode": "0x6060604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd811461005b57806370a0823114610080578063a9059cbb1461009f575b600080fd5b341561006657600080fd5b61006e6100d5565b60405190815260200160405180910390f35b341561008b57600080fd5b61006e600160a060020a03600435166100db565b34156100aa57600080fd5b6100c1600160a060020a03600435166024356100f6565b604051901515815260200160405180910390f35b60005481565b600160a060020a031660009081526001602052604090205490565b6000600160a060020a038316151561010d57600080fd5b600160a060020a03331660009081526001602052604090205482111561013257600080fd5b600160a060020a03331660009081526001602052604090205461015b908363ffffffff6101f116565b600160a060020a033381166000908152600160205260408082209390935590851681522054610190908363ffffffff61020316565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b6000828211156101fd57fe5b50900390565b60008282018381101561021257fe5b93925050505600a165627a7a72305820c4585e9aedf75c9bf074a04fcf475f8465bad2983729e0118f53094e59d8068d0029", - "sourceMap": "177:951:30:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "177:951:30:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;179:26:33;;;;;;;;;;;;;;;;;;;;;;;;;;;1018:107:30;;;;;;;;;;-1:-1:-1;;;;;1018:107:30;;;;;437:379;;;;;;;;;;-1:-1:-1;;;;;437:379:30;;;;;;;;;;;;;;;;;;;;;;;;179:26:33;;;;:::o;1018:107:30:-;-1:-1:-1;;;;;1104:16:30;1074:15;1104:16;;;:8;:16;;;;;;;1018:107::o;437:379::-;500:4;-1:-1:-1;;;;;520:17:30;;;;512:26;;;;;;-1:-1:-1;;;;;571:10:30;562:20;;;;;:8;:20;;;;;;552:30;;;544:39;;;;;;-1:-1:-1;;;;;685:10:30;676:20;;;;;:8;:20;;;;;;:32;;701:6;676:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;662:10:30;653:20;;;;;;:8;:20;;;;;;:55;;;;730:13;;;;;;;:25;;748:6;730:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;714:13:30;;;;;;;:8;:13;;;;;;;:41;;;;:13;770:10;761:33;;;;;;787:6;;761:33;;;;;;;;;;;;;-1:-1:-1;807:4:30;437:379;;;;:::o;584:110:28:-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;698:129::-;756:7;783:5;;;801:6;;;;794:14;;;;821:1;698:129;-1:-1:-1;;;698:129:28:o", - "source": "pragma solidity ^0.4.18;\n\n\nimport './ERC20Basic.sol';\nimport '../math/SafeMath.sol';\n\n\n/**\n * @title Basic token\n * @dev Basic version of StandardToken, with no allowances.\n */\ncontract BasicToken is ERC20Basic {\n using SafeMath for uint256;\n\n mapping(address => uint256) balances;\n\n /**\n * @dev transfer token for a specified address\n * @param _to The address to transfer to.\n * @param _value The amount to be transferred.\n */\n function transfer(address _to, uint256 _value) public returns (bool) {\n require(_to != address(0));\n require(_value <= balances[msg.sender]);\n\n // SafeMath.sub will throw if there is not enough balance.\n balances[msg.sender] = balances[msg.sender].sub(_value);\n balances[_to] = balances[_to].add(_value);\n Transfer(msg.sender, _to, _value);\n return true;\n }\n\n /**\n * @dev Gets the balance of the specified address.\n * @param _owner The address to query the the balance of.\n * @return An uint256 representing the amount owned by the passed address.\n */\n function balanceOf(address _owner) public view returns (uint256 balance) {\n return balances[_owner];\n }\n\n}\n", - "sourcePath": "zeppelin-solidity\\contracts\\token\\BasicToken.sol", - "ast": { - "attributes": { - "absolutePath": "zeppelin-solidity/contracts/token/BasicToken.sol", - "exportedSymbols": { - "BasicToken": [ - 9226 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 9142, - "name": "PragmaDirective", - "src": "0:24:30" - }, - { - "attributes": { - "SourceUnit": 9360, - "absolutePath": "zeppelin-solidity/contracts/token/ERC20Basic.sol", - "file": "./ERC20Basic.sol", - "scope": 9227, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 9143, - "name": "ImportDirective", - "src": "27:26:30" - }, - { - "attributes": { - "SourceUnit": 9085, - "absolutePath": "zeppelin-solidity/contracts/math/SafeMath.sol", - "file": "../math/SafeMath.sol", - "scope": 9227, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 9144, - "name": "ImportDirective", - "src": "54:30:30" - }, - { - "attributes": { - "contractDependencies": [ - 9359 - ], - "contractKind": "contract", - "documentation": "@title Basic token\n@dev Basic version of StandardToken, with no allowances.", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 9226, - 9359 - ], - "name": "BasicToken", - "scope": 9227 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ERC20Basic", - "referencedDeclaration": 9359, - "type": "contract ERC20Basic" - }, - "id": 9145, - "name": "UserDefinedTypeName", - "src": "200:10:30" - } - ], - "id": 9146, - "name": "InheritanceSpecifier", - "src": "200:10:30" - }, - { - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SafeMath", - "referencedDeclaration": 9084, - "type": "library SafeMath" - }, - "id": 9147, - "name": "UserDefinedTypeName", - "src": "221:8:30" - }, - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9148, - "name": "ElementaryTypeName", - "src": "234:7:30" - } - ], - "id": 9149, - "name": "UsingForDirective", - "src": "215:27:30" - }, - { - "attributes": { - "constant": false, - "name": "balances", - "scope": 9226, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => uint256)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9150, - "name": "ElementaryTypeName", - "src": "254:7:30" - }, - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9151, - "name": "ElementaryTypeName", - "src": "265:7:30" - } - ], - "id": 9152, - "name": "Mapping", - "src": "246:27:30" - } - ], - "id": 9153, - "name": "VariableDeclaration", - "src": "246:36:30" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "transfer", - "payable": false, - "scope": 9226, - "stateMutability": "nonpayable", - "superFunction": 9350, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 9213, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9154, - "name": "ElementaryTypeName", - "src": "455:7:30" - } - ], - "id": 9155, - "name": "VariableDeclaration", - "src": "455:11:30" - }, - { - "attributes": { - "constant": false, - "name": "_value", - "scope": 9213, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9156, - "name": "ElementaryTypeName", - "src": "468:7:30" - } - ], - "id": 9157, - "name": "VariableDeclaration", - "src": "468:14:30" - } - ], - "id": 9158, - "name": "ParameterList", - "src": "454:29:30" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9213, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9159, - "name": "ElementaryTypeName", - "src": "500:4:30" - } - ], - "id": 9160, - "name": "VariableDeclaration", - "src": "500:4:30" - } - ], - "id": 9161, - "name": "ParameterList", - "src": "499:6:30" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 9162, - "name": "Identifier", - "src": "512:7:30" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9155, - "type": "address", - "value": "_to" - }, - "id": 9163, - "name": "Identifier", - "src": "520:3:30" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 9164, - "name": "ElementaryTypeNameExpression", - "src": "527:7:30" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 9165, - "name": "Literal", - "src": "535:1:30" - } - ], - "id": 9166, - "name": "FunctionCall", - "src": "527:10:30" - } - ], - "id": 9167, - "name": "BinaryOperation", - "src": "520:17:30" - } - ], - "id": 9168, - "name": "FunctionCall", - "src": "512:26:30" - } - ], - "id": 9169, - "name": "ExpressionStatement", - "src": "512:26:30" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 9170, - "name": "Identifier", - "src": "544:7:30" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9157, - "type": "uint256", - "value": "_value" - }, - "id": 9171, - "name": "Identifier", - "src": "552:6:30" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9172, - "name": "Identifier", - "src": "562:8:30" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9173, - "name": "Identifier", - "src": "571:3:30" - } - ], - "id": 9174, - "name": "MemberAccess", - "src": "571:10:30" - } - ], - "id": 9175, - "name": "IndexAccess", - "src": "562:20:30" - } - ], - "id": 9176, - "name": "BinaryOperation", - "src": "552:30:30" - } - ], - "id": 9177, - "name": "FunctionCall", - "src": "544:39:30" - } - ], - "id": 9178, - "name": "ExpressionStatement", - "src": "544:39:30" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9179, - "name": "Identifier", - "src": "653:8:30" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9180, - "name": "Identifier", - "src": "662:3:30" - } - ], - "id": 9181, - "name": "MemberAccess", - "src": "662:10:30" - } - ], - "id": 9182, - "name": "IndexAccess", - "src": "653:20:30" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9183, - "name": "Identifier", - "src": "676:8:30" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9184, - "name": "Identifier", - "src": "685:3:30" - } - ], - "id": 9185, - "name": "MemberAccess", - "src": "685:10:30" - } - ], - "id": 9186, - "name": "IndexAccess", - "src": "676:20:30" - } - ], - "id": 9187, - "name": "MemberAccess", - "src": "676:24:30" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9157, - "type": "uint256", - "value": "_value" - }, - "id": 9188, - "name": "Identifier", - "src": "701:6:30" - } - ], - "id": 9189, - "name": "FunctionCall", - "src": "676:32:30" - } - ], - "id": 9190, - "name": "Assignment", - "src": "653:55:30" - } - ], - "id": 9191, - "name": "ExpressionStatement", - "src": "653:55:30" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9192, - "name": "Identifier", - "src": "714:8:30" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9155, - "type": "address", - "value": "_to" - }, - "id": 9193, - "name": "Identifier", - "src": "723:3:30" - } - ], - "id": 9194, - "name": "IndexAccess", - "src": "714:13:30" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9195, - "name": "Identifier", - "src": "730:8:30" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9155, - "type": "address", - "value": "_to" - }, - "id": 9196, - "name": "Identifier", - "src": "739:3:30" - } - ], - "id": 9197, - "name": "IndexAccess", - "src": "730:13:30" - } - ], - "id": 9198, - "name": "MemberAccess", - "src": "730:17:30" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9157, - "type": "uint256", - "value": "_value" - }, - "id": 9199, - "name": "Identifier", - "src": "748:6:30" - } - ], - "id": 9200, - "name": "FunctionCall", - "src": "730:25:30" - } - ], - "id": 9201, - "name": "Assignment", - "src": "714:41:30" - } - ], - "id": 9202, - "name": "ExpressionStatement", - "src": "714:41:30" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9358, - "type": "function (address,address,uint256)", - "value": "Transfer" - }, - "id": 9203, - "name": "Identifier", - "src": "761:8:30" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9204, - "name": "Identifier", - "src": "770:3:30" - } - ], - "id": 9205, - "name": "MemberAccess", - "src": "770:10:30" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9155, - "type": "address", - "value": "_to" - }, - "id": 9206, - "name": "Identifier", - "src": "782:3:30" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9157, - "type": "uint256", - "value": "_value" - }, - "id": 9207, - "name": "Identifier", - "src": "787:6:30" - } - ], - "id": 9208, - "name": "FunctionCall", - "src": "761:33:30" - } - ], - "id": 9209, - "name": "ExpressionStatement", - "src": "761:33:30" - }, - { - "attributes": { - "functionReturnParameters": 9161 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 9210, - "name": "Literal", - "src": "807:4:30" - } - ], - "id": 9211, - "name": "Return", - "src": "800:11:30" - } - ], - "id": 9212, - "name": "Block", - "src": "506:310:30" - } - ], - "id": 9213, - "name": "FunctionDefinition", - "src": "437:379:30" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "balanceOf", - "payable": false, - "scope": 9226, - "stateMutability": "view", - "superFunction": 9341, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_owner", - "scope": 9225, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9214, - "name": "ElementaryTypeName", - "src": "1037:7:30" - } - ], - "id": 9215, - "name": "VariableDeclaration", - "src": "1037:14:30" - } - ], - "id": 9216, - "name": "ParameterList", - "src": "1036:16:30" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "balance", - "scope": 9225, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9217, - "name": "ElementaryTypeName", - "src": "1074:7:30" - } - ], - "id": 9218, - "name": "VariableDeclaration", - "src": "1074:15:30" - } - ], - "id": 9219, - "name": "ParameterList", - "src": "1073:17:30" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 9219 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9220, - "name": "Identifier", - "src": "1104:8:30" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9215, - "type": "address", - "value": "_owner" - }, - "id": 9221, - "name": "Identifier", - "src": "1113:6:30" - } - ], - "id": 9222, - "name": "IndexAccess", - "src": "1104:16:30" - } - ], - "id": 9223, - "name": "Return", - "src": "1097:23:30" - } - ], - "id": 9224, - "name": "Block", - "src": "1091:34:30" - } - ], - "id": 9225, - "name": "FunctionDefinition", - "src": "1018:107:30" - } - ], - "id": 9226, - "name": "ContractDefinition", - "src": "177:951:30" - } - ], - "id": 9227, - "name": "SourceUnit", - "src": "0:1129:30" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.941Z" -} \ No newline at end of file diff --git a/contracts/BurnableToken.json b/contracts/BurnableToken.json deleted file mode 100644 index 2d7ba7da2..000000000 --- a/contracts/BurnableToken.json +++ /dev/null @@ -1,1161 +0,0 @@ -{ - "contractName": "BurnableToken", - "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": false, - "inputs": [ - { - "name": "_value", - "type": "uint256" - } - ], - "name": "burn", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseApproval", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "balance", - "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": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_addedValue", - "type": "uint256" - } - ], - "name": "increaseApproval", - "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": "burner", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Burn", - "type": "event" - }, - { - "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" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6107d28061001e6000396000f3006060604052600436106100985763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663095ea7b3811461009d57806318160ddd146100d357806323b872dd146100f857806342966c6814610120578063661884631461013857806370a082311461015a578063a9059cbb14610179578063d73dd6231461019b578063dd62ed3e146101bd575b600080fd5b34156100a857600080fd5b6100bf600160a060020a03600435166024356101e2565b604051901515815260200160405180910390f35b34156100de57600080fd5b6100e661024e565b60405190815260200160405180910390f35b341561010357600080fd5b6100bf600160a060020a0360043581169060243516604435610254565b341561012b57600080fd5b6101366004356103d6565b005b341561014357600080fd5b6100bf600160a060020a036004351660243561049f565b341561016557600080fd5b6100e6600160a060020a0360043516610599565b341561018457600080fd5b6100bf600160a060020a03600435166024356105b4565b34156101a657600080fd5b6100bf600160a060020a03600435166024356106af565b34156101c857600080fd5b6100e6600160a060020a0360043581169060243516610753565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a038316151561026b57600080fd5b600160a060020a03841660009081526001602052604090205482111561029057600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156102c357600080fd5b600160a060020a0384166000908152600160205260409020546102ec908363ffffffff61077e16565b600160a060020a038086166000908152600160205260408082209390935590851681522054610321908363ffffffff61079016565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610369908363ffffffff61077e16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60008082116103e457600080fd5b600160a060020a03331660009081526001602052604090205482111561040957600080fd5b5033600160a060020a03811660009081526001602052604090205461042e908361077e565b600160a060020a0382166000908152600160205260408120919091555461045b908363ffffffff61077e16565b600055600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156104fc57600160a060020a033381166000908152600260209081526040808320938816835292905290812055610533565b61050c818463ffffffff61077e16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b6000600160a060020a03831615156105cb57600080fd5b600160a060020a0333166000908152600160205260409020548211156105f057600080fd5b600160a060020a033316600090815260016020526040902054610619908363ffffffff61077e16565b600160a060020a03338116600090815260016020526040808220939093559085168152205461064e908363ffffffff61079016565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120546106e7908363ffffffff61079016565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60008282111561078a57fe5b50900390565b60008282018381101561079f57fe5b93925050505600a165627a7a7230582095156e1f3bba2da1b4bb39e5bcf36d1b221778ce49216f645a5de6b686dbe8200029", - "deployedBytecode": "0x6060604052600436106100985763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663095ea7b3811461009d57806318160ddd146100d357806323b872dd146100f857806342966c6814610120578063661884631461013857806370a082311461015a578063a9059cbb14610179578063d73dd6231461019b578063dd62ed3e146101bd575b600080fd5b34156100a857600080fd5b6100bf600160a060020a03600435166024356101e2565b604051901515815260200160405180910390f35b34156100de57600080fd5b6100e661024e565b60405190815260200160405180910390f35b341561010357600080fd5b6100bf600160a060020a0360043581169060243516604435610254565b341561012b57600080fd5b6101366004356103d6565b005b341561014357600080fd5b6100bf600160a060020a036004351660243561049f565b341561016557600080fd5b6100e6600160a060020a0360043516610599565b341561018457600080fd5b6100bf600160a060020a03600435166024356105b4565b34156101a657600080fd5b6100bf600160a060020a03600435166024356106af565b34156101c857600080fd5b6100e6600160a060020a0360043581169060243516610753565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a038316151561026b57600080fd5b600160a060020a03841660009081526001602052604090205482111561029057600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156102c357600080fd5b600160a060020a0384166000908152600160205260409020546102ec908363ffffffff61077e16565b600160a060020a038086166000908152600160205260408082209390935590851681522054610321908363ffffffff61079016565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610369908363ffffffff61077e16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60008082116103e457600080fd5b600160a060020a03331660009081526001602052604090205482111561040957600080fd5b5033600160a060020a03811660009081526001602052604090205461042e908361077e565b600160a060020a0382166000908152600160205260408120919091555461045b908363ffffffff61077e16565b600055600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156104fc57600160a060020a033381166000908152600260209081526040808320938816835292905290812055610533565b61050c818463ffffffff61077e16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b6000600160a060020a03831615156105cb57600080fd5b600160a060020a0333166000908152600160205260409020548211156105f057600080fd5b600160a060020a033316600090815260016020526040902054610619908363ffffffff61077e16565b600160a060020a03338116600090815260016020526040808220939093559085168152205461064e908363ffffffff61079016565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120546106e7908363ffffffff61079016565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60008282111561078a57fe5b50900390565b60008282018381101561079f57fe5b93925050505600a165627a7a7230582095156e1f3bba2da1b4bb39e5bcf36d1b221778ce49216f645a5de6b686dbe8200029", - "sourceMap": "149:696:31:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "149:696:31:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1799:183:35;;;;;;;;;;-1:-1:-1;;;;;1799:183:35;;;;;;;;;;;;;;;;;;;;;;;;179:26:33;;;;;;;;;;;;;;;;;;;;;;;;;;;737:439:35;;;;;;;;;;-1:-1:-1;;;;;737:439:35;;;;;;;;;;;;370:473:31;;;;;;;;;;;;;;;;2928:398:35;;;;;;;;;;-1:-1:-1;;;;;2928:398:35;;;;;;;1018:107:30;;;;;;;;;;-1:-1:-1;;;;;1018:107:30;;;;;437:379;;;;;;;;;;-1:-1:-1;;;;;437:379:30;;;;;;;2667:257:35;;;;;;;;;;-1:-1:-1;;;;;2667:257:35;;;;;;;2301:126;;;;;;;;;;-1:-1:-1;;;;;2301:126:35;;;;;;;;;;1799:183;-1:-1:-1;;;;;1886:10:35;1878:19;;1866:4;1878:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;;:38;;;1866:4;;1878:29;:19;1922:38;;1910:6;;1922:38;;;;;;;;;;;;;-1:-1:-1;1973:4:35;1799:183;;;;:::o;179:26:33:-;;;;:::o;737:439:35:-;819:4;-1:-1:-1;;;;;839:17:35;;;;831:26;;;;;;-1:-1:-1;;;;;881:15:35;;;;;;:8;:15;;;;;;871:25;;;863:34;;;;;;-1:-1:-1;;;;;921:14:35;;;;;;;:7;:14;;;;;;;;936:10;921:26;;;;;;;;;;911:36;;;903:45;;;;;;-1:-1:-1;;;;;973:15:35;;;;;;:8;:15;;;;;;:27;;993:6;973:27;:19;:27;:::i;:::-;-1:-1:-1;;;;;955:15:35;;;;;;;:8;:15;;;;;;:45;;;;1022:13;;;;;;;:25;;1040:6;1022:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;1006:13:35;;;;;;;:8;:13;;;;;;;;:41;;;;1082:14;;;;;:7;:14;;;;;1097:10;1082:26;;;;;;;;;;;:38;;1113:6;1082:38;:30;:38;:::i;:::-;-1:-1:-1;;;;;1053:14:35;;;;;;;:7;:14;;;;;;;;1068:10;1053:26;;;;;;;;;;;:67;;;;1126:28;;;;;;1147:6;;1126:28;;;;;;;;;;;;;-1:-1:-1;1167:4:35;737:439;;;;;:::o;370:473:31:-;675:14;425:10;;;417:19;;;;;;-1:-1:-1;;;;;473:10:31;464:20;;;;;:8;:20;;;;;;454:30;;;446:39;;;;;;-1:-1:-1;692:10:31;-1:-1:-1;;;;;731:16:31;;;;;;:8;:16;;;;;;:28;;752:6;731:20;:28::i;:::-;-1:-1:-1;;;;;712:16:31;;;;;;:8;:16;;;;;:47;;;;783:11;:23;;799:6;783:23;:15;:23;:::i;:::-;769:11;:37;-1:-1:-1;;;;;816:20:31;;;829:6;816:20;;;;;;;;;;;;;;370:473;;:::o;2928:398:35:-;-1:-1:-1;;;;;3047:10:35;3039:19;;3011:4;3039:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;3078:27;;;3074:164;;;-1:-1:-1;;;;;3123:10:35;3115:19;;3147:1;3115:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;:33;3074:164;;;3201:30;:8;3214:16;3201:30;:12;:30;:::i;:::-;-1:-1:-1;;;;;3177:10:35;3169:19;;;;;;:7;:19;;;;;;;;:29;;;;;;;;;:62;3074:164;-1:-1:-1;;;;;3252:10:35;3243:61;;3274:19;;;;:7;:19;;;;;;;;3243:61;;;3274:29;;;;;;;;;;;;3243:61;;;;;;;;;;;;;;;-1:-1:-1;3317:4:35;;2928:398;-1:-1:-1;;;2928:398:35:o;1018:107:30:-;-1:-1:-1;;;;;1104:16:30;1074:15;1104:16;;;:8;:16;;;;;;;1018:107::o;437:379::-;500:4;-1:-1:-1;;;;;520:17:30;;;;512:26;;;;;;-1:-1:-1;;;;;571:10:30;562:20;;;;;:8;:20;;;;;;552:30;;;544:39;;;;;;-1:-1:-1;;;;;685:10:30;676:20;;;;;:8;:20;;;;;;:32;;701:6;676:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;662:10:30;653:20;;;;;;:8;:20;;;;;;:55;;;;730:13;;;;;;;:25;;748:6;730:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;714:13:30;;;;;;;:8;:13;;;;;;;:41;;;;:13;770:10;761:33;;;;;;787:6;;761:33;;;;;;;;;;;;;-1:-1:-1;807:4:30;437:379;;;;:::o;2667:257:35:-;-1:-1:-1;;;;;2797:10:35;2789:19;;2745:4;2789:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;:46;;2823:11;2789:46;:33;:46;:::i;:::-;-1:-1:-1;;;;;2765:10:35;2757:19;;;;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;;;:78;;;:29;;:19;;2841:61;;2757:78;2841:61;;;;;;;;;;;;;-1:-1:-1;2915:4:35;2667:257;;;;:::o;2301:126::-;-1:-1:-1;;;;;2397:15:35;;;2375:7;2397:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;2301:126::o;584:110:28:-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;698:129::-;756:7;783:5;;;801:6;;;;794:14;;;;821:1;698:129;-1:-1:-1;;;698:129:28:o", - "source": "pragma solidity ^0.4.18;\n\nimport './StandardToken.sol';\n\n/**\n * @title Burnable Token\n * @dev Token that can be irreversibly burned (destroyed).\n */\ncontract BurnableToken is StandardToken {\n\n event Burn(address indexed burner, uint256 value);\n\n /**\n * @dev Burns a specific amount of tokens.\n * @param _value The amount of token to be burned.\n */\n function burn(uint256 _value) public {\n require(_value > 0);\n require(_value <= balances[msg.sender]);\n // no need to require value <= totalSupply, since that would imply the\n // sender's balance is greater than the totalSupply, which *should* be an assertion failure\n\n address burner = msg.sender;\n balances[burner] = balances[burner].sub(_value);\n totalSupply = totalSupply.sub(_value);\n Burn(burner, _value);\n }\n}\n", - "sourcePath": "zeppelin-solidity/contracts/token/BurnableToken.sol", - "ast": { - "attributes": { - "absolutePath": "zeppelin-solidity/contracts/token/BurnableToken.sol", - "exportedSymbols": { - "BurnableToken": [ - 9287 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 9228, - "name": "PragmaDirective", - "src": "0:24:31" - }, - { - "attributes": { - "SourceUnit": 9701, - "absolutePath": "zeppelin-solidity/contracts/token/StandardToken.sol", - "file": "./StandardToken.sol", - "scope": 9288, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 9229, - "name": "ImportDirective", - "src": "26:29:31" - }, - { - "attributes": { - "contractDependencies": [ - 9226, - 9330, - 9359, - 9700 - ], - "contractKind": "contract", - "documentation": "@title Burnable Token\n@dev Token that can be irreversibly burned (destroyed).", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 9287, - 9700, - 9226, - 9330, - 9359 - ], - "name": "BurnableToken", - "scope": 9288 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 9230, - "name": "UserDefinedTypeName", - "src": "175:13:31" - } - ], - "id": 9231, - "name": "InheritanceSpecifier", - "src": "175:13:31" - }, - { - "attributes": { - "anonymous": false, - "name": "Burn" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "burner", - "scope": 9237, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9232, - "name": "ElementaryTypeName", - "src": "207:7:31" - } - ], - "id": 9233, - "name": "VariableDeclaration", - "src": "207:22:31" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "value", - "scope": 9237, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9234, - "name": "ElementaryTypeName", - "src": "231:7:31" - } - ], - "id": 9235, - "name": "VariableDeclaration", - "src": "231:13:31" - } - ], - "id": 9236, - "name": "ParameterList", - "src": "206:39:31" - } - ], - "id": 9237, - "name": "EventDefinition", - "src": "196:50:31" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "burn", - "payable": false, - "scope": 9287, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_value", - "scope": 9286, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9238, - "name": "ElementaryTypeName", - "src": "384:7:31" - } - ], - "id": 9239, - "name": "VariableDeclaration", - "src": "384:14:31" - } - ], - "id": 9240, - "name": "ParameterList", - "src": "383:16:31" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 9241, - "name": "ParameterList", - "src": "407:0:31" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 9242, - "name": "Identifier", - "src": "417:7:31" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9239, - "type": "uint256", - "value": "_value" - }, - "id": 9243, - "name": "Identifier", - "src": "425:6:31" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 9244, - "name": "Literal", - "src": "434:1:31" - } - ], - "id": 9245, - "name": "BinaryOperation", - "src": "425:10:31" - } - ], - "id": 9246, - "name": "FunctionCall", - "src": "417:19:31" - } - ], - "id": 9247, - "name": "ExpressionStatement", - "src": "417:19:31" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 9248, - "name": "Identifier", - "src": "446:7:31" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9239, - "type": "uint256", - "value": "_value" - }, - "id": 9249, - "name": "Identifier", - "src": "454:6:31" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9250, - "name": "Identifier", - "src": "464:8:31" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9251, - "name": "Identifier", - "src": "473:3:31" - } - ], - "id": 9252, - "name": "MemberAccess", - "src": "473:10:31" - } - ], - "id": 9253, - "name": "IndexAccess", - "src": "464:20:31" - } - ], - "id": 9254, - "name": "BinaryOperation", - "src": "454:30:31" - } - ], - "id": 9255, - "name": "FunctionCall", - "src": "446:39:31" - } - ], - "id": 9256, - "name": "ExpressionStatement", - "src": "446:39:31" - }, - { - "attributes": { - "assignments": [ - 9258 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "burner", - "scope": 9286, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9257, - "name": "ElementaryTypeName", - "src": "675:7:31" - } - ], - "id": 9258, - "name": "VariableDeclaration", - "src": "675:14:31" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9259, - "name": "Identifier", - "src": "692:3:31" - } - ], - "id": 9260, - "name": "MemberAccess", - "src": "692:10:31" - } - ], - "id": 9261, - "name": "VariableDeclarationStatement", - "src": "675:27:31" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9262, - "name": "Identifier", - "src": "712:8:31" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9258, - "type": "address", - "value": "burner" - }, - "id": 9263, - "name": "Identifier", - "src": "721:6:31" - } - ], - "id": 9264, - "name": "IndexAccess", - "src": "712:16:31" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9265, - "name": "Identifier", - "src": "731:8:31" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9258, - "type": "address", - "value": "burner" - }, - "id": 9266, - "name": "Identifier", - "src": "740:6:31" - } - ], - "id": 9267, - "name": "IndexAccess", - "src": "731:16:31" - } - ], - "id": 9268, - "name": "MemberAccess", - "src": "731:20:31" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9239, - "type": "uint256", - "value": "_value" - }, - "id": 9269, - "name": "Identifier", - "src": "752:6:31" - } - ], - "id": 9270, - "name": "FunctionCall", - "src": "731:28:31" - } - ], - "id": 9271, - "name": "Assignment", - "src": "712:47:31" - } - ], - "id": 9272, - "name": "ExpressionStatement", - "src": "712:47:31" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9334, - "type": "uint256", - "value": "totalSupply" - }, - "id": 9273, - "name": "Identifier", - "src": "769:11:31" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9334, - "type": "uint256", - "value": "totalSupply" - }, - "id": 9274, - "name": "Identifier", - "src": "783:11:31" - } - ], - "id": 9275, - "name": "MemberAccess", - "src": "783:15:31" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9239, - "type": "uint256", - "value": "_value" - }, - "id": 9276, - "name": "Identifier", - "src": "799:6:31" - } - ], - "id": 9277, - "name": "FunctionCall", - "src": "783:23:31" - } - ], - "id": 9278, - "name": "Assignment", - "src": "769:37:31" - } - ], - "id": 9279, - "name": "ExpressionStatement", - "src": "769:37:31" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9237, - "type": "function (address,uint256)", - "value": "Burn" - }, - "id": 9280, - "name": "Identifier", - "src": "816:4:31" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9258, - "type": "address", - "value": "burner" - }, - "id": 9281, - "name": "Identifier", - "src": "821:6:31" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9239, - "type": "uint256", - "value": "_value" - }, - "id": 9282, - "name": "Identifier", - "src": "829:6:31" - } - ], - "id": 9283, - "name": "FunctionCall", - "src": "816:20:31" - } - ], - "id": 9284, - "name": "ExpressionStatement", - "src": "816:20:31" - } - ], - "id": 9285, - "name": "Block", - "src": "407:436:31" - } - ], - "id": 9286, - "name": "FunctionDefinition", - "src": "370:473:31" - } - ], - "id": 9287, - "name": "ContractDefinition", - "src": "149:696:31" - } - ], - "id": 9288, - "name": "SourceUnit", - "src": "0:846:31" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.945Z" -} \ No newline at end of file diff --git a/contracts/ContributionReward.json b/contracts/ContributionReward.json deleted file mode 100644 index 4636c4922..000000000 --- a/contracts/ContributionReward.json +++ /dev/null @@ -1,7121 +0,0 @@ -{ - "contractName": "ContributionReward", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "parameters", - "outputs": [ - { - "name": "orgNativeTokenFee", - "type": "uint256" - }, - { - "name": "voteApproveParams", - "type": "bytes32" - }, - { - "name": "schemeNativeTokenFee", - "type": "uint256" - }, - { - "name": "intVote", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "bytes32" - } - ], - "name": "organizationsProposals", - "outputs": [ - { - "name": "contributionDescriptionHash", - "type": "bytes32" - }, - { - "name": "nativeTokenReward", - "type": "uint256" - }, - { - "name": "reputationReward", - "type": "uint256" - }, - { - "name": "ethReward", - "type": "uint256" - }, - { - "name": "externalToken", - "type": "address" - }, - { - "name": "externalTokenReward", - "type": "uint256" - }, - { - "name": "beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_param", - "type": "int256" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "beneficiary", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_orgNativeTokenFee", - "type": "uint256" - }, - { - "name": "_schemeNativeTokenFee", - "type": "uint256" - }, - { - "name": "_voteApproveParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_orgNativeTokenFee", - "type": "uint256" - }, - { - "name": "_schemeNativeTokenFee", - "type": "uint256" - }, - { - "name": "_voteApproveParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_contributionDesciptionHash", - "type": "bytes32" - }, - { - "name": "_rewards", - "type": "uint256[4]" - }, - { - "name": "_externalToken", - "type": "address" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "name": "submitContribution", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "fee", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hashedParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_contributionDesciption", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_nativeTokenReward", - "type": "uint256" - }, - { - "indexed": false, - "name": "_reputationReward", - "type": "uint256" - }, - { - "indexed": false, - "name": "_ethReward", - "type": "uint256" - }, - { - "indexed": false, - "name": "_externalTokenReward", - "type": "uint256" - }, - { - "indexed": false, - "name": "_externalToken", - "type": "address" - }, - { - "indexed": false, - "name": "_beneficiary", - "type": "address" - } - ], - "name": "LogNewContributionProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalExecuted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalDeleted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6040516060806112a083398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a031617815590925061006b9150849084908490640100000000610073810261086b1704565b5050506100c6565b60005433600160a060020a0390811691161461008e57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b6111cb806100d56000396000f3006060604052600436106100cc5763ffffffff60e060020a6000350416630250680481146100d157806306e3a9781461011b578063310ce4e21461018957806338af3eed146101c25780634345a610146101f15780635a1f74061461021f5780638da5cb5b1461023e57806390be003c1461025157806399c0bef514610270578063b8961d32146102aa578063bd7a89fa146102d2578063c3c5a5471461032d578063ddca3f431461034c578063e1758bd81461035f578063f2fde38b14610372578063f98e87ba14610391575b600080fd5b34156100dc57600080fd5b6100e76004356103a4565b6040519384526020840192909252604080840191909152600160a060020a0390911660608301526080909101905180910390f35b341561012657600080fd5b61013d600160a060020a03600435166024356103d4565b60405196875260208701959095526040808701949094526060860192909252600160a060020a03908116608086015260a085019190915290911660c083015260e0909101905180910390f35b341561019457600080fd5b6101ae600435600160a060020a0360243516604435610426565b604051901515815260200160405180910390f35b34156101cd57600080fd5b6101d561085c565b604051600160a060020a03909116815260200160405180910390f35b34156101fc57600080fd5b61021d600160a060020a03600435811690602435906044351660643561086b565b005b341561022a57600080fd5b6101ae600160a060020a03600435166108be565b341561024957600080fd5b6101d56108d3565b341561025c57600080fd5b61021d600160a060020a03600435166108e2565b341561027b57600080fd5b610298600435602435604435600160a060020a0360643516610a0b565b60405190815260200160405180910390f35b34156102b557600080fd5b610298600435602435604435600160a060020a0360643516610a5d565b34156102dd57600080fd5b61029860048035600160a060020a0316906024359060c46044826080604051908101604052919082826080808284375093955050600160a060020a03843581169460200135169250610ab6915050565b341561033857600080fd5b6101ae600160a060020a0360043516610f98565b341561035757600080fd5b610298610fb6565b341561036a57600080fd5b6101d5610fbc565b341561037d57600080fd5b61021d600160a060020a0360043516610fcb565b341561039c57600080fd5b610298611059565b600760205260009081526040902080546001820154600283015460039093015491929091600160a060020a031684565b6006602081815260009384526040808520909152918352912080546001820154600283015460038401546004850154600586015495909601549395929491939092600160a060020a0390811692911687565b600061043061113c565b600033600160a060020a0316600760006104498861105f565b8152602081019190915260400160002060030154600160a060020a03161461047057600080fd5b83600114156107be57600160a060020a0385166000908152600660209081526040808320898452909152908190209060e0905190810160409081528254825260018301546020830152600283015481830152600383015460608301526004830154600160a060020a039081166080840152600584015460a0840152600690930154831660c083015290935090861690638da5cb5b9060009051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561053b57600080fd5b6102c65a03f1151561054c57600080fd5b5050506040518051915050600160a060020a0381166318e236e460408401518460c0015160006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b15156105bd57600080fd5b6102c65a03f115156105ce57600080fd5b5050506040518051905015156105e357600080fd5b80600160a060020a03166310c5b32883602001518460c0015160006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b151561064957600080fd5b6102c65a03f1151561065a57600080fd5b50505060405180519050151561066f57600080fd5b80600160a060020a031663cb16d4a283606001518460c0015160006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b15156106d557600080fd5b6102c65a03f115156106e657600080fd5b5050506040518051905015156106fb57600080fd5b60006080830151600160a060020a03161415801561071d575060008260a00151115b156107be5780600160a060020a031663dab0efff83608001518460c001518560a0015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561079857600080fd5b6102c65a03f115156107a957600080fd5b5050506040518051905015156107be57600080fd5b600160a060020a03851660008181526006602081815260408084208b8552909152808320838155600181018490556002810184905560038101849055600481018054600160a060020a0319908116909155600582019490945590910180549092169091558791907f1f9b6fe94f8389fd9936094c2246b3cb2b4392e59e72e915e70e6a08a47a1fb9905160405180910390a350600195945050505050565b600354600160a060020a031681565b60005433600160a060020a0390811691161461088657600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b600054600160a060020a031681565b600060025411801561090d5750600160a060020a03811660009081526005602052604090205460ff16155b156109a657600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561098a57600080fd5b6102c65a03f1151561099b57600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b6000828585846040519384526020840192909252604080840191909152600160a060020a039091166c010000000000000000000000000260608301526074909101905180910390209050949350505050565b600080610a6c86868686610a0b565b600081815260076020526040902096875560028701959095555050600184019190915560039092018054600160a060020a031916600160a060020a03939093169290921790915590565b6000610ac0611178565b6000610aca61113c565b600160a060020a038916600090815260056020526040902054899060ff161515610af357600080fd5b60076000610b008c61105f565b815260208101919091526040908101600020906080905190810160409081528254825260018301546020830152600283015490820152600390910154600160a060020a031660608201529350600084511115610c3d5789600160a060020a031663e1758bd86000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610b9c57600080fd5b6102c65a03f11515610bad57600080fd5b5050506040518051600160a060020a031690506323b872dd338c875160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610c2157600080fd5b6102c65a03f11515610c3257600080fd5b505050604051805150505b600084604001511115610cd657600154600160a060020a03166323b872dd338c604088015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610cba57600080fd5b6102c65a03f11515610ccb57600080fd5b505050604051805150505b8360600151600160a060020a03166388737b5e600286602001518d3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b1515610d4f57600080fd5b6102c65a03f11515610d6057600080fd5b5050506040518051935050600160a060020a0386161515610d7f573395505b60e060405190810160405289815260208101895181526020018960016020020151815260200160408a01518152600160a060020a038916602082015260400160608a01518152600160a060020a038089166020928301528c166000908152600682526040808220878352909252209092508290815181556020820151816001015560408201518160020155606082015181600301556080820151600482018054600160a060020a031916600160a060020a039290921691909117905560a0820151816005015560c08201516006919091018054600160a060020a031916600160a060020a03909216919091179055506060840151600160a060020a039081169084908c167f5cc98899c5cc30cc7fb336d0e1f31f81039617b2e23ff5ed8cd43803208e75ac8c8c5160208e015160408f01518f600360200201518f8f604051968752602087019590955260408087019490945260608601929092526080850152600160a060020a0390811660a085015290911660c083015260e0909101905180910390a48360600151600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b1515610f6f57600080fd5b6102c65a03f11515610f8057600080fd5b505050604051805150929a9950505050505050505050565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a03908116911614610fe657600080fd5b600160a060020a0381161515610ffb57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156110a857600080fd5b6102c65a03f115156110b957600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561111b57600080fd5b6102c65a03f1151561112c57600080fd5b5050506040518051949350505050565b60e06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c082015290565b608060405190810160409081526000808352602083018190529082018190526060820152905600a165627a7a723058200b634ae8657cfd7510635b0701e134f93813bd4b97ca62845777d10f7cde985c0029", - "deployedBytecode": "0x6060604052600436106100cc5763ffffffff60e060020a6000350416630250680481146100d157806306e3a9781461011b578063310ce4e21461018957806338af3eed146101c25780634345a610146101f15780635a1f74061461021f5780638da5cb5b1461023e57806390be003c1461025157806399c0bef514610270578063b8961d32146102aa578063bd7a89fa146102d2578063c3c5a5471461032d578063ddca3f431461034c578063e1758bd81461035f578063f2fde38b14610372578063f98e87ba14610391575b600080fd5b34156100dc57600080fd5b6100e76004356103a4565b6040519384526020840192909252604080840191909152600160a060020a0390911660608301526080909101905180910390f35b341561012657600080fd5b61013d600160a060020a03600435166024356103d4565b60405196875260208701959095526040808701949094526060860192909252600160a060020a03908116608086015260a085019190915290911660c083015260e0909101905180910390f35b341561019457600080fd5b6101ae600435600160a060020a0360243516604435610426565b604051901515815260200160405180910390f35b34156101cd57600080fd5b6101d561085c565b604051600160a060020a03909116815260200160405180910390f35b34156101fc57600080fd5b61021d600160a060020a03600435811690602435906044351660643561086b565b005b341561022a57600080fd5b6101ae600160a060020a03600435166108be565b341561024957600080fd5b6101d56108d3565b341561025c57600080fd5b61021d600160a060020a03600435166108e2565b341561027b57600080fd5b610298600435602435604435600160a060020a0360643516610a0b565b60405190815260200160405180910390f35b34156102b557600080fd5b610298600435602435604435600160a060020a0360643516610a5d565b34156102dd57600080fd5b61029860048035600160a060020a0316906024359060c46044826080604051908101604052919082826080808284375093955050600160a060020a03843581169460200135169250610ab6915050565b341561033857600080fd5b6101ae600160a060020a0360043516610f98565b341561035757600080fd5b610298610fb6565b341561036a57600080fd5b6101d5610fbc565b341561037d57600080fd5b61021d600160a060020a0360043516610fcb565b341561039c57600080fd5b610298611059565b600760205260009081526040902080546001820154600283015460039093015491929091600160a060020a031684565b6006602081815260009384526040808520909152918352912080546001820154600283015460038401546004850154600586015495909601549395929491939092600160a060020a0390811692911687565b600061043061113c565b600033600160a060020a0316600760006104498861105f565b8152602081019190915260400160002060030154600160a060020a03161461047057600080fd5b83600114156107be57600160a060020a0385166000908152600660209081526040808320898452909152908190209060e0905190810160409081528254825260018301546020830152600283015481830152600383015460608301526004830154600160a060020a039081166080840152600584015460a0840152600690930154831660c083015290935090861690638da5cb5b9060009051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561053b57600080fd5b6102c65a03f1151561054c57600080fd5b5050506040518051915050600160a060020a0381166318e236e460408401518460c0015160006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b15156105bd57600080fd5b6102c65a03f115156105ce57600080fd5b5050506040518051905015156105e357600080fd5b80600160a060020a03166310c5b32883602001518460c0015160006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b151561064957600080fd5b6102c65a03f1151561065a57600080fd5b50505060405180519050151561066f57600080fd5b80600160a060020a031663cb16d4a283606001518460c0015160006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b15156106d557600080fd5b6102c65a03f115156106e657600080fd5b5050506040518051905015156106fb57600080fd5b60006080830151600160a060020a03161415801561071d575060008260a00151115b156107be5780600160a060020a031663dab0efff83608001518460c001518560a0015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561079857600080fd5b6102c65a03f115156107a957600080fd5b5050506040518051905015156107be57600080fd5b600160a060020a03851660008181526006602081815260408084208b8552909152808320838155600181018490556002810184905560038101849055600481018054600160a060020a0319908116909155600582019490945590910180549092169091558791907f1f9b6fe94f8389fd9936094c2246b3cb2b4392e59e72e915e70e6a08a47a1fb9905160405180910390a350600195945050505050565b600354600160a060020a031681565b60005433600160a060020a0390811691161461088657600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b600054600160a060020a031681565b600060025411801561090d5750600160a060020a03811660009081526005602052604090205460ff16155b156109a657600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561098a57600080fd5b6102c65a03f1151561099b57600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b6000828585846040519384526020840192909252604080840191909152600160a060020a039091166c010000000000000000000000000260608301526074909101905180910390209050949350505050565b600080610a6c86868686610a0b565b600081815260076020526040902096875560028701959095555050600184019190915560039092018054600160a060020a031916600160a060020a03939093169290921790915590565b6000610ac0611178565b6000610aca61113c565b600160a060020a038916600090815260056020526040902054899060ff161515610af357600080fd5b60076000610b008c61105f565b815260208101919091526040908101600020906080905190810160409081528254825260018301546020830152600283015490820152600390910154600160a060020a031660608201529350600084511115610c3d5789600160a060020a031663e1758bd86000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610b9c57600080fd5b6102c65a03f11515610bad57600080fd5b5050506040518051600160a060020a031690506323b872dd338c875160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610c2157600080fd5b6102c65a03f11515610c3257600080fd5b505050604051805150505b600084604001511115610cd657600154600160a060020a03166323b872dd338c604088015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610cba57600080fd5b6102c65a03f11515610ccb57600080fd5b505050604051805150505b8360600151600160a060020a03166388737b5e600286602001518d3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b1515610d4f57600080fd5b6102c65a03f11515610d6057600080fd5b5050506040518051935050600160a060020a0386161515610d7f573395505b60e060405190810160405289815260208101895181526020018960016020020151815260200160408a01518152600160a060020a038916602082015260400160608a01518152600160a060020a038089166020928301528c166000908152600682526040808220878352909252209092508290815181556020820151816001015560408201518160020155606082015181600301556080820151600482018054600160a060020a031916600160a060020a039290921691909117905560a0820151816005015560c08201516006919091018054600160a060020a031916600160a060020a03909216919091179055506060840151600160a060020a039081169084908c167f5cc98899c5cc30cc7fb336d0e1f31f81039617b2e23ff5ed8cd43803208e75ac8c8c5160208e015160408f01518f600360200201518f8f604051968752602087019590955260408087019490945260608601929092526080850152600160a060020a0390811660a085015290911660c083015260e0909101905180910390a48360600151600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b1515610f6f57600080fd5b6102c65a03f11515610f8057600080fd5b505050604051805150929a9950505050505050505050565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a03908116911614610fe657600080fd5b600160a060020a0381161515610ffb57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156110a857600080fd5b6102c65a03f115156110b957600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561111b57600080fd5b6102c65a03f1151561112c57600080fd5b5050506040518051949350505050565b60e06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c082015290565b608060405190810160409081526000808352602083018190529082018190526060820152905600a165627a7a723058200b634ae8657cfd7510635b0701e134f93813bd4b97ca62845777d10f7cde985c0029", - "sourceMap": "347:8558:15:-;;;2431:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;2431:177:15;;-1:-1:-1;2538:62:15;;-1:-1:-1;2555:12:15;;2569:4;;2431:177;;2538:16;;;;;;:62;:::i;:::-;2431:177;;;347:8558;;1314:347:22;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;347:8558:15:-;;;;;;;", - "deployedSourceMap": "347:8558:15:-;;;;;;;;;-1:-1:-1;;;347:8558:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2288:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2288:46:15;;;;;;;;;;;;;;;;;;1554:86;;;;;;;;;;-1:-1:-1;;;;;1554:86:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1554:86:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7471:1431;;;;;;;;;;;;-1:-1:-1;;;;;7471:1431:15;;;;;;;;;;;;;;;;;;;;;;;;407:26:22;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:26:22;;;;;;;;;;;;;;1314:347;;;;;;;;;;-1:-1:-1;;;;;1314:347:22;;;;;;;;;;;;;;;;;591:43;;;;;;;;;;-1:-1:-1;;;;;591:43:22;;;;;238:20:29;;;;;;;;;;;;866:315:22;;;;;;;;;;-1:-1:-1;;;;;866:315:22;;;;;4053:322:15;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4053:322:15;;;;;;;;;;;;;;;;;;;;2716:698;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2716:698:15;;;;;5031:2117;;;;;;;;;;;;;-1:-1:-1;;;;;5031:2117:15;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5031:2117:15;;-1:-1:-1;;;;;;;5031:2117:15;;;;;;;;;;-1:-1:-1;5031:2117:15;;-1:-1:-1;;5031:2117:15;1189:117:22;;;;;;;;;;-1:-1:-1;;;;;1189:117:22;;;;;385:15;;;;;;;;;;;;346:32;;;;;;;;;;;;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;440:31:22;;;;;;;;;;;;2288:46:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2288:46:15;;:::o;1554:86::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1554:86:15;;;;;;;:::o;7471:1431::-;7553:4;7851:36;;:::i;:::-;7978:21;7705:10;-1:-1:-1;;;;;7637:78:15;:10;:56;7648:44;7683:7;7648:27;:44::i;:::-;7637:56;;;;;;;;;;;;;:64;;;-1:-1:-1;;;;;7637:64:15;:78;7629:87;;;;;;7773:6;7783:1;7773:11;7769:990;;;-1:-1:-1;;;;;7890:31:15;;;;;;:22;:31;;;;;;;;:44;;;;;;;;;;;7851:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7851:83:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8013:21:15;;;;;;7851:83;;8013:23;;;;;;;;;-1:-1:-1;;;8013:23:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;8057:25:15;;;8087;;;;8115:8;:20;;;8057:79;;;;;;;;-1:-1:-1;;;8057:79:15;;;;;;;;;;;;;-1:-1:-1;;;;;8057:79:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8056:80;8052:131;;;8157:8;;;8052:131;8202:10;-1:-1:-1;;;;;8202:21:15;;8224:8;:26;;;8252:8;:20;;;8202:71;;;;;;;;-1:-1:-1;;;8202:71:15;;;;;;;;;;;;;-1:-1:-1;;;;;8202:71:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8201:72;8197:123;;;8294:8;;;8197:123;8339:10;-1:-1:-1;;;;;8339:20:15;;8360:8;:18;;;8380:8;:20;;;8339:62;;;;;;;;-1:-1:-1;;;8339:62:15;;;;;;;;;;;;;-1:-1:-1;;;;;8339:62:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8338:63;8334:114;;;8422:8;;;8334:114;8500:1;8466:22;;;;-1:-1:-1;;;;;8466:36:15;;;:72;;;;;8537:1;8506:8;:28;;;:32;8466:72;8462:284;;;8564:10;-1:-1:-1;;;;;8564:32:15;;8597:8;:22;;;8621:8;:20;;;8643:8;:28;;;8564:108;;;;;;;;-1:-1:-1;;;8564:108:15;;;;;;-1:-1:-1;;;;;8564:108:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8563:109;8559:168;;;8697:8;;;8559:168;-1:-1:-1;;;;;8776:31:15;;;;;;:22;:31;;;;;;;;:44;;;;;;;;;8769:51;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8769:51:15;;;;;;;;;;;;;;;;;;;;;;;;8808:11;;8776:31;8831:41;;;;;;;;;;-1:-1:-1;8890:4:15;;7471:1431;-1:-1:-1;;;;;7471:1431:15:o;407:26:22:-;;;-1:-1:-1;;;;;407:26:22;;:::o;1314:347::-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;591:43::-;;;;;;;;;;;;;;;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;866:315:22:-;980:1;974:3;;:7;973:39;;;;-1:-1:-1;;;;;;989:22:22;;;;;;:13;:22;;;;;;;;987:24;973:39;969:123;;;1029:11;;1063;;1076:3;;-1:-1:-1;;;;;1029:11:22;;;;:24;;1054:7;;1063:11;;;1029;:51;;;;;;;-1:-1:-1;;;1029:51:22;;;;;;-1:-1:-1;;;;;1029:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;969:123:22;-1:-1:-1;;;;;1102:22:22;;;;;;:13;:22;;;;;;;:29;;-1:-1:-1;;1102:29:22;1127:4;1102:29;;;1142:31;;1116:7;;1142:31;-1:-1:-1;;;;;1142:31:22;;;;;;;;;;;;;;866:315;:::o;4053:322:15:-;4251:7;4294:18;4314;4334:21;4357:8;4284:82;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4284:82:15;;;;;;;;;;;;;;;;;;;;4276:91;;4053:322;;;;;;:::o;2716:698::-;2905:7;2930:18;2951:153;2983:18;3016:21;3052:18;3085:8;2951:17;:153::i;:::-;3115:22;;;;:10;:22;;;;;:61;;;3187:43;;;:67;;;;-1:-1:-1;;3265:40:15;;;:61;;;;3337:30;;;;:41;;-1:-1:-1;;;;;;3337:41:15;-1:-1:-1;;;;;3337:41:15;;;;;;;;;;;3115:22;2716:698::o;5031:2117::-;5299:7;5324:34;;:::i;:::-;5816:22;6128:36;;:::i;:::-;-1:-1:-1;;;;;816:21:22;;;;;;:13;:21;;;;;;5275:7:15;;816:21:22;;808:30;;;;;;;;5361:10:15;:48;5372:36;5400:7;5372:27;:36::i;:::-;5361:48;;;;;;;;;;;;;;;;5324:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5324:85:15;;;;;;-1:-1:-1;5324:85:15;;5478:34;:38;5474:162;;;5533:7;-1:-1:-1;;;;;5533:19:15;;:21;;;;;;;;;;;-1:-1:-1;;;5533:21:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5533:34:15;;-1:-1:-1;5533:34:15;5568:10;5580:7;5589:16;:34;5533:91;;;;;;;;-1:-1:-1;;;5533:91:15;;;;;;-1:-1:-1;;;;;5533:91:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5474:162:15;5690:1;5650:16;:37;;;:41;5646:158;;;5708:11;;-1:-1:-1;;;;;5708:11:15;:24;5733:10;5745:7;5754:37;;;;5708:84;;;;;;;;-1:-1:-1;;;5708:84:15;;;;;;-1:-1:-1;;;;;5708:84:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5646:158:15;5841:16;:24;;;-1:-1:-1;;;;;5841:32:15;;5874:1;5877:16;:34;;;5913:7;5942:4;5841:107;;;;;;;;-1:-1:-1;;;5841:107:15;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5841:107:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;6008:26:15;;;6004:84;;;6066:10;6051:25;;6004:84;6167:361;;;;;;;;;;;;;;6293:8;:11;6167:361;;;;6337:8;6346:1;6337:11;;;;6167:361;;;;6374:11;;;;6167:361;;-1:-1:-1;;;;;6167:361:15;;;;;;;;6465:11;;;;6167:361;;-1:-1:-1;;;;;6167:361:15;;;;;;;;6539:31;;-1:-1:-1;6539:31:15;;;:22;:31;;;;;;:47;;;;;;;6128:400;;-1:-1:-1;6128:400:15;;;6539:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6539:58:15;-1:-1:-1;;;;;6539:58:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6539:58:15;-1:-1:-1;;;;;6539:58:15;;;;;;;;;-1:-1:-1;6702:24:15;;;;-1:-1:-1;;;;;6610:329:15;;;;6673:14;;6610:329;;;6741:27;6783:8;:11;6809;;;;6835;;;;6861:8;6870:1;6861:11;;;;6887:14;6916:12;6610:329;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6610:329:15;;;;;;;;;;;;;;;;;;;;;;;;;6987:16;:24;;;-1:-1:-1;;;;;6987:34:15;;7022:14;7038:1;7041:10;6987:65;;;;;;;;-1:-1:-1;;;6987:65:15;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6987:65:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7126:14:15;;5031:2117;-1:-1:-1;;;;;;;;;;5031:2117:15:o;1189:117:22:-;-1:-1:-1;;;;;1276:22:22;1252:4;1276:22;;;:13;:22;;;;;;;;;1189:117::o;385:15::-;;;;:::o;346:32::-;;;-1:-1:-1;;;;;346:32:22;;:::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;;;;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;440:31:22:-;;;;:::o;1761:212::-;1840:7;1860:21;1895:7;-1:-1:-1;;;;;1895:13:22;;:15;;;;;;;;;;;-1:-1:-1;;;1895:15:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;1929:30:22;;;1960:4;1929:36;;;;;;;;-1:-1:-1;;;1929:36:22;;;;;;-1:-1:-1;;;;;1929:36:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1761:212;-1:-1:-1;;;;1761:212:22:o;347:8558:15:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../VotingMachines/IntVoteInterface.sol\";\r\nimport \"./UniversalScheme.sol\";\r\n\r\n\r\n/**\r\n * @title A scheme for proposing and rewarding contributions to an organization\r\n * @dev An agent can ask an organization to recognize a contribution and reward\r\n * him with token, reputation, ether or any combination.\r\n */\r\n\r\ncontract ContributionReward is UniversalScheme {\r\n event LogNewContributionProposal(\r\n address indexed _avatar,\r\n bytes32 indexed _proposalId,\r\n address indexed _intVoteInterface,\r\n bytes32 _contributionDesciption,\r\n uint _nativeTokenReward,\r\n uint _reputationReward,\r\n uint _ethReward,\r\n uint _externalTokenReward,\r\n StandardToken _externalToken,\r\n address _beneficiary\r\n );\r\n event LogProposalExecuted(address indexed _avatar, bytes32 indexed _proposalId);\r\n event LogProposalDeleted(address indexed _avatar, bytes32 indexed _proposalId);\r\n\r\n // A struct holding the data for a contribution proposal\r\n struct ContributionProposal {\r\n bytes32 contributionDescriptionHash; // Hash of contribution document.\r\n uint nativeTokenReward; // Reward asked in the native token of the organization.\r\n uint reputationReward; // Organization reputation reward requested.\r\n uint ethReward;\r\n StandardToken externalToken;\r\n uint externalTokenReward;\r\n address beneficiary;\r\n }\r\n\r\n // A mapping from the organization (Avatar) address to the saved data of the organization:\r\n mapping(address=>mapping(bytes32=>ContributionProposal)) public organizationsProposals;\r\n\r\n // A mapping from hashes to parameters (use to store a particular configuration on the controller)\r\n // A contibution fee can be in the organization token or the scheme token or a combination\r\n struct Parameters {\r\n uint orgNativeTokenFee; // a fee (in the organization's token) that is to be paid for submitting a contribution\r\n bytes32 voteApproveParams;\r\n uint schemeNativeTokenFee; // a fee (in the present schemes token) that is to be paid for submission\r\n IntVoteInterface intVote;\r\n }\r\n // A mapping from hashes to parameters (use to store a particular configuration on the controller)\r\n mapping(bytes32=>Parameters) public parameters;\r\n\r\n /**\r\n * @dev the constructor takes a token address, fee and beneficiary\r\n */\r\n function ContributionReward(StandardToken _nativeToken, uint _fee, address _beneficiary) public {\r\n updateParameters(_nativeToken, _fee, _beneficiary, bytes32(0));\r\n }\r\n\r\n /**\r\n * @dev hash the parameters, save them if necessary, and return the hash value\r\n */\r\n function setParameters(\r\n uint _orgNativeTokenFee,\r\n uint _schemeNativeTokenFee,\r\n bytes32 _voteApproveParams,\r\n IntVoteInterface _intVote\r\n ) public returns(bytes32)\r\n {\r\n bytes32 paramsHash = getParametersHash(\r\n _orgNativeTokenFee,\r\n _schemeNativeTokenFee,\r\n _voteApproveParams,\r\n _intVote\r\n );\r\n parameters[paramsHash].orgNativeTokenFee = _orgNativeTokenFee;\r\n parameters[paramsHash].schemeNativeTokenFee = _schemeNativeTokenFee;\r\n parameters[paramsHash].voteApproveParams = _voteApproveParams;\r\n parameters[paramsHash].intVote = _intVote;\r\n return paramsHash;\r\n }\r\n\r\n /**\r\n * @dev return a hash of the given parameters\r\n * @param _orgNativeTokenFee the fee for submitting a contribution in organizations native token\r\n * @param _schemeNativeTokenFee the fee for submitting a contribution if paied in schemes native token\r\n * @param _voteApproveParams parameters for the voting machine used to approve a contribution\r\n * @param _intVote the voting machine used to approve a contribution\r\n * @return a hash of the parameters\r\n */\r\n // TODO: These fees are messy. Better to have a _fee and _feeToken pair, just as in some other contract (which one?) with some sane default\r\n function getParametersHash(\r\n uint _orgNativeTokenFee,\r\n uint _schemeNativeTokenFee,\r\n bytes32 _voteApproveParams,\r\n IntVoteInterface _intVote\r\n ) public pure returns(bytes32)\r\n {\r\n return (keccak256(_voteApproveParams, _orgNativeTokenFee, _schemeNativeTokenFee, _intVote));\r\n }\r\n\r\n /**\r\n * @dev Submit a proposal for a reward for a contribution:\r\n * @param _avatar Avatar of the organization that the contribution was made for\r\n * @param _contributionDesciptionHash A hash of the contribution's description\r\n * @param _rewards rewards array:\r\n * rewards[0] - Amount of tokens requested\r\n * rewards[1] - Amount of reputation requested\r\n * rewards[2] - Amount of ETH requested\r\n * rewards[3] - Amount of extenral tokens requested\r\n * @param _externalToken Address of external token, if reward is requested there\r\n * @param _beneficiary Who gets the rewards\r\n */\r\n function submitContribution(\r\n Avatar _avatar,\r\n bytes32 _contributionDesciptionHash,\r\n uint[4] _rewards,\r\n StandardToken _externalToken,\r\n address _beneficiary\r\n ) public\r\n onlyRegisteredOrganization(_avatar)\r\n returns(bytes32)\r\n {\r\n Parameters memory controllerParams = parameters[getParametersFromController(_avatar)];\r\n // Pay fees for submitting the contribution:\r\n if (controllerParams.orgNativeTokenFee > 0) {\r\n _avatar.nativeToken().transferFrom(msg.sender, _avatar, controllerParams.orgNativeTokenFee);\r\n }\r\n if (controllerParams.schemeNativeTokenFee > 0) {\r\n nativeToken.transferFrom(msg.sender, _avatar, controllerParams.schemeNativeTokenFee);\r\n }\r\n\r\n bytes32 contributionId = controllerParams.intVote.propose(2, controllerParams.voteApproveParams, _avatar, ExecutableInterface(this));\r\n\r\n // Check beneficiary is not null:\r\n if (_beneficiary == address(0)) {\r\n _beneficiary = msg.sender;\r\n }\r\n\r\n // Set the struct:\r\n ContributionProposal memory proposal = ContributionProposal({\r\n contributionDescriptionHash: _contributionDesciptionHash,\r\n nativeTokenReward: _rewards[0],\r\n reputationReward: _rewards[1],\r\n ethReward: _rewards[2],\r\n externalToken: _externalToken,\r\n externalTokenReward: _rewards[3],\r\n beneficiary: _beneficiary\r\n });\r\n organizationsProposals[_avatar][contributionId] = proposal;\r\n\r\n LogNewContributionProposal(\r\n _avatar,\r\n contributionId,\r\n controllerParams.intVote,\r\n _contributionDesciptionHash,\r\n _rewards[0],\r\n _rewards[1],\r\n _rewards[2],\r\n _rewards[3],\r\n _externalToken,\r\n _beneficiary\r\n );\r\n\r\n // vote for this proposal\r\n controllerParams.intVote.ownerVote(contributionId, 1, msg.sender); // Automatically votes `yes` in the name of the opener.\r\n return contributionId;\r\n }\r\n\r\n /**\r\n * @dev execution of proposals, can only be called by the voting machine in which the vote is held.\r\n * @param _proposalId the ID of the voting in the voting machine\r\n * @param _avatar address of the controller\r\n * @param _param a parameter of the voting result, 0 is no and 1 is yes.\r\n */\r\n function execute(bytes32 _proposalId, address _avatar, int _param) public returns(bool) {\r\n // Check the caller is indeed the voting machine:\r\n require(parameters[getParametersFromController(Avatar(_avatar))].intVote == msg.sender);\r\n // Check if vote was successful:\r\n if (_param == 1) {\r\n // Define controller and get the parmas:\r\n ContributionProposal memory proposal = organizationsProposals[_avatar][_proposalId];\r\n\r\n // pay the funds:\r\n Controller controller = Controller(Avatar(_avatar).owner());\r\n if (!controller.mintReputation(int(proposal.reputationReward), proposal.beneficiary)) {\r\n revert();\r\n }\r\n if (!controller.mintTokens(proposal.nativeTokenReward, proposal.beneficiary)) {\r\n revert();\r\n }\r\n if (!controller.sendEther(proposal.ethReward, proposal.beneficiary)) {\r\n revert();\r\n }\r\n if (proposal.externalToken != address(0) && proposal.externalTokenReward > 0) {\r\n if (!controller.externalTokenTransfer(proposal.externalToken, proposal.beneficiary, proposal.externalTokenReward)) {\r\n revert();\r\n }\r\n }\r\n }\r\n delete organizationsProposals[_avatar][_proposalId];\r\n LogProposalExecuted(_avatar, _proposalId);\r\n return true;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\ContributionReward.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/ContributionReward.sol", - "exportedSymbols": { - "ContributionReward": [ - 5140 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 4689, - "name": "PragmaDirective", - "src": "0:24:15" - }, - { - "attributes": { - "SourceUnit": 2659, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/IntVoteInterface.sol", - "file": "../VotingMachines/IntVoteInterface.sol", - "scope": 5141, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4690, - "name": "ImportDirective", - "src": "28:48:15" - }, - { - "attributes": { - "SourceUnit": 7230, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "file": "./UniversalScheme.sol", - "scope": 5141, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4691, - "name": "ImportDirective", - "src": "78:31:15" - }, - { - "attributes": { - "contractDependencies": [ - 7229, - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": "@title A scheme for proposing and rewarding contributions to an organization\r\n@dev An agent can ask an organization to recognize a contribution and reward\r\nhim with token, reputation, ether or any combination.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5140, - 7229, - 7259, - 9140 - ], - "name": "ContributionReward", - "scope": 5141 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalScheme", - "referencedDeclaration": 7229, - "type": "contract UniversalScheme" - }, - "id": 4692, - "name": "UserDefinedTypeName", - "src": "378:15:15" - } - ], - "id": 4693, - "name": "InheritanceSpecifier", - "src": "378:15:15" - }, - { - "attributes": { - "anonymous": false, - "name": "LogNewContributionProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 4715, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4694, - "name": "ElementaryTypeName", - "src": "444:7:15" - } - ], - "id": 4695, - "name": "VariableDeclaration", - "src": "444:23:15" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 4715, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4696, - "name": "ElementaryTypeName", - "src": "478:7:15" - } - ], - "id": 4697, - "name": "VariableDeclaration", - "src": "478:27:15" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_intVoteInterface", - "scope": 4715, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4698, - "name": "ElementaryTypeName", - "src": "516:7:15" - } - ], - "id": 4699, - "name": "VariableDeclaration", - "src": "516:33:15" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_contributionDesciption", - "scope": 4715, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4700, - "name": "ElementaryTypeName", - "src": "560:7:15" - } - ], - "id": 4701, - "name": "VariableDeclaration", - "src": "560:31:15" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_nativeTokenReward", - "scope": 4715, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4702, - "name": "ElementaryTypeName", - "src": "602:4:15" - } - ], - "id": 4703, - "name": "VariableDeclaration", - "src": "602:23:15" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_reputationReward", - "scope": 4715, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4704, - "name": "ElementaryTypeName", - "src": "636:4:15" - } - ], - "id": 4705, - "name": "VariableDeclaration", - "src": "636:22:15" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_ethReward", - "scope": 4715, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4706, - "name": "ElementaryTypeName", - "src": "669:4:15" - } - ], - "id": 4707, - "name": "VariableDeclaration", - "src": "669:15:15" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_externalTokenReward", - "scope": 4715, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4708, - "name": "ElementaryTypeName", - "src": "695:4:15" - } - ], - "id": 4709, - "name": "VariableDeclaration", - "src": "695:25:15" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_externalToken", - "scope": 4715, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4710, - "name": "UserDefinedTypeName", - "src": "731:13:15" - } - ], - "id": 4711, - "name": "VariableDeclaration", - "src": "731:28:15" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_beneficiary", - "scope": 4715, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4712, - "name": "ElementaryTypeName", - "src": "770:7:15" - } - ], - "id": 4713, - "name": "VariableDeclaration", - "src": "770:20:15" - } - ], - "id": 4714, - "name": "ParameterList", - "src": "433:364:15" - } - ], - "id": 4715, - "name": "EventDefinition", - "src": "401:397:15" - }, - { - "attributes": { - "anonymous": false, - "name": "LogProposalExecuted" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 4721, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4716, - "name": "ElementaryTypeName", - "src": "830:7:15" - } - ], - "id": 4717, - "name": "VariableDeclaration", - "src": "830:23:15" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 4721, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4718, - "name": "ElementaryTypeName", - "src": "855:7:15" - } - ], - "id": 4719, - "name": "VariableDeclaration", - "src": "855:27:15" - } - ], - "id": 4720, - "name": "ParameterList", - "src": "829:54:15" - } - ], - "id": 4721, - "name": "EventDefinition", - "src": "804:80:15" - }, - { - "attributes": { - "anonymous": false, - "name": "LogProposalDeleted" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 4727, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4722, - "name": "ElementaryTypeName", - "src": "915:7:15" - } - ], - "id": 4723, - "name": "VariableDeclaration", - "src": "915:23:15" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 4727, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4724, - "name": "ElementaryTypeName", - "src": "940:7:15" - } - ], - "id": 4725, - "name": "VariableDeclaration", - "src": "940:27:15" - } - ], - "id": 4726, - "name": "ParameterList", - "src": "914:54:15" - } - ], - "id": 4727, - "name": "EventDefinition", - "src": "890:79:15" - }, - { - "attributes": { - "canonicalName": "ContributionReward.ContributionProposal", - "name": "ContributionProposal", - "scope": 5140, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "contributionDescriptionHash", - "scope": 4742, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4728, - "name": "ElementaryTypeName", - "src": "1078:7:15" - } - ], - "id": 4729, - "name": "VariableDeclaration", - "src": "1078:35:15" - }, - { - "attributes": { - "constant": false, - "name": "nativeTokenReward", - "scope": 4742, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4730, - "name": "ElementaryTypeName", - "src": "1158:4:15" - } - ], - "id": 4731, - "name": "VariableDeclaration", - "src": "1158:22:15" - }, - { - "attributes": { - "constant": false, - "name": "reputationReward", - "scope": 4742, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4732, - "name": "ElementaryTypeName", - "src": "1248:4:15" - } - ], - "id": 4733, - "name": "VariableDeclaration", - "src": "1248:21:15" - }, - { - "attributes": { - "constant": false, - "name": "ethReward", - "scope": 4742, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4734, - "name": "ElementaryTypeName", - "src": "1325:4:15" - } - ], - "id": 4735, - "name": "VariableDeclaration", - "src": "1325:14:15" - }, - { - "attributes": { - "constant": false, - "name": "externalToken", - "scope": 4742, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4736, - "name": "UserDefinedTypeName", - "src": "1350:13:15" - } - ], - "id": 4737, - "name": "VariableDeclaration", - "src": "1350:27:15" - }, - { - "attributes": { - "constant": false, - "name": "externalTokenReward", - "scope": 4742, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4738, - "name": "ElementaryTypeName", - "src": "1388:4:15" - } - ], - "id": 4739, - "name": "VariableDeclaration", - "src": "1388:24:15" - }, - { - "attributes": { - "constant": false, - "name": "beneficiary", - "scope": 4742, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4740, - "name": "ElementaryTypeName", - "src": "1423:7:15" - } - ], - "id": 4741, - "name": "VariableDeclaration", - "src": "1423:19:15" - } - ], - "id": 4742, - "name": "StructDefinition", - "src": "1039:411:15" - }, - { - "attributes": { - "constant": false, - "name": "organizationsProposals", - "scope": 5140, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4743, - "name": "ElementaryTypeName", - "src": "1562:7:15" - }, - { - "attributes": { - "type": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4744, - "name": "ElementaryTypeName", - "src": "1579:7:15" - }, - { - "attributes": { - "contractScope": null, - "name": "ContributionProposal", - "referencedDeclaration": 4742, - "type": "struct ContributionReward.ContributionProposal storage pointer" - }, - "id": 4745, - "name": "UserDefinedTypeName", - "src": "1588:20:15" - } - ], - "id": 4746, - "name": "Mapping", - "src": "1571:38:15" - } - ], - "id": 4747, - "name": "Mapping", - "src": "1554:56:15" - } - ], - "id": 4748, - "name": "VariableDeclaration", - "src": "1554:86:15" - }, - { - "attributes": { - "canonicalName": "ContributionReward.Parameters", - "name": "Parameters", - "scope": 5140, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "orgNativeTokenFee", - "scope": 4757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4749, - "name": "ElementaryTypeName", - "src": "1878:4:15" - } - ], - "id": 4750, - "name": "VariableDeclaration", - "src": "1878:22:15" - }, - { - "attributes": { - "constant": false, - "name": "voteApproveParams", - "scope": 4757, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4751, - "name": "ElementaryTypeName", - "src": "1999:7:15" - } - ], - "id": 4752, - "name": "VariableDeclaration", - "src": "1999:25:15" - }, - { - "attributes": { - "constant": false, - "name": "schemeNativeTokenFee", - "scope": 4757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4753, - "name": "ElementaryTypeName", - "src": "2035:4:15" - } - ], - "id": 4754, - "name": "VariableDeclaration", - "src": "2035:25:15" - }, - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 4757, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 4755, - "name": "UserDefinedTypeName", - "src": "2146:16:15" - } - ], - "id": 4756, - "name": "VariableDeclaration", - "src": "2146:24:15" - } - ], - "id": 4757, - "name": "StructDefinition", - "src": "1849:329:15" - }, - { - "attributes": { - "constant": false, - "name": "parameters", - "scope": 5140, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4758, - "name": "ElementaryTypeName", - "src": "2296:7:15" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 4757, - "type": "struct ContributionReward.Parameters storage pointer" - }, - "id": 4759, - "name": "UserDefinedTypeName", - "src": "2305:10:15" - } - ], - "id": 4760, - "name": "Mapping", - "src": "2288:28:15" - } - ], - "id": 4761, - "name": "VariableDeclaration", - "src": "2288:46:15" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "ContributionReward", - "payable": false, - "scope": 5140, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 4780, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4762, - "name": "UserDefinedTypeName", - "src": "2459:13:15" - } - ], - "id": 4763, - "name": "VariableDeclaration", - "src": "2459:26:15" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 4780, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4764, - "name": "ElementaryTypeName", - "src": "2487:4:15" - } - ], - "id": 4765, - "name": "VariableDeclaration", - "src": "2487:9:15" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 4780, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4766, - "name": "ElementaryTypeName", - "src": "2498:7:15" - } - ], - "id": 4767, - "name": "VariableDeclaration", - "src": "2498:20:15" - } - ], - "id": 4768, - "name": "ParameterList", - "src": "2458:61:15" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 4769, - "name": "ParameterList", - "src": "2527:0:15" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 7207 - ], - "referencedDeclaration": 7207, - "type": "function (contract StandardToken,uint256,address,bytes32)", - "value": "updateParameters" - }, - "id": 4770, - "name": "Identifier", - "src": "2538:16:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4763, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 4771, - "name": "Identifier", - "src": "2555:12:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4765, - "type": "uint256", - "value": "_fee" - }, - "id": 4772, - "name": "Identifier", - "src": "2569:4:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4767, - "type": "address", - "value": "_beneficiary" - }, - "id": 4773, - "name": "Identifier", - "src": "2575:12:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 4774, - "name": "ElementaryTypeNameExpression", - "src": "2589:7:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4775, - "name": "Literal", - "src": "2597:1:15" - } - ], - "id": 4776, - "name": "FunctionCall", - "src": "2589:10:15" - } - ], - "id": 4777, - "name": "FunctionCall", - "src": "2538:62:15" - } - ], - "id": 4778, - "name": "ExpressionStatement", - "src": "2538:62:15" - } - ], - "id": 4779, - "name": "Block", - "src": "2527:81:15" - } - ], - "id": 4780, - "name": "FunctionDefinition", - "src": "2431:177:15" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 5140, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_orgNativeTokenFee", - "scope": 4833, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4781, - "name": "ElementaryTypeName", - "src": "2749:4:15" - } - ], - "id": 4782, - "name": "VariableDeclaration", - "src": "2749:23:15" - }, - { - "attributes": { - "constant": false, - "name": "_schemeNativeTokenFee", - "scope": 4833, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4783, - "name": "ElementaryTypeName", - "src": "2783:4:15" - } - ], - "id": 4784, - "name": "VariableDeclaration", - "src": "2783:26:15" - }, - { - "attributes": { - "constant": false, - "name": "_voteApproveParams", - "scope": 4833, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4785, - "name": "ElementaryTypeName", - "src": "2820:7:15" - } - ], - "id": 4786, - "name": "VariableDeclaration", - "src": "2820:26:15" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 4833, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 4787, - "name": "UserDefinedTypeName", - "src": "2857:16:15" - } - ], - "id": 4788, - "name": "VariableDeclaration", - "src": "2857:25:15" - } - ], - "id": 4789, - "name": "ParameterList", - "src": "2738:151:15" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4833, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4790, - "name": "ElementaryTypeName", - "src": "2905:7:15" - } - ], - "id": 4791, - "name": "VariableDeclaration", - "src": "2905:7:15" - } - ], - "id": 4792, - "name": "ParameterList", - "src": "2904:9:15" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 4794 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 4833, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4793, - "name": "ElementaryTypeName", - "src": "2930:7:15" - } - ], - "id": 4794, - "name": "VariableDeclaration", - "src": "2930:18:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4855, - "type": "function (uint256,uint256,bytes32,contract IntVoteInterface) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 4795, - "name": "Identifier", - "src": "2951:17:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4782, - "type": "uint256", - "value": "_orgNativeTokenFee" - }, - "id": 4796, - "name": "Identifier", - "src": "2983:18:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4784, - "type": "uint256", - "value": "_schemeNativeTokenFee" - }, - "id": 4797, - "name": "Identifier", - "src": "3016:21:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4786, - "type": "bytes32", - "value": "_voteApproveParams" - }, - "id": 4798, - "name": "Identifier", - "src": "3052:18:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4788, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 4799, - "name": "Identifier", - "src": "3085:8:15" - } - ], - "id": 4800, - "name": "FunctionCall", - "src": "2951:153:15" - } - ], - "id": 4801, - "name": "VariableDeclarationStatement", - "src": "2930:174:15" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "orgNativeTokenFee", - "referencedDeclaration": 4750, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct ContributionReward.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4761, - "type": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)", - "value": "parameters" - }, - "id": 4802, - "name": "Identifier", - "src": "3115:10:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4794, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 4803, - "name": "Identifier", - "src": "3126:10:15" - } - ], - "id": 4804, - "name": "IndexAccess", - "src": "3115:22:15" - } - ], - "id": 4805, - "name": "MemberAccess", - "src": "3115:40:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4782, - "type": "uint256", - "value": "_orgNativeTokenFee" - }, - "id": 4806, - "name": "Identifier", - "src": "3158:18:15" - } - ], - "id": 4807, - "name": "Assignment", - "src": "3115:61:15" - } - ], - "id": 4808, - "name": "ExpressionStatement", - "src": "3115:61:15" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "schemeNativeTokenFee", - "referencedDeclaration": 4754, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct ContributionReward.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4761, - "type": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)", - "value": "parameters" - }, - "id": 4809, - "name": "Identifier", - "src": "3187:10:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4794, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 4810, - "name": "Identifier", - "src": "3198:10:15" - } - ], - "id": 4811, - "name": "IndexAccess", - "src": "3187:22:15" - } - ], - "id": 4812, - "name": "MemberAccess", - "src": "3187:43:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4784, - "type": "uint256", - "value": "_schemeNativeTokenFee" - }, - "id": 4813, - "name": "Identifier", - "src": "3233:21:15" - } - ], - "id": 4814, - "name": "Assignment", - "src": "3187:67:15" - } - ], - "id": 4815, - "name": "ExpressionStatement", - "src": "3187:67:15" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "voteApproveParams", - "referencedDeclaration": 4752, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct ContributionReward.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4761, - "type": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)", - "value": "parameters" - }, - "id": 4816, - "name": "Identifier", - "src": "3265:10:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4794, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 4817, - "name": "Identifier", - "src": "3276:10:15" - } - ], - "id": 4818, - "name": "IndexAccess", - "src": "3265:22:15" - } - ], - "id": 4819, - "name": "MemberAccess", - "src": "3265:40:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4786, - "type": "bytes32", - "value": "_voteApproveParams" - }, - "id": 4820, - "name": "Identifier", - "src": "3308:18:15" - } - ], - "id": 4821, - "name": "Assignment", - "src": "3265:61:15" - } - ], - "id": 4822, - "name": "ExpressionStatement", - "src": "3265:61:15" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "intVote", - "referencedDeclaration": 4756, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct ContributionReward.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4761, - "type": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)", - "value": "parameters" - }, - "id": 4823, - "name": "Identifier", - "src": "3337:10:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4794, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 4824, - "name": "Identifier", - "src": "3348:10:15" - } - ], - "id": 4825, - "name": "IndexAccess", - "src": "3337:22:15" - } - ], - "id": 4826, - "name": "MemberAccess", - "src": "3337:30:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4788, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 4827, - "name": "Identifier", - "src": "3370:8:15" - } - ], - "id": 4828, - "name": "Assignment", - "src": "3337:41:15" - } - ], - "id": 4829, - "name": "ExpressionStatement", - "src": "3337:41:15" - }, - { - "attributes": { - "functionReturnParameters": 4792 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4794, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 4830, - "name": "Identifier", - "src": "3396:10:15" - } - ], - "id": 4831, - "name": "Return", - "src": "3389:17:15" - } - ], - "id": 4832, - "name": "Block", - "src": "2919:495:15" - } - ], - "id": 4833, - "name": "FunctionDefinition", - "src": "2716:698:15" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 5140, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_orgNativeTokenFee", - "scope": 4855, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4834, - "name": "ElementaryTypeName", - "src": "4090:4:15" - } - ], - "id": 4835, - "name": "VariableDeclaration", - "src": "4090:23:15" - }, - { - "attributes": { - "constant": false, - "name": "_schemeNativeTokenFee", - "scope": 4855, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4836, - "name": "ElementaryTypeName", - "src": "4124:4:15" - } - ], - "id": 4837, - "name": "VariableDeclaration", - "src": "4124:26:15" - }, - { - "attributes": { - "constant": false, - "name": "_voteApproveParams", - "scope": 4855, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4838, - "name": "ElementaryTypeName", - "src": "4161:7:15" - } - ], - "id": 4839, - "name": "VariableDeclaration", - "src": "4161:26:15" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 4855, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 4840, - "name": "UserDefinedTypeName", - "src": "4198:16:15" - } - ], - "id": 4841, - "name": "VariableDeclaration", - "src": "4198:25:15" - } - ], - "id": 4842, - "name": "ParameterList", - "src": "4079:151:15" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4855, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4843, - "name": "ElementaryTypeName", - "src": "4251:7:15" - } - ], - "id": 4844, - "name": "VariableDeclaration", - "src": "4251:7:15" - } - ], - "id": 4845, - "name": "ParameterList", - "src": "4250:9:15" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 4845 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 4846, - "name": "Identifier", - "src": "4284:9:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4839, - "type": "bytes32", - "value": "_voteApproveParams" - }, - "id": 4847, - "name": "Identifier", - "src": "4294:18:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4835, - "type": "uint256", - "value": "_orgNativeTokenFee" - }, - "id": 4848, - "name": "Identifier", - "src": "4314:18:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4837, - "type": "uint256", - "value": "_schemeNativeTokenFee" - }, - "id": 4849, - "name": "Identifier", - "src": "4334:21:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4841, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 4850, - "name": "Identifier", - "src": "4357:8:15" - } - ], - "id": 4851, - "name": "FunctionCall", - "src": "4284:82:15" - } - ], - "id": 4852, - "name": "TupleExpression", - "src": "4283:84:15" - } - ], - "id": 4853, - "name": "Return", - "src": "4276:91:15" - } - ], - "id": 4854, - "name": "Block", - "src": "4265:110:15" - } - ], - "id": 4855, - "name": "FunctionDefinition", - "src": "4053:322:15" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "submitContribution", - "payable": false, - "scope": 5140, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 5007, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 4856, - "name": "UserDefinedTypeName", - "src": "5069:6:15" - } - ], - "id": 4857, - "name": "VariableDeclaration", - "src": "5069:14:15" - }, - { - "attributes": { - "constant": false, - "name": "_contributionDesciptionHash", - "scope": 5007, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4858, - "name": "ElementaryTypeName", - "src": "5094:7:15" - } - ], - "id": 4859, - "name": "VariableDeclaration", - "src": "5094:35:15" - }, - { - "attributes": { - "constant": false, - "name": "_rewards", - "scope": 5007, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256[4] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "uint256[4] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4860, - "name": "ElementaryTypeName", - "src": "5140:4:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "34", - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 4", - "value": "4" - }, - "id": 4861, - "name": "Literal", - "src": "5145:1:15" - } - ], - "id": 4862, - "name": "ArrayTypeName", - "src": "5140:7:15" - } - ], - "id": 4863, - "name": "VariableDeclaration", - "src": "5140:16:15" - }, - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 5007, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4864, - "name": "UserDefinedTypeName", - "src": "5167:13:15" - } - ], - "id": 4865, - "name": "VariableDeclaration", - "src": "5167:28:15" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 5007, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4866, - "name": "ElementaryTypeName", - "src": "5206:7:15" - } - ], - "id": 4867, - "name": "VariableDeclaration", - "src": "5206:20:15" - } - ], - "id": 4868, - "name": "ParameterList", - "src": "5058:175:15" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 5007, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4872, - "name": "ElementaryTypeName", - "src": "5299:7:15" - } - ], - "id": 4873, - "name": "VariableDeclaration", - "src": "5299:7:15" - } - ], - "id": 4874, - "name": "ParameterList", - "src": "5298:9:15" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7129, - "type": "modifier (address)", - "value": "onlyRegisteredOrganization" - }, - "id": 4869, - "name": "Identifier", - "src": "5248:26:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4857, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 4870, - "name": "Identifier", - "src": "5275:7:15" - } - ], - "id": 4871, - "name": "ModifierInvocation", - "src": "5248:35:15" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 4876 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controllerParams", - "scope": 5007, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct ContributionReward.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 4757, - "type": "struct ContributionReward.Parameters storage pointer" - }, - "id": 4875, - "name": "UserDefinedTypeName", - "src": "5324:10:15" - } - ], - "id": 4876, - "name": "VariableDeclaration", - "src": "5324:34:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct ContributionReward.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4761, - "type": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)", - "value": "parameters" - }, - "id": 4877, - "name": "Identifier", - "src": "5361:10:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 4878, - "name": "Identifier", - "src": "5372:27:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4857, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 4879, - "name": "Identifier", - "src": "5400:7:15" - } - ], - "id": 4880, - "name": "FunctionCall", - "src": "5372:36:15" - } - ], - "id": 4881, - "name": "IndexAccess", - "src": "5361:48:15" - } - ], - "id": 4882, - "name": "VariableDeclarationStatement", - "src": "5324:85:15" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "orgNativeTokenFee", - "referencedDeclaration": 4750, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4876, - "type": "struct ContributionReward.Parameters memory", - "value": "controllerParams" - }, - "id": 4883, - "name": "Identifier", - "src": "5478:16:15" - } - ], - "id": 4884, - "name": "MemberAccess", - "src": "5478:34:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4885, - "name": "Literal", - "src": "5515:1:15" - } - ], - "id": 4886, - "name": "BinaryOperation", - "src": "5478:38:15" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferFrom", - "referencedDeclaration": 9554, - "type": "function (address,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract DAOToken", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "nativeToken", - "referencedDeclaration": 2803, - "type": "function () view external returns (contract DAOToken)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4857, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 4887, - "name": "Identifier", - "src": "5533:7:15" - } - ], - "id": 4889, - "name": "MemberAccess", - "src": "5533:19:15" - } - ], - "id": 4890, - "name": "FunctionCall", - "src": "5533:21:15" - } - ], - "id": 4891, - "name": "MemberAccess", - "src": "5533:34:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 4892, - "name": "Identifier", - "src": "5568:3:15" - } - ], - "id": 4893, - "name": "MemberAccess", - "src": "5568:10:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4857, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 4894, - "name": "Identifier", - "src": "5580:7:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "orgNativeTokenFee", - "referencedDeclaration": 4750, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4876, - "type": "struct ContributionReward.Parameters memory", - "value": "controllerParams" - }, - "id": 4895, - "name": "Identifier", - "src": "5589:16:15" - } - ], - "id": 4896, - "name": "MemberAccess", - "src": "5589:34:15" - } - ], - "id": 4897, - "name": "FunctionCall", - "src": "5533:91:15" - } - ], - "id": 4898, - "name": "ExpressionStatement", - "src": "5533:91:15" - } - ], - "id": 4899, - "name": "Block", - "src": "5518:118:15" - } - ], - "id": 4900, - "name": "IfStatement", - "src": "5474:162:15" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "schemeNativeTokenFee", - "referencedDeclaration": 4754, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4876, - "type": "struct ContributionReward.Parameters memory", - "value": "controllerParams" - }, - "id": 4901, - "name": "Identifier", - "src": "5650:16:15" - } - ], - "id": 4902, - "name": "MemberAccess", - "src": "5650:37:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4903, - "name": "Literal", - "src": "5690:1:15" - } - ], - "id": 4904, - "name": "BinaryOperation", - "src": "5650:41:15" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferFrom", - "referencedDeclaration": 9554, - "type": "function (address,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7099, - "type": "contract StandardToken", - "value": "nativeToken" - }, - "id": 4905, - "name": "Identifier", - "src": "5708:11:15" - } - ], - "id": 4907, - "name": "MemberAccess", - "src": "5708:24:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 4908, - "name": "Identifier", - "src": "5733:3:15" - } - ], - "id": 4909, - "name": "MemberAccess", - "src": "5733:10:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4857, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 4910, - "name": "Identifier", - "src": "5745:7:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "schemeNativeTokenFee", - "referencedDeclaration": 4754, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4876, - "type": "struct ContributionReward.Parameters memory", - "value": "controllerParams" - }, - "id": 4911, - "name": "Identifier", - "src": "5754:16:15" - } - ], - "id": 4912, - "name": "MemberAccess", - "src": "5754:37:15" - } - ], - "id": 4913, - "name": "FunctionCall", - "src": "5708:84:15" - } - ], - "id": 4914, - "name": "ExpressionStatement", - "src": "5708:84:15" - } - ], - "id": 4915, - "name": "Block", - "src": "5693:111:15" - } - ], - "id": 4916, - "name": "IfStatement", - "src": "5646:158:15" - }, - { - "attributes": { - "assignments": [ - 4918 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "contributionId", - "scope": 5007, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4917, - "name": "ElementaryTypeName", - "src": "5816:7:15" - } - ], - "id": 4918, - "name": "VariableDeclaration", - "src": "5816:22:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_ExecutableInterface_$5155", - "typeString": "contract ExecutableInterface" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "propose", - "referencedDeclaration": 2570, - "type": "function (uint256,bytes32,address,contract ExecutableInterface) external returns (bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 4756, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4876, - "type": "struct ContributionReward.Parameters memory", - "value": "controllerParams" - }, - "id": 4919, - "name": "Identifier", - "src": "5841:16:15" - } - ], - "id": 4920, - "name": "MemberAccess", - "src": "5841:24:15" - } - ], - "id": 4921, - "name": "MemberAccess", - "src": "5841:32:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 4922, - "name": "Literal", - "src": "5874:1:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteApproveParams", - "referencedDeclaration": 4752, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4876, - "type": "struct ContributionReward.Parameters memory", - "value": "controllerParams" - }, - "id": 4923, - "name": "Identifier", - "src": "5877:16:15" - } - ], - "id": 4924, - "name": "MemberAccess", - "src": "5877:34:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4857, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 4925, - "name": "Identifier", - "src": "5913:7:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract ExecutableInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ContributionReward_$5140", - "typeString": "contract ContributionReward" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5155, - "type": "type(contract ExecutableInterface)", - "value": "ExecutableInterface" - }, - "id": 4926, - "name": "Identifier", - "src": "5922:19:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9805, - "type": "contract ContributionReward", - "value": "this" - }, - "id": 4927, - "name": "Identifier", - "src": "5942:4:15" - } - ], - "id": 4928, - "name": "FunctionCall", - "src": "5922:25:15" - } - ], - "id": 4929, - "name": "FunctionCall", - "src": "5841:107:15" - } - ], - "id": 4930, - "name": "VariableDeclarationStatement", - "src": "5816:132:15" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4867, - "type": "address", - "value": "_beneficiary" - }, - "id": 4931, - "name": "Identifier", - "src": "6008:12:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 4932, - "name": "ElementaryTypeNameExpression", - "src": "6024:7:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4933, - "name": "Literal", - "src": "6032:1:15" - } - ], - "id": 4934, - "name": "FunctionCall", - "src": "6024:10:15" - } - ], - "id": 4935, - "name": "BinaryOperation", - "src": "6008:26:15" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4867, - "type": "address", - "value": "_beneficiary" - }, - "id": 4936, - "name": "Identifier", - "src": "6051:12:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 4937, - "name": "Identifier", - "src": "6066:3:15" - } - ], - "id": 4938, - "name": "MemberAccess", - "src": "6066:10:15" - } - ], - "id": 4939, - "name": "Assignment", - "src": "6051:25:15" - } - ], - "id": 4940, - "name": "ExpressionStatement", - "src": "6051:25:15" - } - ], - "id": 4941, - "name": "Block", - "src": "6036:52:15" - } - ], - "id": 4942, - "name": "IfStatement", - "src": "6004:84:15" - }, - { - "attributes": { - "assignments": [ - 4944 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 5007, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct ContributionReward.ContributionProposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ContributionProposal", - "referencedDeclaration": 4742, - "type": "struct ContributionReward.ContributionProposal storage pointer" - }, - "id": 4943, - "name": "UserDefinedTypeName", - "src": "6128:20:15" - } - ], - "id": 4944, - "name": "VariableDeclaration", - "src": "6128:36:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "contributionDescriptionHash", - "nativeTokenReward", - "reputationReward", - "ethReward", - "externalToken", - "externalTokenReward", - "beneficiary" - ], - "type": "struct ContributionReward.ContributionProposal memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4742, - "type": "type(struct ContributionReward.ContributionProposal storage pointer)", - "value": "ContributionProposal" - }, - "id": 4945, - "name": "Identifier", - "src": "6167:20:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4859, - "type": "bytes32", - "value": "_contributionDesciptionHash" - }, - "id": 4946, - "name": "Identifier", - "src": "6232:27:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4863, - "type": "uint256[4] memory", - "value": "_rewards" - }, - "id": 4947, - "name": "Identifier", - "src": "6293:8:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4948, - "name": "Literal", - "src": "6302:1:15" - } - ], - "id": 4949, - "name": "IndexAccess", - "src": "6293:11:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4863, - "type": "uint256[4] memory", - "value": "_rewards" - }, - "id": 4950, - "name": "Identifier", - "src": "6337:8:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 4951, - "name": "Literal", - "src": "6346:1:15" - } - ], - "id": 4952, - "name": "IndexAccess", - "src": "6337:11:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4863, - "type": "uint256[4] memory", - "value": "_rewards" - }, - "id": 4953, - "name": "Identifier", - "src": "6374:8:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 4954, - "name": "Literal", - "src": "6383:1:15" - } - ], - "id": 4955, - "name": "IndexAccess", - "src": "6374:11:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4865, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 4956, - "name": "Identifier", - "src": "6415:14:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4863, - "type": "uint256[4] memory", - "value": "_rewards" - }, - "id": 4957, - "name": "Identifier", - "src": "6465:8:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "33", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 3", - "value": "3" - }, - "id": 4958, - "name": "Literal", - "src": "6474:1:15" - } - ], - "id": 4959, - "name": "IndexAccess", - "src": "6465:11:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4867, - "type": "address", - "value": "_beneficiary" - }, - "id": 4960, - "name": "Identifier", - "src": "6504:12:15" - } - ], - "id": 4961, - "name": "FunctionCall", - "src": "6167:361:15" - } - ], - "id": 4962, - "name": "VariableDeclarationStatement", - "src": "6128:400:15" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct ContributionReward.ContributionProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct ContributionReward.ContributionProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4748, - "type": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 4963, - "name": "Identifier", - "src": "6539:22:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4857, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 4964, - "name": "Identifier", - "src": "6562:7:15" - } - ], - "id": 4966, - "name": "IndexAccess", - "src": "6539:31:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4918, - "type": "bytes32", - "value": "contributionId" - }, - "id": 4965, - "name": "Identifier", - "src": "6571:14:15" - } - ], - "id": 4967, - "name": "IndexAccess", - "src": "6539:47:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4944, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 4968, - "name": "Identifier", - "src": "6589:8:15" - } - ], - "id": 4969, - "name": "Assignment", - "src": "6539:58:15" - } - ], - "id": 4970, - "name": "ExpressionStatement", - "src": "6539:58:15" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4715, - "type": "function (address,bytes32,address,bytes32,uint256,uint256,uint256,uint256,contract StandardToken,address)", - "value": "LogNewContributionProposal" - }, - "id": 4971, - "name": "Identifier", - "src": "6610:26:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4857, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 4972, - "name": "Identifier", - "src": "6651:7:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4918, - "type": "bytes32", - "value": "contributionId" - }, - "id": 4973, - "name": "Identifier", - "src": "6673:14:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 4756, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4876, - "type": "struct ContributionReward.Parameters memory", - "value": "controllerParams" - }, - "id": 4974, - "name": "Identifier", - "src": "6702:16:15" - } - ], - "id": 4975, - "name": "MemberAccess", - "src": "6702:24:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4859, - "type": "bytes32", - "value": "_contributionDesciptionHash" - }, - "id": 4976, - "name": "Identifier", - "src": "6741:27:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4863, - "type": "uint256[4] memory", - "value": "_rewards" - }, - "id": 4977, - "name": "Identifier", - "src": "6783:8:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4978, - "name": "Literal", - "src": "6792:1:15" - } - ], - "id": 4979, - "name": "IndexAccess", - "src": "6783:11:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4863, - "type": "uint256[4] memory", - "value": "_rewards" - }, - "id": 4980, - "name": "Identifier", - "src": "6809:8:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 4981, - "name": "Literal", - "src": "6818:1:15" - } - ], - "id": 4982, - "name": "IndexAccess", - "src": "6809:11:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4863, - "type": "uint256[4] memory", - "value": "_rewards" - }, - "id": 4983, - "name": "Identifier", - "src": "6835:8:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 4984, - "name": "Literal", - "src": "6844:1:15" - } - ], - "id": 4985, - "name": "IndexAccess", - "src": "6835:11:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4863, - "type": "uint256[4] memory", - "value": "_rewards" - }, - "id": 4986, - "name": "Identifier", - "src": "6861:8:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "33", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 3", - "value": "3" - }, - "id": 4987, - "name": "Literal", - "src": "6870:1:15" - } - ], - "id": 4988, - "name": "IndexAccess", - "src": "6861:11:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4865, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 4989, - "name": "Identifier", - "src": "6887:14:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4867, - "type": "address", - "value": "_beneficiary" - }, - "id": 4990, - "name": "Identifier", - "src": "6916:12:15" - } - ], - "id": 4991, - "name": "FunctionCall", - "src": "6610:329:15" - } - ], - "id": 4992, - "name": "ExpressionStatement", - "src": "6610:329:15" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "ownerVote", - "referencedDeclaration": 2597, - "type": "function (bytes32,uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 4756, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4876, - "type": "struct ContributionReward.Parameters memory", - "value": "controllerParams" - }, - "id": 4993, - "name": "Identifier", - "src": "6987:16:15" - } - ], - "id": 4996, - "name": "MemberAccess", - "src": "6987:24:15" - } - ], - "id": 4997, - "name": "MemberAccess", - "src": "6987:34:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4918, - "type": "bytes32", - "value": "contributionId" - }, - "id": 4998, - "name": "Identifier", - "src": "7022:14:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 4999, - "name": "Literal", - "src": "7038:1:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 5000, - "name": "Identifier", - "src": "7041:3:15" - } - ], - "id": 5001, - "name": "MemberAccess", - "src": "7041:10:15" - } - ], - "id": 5002, - "name": "FunctionCall", - "src": "6987:65:15" - } - ], - "id": 5003, - "name": "ExpressionStatement", - "src": "6987:65:15" - }, - { - "attributes": { - "functionReturnParameters": 4874 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4918, - "type": "bytes32", - "value": "contributionId" - }, - "id": 5004, - "name": "Identifier", - "src": "7126:14:15" - } - ], - "id": 5005, - "name": "Return", - "src": "7119:21:15" - } - ], - "id": 5006, - "name": "Block", - "src": "5313:1835:15" - } - ], - "id": 5007, - "name": "FunctionDefinition", - "src": "5031:2117:15" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "execute", - "payable": false, - "scope": 5140, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 5139, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5008, - "name": "ElementaryTypeName", - "src": "7488:7:15" - } - ], - "id": 5009, - "name": "VariableDeclaration", - "src": "7488:19:15" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 5139, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5010, - "name": "ElementaryTypeName", - "src": "7509:7:15" - } - ], - "id": 5011, - "name": "VariableDeclaration", - "src": "7509:15:15" - }, - { - "attributes": { - "constant": false, - "name": "_param", - "scope": 5139, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 5012, - "name": "ElementaryTypeName", - "src": "7526:3:15" - } - ], - "id": 5013, - "name": "VariableDeclaration", - "src": "7526:10:15" - } - ], - "id": 5014, - "name": "ParameterList", - "src": "7487:50:15" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 5139, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 5015, - "name": "ElementaryTypeName", - "src": "7553:4:15" - } - ], - "id": 5016, - "name": "VariableDeclaration", - "src": "7553:4:15" - } - ], - "id": 5017, - "name": "ParameterList", - "src": "7552:6:15" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 5018, - "name": "Identifier", - "src": "7629:7:15" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 4756, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct ContributionReward.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4761, - "type": "mapping(bytes32 => struct ContributionReward.Parameters storage ref)", - "value": "parameters" - }, - "id": 5019, - "name": "Identifier", - "src": "7637:10:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 5020, - "name": "Identifier", - "src": "7648:27:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 5021, - "name": "Identifier", - "src": "7676:6:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5011, - "type": "address", - "value": "_avatar" - }, - "id": 5022, - "name": "Identifier", - "src": "7683:7:15" - } - ], - "id": 5023, - "name": "FunctionCall", - "src": "7676:15:15" - } - ], - "id": 5024, - "name": "FunctionCall", - "src": "7648:44:15" - } - ], - "id": 5025, - "name": "IndexAccess", - "src": "7637:56:15" - } - ], - "id": 5026, - "name": "MemberAccess", - "src": "7637:64:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 5027, - "name": "Identifier", - "src": "7705:3:15" - } - ], - "id": 5028, - "name": "MemberAccess", - "src": "7705:10:15" - } - ], - "id": 5029, - "name": "BinaryOperation", - "src": "7637:78:15" - } - ], - "id": 5030, - "name": "FunctionCall", - "src": "7629:87:15" - } - ], - "id": 5031, - "name": "ExpressionStatement", - "src": "7629:87:15" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5013, - "type": "int256", - "value": "_param" - }, - "id": 5032, - "name": "Identifier", - "src": "7773:6:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 5033, - "name": "Literal", - "src": "7783:1:15" - } - ], - "id": 5034, - "name": "BinaryOperation", - "src": "7773:11:15" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 5036 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 5139, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct ContributionReward.ContributionProposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ContributionProposal", - "referencedDeclaration": 4742, - "type": "struct ContributionReward.ContributionProposal storage pointer" - }, - "id": 5035, - "name": "UserDefinedTypeName", - "src": "7851:20:15" - } - ], - "id": 5036, - "name": "VariableDeclaration", - "src": "7851:36:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct ContributionReward.ContributionProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4748, - "type": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 5037, - "name": "Identifier", - "src": "7890:22:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5011, - "type": "address", - "value": "_avatar" - }, - "id": 5038, - "name": "Identifier", - "src": "7913:7:15" - } - ], - "id": 5039, - "name": "IndexAccess", - "src": "7890:31:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5009, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 5040, - "name": "Identifier", - "src": "7922:11:15" - } - ], - "id": 5041, - "name": "IndexAccess", - "src": "7890:44:15" - } - ], - "id": 5042, - "name": "VariableDeclarationStatement", - "src": "7851:83:15" - }, - { - "attributes": { - "assignments": [ - 5044 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 5139, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 5043, - "name": "UserDefinedTypeName", - "src": "7978:10:15" - } - ], - "id": 5044, - "name": "VariableDeclaration", - "src": "7978:21:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 5045, - "name": "Identifier", - "src": "8002:10:15" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 5046, - "name": "Identifier", - "src": "8013:6:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5011, - "type": "address", - "value": "_avatar" - }, - "id": 5047, - "name": "Identifier", - "src": "8020:7:15" - } - ], - "id": 5048, - "name": "FunctionCall", - "src": "8013:15:15" - } - ], - "id": 5049, - "name": "MemberAccess", - "src": "8013:21:15" - } - ], - "id": 5050, - "name": "FunctionCall", - "src": "8013:23:15" - } - ], - "id": 5051, - "name": "FunctionCall", - "src": "8002:35:15" - } - ], - "id": 5052, - "name": "VariableDeclarationStatement", - "src": "7978:59:15" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mintReputation", - "referencedDeclaration": 3474, - "type": "function (int256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5044, - "type": "contract Controller", - "value": "controller" - }, - "id": 5053, - "name": "Identifier", - "src": "8057:10:15" - } - ], - "id": 5054, - "name": "MemberAccess", - "src": "8057:25:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "int256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(int256)", - "value": "int" - }, - "id": 5055, - "name": "ElementaryTypeNameExpression", - "src": "8083:3:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputationReward", - "referencedDeclaration": 4733, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5056, - "name": "Identifier", - "src": "8087:8:15" - } - ], - "id": 5057, - "name": "MemberAccess", - "src": "8087:25:15" - } - ], - "id": 5058, - "name": "FunctionCall", - "src": "8083:30:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "beneficiary", - "referencedDeclaration": 4741, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5059, - "name": "Identifier", - "src": "8115:8:15" - } - ], - "id": 5060, - "name": "MemberAccess", - "src": "8115:20:15" - } - ], - "id": 5061, - "name": "FunctionCall", - "src": "8057:79:15" - } - ], - "id": 5062, - "name": "UnaryOperation", - "src": "8056:80:15" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 5063, - "name": "Identifier", - "src": "8157:6:15" - } - ], - "id": 5064, - "name": "FunctionCall", - "src": "8157:8:15" - } - ], - "id": 5065, - "name": "ExpressionStatement", - "src": "8157:8:15" - } - ], - "id": 5066, - "name": "Block", - "src": "8138:45:15" - } - ], - "id": 5067, - "name": "IfStatement", - "src": "8052:131:15" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mintTokens", - "referencedDeclaration": 3502, - "type": "function (uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5044, - "type": "contract Controller", - "value": "controller" - }, - "id": 5068, - "name": "Identifier", - "src": "8202:10:15" - } - ], - "id": 5069, - "name": "MemberAccess", - "src": "8202:21:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "nativeTokenReward", - "referencedDeclaration": 4731, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5070, - "name": "Identifier", - "src": "8224:8:15" - } - ], - "id": 5071, - "name": "MemberAccess", - "src": "8224:26:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "beneficiary", - "referencedDeclaration": 4741, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5072, - "name": "Identifier", - "src": "8252:8:15" - } - ], - "id": 5073, - "name": "MemberAccess", - "src": "8252:20:15" - } - ], - "id": 5074, - "name": "FunctionCall", - "src": "8202:71:15" - } - ], - "id": 5075, - "name": "UnaryOperation", - "src": "8201:72:15" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 5076, - "name": "Identifier", - "src": "8294:6:15" - } - ], - "id": 5077, - "name": "FunctionCall", - "src": "8294:8:15" - } - ], - "id": 5078, - "name": "ExpressionStatement", - "src": "8294:8:15" - } - ], - "id": 5079, - "name": "Block", - "src": "8275:45:15" - } - ], - "id": 5080, - "name": "IfStatement", - "src": "8197:123:15" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sendEther", - "referencedDeclaration": 4024, - "type": "function (uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5044, - "type": "contract Controller", - "value": "controller" - }, - "id": 5081, - "name": "Identifier", - "src": "8339:10:15" - } - ], - "id": 5082, - "name": "MemberAccess", - "src": "8339:20:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "ethReward", - "referencedDeclaration": 4735, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5083, - "name": "Identifier", - "src": "8360:8:15" - } - ], - "id": 5084, - "name": "MemberAccess", - "src": "8360:18:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "beneficiary", - "referencedDeclaration": 4741, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5085, - "name": "Identifier", - "src": "8380:8:15" - } - ], - "id": 5086, - "name": "MemberAccess", - "src": "8380:20:15" - } - ], - "id": 5087, - "name": "FunctionCall", - "src": "8339:62:15" - } - ], - "id": 5088, - "name": "UnaryOperation", - "src": "8338:63:15" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 5089, - "name": "Identifier", - "src": "8422:6:15" - } - ], - "id": 5090, - "name": "FunctionCall", - "src": "8422:8:15" - } - ], - "id": 5091, - "name": "ExpressionStatement", - "src": "8422:8:15" - } - ], - "id": 5092, - "name": "Block", - "src": "8403:45:15" - } - ], - "id": 5093, - "name": "IfStatement", - "src": "8334:114:15" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "externalToken", - "referencedDeclaration": 4737, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5094, - "name": "Identifier", - "src": "8466:8:15" - } - ], - "id": 5095, - "name": "MemberAccess", - "src": "8466:22:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 5096, - "name": "ElementaryTypeNameExpression", - "src": "8492:7:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5097, - "name": "Literal", - "src": "8500:1:15" - } - ], - "id": 5098, - "name": "FunctionCall", - "src": "8492:10:15" - } - ], - "id": 5099, - "name": "BinaryOperation", - "src": "8466:36:15" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "externalTokenReward", - "referencedDeclaration": 4739, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5100, - "name": "Identifier", - "src": "8506:8:15" - } - ], - "id": 5101, - "name": "MemberAccess", - "src": "8506:28:15" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5102, - "name": "Literal", - "src": "8537:1:15" - } - ], - "id": 5103, - "name": "BinaryOperation", - "src": "8506:32:15" - } - ], - "id": 5104, - "name": "BinaryOperation", - "src": "8466:72:15" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "externalTokenTransfer", - "referencedDeclaration": 4056, - "type": "function (contract StandardToken,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5044, - "type": "contract Controller", - "value": "controller" - }, - "id": 5105, - "name": "Identifier", - "src": "8564:10:15" - } - ], - "id": 5106, - "name": "MemberAccess", - "src": "8564:32:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "externalToken", - "referencedDeclaration": 4737, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5107, - "name": "Identifier", - "src": "8597:8:15" - } - ], - "id": 5108, - "name": "MemberAccess", - "src": "8597:22:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "beneficiary", - "referencedDeclaration": 4741, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5109, - "name": "Identifier", - "src": "8621:8:15" - } - ], - "id": 5110, - "name": "MemberAccess", - "src": "8621:20:15" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "externalTokenReward", - "referencedDeclaration": 4739, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5036, - "type": "struct ContributionReward.ContributionProposal memory", - "value": "proposal" - }, - "id": 5111, - "name": "Identifier", - "src": "8643:8:15" - } - ], - "id": 5112, - "name": "MemberAccess", - "src": "8643:28:15" - } - ], - "id": 5113, - "name": "FunctionCall", - "src": "8564:108:15" - } - ], - "id": 5114, - "name": "UnaryOperation", - "src": "8563:109:15" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 5115, - "name": "Identifier", - "src": "8697:6:15" - } - ], - "id": 5116, - "name": "FunctionCall", - "src": "8697:8:15" - } - ], - "id": 5117, - "name": "ExpressionStatement", - "src": "8697:8:15" - } - ], - "id": 5118, - "name": "Block", - "src": "8674:53:15" - } - ], - "id": 5119, - "name": "IfStatement", - "src": "8559:168:15" - } - ], - "id": 5120, - "name": "Block", - "src": "8540:206:15" - } - ], - "id": 5121, - "name": "IfStatement", - "src": "8462:284:15" - } - ], - "id": 5122, - "name": "Block", - "src": "7786:973:15" - } - ], - "id": 5123, - "name": "IfStatement", - "src": "7769:990:15" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct ContributionReward.ContributionProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4748, - "type": "mapping(address => mapping(bytes32 => struct ContributionReward.ContributionProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 5124, - "name": "Identifier", - "src": "8776:22:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5011, - "type": "address", - "value": "_avatar" - }, - "id": 5125, - "name": "Identifier", - "src": "8799:7:15" - } - ], - "id": 5126, - "name": "IndexAccess", - "src": "8776:31:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5009, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 5127, - "name": "Identifier", - "src": "8808:11:15" - } - ], - "id": 5128, - "name": "IndexAccess", - "src": "8776:44:15" - } - ], - "id": 5129, - "name": "UnaryOperation", - "src": "8769:51:15" - } - ], - "id": 5130, - "name": "ExpressionStatement", - "src": "8769:51:15" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4721, - "type": "function (address,bytes32)", - "value": "LogProposalExecuted" - }, - "id": 5131, - "name": "Identifier", - "src": "8831:19:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5011, - "type": "address", - "value": "_avatar" - }, - "id": 5132, - "name": "Identifier", - "src": "8851:7:15" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5009, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 5133, - "name": "Identifier", - "src": "8860:11:15" - } - ], - "id": 5134, - "name": "FunctionCall", - "src": "8831:41:15" - } - ], - "id": 5135, - "name": "ExpressionStatement", - "src": "8831:41:15" - }, - { - "attributes": { - "functionReturnParameters": 5017 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 5136, - "name": "Literal", - "src": "8890:4:15" - } - ], - "id": 5137, - "name": "Return", - "src": "8883:11:15" - } - ], - "id": 5138, - "name": "Block", - "src": "7559:1343:15" - } - ], - "id": 5139, - "name": "FunctionDefinition", - "src": "7471:1431:15" - } - ], - "id": 5140, - "name": "ContractDefinition", - "src": "347:8558:15" - } - ], - "id": 5141, - "name": "SourceUnit", - "src": "0:8907:15" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": { - "42": { - "events": {}, - "links": {}, - "address": "0x09791b3e3919b29e78f1d25dc8c6842dbfef1c33" - }, - "1512051714758": { - "events": {}, - "links": {}, - "address": "0xdea629b906cd6bb529ed87f0bc559cac3d5383cf" - } - }, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.919Z" -} \ No newline at end of file diff --git a/contracts/Controller.json b/contracts/Controller.json deleted file mode 100644 index df161094a..000000000 --- a/contracts/Controller.json +++ /dev/null @@ -1,16294 +0,0 @@ -{ - "contractName": "Controller", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "_globalConstraint", - "type": "address" - } - ], - "name": "isGlobalConstraintRegister", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "name": "mintTokens", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_amount", - "type": "int256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "name": "mintReputation", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_params", - "type": "bytes32[]" - } - ], - "name": "genericAction", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "newController", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_globalConstraint", - "type": "address" - }, - { - "name": "_params", - "type": "bytes32" - } - ], - "name": "addGlobalConstraint", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_scheme", - "type": "address" - } - ], - "name": "getSchemeParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_globalConstraint", - "type": "address" - } - ], - "name": "removeGlobalConstraint", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "avatar", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "globalConstraintsRegister", - "outputs": [ - { - "name": "register", - "type": "bool" - }, - { - "name": "index", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_scheme", - "type": "address" - } - ], - "name": "unregisterScheme", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "uint256" - } - ], - "name": "globalConstraints", - "outputs": [ - { - "name": "gcAddress", - "type": "address" - }, - { - "name": "params", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "unregisterSelf", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_scheme", - "type": "address" - } - ], - "name": "isSchemeRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeReputation", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_externalToken", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - }, - { - "name": "_addedValue", - "type": "uint256" - } - ], - "name": "externalTokenIncreaseApproval", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_scheme", - "type": "address" - } - ], - "name": "getSchemePermissions", - "outputs": [ - { - "name": "", - "type": "bytes4" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_scheme", - "type": "address" - }, - { - "name": "_paramsHash", - "type": "bytes32" - }, - { - "name": "_permissions", - "type": "bytes4" - } - ], - "name": "registerScheme", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_externalToken", - "type": "address" - }, - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "externalTokenTransferFrom", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_newController", - "type": "address" - } - ], - "name": "upgradeController", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_amountInWei", - "type": "uint256" - }, - { - "name": "_to", - "type": "address" - } - ], - "name": "sendEther", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_externalToken", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - }, - { - "name": "_subtractedValue", - "type": "uint256" - } - ], - "name": "externalTokenDecreaseApproval", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "globalConstraintsCount", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_externalToken", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "externalTokenTransfer", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "schemes", - "outputs": [ - { - "name": "paramsHash", - "type": "bytes32" - }, - { - "name": "permissions", - "type": "bytes4" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_schemes", - "type": "address[]" - }, - { - "name": "_params", - "type": "bytes32[]" - }, - { - "name": "_permissions", - "type": "bytes4[]" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "payable": false, - "stateMutability": "nonpayable", - "type": "fallback" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": true, - "name": "_beneficiary", - "type": "address" - }, - { - "indexed": false, - "name": "_amount", - "type": "int256" - } - ], - "name": "MintReputation", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": true, - "name": "_beneficiary", - "type": "address" - }, - { - "indexed": false, - "name": "_amount", - "type": "uint256" - } - ], - "name": "MintTokens", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": true, - "name": "_scheme", - "type": "address" - } - ], - "name": "RegisterScheme", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": true, - "name": "_scheme", - "type": "address" - } - ], - "name": "UnregisterScheme", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": false, - "name": "_params", - "type": "bytes32[]" - } - ], - "name": "GenericAction", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": false, - "name": "_amountInWei", - "type": "uint256" - }, - { - "indexed": true, - "name": "_to", - "type": "address" - } - ], - "name": "SendEther", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": true, - "name": "_externalToken", - "type": "address" - }, - { - "indexed": true, - "name": "_to", - "type": "address" - }, - { - "indexed": false, - "name": "_value", - "type": "uint256" - } - ], - "name": "ExternalTokenTransfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": true, - "name": "_externalToken", - "type": "address" - }, - { - "indexed": false, - "name": "_from", - "type": "address" - }, - { - "indexed": false, - "name": "_to", - "type": "address" - }, - { - "indexed": false, - "name": "_value", - "type": "uint256" - } - ], - "name": "ExternalTokenTransferFrom", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": true, - "name": "_externalToken", - "type": "address" - }, - { - "indexed": false, - "name": "_spender", - "type": "address" - }, - { - "indexed": false, - "name": "_value", - "type": "uint256" - } - ], - "name": "ExternalTokenIncreaseApproval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_sender", - "type": "address" - }, - { - "indexed": true, - "name": "_externalToken", - "type": "address" - }, - { - "indexed": false, - "name": "_spender", - "type": "address" - }, - { - "indexed": false, - "name": "_value", - "type": "uint256" - } - ], - "name": "ExternalTokenDecreaseApproval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_globalconstraint", - "type": "address" - }, - { - "indexed": false, - "name": "_params", - "type": "bytes32" - } - ], - "name": "AddGlobalConstraint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_globalConstraint", - "type": "address" - }, - { - "indexed": false, - "name": "_index", - "type": "uint256" - } - ], - "name": "RemoveGlobalConstraint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_oldController", - "type": "address" - }, - { - "indexed": false, - "name": "_newController", - "type": "address" - } - ], - "name": "UpgradeController", - "type": "event" - } - ], - "bytecode": "0x606060405234156200001057600080fd5b6040516200307938038062003079833981016040528080519190602001805182019190602001805182019190602001805160018054600160a060020a031916600160a060020a0388811691909117918290559390910192600092501663e1758bd882604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515620000c157600080fd5b6102c65a03f11515620000d357600080fd5b505050604051805160028054600160a060020a031916600160a060020a039283161790556001541690506389ae1c906000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156200015357600080fd5b6102c65a03f115156200016557600080fd5b505050604051805160038054600160a060020a031916600160a060020a039290921691909117905550600090505b8351811015620002f0576040805190810160405280848381518110620001b557fe5b9060200190602002015181526020017c0100000000000000000000000000000000000000000000000000000000848481518110620001ef57fe5b90602001906020020151177fffffffff000000000000000000000000000000000000000000000000000000001690526000808684815181106200022e57fe5b90602001906020020151600160a060020a031681526020810191909152604001600020815181556020820151600191909101805463ffffffff19167c0100000000000000000000000000000000000000000000000000000000909204919091179055508381815181106200029e57fe5b90602001906020020151600160a060020a031633600160a060020a03167f546816e99403df442acb68ef69562682a50762c20a3fb6b472f7af9923736cfc60405160405180910390a360010162000193565b5050505050612d7480620003056000396000f30060606040526004361061013a5763ffffffff60e060020a600035041663043cc6ee811461014a57806310c5b3281461017d57806318e236e41461019f578063277d811e146101c15780633a02263c1461021057806346a4869c1461023f57806346e361b714610261578063488b3814146102925780635aef7de6146102b157806364f47ace146102c4578063653915e5146102fd57806365ab1ae81461031c5780636bafaa591461035457806381d064c41461036757806389ae1c90146103865780638cf1355c146103995780639fe02726146103c1578063a34abaa8146103fd578063b756d5a21461042c578063b9c2ee821461045a578063cb16d4a214610479578063d29ab9c41461049b578063d5210f60146104c3578063dab0efff146104d6578063db6149ce146104fe578063e1758bd81461053f575b341561014557600080fd5b600080fd5b341561015557600080fd5b610169600160a060020a0360043516610552565b604051901515815260200160405180910390f35b341561018857600080fd5b610169600435600160a060020a0360243516610570565b34156101aa57600080fd5b610169600435600160a060020a0360243516610852565b34156101cc57600080fd5b6101696004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610b2c95505050505050565b341561021b57600080fd5b610223610e90565b604051600160a060020a03909116815260200160405180910390f35b341561024a57600080fd5b610169600160a060020a0360043516602435610e9f565b341561026c57600080fd5b610280600160a060020a0360043516611069565b60405190815260200160405180910390f35b341561029d57600080fd5b610169600160a060020a0360043516611084565b34156102bc57600080fd5b610223611298565b34156102cf57600080fd5b6102e3600160a060020a03600435166112a7565b604051911515825260208201526040908101905180910390f35b341561030857600080fd5b610169600160a060020a03600435166112c6565b341561032757600080fd5b6103326004356115fc565b604051600160a060020a03909216825260208201526040908101905180910390f35b341561035f57600080fd5b610169611632565b341561037257600080fd5b610169600160a060020a03600435166116ab565b341561039157600080fd5b6102236116d4565b34156103a457600080fd5b610169600160a060020a03600435811690602435166044356116e3565b34156103cc57600080fd5b6103e0600160a060020a03600435166119e4565b604051600160e060020a0319909116815260200160405180910390f35b341561040857600080fd5b610169600160a060020a0360043516602435600160e060020a031960443516611a08565b341561043757600080fd5b610169600160a060020a0360043581169060243581169060443516606435611da5565b341561046557600080fd5b610169600160a060020a03600435166120ba565b341561048457600080fd5b610169600435600160a060020a03602435166123cc565b34156104a657600080fd5b610169600160a060020a03600435811690602435166044356126a7565b34156104ce57600080fd5b61028061299f565b34156104e157600080fd5b610169600160a060020a03600435811690602435166044356129a5565b341561050957600080fd5b61051d600160a060020a0360043516612c96565b604051918252600160e060020a03191660208201526040908101905180910390f35b341561054a57600080fd5b610223612cb5565b600160a060020a031660009081526006602052604090205460ff1690565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146105a057600080fd5b7f6d696e74546f6b656e730000000000000000000000000000000000000000000060005b6005548110156106a45760058054829081106105dc57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061060f57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561067657600080fd5b6102c65a03f1151561068757600080fd5b50505060405180519050151561069c57600080fd5b6001016105c4565b83600160a060020a031633600160a060020a03167f21f9c9a1a1f9a311a50f15fec5c1faa9e21fc9edf964f0fdecba5bd490484c5e8760405190815260200160405180910390a3600254600160a060020a03166340c10f19858760006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561074a57600080fd5b6102c65a03f1151561075b57600080fd5b50505060405180519350505060005b60055481101561084a57600580548290811061078257fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d913391859081106107b557fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561081c57600080fd5b6102c65a03f1151561082d57600080fd5b50505060405180519050151561084257600080fd5b60010161076a565b505092915050565b600160a060020a03331660009081526020819052604081206001015460e060020a90810281161461088257600080fd5b7f6d696e7452657075746174696f6e00000000000000000000000000000000000060005b6005548110156109865760058054829081106108be57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab2913391859081106108f157fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561095857600080fd5b6102c65a03f1151561096957600080fd5b50505060405180519050151561097e57600080fd5b6001016108a6565b83600160a060020a031633600160a060020a03167fb6ced7e295ffd06d19f45bd872b3bd3fd172b1ba53b17ce0543c276d06f5a4228760405190815260200160405180910390a3600354600160a060020a031663fd9bf3aa858760006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610a2c57600080fd5b6102c65a03f11515610a3d57600080fd5b50505060405180519350505060005b60055481101561084a576005805482908110610a6457fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110610a9757fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610afe57600080fd5b6102c65a03f11515610b0f57600080fd5b505050604051805190501515610b2457600080fd5b600101610a4c565b600160a060020a03331660009081526020819052604081206001015460e060020a908102811614610b5c57600080fd5b7f67656e65726963416374696f6e0000000000000000000000000000000000000060005b600554811015610c60576005805482908110610b9857fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110610bcb57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610c3257600080fd5b6102c65a03f11515610c4357600080fd5b505050604051805190501515610c5857600080fd5b600101610b80565b33600160a060020a03167f8518530cc6bc186721ab2fc226031ca054c8484893d8b0c7faab65a58aac238d8560405160208082528190810183818151815260200191508051906020019060200280838360005b83811015610ccb578082015183820152602001610cb3565b505050509050019250505060405180910390a2600154600160a060020a0316636ce15a5433866000604051602001526040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610d64578082015183820152602001610d4c565b505050509050019350505050602060405180830381600087803b1515610d8957600080fd5b6102c65a03f11515610d9a57600080fd5b50505060405180519350505060005b600554811015610e89576005805482908110610dc157fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110610df457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610e5b57600080fd5b6102c65a03f11515610e6c57600080fd5b505050604051805190501515610e8157600080fd5b600101610da9565b5050919050565b600454600160a060020a031681565b600160a060020a03331660009081526020819052604081206001015460e060020a027c040000000000000000000000000000000000000000000000000000000090811614610eec57600080fd5b600160a060020a03831660009081526006602052604090205460ff161515610fdc576005805460018101610f208382612cc4565b9160005260206000209060020201600060408051908101604052600160a060020a0387168152602081018690529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201516001909101555060409050805190810160409081526001825260055460001901602080840191909152600160a060020a03861660009081526006909152208151815460ff191690151517815560208201516001909101555061101c565b600160a060020a03831660009081526006602052604090206001015460058054849290811061100757fe5b60009182526020909120600160029092020101555b7f6f3ac186000a779fe66d0a5188f51993a6593d93c4ff052ec0453aa84f09dbcb8383604051600160a060020a03909216825260208201526040908101905180910390a150600192915050565b600160a060020a031660009081526020819052604090205490565b600061108e612cf5565b611096612cf5565b600160a060020a03331660009081526020819052604090206001015460e060020a027c0400000000000000000000000000000000000000000000000000000000908116146110e357600080fd5b600160a060020a03841660009081526006602052604090819020908051908101604052815460ff16151581526001909101546020820152915081511561128e5760055460001901602083015110156112005760058054600019810190811061114757fe5b9060005260206000209060020201604080519081016040528154600160a060020a0316815260019091015460208083019190915290915081906005908401518154811061119057fe5b90600052602060002090600202016000820151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151600190910155506020820151600660008351600160a060020a031681526020810191909152604001600020600101555b6005805490611213906000198301612cc4565b50600160a060020a03841660009081526006602090815260408220805460ff19168155600101919091557f6ceab662049113d466f7e28b69edbec7cf641bc175522623536b09785887982a908590840151604051600160a060020a03909216825260208201526040908101905180910390a160019250610e89565b5060009392505050565b600154600160a060020a031681565b6006602052600090815260409020805460019091015460ff9091169082565b600160a060020a03331660009081526020819052604081206001015460e060020a027c02000000000000000000000000000000000000000000000000000000009081161461131357600080fd5b7f756e7265676973746572536368656d650000000000000000000000000000000060005b60055481101561141757600580548290811061134f57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061138257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156113e957600080fd5b6102c65a03f115156113fa57600080fd5b50505060405180519050151561140f57600080fd5b600101611337565b600160a060020a03841660009081526020819052604090206001015460e060020a90810216151561144b5760009250611518565b33600160a060020a0390811660009081526020819052604080822060019081015493881683529120015460e060020a918202199102167c0f0000000000000000000000000000000000000000000000000000000016156114aa57600080fd5b83600160a060020a031633600160a060020a03167f10bb2cf04cb8b902a8e736d494f1a51003be6d4b16ef6fb95ce62c38445023bf60405160405180910390a3600160a060020a03841660009081526020819052604081209081556001908101805463ffffffff1916905592505b5060005b600554811015610e8957600580548290811061153457fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061156757fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156115ce57600080fd5b6102c65a03f115156115df57600080fd5b5050506040518051905015156115f457600080fd5b60010161151c565b600580548290811061160a57fe5b600091825260209091206002909102018054600190910154600160a060020a03909116915082565b600061163d336116ab565b151561164b575060006116a8565b600160a060020a0333166000818152602081905260408082209182556001909101805463ffffffff1916905581907f10bb2cf04cb8b902a8e736d494f1a51003be6d4b16ef6fb95ce62c38445023bf905160405180910390a35060015b90565b600160a060020a031660009081526020819052604090206001015460e060020a90810216151590565b600354600160a060020a031681565b600160a060020a03331660009081526020819052604081206001015460e060020a90810281161461171357600080fd5b7f65787465726e616c546f6b656e496e637265617365417070726f76616c00000060005b60055481101561181757600580548290811061174f57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061178257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156117e957600080fd5b6102c65a03f115156117fa57600080fd5b50505060405180519050151561180f57600080fd5b600101611737565b85600160a060020a031633600160a060020a03167f2cee0640e7c161518a78fa901d8c0e4b2f51d42612532184a4f017a45b01ba288787604051600160a060020a03909216825260208201526040908101905180910390a3600154600160a060020a0316638cf1355c87878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156118db57600080fd5b6102c65a03f115156118ec57600080fd5b50505060405180519350505060005b6005548110156119db57600580548290811061191357fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061194657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156119ad57600080fd5b6102c65a03f115156119be57600080fd5b5050506040518051905015156119d357600080fd5b6001016118fb565b50509392505050565b600160a060020a031660009081526020819052604090206001015460e060020a0290565b6000611a12612cf5565b600160a060020a03331660009081526020819052604090206001015460e060020a027c020000000000000000000000000000000000000000000000000000000090811614611a5f57600080fd5b7f7265676973746572536368656d6500000000000000000000000000000000000060005b600554811015611b63576005805482908110611a9b57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110611ace57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611b3557600080fd5b6102c65a03f11515611b4657600080fd5b505050604051805190501515611b5b57600080fd5b600101611a83565b600160a060020a03871660009081526020819052604090819020908051908101604090815282548252600192830154600160e060020a031960e060020a918202166020808501918252600160a060020a03331660009081529081905292832090940154929650909291021990518718167c0f000000000000000000000000000000000000000000000000000000001614611bfc57600080fd5b600160a060020a03331660009081526020818152604082206001015460e060020a021990850151167c0f000000000000000000000000000000000000000000000000000000001614611c4d57600080fd5b600160a060020a0387811660008181526020819052604090819020898155600101805463ffffffff191660e060020a8a81170417905590913316907f546816e99403df442acb68ef69562682a50762c20a3fb6b472f7af9923736cfc905160405180910390a3600193505060005b600554811015611d9b576005805482908110611cd357fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110611d0657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611d6d57600080fd5b6102c65a03f11515611d7e57600080fd5b505050604051805190501515611d9357600080fd5b600101611cbb565b5050509392505050565b600160a060020a03331660009081526020819052604081206001015460e060020a908102811614611dd557600080fd5b7f65787465726e616c546f6b656e5472616e7366657246726f6d0000000000000060005b600554811015611ed9576005805482908110611e1157fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110611e4457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611eab57600080fd5b6102c65a03f11515611ebc57600080fd5b505050604051805190501515611ed157600080fd5b600101611df9565b86600160a060020a031633600160a060020a03167f283faba4b8dcfe263728666be500623fdf5ae89ac78e40952fe2493f918ed62c888888604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a3600154600160a060020a031663b756d5a28888888860006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201529284166024840152921660448201526064810191909152608401602060405180830381600087803b1515611fb057600080fd5b6102c65a03f11515611fc157600080fd5b50505060405180519350505060005b6005548110156120b0576005805482908110611fe857fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061201b57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561208257600080fd5b6102c65a03f1151561209357600080fd5b5050506040518051905015156120a857600080fd5b600101611fd0565b5050949350505050565b600160a060020a03331660009081526020819052604081206001015460e060020a027c08000000000000000000000000000000000000000000000000000000009081161461210757600080fd5b600454600160a060020a03161561211d57600080fd5b600160a060020a038216151561213257600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03848116919091179091556001541663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b15156121a757600080fd5b6102c65a03f115156121b857600080fd5b5050600254600160a060020a03308116925016638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561220757600080fd5b6102c65a03f1151561221857600080fd5b50505060405180519050600160a060020a0316141561229657600254600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561228157600080fd5b6102c65a03f1151561229257600080fd5b5050505b600354600160a060020a033081169116638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156122e257600080fd5b6102c65a03f115156122f357600080fd5b50505060405180519050600160a060020a0316141561237157600354600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561235c57600080fd5b6102c65a03f1151561236d57600080fd5b5050505b6004547fdb7cbacf8df312d794506c0cc9af07f64d29ca075796ea2e950a3832cc9a63dd903090600160a060020a0316604051600160a060020a039283168152911660208201526040908101905180910390a1506001919050565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146123fc57600080fd5b7f73656e644574686572000000000000000000000000000000000000000000000060005b60055481101561250057600580548290811061243857fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061246b57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156124d257600080fd5b6102c65a03f115156124e357600080fd5b5050506040518051905015156124f857600080fd5b600101612420565b83600160a060020a031633600160a060020a03167fda35e091786fbaaace32084910404a0e3a14f22a7645a4c3d0fec2c6731e3c348760405190815260200160405180910390a3600154600160a060020a031663cb16d4a2868660006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b15156125a757600080fd5b6102c65a03f115156125b857600080fd5b50505060405180519350505060005b60055481101561084a5760058054829081106125df57fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061261257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561267957600080fd5b6102c65a03f1151561268a57600080fd5b50505060405180519050151561269f57600080fd5b6001016125c7565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146126d757600080fd5b7f65787465726e616c546f6b656e4465637265617365417070726f76616c00000060005b6005548110156127db57600580548290811061271357fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061274657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156127ad57600080fd5b6102c65a03f115156127be57600080fd5b5050506040518051905015156127d357600080fd5b6001016126fb565b85600160a060020a031633600160a060020a03167f56fc1f50d44108d3b715d77eb371d388bf2998c65b4eb5cf0ccd6c055be46d498787604051600160a060020a03909216825260208201526040908101905180910390a3600154600160a060020a031663d29ab9c487878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561289f57600080fd5b6102c65a03f115156128b057600080fd5b50505060405180519350505060005b6005548110156119db5760058054829081106128d757fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061290a57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561297157600080fd5b6102c65a03f1151561298257600080fd5b50505060405180519050151561299757600080fd5b6001016128bf565b60055490565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146129d557600080fd5b7f65787465726e616c546f6b656e5472616e73666572000000000000000000000060005b600554811015612ad9576005805482908110612a1157fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110612a4457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515612aab57600080fd5b6102c65a03f11515612abc57600080fd5b505050604051805190501515612ad157600080fd5b6001016129f9565b84600160a060020a031686600160a060020a031633600160a060020a03167fd4c08afec48fd2cbe49032dc89d3b388b7a4e4f0563a1fdccd73339beb025aa18760405190815260200160405180910390a4600154600160a060020a031663dab0efff87878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515612b9657600080fd5b6102c65a03f11515612ba757600080fd5b50505060405180519350505060005b6005548110156119db576005805482908110612bce57fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110612c0157fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515612c6857600080fd5b6102c65a03f11515612c7957600080fd5b505050604051805190501515612c8e57600080fd5b600101612bb6565b6000602081905290815260409020805460019091015460e060020a0282565b600254600160a060020a031681565b815481835581811511612cf057600202816002028360005260206000209182019101612cf09190612d0c565b505050565b604080519081016040526000808252602082015290565b6116a891905b80821115612d4457805473ffffffffffffffffffffffffffffffffffffffff1916815560006001820155600201612d12565b50905600a165627a7a72305820dd116b5e90268296fdc2bc988612d105652e5b1711df18c0cebc2a012ff6d7680029", - "deployedBytecode": "0x60606040526004361061013a5763ffffffff60e060020a600035041663043cc6ee811461014a57806310c5b3281461017d57806318e236e41461019f578063277d811e146101c15780633a02263c1461021057806346a4869c1461023f57806346e361b714610261578063488b3814146102925780635aef7de6146102b157806364f47ace146102c4578063653915e5146102fd57806365ab1ae81461031c5780636bafaa591461035457806381d064c41461036757806389ae1c90146103865780638cf1355c146103995780639fe02726146103c1578063a34abaa8146103fd578063b756d5a21461042c578063b9c2ee821461045a578063cb16d4a214610479578063d29ab9c41461049b578063d5210f60146104c3578063dab0efff146104d6578063db6149ce146104fe578063e1758bd81461053f575b341561014557600080fd5b600080fd5b341561015557600080fd5b610169600160a060020a0360043516610552565b604051901515815260200160405180910390f35b341561018857600080fd5b610169600435600160a060020a0360243516610570565b34156101aa57600080fd5b610169600435600160a060020a0360243516610852565b34156101cc57600080fd5b6101696004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610b2c95505050505050565b341561021b57600080fd5b610223610e90565b604051600160a060020a03909116815260200160405180910390f35b341561024a57600080fd5b610169600160a060020a0360043516602435610e9f565b341561026c57600080fd5b610280600160a060020a0360043516611069565b60405190815260200160405180910390f35b341561029d57600080fd5b610169600160a060020a0360043516611084565b34156102bc57600080fd5b610223611298565b34156102cf57600080fd5b6102e3600160a060020a03600435166112a7565b604051911515825260208201526040908101905180910390f35b341561030857600080fd5b610169600160a060020a03600435166112c6565b341561032757600080fd5b6103326004356115fc565b604051600160a060020a03909216825260208201526040908101905180910390f35b341561035f57600080fd5b610169611632565b341561037257600080fd5b610169600160a060020a03600435166116ab565b341561039157600080fd5b6102236116d4565b34156103a457600080fd5b610169600160a060020a03600435811690602435166044356116e3565b34156103cc57600080fd5b6103e0600160a060020a03600435166119e4565b604051600160e060020a0319909116815260200160405180910390f35b341561040857600080fd5b610169600160a060020a0360043516602435600160e060020a031960443516611a08565b341561043757600080fd5b610169600160a060020a0360043581169060243581169060443516606435611da5565b341561046557600080fd5b610169600160a060020a03600435166120ba565b341561048457600080fd5b610169600435600160a060020a03602435166123cc565b34156104a657600080fd5b610169600160a060020a03600435811690602435166044356126a7565b34156104ce57600080fd5b61028061299f565b34156104e157600080fd5b610169600160a060020a03600435811690602435166044356129a5565b341561050957600080fd5b61051d600160a060020a0360043516612c96565b604051918252600160e060020a03191660208201526040908101905180910390f35b341561054a57600080fd5b610223612cb5565b600160a060020a031660009081526006602052604090205460ff1690565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146105a057600080fd5b7f6d696e74546f6b656e730000000000000000000000000000000000000000000060005b6005548110156106a45760058054829081106105dc57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061060f57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561067657600080fd5b6102c65a03f1151561068757600080fd5b50505060405180519050151561069c57600080fd5b6001016105c4565b83600160a060020a031633600160a060020a03167f21f9c9a1a1f9a311a50f15fec5c1faa9e21fc9edf964f0fdecba5bd490484c5e8760405190815260200160405180910390a3600254600160a060020a03166340c10f19858760006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561074a57600080fd5b6102c65a03f1151561075b57600080fd5b50505060405180519350505060005b60055481101561084a57600580548290811061078257fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d913391859081106107b557fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561081c57600080fd5b6102c65a03f1151561082d57600080fd5b50505060405180519050151561084257600080fd5b60010161076a565b505092915050565b600160a060020a03331660009081526020819052604081206001015460e060020a90810281161461088257600080fd5b7f6d696e7452657075746174696f6e00000000000000000000000000000000000060005b6005548110156109865760058054829081106108be57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab2913391859081106108f157fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561095857600080fd5b6102c65a03f1151561096957600080fd5b50505060405180519050151561097e57600080fd5b6001016108a6565b83600160a060020a031633600160a060020a03167fb6ced7e295ffd06d19f45bd872b3bd3fd172b1ba53b17ce0543c276d06f5a4228760405190815260200160405180910390a3600354600160a060020a031663fd9bf3aa858760006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610a2c57600080fd5b6102c65a03f11515610a3d57600080fd5b50505060405180519350505060005b60055481101561084a576005805482908110610a6457fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110610a9757fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610afe57600080fd5b6102c65a03f11515610b0f57600080fd5b505050604051805190501515610b2457600080fd5b600101610a4c565b600160a060020a03331660009081526020819052604081206001015460e060020a908102811614610b5c57600080fd5b7f67656e65726963416374696f6e0000000000000000000000000000000000000060005b600554811015610c60576005805482908110610b9857fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110610bcb57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610c3257600080fd5b6102c65a03f11515610c4357600080fd5b505050604051805190501515610c5857600080fd5b600101610b80565b33600160a060020a03167f8518530cc6bc186721ab2fc226031ca054c8484893d8b0c7faab65a58aac238d8560405160208082528190810183818151815260200191508051906020019060200280838360005b83811015610ccb578082015183820152602001610cb3565b505050509050019250505060405180910390a2600154600160a060020a0316636ce15a5433866000604051602001526040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610d64578082015183820152602001610d4c565b505050509050019350505050602060405180830381600087803b1515610d8957600080fd5b6102c65a03f11515610d9a57600080fd5b50505060405180519350505060005b600554811015610e89576005805482908110610dc157fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110610df457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610e5b57600080fd5b6102c65a03f11515610e6c57600080fd5b505050604051805190501515610e8157600080fd5b600101610da9565b5050919050565b600454600160a060020a031681565b600160a060020a03331660009081526020819052604081206001015460e060020a027c040000000000000000000000000000000000000000000000000000000090811614610eec57600080fd5b600160a060020a03831660009081526006602052604090205460ff161515610fdc576005805460018101610f208382612cc4565b9160005260206000209060020201600060408051908101604052600160a060020a0387168152602081018690529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201516001909101555060409050805190810160409081526001825260055460001901602080840191909152600160a060020a03861660009081526006909152208151815460ff191690151517815560208201516001909101555061101c565b600160a060020a03831660009081526006602052604090206001015460058054849290811061100757fe5b60009182526020909120600160029092020101555b7f6f3ac186000a779fe66d0a5188f51993a6593d93c4ff052ec0453aa84f09dbcb8383604051600160a060020a03909216825260208201526040908101905180910390a150600192915050565b600160a060020a031660009081526020819052604090205490565b600061108e612cf5565b611096612cf5565b600160a060020a03331660009081526020819052604090206001015460e060020a027c0400000000000000000000000000000000000000000000000000000000908116146110e357600080fd5b600160a060020a03841660009081526006602052604090819020908051908101604052815460ff16151581526001909101546020820152915081511561128e5760055460001901602083015110156112005760058054600019810190811061114757fe5b9060005260206000209060020201604080519081016040528154600160a060020a0316815260019091015460208083019190915290915081906005908401518154811061119057fe5b90600052602060002090600202016000820151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151600190910155506020820151600660008351600160a060020a031681526020810191909152604001600020600101555b6005805490611213906000198301612cc4565b50600160a060020a03841660009081526006602090815260408220805460ff19168155600101919091557f6ceab662049113d466f7e28b69edbec7cf641bc175522623536b09785887982a908590840151604051600160a060020a03909216825260208201526040908101905180910390a160019250610e89565b5060009392505050565b600154600160a060020a031681565b6006602052600090815260409020805460019091015460ff9091169082565b600160a060020a03331660009081526020819052604081206001015460e060020a027c02000000000000000000000000000000000000000000000000000000009081161461131357600080fd5b7f756e7265676973746572536368656d650000000000000000000000000000000060005b60055481101561141757600580548290811061134f57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061138257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156113e957600080fd5b6102c65a03f115156113fa57600080fd5b50505060405180519050151561140f57600080fd5b600101611337565b600160a060020a03841660009081526020819052604090206001015460e060020a90810216151561144b5760009250611518565b33600160a060020a0390811660009081526020819052604080822060019081015493881683529120015460e060020a918202199102167c0f0000000000000000000000000000000000000000000000000000000016156114aa57600080fd5b83600160a060020a031633600160a060020a03167f10bb2cf04cb8b902a8e736d494f1a51003be6d4b16ef6fb95ce62c38445023bf60405160405180910390a3600160a060020a03841660009081526020819052604081209081556001908101805463ffffffff1916905592505b5060005b600554811015610e8957600580548290811061153457fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061156757fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156115ce57600080fd5b6102c65a03f115156115df57600080fd5b5050506040518051905015156115f457600080fd5b60010161151c565b600580548290811061160a57fe5b600091825260209091206002909102018054600190910154600160a060020a03909116915082565b600061163d336116ab565b151561164b575060006116a8565b600160a060020a0333166000818152602081905260408082209182556001909101805463ffffffff1916905581907f10bb2cf04cb8b902a8e736d494f1a51003be6d4b16ef6fb95ce62c38445023bf905160405180910390a35060015b90565b600160a060020a031660009081526020819052604090206001015460e060020a90810216151590565b600354600160a060020a031681565b600160a060020a03331660009081526020819052604081206001015460e060020a90810281161461171357600080fd5b7f65787465726e616c546f6b656e496e637265617365417070726f76616c00000060005b60055481101561181757600580548290811061174f57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061178257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156117e957600080fd5b6102c65a03f115156117fa57600080fd5b50505060405180519050151561180f57600080fd5b600101611737565b85600160a060020a031633600160a060020a03167f2cee0640e7c161518a78fa901d8c0e4b2f51d42612532184a4f017a45b01ba288787604051600160a060020a03909216825260208201526040908101905180910390a3600154600160a060020a0316638cf1355c87878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156118db57600080fd5b6102c65a03f115156118ec57600080fd5b50505060405180519350505060005b6005548110156119db57600580548290811061191357fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061194657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156119ad57600080fd5b6102c65a03f115156119be57600080fd5b5050506040518051905015156119d357600080fd5b6001016118fb565b50509392505050565b600160a060020a031660009081526020819052604090206001015460e060020a0290565b6000611a12612cf5565b600160a060020a03331660009081526020819052604090206001015460e060020a027c020000000000000000000000000000000000000000000000000000000090811614611a5f57600080fd5b7f7265676973746572536368656d6500000000000000000000000000000000000060005b600554811015611b63576005805482908110611a9b57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110611ace57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611b3557600080fd5b6102c65a03f11515611b4657600080fd5b505050604051805190501515611b5b57600080fd5b600101611a83565b600160a060020a03871660009081526020819052604090819020908051908101604090815282548252600192830154600160e060020a031960e060020a918202166020808501918252600160a060020a03331660009081529081905292832090940154929650909291021990518718167c0f000000000000000000000000000000000000000000000000000000001614611bfc57600080fd5b600160a060020a03331660009081526020818152604082206001015460e060020a021990850151167c0f000000000000000000000000000000000000000000000000000000001614611c4d57600080fd5b600160a060020a0387811660008181526020819052604090819020898155600101805463ffffffff191660e060020a8a81170417905590913316907f546816e99403df442acb68ef69562682a50762c20a3fb6b472f7af9923736cfc905160405180910390a3600193505060005b600554811015611d9b576005805482908110611cd357fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110611d0657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611d6d57600080fd5b6102c65a03f11515611d7e57600080fd5b505050604051805190501515611d9357600080fd5b600101611cbb565b5050509392505050565b600160a060020a03331660009081526020819052604081206001015460e060020a908102811614611dd557600080fd5b7f65787465726e616c546f6b656e5472616e7366657246726f6d0000000000000060005b600554811015611ed9576005805482908110611e1157fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110611e4457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611eab57600080fd5b6102c65a03f11515611ebc57600080fd5b505050604051805190501515611ed157600080fd5b600101611df9565b86600160a060020a031633600160a060020a03167f283faba4b8dcfe263728666be500623fdf5ae89ac78e40952fe2493f918ed62c888888604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a3600154600160a060020a031663b756d5a28888888860006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201529284166024840152921660448201526064810191909152608401602060405180830381600087803b1515611fb057600080fd5b6102c65a03f11515611fc157600080fd5b50505060405180519350505060005b6005548110156120b0576005805482908110611fe857fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061201b57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561208257600080fd5b6102c65a03f1151561209357600080fd5b5050506040518051905015156120a857600080fd5b600101611fd0565b5050949350505050565b600160a060020a03331660009081526020819052604081206001015460e060020a027c08000000000000000000000000000000000000000000000000000000009081161461210757600080fd5b600454600160a060020a03161561211d57600080fd5b600160a060020a038216151561213257600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03848116919091179091556001541663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b15156121a757600080fd5b6102c65a03f115156121b857600080fd5b5050600254600160a060020a03308116925016638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561220757600080fd5b6102c65a03f1151561221857600080fd5b50505060405180519050600160a060020a0316141561229657600254600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561228157600080fd5b6102c65a03f1151561229257600080fd5b5050505b600354600160a060020a033081169116638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156122e257600080fd5b6102c65a03f115156122f357600080fd5b50505060405180519050600160a060020a0316141561237157600354600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561235c57600080fd5b6102c65a03f1151561236d57600080fd5b5050505b6004547fdb7cbacf8df312d794506c0cc9af07f64d29ca075796ea2e950a3832cc9a63dd903090600160a060020a0316604051600160a060020a039283168152911660208201526040908101905180910390a1506001919050565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146123fc57600080fd5b7f73656e644574686572000000000000000000000000000000000000000000000060005b60055481101561250057600580548290811061243857fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061246b57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156124d257600080fd5b6102c65a03f115156124e357600080fd5b5050506040518051905015156124f857600080fd5b600101612420565b83600160a060020a031633600160a060020a03167fda35e091786fbaaace32084910404a0e3a14f22a7645a4c3d0fec2c6731e3c348760405190815260200160405180910390a3600154600160a060020a031663cb16d4a2868660006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b15156125a757600080fd5b6102c65a03f115156125b857600080fd5b50505060405180519350505060005b60055481101561084a5760058054829081106125df57fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061261257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561267957600080fd5b6102c65a03f1151561268a57600080fd5b50505060405180519050151561269f57600080fd5b6001016125c7565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146126d757600080fd5b7f65787465726e616c546f6b656e4465637265617365417070726f76616c00000060005b6005548110156127db57600580548290811061271357fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061274657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156127ad57600080fd5b6102c65a03f115156127be57600080fd5b5050506040518051905015156127d357600080fd5b6001016126fb565b85600160a060020a031633600160a060020a03167f56fc1f50d44108d3b715d77eb371d388bf2998c65b4eb5cf0ccd6c055be46d498787604051600160a060020a03909216825260208201526040908101905180910390a3600154600160a060020a031663d29ab9c487878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561289f57600080fd5b6102c65a03f115156128b057600080fd5b50505060405180519350505060005b6005548110156119db5760058054829081106128d757fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061290a57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561297157600080fd5b6102c65a03f1151561298257600080fd5b50505060405180519050151561299757600080fd5b6001016128bf565b60055490565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146129d557600080fd5b7f65787465726e616c546f6b656e5472616e73666572000000000000000000000060005b600554811015612ad9576005805482908110612a1157fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110612a4457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515612aab57600080fd5b6102c65a03f11515612abc57600080fd5b505050604051805190501515612ad157600080fd5b6001016129f9565b84600160a060020a031686600160a060020a031633600160a060020a03167fd4c08afec48fd2cbe49032dc89d3b388b7a4e4f0563a1fdccd73339beb025aa18760405190815260200160405180910390a4600154600160a060020a031663dab0efff87878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515612b9657600080fd5b6102c65a03f11515612ba757600080fd5b50505060405180519350505060005b6005548110156119db576005805482908110612bce57fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110612c0157fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515612c6857600080fd5b6102c65a03f11515612c7957600080fd5b505050604051805190501515612c8e57600080fd5b600101612bb6565b6000602081905290815260409020805460019091015460e060020a0282565b600254600160a060020a031681565b815481835581811511612cf057600202816002028360005260206000209182019101612cf09190612d0c565b505050565b604080519081016040526000808252602082015290565b6116a891905b80821115612d4457805473ffffffffffffffffffffffffffffffffffffffff1916815560006001820155600201612d12565b50905600a165627a7a72305820dd116b5e90268296fdc2bc988612d105652e5b1711df18c0cebc2a012ff6d7680029", - "sourceMap": "440:15857:6:-;;;3113:548;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3277:6;:16;;-1:-1:-1;;;;;;3277:16:6;-1:-1:-1;;;;;3277:16:6;;;;;;;;;;;3113:548;;;;;-1:-1:-1;;;3318:6:6;:18;-1:-1:-1;3318:20:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3304:11;:34;;-1:-1:-1;;;;;;3304:34:6;-1:-1:-1;;;;;3304:34:6;;;;;;-1:-1:-1;3368:6:6;;;-1:-1:-1;3368:23:6;-1:-1:-1;3368:25:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3349:16;:44;;-1:-1:-1;;;;;;3349:44:6;-1:-1:-1;;;;;3349:44:6;;;;;;;;;;-1:-1:-1;;;;3436:218:6;3457:8;:15;3453:1;:19;3436:218;;;3517:71;;;;;;;;;3537:7;3545:1;3537:10;;;;;;;;;;;;;;;;3517:71;;;;3577:9;3561:12;3574:1;3561:12;:15;;;;;;;;;;;;;;;:25;3517:71;;;;3494:7;;3502:8;3511:1;3502:8;:11;;;;;;;;;;;;;;;-1:-1:-1;;;;;3494:20:6;;;;;;;;;;;;-1:-1:-1;3494:20:6;:94;;;;;;;;;;;;;;;-1:-1:-1;;3494:94:6;;;;;;;;;;;-1:-1:-1;3630:8:6;3639:1;3630:8;:11;;;;;;;;;;;;;;;-1:-1:-1;;;;;3603:39:6;3618:10;-1:-1:-1;;;;;3603:39:6;;;;;;;;;;;3474:3;;3436:218;;;3113:548;;;;;440:15857;;;;;;", - "deployedSourceMap": "440:15857:6:-;;;;;;;;-1:-1:-1;;;440:15857:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3733:8;;;8920:172;;;;;;;;;;;;-1:-1:-1;;;;;8920:172:6;;;;;;;;;;;;;;;;;;;;5549:285;;;;;;;;;;;;;;-1:-1:-1;;;;;5549:285:6;;;5051:301;;;;;;;;;;;;;;-1:-1:-1;;;;;5051:301:6;;;12380:262;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12380:262:6;;-1:-1:-1;12380:262:6;;-1:-1:-1;;;;;;12380:262:6;1477:28;;;;;;;;;;;;;;;-1:-1:-1;;;;;1477:28:6;;;;;;;;;;;;;;;9349:621;;;;;;;;;;;;-1:-1:-1;;;;;9349:621:6;;;;;8492:132;;;;;;;;;;;;-1:-1:-1;;;;;8492:132:6;;;;;;;;;;;;;;;;;;10166:947;;;;;;;;;;;;-1:-1:-1;;;;;10166:947:6;;;1281:20;;;;;;;;;;;;1743:75;;;;;;;;;;;;-1:-1:-1;;;;;1743:75:6;;;;;;;;;;;;;;;;;;;;;;;;;;7334:611;;;;;;;;;;;;-1:-1:-1;;;;;7334:611:6;;;1610:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1610:43:6;;;;;;;;;;;;;;;;;;;;;8063:259;;;;;;;;;;;;8330:154;;;;;;;;;;;;-1:-1:-1;;;;;8330:154:6;;;1342:34;;;;;;;;;;;;15051:418;;;;;;;;;;-1:-1:-1;;;;;15051:418:6;;;;;;;;;;;;8632:133;;;;;;;;;;;;-1:-1:-1;;;;;8632:133:6;;;;;;-1:-1:-1;;;;;;8632:133:6;;;;;;;;;;;;;;;6120:1058;;;;;;;;;;;;-1:-1:-1;;;;;6120:1058:6;;;;;-1:-1:-1;;;;;;6120:1058:6;;;14262:404;;;;;;;;;;-1:-1:-1;;;;;14262:404:6;;;;;;;;;;;;;;;;;11351:680;;;;;;;;;;;;-1:-1:-1;;;;;11351:680:6;;;12843:267;;;;;;;;;;;;;;-1:-1:-1;;;;;12843:267:6;;;15859:433;;;;;;;;;;-1:-1:-1;;;;;15859:433:6;;;;;;;;;;;;8798:114;;;;;;;;;;;;13402:359;;;;;;;;;;-1:-1:-1;;;;;13402:359:6;;;;;;;;;;;;1233:39;;;;;;;;;;;;-1:-1:-1;;;;;1233:39:6;;;;;;;;;-1:-1:-1;;;;;;1233:39:6;;;;;;;;;;;;;;;;1308:27;;;;;;;;;;;;8920:172;-1:-1:-1;;;;;9031:44:6;9007:4;9031:44;;;:25;:44;;;;;:53;;;;8920:172::o;5549:285::-;3833:10;-1:-1:-1;;;;;3825:19:6;5702:4;3825:19;;;;;;;;;;-1:-1:-1;3825:31:6;;-1:-1:-1;;;3825:31:6;;;:41;;:54;3817:63;;;;;;4318:527;4376:10;4397:209;4418:17;:24;4412:30;;4397:209;;;4502:17;:24;;4520:5;;4502:24;;;;;;;;;;;;;;;;;;;:34;4555:17;:24;;-1:-1:-1;;;;;4502:34:6;;;;4475:67;;4543:10;;4573:5;;4555:24;;;;;;;;;;;;;;;;:31;;;4588:4;4475:118;;;;;;;;;;;-1:-1:-1;;;4475:118:6;;;-1:-1:-1;;;;;4475:118:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4467:127;;;;;;;;4443:7;;4397:209;;;-1:-1:-1;;;;;5724:45:6;;;;5735:10;5724:45;;5761:7;5724:45;;;;;;;;;;;;;;5787:11;;-1:-1:-1;;;;;5787:11:6;:16;5804:12;5818:7;5787:11;:39;;;;;;;;;;-1:-1:-1;;;5787:39:6;;;-1:-1:-1;;;;;5787:39:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4641:1:6;4628:210;4649:17;:24;4643:30;;4628:210;;;4733:17;:24;;4751:5;;4733:24;;;;;;;;;;;;;;;;;;;:34;4787:17;:24;;-1:-1:-1;;;;;4733:34:6;;;;4706:68;;4775:10;;4805:5;;4787:24;;;;;;;;;;;;;;;;:31;;;4820:4;4706:119;;;;;;;;;;;-1:-1:-1;;;4706:119:6;;;-1:-1:-1;;;;;4706:119:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4698:128;;;;;;;;4674:7;;4628:210;;;3891:1;;5549:285;;;;:::o;5051:301::-;3833:10;-1:-1:-1;;;;;3825:19:6;5211:4;3825:19;;;;;;;;;;-1:-1:-1;3825:31:6;;-1:-1:-1;;;3825:31:6;;;:41;;:54;3817:63;;;;;;4318:527;4376:10;4397:209;4418:17;:24;4412:30;;4397:209;;;4502:17;:24;;4520:5;;4502:24;;;;;;;;;;;;;;;;;;;:34;4555:17;:24;;-1:-1:-1;;;;;4502:34:6;;;;4475:67;;4543:10;;4573:5;;4555:24;;;;;;;;;;;;;;;;:31;;;4588:4;4475:118;;;;;;;;;;;-1:-1:-1;;;4475:118:6;;;-1:-1:-1;;;;;4475:118:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4467:127;;;;;;;;4443:7;;4397:209;;;-1:-1:-1;;;;;5233:49:6;;;;5248:10;5233:49;;5274:7;5233:49;;;;;;;;;;;;;;5300:16;;-1:-1:-1;;;;;5300:16:6;:21;5322:12;5336:7;5300:16;:44;;;;;;;;;;-1:-1:-1;;;5300:44:6;;;-1:-1:-1;;;;;5300:44:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4641:1:6;4628:210;4649:17;:24;4643:30;;4628:210;;;4733:17;:24;;4751:5;;4733:24;;;;;;;;;;;;;;;;;;;:34;4787:17;:24;;-1:-1:-1;;;;;4733:34:6;;;;4706:68;;4775:10;;4805:5;;4787:24;;;;;;;;;;;;;;;;:31;;;4820:4;4706:119;;;;;;;;;;;-1:-1:-1;;;4706:119:6;;;-1:-1:-1;;;;;4706:119:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4698:128;;;;;;;;4674:7;;4628:210;;12380:262;3833:10;-1:-1:-1;;;;;3825:19:6;12519:4;3825:19;;;;;;;;;;-1:-1:-1;3825:31:6;;-1:-1:-1;;;3825:31:6;;;:41;;:54;3817:63;;;;;;4318:527;4376:10;4397:209;4418:17;:24;4412:30;;4397:209;;;4502:17;:24;;4520:5;;4502:24;;;;;;;;;;;;;;;;;;;:34;4555:17;:24;;-1:-1:-1;;;;;4502:34:6;;;;4475:67;;4543:10;;4573:5;;4555:24;;;;;;;;;;;;;;;;:31;;;4588:4;4475:118;;;;;;;;;;;-1:-1:-1;;;4475:118:6;;;-1:-1:-1;;;;;4475:118:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4467:127;;;;;;;;4443:7;;4397:209;;;-1:-1:-1;;;;;12555:10:6;12541:34;;12567:7;12541:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;12593:6:6;;-1:-1:-1;;;;;12593:6:6;:20;12614:10;12626:7;12593:6;:41;;;;;;;-1:-1:-1;;;12593:41:6;;;;;;-1:-1:-1;;;;;12593:41:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1;;;4641:1:6;4628:210;4649:17;:24;4643:30;;4628:210;;;4733:17;:24;;4751:5;;4733:24;;;;;;;;;;;;;;;;;;;:34;4787:17;:24;;-1:-1:-1;;;;;4733:34:6;;;;4706:68;;4775:10;;4805:5;;4787:24;;;;;;;;;;;;;;;;:31;;;4820:4;4706:119;;;;;;;;;;;-1:-1:-1;;;4706:119:6;;;-1:-1:-1;;;;;4706:119:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4698:128;;;;;;;;4674:7;;4628:210;;;3891:1;;12380:262;;;:::o;1477:28::-;;;-1:-1:-1;;;;;1477:28:6;;:::o;9349:621::-;-1:-1:-1;;;;;4110:10:6;4102:19;9470:4;4102:19;;;;;;;;;;-1:-1:-1;4102:31:6;;-1:-1:-1;;;4102:31:6;4147:9;4102:41;;;:54;4094:63;;;;;;-1:-1:-1;;;;;9497:44:6;;;;;;:25;:44;;;;;:53;;;9496:54;9492:391;;;9567:17;:67;;;;;;:17;:67;;:::i;:::-;;;;;;;;;;;;9590:43;;;;;;;;-1:-1:-1;;;;;9590:43:6;;;;;;;;;;;;-1:-1:-1;9590:43:6;9567:67;;;-1:-1:-1;;9567:67:6;-1:-1:-1;;;;;9567:67:6;;;;;;;;;;;;;;;;-1:-1:-1;9696:57:6;;-1:-1:-1;9696:57:6;;;;;;;;;9721:4;9696:57;;9726:17;:24;-1:-1:-1;;9726:26:6;9696:57;;;;;;;;-1:-1:-1;;;;;9649:44:6;;-1:-1:-1;9649:44:6;;;:25;:44;;;;9696:57;9649:104;;;-1:-1:-1;;9649:104:6;;;;;;;;;;;;;;;;-1:-1:-1;9492:391:6;;;-1:-1:-1;;;;;9803:44:6;;;;;;:25;:44;;;;;-1:-1:-1;9803:50:6;;9785:17;:69;;9864:7;;9803:50;9785:69;;;;;;;;;;;;;;:76;:69;;;;;:76;:86;9492:391;9893:47;9913:17;9932:7;9893:47;;-1:-1:-1;;;;;9893:47:6;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9958:4:6;9349:621;;;;:::o;8492:132::-;-1:-1:-1;;;;;8589:16:6;8562:7;8589:16;;;;;;;;;;:27;;8492:132::o;10166:947::-;10274:4;10296:56;;:::i;:::-;10550:40;;:::i;:::-;-1:-1:-1;;;;;4110:10:6;4102:19;:7;:19;;;;;;;;;;-1:-1:-1;4102:31:6;;-1:-1:-1;;;4102:31:6;4147:9;4102:41;;;:54;4094:63;;;;;;-1:-1:-1;;;;;10355:44:6;;;;;;:25;:44;;;;;;;;;10296:103;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10296:103:6;10416:33;10412:671;;;10503:17;:24;-1:-1:-1;;10503:26:6;10470:30;;;;:59;10466:386;;;10593:17;10611:24;;-1:-1:-1;;10611:26:6;;;10593:45;;;;;;;;;;;;;;;;10550:88;;;;;;;;;;-1:-1:-1;;;;;10550:88:6;;;-1:-1:-1;10550:88:6;;;;;;;;;;;;;;-1:-1:-1;10550:88:6;;10657:17;;10675:30;;;10657:49;;;;;;;;;;;;;;;;;;:68;;;;;;-1:-1:-1;;10657:68:6;-1:-1:-1;;;;;10657:68:6;;;;;;;;;;;;;;;;-1:-1:-1;10806:30:6;;;;10744:25;:53;10770:16;:26;-1:-1:-1;;;;;10744:53:6;;;;;;;;;;;;-1:-1:-1;10744:53:6;-1:-1:-1;10744:59:6;:92;10466:386;10866:17;:26;;;;;-1:-1:-1;;10866:26:6;;;:::i;:::-;-1:-1:-1;;;;;;10914:44:6;;;;;;:25;:44;;;;;;;10907:51;;-1:-1:-1;;10907:51:6;;;-1:-1:-1;10907:51:6;;;;;10973:72;;10914:44;;11014:30;;;10973:72;;-1:-1:-1;;;;;10973:72:6;;;;;;;;;;;;;;;;;;;;;11067:4;11060:11;;;;10412:671;-1:-1:-1;11100:5:6;;10166:947;-1:-1:-1;;;10166:947:6:o;1281:20::-;;;-1:-1:-1;;;;;1281:20:6;;:::o;1743:75::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;7334:611::-;-1:-1:-1;;;;;3969:10:6;3961:19;7481:4;3961:19;;;;;;;;;;-1:-1:-1;3961:31:6;;-1:-1:-1;;;3961:31:6;4006:9;3961:41;;;:54;3953:63;;;;;;4318:527;4376:10;4397:209;4418:17;:24;4412:30;;4397:209;;;4502:17;:24;;4520:5;;4502:24;;;;;;;;;;;;;;;;;;;:34;4555:17;:24;;-1:-1:-1;;;;;4502:34:6;;;;4475:67;;4543:10;;4573:5;;4555:24;;;;;;;;;;;;;;;;:31;;;4588:4;4475:118;;;;;;;;;;;-1:-1:-1;;;4475:118:6;;;-1:-1:-1;;;;;4475:118:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4467:127;;;;;;;;4443:7;;4397:209;;;-1:-1:-1;;;;;7546:16:6;;7595:1;7546:16;;;;;;;;;;-1:-1:-1;7546:28:6;;-1:-1:-1;;;7546:28:6;;;:38;:51;7542:98;;;7621:5;7614:12;;;;7542:98;7772:10;-1:-1:-1;;;;;7764:19:6;;;7808:1;7764:19;;;;;;;;;;;-1:-1:-1;7764:31:6;;;;7733:16;;;;;;;:28;;-1:-1:-1;;;7764:31:6;;;7763:32;7733:28;;:63;7721:10;:76;:89;7713:98;;;;;;-1:-1:-1;;;;;7844:37:6;;;;7861:10;7844:37;;;;;;;;;;;-1:-1:-1;;;;;7899:16:6;;:7;:16;;;;;;;;;;7892:23;;;-1:-1:-1;7892:23:6;;;;;-1:-1:-1;;7892:23:6;;;-1:-1:-1;;4616:1:6;-1:-1:-1;4641:1:6;4628:210;4649:17;:24;4643:30;;4628:210;;;4733:17;:24;;4751:5;;4733:24;;;;;;;;;;;;;;;;;;;:34;4787:17;:24;;-1:-1:-1;;;;;4733:34:6;;;;4706:68;;4775:10;;4805:5;;4787:24;;;;;;;;;;;;;;;;:31;;;4820:4;4706:119;;;;;;;;;;;-1:-1:-1;;;4706:119:6;;;-1:-1:-1;;;;;4706:119:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4698:128;;;;;;;;4674:7;;4628:210;;1610:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1610:43:6;;;;-1:-1:-1;1610:43:6;:::o;8063:259::-;8104:4;8125:30;8144:10;8125:18;:30::i;:::-;:39;;8121:84;;-1:-1:-1;8188:5:6;8181:12;;8121:84;-1:-1:-1;;;;;8230:10:6;8222:19;:7;:19;;;;;;;;;;;8215:26;;;-1:-1:-1;8215:26:6;;;;;-1:-1:-1;;8215:26:6;;;8222:19;;8252:40;;;;;;;;;;-1:-1:-1;8310:4:6;8063:259;;:::o;8330:154::-;-1:-1:-1;;;;;8424:16:6;8399:4;8424:16;;;;;;;;;;-1:-1:-1;8424:28:6;;-1:-1:-1;;;8424:28:6;;;:38;:51;;;8330:154::o;1342:34::-;;;-1:-1:-1;;;;;1342:34:6;;:::o;15051:418::-;3833:10;-1:-1:-1;;;;;3825:19:6;15269:4;3825:19;;;;;;;;;;-1:-1:-1;3825:31:6;;-1:-1:-1;;;3825:31:6;;;:41;;:54;3817:63;;;;;;4318:527;4376:10;4397:209;4418:17;:24;4412:30;;4397:209;;;4502:17;:24;;4520:5;;4502:24;;;;;;;;;;;;;;;;;;;:34;4555:17;:24;;-1:-1:-1;;;;;4502:34:6;;;;4475:67;;4543:10;;4573:5;;4555:24;;;;;;;;;;;;;;;;:31;;;4588:4;4475:118;;;;;;;;;;;-1:-1:-1;;;4475:118:6;;;-1:-1:-1;;;;;4475:118:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4467:127;;;;;;;;4443:7;;4397:209;;;-1:-1:-1;;;;;15291:77:6;;;;15321:10;15291:77;;15347:8;15356:11;15291:77;;-1:-1:-1;;;;;15291:77:6;;;;;;;;;;;;;;;;;;;;;15386:6;;-1:-1:-1;;;;;15386:6:6;:36;15423:14;15439:8;15449:11;15386:6;:75;;;;;;;;;;-1:-1:-1;;;15386:75:6;;;-1:-1:-1;;;;;15386:75:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4641:1:6;4628:210;4649:17;:24;4643:30;;4628:210;;;4733:17;:24;;4751:5;;4733:24;;;;;;;;;;;;;;;;;;;:34;4787:17;:24;;-1:-1:-1;;;;;4733:34:6;;;;4706:68;;4775:10;;4805:5;;4787:24;;;;;;;;;;;;;;;;:31;;;4820:4;4706:119;;;;;;;;;;;-1:-1:-1;;;4706:119:6;;;-1:-1:-1;;;;;4706:119:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4698:128;;;;;;;;4674:7;;4628:210;;;3891:1;;15051:418;;;;;:::o;8632:133::-;-1:-1:-1;;;;;8729:16:6;8703:6;8729:16;;;;;;;;;;-1:-1:-1;8729:28:6;;-1:-1:-1;;;8729:28:6;;8632:133::o;6120:1058::-;6303:4;6327:20;;:::i;:::-;-1:-1:-1;;;;;3969:10:6;3961:19;:7;:19;;;;;;;;;;-1:-1:-1;3961:31:6;;-1:-1:-1;;;3961:31:6;4006:9;3961:41;;;:54;3953:63;;;;;;4318:527;4376:10;4397:209;4418:17;:24;4412:30;;4397:209;;;4502:17;:24;;4520:5;;4502:24;;;;;;;;;;;;;;;;;;;:34;4555:17;:24;;-1:-1:-1;;;;;4502:34:6;;;;4475:67;;4543:10;;4573:5;;4555:24;;;;;;;;;;;;;;;;:31;;;4588:4;4475:118;;;;;;;;;;;-1:-1:-1;;;4475:118:6;;;-1:-1:-1;;;;;4475:118:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4467:127;;;;;;;;4443:7;;4397:209;;;-1:-1:-1;;;;;6350:16:6;;:7;:16;;;;;;;;;;;;;;6327:39;;;;;;;;;;;;;;;;;-1:-1:-1;;;6327:39:6;;;-1:-1:-1;;;;;;6327:39:6;;;;;;;;6726:10;-1:-1:-1;;;;;6718:19:6;-1:-1:-1;6718:19:6;;;;;;;;;;:31;;;;6327:39;;-1:-1:-1;;;6718:31:6;;6717:32;;6696:18;6683:31;;6671:79;:10;:79;:92;6663:101;;;;;;6911:10;-1:-1:-1;;;;;6903:19:6;6947:1;6903:19;;;;;;;;;;-1:-1:-1;6903:31:6;;-1:-1:-1;;;6903:31:6;6902:32;;6882:18;;;:53;6870:10;:66;:79;6862:88;;;;;;-1:-1:-1;;;;;6997:16:6;;;:7;:16;;;;;;;;;;;;:41;;;-1:-1:-1;7049:28:6;:53;;-1:-1:-1;;7049:53:6;-1:-1:-1;;;7080:22:6;;;7049:53;;;;6997:16;;7128:10;7113:35;;;;;;;;;;;;7166:4;7159:11;;-1:-1:-1;4641:1:6;4628:210;4649:17;:24;4643:30;;4628:210;;;4733:17;:24;;4751:5;;4733:24;;;;;;;;;;;;;;;;;;;:34;4787:17;:24;;-1:-1:-1;;;;;4733:34:6;;;;4706:68;;4775:10;;4805:5;;4787:24;;;;;;;;;;;;;;;;:31;;;4820:4;4706:119;;;;;;;;;;;-1:-1:-1;;;4706:119:6;;;-1:-1:-1;;;;;4706:119:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4698:128;;;;;;;;4674:7;;4628:210;;;4027:1;;6120:1058;;;;;;:::o;14262:404::-;3833:10;-1:-1:-1;;;;;3825:19:6;14477:4;3825:19;;;;;;;;;;-1:-1:-1;3825:31:6;;-1:-1:-1;;;3825:31:6;;;:41;;:54;3817:63;;;;;;4318:527;4376:10;4397:209;4418:17;:24;4412:30;;4397:209;;;4502:17;:24;;4520:5;;4502:24;;;;;;;;;;;;;;;;;;;:34;4555:17;:24;;-1:-1:-1;;;;;4502:34:6;;;;4475:67;;4543:10;;4573:5;;4555:24;;;;;;;;;;;;;;;;:31;;;4588:4;4475:118;;;;;;;;;;;-1:-1:-1;;;4475:118:6;;;-1:-1:-1;;;;;4475:118:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4467:127;;;;;;;;4443:7;;4397:209;;;-1:-1:-1;;;;;14499:73:6;;;;14525:10;14499:73;;14553:5;14560:3;14565:6;14499:73;;-1:-1:-1;;;;;14499:73:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14590:6;;-1:-1:-1;;;;;14590:6:6;:32;14623:14;14639:5;14646:3;14651:6;14590;:68;;;;;;;;;;-1:-1:-1;;;14590:68:6;;;-1:-1:-1;;;;;14590:68:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4641:1:6;4628:210;4649:17;:24;4643:30;;4628:210;;;4733:17;:24;;4751:5;;4733:24;;;;;;;;;;;;;;;;;;;:34;4787:17;:24;;-1:-1:-1;;;;;4733:34:6;;;;4706:68;;4775:10;;4805:5;;4787:24;;;;;;;;;;;;;;;;:31;;;4820:4;4706:119;;;;;;;;;;;-1:-1:-1;;;4706:119:6;;;-1:-1:-1;;;;;4706:119:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4698:128;;;;;;;;4674:7;;4628:210;;;3891:1;;14262:404;;;;;;:::o;11351:680::-;-1:-1:-1;;;;;4243:10:6;4235:19;11442:4;4235:19;;;;;;;;;;-1:-1:-1;4235:31:6;;-1:-1:-1;;;4235:31:6;4280:9;4235:41;;;:54;4227:63;;;;;;11472:13;;-1:-1:-1;;;;;11472:13:6;:27;11464:36;;;;;;-1:-1:-1;;;;;11574:28:6;;;;11566:37;;;;;;11614:13;:30;;-1:-1:-1;;11614:30:6;-1:-1:-1;;;;;11614:30:6;;;;;;;;;;-1:-1:-1;11655:6:6;;:24;11614:30;11655:40;;;;;-1:-1:-1;;;11655:40:6;;;-1:-1:-1;;;;;11655:40:6;;;;;;;;;;-1:-1:-1;11655:40:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11710:11:6;;-1:-1:-1;;;;;11741:4:6;11710:36;;;-1:-1:-1;11710:11:6;:17;:11;:19;;;;;;;-1:-1:-1;;;11710:19:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11710:36:6;;;;;11706:114;;-1:-1:-1;11706:114:6;;11763:11;;-1:-1:-1;;;;;11763:11:6;:29;11793:14;11763:45;;;;;-1:-1:-1;;;11763:45:6;;;-1:-1:-1;;;;;11763:45:6;;;;;;;;;;-1:-1:-1;11763:45:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11706:114;11834:16;;-1:-1:-1;;;;;11870:4:6;11834:41;;;:16;:22;:16;:24;;;;;;;-1:-1:-1;;;11834:24:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11834:41:6;;;;;11830:124;;-1:-1:-1;11830:124:6;;11892:16;;-1:-1:-1;;;;;11892:16:6;:34;11927:14;11892:50;;;;;-1:-1:-1;;;11892:50:6;;;-1:-1:-1;;;;;11892:50:6;;;;;;;;;;-1:-1:-1;11892:50:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11830:124;11987:13;;11964:37;;11982:4;;-1:-1:-1;;;;;11987:13:6;11964:37;;-1:-1:-1;;;;;11964:37:6;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12019:4:6;11351:680;;;:::o;12843:267::-;3833:10;-1:-1:-1;;;;;3825:19:6;12987:4;3825:19;;;;;;;;;;-1:-1:-1;3825:31:6;;-1:-1:-1;;;3825:31:6;;;:41;;:54;3817:63;;;;;;4318:527;4376:10;4397:209;4418:17;:24;4412:30;;4397:209;;;4502:17;:24;;4520:5;;4502:24;;;;;;;;;;;;;;;;;;;:34;4555:17;:24;;-1:-1:-1;;;;;4502:34:6;;;;4475:67;;4543:10;;4573:5;;4555:24;;;;;;;;;;;;;;;;:31;;;4588:4;4475:118;;;;;;;;;;;-1:-1:-1;;;4475:118:6;;;-1:-1:-1;;;;;4475:118:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4467:127;;;;;;;;4443:7;;4397:209;;;-1:-1:-1;;;;;13009:40:6;;;;13019:10;13009:40;;13031:12;13009:40;;;;;;;;;;;;;;13067:6;;-1:-1:-1;;;;;13067:6:6;:16;13084:12;13098:3;13067:6;:35;;;;;;;;;;-1:-1:-1;;;13067:35:6;;;;;;;;;;-1:-1:-1;;;;;13067:35:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4641:1:6;4628:210;4649:17;:24;4643:30;;4628:210;;;4733:17;:24;;4751:5;;4733:24;;;;;;;;;;;;;;;;;;;:34;4787:17;:24;;-1:-1:-1;;;;;4733:34:6;;;;4706:68;;4775:10;;4805:5;;4787:24;;;;;;;;;;;;;;;;:31;;;4820:4;4706:119;;;;;;;;;;;-1:-1:-1;;;4706:119:6;;;-1:-1:-1;;;;;4706:119:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4698:128;;;;;;;;4674:7;;4628:210;;15859:433;3833:10;-1:-1:-1;;;;;3825:19:6;16082:4;3825:19;;;;;;;;;;-1:-1:-1;3825:31:6;;-1:-1:-1;;;3825:31:6;;;:41;;:54;3817:63;;;;;;4318:527;4376:10;4397:209;4418:17;:24;4412:30;;4397:209;;;4502:17;:24;;4520:5;;4502:24;;;;;;;;;;;;;;;;;;;:34;4555:17;:24;;-1:-1:-1;;;;;4502:34:6;;;;4475:67;;4543:10;;4573:5;;4555:24;;;;;;;;;;;;;;;;:31;;;4588:4;4475:118;;;;;;;;;;;-1:-1:-1;;;4475:118:6;;;-1:-1:-1;;;;;4475:118:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4467:127;;;;;;;;4443:7;;4397:209;;;-1:-1:-1;;;;;16104:82:6;;;;16134:10;16104:82;;16160:8;16169:16;16104:82;;-1:-1:-1;;;;;16104:82:6;;;;;;;;;;;;;;;;;;;;;16204:6;;-1:-1:-1;;;;;16204:6:6;:36;16241:14;16257:8;16267:16;16204:6;:80;;;;;;;;;;-1:-1:-1;;;16204:80:6;;;-1:-1:-1;;;;;16204:80:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4641:1:6;4628:210;4649:17;:24;4643:30;;4628:210;;;4733:17;:24;;4751:5;;4733:24;;;;;;;;;;;;;;;;;;;:34;4787:17;:24;;-1:-1:-1;;;;;4733:34:6;;;;4706:68;;4775:10;;4805:5;;4787:24;;;;;;;;;;;;;;;;:31;;;4820:4;4706:119;;;;;;;;;;;-1:-1:-1;;;4706:119:6;;;-1:-1:-1;;;;;4706:119:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4698:128;;;;;;;;4674:7;;4628:210;;8798:114;8880:17;:24;8798:114;:::o;13402:359::-;3833:10;-1:-1:-1;;;;;3825:19:6;13594:4;3825:19;;;;;;;;;;-1:-1:-1;3825:31:6;;-1:-1:-1;;;3825:31:6;;;:41;;:54;3817:63;;;;;;4318:527;4376:10;4397:209;4418:17;:24;4412:30;;4397:209;;;4502:17;:24;;4520:5;;4502:24;;;;;;;;;;;;;;;;;;;:34;4555:17;:24;;-1:-1:-1;;;;;4502:34:6;;;;4475:67;;4543:10;;4573:5;;4555:24;;;;;;;;;;;;;;;;:31;;;4588:4;4475:118;;;;;;;;;;;-1:-1:-1;;;4475:118:6;;;-1:-1:-1;;;;;4475:118:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4467:127;;;;;;;;4443:7;;4397:209;;;-1:-1:-1;;;;;13616:62:6;;;;;;;;13638:10;13616:62;;13671:6;13616:62;;;;;;;;;;;;;;13696:6;;-1:-1:-1;;;;;13696:6:6;:28;13725:14;13741:3;13746:6;13696;:57;;;;;;;;;;-1:-1:-1;;;13696:57:6;;;-1:-1:-1;;;;;13696:57:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4641:1:6;4628:210;4649:17;:24;4643:30;;4628:210;;;4733:17;:24;;4751:5;;4733:24;;;;;;;;;;;;;;;;;;;:34;4787:17;:24;;-1:-1:-1;;;;;4733:34:6;;;;4706:68;;4775:10;;4805:5;;4787:24;;;;;;;;;;;;;;;;:31;;;4820:4;4706:119;;;;;;;;;;;-1:-1:-1;;;4706:119:6;;;-1:-1:-1;;;;;4706:119:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4698:128;;;;;;;;4674:7;;4628:210;;1233:39;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1233:39:6;;:::o;1308:27::-;;;-1:-1:-1;;;;;1308:27:6;;:::o;440:15857::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;440:15857:6;;;-1:-1:-1;;440:15857:6;;;;;;;;;;", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./Avatar.sol\";\r\nimport \"./Reputation.sol\";\r\nimport \"./DAOToken.sol\";\r\nimport \"../globalConstraints/GlobalConstraintInterface.sol\";\r\n\r\n\r\n/**\r\n * @title Controller contract\r\n * @dev A controller controls the organizations tokens,reputation and avatar.\r\n * It is subject to a set of schemes and constraints that determine its behavior.\r\n * Each scheme has it own parameters and operation permmisions.\r\n */\r\ncontract Controller {\r\n\r\n struct Scheme {\r\n bytes32 paramsHash; // a hash \"configuration\" of the scheme\r\n bytes4 permissions; // A bitwise flags of permissions,\r\n // All 0: Not registered,\r\n // 1st bit: Flag if the scheme is registered,\r\n // 2nd bit: Scheme can register other schemes\r\n // 3th bit: Scheme can add/remove global constraints\r\n // 4rd bit: Scheme can upgrade the controller\r\n }\r\n\r\n struct GlobalConstraint {\r\n address gcAddress;\r\n bytes32 params;\r\n }\r\n\r\n struct GlobalConstraintRegister {\r\n bool register; //is register\r\n uint index; //index at globalConstraints\r\n }\r\n\r\n mapping(address=>Scheme) public schemes;\r\n\r\n Avatar public avatar;\r\n DAOToken public nativeToken;\r\n Reputation public nativeReputation;\r\n // newController will point to the new controller after the present controller is upgraded\r\n address public newController;\r\n // globalConstraints that determine pre- and post-conditions for all actions on the controller\r\n GlobalConstraint[] public globalConstraints;\r\n // globalConstraintsRegister indicate is a globalConstraints is register or not\r\n mapping(address=>GlobalConstraintRegister) public globalConstraintsRegister;\r\n\r\n\r\n\r\n event MintReputation (address indexed _sender, address indexed _beneficiary, int256 _amount);\r\n event MintTokens (address indexed _sender, address indexed _beneficiary, uint256 _amount);\r\n event RegisterScheme (address indexed _sender, address indexed _scheme);\r\n event UnregisterScheme (address indexed _sender, address indexed _scheme);\r\n event GenericAction (address indexed _sender, bytes32[] _params);\r\n event SendEther (address indexed _sender, uint _amountInWei, address indexed _to);\r\n event ExternalTokenTransfer (address indexed _sender, address indexed _externalToken, address indexed _to, uint _value);\r\n event ExternalTokenTransferFrom (address indexed _sender, address indexed _externalToken, address _from, address _to, uint _value);\r\n event ExternalTokenIncreaseApproval (address indexed _sender, StandardToken indexed _externalToken, address _spender, uint _value);\r\n event ExternalTokenDecreaseApproval (address indexed _sender, StandardToken indexed _externalToken, address _spender, uint _value);\r\n event AddGlobalConstraint(address _globalconstraint, bytes32 _params);\r\n event RemoveGlobalConstraint(address _globalConstraint ,uint256 _index);\r\n event UpgradeController(address _oldController,address _newController);\r\n\r\n function Controller(\r\n Avatar _avatar,\r\n address[] _schemes,\r\n bytes32[] _params,\r\n bytes4[] _permissions\r\n ) public\r\n {\r\n avatar = _avatar;\r\n nativeToken = avatar.nativeToken();\r\n nativeReputation = avatar.nativeReputation();\r\n\r\n // Register the schemes:\r\n for (uint i = 0; i < _schemes.length; i++) {\r\n schemes[_schemes[i]] = Scheme({paramsHash: _params[i],permissions: _permissions[i]|bytes4(1)});\r\n RegisterScheme(msg.sender, _schemes[i]);\r\n }\r\n }\r\n\r\n // Do not allow mistaken calls:\r\n function() public {\r\n revert();\r\n }\r\n\r\n // Modifiers:\r\n modifier onlyRegisteredScheme() {\r\n require(schemes[msg.sender].permissions&bytes4(1) == bytes4(1));\r\n _;\r\n }\r\n\r\n modifier onlyRegisteringSchemes() {\r\n require(schemes[msg.sender].permissions&bytes4(2) == bytes4(2));\r\n _;\r\n }\r\n\r\n modifier onlyGlobalConstraintsScheme() {\r\n require(schemes[msg.sender].permissions&bytes4(4) == bytes4(4));\r\n _;\r\n }\r\n\r\n modifier onlyUpgradingScheme() {\r\n require(schemes[msg.sender].permissions&bytes4(8) == bytes4(8));\r\n _;\r\n }\r\n\r\n modifier onlySubjectToConstraint(bytes32 func) {\r\n uint index;\r\n for (index = 0;index struct Controller.Scheme storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => struct Controller.Scheme storage ref)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3094, - "name": "ElementaryTypeName", - "src": "1241:7:6" - }, - { - "attributes": { - "contractScope": null, - "name": "Scheme", - "referencedDeclaration": 3083, - "type": "struct Controller.Scheme storage pointer" - }, - "id": 3095, - "name": "UserDefinedTypeName", - "src": "1250:6:6" - } - ], - "id": 3096, - "name": "Mapping", - "src": "1233:24:6" - } - ], - "id": 3097, - "name": "VariableDeclaration", - "src": "1233:39:6" - }, - { - "attributes": { - "constant": false, - "name": "avatar", - "scope": 4157, - "stateVariable": true, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 3098, - "name": "UserDefinedTypeName", - "src": "1281:6:6" - } - ], - "id": 3099, - "name": "VariableDeclaration", - "src": "1281:20:6" - }, - { - "attributes": { - "constant": false, - "name": "nativeToken", - "scope": 4157, - "stateVariable": true, - "storageLocation": "default", - "type": "contract DAOToken", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "DAOToken", - "referencedDeclaration": 4192, - "type": "contract DAOToken" - }, - "id": 3100, - "name": "UserDefinedTypeName", - "src": "1308:8:6" - } - ], - "id": 3101, - "name": "VariableDeclaration", - "src": "1308:27:6" - }, - { - "attributes": { - "constant": false, - "name": "nativeReputation", - "scope": 4157, - "stateVariable": true, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 3102, - "name": "UserDefinedTypeName", - "src": "1342:10:6" - } - ], - "id": 3103, - "name": "VariableDeclaration", - "src": "1342:34:6" - }, - { - "attributes": { - "constant": false, - "name": "newController", - "scope": 4157, - "stateVariable": true, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3104, - "name": "ElementaryTypeName", - "src": "1477:7:6" - } - ], - "id": 3105, - "name": "VariableDeclaration", - "src": "1477:28:6" - }, - { - "attributes": { - "constant": false, - "name": "globalConstraints", - "scope": 4157, - "stateVariable": true, - "storageLocation": "default", - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "struct Controller.GlobalConstraint storage ref[] storage pointer" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "GlobalConstraint", - "referencedDeclaration": 3088, - "type": "struct Controller.GlobalConstraint storage pointer" - }, - "id": 3106, - "name": "UserDefinedTypeName", - "src": "1610:16:6" - } - ], - "id": 3107, - "name": "ArrayTypeName", - "src": "1610:18:6" - } - ], - "id": 3108, - "name": "VariableDeclaration", - "src": "1610:43:6" - }, - { - "attributes": { - "constant": false, - "name": "globalConstraintsRegister", - "scope": 4157, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => struct Controller.GlobalConstraintRegister storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => struct Controller.GlobalConstraintRegister storage ref)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3109, - "name": "ElementaryTypeName", - "src": "1751:7:6" - }, - { - "attributes": { - "contractScope": null, - "name": "GlobalConstraintRegister", - "referencedDeclaration": 3093, - "type": "struct Controller.GlobalConstraintRegister storage pointer" - }, - "id": 3110, - "name": "UserDefinedTypeName", - "src": "1760:24:6" - } - ], - "id": 3111, - "name": "Mapping", - "src": "1743:42:6" - } - ], - "id": 3112, - "name": "VariableDeclaration", - "src": "1743:75:6" - }, - { - "attributes": { - "anonymous": false, - "name": "MintReputation" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 3120, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3113, - "name": "ElementaryTypeName", - "src": "1853:7:6" - } - ], - "id": 3114, - "name": "VariableDeclaration", - "src": "1853:23:6" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_beneficiary", - "scope": 3120, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3115, - "name": "ElementaryTypeName", - "src": "1878:7:6" - } - ], - "id": 3116, - "name": "VariableDeclaration", - "src": "1878:28:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_amount", - "scope": 3120, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int256", - "type": "int256" - }, - "id": 3117, - "name": "ElementaryTypeName", - "src": "1908:6:6" - } - ], - "id": 3118, - "name": "VariableDeclaration", - "src": "1908:14:6" - } - ], - "id": 3119, - "name": "ParameterList", - "src": "1852:71:6" - } - ], - "id": 3120, - "name": "EventDefinition", - "src": "1831:93:6" - }, - { - "attributes": { - "anonymous": false, - "name": "MintTokens" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 3128, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3121, - "name": "ElementaryTypeName", - "src": "1948:7:6" - } - ], - "id": 3122, - "name": "VariableDeclaration", - "src": "1948:23:6" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_beneficiary", - "scope": 3128, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3123, - "name": "ElementaryTypeName", - "src": "1973:7:6" - } - ], - "id": 3124, - "name": "VariableDeclaration", - "src": "1973:28:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_amount", - "scope": 3128, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 3125, - "name": "ElementaryTypeName", - "src": "2003:7:6" - } - ], - "id": 3126, - "name": "VariableDeclaration", - "src": "2003:15:6" - } - ], - "id": 3127, - "name": "ParameterList", - "src": "1947:72:6" - } - ], - "id": 3128, - "name": "EventDefinition", - "src": "1930:90:6" - }, - { - "attributes": { - "anonymous": false, - "name": "RegisterScheme" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 3134, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3129, - "name": "ElementaryTypeName", - "src": "2048:7:6" - } - ], - "id": 3130, - "name": "VariableDeclaration", - "src": "2048:23:6" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_scheme", - "scope": 3134, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3131, - "name": "ElementaryTypeName", - "src": "2073:7:6" - } - ], - "id": 3132, - "name": "VariableDeclaration", - "src": "2073:23:6" - } - ], - "id": 3133, - "name": "ParameterList", - "src": "2047:50:6" - } - ], - "id": 3134, - "name": "EventDefinition", - "src": "2026:72:6" - }, - { - "attributes": { - "anonymous": false, - "name": "UnregisterScheme" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 3140, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3135, - "name": "ElementaryTypeName", - "src": "2128:7:6" - } - ], - "id": 3136, - "name": "VariableDeclaration", - "src": "2128:23:6" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_scheme", - "scope": 3140, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3137, - "name": "ElementaryTypeName", - "src": "2153:7:6" - } - ], - "id": 3138, - "name": "VariableDeclaration", - "src": "2153:23:6" - } - ], - "id": 3139, - "name": "ParameterList", - "src": "2127:50:6" - } - ], - "id": 3140, - "name": "EventDefinition", - "src": "2104:74:6" - }, - { - "attributes": { - "anonymous": false, - "name": "GenericAction" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 3147, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3141, - "name": "ElementaryTypeName", - "src": "2205:7:6" - } - ], - "id": 3142, - "name": "VariableDeclaration", - "src": "2205:23:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_params", - "scope": 3147, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 3143, - "name": "ElementaryTypeName", - "src": "2230:7:6" - } - ], - "id": 3144, - "name": "ArrayTypeName", - "src": "2230:9:6" - } - ], - "id": 3145, - "name": "VariableDeclaration", - "src": "2230:17:6" - } - ], - "id": 3146, - "name": "ParameterList", - "src": "2204:44:6" - } - ], - "id": 3147, - "name": "EventDefinition", - "src": "2184:65:6" - }, - { - "attributes": { - "anonymous": false, - "name": "SendEther" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 3155, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3148, - "name": "ElementaryTypeName", - "src": "2272:7:6" - } - ], - "id": 3149, - "name": "VariableDeclaration", - "src": "2272:23:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_amountInWei", - "scope": 3155, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3150, - "name": "ElementaryTypeName", - "src": "2297:4:6" - } - ], - "id": 3151, - "name": "VariableDeclaration", - "src": "2297:17:6" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_to", - "scope": 3155, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3152, - "name": "ElementaryTypeName", - "src": "2316:7:6" - } - ], - "id": 3153, - "name": "VariableDeclaration", - "src": "2316:19:6" - } - ], - "id": 3154, - "name": "ParameterList", - "src": "2271:65:6" - } - ], - "id": 3155, - "name": "EventDefinition", - "src": "2255:82:6" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenTransfer" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 3165, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3156, - "name": "ElementaryTypeName", - "src": "2372:7:6" - } - ], - "id": 3157, - "name": "VariableDeclaration", - "src": "2372:23:6" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 3165, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3158, - "name": "ElementaryTypeName", - "src": "2397:7:6" - } - ], - "id": 3159, - "name": "VariableDeclaration", - "src": "2397:30:6" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_to", - "scope": 3165, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3160, - "name": "ElementaryTypeName", - "src": "2429:7:6" - } - ], - "id": 3161, - "name": "VariableDeclaration", - "src": "2429:19:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_value", - "scope": 3165, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3162, - "name": "ElementaryTypeName", - "src": "2450:4:6" - } - ], - "id": 3163, - "name": "VariableDeclaration", - "src": "2450:11:6" - } - ], - "id": 3164, - "name": "ParameterList", - "src": "2371:91:6" - } - ], - "id": 3165, - "name": "EventDefinition", - "src": "2343:120:6" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenTransferFrom" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 3177, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3166, - "name": "ElementaryTypeName", - "src": "2502:7:6" - } - ], - "id": 3167, - "name": "VariableDeclaration", - "src": "2502:23:6" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 3177, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3168, - "name": "ElementaryTypeName", - "src": "2527:7:6" - } - ], - "id": 3169, - "name": "VariableDeclaration", - "src": "2527:30:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_from", - "scope": 3177, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3170, - "name": "ElementaryTypeName", - "src": "2559:7:6" - } - ], - "id": 3171, - "name": "VariableDeclaration", - "src": "2559:13:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_to", - "scope": 3177, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3172, - "name": "ElementaryTypeName", - "src": "2574:7:6" - } - ], - "id": 3173, - "name": "VariableDeclaration", - "src": "2574:11:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_value", - "scope": 3177, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3174, - "name": "ElementaryTypeName", - "src": "2587:4:6" - } - ], - "id": 3175, - "name": "VariableDeclaration", - "src": "2587:11:6" - } - ], - "id": 3176, - "name": "ParameterList", - "src": "2501:98:6" - } - ], - "id": 3177, - "name": "EventDefinition", - "src": "2469:131:6" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenIncreaseApproval" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 3187, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3178, - "name": "ElementaryTypeName", - "src": "2643:7:6" - } - ], - "id": 3179, - "name": "VariableDeclaration", - "src": "2643:23:6" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 3187, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 3180, - "name": "UserDefinedTypeName", - "src": "2668:13:6" - } - ], - "id": 3181, - "name": "VariableDeclaration", - "src": "2668:36:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_spender", - "scope": 3187, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3182, - "name": "ElementaryTypeName", - "src": "2706:7:6" - } - ], - "id": 3183, - "name": "VariableDeclaration", - "src": "2706:16:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_value", - "scope": 3187, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3184, - "name": "ElementaryTypeName", - "src": "2724:4:6" - } - ], - "id": 3185, - "name": "VariableDeclaration", - "src": "2724:11:6" - } - ], - "id": 3186, - "name": "ParameterList", - "src": "2642:94:6" - } - ], - "id": 3187, - "name": "EventDefinition", - "src": "2606:131:6" - }, - { - "attributes": { - "anonymous": false, - "name": "ExternalTokenDecreaseApproval" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_sender", - "scope": 3197, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3188, - "name": "ElementaryTypeName", - "src": "2780:7:6" - } - ], - "id": 3189, - "name": "VariableDeclaration", - "src": "2780:23:6" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_externalToken", - "scope": 3197, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 3190, - "name": "UserDefinedTypeName", - "src": "2805:13:6" - } - ], - "id": 3191, - "name": "VariableDeclaration", - "src": "2805:36:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_spender", - "scope": 3197, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3192, - "name": "ElementaryTypeName", - "src": "2843:7:6" - } - ], - "id": 3193, - "name": "VariableDeclaration", - "src": "2843:16:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_value", - "scope": 3197, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3194, - "name": "ElementaryTypeName", - "src": "2861:4:6" - } - ], - "id": 3195, - "name": "VariableDeclaration", - "src": "2861:11:6" - } - ], - "id": 3196, - "name": "ParameterList", - "src": "2779:94:6" - } - ], - "id": 3197, - "name": "EventDefinition", - "src": "2743:131:6" - }, - { - "attributes": { - "anonymous": false, - "name": "AddGlobalConstraint" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_globalconstraint", - "scope": 3203, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3198, - "name": "ElementaryTypeName", - "src": "2906:7:6" - } - ], - "id": 3199, - "name": "VariableDeclaration", - "src": "2906:25:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_params", - "scope": 3203, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 3200, - "name": "ElementaryTypeName", - "src": "2933:7:6" - } - ], - "id": 3201, - "name": "VariableDeclaration", - "src": "2933:15:6" - } - ], - "id": 3202, - "name": "ParameterList", - "src": "2905:44:6" - } - ], - "id": 3203, - "name": "EventDefinition", - "src": "2880:70:6" - }, - { - "attributes": { - "anonymous": false, - "name": "RemoveGlobalConstraint" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_globalConstraint", - "scope": 3209, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3204, - "name": "ElementaryTypeName", - "src": "2985:7:6" - } - ], - "id": 3205, - "name": "VariableDeclaration", - "src": "2985:25:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_index", - "scope": 3209, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 3206, - "name": "ElementaryTypeName", - "src": "3012:7:6" - } - ], - "id": 3207, - "name": "VariableDeclaration", - "src": "3012:14:6" - } - ], - "id": 3208, - "name": "ParameterList", - "src": "2984:43:6" - } - ], - "id": 3209, - "name": "EventDefinition", - "src": "2956:72:6" - }, - { - "attributes": { - "anonymous": false, - "name": "UpgradeController" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_oldController", - "scope": 3215, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3210, - "name": "ElementaryTypeName", - "src": "3058:7:6" - } - ], - "id": 3211, - "name": "VariableDeclaration", - "src": "3058:22:6" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_newController", - "scope": 3215, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3212, - "name": "ElementaryTypeName", - "src": "3081:7:6" - } - ], - "id": 3213, - "name": "VariableDeclaration", - "src": "3081:22:6" - } - ], - "id": 3214, - "name": "ParameterList", - "src": "3057:47:6" - } - ], - "id": 3215, - "name": "EventDefinition", - "src": "3034:71:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "Controller", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 3286, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 3216, - "name": "UserDefinedTypeName", - "src": "3143:6:6" - } - ], - "id": 3217, - "name": "VariableDeclaration", - "src": "3143:14:6" - }, - { - "attributes": { - "constant": false, - "name": "_schemes", - "scope": 3286, - "stateVariable": false, - "storageLocation": "default", - "type": "address[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "address[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3218, - "name": "ElementaryTypeName", - "src": "3168:7:6" - } - ], - "id": 3219, - "name": "ArrayTypeName", - "src": "3168:9:6" - } - ], - "id": 3220, - "name": "VariableDeclaration", - "src": "3168:18:6" - }, - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 3286, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 3221, - "name": "ElementaryTypeName", - "src": "3197:7:6" - } - ], - "id": 3222, - "name": "ArrayTypeName", - "src": "3197:9:6" - } - ], - "id": 3223, - "name": "VariableDeclaration", - "src": "3197:17:6" - }, - { - "attributes": { - "constant": false, - "name": "_permissions", - "scope": 3286, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes4[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes4[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes4", - "type": "bytes4" - }, - "id": 3224, - "name": "ElementaryTypeName", - "src": "3225:6:6" - } - ], - "id": 3225, - "name": "ArrayTypeName", - "src": "3225:8:6" - } - ], - "id": 3226, - "name": "VariableDeclaration", - "src": "3225:21:6" - } - ], - "id": 3227, - "name": "ParameterList", - "src": "3132:121:6" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 3228, - "name": "ParameterList", - "src": "3266:0:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract Avatar" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3099, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 3229, - "name": "Identifier", - "src": "3277:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3217, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 3230, - "name": "Identifier", - "src": "3286:7:6" - } - ], - "id": 3231, - "name": "Assignment", - "src": "3277:16:6" - } - ], - "id": 3232, - "name": "ExpressionStatement", - "src": "3277:16:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract DAOToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3101, - "type": "contract DAOToken", - "value": "nativeToken" - }, - "id": 3233, - "name": "Identifier", - "src": "3304:11:6" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract DAOToken", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "nativeToken", - "referencedDeclaration": 2803, - "type": "function () view external returns (contract DAOToken)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3099, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 3234, - "name": "Identifier", - "src": "3318:6:6" - } - ], - "id": 3235, - "name": "MemberAccess", - "src": "3318:18:6" - } - ], - "id": 3236, - "name": "FunctionCall", - "src": "3318:20:6" - } - ], - "id": 3237, - "name": "Assignment", - "src": "3304:34:6" - } - ], - "id": 3238, - "name": "ExpressionStatement", - "src": "3304:34:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract Reputation" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3103, - "type": "contract Reputation", - "value": "nativeReputation" - }, - "id": 3239, - "name": "Identifier", - "src": "3349:16:6" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Reputation", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "nativeReputation", - "referencedDeclaration": 2805, - "type": "function () view external returns (contract Reputation)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3099, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 3240, - "name": "Identifier", - "src": "3368:6:6" - } - ], - "id": 3241, - "name": "MemberAccess", - "src": "3368:23:6" - } - ], - "id": 3242, - "name": "FunctionCall", - "src": "3368:25:6" - } - ], - "id": 3243, - "name": "Assignment", - "src": "3349:44:6" - } - ], - "id": 3244, - "name": "ExpressionStatement", - "src": "3349:44:6" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 3246 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "i", - "scope": 3286, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3245, - "name": "ElementaryTypeName", - "src": "3441:4:6" - } - ], - "id": 3246, - "name": "VariableDeclaration", - "src": "3441:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 3247, - "name": "Literal", - "src": "3450:1:6" - } - ], - "id": 3248, - "name": "VariableDeclarationStatement", - "src": "3441:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3246, - "type": "uint256", - "value": "i" - }, - "id": 3249, - "name": "Identifier", - "src": "3453:1:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3220, - "type": "address[] memory", - "value": "_schemes" - }, - "id": 3250, - "name": "Identifier", - "src": "3457:8:6" - } - ], - "id": 3251, - "name": "MemberAccess", - "src": "3457:15:6" - } - ], - "id": 3252, - "name": "BinaryOperation", - "src": "3453:19:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3246, - "type": "uint256", - "value": "i" - }, - "id": 3253, - "name": "Identifier", - "src": "3474:1:6" - } - ], - "id": 3254, - "name": "UnaryOperation", - "src": "3474:3:6" - } - ], - "id": 3255, - "name": "ExpressionStatement", - "src": "3474:3:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3256, - "name": "Identifier", - "src": "3494:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3220, - "type": "address[] memory", - "value": "_schemes" - }, - "id": 3257, - "name": "Identifier", - "src": "3502:8:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3246, - "type": "uint256", - "value": "i" - }, - "id": 3258, - "name": "Identifier", - "src": "3511:1:6" - } - ], - "id": 3259, - "name": "IndexAccess", - "src": "3502:11:6" - } - ], - "id": 3260, - "name": "IndexAccess", - "src": "3494:20:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "paramsHash", - "permissions" - ], - "type": "struct Controller.Scheme memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3083, - "type": "type(struct Controller.Scheme storage pointer)", - "value": "Scheme" - }, - "id": 3261, - "name": "Identifier", - "src": "3517:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3223, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 3262, - "name": "Identifier", - "src": "3537:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3246, - "type": "uint256", - "value": "i" - }, - "id": 3263, - "name": "Identifier", - "src": "3545:1:6" - } - ], - "id": 3264, - "name": "IndexAccess", - "src": "3537:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "|", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3226, - "type": "bytes4[] memory", - "value": "_permissions" - }, - "id": 3265, - "name": "Identifier", - "src": "3561:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3246, - "type": "uint256", - "value": "i" - }, - "id": 3266, - "name": "Identifier", - "src": "3574:1:6" - } - ], - "id": 3267, - "name": "IndexAccess", - "src": "3561:15:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3268, - "name": "ElementaryTypeNameExpression", - "src": "3577:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 3269, - "name": "Literal", - "src": "3584:1:6" - } - ], - "id": 3270, - "name": "FunctionCall", - "src": "3577:9:6" - } - ], - "id": 3271, - "name": "BinaryOperation", - "src": "3561:25:6" - } - ], - "id": 3272, - "name": "FunctionCall", - "src": "3517:71:6" - } - ], - "id": 3273, - "name": "Assignment", - "src": "3494:94:6" - } - ], - "id": 3274, - "name": "ExpressionStatement", - "src": "3494:94:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3134, - "type": "function (address,address)", - "value": "RegisterScheme" - }, - "id": 3275, - "name": "Identifier", - "src": "3603:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3276, - "name": "Identifier", - "src": "3618:3:6" - } - ], - "id": 3277, - "name": "MemberAccess", - "src": "3618:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3220, - "type": "address[] memory", - "value": "_schemes" - }, - "id": 3278, - "name": "Identifier", - "src": "3630:8:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3246, - "type": "uint256", - "value": "i" - }, - "id": 3279, - "name": "Identifier", - "src": "3639:1:6" - } - ], - "id": 3280, - "name": "IndexAccess", - "src": "3630:11:6" - } - ], - "id": 3281, - "name": "FunctionCall", - "src": "3603:39:6" - } - ], - "id": 3282, - "name": "ExpressionStatement", - "src": "3603:39:6" - } - ], - "id": 3283, - "name": "Block", - "src": "3479:175:6" - } - ], - "id": 3284, - "name": "ForStatement", - "src": "3436:218:6" - } - ], - "id": 3285, - "name": "Block", - "src": "3266:395:6" - } - ], - "id": 3286, - "name": "FunctionDefinition", - "src": "3113:548:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 3287, - "name": "ParameterList", - "src": "3712:2:6" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 3288, - "name": "ParameterList", - "src": "3722:0:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 3289, - "name": "Identifier", - "src": "3733:6:6" - } - ], - "id": 3290, - "name": "FunctionCall", - "src": "3733:8:6" - } - ], - "id": 3291, - "name": "ExpressionStatement", - "src": "3733:8:6" - } - ], - "id": 3292, - "name": "Block", - "src": "3722:27:6" - } - ], - "id": 3293, - "name": "FunctionDefinition", - "src": "3704:45:6" - }, - { - "attributes": { - "name": "onlyRegisteredScheme", - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 3294, - "name": "ParameterList", - "src": "3803:2:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3295, - "name": "Identifier", - "src": "3817:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3296, - "name": "Identifier", - "src": "3825:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3297, - "name": "Identifier", - "src": "3833:3:6" - } - ], - "id": 3298, - "name": "MemberAccess", - "src": "3833:10:6" - } - ], - "id": 3299, - "name": "IndexAccess", - "src": "3825:19:6" - } - ], - "id": 3300, - "name": "MemberAccess", - "src": "3825:31:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3301, - "name": "ElementaryTypeNameExpression", - "src": "3857:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 3302, - "name": "Literal", - "src": "3864:1:6" - } - ], - "id": 3303, - "name": "FunctionCall", - "src": "3857:9:6" - } - ], - "id": 3304, - "name": "BinaryOperation", - "src": "3825:41:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3305, - "name": "ElementaryTypeNameExpression", - "src": "3870:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 3306, - "name": "Literal", - "src": "3877:1:6" - } - ], - "id": 3307, - "name": "FunctionCall", - "src": "3870:9:6" - } - ], - "id": 3308, - "name": "BinaryOperation", - "src": "3825:54:6" - } - ], - "id": 3309, - "name": "FunctionCall", - "src": "3817:63:6" - } - ], - "id": 3310, - "name": "ExpressionStatement", - "src": "3817:63:6" - }, - { - "id": 3311, - "name": "PlaceholderStatement", - "src": "3891:1:6" - } - ], - "id": 3312, - "name": "Block", - "src": "3806:94:6" - } - ], - "id": 3313, - "name": "ModifierDefinition", - "src": "3774:126:6" - }, - { - "attributes": { - "name": "onlyRegisteringSchemes", - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 3314, - "name": "ParameterList", - "src": "3939:2:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3315, - "name": "Identifier", - "src": "3953:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3316, - "name": "Identifier", - "src": "3961:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3317, - "name": "Identifier", - "src": "3969:3:6" - } - ], - "id": 3318, - "name": "MemberAccess", - "src": "3969:10:6" - } - ], - "id": 3319, - "name": "IndexAccess", - "src": "3961:19:6" - } - ], - "id": 3320, - "name": "MemberAccess", - "src": "3961:31:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3321, - "name": "ElementaryTypeNameExpression", - "src": "3993:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 3322, - "name": "Literal", - "src": "4000:1:6" - } - ], - "id": 3323, - "name": "FunctionCall", - "src": "3993:9:6" - } - ], - "id": 3324, - "name": "BinaryOperation", - "src": "3961:41:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3325, - "name": "ElementaryTypeNameExpression", - "src": "4006:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 3326, - "name": "Literal", - "src": "4013:1:6" - } - ], - "id": 3327, - "name": "FunctionCall", - "src": "4006:9:6" - } - ], - "id": 3328, - "name": "BinaryOperation", - "src": "3961:54:6" - } - ], - "id": 3329, - "name": "FunctionCall", - "src": "3953:63:6" - } - ], - "id": 3330, - "name": "ExpressionStatement", - "src": "3953:63:6" - }, - { - "id": 3331, - "name": "PlaceholderStatement", - "src": "4027:1:6" - } - ], - "id": 3332, - "name": "Block", - "src": "3942:94:6" - } - ], - "id": 3333, - "name": "ModifierDefinition", - "src": "3908:128:6" - }, - { - "attributes": { - "name": "onlyGlobalConstraintsScheme", - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 3334, - "name": "ParameterList", - "src": "4080:2:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3335, - "name": "Identifier", - "src": "4094:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3336, - "name": "Identifier", - "src": "4102:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3337, - "name": "Identifier", - "src": "4110:3:6" - } - ], - "id": 3338, - "name": "MemberAccess", - "src": "4110:10:6" - } - ], - "id": 3339, - "name": "IndexAccess", - "src": "4102:19:6" - } - ], - "id": 3340, - "name": "MemberAccess", - "src": "4102:31:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3341, - "name": "ElementaryTypeNameExpression", - "src": "4134:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "34", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 4", - "value": "4" - }, - "id": 3342, - "name": "Literal", - "src": "4141:1:6" - } - ], - "id": 3343, - "name": "FunctionCall", - "src": "4134:9:6" - } - ], - "id": 3344, - "name": "BinaryOperation", - "src": "4102:41:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3345, - "name": "ElementaryTypeNameExpression", - "src": "4147:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "34", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 4", - "value": "4" - }, - "id": 3346, - "name": "Literal", - "src": "4154:1:6" - } - ], - "id": 3347, - "name": "FunctionCall", - "src": "4147:9:6" - } - ], - "id": 3348, - "name": "BinaryOperation", - "src": "4102:54:6" - } - ], - "id": 3349, - "name": "FunctionCall", - "src": "4094:63:6" - } - ], - "id": 3350, - "name": "ExpressionStatement", - "src": "4094:63:6" - }, - { - "id": 3351, - "name": "PlaceholderStatement", - "src": "4168:1:6" - } - ], - "id": 3352, - "name": "Block", - "src": "4083:94:6" - } - ], - "id": 3353, - "name": "ModifierDefinition", - "src": "4044:133:6" - }, - { - "attributes": { - "name": "onlyUpgradingScheme", - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 3354, - "name": "ParameterList", - "src": "4213:2:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3355, - "name": "Identifier", - "src": "4227:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3356, - "name": "Identifier", - "src": "4235:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3357, - "name": "Identifier", - "src": "4243:3:6" - } - ], - "id": 3358, - "name": "MemberAccess", - "src": "4243:10:6" - } - ], - "id": 3359, - "name": "IndexAccess", - "src": "4235:19:6" - } - ], - "id": 3360, - "name": "MemberAccess", - "src": "4235:31:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3361, - "name": "ElementaryTypeNameExpression", - "src": "4267:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "38", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 8", - "value": "8" - }, - "id": 3362, - "name": "Literal", - "src": "4274:1:6" - } - ], - "id": 3363, - "name": "FunctionCall", - "src": "4267:9:6" - } - ], - "id": 3364, - "name": "BinaryOperation", - "src": "4235:41:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_8_by_1", - "typeString": "int_const 8" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3365, - "name": "ElementaryTypeNameExpression", - "src": "4280:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "38", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 8", - "value": "8" - }, - "id": 3366, - "name": "Literal", - "src": "4287:1:6" - } - ], - "id": 3367, - "name": "FunctionCall", - "src": "4280:9:6" - } - ], - "id": 3368, - "name": "BinaryOperation", - "src": "4235:54:6" - } - ], - "id": 3369, - "name": "FunctionCall", - "src": "4227:63:6" - } - ], - "id": 3370, - "name": "ExpressionStatement", - "src": "4227:63:6" - }, - { - "id": 3371, - "name": "PlaceholderStatement", - "src": "4301:1:6" - } - ], - "id": 3372, - "name": "Block", - "src": "4216:94:6" - } - ], - "id": 3373, - "name": "ModifierDefinition", - "src": "4185:125:6" - }, - { - "attributes": { - "name": "onlySubjectToConstraint", - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "func", - "scope": 3446, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 3374, - "name": "ElementaryTypeName", - "src": "4351:7:6" - } - ], - "id": 3375, - "name": "VariableDeclaration", - "src": "4351:12:6" - } - ], - "id": 3376, - "name": "ParameterList", - "src": "4350:14:6" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "index", - "scope": 3446, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3377, - "name": "ElementaryTypeName", - "src": "4376:4:6" - } - ], - "id": 3378, - "name": "VariableDeclaration", - "src": "4376:10:6" - } - ], - "id": 3379, - "name": "VariableDeclarationStatement", - "src": "4376:10:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3378, - "type": "uint256", - "value": "index" - }, - "id": 3380, - "name": "Identifier", - "src": "4402:5:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 3381, - "name": "Literal", - "src": "4410:1:6" - } - ], - "id": 3382, - "name": "Assignment", - "src": "4402:9:6" - } - ], - "id": 3383, - "name": "ExpressionStatement", - "src": "4402:9:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3378, - "type": "uint256", - "value": "index" - }, - "id": 3384, - "name": "Identifier", - "src": "4412:5:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3385, - "name": "Identifier", - "src": "4418:17:6" - } - ], - "id": 3386, - "name": "MemberAccess", - "src": "4418:24:6" - } - ], - "id": 3387, - "name": "BinaryOperation", - "src": "4412:30:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3378, - "type": "uint256", - "value": "index" - }, - "id": 3388, - "name": "Identifier", - "src": "4443:5:6" - } - ], - "id": 3389, - "name": "UnaryOperation", - "src": "4443:7:6" - } - ], - "id": 3390, - "name": "ExpressionStatement", - "src": "4443:7:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3391, - "name": "Identifier", - "src": "4467:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "pre", - "referencedDeclaration": 4370, - "type": "function (address,bytes32,bytes32) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "contract GlobalConstraintInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract GlobalConstraintInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4382, - "type": "type(contract GlobalConstraintInterface)", - "value": "GlobalConstraintInterface" - }, - "id": 3392, - "name": "Identifier", - "src": "4476:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "gcAddress", - "referencedDeclaration": 3085, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraint storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3393, - "name": "Identifier", - "src": "4502:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3378, - "type": "uint256", - "value": "index" - }, - "id": 3394, - "name": "Identifier", - "src": "4520:5:6" - } - ], - "id": 3395, - "name": "IndexAccess", - "src": "4502:24:6" - } - ], - "id": 3396, - "name": "MemberAccess", - "src": "4502:34:6" - } - ], - "id": 3397, - "name": "FunctionCall", - "src": "4476:61:6" - } - ], - "id": 3398, - "name": "TupleExpression", - "src": "4475:63:6" - } - ], - "id": 3399, - "name": "MemberAccess", - "src": "4475:67:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3400, - "name": "Identifier", - "src": "4543:3:6" - } - ], - "id": 3401, - "name": "MemberAccess", - "src": "4543:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "params", - "referencedDeclaration": 3087, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraint storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3402, - "name": "Identifier", - "src": "4555:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3378, - "type": "uint256", - "value": "index" - }, - "id": 3403, - "name": "Identifier", - "src": "4573:5:6" - } - ], - "id": 3404, - "name": "IndexAccess", - "src": "4555:24:6" - } - ], - "id": 3405, - "name": "MemberAccess", - "src": "4555:31:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3375, - "type": "bytes32", - "value": "func" - }, - "id": 3406, - "name": "Identifier", - "src": "4588:4:6" - } - ], - "id": 3407, - "name": "FunctionCall", - "src": "4475:118:6" - } - ], - "id": 3408, - "name": "FunctionCall", - "src": "4467:127:6" - } - ], - "id": 3409, - "name": "ExpressionStatement", - "src": "4467:127:6" - } - ], - "id": 3410, - "name": "Block", - "src": "4452:154:6" - } - ], - "id": 3411, - "name": "ForStatement", - "src": "4397:209:6" - }, - { - "id": 3412, - "name": "PlaceholderStatement", - "src": "4616:1:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3378, - "type": "uint256", - "value": "index" - }, - "id": 3413, - "name": "Identifier", - "src": "4633:5:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 3414, - "name": "Literal", - "src": "4641:1:6" - } - ], - "id": 3415, - "name": "Assignment", - "src": "4633:9:6" - } - ], - "id": 3416, - "name": "ExpressionStatement", - "src": "4633:9:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3378, - "type": "uint256", - "value": "index" - }, - "id": 3417, - "name": "Identifier", - "src": "4643:5:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3418, - "name": "Identifier", - "src": "4649:17:6" - } - ], - "id": 3419, - "name": "MemberAccess", - "src": "4649:24:6" - } - ], - "id": 3420, - "name": "BinaryOperation", - "src": "4643:30:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3378, - "type": "uint256", - "value": "index" - }, - "id": 3421, - "name": "Identifier", - "src": "4674:5:6" - } - ], - "id": 3422, - "name": "UnaryOperation", - "src": "4674:7:6" - } - ], - "id": 3423, - "name": "ExpressionStatement", - "src": "4674:7:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3424, - "name": "Identifier", - "src": "4698:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "post", - "referencedDeclaration": 4381, - "type": "function (address,bytes32,bytes32) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "contract GlobalConstraintInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract GlobalConstraintInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4382, - "type": "type(contract GlobalConstraintInterface)", - "value": "GlobalConstraintInterface" - }, - "id": 3425, - "name": "Identifier", - "src": "4707:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "gcAddress", - "referencedDeclaration": 3085, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraint storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3426, - "name": "Identifier", - "src": "4733:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3378, - "type": "uint256", - "value": "index" - }, - "id": 3427, - "name": "Identifier", - "src": "4751:5:6" - } - ], - "id": 3428, - "name": "IndexAccess", - "src": "4733:24:6" - } - ], - "id": 3429, - "name": "MemberAccess", - "src": "4733:34:6" - } - ], - "id": 3430, - "name": "FunctionCall", - "src": "4707:61:6" - } - ], - "id": 3431, - "name": "TupleExpression", - "src": "4706:63:6" - } - ], - "id": 3432, - "name": "MemberAccess", - "src": "4706:68:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3433, - "name": "Identifier", - "src": "4775:3:6" - } - ], - "id": 3434, - "name": "MemberAccess", - "src": "4775:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "params", - "referencedDeclaration": 3087, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraint storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3435, - "name": "Identifier", - "src": "4787:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3378, - "type": "uint256", - "value": "index" - }, - "id": 3436, - "name": "Identifier", - "src": "4805:5:6" - } - ], - "id": 3437, - "name": "IndexAccess", - "src": "4787:24:6" - } - ], - "id": 3438, - "name": "MemberAccess", - "src": "4787:31:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3375, - "type": "bytes32", - "value": "func" - }, - "id": 3439, - "name": "Identifier", - "src": "4820:4:6" - } - ], - "id": 3440, - "name": "FunctionCall", - "src": "4706:119:6" - } - ], - "id": 3441, - "name": "FunctionCall", - "src": "4698:128:6" - } - ], - "id": 3442, - "name": "ExpressionStatement", - "src": "4698:128:6" - } - ], - "id": 3443, - "name": "Block", - "src": "4683:155:6" - } - ], - "id": 3444, - "name": "ForStatement", - "src": "4628:210:6" - } - ], - "id": 3445, - "name": "Block", - "src": "4365:480:6" - } - ], - "id": 3446, - "name": "ModifierDefinition", - "src": "4318:527:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "mintReputation", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_amount", - "scope": 3474, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int256", - "type": "int256" - }, - "id": 3447, - "name": "ElementaryTypeName", - "src": "5075:6:6" - } - ], - "id": 3448, - "name": "VariableDeclaration", - "src": "5075:14:6" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 3474, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3449, - "name": "ElementaryTypeName", - "src": "5091:7:6" - } - ], - "id": 3450, - "name": "VariableDeclaration", - "src": "5091:20:6" - } - ], - "id": 3451, - "name": "ParameterList", - "src": "5074:38:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3474, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3457, - "name": "ElementaryTypeName", - "src": "5211:4:6" - } - ], - "id": 3458, - "name": "VariableDeclaration", - "src": "5211:4:6" - } - ], - "id": 3459, - "name": "ParameterList", - "src": "5210:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3313, - "type": "modifier ()", - "value": "onlyRegisteredScheme" - }, - "id": 3452, - "name": "Identifier", - "src": "5130:20:6" - } - ], - "id": 3453, - "name": "ModifierInvocation", - "src": "5130:20:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3446, - "type": "modifier (bytes32)", - "value": "onlySubjectToConstraint" - }, - "id": 3454, - "name": "Identifier", - "src": "5156:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "6d696e7452657075746174696f6e", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"mintReputation\"", - "value": "mintReputation" - }, - "id": 3455, - "name": "Literal", - "src": "5180:16:6" - } - ], - "id": 3456, - "name": "ModifierInvocation", - "src": "5156:41:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3120, - "type": "function (address,address,int256)", - "value": "MintReputation" - }, - "id": 3460, - "name": "Identifier", - "src": "5233:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3461, - "name": "Identifier", - "src": "5248:3:6" - } - ], - "id": 3462, - "name": "MemberAccess", - "src": "5248:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3450, - "type": "address", - "value": "_beneficiary" - }, - "id": 3463, - "name": "Identifier", - "src": "5260:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3448, - "type": "int256", - "value": "_amount" - }, - "id": 3464, - "name": "Identifier", - "src": "5274:7:6" - } - ], - "id": 3465, - "name": "FunctionCall", - "src": "5233:49:6" - } - ], - "id": 3466, - "name": "ExpressionStatement", - "src": "5233:49:6" - }, - { - "attributes": { - "functionReturnParameters": 3459 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mint", - "referencedDeclaration": 4323, - "type": "function (address,int256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3103, - "type": "contract Reputation", - "value": "nativeReputation" - }, - "id": 3467, - "name": "Identifier", - "src": "5300:16:6" - } - ], - "id": 3468, - "name": "MemberAccess", - "src": "5300:21:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3450, - "type": "address", - "value": "_beneficiary" - }, - "id": 3469, - "name": "Identifier", - "src": "5322:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3448, - "type": "int256", - "value": "_amount" - }, - "id": 3470, - "name": "Identifier", - "src": "5336:7:6" - } - ], - "id": 3471, - "name": "FunctionCall", - "src": "5300:44:6" - } - ], - "id": 3472, - "name": "Return", - "src": "5293:51:6" - } - ], - "id": 3473, - "name": "Block", - "src": "5222:130:6" - } - ], - "id": 3474, - "name": "FunctionDefinition", - "src": "5051:301:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "mintTokens", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_amount", - "scope": 3502, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 3475, - "name": "ElementaryTypeName", - "src": "5569:7:6" - } - ], - "id": 3476, - "name": "VariableDeclaration", - "src": "5569:15:6" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 3502, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3477, - "name": "ElementaryTypeName", - "src": "5586:7:6" - } - ], - "id": 3478, - "name": "VariableDeclaration", - "src": "5586:20:6" - } - ], - "id": 3479, - "name": "ParameterList", - "src": "5568:39:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3502, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3485, - "name": "ElementaryTypeName", - "src": "5702:4:6" - } - ], - "id": 3486, - "name": "VariableDeclaration", - "src": "5702:4:6" - } - ], - "id": 3487, - "name": "ParameterList", - "src": "5701:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3313, - "type": "modifier ()", - "value": "onlyRegisteredScheme" - }, - "id": 3480, - "name": "Identifier", - "src": "5625:20:6" - } - ], - "id": 3481, - "name": "ModifierInvocation", - "src": "5625:20:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3446, - "type": "modifier (bytes32)", - "value": "onlySubjectToConstraint" - }, - "id": 3482, - "name": "Identifier", - "src": "5651:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "6d696e74546f6b656e73", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"mintTokens\"", - "value": "mintTokens" - }, - "id": 3483, - "name": "Literal", - "src": "5675:12:6" - } - ], - "id": 3484, - "name": "ModifierInvocation", - "src": "5651:37:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3128, - "type": "function (address,address,uint256)", - "value": "MintTokens" - }, - "id": 3488, - "name": "Identifier", - "src": "5724:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3489, - "name": "Identifier", - "src": "5735:3:6" - } - ], - "id": 3490, - "name": "MemberAccess", - "src": "5735:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3478, - "type": "address", - "value": "_beneficiary" - }, - "id": 3491, - "name": "Identifier", - "src": "5747:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3476, - "type": "uint256", - "value": "_amount" - }, - "id": 3492, - "name": "Identifier", - "src": "5761:7:6" - } - ], - "id": 3493, - "name": "FunctionCall", - "src": "5724:45:6" - } - ], - "id": 3494, - "name": "ExpressionStatement", - "src": "5724:45:6" - }, - { - "attributes": { - "functionReturnParameters": 3487 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mint", - "referencedDeclaration": 9434, - "type": "function (address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3101, - "type": "contract DAOToken", - "value": "nativeToken" - }, - "id": 3495, - "name": "Identifier", - "src": "5787:11:6" - } - ], - "id": 3496, - "name": "MemberAccess", - "src": "5787:16:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3478, - "type": "address", - "value": "_beneficiary" - }, - "id": 3497, - "name": "Identifier", - "src": "5804:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3476, - "type": "uint256", - "value": "_amount" - }, - "id": 3498, - "name": "Identifier", - "src": "5818:7:6" - } - ], - "id": 3499, - "name": "FunctionCall", - "src": "5787:39:6" - } - ], - "id": 3500, - "name": "Return", - "src": "5780:46:6" - } - ], - "id": 3501, - "name": "Block", - "src": "5713:121:6" - } - ], - "id": 3502, - "name": "FunctionDefinition", - "src": "5549:285:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "registerScheme", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_scheme", - "scope": 3597, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3503, - "name": "ElementaryTypeName", - "src": "6144:7:6" - } - ], - "id": 3504, - "name": "VariableDeclaration", - "src": "6144:15:6" - }, - { - "attributes": { - "constant": false, - "name": "_paramsHash", - "scope": 3597, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 3505, - "name": "ElementaryTypeName", - "src": "6161:7:6" - } - ], - "id": 3506, - "name": "VariableDeclaration", - "src": "6161:19:6" - }, - { - "attributes": { - "constant": false, - "name": "_permissions", - "scope": 3597, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes4", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes4", - "type": "bytes4" - }, - "id": 3507, - "name": "ElementaryTypeName", - "src": "6182:6:6" - } - ], - "id": 3508, - "name": "VariableDeclaration", - "src": "6182:19:6" - } - ], - "id": 3509, - "name": "ParameterList", - "src": "6143:59:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3597, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3515, - "name": "ElementaryTypeName", - "src": "6303:4:6" - } - ], - "id": 3516, - "name": "VariableDeclaration", - "src": "6303:4:6" - } - ], - "id": 3517, - "name": "ParameterList", - "src": "6302:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3333, - "type": "modifier ()", - "value": "onlyRegisteringSchemes" - }, - "id": 3510, - "name": "Identifier", - "src": "6220:22:6" - } - ], - "id": 3511, - "name": "ModifierInvocation", - "src": "6220:22:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3446, - "type": "modifier (bytes32)", - "value": "onlySubjectToConstraint" - }, - "id": 3512, - "name": "Identifier", - "src": "6248:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "7265676973746572536368656d65", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"registerScheme\"", - "value": "registerScheme" - }, - "id": 3513, - "name": "Literal", - "src": "6272:16:6" - } - ], - "id": 3514, - "name": "ModifierInvocation", - "src": "6248:41:6" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 3519 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "scheme", - "scope": 3597, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct Controller.Scheme memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Scheme", - "referencedDeclaration": 3083, - "type": "struct Controller.Scheme storage pointer" - }, - "id": 3518, - "name": "UserDefinedTypeName", - "src": "6327:6:6" - } - ], - "id": 3519, - "name": "VariableDeclaration", - "src": "6327:20:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3520, - "name": "Identifier", - "src": "6350:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3504, - "type": "address", - "value": "_scheme" - }, - "id": 3521, - "name": "Identifier", - "src": "6358:7:6" - } - ], - "id": 3522, - "name": "IndexAccess", - "src": "6350:16:6" - } - ], - "id": 3523, - "name": "VariableDeclarationStatement", - "src": "6327:39:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3524, - "name": "Identifier", - "src": "6663:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_15_by_1", - "typeString": "int_const 15" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3525, - "name": "ElementaryTypeNameExpression", - "src": "6671:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3135", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 15", - "value": "15" - }, - "id": 3526, - "name": "Literal", - "src": "6678:2:6" - } - ], - "id": 3527, - "name": "FunctionCall", - "src": "6671:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "^", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3508, - "type": "bytes4", - "value": "_permissions" - }, - "id": 3528, - "name": "Identifier", - "src": "6683:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3519, - "type": "struct Controller.Scheme memory", - "value": "scheme" - }, - "id": 3529, - "name": "Identifier", - "src": "6696:6:6" - } - ], - "id": 3530, - "name": "MemberAccess", - "src": "6696:18:6" - } - ], - "id": 3531, - "name": "BinaryOperation", - "src": "6683:31:6" - } - ], - "id": 3532, - "name": "TupleExpression", - "src": "6682:33:6" - } - ], - "id": 3533, - "name": "BinaryOperation", - "src": "6671:44:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "~", - "prefix": true, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3534, - "name": "Identifier", - "src": "6718:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3535, - "name": "Identifier", - "src": "6726:3:6" - } - ], - "id": 3536, - "name": "MemberAccess", - "src": "6726:10:6" - } - ], - "id": 3537, - "name": "IndexAccess", - "src": "6718:19:6" - } - ], - "id": 3538, - "name": "MemberAccess", - "src": "6718:31:6" - } - ], - "id": 3539, - "name": "UnaryOperation", - "src": "6717:32:6" - } - ], - "id": 3540, - "name": "TupleExpression", - "src": "6716:34:6" - } - ], - "id": 3541, - "name": "BinaryOperation", - "src": "6671:79:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3542, - "name": "ElementaryTypeNameExpression", - "src": "6754:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 3543, - "name": "Literal", - "src": "6761:1:6" - } - ], - "id": 3544, - "name": "FunctionCall", - "src": "6754:9:6" - } - ], - "id": 3545, - "name": "BinaryOperation", - "src": "6671:92:6" - } - ], - "id": 3546, - "name": "FunctionCall", - "src": "6663:101:6" - } - ], - "id": 3547, - "name": "ExpressionStatement", - "src": "6663:101:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3548, - "name": "Identifier", - "src": "6862:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_15_by_1", - "typeString": "int_const 15" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3549, - "name": "ElementaryTypeNameExpression", - "src": "6870:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3135", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 15", - "value": "15" - }, - "id": 3550, - "name": "Literal", - "src": "6877:2:6" - } - ], - "id": 3551, - "name": "FunctionCall", - "src": "6870:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3519, - "type": "struct Controller.Scheme memory", - "value": "scheme" - }, - "id": 3552, - "name": "Identifier", - "src": "6882:6:6" - } - ], - "id": 3553, - "name": "MemberAccess", - "src": "6882:18:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "~", - "prefix": true, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3554, - "name": "Identifier", - "src": "6903:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3555, - "name": "Identifier", - "src": "6911:3:6" - } - ], - "id": 3556, - "name": "MemberAccess", - "src": "6911:10:6" - } - ], - "id": 3557, - "name": "IndexAccess", - "src": "6903:19:6" - } - ], - "id": 3558, - "name": "MemberAccess", - "src": "6903:31:6" - } - ], - "id": 3559, - "name": "UnaryOperation", - "src": "6902:32:6" - } - ], - "id": 3560, - "name": "TupleExpression", - "src": "6901:34:6" - } - ], - "id": 3561, - "name": "BinaryOperation", - "src": "6882:53:6" - } - ], - "id": 3562, - "name": "TupleExpression", - "src": "6881:55:6" - } - ], - "id": 3563, - "name": "BinaryOperation", - "src": "6870:66:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3564, - "name": "ElementaryTypeNameExpression", - "src": "6940:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 3565, - "name": "Literal", - "src": "6947:1:6" - } - ], - "id": 3566, - "name": "FunctionCall", - "src": "6940:9:6" - } - ], - "id": 3567, - "name": "BinaryOperation", - "src": "6870:79:6" - } - ], - "id": 3568, - "name": "FunctionCall", - "src": "6862:88:6" - } - ], - "id": 3569, - "name": "ExpressionStatement", - "src": "6862:88:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "paramsHash", - "referencedDeclaration": 3080, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3570, - "name": "Identifier", - "src": "6997:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3504, - "type": "address", - "value": "_scheme" - }, - "id": 3571, - "name": "Identifier", - "src": "7005:7:6" - } - ], - "id": 3572, - "name": "IndexAccess", - "src": "6997:16:6" - } - ], - "id": 3573, - "name": "MemberAccess", - "src": "6997:27:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3506, - "type": "bytes32", - "value": "_paramsHash" - }, - "id": 3574, - "name": "Identifier", - "src": "7027:11:6" - } - ], - "id": 3575, - "name": "Assignment", - "src": "6997:41:6" - } - ], - "id": 3576, - "name": "ExpressionStatement", - "src": "6997:41:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3577, - "name": "Identifier", - "src": "7049:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3504, - "type": "address", - "value": "_scheme" - }, - "id": 3578, - "name": "Identifier", - "src": "7057:7:6" - } - ], - "id": 3579, - "name": "IndexAccess", - "src": "7049:16:6" - } - ], - "id": 3580, - "name": "MemberAccess", - "src": "7049:28:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "|", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3508, - "type": "bytes4", - "value": "_permissions" - }, - "id": 3581, - "name": "Identifier", - "src": "7080:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3582, - "name": "ElementaryTypeNameExpression", - "src": "7093:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 3583, - "name": "Literal", - "src": "7100:1:6" - } - ], - "id": 3584, - "name": "FunctionCall", - "src": "7093:9:6" - } - ], - "id": 3585, - "name": "BinaryOperation", - "src": "7080:22:6" - } - ], - "id": 3586, - "name": "Assignment", - "src": "7049:53:6" - } - ], - "id": 3587, - "name": "ExpressionStatement", - "src": "7049:53:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3134, - "type": "function (address,address)", - "value": "RegisterScheme" - }, - "id": 3588, - "name": "Identifier", - "src": "7113:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3589, - "name": "Identifier", - "src": "7128:3:6" - } - ], - "id": 3590, - "name": "MemberAccess", - "src": "7128:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3504, - "type": "address", - "value": "_scheme" - }, - "id": 3591, - "name": "Identifier", - "src": "7140:7:6" - } - ], - "id": 3592, - "name": "FunctionCall", - "src": "7113:35:6" - } - ], - "id": 3593, - "name": "ExpressionStatement", - "src": "7113:35:6" - }, - { - "attributes": { - "functionReturnParameters": 3517 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3594, - "name": "Literal", - "src": "7166:4:6" - } - ], - "id": 3595, - "name": "Return", - "src": "7159:11:6" - } - ], - "id": 3596, - "name": "Block", - "src": "6314:864:6" - } - ], - "id": 3597, - "name": "FunctionDefinition", - "src": "6120:1058:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "unregisterScheme", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_scheme", - "scope": 3663, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3598, - "name": "ElementaryTypeName", - "src": "7361:7:6" - } - ], - "id": 3599, - "name": "VariableDeclaration", - "src": "7361:15:6" - } - ], - "id": 3600, - "name": "ParameterList", - "src": "7359:19:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3663, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3606, - "name": "ElementaryTypeName", - "src": "7481:4:6" - } - ], - "id": 3607, - "name": "VariableDeclaration", - "src": "7481:4:6" - } - ], - "id": 3608, - "name": "ParameterList", - "src": "7480:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3333, - "type": "modifier ()", - "value": "onlyRegisteringSchemes" - }, - "id": 3601, - "name": "Identifier", - "src": "7396:22:6" - } - ], - "id": 3602, - "name": "ModifierInvocation", - "src": "7396:22:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3446, - "type": "modifier (bytes32)", - "value": "onlySubjectToConstraint" - }, - "id": 3603, - "name": "Identifier", - "src": "7424:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "756e7265676973746572536368656d65", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"unregisterScheme\"", - "value": "unregisterScheme" - }, - "id": 3604, - "name": "Literal", - "src": "7448:18:6" - } - ], - "id": 3605, - "name": "ModifierInvocation", - "src": "7424:43:6" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3609, - "name": "Identifier", - "src": "7546:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3599, - "type": "address", - "value": "_scheme" - }, - "id": 3610, - "name": "Identifier", - "src": "7554:7:6" - } - ], - "id": 3611, - "name": "IndexAccess", - "src": "7546:16:6" - } - ], - "id": 3612, - "name": "MemberAccess", - "src": "7546:28:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3613, - "name": "ElementaryTypeNameExpression", - "src": "7575:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 3614, - "name": "Literal", - "src": "7582:1:6" - } - ], - "id": 3615, - "name": "FunctionCall", - "src": "7575:9:6" - } - ], - "id": 3616, - "name": "BinaryOperation", - "src": "7546:38:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3617, - "name": "ElementaryTypeNameExpression", - "src": "7588:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 3618, - "name": "Literal", - "src": "7595:1:6" - } - ], - "id": 3619, - "name": "FunctionCall", - "src": "7588:9:6" - } - ], - "id": 3620, - "name": "BinaryOperation", - "src": "7546:51:6" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 3608 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 3621, - "name": "Literal", - "src": "7621:5:6" - } - ], - "id": 3622, - "name": "Return", - "src": "7614:12:6" - } - ], - "id": 3623, - "name": "Block", - "src": "7599:41:6" - } - ], - "id": 3624, - "name": "IfStatement", - "src": "7542:98:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3625, - "name": "Identifier", - "src": "7713:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_15_by_1", - "typeString": "int_const 15" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3626, - "name": "ElementaryTypeNameExpression", - "src": "7721:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3135", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 15", - "value": "15" - }, - "id": 3627, - "name": "Literal", - "src": "7728:2:6" - } - ], - "id": 3628, - "name": "FunctionCall", - "src": "7721:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3629, - "name": "Identifier", - "src": "7733:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3599, - "type": "address", - "value": "_scheme" - }, - "id": 3630, - "name": "Identifier", - "src": "7741:7:6" - } - ], - "id": 3631, - "name": "IndexAccess", - "src": "7733:16:6" - } - ], - "id": 3632, - "name": "MemberAccess", - "src": "7733:28:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "~", - "prefix": true, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3633, - "name": "Identifier", - "src": "7764:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3634, - "name": "Identifier", - "src": "7772:3:6" - } - ], - "id": 3635, - "name": "MemberAccess", - "src": "7772:10:6" - } - ], - "id": 3636, - "name": "IndexAccess", - "src": "7764:19:6" - } - ], - "id": 3637, - "name": "MemberAccess", - "src": "7764:31:6" - } - ], - "id": 3638, - "name": "UnaryOperation", - "src": "7763:32:6" - } - ], - "id": 3639, - "name": "TupleExpression", - "src": "7762:34:6" - } - ], - "id": 3640, - "name": "BinaryOperation", - "src": "7733:63:6" - } - ], - "id": 3641, - "name": "TupleExpression", - "src": "7732:65:6" - } - ], - "id": 3642, - "name": "BinaryOperation", - "src": "7721:76:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3643, - "name": "ElementaryTypeNameExpression", - "src": "7801:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 3644, - "name": "Literal", - "src": "7808:1:6" - } - ], - "id": 3645, - "name": "FunctionCall", - "src": "7801:9:6" - } - ], - "id": 3646, - "name": "BinaryOperation", - "src": "7721:89:6" - } - ], - "id": 3647, - "name": "FunctionCall", - "src": "7713:98:6" - } - ], - "id": 3648, - "name": "ExpressionStatement", - "src": "7713:98:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3140, - "type": "function (address,address)", - "value": "UnregisterScheme" - }, - "id": 3649, - "name": "Identifier", - "src": "7844:16:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3650, - "name": "Identifier", - "src": "7861:3:6" - } - ], - "id": 3651, - "name": "MemberAccess", - "src": "7861:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3599, - "type": "address", - "value": "_scheme" - }, - "id": 3652, - "name": "Identifier", - "src": "7873:7:6" - } - ], - "id": 3653, - "name": "FunctionCall", - "src": "7844:37:6" - } - ], - "id": 3654, - "name": "ExpressionStatement", - "src": "7844:37:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3655, - "name": "Identifier", - "src": "7899:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3599, - "type": "address", - "value": "_scheme" - }, - "id": 3656, - "name": "Identifier", - "src": "7907:7:6" - } - ], - "id": 3657, - "name": "IndexAccess", - "src": "7899:16:6" - } - ], - "id": 3658, - "name": "UnaryOperation", - "src": "7892:23:6" - } - ], - "id": 3659, - "name": "ExpressionStatement", - "src": "7892:23:6" - }, - { - "attributes": { - "functionReturnParameters": 3608 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3660, - "name": "Literal", - "src": "7933:4:6" - } - ], - "id": 3661, - "name": "Return", - "src": "7926:11:6" - } - ], - "id": 3662, - "name": "Block", - "src": "7492:453:6" - } - ], - "id": 3663, - "name": "FunctionDefinition", - "src": "7334:611:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "unregisterSelf", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 3664, - "name": "ParameterList", - "src": "8086:2:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3694, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3665, - "name": "ElementaryTypeName", - "src": "8104:4:6" - } - ], - "id": 3666, - "name": "VariableDeclaration", - "src": "8104:4:6" - } - ], - "id": 3667, - "name": "ParameterList", - "src": "8103:6:6" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3716, - "type": "function (address) view returns (bool)", - "value": "isSchemeRegistered" - }, - "id": 3668, - "name": "Identifier", - "src": "8125:18:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3669, - "name": "Identifier", - "src": "8144:3:6" - } - ], - "id": 3670, - "name": "MemberAccess", - "src": "8144:10:6" - } - ], - "id": 3671, - "name": "FunctionCall", - "src": "8125:30:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 3672, - "name": "Literal", - "src": "8159:5:6" - } - ], - "id": 3673, - "name": "BinaryOperation", - "src": "8125:39:6" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 3667 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 3674, - "name": "Literal", - "src": "8188:5:6" - } - ], - "id": 3675, - "name": "Return", - "src": "8181:12:6" - } - ], - "id": 3676, - "name": "Block", - "src": "8166:39:6" - } - ], - "id": 3677, - "name": "IfStatement", - "src": "8121:84:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3678, - "name": "Identifier", - "src": "8222:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3679, - "name": "Identifier", - "src": "8230:3:6" - } - ], - "id": 3680, - "name": "MemberAccess", - "src": "8230:10:6" - } - ], - "id": 3681, - "name": "IndexAccess", - "src": "8222:19:6" - } - ], - "id": 3682, - "name": "UnaryOperation", - "src": "8215:26:6" - } - ], - "id": 3683, - "name": "ExpressionStatement", - "src": "8215:26:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3140, - "type": "function (address,address)", - "value": "UnregisterScheme" - }, - "id": 3684, - "name": "Identifier", - "src": "8252:16:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3685, - "name": "Identifier", - "src": "8269:3:6" - } - ], - "id": 3686, - "name": "MemberAccess", - "src": "8269:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3687, - "name": "Identifier", - "src": "8281:3:6" - } - ], - "id": 3688, - "name": "MemberAccess", - "src": "8281:10:6" - } - ], - "id": 3689, - "name": "FunctionCall", - "src": "8252:40:6" - } - ], - "id": 3690, - "name": "ExpressionStatement", - "src": "8252:40:6" - }, - { - "attributes": { - "functionReturnParameters": 3667 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3691, - "name": "Literal", - "src": "8310:4:6" - } - ], - "id": 3692, - "name": "Return", - "src": "8303:11:6" - } - ], - "id": 3693, - "name": "Block", - "src": "8110:212:6" - } - ], - "id": 3694, - "name": "FunctionDefinition", - "src": "8063:259:6" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "isSchemeRegistered", - "payable": false, - "scope": 4157, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_scheme", - "scope": 3716, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3695, - "name": "ElementaryTypeName", - "src": "8358:7:6" - } - ], - "id": 3696, - "name": "VariableDeclaration", - "src": "8358:15:6" - } - ], - "id": 3697, - "name": "ParameterList", - "src": "8357:17:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3716, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3698, - "name": "ElementaryTypeName", - "src": "8399:4:6" - } - ], - "id": 3699, - "name": "VariableDeclaration", - "src": "8399:4:6" - } - ], - "id": 3700, - "name": "ParameterList", - "src": "8398:6:6" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 3700 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&", - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3701, - "name": "Identifier", - "src": "8424:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3696, - "type": "address", - "value": "_scheme" - }, - "id": 3702, - "name": "Identifier", - "src": "8432:7:6" - } - ], - "id": 3703, - "name": "IndexAccess", - "src": "8424:16:6" - } - ], - "id": 3704, - "name": "MemberAccess", - "src": "8424:28:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3705, - "name": "ElementaryTypeNameExpression", - "src": "8453:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 3706, - "name": "Literal", - "src": "8460:1:6" - } - ], - "id": 3707, - "name": "FunctionCall", - "src": "8453:9:6" - } - ], - "id": 3708, - "name": "BinaryOperation", - "src": "8424:38:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 3709, - "name": "ElementaryTypeNameExpression", - "src": "8466:6:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 3710, - "name": "Literal", - "src": "8473:1:6" - } - ], - "id": 3711, - "name": "FunctionCall", - "src": "8466:9:6" - } - ], - "id": 3712, - "name": "BinaryOperation", - "src": "8424:51:6" - } - ], - "id": 3713, - "name": "TupleExpression", - "src": "8423:53:6" - } - ], - "id": 3714, - "name": "Return", - "src": "8416:60:6" - } - ], - "id": 3715, - "name": "Block", - "src": "8405:79:6" - } - ], - "id": 3716, - "name": "FunctionDefinition", - "src": "8330:154:6" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getSchemeParameters", - "payable": false, - "scope": 4157, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_scheme", - "scope": 3729, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3717, - "name": "ElementaryTypeName", - "src": "8521:7:6" - } - ], - "id": 3718, - "name": "VariableDeclaration", - "src": "8521:15:6" - } - ], - "id": 3719, - "name": "ParameterList", - "src": "8520:17:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3729, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 3720, - "name": "ElementaryTypeName", - "src": "8562:7:6" - } - ], - "id": 3721, - "name": "VariableDeclaration", - "src": "8562:7:6" - } - ], - "id": 3722, - "name": "ParameterList", - "src": "8561:9:6" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 3722 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 3080, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3723, - "name": "Identifier", - "src": "8589:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3718, - "type": "address", - "value": "_scheme" - }, - "id": 3724, - "name": "Identifier", - "src": "8597:7:6" - } - ], - "id": 3725, - "name": "IndexAccess", - "src": "8589:16:6" - } - ], - "id": 3726, - "name": "MemberAccess", - "src": "8589:27:6" - } - ], - "id": 3727, - "name": "Return", - "src": "8582:34:6" - } - ], - "id": 3728, - "name": "Block", - "src": "8571:53:6" - } - ], - "id": 3729, - "name": "FunctionDefinition", - "src": "8492:132:6" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getSchemePermissions", - "payable": false, - "scope": 4157, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_scheme", - "scope": 3742, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3730, - "name": "ElementaryTypeName", - "src": "8662:7:6" - } - ], - "id": 3731, - "name": "VariableDeclaration", - "src": "8662:15:6" - } - ], - "id": 3732, - "name": "ParameterList", - "src": "8661:17:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3742, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes4", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes4", - "type": "bytes4" - }, - "id": 3733, - "name": "ElementaryTypeName", - "src": "8703:6:6" - } - ], - "id": 3734, - "name": "VariableDeclaration", - "src": "8703:6:6" - } - ], - "id": 3735, - "name": "ParameterList", - "src": "8702:8:6" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 3735 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "permissions", - "referencedDeclaration": 3082, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.Scheme storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3097, - "type": "mapping(address => struct Controller.Scheme storage ref)", - "value": "schemes" - }, - "id": 3736, - "name": "Identifier", - "src": "8729:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3731, - "type": "address", - "value": "_scheme" - }, - "id": 3737, - "name": "Identifier", - "src": "8737:7:6" - } - ], - "id": 3738, - "name": "IndexAccess", - "src": "8729:16:6" - } - ], - "id": 3739, - "name": "MemberAccess", - "src": "8729:28:6" - } - ], - "id": 3740, - "name": "Return", - "src": "8722:35:6" - } - ], - "id": 3741, - "name": "Block", - "src": "8711:54:6" - } - ], - "id": 3742, - "name": "FunctionDefinition", - "src": "8632:133:6" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "globalConstraintsCount", - "payable": false, - "scope": 4157, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 3743, - "name": "ParameterList", - "src": "8829:2:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3751, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3744, - "name": "ElementaryTypeName", - "src": "8856:4:6" - } - ], - "id": 3745, - "name": "VariableDeclaration", - "src": "8856:4:6" - } - ], - "id": 3746, - "name": "ParameterList", - "src": "8855:6:6" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 3746 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3747, - "name": "Identifier", - "src": "8880:17:6" - } - ], - "id": 3748, - "name": "MemberAccess", - "src": "8880:24:6" - } - ], - "id": 3749, - "name": "Return", - "src": "8873:31:6" - } - ], - "id": 3750, - "name": "Block", - "src": "8862:50:6" - } - ], - "id": 3751, - "name": "FunctionDefinition", - "src": "8798:114:6" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "isGlobalConstraintRegister", - "payable": false, - "scope": 4157, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_globalConstraint", - "scope": 3764, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3752, - "name": "ElementaryTypeName", - "src": "8956:7:6" - } - ], - "id": 3753, - "name": "VariableDeclaration", - "src": "8956:25:6" - } - ], - "id": 3754, - "name": "ParameterList", - "src": "8955:27:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3764, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3755, - "name": "ElementaryTypeName", - "src": "9007:4:6" - } - ], - "id": 3756, - "name": "VariableDeclaration", - "src": "9007:4:6" - } - ], - "id": 3757, - "name": "ParameterList", - "src": "9006:6:6" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 3757 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "register", - "referencedDeclaration": 3090, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraintRegister storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3112, - "type": "mapping(address => struct Controller.GlobalConstraintRegister storage ref)", - "value": "globalConstraintsRegister" - }, - "id": 3758, - "name": "Identifier", - "src": "9031:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3753, - "type": "address", - "value": "_globalConstraint" - }, - "id": 3759, - "name": "Identifier", - "src": "9057:17:6" - } - ], - "id": 3760, - "name": "IndexAccess", - "src": "9031:44:6" - } - ], - "id": 3761, - "name": "MemberAccess", - "src": "9031:53:6" - } - ], - "id": 3762, - "name": "Return", - "src": "9024:60:6" - } - ], - "id": 3763, - "name": "Block", - "src": "9013:79:6" - } - ], - "id": 3764, - "name": "FunctionDefinition", - "src": "8920:172:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "addGlobalConstraint", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_globalConstraint", - "scope": 3822, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3765, - "name": "ElementaryTypeName", - "src": "9378:7:6" - } - ], - "id": 3766, - "name": "VariableDeclaration", - "src": "9378:25:6" - }, - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 3822, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 3767, - "name": "ElementaryTypeName", - "src": "9405:7:6" - } - ], - "id": 3768, - "name": "VariableDeclaration", - "src": "9405:15:6" - } - ], - "id": 3769, - "name": "ParameterList", - "src": "9377:44:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3822, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3772, - "name": "ElementaryTypeName", - "src": "9470:4:6" - } - ], - "id": 3773, - "name": "VariableDeclaration", - "src": "9470:4:6" - } - ], - "id": 3774, - "name": "ParameterList", - "src": "9469:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3353, - "type": "modifier ()", - "value": "onlyGlobalConstraintsScheme" - }, - "id": 3770, - "name": "Identifier", - "src": "9434:27:6" - } - ], - "id": 3771, - "name": "ModifierInvocation", - "src": "9434:27:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "register", - "referencedDeclaration": 3090, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraintRegister storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3112, - "type": "mapping(address => struct Controller.GlobalConstraintRegister storage ref)", - "value": "globalConstraintsRegister" - }, - "id": 3775, - "name": "Identifier", - "src": "9497:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3766, - "type": "address", - "value": "_globalConstraint" - }, - "id": 3776, - "name": "Identifier", - "src": "9523:17:6" - } - ], - "id": 3777, - "name": "IndexAccess", - "src": "9497:44:6" - } - ], - "id": 3778, - "name": "MemberAccess", - "src": "9497:53:6" - } - ], - "id": 3779, - "name": "UnaryOperation", - "src": "9496:54:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_struct$_GlobalConstraint_$3088_memory", - "typeString": "struct Controller.GlobalConstraint memory" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "push", - "referencedDeclaration": null, - "type": "function (struct Controller.GlobalConstraint storage ref) returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3780, - "name": "Identifier", - "src": "9567:17:6" - } - ], - "id": 3782, - "name": "MemberAccess", - "src": "9567:22:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - null - ], - "type": "struct Controller.GlobalConstraint memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3088, - "type": "type(struct Controller.GlobalConstraint storage pointer)", - "value": "GlobalConstraint" - }, - "id": 3783, - "name": "Identifier", - "src": "9590:16:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3766, - "type": "address", - "value": "_globalConstraint" - }, - "id": 3784, - "name": "Identifier", - "src": "9607:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3768, - "type": "bytes32", - "value": "_params" - }, - "id": 3785, - "name": "Identifier", - "src": "9625:7:6" - } - ], - "id": 3786, - "name": "FunctionCall", - "src": "9590:43:6" - } - ], - "id": 3787, - "name": "FunctionCall", - "src": "9567:67:6" - } - ], - "id": 3788, - "name": "ExpressionStatement", - "src": "9567:67:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct Controller.GlobalConstraintRegister storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct Controller.GlobalConstraintRegister storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3112, - "type": "mapping(address => struct Controller.GlobalConstraintRegister storage ref)", - "value": "globalConstraintsRegister" - }, - "id": 3789, - "name": "Identifier", - "src": "9649:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3766, - "type": "address", - "value": "_globalConstraint" - }, - "id": 3790, - "name": "Identifier", - "src": "9675:17:6" - } - ], - "id": 3791, - "name": "IndexAccess", - "src": "9649:44:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - null - ], - "type": "struct Controller.GlobalConstraintRegister memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3093, - "type": "type(struct Controller.GlobalConstraintRegister storage pointer)", - "value": "GlobalConstraintRegister" - }, - "id": 3792, - "name": "Identifier", - "src": "9696:24:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3793, - "name": "Literal", - "src": "9721:4:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "-", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3794, - "name": "Identifier", - "src": "9726:17:6" - } - ], - "id": 3795, - "name": "MemberAccess", - "src": "9726:24:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 3796, - "name": "Literal", - "src": "9751:1:6" - } - ], - "id": 3797, - "name": "BinaryOperation", - "src": "9726:26:6" - } - ], - "id": 3798, - "name": "FunctionCall", - "src": "9696:57:6" - } - ], - "id": 3799, - "name": "Assignment", - "src": "9649:104:6" - } - ], - "id": 3800, - "name": "ExpressionStatement", - "src": "9649:104:6" - } - ], - "id": 3801, - "name": "Block", - "src": "9552:213:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "params", - "referencedDeclaration": 3087, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraint storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3802, - "name": "Identifier", - "src": "9785:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "index", - "referencedDeclaration": 3092, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraintRegister storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3112, - "type": "mapping(address => struct Controller.GlobalConstraintRegister storage ref)", - "value": "globalConstraintsRegister" - }, - "id": 3803, - "name": "Identifier", - "src": "9803:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3766, - "type": "address", - "value": "_globalConstraint" - }, - "id": 3804, - "name": "Identifier", - "src": "9829:17:6" - } - ], - "id": 3805, - "name": "IndexAccess", - "src": "9803:44:6" - } - ], - "id": 3806, - "name": "MemberAccess", - "src": "9803:50:6" - } - ], - "id": 3807, - "name": "IndexAccess", - "src": "9785:69:6" - } - ], - "id": 3808, - "name": "MemberAccess", - "src": "9785:76:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3768, - "type": "bytes32", - "value": "_params" - }, - "id": 3809, - "name": "Identifier", - "src": "9864:7:6" - } - ], - "id": 3810, - "name": "Assignment", - "src": "9785:86:6" - } - ], - "id": 3811, - "name": "ExpressionStatement", - "src": "9785:86:6" - } - ], - "id": 3812, - "name": "Block", - "src": "9770:113:6" - } - ], - "id": 3813, - "name": "IfStatement", - "src": "9492:391:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3203, - "type": "function (address,bytes32)", - "value": "AddGlobalConstraint" - }, - "id": 3814, - "name": "Identifier", - "src": "9893:19:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3766, - "type": "address", - "value": "_globalConstraint" - }, - "id": 3815, - "name": "Identifier", - "src": "9913:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3768, - "type": "bytes32", - "value": "_params" - }, - "id": 3816, - "name": "Identifier", - "src": "9932:7:6" - } - ], - "id": 3817, - "name": "FunctionCall", - "src": "9893:47:6" - } - ], - "id": 3818, - "name": "ExpressionStatement", - "src": "9893:47:6" - }, - { - "attributes": { - "functionReturnParameters": 3774 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3819, - "name": "Literal", - "src": "9958:4:6" - } - ], - "id": 3820, - "name": "Return", - "src": "9951:11:6" - } - ], - "id": 3821, - "name": "Block", - "src": "9481:489:6" - } - ], - "id": 3822, - "name": "FunctionDefinition", - "src": "9349:621:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "removeGlobalConstraint", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_globalConstraint", - "scope": 3896, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3823, - "name": "ElementaryTypeName", - "src": "10199:7:6" - } - ], - "id": 3824, - "name": "VariableDeclaration", - "src": "10199:25:6" - } - ], - "id": 3825, - "name": "ParameterList", - "src": "10198:27:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3896, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3828, - "name": "ElementaryTypeName", - "src": "10274:4:6" - } - ], - "id": 3829, - "name": "VariableDeclaration", - "src": "10274:4:6" - } - ], - "id": 3830, - "name": "ParameterList", - "src": "10273:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3353, - "type": "modifier ()", - "value": "onlyGlobalConstraintsScheme" - }, - "id": 3826, - "name": "Identifier", - "src": "10238:27:6" - } - ], - "id": 3827, - "name": "ModifierInvocation", - "src": "10238:27:6" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 3832 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "globalConstraintRegister", - "scope": 3896, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct Controller.GlobalConstraintRegister memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "GlobalConstraintRegister", - "referencedDeclaration": 3093, - "type": "struct Controller.GlobalConstraintRegister storage pointer" - }, - "id": 3831, - "name": "UserDefinedTypeName", - "src": "10296:24:6" - } - ], - "id": 3832, - "name": "VariableDeclaration", - "src": "10296:56:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraintRegister storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3112, - "type": "mapping(address => struct Controller.GlobalConstraintRegister storage ref)", - "value": "globalConstraintsRegister" - }, - "id": 3833, - "name": "Identifier", - "src": "10355:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3824, - "type": "address", - "value": "_globalConstraint" - }, - "id": 3834, - "name": "Identifier", - "src": "10381:17:6" - } - ], - "id": 3835, - "name": "IndexAccess", - "src": "10355:44:6" - } - ], - "id": 3836, - "name": "VariableDeclarationStatement", - "src": "10296:103:6" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "register", - "referencedDeclaration": 3090, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3832, - "type": "struct Controller.GlobalConstraintRegister memory", - "value": "globalConstraintRegister" - }, - "id": 3837, - "name": "Identifier", - "src": "10416:24:6" - } - ], - "id": 3838, - "name": "MemberAccess", - "src": "10416:33:6" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "index", - "referencedDeclaration": 3092, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3832, - "type": "struct Controller.GlobalConstraintRegister memory", - "value": "globalConstraintRegister" - }, - "id": 3839, - "name": "Identifier", - "src": "10470:24:6" - } - ], - "id": 3840, - "name": "MemberAccess", - "src": "10470:30:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "-", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3841, - "name": "Identifier", - "src": "10503:17:6" - } - ], - "id": 3842, - "name": "MemberAccess", - "src": "10503:24:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 3843, - "name": "Literal", - "src": "10528:1:6" - } - ], - "id": 3844, - "name": "BinaryOperation", - "src": "10503:26:6" - } - ], - "id": 3845, - "name": "BinaryOperation", - "src": "10470:59:6" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 3847 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "globalConstraint", - "scope": 3896, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct Controller.GlobalConstraint memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "GlobalConstraint", - "referencedDeclaration": 3088, - "type": "struct Controller.GlobalConstraint storage pointer" - }, - "id": 3846, - "name": "UserDefinedTypeName", - "src": "10550:16:6" - } - ], - "id": 3847, - "name": "VariableDeclaration", - "src": "10550:40:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraint storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3848, - "name": "Identifier", - "src": "10593:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "-", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3849, - "name": "Identifier", - "src": "10611:17:6" - } - ], - "id": 3850, - "name": "MemberAccess", - "src": "10611:24:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 3851, - "name": "Literal", - "src": "10636:1:6" - } - ], - "id": 3852, - "name": "BinaryOperation", - "src": "10611:26:6" - } - ], - "id": 3853, - "name": "IndexAccess", - "src": "10593:45:6" - } - ], - "id": 3854, - "name": "VariableDeclarationStatement", - "src": "10550:88:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct Controller.GlobalConstraint storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct Controller.GlobalConstraint storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3855, - "name": "Identifier", - "src": "10657:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "index", - "referencedDeclaration": 3092, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3832, - "type": "struct Controller.GlobalConstraintRegister memory", - "value": "globalConstraintRegister" - }, - "id": 3856, - "name": "Identifier", - "src": "10675:24:6" - } - ], - "id": 3857, - "name": "MemberAccess", - "src": "10675:30:6" - } - ], - "id": 3858, - "name": "IndexAccess", - "src": "10657:49:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3847, - "type": "struct Controller.GlobalConstraint memory", - "value": "globalConstraint" - }, - "id": 3859, - "name": "Identifier", - "src": "10709:16:6" - } - ], - "id": 3860, - "name": "Assignment", - "src": "10657:68:6" - } - ], - "id": 3861, - "name": "ExpressionStatement", - "src": "10657:68:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "index", - "referencedDeclaration": 3092, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct Controller.GlobalConstraintRegister storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3112, - "type": "mapping(address => struct Controller.GlobalConstraintRegister storage ref)", - "value": "globalConstraintsRegister" - }, - "id": 3862, - "name": "Identifier", - "src": "10744:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "gcAddress", - "referencedDeclaration": 3085, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3847, - "type": "struct Controller.GlobalConstraint memory", - "value": "globalConstraint" - }, - "id": 3863, - "name": "Identifier", - "src": "10770:16:6" - } - ], - "id": 3864, - "name": "MemberAccess", - "src": "10770:26:6" - } - ], - "id": 3865, - "name": "IndexAccess", - "src": "10744:53:6" - } - ], - "id": 3866, - "name": "MemberAccess", - "src": "10744:59:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "index", - "referencedDeclaration": 3092, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3832, - "type": "struct Controller.GlobalConstraintRegister memory", - "value": "globalConstraintRegister" - }, - "id": 3867, - "name": "Identifier", - "src": "10806:24:6" - } - ], - "id": 3868, - "name": "MemberAccess", - "src": "10806:30:6" - } - ], - "id": 3869, - "name": "Assignment", - "src": "10744:92:6" - } - ], - "id": 3870, - "name": "ExpressionStatement", - "src": "10744:92:6" - } - ], - "id": 3871, - "name": "Block", - "src": "10531:321:6" - } - ], - "id": 3872, - "name": "IfStatement", - "src": "10466:386:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "--", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3108, - "type": "struct Controller.GlobalConstraint storage ref[] storage ref", - "value": "globalConstraints" - }, - "id": 3873, - "name": "Identifier", - "src": "10866:17:6" - } - ], - "id": 3875, - "name": "MemberAccess", - "src": "10866:24:6" - } - ], - "id": 3876, - "name": "UnaryOperation", - "src": "10866:26:6" - } - ], - "id": 3877, - "name": "ExpressionStatement", - "src": "10866:26:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct Controller.GlobalConstraintRegister storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3112, - "type": "mapping(address => struct Controller.GlobalConstraintRegister storage ref)", - "value": "globalConstraintsRegister" - }, - "id": 3878, - "name": "Identifier", - "src": "10914:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3824, - "type": "address", - "value": "_globalConstraint" - }, - "id": 3879, - "name": "Identifier", - "src": "10940:17:6" - } - ], - "id": 3880, - "name": "IndexAccess", - "src": "10914:44:6" - } - ], - "id": 3881, - "name": "UnaryOperation", - "src": "10907:51:6" - } - ], - "id": 3882, - "name": "ExpressionStatement", - "src": "10907:51:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3209, - "type": "function (address,uint256)", - "value": "RemoveGlobalConstraint" - }, - "id": 3883, - "name": "Identifier", - "src": "10973:22:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3824, - "type": "address", - "value": "_globalConstraint" - }, - "id": 3884, - "name": "Identifier", - "src": "10996:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "index", - "referencedDeclaration": 3092, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3832, - "type": "struct Controller.GlobalConstraintRegister memory", - "value": "globalConstraintRegister" - }, - "id": 3885, - "name": "Identifier", - "src": "11014:24:6" - } - ], - "id": 3886, - "name": "MemberAccess", - "src": "11014:30:6" - } - ], - "id": 3887, - "name": "FunctionCall", - "src": "10973:72:6" - } - ], - "id": 3888, - "name": "ExpressionStatement", - "src": "10973:72:6" - }, - { - "attributes": { - "functionReturnParameters": 3830 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3889, - "name": "Literal", - "src": "11067:4:6" - } - ], - "id": 3890, - "name": "Return", - "src": "11060:11:6" - } - ], - "id": 3891, - "name": "Block", - "src": "10451:632:6" - } - ], - "id": 3892, - "name": "IfStatement", - "src": "10412:671:6" - }, - { - "attributes": { - "functionReturnParameters": 3830 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 3893, - "name": "Literal", - "src": "11100:5:6" - } - ], - "id": 3894, - "name": "Return", - "src": "11093:12:6" - } - ], - "id": 3895, - "name": "Block", - "src": "10285:828:6" - } - ], - "id": 3896, - "name": "FunctionDefinition", - "src": "10166:947:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "upgradeController", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_newController", - "scope": 3969, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3897, - "name": "ElementaryTypeName", - "src": "11378:7:6" - } - ], - "id": 3898, - "name": "VariableDeclaration", - "src": "11378:22:6" - } - ], - "id": 3899, - "name": "ParameterList", - "src": "11377:24:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3969, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3902, - "name": "ElementaryTypeName", - "src": "11442:4:6" - } - ], - "id": 3903, - "name": "VariableDeclaration", - "src": "11442:4:6" - } - ], - "id": 3904, - "name": "ParameterList", - "src": "11441:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3373, - "type": "modifier ()", - "value": "onlyUpgradingScheme" - }, - "id": 3900, - "name": "Identifier", - "src": "11414:19:6" - } - ], - "id": 3901, - "name": "ModifierInvocation", - "src": "11414:19:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3905, - "name": "Identifier", - "src": "11464:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3105, - "type": "address", - "value": "newController" - }, - "id": 3906, - "name": "Identifier", - "src": "11472:13:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 3907, - "name": "ElementaryTypeNameExpression", - "src": "11489:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 3908, - "name": "Literal", - "src": "11497:1:6" - } - ], - "id": 3909, - "name": "FunctionCall", - "src": "11489:10:6" - } - ], - "id": 3910, - "name": "BinaryOperation", - "src": "11472:27:6" - } - ], - "id": 3911, - "name": "FunctionCall", - "src": "11464:36:6" - } - ], - "id": 3912, - "name": "ExpressionStatement", - "src": "11464:36:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 3913, - "name": "Identifier", - "src": "11566:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3898, - "type": "address", - "value": "_newController" - }, - "id": 3914, - "name": "Identifier", - "src": "11574:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 3915, - "name": "ElementaryTypeNameExpression", - "src": "11592:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 3916, - "name": "Literal", - "src": "11600:1:6" - } - ], - "id": 3917, - "name": "FunctionCall", - "src": "11592:10:6" - } - ], - "id": 3918, - "name": "BinaryOperation", - "src": "11574:28:6" - } - ], - "id": 3919, - "name": "FunctionCall", - "src": "11566:37:6" - } - ], - "id": 3920, - "name": "ExpressionStatement", - "src": "11566:37:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3105, - "type": "address", - "value": "newController" - }, - "id": 3921, - "name": "Identifier", - "src": "11614:13:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3898, - "type": "address", - "value": "_newController" - }, - "id": 3922, - "name": "Identifier", - "src": "11630:14:6" - } - ], - "id": 3923, - "name": "Assignment", - "src": "11614:30:6" - } - ], - "id": 3924, - "name": "ExpressionStatement", - "src": "11614:30:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferOwnership", - "referencedDeclaration": 9139, - "type": "function (address) external" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3099, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 3925, - "name": "Identifier", - "src": "11655:6:6" - } - ], - "id": 3927, - "name": "MemberAccess", - "src": "11655:24:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3898, - "type": "address", - "value": "_newController" - }, - "id": 3928, - "name": "Identifier", - "src": "11680:14:6" - } - ], - "id": 3929, - "name": "FunctionCall", - "src": "11655:40:6" - } - ], - "id": 3930, - "name": "ExpressionStatement", - "src": "11655:40:6" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3101, - "type": "contract DAOToken", - "value": "nativeToken" - }, - "id": 3931, - "name": "Identifier", - "src": "11710:11:6" - } - ], - "id": 3932, - "name": "MemberAccess", - "src": "11710:17:6" - } - ], - "id": 3933, - "name": "FunctionCall", - "src": "11710:19:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Controller_$4157", - "typeString": "contract Controller" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 3934, - "name": "ElementaryTypeNameExpression", - "src": "11733:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9777, - "type": "contract Controller", - "value": "this" - }, - "id": 3935, - "name": "Identifier", - "src": "11741:4:6" - } - ], - "id": 3936, - "name": "FunctionCall", - "src": "11733:13:6" - } - ], - "id": 3937, - "name": "BinaryOperation", - "src": "11710:36:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferOwnership", - "referencedDeclaration": 9139, - "type": "function (address) external" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3101, - "type": "contract DAOToken", - "value": "nativeToken" - }, - "id": 3938, - "name": "Identifier", - "src": "11763:11:6" - } - ], - "id": 3940, - "name": "MemberAccess", - "src": "11763:29:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3898, - "type": "address", - "value": "_newController" - }, - "id": 3941, - "name": "Identifier", - "src": "11793:14:6" - } - ], - "id": 3942, - "name": "FunctionCall", - "src": "11763:45:6" - } - ], - "id": 3943, - "name": "ExpressionStatement", - "src": "11763:45:6" - } - ], - "id": 3944, - "name": "Block", - "src": "11748:72:6" - } - ], - "id": 3945, - "name": "IfStatement", - "src": "11706:114:6" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3103, - "type": "contract Reputation", - "value": "nativeReputation" - }, - "id": 3946, - "name": "Identifier", - "src": "11834:16:6" - } - ], - "id": 3947, - "name": "MemberAccess", - "src": "11834:22:6" - } - ], - "id": 3948, - "name": "FunctionCall", - "src": "11834:24:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Controller_$4157", - "typeString": "contract Controller" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 3949, - "name": "ElementaryTypeNameExpression", - "src": "11862:7:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9777, - "type": "contract Controller", - "value": "this" - }, - "id": 3950, - "name": "Identifier", - "src": "11870:4:6" - } - ], - "id": 3951, - "name": "FunctionCall", - "src": "11862:13:6" - } - ], - "id": 3952, - "name": "BinaryOperation", - "src": "11834:41:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferOwnership", - "referencedDeclaration": 9139, - "type": "function (address) external" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3103, - "type": "contract Reputation", - "value": "nativeReputation" - }, - "id": 3953, - "name": "Identifier", - "src": "11892:16:6" - } - ], - "id": 3955, - "name": "MemberAccess", - "src": "11892:34:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3898, - "type": "address", - "value": "_newController" - }, - "id": 3956, - "name": "Identifier", - "src": "11927:14:6" - } - ], - "id": 3957, - "name": "FunctionCall", - "src": "11892:50:6" - } - ], - "id": 3958, - "name": "ExpressionStatement", - "src": "11892:50:6" - } - ], - "id": 3959, - "name": "Block", - "src": "11877:77:6" - } - ], - "id": 3960, - "name": "IfStatement", - "src": "11830:124:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Controller_$4157", - "typeString": "contract Controller" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3215, - "type": "function (address,address)", - "value": "UpgradeController" - }, - "id": 3961, - "name": "Identifier", - "src": "11964:17:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9777, - "type": "contract Controller", - "value": "this" - }, - "id": 3962, - "name": "Identifier", - "src": "11982:4:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3105, - "type": "address", - "value": "newController" - }, - "id": 3963, - "name": "Identifier", - "src": "11987:13:6" - } - ], - "id": 3964, - "name": "FunctionCall", - "src": "11964:37:6" - } - ], - "id": 3965, - "name": "ExpressionStatement", - "src": "11964:37:6" - }, - { - "attributes": { - "functionReturnParameters": 3904 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 3966, - "name": "Literal", - "src": "12019:4:6" - } - ], - "id": 3967, - "name": "Return", - "src": "12012:11:6" - } - ], - "id": 3968, - "name": "Block", - "src": "11453:578:6" - } - ], - "id": 3969, - "name": "FunctionDefinition", - "src": "11351:680:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "genericAction", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 3996, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 3970, - "name": "ElementaryTypeName", - "src": "12403:7:6" - } - ], - "id": 3971, - "name": "ArrayTypeName", - "src": "12403:9:6" - } - ], - "id": 3972, - "name": "VariableDeclaration", - "src": "12403:17:6" - } - ], - "id": 3973, - "name": "ParameterList", - "src": "12402:19:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 3996, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 3979, - "name": "ElementaryTypeName", - "src": "12519:4:6" - } - ], - "id": 3980, - "name": "VariableDeclaration", - "src": "12519:4:6" - } - ], - "id": 3981, - "name": "ParameterList", - "src": "12518:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3313, - "type": "modifier ()", - "value": "onlyRegisteredScheme" - }, - "id": 3974, - "name": "Identifier", - "src": "12439:20:6" - } - ], - "id": 3975, - "name": "ModifierInvocation", - "src": "12439:20:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3446, - "type": "modifier (bytes32)", - "value": "onlySubjectToConstraint" - }, - "id": 3976, - "name": "Identifier", - "src": "12465:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "67656e65726963416374696f6e", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"genericAction\"", - "value": "genericAction" - }, - "id": 3977, - "name": "Literal", - "src": "12489:15:6" - } - ], - "id": 3978, - "name": "ModifierInvocation", - "src": "12465:40:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3147, - "type": "function (address,bytes32[] memory)", - "value": "GenericAction" - }, - "id": 3982, - "name": "Identifier", - "src": "12541:13:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3983, - "name": "Identifier", - "src": "12555:3:6" - } - ], - "id": 3984, - "name": "MemberAccess", - "src": "12555:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3972, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 3985, - "name": "Identifier", - "src": "12567:7:6" - } - ], - "id": 3986, - "name": "FunctionCall", - "src": "12541:34:6" - } - ], - "id": 3987, - "name": "ExpressionStatement", - "src": "12541:34:6" - }, - { - "attributes": { - "functionReturnParameters": 3981 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "genericAction", - "referencedDeclaration": 2926, - "type": "function (address,bytes32[] memory) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3099, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 3988, - "name": "Identifier", - "src": "12593:6:6" - } - ], - "id": 3989, - "name": "MemberAccess", - "src": "12593:20:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 3990, - "name": "Identifier", - "src": "12614:3:6" - } - ], - "id": 3991, - "name": "MemberAccess", - "src": "12614:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3972, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 3992, - "name": "Identifier", - "src": "12626:7:6" - } - ], - "id": 3993, - "name": "FunctionCall", - "src": "12593:41:6" - } - ], - "id": 3994, - "name": "Return", - "src": "12586:48:6" - } - ], - "id": 3995, - "name": "Block", - "src": "12530:112:6" - } - ], - "id": 3996, - "name": "FunctionDefinition", - "src": "12380:262:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "sendEther", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_amountInWei", - "scope": 4024, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 3997, - "name": "ElementaryTypeName", - "src": "12862:4:6" - } - ], - "id": 3998, - "name": "VariableDeclaration", - "src": "12862:17:6" - }, - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 4024, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 3999, - "name": "ElementaryTypeName", - "src": "12881:7:6" - } - ], - "id": 4000, - "name": "VariableDeclaration", - "src": "12881:11:6" - } - ], - "id": 4001, - "name": "ParameterList", - "src": "12861:32:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4024, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4007, - "name": "ElementaryTypeName", - "src": "12987:4:6" - } - ], - "id": 4008, - "name": "VariableDeclaration", - "src": "12987:4:6" - } - ], - "id": 4009, - "name": "ParameterList", - "src": "12986:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3313, - "type": "modifier ()", - "value": "onlyRegisteredScheme" - }, - "id": 4002, - "name": "Identifier", - "src": "12911:20:6" - } - ], - "id": 4003, - "name": "ModifierInvocation", - "src": "12911:20:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3446, - "type": "modifier (bytes32)", - "value": "onlySubjectToConstraint" - }, - "id": 4004, - "name": "Identifier", - "src": "12937:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "73656e644574686572", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"sendEther\"", - "value": "sendEther" - }, - "id": 4005, - "name": "Literal", - "src": "12961:11:6" - } - ], - "id": 4006, - "name": "ModifierInvocation", - "src": "12937:36:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3155, - "type": "function (address,uint256,address)", - "value": "SendEther" - }, - "id": 4010, - "name": "Identifier", - "src": "13009:9:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 4011, - "name": "Identifier", - "src": "13019:3:6" - } - ], - "id": 4012, - "name": "MemberAccess", - "src": "13019:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3998, - "type": "uint256", - "value": "_amountInWei" - }, - "id": 4013, - "name": "Identifier", - "src": "13031:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4000, - "type": "address", - "value": "_to" - }, - "id": 4014, - "name": "Identifier", - "src": "13045:3:6" - } - ], - "id": 4015, - "name": "FunctionCall", - "src": "13009:40:6" - } - ], - "id": 4016, - "name": "ExpressionStatement", - "src": "13009:40:6" - }, - { - "attributes": { - "functionReturnParameters": 4009 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sendEther", - "referencedDeclaration": 2951, - "type": "function (uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3099, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 4017, - "name": "Identifier", - "src": "13067:6:6" - } - ], - "id": 4018, - "name": "MemberAccess", - "src": "13067:16:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3998, - "type": "uint256", - "value": "_amountInWei" - }, - "id": 4019, - "name": "Identifier", - "src": "13084:12:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4000, - "type": "address", - "value": "_to" - }, - "id": 4020, - "name": "Identifier", - "src": "13098:3:6" - } - ], - "id": 4021, - "name": "FunctionCall", - "src": "13067:35:6" - } - ], - "id": 4022, - "name": "Return", - "src": "13060:42:6" - } - ], - "id": 4023, - "name": "Block", - "src": "12998:112:6" - } - ], - "id": 4024, - "name": "FunctionDefinition", - "src": "12843:267:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenTransfer", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 4056, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4025, - "name": "UserDefinedTypeName", - "src": "13433:13:6" - } - ], - "id": 4026, - "name": "VariableDeclaration", - "src": "13433:28:6" - }, - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 4056, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4027, - "name": "ElementaryTypeName", - "src": "13463:7:6" - } - ], - "id": 4028, - "name": "VariableDeclaration", - "src": "13463:11:6" - }, - { - "attributes": { - "constant": false, - "name": "_value", - "scope": 4056, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4029, - "name": "ElementaryTypeName", - "src": "13476:4:6" - } - ], - "id": 4030, - "name": "VariableDeclaration", - "src": "13476:11:6" - } - ], - "id": 4031, - "name": "ParameterList", - "src": "13432:56:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4056, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4037, - "name": "ElementaryTypeName", - "src": "13594:4:6" - } - ], - "id": 4038, - "name": "VariableDeclaration", - "src": "13594:4:6" - } - ], - "id": 4039, - "name": "ParameterList", - "src": "13593:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3313, - "type": "modifier ()", - "value": "onlyRegisteredScheme" - }, - "id": 4032, - "name": "Identifier", - "src": "13506:20:6" - } - ], - "id": 4033, - "name": "ModifierInvocation", - "src": "13506:20:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3446, - "type": "modifier (bytes32)", - "value": "onlySubjectToConstraint" - }, - "id": 4034, - "name": "Identifier", - "src": "13532:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "65787465726e616c546f6b656e5472616e73666572", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"externalTokenTransfer\"", - "value": "externalTokenTransfer" - }, - "id": 4035, - "name": "Literal", - "src": "13556:23:6" - } - ], - "id": 4036, - "name": "ModifierInvocation", - "src": "13532:48:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3165, - "type": "function (address,address,address,uint256)", - "value": "ExternalTokenTransfer" - }, - "id": 4040, - "name": "Identifier", - "src": "13616:21:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 4041, - "name": "Identifier", - "src": "13638:3:6" - } - ], - "id": 4042, - "name": "MemberAccess", - "src": "13638:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4026, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 4043, - "name": "Identifier", - "src": "13650:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4028, - "type": "address", - "value": "_to" - }, - "id": 4044, - "name": "Identifier", - "src": "13666:3:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4030, - "type": "uint256", - "value": "_value" - }, - "id": 4045, - "name": "Identifier", - "src": "13671:6:6" - } - ], - "id": 4046, - "name": "FunctionCall", - "src": "13616:62:6" - } - ], - "id": 4047, - "name": "ExpressionStatement", - "src": "13616:62:6" - }, - { - "attributes": { - "functionReturnParameters": 4039 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "externalTokenTransfer", - "referencedDeclaration": 2980, - "type": "function (contract StandardToken,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3099, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 4048, - "name": "Identifier", - "src": "13696:6:6" - } - ], - "id": 4049, - "name": "MemberAccess", - "src": "13696:28:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4026, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 4050, - "name": "Identifier", - "src": "13725:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4028, - "type": "address", - "value": "_to" - }, - "id": 4051, - "name": "Identifier", - "src": "13741:3:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4030, - "type": "uint256", - "value": "_value" - }, - "id": 4052, - "name": "Identifier", - "src": "13746:6:6" - } - ], - "id": 4053, - "name": "FunctionCall", - "src": "13696:57:6" - } - ], - "id": 4054, - "name": "Return", - "src": "13689:64:6" - } - ], - "id": 4055, - "name": "Block", - "src": "13605:156:6" - } - ], - "id": 4056, - "name": "FunctionDefinition", - "src": "13402:359:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenTransferFrom", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 4092, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4057, - "name": "UserDefinedTypeName", - "src": "14297:13:6" - } - ], - "id": 4058, - "name": "VariableDeclaration", - "src": "14297:28:6" - }, - { - "attributes": { - "constant": false, - "name": "_from", - "scope": 4092, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4059, - "name": "ElementaryTypeName", - "src": "14327:7:6" - } - ], - "id": 4060, - "name": "VariableDeclaration", - "src": "14327:13:6" - }, - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 4092, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4061, - "name": "ElementaryTypeName", - "src": "14342:7:6" - } - ], - "id": 4062, - "name": "VariableDeclaration", - "src": "14342:11:6" - }, - { - "attributes": { - "constant": false, - "name": "_value", - "scope": 4092, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4063, - "name": "ElementaryTypeName", - "src": "14355:4:6" - } - ], - "id": 4064, - "name": "VariableDeclaration", - "src": "14355:11:6" - } - ], - "id": 4065, - "name": "ParameterList", - "src": "14296:71:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4092, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4071, - "name": "ElementaryTypeName", - "src": "14477:4:6" - } - ], - "id": 4072, - "name": "VariableDeclaration", - "src": "14477:4:6" - } - ], - "id": 4073, - "name": "ParameterList", - "src": "14476:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3313, - "type": "modifier ()", - "value": "onlyRegisteredScheme" - }, - "id": 4066, - "name": "Identifier", - "src": "14385:20:6" - } - ], - "id": 4067, - "name": "ModifierInvocation", - "src": "14385:20:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3446, - "type": "modifier (bytes32)", - "value": "onlySubjectToConstraint" - }, - "id": 4068, - "name": "Identifier", - "src": "14411:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "65787465726e616c546f6b656e5472616e7366657246726f6d", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"externalTokenTransferFrom\"", - "value": "externalTokenTransferFrom" - }, - "id": 4069, - "name": "Literal", - "src": "14435:27:6" - } - ], - "id": 4070, - "name": "ModifierInvocation", - "src": "14411:52:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3177, - "type": "function (address,address,address,address,uint256)", - "value": "ExternalTokenTransferFrom" - }, - "id": 4074, - "name": "Identifier", - "src": "14499:25:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 4075, - "name": "Identifier", - "src": "14525:3:6" - } - ], - "id": 4076, - "name": "MemberAccess", - "src": "14525:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4058, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 4077, - "name": "Identifier", - "src": "14537:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4060, - "type": "address", - "value": "_from" - }, - "id": 4078, - "name": "Identifier", - "src": "14553:5:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4062, - "type": "address", - "value": "_to" - }, - "id": 4079, - "name": "Identifier", - "src": "14560:3:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4064, - "type": "uint256", - "value": "_value" - }, - "id": 4080, - "name": "Identifier", - "src": "14565:6:6" - } - ], - "id": 4081, - "name": "FunctionCall", - "src": "14499:73:6" - } - ], - "id": 4082, - "name": "ExpressionStatement", - "src": "14499:73:6" - }, - { - "attributes": { - "functionReturnParameters": 4073 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "externalTokenTransferFrom", - "referencedDeclaration": 3013, - "type": "function (contract StandardToken,address,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3099, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 4083, - "name": "Identifier", - "src": "14590:6:6" - } - ], - "id": 4084, - "name": "MemberAccess", - "src": "14590:32:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4058, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 4085, - "name": "Identifier", - "src": "14623:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4060, - "type": "address", - "value": "_from" - }, - "id": 4086, - "name": "Identifier", - "src": "14639:5:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4062, - "type": "address", - "value": "_to" - }, - "id": 4087, - "name": "Identifier", - "src": "14646:3:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4064, - "type": "uint256", - "value": "_value" - }, - "id": 4088, - "name": "Identifier", - "src": "14651:6:6" - } - ], - "id": 4089, - "name": "FunctionCall", - "src": "14590:68:6" - } - ], - "id": 4090, - "name": "Return", - "src": "14583:75:6" - } - ], - "id": 4091, - "name": "Block", - "src": "14488:178:6" - } - ], - "id": 4092, - "name": "FunctionDefinition", - "src": "14262:404:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenIncreaseApproval", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 4124, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4093, - "name": "UserDefinedTypeName", - "src": "15090:13:6" - } - ], - "id": 4094, - "name": "VariableDeclaration", - "src": "15090:28:6" - }, - { - "attributes": { - "constant": false, - "name": "_spender", - "scope": 4124, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4095, - "name": "ElementaryTypeName", - "src": "15120:7:6" - } - ], - "id": 4096, - "name": "VariableDeclaration", - "src": "15120:16:6" - }, - { - "attributes": { - "constant": false, - "name": "_addedValue", - "scope": 4124, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4097, - "name": "ElementaryTypeName", - "src": "15138:4:6" - } - ], - "id": 4098, - "name": "VariableDeclaration", - "src": "15138:16:6" - } - ], - "id": 4099, - "name": "ParameterList", - "src": "15089:66:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4124, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4105, - "name": "ElementaryTypeName", - "src": "15269:4:6" - } - ], - "id": 4106, - "name": "VariableDeclaration", - "src": "15269:4:6" - } - ], - "id": 4107, - "name": "ParameterList", - "src": "15268:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3313, - "type": "modifier ()", - "value": "onlyRegisteredScheme" - }, - "id": 4100, - "name": "Identifier", - "src": "15173:20:6" - } - ], - "id": 4101, - "name": "ModifierInvocation", - "src": "15173:20:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3446, - "type": "modifier (bytes32)", - "value": "onlySubjectToConstraint" - }, - "id": 4102, - "name": "Identifier", - "src": "15199:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "65787465726e616c546f6b656e496e637265617365417070726f76616c", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"externalTokenIncreaseApproval\"", - "value": "externalTokenIncreaseApproval" - }, - "id": 4103, - "name": "Literal", - "src": "15223:31:6" - } - ], - "id": 4104, - "name": "ModifierInvocation", - "src": "15199:56:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3187, - "type": "function (address,contract StandardToken,address,uint256)", - "value": "ExternalTokenIncreaseApproval" - }, - "id": 4108, - "name": "Identifier", - "src": "15291:29:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 4109, - "name": "Identifier", - "src": "15321:3:6" - } - ], - "id": 4110, - "name": "MemberAccess", - "src": "15321:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4094, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 4111, - "name": "Identifier", - "src": "15332:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4096, - "type": "address", - "value": "_spender" - }, - "id": 4112, - "name": "Identifier", - "src": "15347:8:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4098, - "type": "uint256", - "value": "_addedValue" - }, - "id": 4113, - "name": "Identifier", - "src": "15356:11:6" - } - ], - "id": 4114, - "name": "FunctionCall", - "src": "15291:77:6" - } - ], - "id": 4115, - "name": "ExpressionStatement", - "src": "15291:77:6" - }, - { - "attributes": { - "functionReturnParameters": 4107 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "externalTokenIncreaseApproval", - "referencedDeclaration": 3042, - "type": "function (contract StandardToken,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3099, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 4116, - "name": "Identifier", - "src": "15386:6:6" - } - ], - "id": 4117, - "name": "MemberAccess", - "src": "15386:36:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4094, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 4118, - "name": "Identifier", - "src": "15423:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4096, - "type": "address", - "value": "_spender" - }, - "id": 4119, - "name": "Identifier", - "src": "15439:8:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4098, - "type": "uint256", - "value": "_addedValue" - }, - "id": 4120, - "name": "Identifier", - "src": "15449:11:6" - } - ], - "id": 4121, - "name": "FunctionCall", - "src": "15386:75:6" - } - ], - "id": 4122, - "name": "Return", - "src": "15379:82:6" - } - ], - "id": 4123, - "name": "Block", - "src": "15280:189:6" - } - ], - "id": 4124, - "name": "FunctionDefinition", - "src": "15051:418:6" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "externalTokenDecreaseApproval", - "payable": false, - "scope": 4157, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_externalToken", - "scope": 4156, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4125, - "name": "UserDefinedTypeName", - "src": "15898:13:6" - } - ], - "id": 4126, - "name": "VariableDeclaration", - "src": "15898:28:6" - }, - { - "attributes": { - "constant": false, - "name": "_spender", - "scope": 4156, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4127, - "name": "ElementaryTypeName", - "src": "15928:7:6" - } - ], - "id": 4128, - "name": "VariableDeclaration", - "src": "15928:16:6" - }, - { - "attributes": { - "constant": false, - "name": "_subtractedValue", - "scope": 4156, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4129, - "name": "ElementaryTypeName", - "src": "15946:4:6" - } - ], - "id": 4130, - "name": "VariableDeclaration", - "src": "15946:21:6" - } - ], - "id": 4131, - "name": "ParameterList", - "src": "15897:71:6" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4156, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4137, - "name": "ElementaryTypeName", - "src": "16082:4:6" - } - ], - "id": 4138, - "name": "VariableDeclaration", - "src": "16082:4:6" - } - ], - "id": 4139, - "name": "ParameterList", - "src": "16081:6:6" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3313, - "type": "modifier ()", - "value": "onlyRegisteredScheme" - }, - "id": 4132, - "name": "Identifier", - "src": "15986:20:6" - } - ], - "id": 4133, - "name": "ModifierInvocation", - "src": "15986:20:6" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3446, - "type": "modifier (bytes32)", - "value": "onlySubjectToConstraint" - }, - "id": 4134, - "name": "Identifier", - "src": "16012:23:6" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "65787465726e616c546f6b656e4465637265617365417070726f76616c", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"externalTokenDecreaseApproval\"", - "value": "externalTokenDecreaseApproval" - }, - "id": 4135, - "name": "Literal", - "src": "16036:31:6" - } - ], - "id": 4136, - "name": "ModifierInvocation", - "src": "16012:56:6" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3197, - "type": "function (address,contract StandardToken,address,uint256)", - "value": "ExternalTokenDecreaseApproval" - }, - "id": 4140, - "name": "Identifier", - "src": "16104:29:6" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 4141, - "name": "Identifier", - "src": "16134:3:6" - } - ], - "id": 4142, - "name": "MemberAccess", - "src": "16134:10:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4126, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 4143, - "name": "Identifier", - "src": "16145:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4128, - "type": "address", - "value": "_spender" - }, - "id": 4144, - "name": "Identifier", - "src": "16160:8:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4130, - "type": "uint256", - "value": "_subtractedValue" - }, - "id": 4145, - "name": "Identifier", - "src": "16169:16:6" - } - ], - "id": 4146, - "name": "FunctionCall", - "src": "16104:82:6" - } - ], - "id": 4147, - "name": "ExpressionStatement", - "src": "16104:82:6" - }, - { - "attributes": { - "functionReturnParameters": 4139 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "externalTokenDecreaseApproval", - "referencedDeclaration": 3071, - "type": "function (contract StandardToken,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3099, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 4148, - "name": "Identifier", - "src": "16204:6:6" - } - ], - "id": 4149, - "name": "MemberAccess", - "src": "16204:36:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4126, - "type": "contract StandardToken", - "value": "_externalToken" - }, - "id": 4150, - "name": "Identifier", - "src": "16241:14:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4128, - "type": "address", - "value": "_spender" - }, - "id": 4151, - "name": "Identifier", - "src": "16257:8:6" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4130, - "type": "uint256", - "value": "_subtractedValue" - }, - "id": 4152, - "name": "Identifier", - "src": "16267:16:6" - } - ], - "id": 4153, - "name": "FunctionCall", - "src": "16204:80:6" - } - ], - "id": 4154, - "name": "Return", - "src": "16197:87:6" - } - ], - "id": 4155, - "name": "Block", - "src": "16093:199:6" - } - ], - "id": 4156, - "name": "FunctionDefinition", - "src": "15859:433:6" - } - ], - "id": 4157, - "name": "ContractDefinition", - "src": "440:15857:6" - } - ], - "id": 4158, - "name": "SourceUnit", - "src": "0:16299:6" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.901Z" -} \ No newline at end of file diff --git a/contracts/DAOToken.json b/contracts/DAOToken.json deleted file mode 100644 index 5c74c7af3..000000000 --- a/contracts/DAOToken.json +++ /dev/null @@ -1,938 +0,0 @@ -{ - "contractName": "DAOToken", - "abi": [ - { - "constant": true, - "inputs": [], - "name": "mintingFinished", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "name", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "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": false, - "inputs": [ - { - "name": "_to", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - } - ], - "name": "mint", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_value", - "type": "uint256" - } - ], - "name": "burn", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseApproval", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "DECIMAL", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "balance", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "finishMinting", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "destroy", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "symbol", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "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": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_addedValue", - "type": "uint256" - } - ], - "name": "increaseApproval", - "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" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_recipient", - "type": "address" - } - ], - "name": "destroyAndSend", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "name": "_name", - "type": "string" - }, - { - "name": "_symbol", - "type": "string" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "burner", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Burn", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "amount", - "type": "uint256" - } - ], - "name": "Mint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [], - "name": "MintFinished", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "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" - } - ], - "bytecode": "0x60606040526003805460a060020a60ff0219169055341561001f57600080fd5b604051610ea0380380610ea08339810160405280805182019190602001805160038054600160a060020a03191633600160a060020a0316179055919091019050600482805161007292916020019061008e565b50600581805161008692916020019061008e565b505050610129565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100cf57805160ff19168380011785556100fc565b828001600101855582156100fc579182015b828111156100fc5782518255916020019190600101906100e1565b5061010892915061010c565b5090565b61012691905b808211156101085760008155600101610112565b90565b610d68806101386000396000f3006060604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461010b57806306fdde0314610132578063095ea7b3146101bc57806318160ddd146101de57806323b872dd1461020357806340c10f191461022b57806342966c681461024d57806366188463146102655780636ab55fd91461028757806370a082311461029a5780637d64bcb4146102b957806383197ef0146102cc5780638da5cb5b146102df57806395d89b411461030e578063a9059cbb14610321578063d73dd62314610343578063dd62ed3e14610365578063f2fde38b1461038a578063f5074f41146103a9575b600080fd5b341561011657600080fd5b61011e6103c8565b604051901515815260200160405180910390f35b341561013d57600080fd5b6101456103d8565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610181578082015183820152602001610169565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b61011e600160a060020a0360043516602435610476565b34156101e957600080fd5b6101f16104e2565b60405190815260200160405180910390f35b341561020e57600080fd5b61011e600160a060020a03600435811690602435166044356104e8565b341561023657600080fd5b61011e600160a060020a036004351660243561066a565b341561025857600080fd5b610263600435610777565b005b341561027057600080fd5b61011e600160a060020a0360043516602435610840565b341561029257600080fd5b6101f161093a565b34156102a557600080fd5b6101f1600160a060020a036004351661093f565b34156102c457600080fd5b61011e61095a565b34156102d757600080fd5b6102636109e5565b34156102ea57600080fd5b6102f2610a0e565b604051600160a060020a03909116815260200160405180910390f35b341561031957600080fd5b610145610a1d565b341561032c57600080fd5b61011e600160a060020a0360043516602435610a88565b341561034e57600080fd5b61011e600160a060020a0360043516602435610b83565b341561037057600080fd5b6101f1600160a060020a0360043581169060243516610c27565b341561039557600080fd5b610263600160a060020a0360043516610c52565b34156103b457600080fd5b610263600160a060020a0360043516610ced565b60035460a060020a900460ff1681565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561046e5780601f106104435761010080835404028352916020019161046e565b820191906000526020600020905b81548152906001019060200180831161045157829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a03831615156104ff57600080fd5b600160a060020a03841660009081526001602052604090205482111561052457600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561055757600080fd5b600160a060020a038416600090815260016020526040902054610580908363ffffffff610d1416565b600160a060020a0380861660009081526001602052604080822093909355908516815220546105b5908363ffffffff610d2616565b600160a060020a038085166000908152600160209081526040808320949094558783168252600281528382203390931682529190915220546105fd908363ffffffff610d1416565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60035460009033600160a060020a0390811691161461068857600080fd5b60035460a060020a900460ff161561069f57600080fd5b6000546106b2908363ffffffff610d2616565b6000908155600160a060020a0384168152600160205260409020546106dd908363ffffffff610d2616565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600080821161078557600080fd5b600160a060020a0333166000908152600160205260409020548211156107aa57600080fd5b5033600160a060020a0381166000908152600160205260409020546107cf9083610d14565b600160a060020a038216600090815260016020526040812091909155546107fc908363ffffffff610d1416565b600055600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561089d57600160a060020a0333811660009081526002602090815260408083209388168352929052908120556108d4565b6108ad818463ffffffff610d1416565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b601281565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a0390811691161461097857600080fd5b60035460a060020a900460ff161561098f57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a03908116911614610a0057600080fd5b600354600160a060020a0316ff5b600354600160a060020a031681565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561046e5780601f106104435761010080835404028352916020019161046e565b6000600160a060020a0383161515610a9f57600080fd5b600160a060020a033316600090815260016020526040902054821115610ac457600080fd5b600160a060020a033316600090815260016020526040902054610aed908363ffffffff610d1416565b600160a060020a033381166000908152600160205260408082209390935590851681522054610b22908363ffffffff610d2616565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610bbb908363ffffffff610d2616565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610c6d57600080fd5b600160a060020a0381161515610c8257600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035433600160a060020a03908116911614610d0857600080fd5b80600160a060020a0316ff5b600082821115610d2057fe5b50900390565b600082820183811015610d3557fe5b93925050505600a165627a7a72305820ddd222f885170d976ba92e33cced2eee9f7c90cd560193c32910e76aa67bce7f0029", - "deployedBytecode": "0x6060604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461010b57806306fdde0314610132578063095ea7b3146101bc57806318160ddd146101de57806323b872dd1461020357806340c10f191461022b57806342966c681461024d57806366188463146102655780636ab55fd91461028757806370a082311461029a5780637d64bcb4146102b957806383197ef0146102cc5780638da5cb5b146102df57806395d89b411461030e578063a9059cbb14610321578063d73dd62314610343578063dd62ed3e14610365578063f2fde38b1461038a578063f5074f41146103a9575b600080fd5b341561011657600080fd5b61011e6103c8565b604051901515815260200160405180910390f35b341561013d57600080fd5b6101456103d8565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610181578082015183820152602001610169565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b61011e600160a060020a0360043516602435610476565b34156101e957600080fd5b6101f16104e2565b60405190815260200160405180910390f35b341561020e57600080fd5b61011e600160a060020a03600435811690602435166044356104e8565b341561023657600080fd5b61011e600160a060020a036004351660243561066a565b341561025857600080fd5b610263600435610777565b005b341561027057600080fd5b61011e600160a060020a0360043516602435610840565b341561029257600080fd5b6101f161093a565b34156102a557600080fd5b6101f1600160a060020a036004351661093f565b34156102c457600080fd5b61011e61095a565b34156102d757600080fd5b6102636109e5565b34156102ea57600080fd5b6102f2610a0e565b604051600160a060020a03909116815260200160405180910390f35b341561031957600080fd5b610145610a1d565b341561032c57600080fd5b61011e600160a060020a0360043516602435610a88565b341561034e57600080fd5b61011e600160a060020a0360043516602435610b83565b341561037057600080fd5b6101f1600160a060020a0360043581169060243516610c27565b341561039557600080fd5b610263600160a060020a0360043516610c52565b34156103b457600080fd5b610263600160a060020a0360043516610ced565b60035460a060020a900460ff1681565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561046e5780601f106104435761010080835404028352916020019161046e565b820191906000526020600020905b81548152906001019060200180831161045157829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a03831615156104ff57600080fd5b600160a060020a03841660009081526001602052604090205482111561052457600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561055757600080fd5b600160a060020a038416600090815260016020526040902054610580908363ffffffff610d1416565b600160a060020a0380861660009081526001602052604080822093909355908516815220546105b5908363ffffffff610d2616565b600160a060020a038085166000908152600160209081526040808320949094558783168252600281528382203390931682529190915220546105fd908363ffffffff610d1416565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60035460009033600160a060020a0390811691161461068857600080fd5b60035460a060020a900460ff161561069f57600080fd5b6000546106b2908363ffffffff610d2616565b6000908155600160a060020a0384168152600160205260409020546106dd908363ffffffff610d2616565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600080821161078557600080fd5b600160a060020a0333166000908152600160205260409020548211156107aa57600080fd5b5033600160a060020a0381166000908152600160205260409020546107cf9083610d14565b600160a060020a038216600090815260016020526040812091909155546107fc908363ffffffff610d1416565b600055600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561089d57600160a060020a0333811660009081526002602090815260408083209388168352929052908120556108d4565b6108ad818463ffffffff610d1416565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b601281565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a0390811691161461097857600080fd5b60035460a060020a900460ff161561098f57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a03908116911614610a0057600080fd5b600354600160a060020a0316ff5b600354600160a060020a031681565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561046e5780601f106104435761010080835404028352916020019161046e565b6000600160a060020a0383161515610a9f57600080fd5b600160a060020a033316600090815260016020526040902054821115610ac457600080fd5b600160a060020a033316600090815260016020526040902054610aed908363ffffffff610d1416565b600160a060020a033381166000908152600160205260408082209390935590851681522054610b22908363ffffffff610d2616565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610bbb908363ffffffff610d2616565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610c6d57600080fd5b600160a060020a0381161515610c8257600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035433600160a060020a03908116911614610d0857600080fd5b80600160a060020a0316ff5b600082821115610d2057fe5b50900390565b600082820183811015610d3557fe5b93925050505600a165627a7a72305820ddd222f885170d976ba92e33cced2eee9f7c90cd560193c32910e76aa67bce7f0029", - "sourceMap": "366:360:7:-;;;514:35:34;;;-1:-1:-1;;;;;;514:35:34;;;610:113:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;610:113:7;;;;;-1:-1:-1;676:4:7;683:5;;676:12;;;;;;;;:::i;:::-;-1:-1:-1;699:6:7;708:7;;699:16;;;;;;;;:::i;:::-;;610:113;;366:360;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;366:360:7;;;-1:-1:-1;366:360:7;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "366:360:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;514:35:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;437:18:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1799:183:35;;;;;;;;;;;;-1:-1:-1;;;;;1799:183:35;;;;;179:26:33;;;;;;;;;;;;;;;;;;;;;;;;;;;737:439:35;;;;;;;;;;-1:-1:-1;;;;;737:439:35;;;;;;;;;;;;853:262:34;;;;;;;;;;;;-1:-1:-1;;;;;853:262:34;;;;;370:473:31;;;;;;;;;;;;;;;;2928:398:35;;;;;;;;;;;;-1:-1:-1;;;;;2928:398:35;;;;;489:33:7;;;;;;;;;;;;1018:107:30;;;;;;;;;;;;-1:-1:-1;;;;;1018:107:30;;;1229:135:34;;;;;;;;;;;;376:66:27;;;;;;;;;;;;238:20:29;;;;;;;;;;;;;;;-1:-1:-1;;;;;238:20:29;;;;;;;;;;;;;;;462::7;;;;;;;;;;;;437:379:30;;;;;;;;;;;;-1:-1:-1;;;;;437:379:30;;;;;2667:257:35;;;;;;;;;;;;-1:-1:-1;;;;;2667:257:35;;;;;2301:126;;;;;;;;;;-1:-1:-1;;;;;2301:126:35;;;;;;;;;;834:169:29;;;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;446:96:27;;;;;;;;;;;;-1:-1:-1;;;;;446:96:27;;;514:35:34;;;-1:-1:-1;;;514:35:34;;;;;:::o;437:18:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1799:183:35:-;-1:-1:-1;;;;;1886:10:35;1878:19;;1866:4;1878:19;;;-1:-1:-1;1878:19:35;;;;;;;;:29;;;;;;;;;;;;;:38;;;1866:4;;1878:29;:19;1922:38;;1878;;1922;;;;;;;;;;;;;-1:-1:-1;1973:4:35;1799:183;;;;:::o;179:26:33:-;;;;:::o;737:439:35:-;819:4;-1:-1:-1;;;;;839:17:35;;;;831:26;;;;;;-1:-1:-1;;;;;881:15:35;;;;;;-1:-1:-1;881:15:35;;;;;;871:25;;;863:34;;;;;;-1:-1:-1;;;;;921:14:35;;;;;;;-1:-1:-1;921:14:35;;;;;;;;936:10;921:26;;;;;;;;;;911:36;;;903:45;;;;;;-1:-1:-1;;;;;973:15:35;;;;;;-1:-1:-1;973:15:35;;;;;;:27;;993:6;973:19;:27::i;:::-;-1:-1:-1;;;;;955:15:35;;;;;;;-1:-1:-1;955:15:35;;;;;;:45;;;;1022:13;;;;;;;:25;;1040:6;1022:17;:25::i;:::-;-1:-1:-1;;;;;1006:13:35;;;;;;;-1:-1:-1;1006:13:35;;;;;;;;:41;;;;1082:14;;;;;-1:-1:-1;1082:14:35;;;;;1097:10;1082:26;;;;;;;;;;;:38;;1113:6;1082:30;:38::i;:::-;-1:-1:-1;;;;;1053:14:35;;;;;;;-1:-1:-1;1053:14:35;;;;;;;;1068:10;1053:26;;;;;;;;;;;:67;;;;1126:28;;;;;;1147:6;;1126:28;;;;;;;;;;;;;-1:-1:-1;1167:4:35;737:439;;;;;:::o;853:262:34:-;654:5:29;;931:4:34;;640:10:29;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;589:15:34;;-1:-1:-1;;;589:15:34;;;;588:16;580:25;;;;;;957:11;;:24;;973:7;957:24;:15;:24;:::i;:::-;943:11;:38;;;-1:-1:-1;;;;;1003:13:34;;;;-1:-1:-1;1003:13:34;;;;;;:26;;1021:7;1003:17;:26::i;:::-;-1:-1:-1;;;;;987:13:34;;;;;;-1:-1:-1;987:13:34;;;;;;;:42;;;;:13;1035:18;;1045:7;;1035:18;;;;;;;;;;;;;-1:-1:-1;;;;;1059:34:34;;1076:1;1059:34;1085:7;1059:34;;;;;;;;;;;;;;-1:-1:-1;1106:4:34;853:262;;;;:::o;370:473:31:-;675:14;425:10;;;417:19;;;;;;473:10;-1:-1:-1;;;;;464:20:31;;;;;-1:-1:-1;464:20:31;;;;;;454:30;;;446:39;;;;;;-1:-1:-1;692:10:31;-1:-1:-1;;;;;731:16:31;;;;;;-1:-1:-1;731:16:31;;;;;;:28;;752:6;731:20;:28::i;:::-;-1:-1:-1;;;;;712:16:31;;;;;;-1:-1:-1;712:16:31;;;;;:47;;;;783:11;:23;;799:6;783:15;:23::i;:::-;769:11;:37;-1:-1:-1;;;;;816:20:31;;;829:6;816:20;;;;;;;;;;;;;;370:473;;:::o;2928:398:35:-;-1:-1:-1;;;;;3047:10:35;3039:19;;3011:4;3039:19;;;-1:-1:-1;3039:19:35;;;;;;;;:29;;;;;;;;;;;;3078:27;;;3074:164;;;-1:-1:-1;;;;;3123:10:35;3115:19;;3147:1;3115:19;;;-1:-1:-1;3115:19:35;;;;;;;;:29;;;;;;;;;;;:33;3074:164;;;3201:30;:8;3214:16;3201:30;:12;:30;:::i;:::-;-1:-1:-1;;;;;3177:10:35;3169:19;;;;;;-1:-1:-1;3169:19:35;;;;;;;;:29;;;;;;;;;:62;3074:164;-1:-1:-1;;;;;3252:10:35;3243:61;;3274:19;;;;-1:-1:-1;3274:19:35;;;;;;;;3243:61;;;3274:29;;;;;;;;;;;;3243:61;;;;;;;;;;;;;;;-1:-1:-1;3317:4:35;;2928:398;-1:-1:-1;;;2928:398:35:o;489:33:7:-;520:2;489:33;:::o;1018:107:30:-;-1:-1:-1;;;;;1104:16:30;1074:15;1104:16;;;-1:-1:-1;1104:16:30;;;;;;;1018:107::o;1229:135:34:-;654:5:29;;1288:4:34;;640:10:29;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;589:15:34;;-1:-1:-1;;;589:15:34;;;;588:16;580:25;;;;;;1300:15;:22;;-1:-1:-1;;1300:22:34;-1:-1:-1;;;1300:22:34;;;1328:14;;;;;;;;;;-1:-1:-1;1355:4:34;1229:135;:::o;376:66:27:-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;431:5:27;;-1:-1:-1;;;;;431:5:27;418:19;238:20:29;;;-1:-1:-1;;;;;238:20:29;;:::o;462::7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;437:379:30;500:4;-1:-1:-1;;;;;520:17:30;;;;512:26;;;;;;571:10;-1:-1:-1;;;;;562:20:30;;;;;-1:-1:-1;562:20:30;;;;;;552:30;;;544:39;;;;;;685:10;-1:-1:-1;;;;;676:20:30;;;;;-1:-1:-1;676:20:30;;;;;;:32;;701:6;676:24;:32::i;:::-;-1:-1:-1;;;;;662:10:30;653:20;;;;;;-1:-1:-1;653:20:30;;;;;;:55;;;;730:13;;;;;;;:25;;748:6;730:17;:25::i;:::-;-1:-1:-1;;;;;714:13:30;;;;;;;-1:-1:-1;714:13:30;;;;;;;:41;;;;:13;770:10;761:33;;;;;;787:6;;761:33;;;;;;;;;;;;;-1:-1:-1;807:4:30;437:379;;;;:::o;2667:257:35:-;-1:-1:-1;;;;;2797:10:35;2789:19;;2745:4;2789:19;;;-1:-1:-1;2789:19:35;;;;;;;;:29;;;;;;;;;;;;:46;;2823:11;2789:33;:46::i;:::-;-1:-1:-1;;;;;2765:10:35;2757:19;;;;;;-1:-1:-1;2757:19:35;;;;;;;;:29;;;;;;;;;;;;;;:78;;;:29;;:19;;2841:61;;2757:78;2841:61;;;;;;;;;;;;;-1:-1:-1;2915:4:35;2667:257;;;;:::o;2301:126::-;-1:-1:-1;;;;;2397:15:35;;;2375:7;2397:15;;;-1:-1:-1;2397:15:35;;;;;;;;:25;;;;;;;;;;;;;2301:126::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;446:96:27:-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;513:24:27;;;584:110:28;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;698:129::-;756:7;783:5;;;801:6;;;;794:14;;;;821:1;698:129;-1:-1:-1;;;698:129:28:o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"zeppelin-solidity/contracts/token/MintableToken.sol\";\r\nimport \"zeppelin-solidity/contracts/token/BurnableToken.sol\";\r\nimport \"zeppelin-solidity/contracts/lifecycle/Destructible.sol\";\r\n\r\n\r\n\r\n/**\r\n * @title DAOToken, base on zeppelin contract.\r\n * @dev ERC20 comptible token. It is a mintable, destructable, burnable token.\r\n */\r\n\r\ncontract DAOToken is MintableToken,Destructible,BurnableToken {\r\n\r\n string public name;\r\n string public symbol;\r\n uint public constant DECIMAL = 18;\r\n\r\n /**\r\n * @dev the constructor takes a token name and a symbol\r\n */\r\n function DAOToken(string _name, string _symbol) public {\r\n name = _name;\r\n symbol = _symbol;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\controller\\DAOToken.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/DAOToken.sol", - "exportedSymbols": { - "DAOToken": [ - 4192 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 4159, - "name": "PragmaDirective", - "src": "0:24:7" - }, - { - "attributes": { - "SourceUnit": 9455, - "absolutePath": "zeppelin-solidity/contracts/token/MintableToken.sol", - "file": "zeppelin-solidity/contracts/token/MintableToken.sol", - "scope": 4193, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4160, - "name": "ImportDirective", - "src": "28:61:7" - }, - { - "attributes": { - "SourceUnit": 9288, - "absolutePath": "zeppelin-solidity/contracts/token/BurnableToken.sol", - "file": "zeppelin-solidity/contracts/token/BurnableToken.sol", - "scope": 4193, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4161, - "name": "ImportDirective", - "src": "91:61:7" - }, - { - "attributes": { - "SourceUnit": 8987, - "absolutePath": "zeppelin-solidity/contracts/lifecycle/Destructible.sol", - "file": "zeppelin-solidity/contracts/lifecycle/Destructible.sol", - "scope": 4193, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4162, - "name": "ImportDirective", - "src": "154:64:7" - }, - { - "attributes": { - "contractDependencies": [ - 8986, - 9140, - 9226, - 9287, - 9330, - 9359, - 9454, - 9700 - ], - "contractKind": "contract", - "documentation": "@title DAOToken, base on zeppelin contract.\r\n@dev ERC20 comptible token. It is a mintable, destructable, burnable token.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 4192, - 9287, - 8986, - 9454, - 9140, - 9700, - 9226, - 9330, - 9359 - ], - "name": "DAOToken", - "scope": 4193 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "MintableToken", - "referencedDeclaration": 9454, - "type": "contract MintableToken" - }, - "id": 4163, - "name": "UserDefinedTypeName", - "src": "387:13:7" - } - ], - "id": 4164, - "name": "InheritanceSpecifier", - "src": "387:13:7" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Destructible", - "referencedDeclaration": 8986, - "type": "contract Destructible" - }, - "id": 4165, - "name": "UserDefinedTypeName", - "src": "401:12:7" - } - ], - "id": 4166, - "name": "InheritanceSpecifier", - "src": "401:12:7" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "BurnableToken", - "referencedDeclaration": 9287, - "type": "contract BurnableToken" - }, - "id": 4167, - "name": "UserDefinedTypeName", - "src": "414:13:7" - } - ], - "id": 4168, - "name": "InheritanceSpecifier", - "src": "414:13:7" - }, - { - "attributes": { - "constant": false, - "name": "name", - "scope": 4192, - "stateVariable": true, - "storageLocation": "default", - "type": "string storage ref", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "string", - "type": "string storage pointer" - }, - "id": 4169, - "name": "ElementaryTypeName", - "src": "437:6:7" - } - ], - "id": 4170, - "name": "VariableDeclaration", - "src": "437:18:7" - }, - { - "attributes": { - "constant": false, - "name": "symbol", - "scope": 4192, - "stateVariable": true, - "storageLocation": "default", - "type": "string storage ref", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "string", - "type": "string storage pointer" - }, - "id": 4171, - "name": "ElementaryTypeName", - "src": "462:6:7" - } - ], - "id": 4172, - "name": "VariableDeclaration", - "src": "462:20:7" - }, - { - "attributes": { - "constant": true, - "name": "DECIMAL", - "scope": 4192, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4173, - "name": "ElementaryTypeName", - "src": "489:4:7" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3138", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 18", - "value": "18" - }, - "id": 4174, - "name": "Literal", - "src": "520:2:7" - } - ], - "id": 4175, - "name": "VariableDeclaration", - "src": "489:33:7" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "DAOToken", - "payable": false, - "scope": 4192, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_name", - "scope": 4191, - "stateVariable": false, - "storageLocation": "default", - "type": "string memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "string", - "type": "string storage pointer" - }, - "id": 4176, - "name": "ElementaryTypeName", - "src": "628:6:7" - } - ], - "id": 4177, - "name": "VariableDeclaration", - "src": "628:12:7" - }, - { - "attributes": { - "constant": false, - "name": "_symbol", - "scope": 4191, - "stateVariable": false, - "storageLocation": "default", - "type": "string memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "string", - "type": "string storage pointer" - }, - "id": 4178, - "name": "ElementaryTypeName", - "src": "642:6:7" - } - ], - "id": 4179, - "name": "VariableDeclaration", - "src": "642:14:7" - } - ], - "id": 4180, - "name": "ParameterList", - "src": "627:30:7" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 4181, - "name": "ParameterList", - "src": "665:0:7" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "string storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4170, - "type": "string storage ref", - "value": "name" - }, - "id": 4182, - "name": "Identifier", - "src": "676:4:7" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4177, - "type": "string memory", - "value": "_name" - }, - "id": 4183, - "name": "Identifier", - "src": "683:5:7" - } - ], - "id": 4184, - "name": "Assignment", - "src": "676:12:7" - } - ], - "id": 4185, - "name": "ExpressionStatement", - "src": "676:12:7" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "string storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4172, - "type": "string storage ref", - "value": "symbol" - }, - "id": 4186, - "name": "Identifier", - "src": "699:6:7" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4179, - "type": "string memory", - "value": "_symbol" - }, - "id": 4187, - "name": "Identifier", - "src": "708:7:7" - } - ], - "id": 4188, - "name": "Assignment", - "src": "699:16:7" - } - ], - "id": 4189, - "name": "ExpressionStatement", - "src": "699:16:7" - } - ], - "id": 4190, - "name": "Block", - "src": "665:58:7" - } - ], - "id": 4191, - "name": "FunctionDefinition", - "src": "610:113:7" - } - ], - "id": 4192, - "name": "ContractDefinition", - "src": "366:360:7" - } - ], - "id": 4193, - "name": "SourceUnit", - "src": "0:728:7" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.842Z" -} \ No newline at end of file diff --git a/contracts/Debug.json b/contracts/Debug.json deleted file mode 100644 index 24bf5dbcc..000000000 --- a/contracts/Debug.json +++ /dev/null @@ -1,483 +0,0 @@ -{ - "contractName": "Debug", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "address" - } - ], - "name": "LogAddress", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "int256" - } - ], - "name": "LogInt", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "string" - } - ], - "name": "LogString", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "uint256" - } - ], - "name": "LogUint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "bytes" - } - ], - "name": "LogBytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "bytes32" - } - ], - "name": "LogBytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "bool" - } - ], - "name": "LogBool", - "type": "event" - } - ], - "bytecode": "0x60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a72305820f8b5f965f3f3e7fb7f6993ca13d1fbd45e48f9f7906927ec49e529a3ec0fd3380029", - "deployedBytecode": "0x6060604052600080fd00a165627a7a72305820f8b5f965f3f3e7fb7f6993ca13d1fbd45e48f9f7906927ec49e529a3ec0fd3380029", - "sourceMap": "192:252:12:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "192:252:12:-;;;;;", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"zeppelin-solidity/test/helpers/StandardTokenMock.sol\";\r\n\r\n/*\r\n A contract you can inherit from that has some useful Events to print statements.\r\n*/\r\n\r\n\r\ncontract Debug {\r\n event LogAddress(address _msg);\r\n event LogInt(int _msg);\r\n event LogString(string _msg);\r\n event LogUint(uint _msg);\r\n event LogBytes(bytes _msg);\r\n event LogBytes32(bytes32 _msg);\r\n event LogBool(bool _msg);\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\test\\Debug.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/test/Debug.sol", - "exportedSymbols": { - "Debug": [ - 4580 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 4550, - "name": "PragmaDirective", - "src": "0:24:12" - }, - { - "attributes": { - "SourceUnit": 9725, - "absolutePath": "zeppelin-solidity/test/helpers/StandardTokenMock.sol", - "file": "zeppelin-solidity/test/helpers/StandardTokenMock.sol", - "scope": 4581, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4551, - "name": "ImportDirective", - "src": "28:62:12" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 4580 - ], - "name": "Debug", - "scope": 4581 - }, - "children": [ - { - "attributes": { - "anonymous": false, - "name": "LogAddress" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_msg", - "scope": 4555, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4552, - "name": "ElementaryTypeName", - "src": "231:7:12" - } - ], - "id": 4553, - "name": "VariableDeclaration", - "src": "231:12:12" - } - ], - "id": 4554, - "name": "ParameterList", - "src": "230:14:12" - } - ], - "id": 4555, - "name": "EventDefinition", - "src": "214:31:12" - }, - { - "attributes": { - "anonymous": false, - "name": "LogInt" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_msg", - "scope": 4559, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 4556, - "name": "ElementaryTypeName", - "src": "264:3:12" - } - ], - "id": 4557, - "name": "VariableDeclaration", - "src": "264:8:12" - } - ], - "id": 4558, - "name": "ParameterList", - "src": "263:10:12" - } - ], - "id": 4559, - "name": "EventDefinition", - "src": "251:23:12" - }, - { - "attributes": { - "anonymous": false, - "name": "LogString" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_msg", - "scope": 4563, - "stateVariable": false, - "storageLocation": "default", - "type": "string memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "string", - "type": "string storage pointer" - }, - "id": 4560, - "name": "ElementaryTypeName", - "src": "296:6:12" - } - ], - "id": 4561, - "name": "VariableDeclaration", - "src": "296:11:12" - } - ], - "id": 4562, - "name": "ParameterList", - "src": "295:13:12" - } - ], - "id": 4563, - "name": "EventDefinition", - "src": "280:29:12" - }, - { - "attributes": { - "anonymous": false, - "name": "LogUint" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_msg", - "scope": 4567, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4564, - "name": "ElementaryTypeName", - "src": "329:4:12" - } - ], - "id": 4565, - "name": "VariableDeclaration", - "src": "329:9:12" - } - ], - "id": 4566, - "name": "ParameterList", - "src": "328:11:12" - } - ], - "id": 4567, - "name": "EventDefinition", - "src": "315:25:12" - }, - { - "attributes": { - "anonymous": false, - "name": "LogBytes" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_msg", - "scope": 4571, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes", - "type": "bytes storage pointer" - }, - "id": 4568, - "name": "ElementaryTypeName", - "src": "361:5:12" - } - ], - "id": 4569, - "name": "VariableDeclaration", - "src": "361:10:12" - } - ], - "id": 4570, - "name": "ParameterList", - "src": "360:12:12" - } - ], - "id": 4571, - "name": "EventDefinition", - "src": "346:27:12" - }, - { - "attributes": { - "anonymous": false, - "name": "LogBytes32" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_msg", - "scope": 4575, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4572, - "name": "ElementaryTypeName", - "src": "396:7:12" - } - ], - "id": 4573, - "name": "VariableDeclaration", - "src": "396:12:12" - } - ], - "id": 4574, - "name": "ParameterList", - "src": "395:14:12" - } - ], - "id": 4575, - "name": "EventDefinition", - "src": "379:31:12" - }, - { - "attributes": { - "anonymous": false, - "name": "LogBool" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_msg", - "scope": 4579, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4576, - "name": "ElementaryTypeName", - "src": "430:4:12" - } - ], - "id": 4577, - "name": "VariableDeclaration", - "src": "430:9:12" - } - ], - "id": 4578, - "name": "ParameterList", - "src": "429:11:12" - } - ], - "id": 4579, - "name": "EventDefinition", - "src": "416:25:12" - } - ], - "id": 4580, - "name": "ContractDefinition", - "src": "192:252:12" - } - ], - "id": 4581, - "name": "SourceUnit", - "src": "0:446:12" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.859Z" -} \ No newline at end of file diff --git a/contracts/Destructible.json b/contracts/Destructible.json deleted file mode 100644 index 366677279..000000000 --- a/contracts/Destructible.json +++ /dev/null @@ -1,521 +0,0 @@ -{ - "contractName": "Destructible", - "abi": [ - { - "constant": false, - "inputs": [], - "name": "destroy", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_recipient", - "type": "address" - } - ], - "name": "destroyAndSend", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "payable": true, - "stateMutability": "payable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x606060405260008054600160a060020a033316600160a060020a031990911617905561020e806100306000396000f3006060604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166383197ef081146100665780638da5cb5b1461007b578063f2fde38b146100aa578063f5074f41146100c9575b600080fd5b341561007157600080fd5b6100796100e8565b005b341561008657600080fd5b61008e610111565b604051600160a060020a03909116815260200160405180910390f35b34156100b557600080fd5b610079600160a060020a0360043516610120565b34156100d457600080fd5b610079600160a060020a03600435166101bb565b60005433600160a060020a0390811691161461010357600080fd5b600054600160a060020a0316ff5b600054600160a060020a031681565b60005433600160a060020a0390811691161461013b57600080fd5b600160a060020a038116151561015057600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146101d657600080fd5b80600160a060020a0316ff00a165627a7a723058208125970db941d847a352cd91c1712b4d00b57d612c7eaf57614aa6269daccb790029", - "deployedBytecode": "0x6060604052600436106100615763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166383197ef081146100665780638da5cb5b1461007b578063f2fde38b146100aa578063f5074f41146100c9575b600080fd5b341561007157600080fd5b6100796100e8565b005b341561008657600080fd5b61008e610111565b604051600160a060020a03909116815260200160405180910390f35b34156100b557600080fd5b610079600160a060020a0360043516610120565b34156100d457600080fd5b610079600160a060020a03600435166101bb565b60005433600160a060020a0390811691161461010357600080fd5b600054600160a060020a0316ff5b600054600160a060020a031681565b60005433600160a060020a0390811691161461013b57600080fd5b600160a060020a038116151561015057600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146101d657600080fd5b80600160a060020a0316ff00a165627a7a723058208125970db941d847a352cd91c1712b4d00b57d612c7eaf57614aa6269daccb790029", - "sourceMap": "198:346:27:-;;;501:5:29;:18;;-1:-1:-1;;;;;509:10:29;501:18;-1:-1:-1;;;;;;501:18:29;;;;;;198:346:27;;;;;;", - "deployedSourceMap": "198:346:27:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;376:66;;;;;;;;;;;;;;238:20:29;;;;;;;;;;;;;;;-1:-1:-1;;;;;238:20:29;;;;;;;;;;;;;;834:169;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;446:96:27;;;;;;;;;;-1:-1:-1;;;;;446:96:27;;;;;376:66;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;431:5:27;;-1:-1:-1;;;;;431:5:27;418:19;238:20:29;;;-1:-1:-1;;;;;238:20:29;;:::o;834:169::-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;446:96:27:-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;526:10:27;-1:-1:-1;;;;;513:24:27;", - "source": "pragma solidity ^0.4.18;\n\n\nimport \"../ownership/Ownable.sol\";\n\n\n/**\n * @title Destructible\n * @dev Base contract that can be destroyed by owner. All funds in contract will be sent to the owner.\n */\ncontract Destructible is Ownable {\n\n function Destructible() public payable { }\n\n /**\n * @dev Transfers the current balance to the owner and terminates the contract.\n */\n function destroy() onlyOwner public {\n selfdestruct(owner);\n }\n\n function destroyAndSend(address _recipient) onlyOwner public {\n selfdestruct(_recipient);\n }\n}\n", - "sourcePath": "zeppelin-solidity/contracts/lifecycle/Destructible.sol", - "ast": { - "attributes": { - "absolutePath": "zeppelin-solidity/contracts/lifecycle/Destructible.sol", - "exportedSymbols": { - "Destructible": [ - 8986 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 8956, - "name": "PragmaDirective", - "src": "0:24:27" - }, - { - "attributes": { - "SourceUnit": 9141, - "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "file": "../ownership/Ownable.sol", - "scope": 8987, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 8957, - "name": "ImportDirective", - "src": "27:34:27" - }, - { - "attributes": { - "contractDependencies": [ - 9140 - ], - "contractKind": "contract", - "documentation": "@title Destructible\n@dev Base contract that can be destroyed by owner. All funds in contract will be sent to the owner.", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 8986, - 9140 - ], - "name": "Destructible", - "scope": 8987 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Ownable", - "referencedDeclaration": 9140, - "type": "contract Ownable" - }, - "id": 8958, - "name": "UserDefinedTypeName", - "src": "223:7:27" - } - ], - "id": 8959, - "name": "InheritanceSpecifier", - "src": "223:7:27" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "Destructible", - "payable": true, - "scope": 8986, - "stateMutability": "payable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 8960, - "name": "ParameterList", - "src": "257:2:27" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 8961, - "name": "ParameterList", - "src": "275:0:27" - }, - { - "attributes": { - "statements": [ - null - ] - }, - "children": [], - "id": 8962, - "name": "Block", - "src": "275:3:27" - } - ], - "id": 8963, - "name": "FunctionDefinition", - "src": "236:42:27" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "destroy", - "payable": false, - "scope": 8986, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 8964, - "name": "ParameterList", - "src": "392:2:27" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 8967, - "name": "ParameterList", - "src": "412:0:27" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 8965, - "name": "Identifier", - "src": "395:9:27" - } - ], - "id": 8966, - "name": "ModifierInvocation", - "src": "395:9:27" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9742, - "type": "function (address)", - "value": "selfdestruct" - }, - "id": 8968, - "name": "Identifier", - "src": "418:12:27" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9088, - "type": "address", - "value": "owner" - }, - "id": 8969, - "name": "Identifier", - "src": "431:5:27" - } - ], - "id": 8970, - "name": "FunctionCall", - "src": "418:19:27" - } - ], - "id": 8971, - "name": "ExpressionStatement", - "src": "418:19:27" - } - ], - "id": 8972, - "name": "Block", - "src": "412:30:27" - } - ], - "id": 8973, - "name": "FunctionDefinition", - "src": "376:66:27" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "destroyAndSend", - "payable": false, - "scope": 8986, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_recipient", - "scope": 8985, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8974, - "name": "ElementaryTypeName", - "src": "470:7:27" - } - ], - "id": 8975, - "name": "VariableDeclaration", - "src": "470:18:27" - } - ], - "id": 8976, - "name": "ParameterList", - "src": "469:20:27" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 8979, - "name": "ParameterList", - "src": "507:0:27" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 8977, - "name": "Identifier", - "src": "490:9:27" - } - ], - "id": 8978, - "name": "ModifierInvocation", - "src": "490:9:27" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9742, - "type": "function (address)", - "value": "selfdestruct" - }, - "id": 8980, - "name": "Identifier", - "src": "513:12:27" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8975, - "type": "address", - "value": "_recipient" - }, - "id": 8981, - "name": "Identifier", - "src": "526:10:27" - } - ], - "id": 8982, - "name": "FunctionCall", - "src": "513:24:27" - } - ], - "id": 8983, - "name": "ExpressionStatement", - "src": "513:24:27" - } - ], - "id": 8984, - "name": "Block", - "src": "507:35:27" - } - ], - "id": 8985, - "name": "FunctionDefinition", - "src": "446:96:27" - } - ], - "id": 8986, - "name": "ContractDefinition", - "src": "198:346:27" - } - ], - "id": 8987, - "name": "SourceUnit", - "src": "0:545:27" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.920Z" -} \ No newline at end of file diff --git a/contracts/ERC20.json b/contracts/ERC20.json deleted file mode 100644 index 8bca84c94..000000000 --- a/contracts/ERC20.json +++ /dev/null @@ -1,745 +0,0 @@ -{ - "contractName": "ERC20", - "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" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\n\n\nimport './ERC20Basic.sol';\n\n\n/**\n * @title ERC20 interface\n * @dev see https://github.com/ethereum/EIPs/issues/20\n */\ncontract ERC20 is ERC20Basic {\n function allowance(address owner, address spender) public view returns (uint256);\n function transferFrom(address from, address to, uint256 value) public returns (bool);\n function approve(address spender, uint256 value) public returns (bool);\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n", - "sourcePath": "zeppelin-solidity\\contracts\\token\\ERC20.sol", - "ast": { - "attributes": { - "absolutePath": "zeppelin-solidity/contracts/token/ERC20.sol", - "exportedSymbols": { - "ERC20": [ - 9330 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 9289, - "name": "PragmaDirective", - "src": "0:24:32" - }, - { - "attributes": { - "SourceUnit": 9360, - "absolutePath": "zeppelin-solidity/contracts/token/ERC20Basic.sol", - "file": "./ERC20Basic.sol", - "scope": 9331, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 9290, - "name": "ImportDirective", - "src": "27:26:32" - }, - { - "attributes": { - "contractDependencies": [ - 9359 - ], - "contractKind": "contract", - "documentation": "@title ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/20", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 9330, - 9359 - ], - "name": "ERC20", - "scope": 9331 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ERC20Basic", - "referencedDeclaration": 9359, - "type": "contract ERC20Basic" - }, - "id": 9291, - "name": "UserDefinedTypeName", - "src": "163:10:32" - } - ], - "id": 9292, - "name": "InheritanceSpecifier", - "src": "163:10:32" - }, - { - "attributes": { - "body": null, - "constant": true, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "allowance", - "payable": false, - "scope": 9330, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "owner", - "scope": 9301, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9293, - "name": "ElementaryTypeName", - "src": "197:7:32" - } - ], - "id": 9294, - "name": "VariableDeclaration", - "src": "197:13:32" - }, - { - "attributes": { - "constant": false, - "name": "spender", - "scope": 9301, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9295, - "name": "ElementaryTypeName", - "src": "212:7:32" - } - ], - "id": 9296, - "name": "VariableDeclaration", - "src": "212:15:32" - } - ], - "id": 9297, - "name": "ParameterList", - "src": "196:32:32" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9301, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9298, - "name": "ElementaryTypeName", - "src": "250:7:32" - } - ], - "id": 9299, - "name": "VariableDeclaration", - "src": "250:7:32" - } - ], - "id": 9300, - "name": "ParameterList", - "src": "249:9:32" - } - ], - "id": 9301, - "name": "FunctionDefinition", - "src": "178:81:32" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "transferFrom", - "payable": false, - "scope": 9330, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "from", - "scope": 9312, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9302, - "name": "ElementaryTypeName", - "src": "284:7:32" - } - ], - "id": 9303, - "name": "VariableDeclaration", - "src": "284:12:32" - }, - { - "attributes": { - "constant": false, - "name": "to", - "scope": 9312, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9304, - "name": "ElementaryTypeName", - "src": "298:7:32" - } - ], - "id": 9305, - "name": "VariableDeclaration", - "src": "298:10:32" - }, - { - "attributes": { - "constant": false, - "name": "value", - "scope": 9312, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9306, - "name": "ElementaryTypeName", - "src": "310:7:32" - } - ], - "id": 9307, - "name": "VariableDeclaration", - "src": "310:13:32" - } - ], - "id": 9308, - "name": "ParameterList", - "src": "283:41:32" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9312, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9309, - "name": "ElementaryTypeName", - "src": "341:4:32" - } - ], - "id": 9310, - "name": "VariableDeclaration", - "src": "341:4:32" - } - ], - "id": 9311, - "name": "ParameterList", - "src": "340:6:32" - } - ], - "id": 9312, - "name": "FunctionDefinition", - "src": "262:85:32" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "approve", - "payable": false, - "scope": 9330, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "spender", - "scope": 9321, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9313, - "name": "ElementaryTypeName", - "src": "367:7:32" - } - ], - "id": 9314, - "name": "VariableDeclaration", - "src": "367:15:32" - }, - { - "attributes": { - "constant": false, - "name": "value", - "scope": 9321, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9315, - "name": "ElementaryTypeName", - "src": "384:7:32" - } - ], - "id": 9316, - "name": "VariableDeclaration", - "src": "384:13:32" - } - ], - "id": 9317, - "name": "ParameterList", - "src": "366:32:32" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9321, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9318, - "name": "ElementaryTypeName", - "src": "415:4:32" - } - ], - "id": 9319, - "name": "VariableDeclaration", - "src": "415:4:32" - } - ], - "id": 9320, - "name": "ParameterList", - "src": "414:6:32" - } - ], - "id": 9321, - "name": "FunctionDefinition", - "src": "350:71:32" - }, - { - "attributes": { - "anonymous": false, - "name": "Approval" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "owner", - "scope": 9329, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9322, - "name": "ElementaryTypeName", - "src": "439:7:32" - } - ], - "id": 9323, - "name": "VariableDeclaration", - "src": "439:21:32" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "spender", - "scope": 9329, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9324, - "name": "ElementaryTypeName", - "src": "462:7:32" - } - ], - "id": 9325, - "name": "VariableDeclaration", - "src": "462:23:32" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "value", - "scope": 9329, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9326, - "name": "ElementaryTypeName", - "src": "487:7:32" - } - ], - "id": 9327, - "name": "VariableDeclaration", - "src": "487:13:32" - } - ], - "id": 9328, - "name": "ParameterList", - "src": "438:63:32" - } - ], - "id": 9329, - "name": "EventDefinition", - "src": "424:78:32" - } - ], - "id": 9330, - "name": "ContractDefinition", - "src": "145:359:32" - } - ], - "id": 9331, - "name": "SourceUnit", - "src": "0:505:32" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.943Z" -} \ No newline at end of file diff --git a/contracts/ERC20Basic.json b/contracts/ERC20Basic.json deleted file mode 100644 index f659c7f01..000000000 --- a/contracts/ERC20Basic.json +++ /dev/null @@ -1,474 +0,0 @@ -{ - "contractName": "ERC20Basic", - "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" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\n\n\n/**\n * @title ERC20Basic\n * @dev Simpler version of ERC20 interface\n * @dev see https://github.com/ethereum/EIPs/issues/179\n */\ncontract ERC20Basic {\n uint256 public totalSupply;\n function balanceOf(address who) public view returns (uint256);\n function transfer(address to, uint256 value) public returns (bool);\n event Transfer(address indexed from, address indexed to, uint256 value);\n}\n", - "sourcePath": "zeppelin-solidity\\contracts\\token\\ERC20Basic.sol", - "ast": { - "attributes": { - "absolutePath": "zeppelin-solidity/contracts/token/ERC20Basic.sol", - "exportedSymbols": { - "ERC20Basic": [ - 9359 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 9332, - "name": "PragmaDirective", - "src": "0:24:33" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": "@title ERC20Basic\n@dev Simpler version of ERC20 interface\n@dev see https://github.com/ethereum/EIPs/issues/179", - "fullyImplemented": false, - "linearizedBaseContracts": [ - 9359 - ], - "name": "ERC20Basic", - "scope": 9360 - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "totalSupply", - "scope": 9359, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9333, - "name": "ElementaryTypeName", - "src": "179:7:33" - } - ], - "id": 9334, - "name": "VariableDeclaration", - "src": "179:26:33" - }, - { - "attributes": { - "body": null, - "constant": true, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "balanceOf", - "payable": false, - "scope": 9359, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "who", - "scope": 9341, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9335, - "name": "ElementaryTypeName", - "src": "228:7:33" - } - ], - "id": 9336, - "name": "VariableDeclaration", - "src": "228:11:33" - } - ], - "id": 9337, - "name": "ParameterList", - "src": "227:13:33" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9341, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9338, - "name": "ElementaryTypeName", - "src": "262:7:33" - } - ], - "id": 9339, - "name": "VariableDeclaration", - "src": "262:7:33" - } - ], - "id": 9340, - "name": "ParameterList", - "src": "261:9:33" - } - ], - "id": 9341, - "name": "FunctionDefinition", - "src": "209:62:33" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "transfer", - "payable": false, - "scope": 9359, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "to", - "scope": 9350, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9342, - "name": "ElementaryTypeName", - "src": "292:7:33" - } - ], - "id": 9343, - "name": "VariableDeclaration", - "src": "292:10:33" - }, - { - "attributes": { - "constant": false, - "name": "value", - "scope": 9350, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9344, - "name": "ElementaryTypeName", - "src": "304:7:33" - } - ], - "id": 9345, - "name": "VariableDeclaration", - "src": "304:13:33" - } - ], - "id": 9346, - "name": "ParameterList", - "src": "291:27:33" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9350, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9347, - "name": "ElementaryTypeName", - "src": "335:4:33" - } - ], - "id": 9348, - "name": "VariableDeclaration", - "src": "335:4:33" - } - ], - "id": 9349, - "name": "ParameterList", - "src": "334:6:33" - } - ], - "id": 9350, - "name": "FunctionDefinition", - "src": "274:67:33" - }, - { - "attributes": { - "anonymous": false, - "name": "Transfer" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "from", - "scope": 9358, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9351, - "name": "ElementaryTypeName", - "src": "359:7:33" - } - ], - "id": 9352, - "name": "VariableDeclaration", - "src": "359:20:33" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "to", - "scope": 9358, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9353, - "name": "ElementaryTypeName", - "src": "381:7:33" - } - ], - "id": 9354, - "name": "VariableDeclaration", - "src": "381:18:33" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "value", - "scope": 9358, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9355, - "name": "ElementaryTypeName", - "src": "401:7:33" - } - ], - "id": 9356, - "name": "VariableDeclaration", - "src": "401:13:33" - } - ], - "id": 9357, - "name": "ParameterList", - "src": "358:57:33" - } - ], - "id": 9358, - "name": "EventDefinition", - "src": "344:72:33" - } - ], - "id": 9359, - "name": "ContractDefinition", - "src": "155:263:33" - } - ], - "id": 9360, - "name": "SourceUnit", - "src": "0:419:33" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.943Z" -} \ No newline at end of file diff --git a/contracts/EmergentVoteScheme.json b/contracts/EmergentVoteScheme.json deleted file mode 100644 index ee9eb0f6c..000000000 --- a/contracts/EmergentVoteScheme.json +++ /dev/null @@ -1,24102 +0,0 @@ -{ - "contractName": "EmergentVoteScheme", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "organizationsParameters", - "outputs": [ - { - "name": "reputationSystem", - "type": "address" - }, - { - "name": "boostToken", - "type": "address" - }, - { - "name": "beneficiary", - "type": "address" - }, - { - "name": "attentionBandwidth", - "type": "uint256" - }, - { - "name": "minBoostTimeFrame", - "type": "uint256" - }, - { - "name": "maxBoostTimeFrame", - "type": "uint256" - }, - { - "name": "minBoost", - "type": "uint256" - }, - { - "name": "allowOwner", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_idsArray", - "type": "bytes32[]" - } - ], - "name": "findMinScore", - "outputs": [ - { - "name": "index", - "type": "uint256" - }, - { - "name": "min", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_voter", - "type": "address" - } - ], - "name": "voteInfo", - "outputs": [ - { - "name": "", - "type": "uint256[2]" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "moveTopAwaitingBoostMode", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_idsArray", - "type": "bytes32[]" - } - ], - "name": "findMaxScore", - "outputs": [ - { - "name": "index", - "type": "uint256" - }, - { - "name": "max", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "proposals", - "outputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "avatar", - "type": "address" - }, - { - "name": "numOfChoices", - "type": "uint256" - }, - { - "name": "executable", - "type": "address" - }, - { - "name": "paramsHash", - "type": "bytes32" - }, - { - "name": "totalVotes", - "type": "uint256" - }, - { - "name": "opened", - "type": "bool" - }, - { - "name": "isBoostModeActive", - "type": "bool" - }, - { - "name": "isAwaitingBoost", - "type": "bool" - }, - { - "name": "closingTime", - "type": "uint256" - }, - { - "name": "boostedFunds", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - }, - { - "name": "_voter", - "type": "address" - } - ], - "name": "ownerVote", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "cancelProposal", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "proposalScore", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "beneficiary", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_reputationSystem", - "type": "address" - }, - { - "name": "_boostToken", - "type": "address" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_attentionBandwidth", - "type": "uint256" - }, - { - "name": "_minBoostTimeFrame", - "type": "uint256" - }, - { - "name": "_maxBoostTimeFrame", - "type": "uint256" - }, - { - "name": "_minBoost", - "type": "uint256" - }, - { - "name": "_allowOwner", - "type": "bool" - } - ], - "name": "setOrgParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "proposalsParameters", - "outputs": [ - { - "name": "precReq", - "type": "uint256" - }, - { - "name": "quorum", - "type": "uint256" - }, - { - "name": "boostTimeFrame", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizations", - "outputs": [ - { - "name": "isRegistered", - "type": "bool" - }, - { - "name": "boostedProposals", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "proposalStatus", - "outputs": [ - { - "name": "", - "type": "uint256[13]" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_numOfChoices", - "type": "uint256" - }, - { - "name": "_paramsHash", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_executable", - "type": "address" - } - ], - "name": "propose", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "MAX_NUM_OF_CHOICES", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "cancelVote", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - } - ], - "name": "vote", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "getNumberOfChoices", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - }, - { - "name": "_rep", - "type": "uint256" - }, - { - "name": "", - "type": "uint256" - } - ], - "name": "voteWithSpecifiedAmounts", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_reputationSystem", - "type": "address" - }, - { - "name": "_boostToken", - "type": "address" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_attentionBandwidth", - "type": "uint256" - }, - { - "name": "_minBoostTimeFrame", - "type": "uint256" - }, - { - "name": "_maxBoostTimeFrame", - "type": "uint256" - }, - { - "name": "_minBoost", - "type": "uint256" - }, - { - "name": "_allowOwner", - "type": "bool" - } - ], - "name": "getOrgParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "isVotable", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_precReq", - "type": "uint256" - }, - { - "name": "_quorum", - "type": "uint256" - }, - { - "name": "_boostTimeFrame", - "type": "uint256" - } - ], - "name": "getProposalParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_precReq", - "type": "uint256" - }, - { - "name": "_quorum", - "type": "uint256" - }, - { - "name": "_boostTimeFrame", - "type": "uint256" - } - ], - "name": "setProposalParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "fee", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_idsArray", - "type": "bytes32[]" - }, - { - "name": "_id", - "type": "bytes32" - } - ], - "name": "findInArray", - "outputs": [ - { - "name": "isFound", - "type": "bool" - }, - { - "name": "index", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hashedParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_boostValue", - "type": "uint256" - } - ], - "name": "boostProposal", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_proposer", - "type": "address" - }, - { - "indexed": false, - "name": "_paramsHash", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogCancelProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_decision", - "type": "uint256" - } - ], - "name": "LogExecuteProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_voter", - "type": "address" - }, - { - "indexed": false, - "name": "_vote", - "type": "uint256" - }, - { - "indexed": false, - "name": "_reputation", - "type": "uint256" - }, - { - "indexed": false, - "name": "_isOwnerVote", - "type": "bool" - } - ], - "name": "LogVoteProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_voter", - "type": "address" - } - ], - "name": "LogCancelVoting", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x606060405234156200001057600080fd5b6040516060806200289e83398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a031617815590925062000070915084908490849064010000000062000079810262000f041704565b505050620000cd565b60005433600160a060020a039081169116146200009557600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b6127c180620000dd6000396000f30060606040526004361061019d5763ffffffff60e060020a600035041663069af5ee81146101a25780630a6c81a61461020d578063119ce91b1461027457806319bbc495146102ce5780631fa085ea146102ef57806332ed5b121461033e578063339e23d1146103c257806337376ca8146103fb5780633741e7ee1461041157806338af3eed146104395780634345a6101461046857806347686c8914610494578063504c9317146104d05780635a1f74061461050a57806379a1c1f61461054357806388737b5e146105745780638d22651e1461059f5780638da5cb5b146105b257806390be003c146105c55780639525c0cc146105e45780639ef1204c146105fa578063a003651d14610613578063ac5d874514610629578063aff6058a14610648578063c083510614610684578063c3c5a5471461069a578063dc268955146106b9578063dcec6c34146106d5578063ddca3f43146106f1578063e1758bd814610704578063e751f27114610717578063ec44deaf1461072d578063f2fde38b1461077e578063f98e87ba1461079d578063fcbb9cc7146107b0575b600080fd5b34156101ad57600080fd5b6101b86004356107c9565b604051600160a060020a0398891681529688166020880152949096166040808701919091526060860193909352608085019190915260a084015260c0830193909352151560e082015261010001905180910390f35b341561021857600080fd5b61025c600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061082095505050505050565b60405191825260208201526040908101905180910390f35b341561027f57600080fd5b610296600435600160a060020a0360243516610876565b6040518082604080838360005b838110156102bb5780820151838201526020016102a3565b5050505090500191505060405180910390f35b34156102d957600080fd5b6102ed600160a060020a03600435166108ea565b005b34156102fa57600080fd5b61025c6004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610ac895505050505050565b341561034957600080fd5b610354600435610b09565b604051600160a060020a039b8c168152998b1660208b01526040808b0199909952969099166060890152608088019490945260a0870192909252151560c0860152151560e0850152151561010084015261012083019390935261014082019290925261016001905180910390f35b34156103cd57600080fd5b6103e7600435602435600160a060020a0360443516610b7a565b604051901515815260200160405180910390f35b341561040657600080fd5b6103e7600435610c29565b341561041c57600080fd5b610427600435610e20565b60405190815260200160405180910390f35b341561044457600080fd5b61044c610ef5565b604051600160a060020a03909116815260200160405180910390f35b341561047357600080fd5b6102ed600160a060020a036004358116906024359060443516606435610f04565b341561049f57600080fd5b610427600160a060020a036004358116906024358116906044351660643560843560a43560c43560e4351515610f57565b34156104db57600080fd5b6104e6600435611084565b60405180848152602001838152602001828152602001935050505060405180910390f35b341561051557600080fd5b610529600160a060020a03600435166110a5565b604051911515825260208201526040908101905180910390f35b341561054e57600080fd5b6105596004356110c4565b60405180826101a080838360008151838201526020016102a3565b341561057f57600080fd5b610427600435602435600160a060020a036044358116906064351661114e565b34156105aa57600080fd5b610427611383565b34156105bd57600080fd5b61044c611388565b34156105d057600080fd5b6102ed600160a060020a0360043516611397565b34156105ef57600080fd5b6102ed6004356114c0565b341561060557600080fd5b6103e76004356024356114f0565b341561061e57600080fd5b610427600435611527565b341561063457600080fd5b6103e760043560243560443560643561153c565b341561065357600080fd5b610427600160a060020a036004358116906024358116906044351660643560843560a43560c43560e4351515611574565b341561068f57600080fd5b6103e7600435611614565b34156106a557600080fd5b6103e7600160a060020a036004351661162c565b34156106c457600080fd5b61042760043560243560443561164a565b34156106e057600080fd5b61042760043560243560443561167b565b34156106fc57600080fd5b61042761170f565b341561070f57600080fd5b61044c611715565b341561072257600080fd5b6103e7600435611724565b341561073857600080fd5b61052960046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437509496505093359350611bd892505050565b341561078957600080fd5b6102ed600160a060020a0360043516611c1f565b34156107a857600080fd5b610427611cad565b34156107bb57600080fd5b6102ed600435602435611cb3565b600760208190526000918252604090912080546001820154600283015460038401546004850154600586015460068701549690970154600160a060020a039586169794861696939095169491939092909160ff1688565b600080805b8351811015610870578161084d85838151811061083e57fe5b90602001906020020151610e20565b10156108685780925061086584828151811061083e57fe5b91505b600101610825565b50915091565b61087e612653565b610886612679565b6000848152600960209081526040808320600160a060020a03871684526007019091529081902090805190810160409081528254825260019092015460208201529150805190810160405280825181526020018260200151905291505b5092915050565b60006108f4612690565b6000808080600160a060020a038716151561090e57600080fd5b61091787611e85565b60008181526007602052604090819020919750610100905190810160409081528254600160a060020a03908116835260018401548116602080850191909152600285015482168385015260038501546060850190815260048601546080860152600586015460a086015260068087015460c087015260079096015460ff16151560e0860152918c16600090815294905292209096509450516001850154106109be57610abf565b600284015415156109ce57610abf565b600180850180549091019055600284018054610a379190602080820201604051908101604052809291908181526020018280548015610a2d57602002820191906000526020600020905b81548152600190910190602001808311610a18575b5050505050610ac8565b5080935050600960008560020185815481101515610a5157fe5b6000918252602080832090910154835282810193909352604091820181206008808201805462ff00001961ff0019909116610100171690556004820154835290935220600201549092509050610aad438263ffffffff611f6216565b6009830155610abf6002850184611f71565b50505050505050565b600080805b83518110156108705781610ae685838151811061083e57fe5b1115610b0157809250610afe84828151811061083e57fe5b91505b600101610acd565b6009602081905260009182526040909120805460018201546002830154600384015460048501546005860154600887015497870154600a90970154600160a060020a0396871698958716979496909316949193909260ff80841693610100810482169362010000909104909116918b565b6000838152600960205260408120548190859033600160a060020a03908116911614610ba557600080fd5b600086815260096020526040902060080154869060ff161515610bc757600080fd5b600087815260096020526040902060010154610beb90600160a060020a0316611e85565b6000818152600760208190526040909120015490935060ff161515610c0f57610c1f565b610c1c8787876000611fe4565b93505b5050509392505050565b6000818152600960205260408120548190819081908190869033600160a060020a03908116911614610c5a57600080fd5b600087815260096020526040902060080154879060ff161515610c7c57600080fd5b600088815260096020526040902060010154600160a060020a03169550610ca286611e85565b6000818152600760208190526040909120015490955060ff161515610cca5760009650610e15565b610d4b6006600088600160a060020a0316600160a060020a03168152602001908152602001600020600201805480602002602001604051908101604052809291908181526020018280548015610d4057602002820191906000526020600020905b81548152600190910190602001808311610d2b575b505050505089611bd8565b90945092508315610d7b57600160a060020a0386166000908152600660205260409020610d7b9060020184611f71565b60008881526009602081905260408083208054600160a060020a0319908116825560018201805482169055600282018590556003820180549091169055600481018490556005810184905560088101805462ffffff19169055918201839055600a9091019190915588907fd06f0966987a6526e0c1291838668e5dbcaf062ae68baadf345ff3edd792e8b5905160405180910390a2600196505b505050505050919050565b6000610e2a6126d4565b6000838152600960205260409081902090610160905190810160409081528254600160a060020a039081168352600184015481166020840152600284015491830191909152600383015416606082015260048201546080820152600582015460a08201908152600883015460ff808216151560c08501526101008083048216151560e086015262010000909204161515908301526009830154610120830152600a909201546101408201529150610eee90518261014001519063ffffffff6122b116565b9392505050565b600354600160a060020a031681565b60005433600160a060020a03908116911614610f1f57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b600080610f6a8a8a8a8a8a8a8a8a611574565b90506101006040519081016040908152600160a060020a03808d1683528b8116602080850191909152908b1682840152606083018a90526080830189905260a0830188905260c0830187905285151560e0840152600084815260079091522081518154600160a060020a031916600160a060020a03919091161781556020820151600182018054600160a060020a031916600160a060020a03929092169190911790556040820151600282018054600160a060020a031916600160a060020a0392909216919091179055606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e0820151600791909101805460ff1916911515919091179055509998505050505050505050565b60086020526000908152604090208054600182015460029092015490919083565b6006602052600090815260409020805460019091015460ff9091169082565b6110cc612730565b6000806110d7612730565b6000858152600960205260408120600881015490945060ff166110fb5760006110fe565b60015b60ff1692508282600c60200201525060005b600284015481116111455760008181526006850160205260409020548282600d811061113857fe5b6020020152600101611110565b50949350505050565b6000806111596126d4565b60008711801561116a5750600a8711155b151561117557600080fd5b600160a060020a03851660009081526006602052604090205460ff16151561119c57600080fd5b60008681526008602052604090205415156111b657600080fd5b30600a54604051600160a060020a03929092166c010000000000000000000000000282526014820152603401604051908190039020600a805460019081019091556080830188905260408084018a9052600160a060020a03808916602080870191909152888216606087015233909116855260c0850192909252600083815260099092529020909250819081518154600160a060020a031916600160a060020a03919091161781556020820151600182018054600160a060020a031916600160a060020a0392909216919091179055604082015181600201556060820151600382018054600160a060020a031916600160a060020a03929092169190911790556080820151600482015560a0820151816005015560c082015160088201805460ff191691151591909117905560e082015160088201805461ff0019166101009215158302179055820151600882018054911515620100000262ff0000199092169190911790556101208201518160090155610140820151600a9091015550817f5ac801aedcab27182da435c3657c99a0ca1942beac48b9ae9a9a3f3033ef78dd3388604051600160a060020a03909216825260208201526040908101905180910390a25095945050505050565b600a81565b600054600160a060020a031681565b60006002541180156113c25750600160a060020a03811660009081526005602052604090205460ff16155b1561145b57600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561143f57600080fd5b6102c65a03f1151561145057600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600081815260096020526040902060080154819060ff1615156114e257600080fd5b6114ec82336122dc565b5050565b600082815260096020526040812060080154839060ff16151561151257600080fd5b61151f8484336000611fe4565b949350505050565b60009081526009602052604090206002015490565b600084815260096020526040812060080154859060ff16151561155e57600080fd5b61156a86863387611fe4565b9695505050505050565b6000808989898989898989604051600160a060020a039889166c01000000000000000000000000908102825297891688026014820152959097169095026028850152603c840192909252605c830152607c820152609c8101919091529015157f01000000000000000000000000000000000000000000000000000000000000000260bc82015260bd016040519081900390209a9950505050505050505050565b60009081526009602052604090206008015460ff1690565b600160a060020a031660009081526005602052604090205460ff1690565b6000838383604051808481526020018381526020018281526020019350505050604051809103902090509392505050565b6000806064851115801561168f5750600085115b151561169a57600080fd5b606484111580156116ab5750600084115b15156116b657600080fd5b6116c185858561164a565b90506060604051908101604090815286825260208083018790528183018690526000848152600890915220815181556020820151816001015560408201516002909101555090509392505050565b60025481565b600154600160a060020a031681565b60008060008060006117346126d4565b60008781526009602052604081206008015481908190819081908c9060ff16151561175e57600080fd5b60008d81526009602052604090206001810154909b5061178690600160a060020a0316611e85565b60008181526007602052604080822054929c50600160a060020a03909216916318160ddd919051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156117df57600080fd5b6102c65a03f115156117f057600080fd5b505050604051805160048d01546000908152600860205260409081902054919b509099508c9150610160905190810160409081528254600160a060020a039081168352600184015481166020840152600284015491830191909152600383015416606082015260048201546080820152600582015460a082015260088083015460ff808216151560c08501526101008083048216151560e08601526201000090920481161515828501526009850154610120850152600a90940154610140840152908e015491995090041680156118cb57508a600901544310155b15611a7f5760048b015460009081526008602052604090206001015460058c015490965086908a908115156118fc57fe5b0410611a7f57600192505b60028b0154831161194f57600083815260068c0160205260409020548590111561194457600083815260068c016020526040902054945091925082915b600190920191611907565b60008d81526009602081905260408083208054600160a060020a0319908116825560018201805482169055600282018590556003820180549091169055600481018490556005810184905560088101805462ffffff19169055918201839055600a909101919091558d907f81be7b59f2640007c1101f52199758a7ea91009239bc8a7a2449472c02d221cc9086905190815260200160405180910390a28660600151600160a060020a031663310ce4e28e89602001518760006040516020015260405160e060020a63ffffffff86160281526004810193909352600160a060020a0390911660248301526044820152606401602060405180830381600087803b1515611a5a57600080fd5b6102c65a03f11515611a6b57600080fd5b505050604051805190505060019b50611bc8565b600091505b60028b01548211611bc357600082815260068c0160205260409020546064898b0204901115611bb85760008d81526009602081905260408083208054600160a060020a0319908116825560018201805482169055600282018590556003820180549091169055600481018490556005810184905560088101805462ffffff19169055918201839055600a909101919091558d907f81be7b59f2640007c1101f52199758a7ea91009239bc8a7a2449472c02d221cc9085905190815260200160405180910390a28660600151600160a060020a031663310ce4e28e89602001518560006040516020015260405160e060020a63ffffffff86160281526004810193909352600160a060020a0390911660248301526044820152606401602060405180830381600087803b1515611a5a57600080fd5b600190910190611a84565b60009b505b5050505050505050505050919050565b600080805b8451811015611c175783858281518110611bf357fe5b906020019060200201511415611c0f5760018192509250611c17565b600101611bdd565b509250929050565b60005433600160a060020a03908116911614611c3a57600080fd5b600160a060020a0381161515611c4f57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60045481565b600080611cbe612690565b600085815260096020526040902060080154610100900460ff1615611ce257611e7e565b600085815260096020526040902060010154600160a060020a03169250821515611d0b57600080fd5b611d1483611e85565b60008181526007602052604090819020919350610100905190810160409081528254600160a060020a039081168352600184015481166020840152600284015416908201526003820154606082015260048201546080820152600582015460a0820152600682015460c0820190815260079092015460ff16151560e08201529150518411611d9e57fe5b8060200151600160a060020a03166323b872dd3383604001518760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515611e1057600080fd5b6102c65a03f11515611e2157600080fd5b505050604051805150506000858152600960205260409020600a0154611e4d908563ffffffff611f6216565b6000868152600960205260409020600a8101919091556008015462010000900460ff1615611e7e57611e7e856123e8565b5050505050565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611ece57600080fd5b6102c65a03f11515611edf57600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515611f4157600080fd5b6102c65a03f11515611f5257600080fd5b5050506040518051949350505050565b600082820183811015610eee57fe5b8154600090829011611f7f57fe5b50805b825460001901811015611fce578281600101815481101515611fa057fe5b9060005260206000209001548382815481101515611fba57fe5b600091825260209091200155600101611f82565b8254611fde84600019830161274b565b50505050565b6000806000611ff1612690565b60008881526009602052604081206001810154909450819061201b90600160a060020a0316611e85565b60008181526007602052604090819020919550610100905190810160409081528254600160a060020a039081168352600184015481166020840152600284015416908201526003820154606082015260048201546080820152600582015460a0820152600682015460c082015260079091015460ff908116151560e083015260088701549194506101009091041680156120b9575084600901544310155b156120ce576120c78a611724565b95506122a4565b60028501548911156120df57600080fd5b8251600160a060020a031663db89c0448960006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561213757600080fd5b6102c65a03f1151561214857600080fd5b50505060405180519250508682101561216057600080fd5b86151561216b578196505b600160a060020a038816600090815260078601602052604090206001015415612198576121988a896122dc565b60008981526006860160205260409020546121ba90889063ffffffff611f6216565b60008a815260068701602052604090205560058501546121e190889063ffffffff611f6216565b60058601556040805190810160409081528a825260208083018a9052600160a060020a038b1660009081526007890190915220815181556020820151816001015590505033600160a060020a031688600160a060020a0316141515612244575060015b600160a060020a0388168a7f98919cf2e7177b2b2794b7596166eb688e15f8422b46387aab412d792035c0128b8585604051928352602083019190915215156040808301919091526060909101905180910390a36122a18a611724565b95505b5050505050949350505050565b6000808315156122c457600091506108e3565b508282028284828115156122d457fe5b0414610eee57fe5b60006122e6612679565b6000848152600960209081526040808320600160a060020a0387168452600781019092529182902090935090805190810160405281548152600190910154602082019081529091506123589051600684016000845181526020019081526020016000205461264190919063ffffffff16565b600683016000835181526020019081526020016000208190555061238b816020015160058401549063ffffffff61264116565b6005830155600160a060020a03831660008181526007840160205260408082208281556001019190915585907f694e00fc5266ab4e93df364ff0161f5d7e3a035126b13d918755bfed6d8ab299905160405180910390a350505050565b6000806123f3612690565b600084815260096020526040812060010154600160a060020a0316935080808086151561241f57600080fd5b61242887611e85565b60008181526007602052604090819020919750610100905190810160409081528254600160a060020a0390811683526001840154811660208085019190915260028501548216838501526003850154606085015260048501546080850152600585015460a085015260068086015460c086015260079095015460ff908116151560e0860152918c1660009081529481528285208d865260099091529190932060080154919750955062010000900416156124e157612637565b84606001516002858101549102935083901015612540576002840180546001810161250c838261274b565b5060009182526020808320919091018a90558982526009905260409020600801805462ff0000191662010000179055612637565b61259c8460020180548060200260200160405190810160405280929190818152602001828054801561259257602002820191906000526020600020905b8154815260019091019060200180831161257d575b5050505050610820565b9092509050816125ab89610e20565b11156126375760006009600086600201858154811015156125c857fe5b600091825260208083209091015483528281019390935260409182018120600890810180549515156201000090810262ff000019978816179091558d835260099094529190200180549092161790556002840180548991908490811061262a57fe5b6000918252602090912001555b5050505050505050565b60008282111561264d57fe5b50900390565b604080519081016040526002815b60008152602001906001900390816126615790505090565b604080519081016040526000808252602082015290565b6101006040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c0820181905260e082015290565b6101606040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c0820181905260e082018190526101008201819052610120820181905261014082015290565b6101a060405190810160405260008152600c60208201612661565b81548183558181151161276f5760008381526020902061276f918101908301612774565b505050565b61279291905b8082111561278e576000815560010161277a565b5090565b905600a165627a7a72305820586b8eda348ec257bffafee67b76cca0e7d8dc7b9d8954ea56343820384a87e80029", - "deployedBytecode": "0x60606040526004361061019d5763ffffffff60e060020a600035041663069af5ee81146101a25780630a6c81a61461020d578063119ce91b1461027457806319bbc495146102ce5780631fa085ea146102ef57806332ed5b121461033e578063339e23d1146103c257806337376ca8146103fb5780633741e7ee1461041157806338af3eed146104395780634345a6101461046857806347686c8914610494578063504c9317146104d05780635a1f74061461050a57806379a1c1f61461054357806388737b5e146105745780638d22651e1461059f5780638da5cb5b146105b257806390be003c146105c55780639525c0cc146105e45780639ef1204c146105fa578063a003651d14610613578063ac5d874514610629578063aff6058a14610648578063c083510614610684578063c3c5a5471461069a578063dc268955146106b9578063dcec6c34146106d5578063ddca3f43146106f1578063e1758bd814610704578063e751f27114610717578063ec44deaf1461072d578063f2fde38b1461077e578063f98e87ba1461079d578063fcbb9cc7146107b0575b600080fd5b34156101ad57600080fd5b6101b86004356107c9565b604051600160a060020a0398891681529688166020880152949096166040808701919091526060860193909352608085019190915260a084015260c0830193909352151560e082015261010001905180910390f35b341561021857600080fd5b61025c600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061082095505050505050565b60405191825260208201526040908101905180910390f35b341561027f57600080fd5b610296600435600160a060020a0360243516610876565b6040518082604080838360005b838110156102bb5780820151838201526020016102a3565b5050505090500191505060405180910390f35b34156102d957600080fd5b6102ed600160a060020a03600435166108ea565b005b34156102fa57600080fd5b61025c6004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610ac895505050505050565b341561034957600080fd5b610354600435610b09565b604051600160a060020a039b8c168152998b1660208b01526040808b0199909952969099166060890152608088019490945260a0870192909252151560c0860152151560e0850152151561010084015261012083019390935261014082019290925261016001905180910390f35b34156103cd57600080fd5b6103e7600435602435600160a060020a0360443516610b7a565b604051901515815260200160405180910390f35b341561040657600080fd5b6103e7600435610c29565b341561041c57600080fd5b610427600435610e20565b60405190815260200160405180910390f35b341561044457600080fd5b61044c610ef5565b604051600160a060020a03909116815260200160405180910390f35b341561047357600080fd5b6102ed600160a060020a036004358116906024359060443516606435610f04565b341561049f57600080fd5b610427600160a060020a036004358116906024358116906044351660643560843560a43560c43560e4351515610f57565b34156104db57600080fd5b6104e6600435611084565b60405180848152602001838152602001828152602001935050505060405180910390f35b341561051557600080fd5b610529600160a060020a03600435166110a5565b604051911515825260208201526040908101905180910390f35b341561054e57600080fd5b6105596004356110c4565b60405180826101a080838360008151838201526020016102a3565b341561057f57600080fd5b610427600435602435600160a060020a036044358116906064351661114e565b34156105aa57600080fd5b610427611383565b34156105bd57600080fd5b61044c611388565b34156105d057600080fd5b6102ed600160a060020a0360043516611397565b34156105ef57600080fd5b6102ed6004356114c0565b341561060557600080fd5b6103e76004356024356114f0565b341561061e57600080fd5b610427600435611527565b341561063457600080fd5b6103e760043560243560443560643561153c565b341561065357600080fd5b610427600160a060020a036004358116906024358116906044351660643560843560a43560c43560e4351515611574565b341561068f57600080fd5b6103e7600435611614565b34156106a557600080fd5b6103e7600160a060020a036004351661162c565b34156106c457600080fd5b61042760043560243560443561164a565b34156106e057600080fd5b61042760043560243560443561167b565b34156106fc57600080fd5b61042761170f565b341561070f57600080fd5b61044c611715565b341561072257600080fd5b6103e7600435611724565b341561073857600080fd5b61052960046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437509496505093359350611bd892505050565b341561078957600080fd5b6102ed600160a060020a0360043516611c1f565b34156107a857600080fd5b610427611cad565b34156107bb57600080fd5b6102ed600435602435611cb3565b600760208190526000918252604090912080546001820154600283015460038401546004850154600586015460068701549690970154600160a060020a039586169794861696939095169491939092909160ff1688565b600080805b8351811015610870578161084d85838151811061083e57fe5b90602001906020020151610e20565b10156108685780925061086584828151811061083e57fe5b91505b600101610825565b50915091565b61087e612653565b610886612679565b6000848152600960209081526040808320600160a060020a03871684526007019091529081902090805190810160409081528254825260019092015460208201529150805190810160405280825181526020018260200151905291505b5092915050565b60006108f4612690565b6000808080600160a060020a038716151561090e57600080fd5b61091787611e85565b60008181526007602052604090819020919750610100905190810160409081528254600160a060020a03908116835260018401548116602080850191909152600285015482168385015260038501546060850190815260048601546080860152600586015460a086015260068087015460c087015260079096015460ff16151560e0860152918c16600090815294905292209096509450516001850154106109be57610abf565b600284015415156109ce57610abf565b600180850180549091019055600284018054610a379190602080820201604051908101604052809291908181526020018280548015610a2d57602002820191906000526020600020905b81548152600190910190602001808311610a18575b5050505050610ac8565b5080935050600960008560020185815481101515610a5157fe5b6000918252602080832090910154835282810193909352604091820181206008808201805462ff00001961ff0019909116610100171690556004820154835290935220600201549092509050610aad438263ffffffff611f6216565b6009830155610abf6002850184611f71565b50505050505050565b600080805b83518110156108705781610ae685838151811061083e57fe5b1115610b0157809250610afe84828151811061083e57fe5b91505b600101610acd565b6009602081905260009182526040909120805460018201546002830154600384015460048501546005860154600887015497870154600a90970154600160a060020a0396871698958716979496909316949193909260ff80841693610100810482169362010000909104909116918b565b6000838152600960205260408120548190859033600160a060020a03908116911614610ba557600080fd5b600086815260096020526040902060080154869060ff161515610bc757600080fd5b600087815260096020526040902060010154610beb90600160a060020a0316611e85565b6000818152600760208190526040909120015490935060ff161515610c0f57610c1f565b610c1c8787876000611fe4565b93505b5050509392505050565b6000818152600960205260408120548190819081908190869033600160a060020a03908116911614610c5a57600080fd5b600087815260096020526040902060080154879060ff161515610c7c57600080fd5b600088815260096020526040902060010154600160a060020a03169550610ca286611e85565b6000818152600760208190526040909120015490955060ff161515610cca5760009650610e15565b610d4b6006600088600160a060020a0316600160a060020a03168152602001908152602001600020600201805480602002602001604051908101604052809291908181526020018280548015610d4057602002820191906000526020600020905b81548152600190910190602001808311610d2b575b505050505089611bd8565b90945092508315610d7b57600160a060020a0386166000908152600660205260409020610d7b9060020184611f71565b60008881526009602081905260408083208054600160a060020a0319908116825560018201805482169055600282018590556003820180549091169055600481018490556005810184905560088101805462ffffff19169055918201839055600a9091019190915588907fd06f0966987a6526e0c1291838668e5dbcaf062ae68baadf345ff3edd792e8b5905160405180910390a2600196505b505050505050919050565b6000610e2a6126d4565b6000838152600960205260409081902090610160905190810160409081528254600160a060020a039081168352600184015481166020840152600284015491830191909152600383015416606082015260048201546080820152600582015460a08201908152600883015460ff808216151560c08501526101008083048216151560e086015262010000909204161515908301526009830154610120830152600a909201546101408201529150610eee90518261014001519063ffffffff6122b116565b9392505050565b600354600160a060020a031681565b60005433600160a060020a03908116911614610f1f57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b600080610f6a8a8a8a8a8a8a8a8a611574565b90506101006040519081016040908152600160a060020a03808d1683528b8116602080850191909152908b1682840152606083018a90526080830189905260a0830188905260c0830187905285151560e0840152600084815260079091522081518154600160a060020a031916600160a060020a03919091161781556020820151600182018054600160a060020a031916600160a060020a03929092169190911790556040820151600282018054600160a060020a031916600160a060020a0392909216919091179055606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e0820151600791909101805460ff1916911515919091179055509998505050505050505050565b60086020526000908152604090208054600182015460029092015490919083565b6006602052600090815260409020805460019091015460ff9091169082565b6110cc612730565b6000806110d7612730565b6000858152600960205260408120600881015490945060ff166110fb5760006110fe565b60015b60ff1692508282600c60200201525060005b600284015481116111455760008181526006850160205260409020548282600d811061113857fe5b6020020152600101611110565b50949350505050565b6000806111596126d4565b60008711801561116a5750600a8711155b151561117557600080fd5b600160a060020a03851660009081526006602052604090205460ff16151561119c57600080fd5b60008681526008602052604090205415156111b657600080fd5b30600a54604051600160a060020a03929092166c010000000000000000000000000282526014820152603401604051908190039020600a805460019081019091556080830188905260408084018a9052600160a060020a03808916602080870191909152888216606087015233909116855260c0850192909252600083815260099092529020909250819081518154600160a060020a031916600160a060020a03919091161781556020820151600182018054600160a060020a031916600160a060020a0392909216919091179055604082015181600201556060820151600382018054600160a060020a031916600160a060020a03929092169190911790556080820151600482015560a0820151816005015560c082015160088201805460ff191691151591909117905560e082015160088201805461ff0019166101009215158302179055820151600882018054911515620100000262ff0000199092169190911790556101208201518160090155610140820151600a9091015550817f5ac801aedcab27182da435c3657c99a0ca1942beac48b9ae9a9a3f3033ef78dd3388604051600160a060020a03909216825260208201526040908101905180910390a25095945050505050565b600a81565b600054600160a060020a031681565b60006002541180156113c25750600160a060020a03811660009081526005602052604090205460ff16155b1561145b57600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561143f57600080fd5b6102c65a03f1151561145057600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600081815260096020526040902060080154819060ff1615156114e257600080fd5b6114ec82336122dc565b5050565b600082815260096020526040812060080154839060ff16151561151257600080fd5b61151f8484336000611fe4565b949350505050565b60009081526009602052604090206002015490565b600084815260096020526040812060080154859060ff16151561155e57600080fd5b61156a86863387611fe4565b9695505050505050565b6000808989898989898989604051600160a060020a039889166c01000000000000000000000000908102825297891688026014820152959097169095026028850152603c840192909252605c830152607c820152609c8101919091529015157f01000000000000000000000000000000000000000000000000000000000000000260bc82015260bd016040519081900390209a9950505050505050505050565b60009081526009602052604090206008015460ff1690565b600160a060020a031660009081526005602052604090205460ff1690565b6000838383604051808481526020018381526020018281526020019350505050604051809103902090509392505050565b6000806064851115801561168f5750600085115b151561169a57600080fd5b606484111580156116ab5750600084115b15156116b657600080fd5b6116c185858561164a565b90506060604051908101604090815286825260208083018790528183018690526000848152600890915220815181556020820151816001015560408201516002909101555090509392505050565b60025481565b600154600160a060020a031681565b60008060008060006117346126d4565b60008781526009602052604081206008015481908190819081908c9060ff16151561175e57600080fd5b60008d81526009602052604090206001810154909b5061178690600160a060020a0316611e85565b60008181526007602052604080822054929c50600160a060020a03909216916318160ddd919051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156117df57600080fd5b6102c65a03f115156117f057600080fd5b505050604051805160048d01546000908152600860205260409081902054919b509099508c9150610160905190810160409081528254600160a060020a039081168352600184015481166020840152600284015491830191909152600383015416606082015260048201546080820152600582015460a082015260088083015460ff808216151560c08501526101008083048216151560e08601526201000090920481161515828501526009850154610120850152600a90940154610140840152908e015491995090041680156118cb57508a600901544310155b15611a7f5760048b015460009081526008602052604090206001015460058c015490965086908a908115156118fc57fe5b0410611a7f57600192505b60028b0154831161194f57600083815260068c0160205260409020548590111561194457600083815260068c016020526040902054945091925082915b600190920191611907565b60008d81526009602081905260408083208054600160a060020a0319908116825560018201805482169055600282018590556003820180549091169055600481018490556005810184905560088101805462ffffff19169055918201839055600a909101919091558d907f81be7b59f2640007c1101f52199758a7ea91009239bc8a7a2449472c02d221cc9086905190815260200160405180910390a28660600151600160a060020a031663310ce4e28e89602001518760006040516020015260405160e060020a63ffffffff86160281526004810193909352600160a060020a0390911660248301526044820152606401602060405180830381600087803b1515611a5a57600080fd5b6102c65a03f11515611a6b57600080fd5b505050604051805190505060019b50611bc8565b600091505b60028b01548211611bc357600082815260068c0160205260409020546064898b0204901115611bb85760008d81526009602081905260408083208054600160a060020a0319908116825560018201805482169055600282018590556003820180549091169055600481018490556005810184905560088101805462ffffff19169055918201839055600a909101919091558d907f81be7b59f2640007c1101f52199758a7ea91009239bc8a7a2449472c02d221cc9085905190815260200160405180910390a28660600151600160a060020a031663310ce4e28e89602001518560006040516020015260405160e060020a63ffffffff86160281526004810193909352600160a060020a0390911660248301526044820152606401602060405180830381600087803b1515611a5a57600080fd5b600190910190611a84565b60009b505b5050505050505050505050919050565b600080805b8451811015611c175783858281518110611bf357fe5b906020019060200201511415611c0f5760018192509250611c17565b600101611bdd565b509250929050565b60005433600160a060020a03908116911614611c3a57600080fd5b600160a060020a0381161515611c4f57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60045481565b600080611cbe612690565b600085815260096020526040902060080154610100900460ff1615611ce257611e7e565b600085815260096020526040902060010154600160a060020a03169250821515611d0b57600080fd5b611d1483611e85565b60008181526007602052604090819020919350610100905190810160409081528254600160a060020a039081168352600184015481166020840152600284015416908201526003820154606082015260048201546080820152600582015460a0820152600682015460c0820190815260079092015460ff16151560e08201529150518411611d9e57fe5b8060200151600160a060020a03166323b872dd3383604001518760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515611e1057600080fd5b6102c65a03f11515611e2157600080fd5b505050604051805150506000858152600960205260409020600a0154611e4d908563ffffffff611f6216565b6000868152600960205260409020600a8101919091556008015462010000900460ff1615611e7e57611e7e856123e8565b5050505050565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515611ece57600080fd5b6102c65a03f11515611edf57600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515611f4157600080fd5b6102c65a03f11515611f5257600080fd5b5050506040518051949350505050565b600082820183811015610eee57fe5b8154600090829011611f7f57fe5b50805b825460001901811015611fce578281600101815481101515611fa057fe5b9060005260206000209001548382815481101515611fba57fe5b600091825260209091200155600101611f82565b8254611fde84600019830161274b565b50505050565b6000806000611ff1612690565b60008881526009602052604081206001810154909450819061201b90600160a060020a0316611e85565b60008181526007602052604090819020919550610100905190810160409081528254600160a060020a039081168352600184015481166020840152600284015416908201526003820154606082015260048201546080820152600582015460a0820152600682015460c082015260079091015460ff908116151560e083015260088701549194506101009091041680156120b9575084600901544310155b156120ce576120c78a611724565b95506122a4565b60028501548911156120df57600080fd5b8251600160a060020a031663db89c0448960006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561213757600080fd5b6102c65a03f1151561214857600080fd5b50505060405180519250508682101561216057600080fd5b86151561216b578196505b600160a060020a038816600090815260078601602052604090206001015415612198576121988a896122dc565b60008981526006860160205260409020546121ba90889063ffffffff611f6216565b60008a815260068701602052604090205560058501546121e190889063ffffffff611f6216565b60058601556040805190810160409081528a825260208083018a9052600160a060020a038b1660009081526007890190915220815181556020820151816001015590505033600160a060020a031688600160a060020a0316141515612244575060015b600160a060020a0388168a7f98919cf2e7177b2b2794b7596166eb688e15f8422b46387aab412d792035c0128b8585604051928352602083019190915215156040808301919091526060909101905180910390a36122a18a611724565b95505b5050505050949350505050565b6000808315156122c457600091506108e3565b508282028284828115156122d457fe5b0414610eee57fe5b60006122e6612679565b6000848152600960209081526040808320600160a060020a0387168452600781019092529182902090935090805190810160405281548152600190910154602082019081529091506123589051600684016000845181526020019081526020016000205461264190919063ffffffff16565b600683016000835181526020019081526020016000208190555061238b816020015160058401549063ffffffff61264116565b6005830155600160a060020a03831660008181526007840160205260408082208281556001019190915585907f694e00fc5266ab4e93df364ff0161f5d7e3a035126b13d918755bfed6d8ab299905160405180910390a350505050565b6000806123f3612690565b600084815260096020526040812060010154600160a060020a0316935080808086151561241f57600080fd5b61242887611e85565b60008181526007602052604090819020919750610100905190810160409081528254600160a060020a0390811683526001840154811660208085019190915260028501548216838501526003850154606085015260048501546080850152600585015460a085015260068086015460c086015260079095015460ff908116151560e0860152918c1660009081529481528285208d865260099091529190932060080154919750955062010000900416156124e157612637565b84606001516002858101549102935083901015612540576002840180546001810161250c838261274b565b5060009182526020808320919091018a90558982526009905260409020600801805462ff0000191662010000179055612637565b61259c8460020180548060200260200160405190810160405280929190818152602001828054801561259257602002820191906000526020600020905b8154815260019091019060200180831161257d575b5050505050610820565b9092509050816125ab89610e20565b11156126375760006009600086600201858154811015156125c857fe5b600091825260208083209091015483528281019390935260409182018120600890810180549515156201000090810262ff000019978816179091558d835260099094529190200180549092161790556002840180548991908490811061262a57fe5b6000918252602090912001555b5050505050505050565b60008282111561264d57fe5b50900390565b604080519081016040526002815b60008152602001906001900390816126615790505090565b604080519081016040526000808252602082015290565b6101006040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c0820181905260e082015290565b6101606040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c0820181905260e082018190526101008201819052610120820181905261014082015290565b6101a060405190810160405260008152600c60208201612661565b81548183558181151161276f5760008381526020902061276f918101908301612774565b505050565b61279291905b8082111561278e576000815560010161277a565b5090565b905600a165627a7a72305820586b8eda348ec257bffafee67b76cca0e7d8dc7b9d8954ea56343820384a87e80029", - "sourceMap": "182:25519:2:-;;;3974:217;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;3974:217:2;;-1:-1:-1;4081:102:2;;-1:-1:-1;4112:12:2;;4139:4;;3974:217;;4081:16;;;;;;:102;:::i;:::-;3974:217;;;182:25519;;1314:347:22;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;182:25519:2:-;;;;;;;", - "deployedSourceMap": "182:25519:2:-;;;;;;;;;-1:-1:-1;;;182:25519:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3127:62;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3127:62:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10755:322;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10755:322:2;;-1:-1:-1;10755:322:2;;-1:-1:-1;;;;;;10755:322:2;;;;;;;;;;;;;;;;;;;;;;19339:213;;;;;;;;;;;;-1:-1:-1;;;;;19339:213:2;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;13772:1248:2;;;;;;;;;;-1:-1:-1;;;;;13772:1248:2;;;;;;;11374:322;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11374:322:2;;-1:-1:-1;11374:322:2;;-1:-1:-1;;;;;;11374:322:2;3306:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3306:43:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15815:407;;;;;;;;;;;;;;-1:-1:-1;;;;;15815:407:2;;;;;;;;;;;;;;;;;;;;;;9207:791;;;;;;;;;;;;;;10249:208;;;;;;;;;;;;;;;;;;;;;;;;;;;;;407:26:22;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:26:22;;;;;;;;;;;;;;1314:347;;;;;;;;;;-1:-1:-1;;;;;1314:347:22;;;;;;;;;;;;;;;4299:1090:2;;;;;;;;;;-1:-1:-1;;;;;4299:1090:2;;;;;;;;;;;;;;;;;;;;;;;;;;;3196:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3069:51;;;;;;;;;;-1:-1:-1;;;;;3069:51:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;19896:435;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;19896:435:2;84:5:-1;71:3;;;64:6;52:2;45:3;8:100;;7896:1062:2;;;;;;;;;;;;;;-1:-1:-1;;;;;7896:1062:2;;;;;;;;;;3421:44;;;;;;;;;;;;238:20:29;;;;;;;;;;;;866:315:22;;;;;;;;;;-1:-1:-1;;;;;866:315:22;;;;;16438:131:2;;;;;;;;;;;;;;15170:162;;;;;;;;;;;;;;;;18817:142;;;;;;;;;;;;;;15340:202;;;;;;;;;;;;;;;;;;;;5397:655;;;;;;;;;;-1:-1:-1;;;;;5397:655:2;;;;;;;;;;;;;;;;;;;;;;;;;;;20491:125;;;;;;;;;;;;;;1189:117:22;;;;;;;;;;-1:-1:-1;;;;;1189:117:22;;;;;7128:186:2;;;;;;;;;;;;;;;;;;6500:537;;;;;;;;;;;;;;;;;;385:15:22;;;;;;;;;;;;346:32;;;;;;;;;;;;16928:1881:2;;;;;;;;;;;;;;12015:272;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12015:272:2;;-1:-1:-1;;12015:272:2;;;-1:-1:-1;12015:272:2;;-1:-1:-1;;;12015:272:2;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;440:31:22;;;;;;;;;;;;12527:1069:2;;;;;;;;;;;;;;;;3127:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3127:62:2;;;;;;;;;;;;;;;;;;;;;;:::o;10755:322::-;10822:10;;;10855:215;10878:9;:16;10874:3;:20;10855:215;;;10954:3;10922:29;10936:9;10946:3;10936:14;;;;;;;;;;;;;;;;10922:13;:29::i;:::-;:35;10918:141;;;10986:3;10978:11;;11014:29;11028:9;11038:3;11028:14;;;;;;;11014:29;11008:35;;10918:141;10896:5;;10855:215;;;10755:322;;;;:::o;19339:213::-;19418:7;;:::i;:::-;19438:18;;:::i;:::-;19459:22;;;;:9;:22;;;;;;;;-1:-1:-1;;;;;19459:37:2;;;;:29;;:37;;;;;;;;:22;19438:58;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19438:58:2;19507:37;;;;;;;19515:5;:10;19507:37;;;;19527:5;:16;;;19507:37;;;-1:-1:-1;19339:213:2;;;;;;:::o;13772:1248::-;13952:21;14031:30;;:::i;:::-;14113:24;;;;-1:-1:-1;;;;;13895:21:2;;;;13887:30;;;;;;13976:44;14011:7;13976:27;:44::i;:::-;14064:38;;;;:23;:38;;;;;;;13952:68;;-1:-1:-1;14031:71:2;;;;;;;;;;;;-1:-1:-1;;;;;14031:71:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14140:22;;;14031:71;14140:22;;;;;;;;14031:71;;-1:-1:-1;14140:22:2;-1:-1:-1;14245:28:2;14221:20;;;;:52;14217:91;;14290:7;;14217:91;14370:26;;;:33;:38;14366:77;;;14425:7;;14366:77;14492:20;;;;:22;;;;;;;14577:26;;;14564:40;;;;14577:26;14564:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;:40::i;:::-;14549:55;;;;;14643:9;:47;14653:3;:26;;14680:8;14653:36;;;;;;;;;;;;;;;;;;;;;;14643:47;;;;;;;;;;;;;;;14701:26;;;;:33;;-1:-1:-1;;;;14701:33:2;;;;;14745:32;;;14825:19;;;;14805:40;;;;;;14745:24;14805:55;;14643:47;;-1:-1:-1;14805:55:2;-1:-1:-1;14894:27:2;:12;14805:55;14894:27;:16;:27;:::i;:::-;14871:20;;;:50;14959:53;14975:26;;;15003:8;14959:15;:53::i;:::-;13772:1248;;;;;;;:::o;11374:322::-;11441:10;;;11474:215;11497:9;:16;11493:3;:20;11474:215;;;11573:3;11541:29;11555:9;11565:3;11555:14;;;;;;;11541:29;:35;11537:141;;;11605:3;11597:11;;11633:29;11647:9;11657:3;11647:14;;;;;;;11633:29;11627:35;;11537:141;11515:5;;11474:215;;3306:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3306:43:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;15815:407::-;15950:4;3708:22;;;:9;:22;;;;;:28;15950:4;;15908:11;;3694:10;-1:-1:-1;;;;;3694:42:2;;;3708:28;;3694:42;3686:51;;;;;;3916:22;;;;:9;:22;;;;;:29;;;15929:11;;3916:29;;3908:38;;;;;;;;16023:22;;;;:9;:22;;;;;:29;;;15988:66;;-1:-1:-1;;;;;16023:29:2;15988:27;:66::i;:::-;16071:35;;;;:23;:35;;;;;;;;:46;;15967:87;;-1:-1:-1;16071:46:2;;16069:48;16065:87;;;16134:7;;16065:87;16171:43;16184:11;16197:5;16204:6;16212:1;16171:12;:43::i;:::-;16164:50;;3957:1;3748;15815:407;;;;;;;:::o;9207:791::-;9319:4;3708:22;;;:9;:22;;;;;:28;9319:4;;;;;;;;9277:11;;3694:10;-1:-1:-1;;;;;3694:42:2;;;3708:28;;3694:42;3686:51;;;;;;3916:22;;;;:9;:22;;;;;:29;;;9298:11;;3916:29;;3908:38;;;;;;;;9353:22;;;;:9;:22;;;;;:29;;;-1:-1:-1;;;;;9353:29:2;;-1:-1:-1;9414:43:2;9353:29;9414:27;:43::i;:::-;9474:35;;;;:23;:35;;;;;;;;:46;;9393:64;;-1:-1:-1;9474:46:2;;9472:48;9468:93;;;9544:5;9537:12;;;;9468:93;9697:70;9709:13;:21;9723:6;-1:-1:-1;;;;;9709:21:2;-1:-1:-1;;;;;9709:21:2;;;;;;;;;;;;:44;;9697:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9755:11;9697;:70::i;:::-;9678:89;;-1:-1:-1;9678:89:2;-1:-1:-1;9778:108:2;;;;-1:-1:-1;;;;;9822:21:2;;;;;;:13;:21;;;;;9806:68;;9822:44;;9868:5;9806:15;:68::i;:::-;9905:22;;;;:9;:22;;;;;;;;9898:29;;-1:-1:-1;;;;;;9898:29:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9898:29:2;;;;;;;;;;;;;;;;;9915:11;;9938:30;;;;;;;;;;9986:4;9979:11;;3957:1;3748;9207:791;;;;;;;;:::o;10249:208::-;10317:4;10334:24;;:::i;:::-;10361:22;;;;:9;:22;;;;;;;;10334:49;;;;;;;;;;;;-1:-1:-1;;;;;10334:49:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10402:46:2;;10428:19;10402:8;:21;;;:25;:46;:25;:46;:::i;:::-;10394:55;10249:208;-1:-1:-1;;;10249:208:2:o;407:26:22:-;;;-1:-1:-1;;;;;407:26:22;;:::o;1314:347::-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;4299:1090:2:-;4608:7;4633:18;4654:266;4689:17;4721:11;4747:12;4774:19;4808:18;4841;4874:9;4898:11;4654:20;:266::i;:::-;4633:287;;4969:384;;;;;;;;;;-1:-1:-1;;;;;4969:384:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4931:35:2;;;:23;:35;;;;4969:384;4931:422;;;-1:-1:-1;;;;;;4931:422:2;-1:-1:-1;;;;;4931:422:2;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4931:422:2;-1:-1:-1;;;;;4931:422:2;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4931:422:2;-1:-1:-1;;;;;4931:422:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4931:422:2;;;;;;;;;;-1:-1:-1;5371:10:2;4299:1090;-1:-1:-1;;;;;;;;;4299:1090:2:o;3196:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3069:51::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;19896:435::-;19965:8;;:::i;:::-;19986:25;20047:11;20095:29;;:::i;:::-;20177:8;20014:22;;;:9;:22;;;;;20061:15;;;;20014:22;;-1:-1:-1;20061:15:2;;:23;;20083:1;20061:23;;;20079:1;20061:23;20047:37;;;-1:-1:-1;20047:37:2;20135:13;20149:2;20135:17;;;:26;-1:-1:-1;20188:1:2;20172:121;20196:21;;;;20191:26;;20172:121;;20262:19;;;;:14;;;:19;;;;;;20241:13;20277:3;20241:18;;;;;;;;;;:40;20219:5;;20172:121;;;-1:-1:-1;20310:13:2;19896:435;-1:-1:-1;;;;19896:435:2:o;7896:1062::-;8062:7;8435:18;8550:24;;:::i;:::-;8154:1;8138:13;:17;:56;;;;;3463:2;8159:13;:35;;8138:56;8130:65;;;;;;;;-1:-1:-1;;;;;8253:22:2;;;;;;:13;:22;;;;;:35;;;8245:44;;;;;;;;8342:32;;;;:19;:32;;;;;:40;:45;;8334:54;;;;;;8466:4;8472:12;;8456:29;;-1:-1:-1;;;;;8456:29:2;;;;;;;;;;;;;;;;;;;;;;8496:12;:14;;;;;;;;;8585:19;;;:33;;;8629:21;;;;:37;;;-1:-1:-1;;;;;8677:25:2;;;:15;;;;:25;;;;8713:33;;;-1:-1:-1;8713:19:2;;:33;8774:10;8757:27;;;;;8795:15;;;:22;;;;8496:12;8828:21;;;:9;:21;;;;;8456:29;;-1:-1:-1;8585:8:2;;;8828:32;;;-1:-1:-1;;;;;;8828:32:2;-1:-1:-1;;;;;8828:32:2;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8828:32:2;-1:-1:-1;;;;;8828:32:2;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8828:32:2;-1:-1:-1;;;;;8828:32:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8828:32:2;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8828:32:2;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8828:32:2;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8886:10:2;8871:51;8898:10;8910:11;8871:51;;-1:-1:-1;;;;;8871:51:2;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8940:10:2;7896:1062;-1:-1:-1;;;;;7896:1062:2:o;3421:44::-;3463:2;3421:44;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;866:315:22:-;980:1;974:3;;:7;973:39;;;;-1:-1:-1;;;;;;989:22:22;;;;;;:13;:22;;;;;;;;987:24;973:39;969:123;;;1029:11;;1063;;1076:3;;-1:-1:-1;;;;;1029:11:22;;;;:24;;1054:7;;1063:11;;;1029;:51;;;;;;;-1:-1:-1;;;1029:51:22;;;;;;-1:-1:-1;;;;;1029:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;969:123:22;-1:-1:-1;;;;;1102:22:22;;;;;;:13;:22;;;;;;;:29;;-1:-1:-1;;1102:29:22;1127:4;1102:29;;;1142:31;;1116:7;;1142:31;-1:-1:-1;;;;;1142:31:22;;;;;;;;;;;;;;866:315;:::o;16438:131:2:-;3916:22;;;;:9;:22;;;;;:29;;;16494:11;;3916:29;;3908:38;;;;;;;;16518:43;16537:11;16550:10;16518:18;:43::i;:::-;16438:131;;:::o;15170:162::-;15253:4;3916:22;;;:9;:22;;;;;:29;;;15232:11;;3916:29;;3908:38;;;;;;;;15277:47;15290:11;15303:5;15310:10;15322:1;15277:12;:47::i;:::-;15270:54;15170:162;-1:-1:-1;;;;15170:162:2:o;18817:142::-;18890:4;18915:22;;;:9;:22;;;;;:35;;;;18817:142::o;15340:202::-;15460:4;3916:22;;;:9;:22;;;;;:29;;;15439:11;;3916:29;;3908:38;;;;;;;;15484:50;15497:11;15510:5;15517:10;15529:4;15484:12;:50::i;:::-;15477:57;15340:202;-1:-1:-1;;;;;;15340:202:2:o;5397:655::-;5715:7;5740:18;5785:17;5817:11;5843:12;5870:19;5904:18;5937;5970:9;5994:11;5761:255;;-1:-1:-1;;;;;5761:255:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5397:655;-1:-1:-1;;;;;;;;;;5397:655:2:o;20491:125::-;20555:4;20579:22;;;:9;:22;;;;;:29;;;;;;20491:125::o;1189:117:22:-;-1:-1:-1;;;;;1276:22:22;1252:4;1276:22;;;:13;:22;;;;;;;;;1189:117::o;7128:186:2:-;7234:7;7271:8;7281:7;7290:15;7261:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7254:52;;7128:186;;;;;:::o;6500:537::-;6597:7;6717:24;6637:3;6625:8;:15;;:31;;;;;6655:1;6644:8;:12;6625:31;6617:40;;;;;;;;6687:3;6676:7;:14;;:29;;;;;6704:1;6694:7;:11;6676:29;6668:38;;;;;;;;6744:61;6770:8;6780:7;6789:15;6744:25;:61::i;:::-;6717:88;;6856:139;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6816:37:2;;;:19;:37;;;;6856:139;6816:179;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7013:16:2;-1:-1:-1;6500:537:2;;;;;:::o;385:15:22:-;;;;:::o;346:32::-;;;-1:-1:-1;;;;;346:32:22;;:::o;16928:1881:2:-;17002:4;17019:25;17082:21;17169:20;17272:12;17346:27;;:::i;:::-;17520:11;3916:22;;;:9;:22;;;;;:29;;;17520:11;;;;;;;;16981;;3916:29;;3908:38;;;;;;;;17047:22;;;;:9;:22;;;;;17141:15;;;;17047:22;;-1:-1:-1;17106:52:2;;-1:-1:-1;;;;;17141:15:2;17106:27;:52::i;:::-;17192:38;;;;:23;:38;;;;;;:55;17082:76;;-1:-1:-1;;;;;;17192:55:2;;;;:67;;:38;:69;;;;;;;;;-1:-1:-1;;;17192:69:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17307:19;;;;17287:40;;;;:19;:40;;;;;;;:48;17192:69;;-1:-1:-1;17287:48:2;;-1:-1:-1;17307:8:2;;-1:-1:-1;17346:38:2;;;;;;;;;;;;-1:-1:-1;;;;;17346:38:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17437:26;;;;17346:38;;-1:-1:-1;17437:26:2;;;:66;;;;;17483:8;:20;;;17467:12;:36;;17437:66;17433:905;;;17554:19;;;;17534:40;;;;:19;:40;;;;;:47;;;17651:19;;;;17534:47;;-1:-1:-1;17534:47:2;;17671:15;;17651:35;;;;;;;;:45;17647:680;;17853:1;17842:12;;17837:242;17861:21;;;;17856:26;;17837:242;;17918:19;;;;:14;;;:19;;;;;;:25;;;17914:146;;;17978:19;;;;:14;;;:19;;;;;;;-1:-1:-1;17993:3:2;;-1:-1:-1;17993:3:2;;17914:146;17884:5;;;;;17837:242;;;18104:22;;;;:9;:22;;;;;;;;18097:29;;-1:-1:-1;;;;;;18097:29:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18097:29:2;;;;;;;;;;;;;;;;;18114:11;;18145:39;;18177:6;;18145:39;;;;;;;;;;;;;18204:11;:22;;;-1:-1:-1;;;;;18203:32:2;;18236:11;18249;:18;;;18273:6;18203:78;;;;;;;;-1:-1:-1;;;18203:78:2;;;;;;;;;;;;;-1:-1:-1;;;;;18203:78:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18307:4;18300:11;;;;17647:680;18413:1;18401:13;;18396:383;18422:21;;;;18416:27;;18396:383;;18472:20;;;;:14;;;:20;;;;;;18519:3;18495:23;;;:27;18472:50;;18468:300;;;18550:22;;;;:9;:22;;;;;;;;18543:29;;-1:-1:-1;;;;;;18543:29:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18543:29:2;;;;;;;;;;;;;;;;;18560:11;;18591:36;;18623:3;;18591:36;;;;;;;;;;;;;18647:11;:22;;;-1:-1:-1;;;;;18646:32:2;;18679:11;18692;:18;;;18716:4;18646:76;;;;;;;;-1:-1:-1;;;18646:76:2;;;;;;;;;;;;;-1:-1:-1;;;;;18646:76:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18468:300;18445:6;;;;;18396:383;;;18796:5;18789:12;;3957:1;16928:1881;;;;;;;;;;;;;;:::o;12015:272::-;12090:12;;;12127:153;12150:9;:16;12146:3;:20;12127:153;;;12212:3;12194:9;12204:3;12194:9;:14;;;;;;;;;;;;;;;:21;12190:79;;;12243:4;12249:3;12236:17;;;;;;12190:79;12168:5;;12127:153;;;12015:272;;;;;;:::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;;;;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;440:31:22:-;;;;:::o;12527:1069:2:-;12803:14;12924:21;13002:30;;:::i;:::-;12670:22;;;;:9;:22;;;;;:40;;;;;;;;12666:79;;;12727:7;;12666:79;12820:22;;;;:9;:22;;;;;:29;;;-1:-1:-1;;;;;12820:29:2;;-1:-1:-1;12868:20:2;;;12860:29;;;;;;12948:43;12983:6;12948:27;:43::i;:::-;13035:38;;;;:23;:38;;;;;;;12924:67;;-1:-1:-1;13002:71:2;;;;;;;;;;;;-1:-1:-1;;;;;13002:71:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13172:18:2;13158:32;;13151:40;;;;13202:9;:20;;;-1:-1:-1;;;;;13202:33:2;;13236:10;13248:9;:21;;;13271:11;13202:81;;;;;;;;-1:-1:-1;;;13202:81:2;;;;;;-1:-1:-1;;;;;13202:81:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13354:22:2;;;;:9;:22;;;;;:35;;;:52;;13394:11;13354:52;:39;:52;:::i;:::-;13316:22;;;;:9;:22;;;;;:35;;;:90;;;;13484:38;;;;;;;;13480:109;;;13539:38;13565:11;13539:25;:38::i;:::-;12527:1069;;;;;:::o;1761:212:22:-;1840:7;1860:21;1895:7;-1:-1:-1;;;;;1895:13:22;;:15;;;;;;;;;;;-1:-1:-1;;;1895:15:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;1929:30:22;;;1960:4;1929:36;;;;;;;;-1:-1:-1;;;1929:36:22;;;;;;-1:-1:-1;;;;;1929:36:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1761:212;-1:-1:-1;;;;1761:212:22:o;698:129:28:-;756:7;783:5;;;801:6;;;;794:14;;;23229:282:2;23323:16;;23365:8;;23323:25;;;23316:33;;;;-1:-1:-1;23376:6:2;23360:115;23388:16;;-1:-1:-1;;23388:18:2;23384:22;;23360:115;;;23447:9;23457:3;23461:1;23457:5;23447:16;;;;;;;;;;;;;;;;;;;23430:9;23440:3;23430:14;;;;;;;;;;;;;;;;;;;:33;23408:5;;23360:115;;;23485:18;;;:9;-1:-1:-1;;23485:18:2;;;:::i;:::-;;23229:282;;;:::o;23973:1723::-;24071:4;24088:25;24149:18;24233:30;;:::i;:::-;24634:15;24116:22;;;:9;:22;;;;;24205:15;;;;24116:22;;-1:-1:-1;24634:15:2;;24170:52;;-1:-1:-1;;;;;24205:15:2;24170:27;:52::i;:::-;24266:35;;;;:23;:35;;;;;;;24149:73;;-1:-1:-1;24233:68:2;;;;;;;;;;;;-1:-1:-1;;;;;24233:68:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24371:26;;;;24233:68;;-1:-1:-1;24233:68:2;24371:26;;;;:66;;;;;24417:8;:20;;;24401:12;:36;;24371:66;24367:126;;;24461:20;24469:11;24461:7;:20::i;:::-;24454:27;;;;24367:126;24552:21;;;;24543:30;;;24535:39;;;;;;24652:9;:26;-1:-1:-1;;;;;24652:39:2;;24692:6;24652:47;;;;;;;;-1:-1:-1;;;24652:47:2;;;;;;-1:-1:-1;;;;;24652:47:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;24718:18:2;;;;24710:27;;;;;;24752:9;;24748:59;;;24785:10;24778:17;;24748:59;-1:-1:-1;;;;;24891:23:2;;;;;;:15;;;:23;;;;;:34;;;:39;24887:111;;24947:39;24966:11;24979:6;24947:18;:39::i;:::-;25074:21;;;;:14;;;:21;;;;;;25065:31;;:4;;:31;:8;:31;:::i;:::-;25041:21;;;;:14;;;:21;;;;;:55;25138:19;;;;25129:29;;:4;;:29;:8;:29;:::i;:::-;25107:19;;;:51;25195:75;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25169:23:2;;-1:-1:-1;25169:23:2;;;:15;;;:23;;;;25195:75;25169:101;;;;;;;;;;;;;;25356:10;-1:-1:-1;;;;;25346:20:2;:6;-1:-1:-1;;;;;25346:20:2;;;25342:71;;;-1:-1:-1;25397:4:2;25342:71;-1:-1:-1;;;;;25444:144:2;;25474:11;25444:144;25521:5;25541:10;25566:11;25444:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25668:20;25676:11;25668:7;:20::i;:::-;25661:27;;23973:1723;;;;;;;;;;;;:::o;138:173:28:-;196:7;;215:6;;211:35;;;238:1;231:8;;;;211:35;-1:-1:-1;263:5:28;;;267:1;263;:5;281;;;;;;;;:10;274:18;;;22586:456:2;22671:25;22732:18;;:::i;:::-;22699:22;;;;:9;:22;;;;;;;;-1:-1:-1;;;;;22753:23:2;;;;:15;;;:23;;;;;;;22699:22;;-1:-1:-1;22753:23:2;22699:22;22732:44;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22818:50:2;;22851:16;22819:14;;;:26;22834:5;:10;22819:26;;;;;;;;;;;;22818:32;;:50;;;;:::i;:::-;22789:14;;;:26;22804:5;:10;22789:26;;;;;;;;;;;:79;;;;22901:43;22927:5;:16;;;22902:19;;;;;22901:43;:25;:43;:::i;:::-;22879:19;;;:65;-1:-1:-1;;;;;22964:23:2;;;;;;:15;;;:23;;;;;;22957:30;;;;;;;;;23014:11;;22998:36;;;;;;;;;;22586:456;;;;:::o;20904:1452::-;21028:14;21149:21;21227:30;;:::i;:::-;21309:24;21045:22;;;:9;:22;;;;;:29;;;-1:-1:-1;;;;;21045:29:2;;-1:-1:-1;21309:24:2;;;21093:20;;;21085:29;;;;;;21173:43;21208:6;21173:27;:43::i;:::-;21260:38;;;;:23;:38;;;;;;;21149:67;;-1:-1:-1;21227:71:2;;;;;;;;;;;;-1:-1:-1;;;;;21227:71:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21336:21;;;21227:71;21336:21;;;;;;;;;21424:22;;;:9;:22;;;;;;;:38;;;21227:71;;-1:-1:-1;21336:21:2;-1:-1:-1;21424:38:2;;;;21420:77;;;21479:7;;21420:77;21643:9;:28;;;21641:1;21686:26;;;:33;21641:30;;;-1:-1:-1;21686:51:2;;;21682:209;;;21754:26;;;:44;;;;;;:26;:44;;:::i;:::-;-1:-1:-1;21754:44:2;;;;;;;;;;;;;;;21813:22;;;:9;:22;;;;;:38;;:45;;-1:-1:-1;;21813:45:2;;;;;21873:7;;21682:209;22032:40;22045:3;:26;;22032:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;:40::i;:::-;22009:63;;-1:-1:-1;22009:63:2;-1:-1:-1;22009:63:2;22087:26;22101:11;22087:13;:26::i;:::-;:37;22083:266;;;22207:5;22141:9;:47;22151:3;:26;;22178:8;22151:36;;;;;;;;;;;;;;;;;;;;;;22141:47;;;;;;;;;;;;;;;:63;;;;:71;;;;;;;;;-1:-1:-1;;22141:71:2;;;;;;;22227:22;;;:9;:22;;;;;;:38;:45;;;;;;;;22141:63;22287:26;;:36;;22237:11;;22287:26;22314:8;;22287:36;;;;;;;;;;;;;;;:50;22083:266;20904:1452;;;;;;;;:::o;584:110:28:-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;182:25519:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../controller/Reputation.sol\";\r\nimport \"./IntVoteInterface.sol\";\r\nimport \"../universalSchemes/UniversalScheme.sol\";\r\n\r\n\r\n// ToDo: Write tests!\r\n\r\ncontract EmergentVoteScheme is IntVoteInterface, UniversalScheme {\r\n using SafeMath for uint;\r\n\r\n struct Organization {\r\n bool isRegistered;\r\n uint boostedProposals; // Currently amount of boosted proposals\r\n bytes32[] awaitingBoostProposals; // Array that contains a waiting list of proposals to be boosted\r\n }\r\n\r\n struct OrgParameters {\r\n Reputation reputationSystem; // the reputation system that is being used\r\n StandardToken boostToken; // The token that will be used in order to boost proposals\r\n address beneficiary; // The tokens that has been spent for boosting proposals will be transfered to this address\r\n uint attentionBandwidth; // Limit the amount of boosted proposals\r\n uint minBoostTimeFrame; // The boost time can not be less than that time frame\r\n uint maxBoostTimeFrame; // The boost time can not be more than that time frame\r\n uint minBoost; // Minimum amount of token can be paid for boosting proposals\r\n bool allowOwner; // does this proposal has a owner who has owner rights?\r\n }\r\n\r\n struct ProposalParameters {\r\n uint precReq; // how many percentages are required for the porpsal to be passed\r\n uint quorum; // Qurum that will be rellevant only if the proposal will get boosted\r\n uint boostTimeFrame; // The time frame that the porpoal will be boosted\r\n }\r\n\r\n struct Voter {\r\n uint vote; // 0 - 'abstain'\r\n uint reputation; // amount of voter's reputation\r\n }\r\n\r\n struct Proposal {\r\n address owner; // the proposal's owner\r\n address avatar; // the avatar of the organization that owns the proposal\r\n uint numOfChoices; // Number of choices in the proposal\r\n ExecutableInterface executable; // will be executed if the perposal will pass\r\n bytes32 paramsHash; // the hash of the parameters of the proposal\r\n uint totalVotes; // Totals proposal's votes\r\n mapping(uint=>uint) votes;\r\n mapping(address=>Voter) voters;\r\n bool opened; // voting opened flag\r\n bool isBoostModeActive; // Is the proposal boosted?\r\n bool isAwaitingBoost; // Is in the waiting list for being boosted\r\n uint closingTime; // Will be setted only if the proposal is boosted, will determine the closing time of the proposal\r\n uint boostedFunds; // amount of funds that has been invested in this proposal\r\n }\r\n\r\n event LogNewProposal(bytes32 indexed _proposalId, address _proposer, bytes32 _paramsHash);\r\n event LogCancelProposal(bytes32 indexed _proposalId);\r\n event LogExecuteProposal(bytes32 indexed _proposalId, uint _decision);\r\n event LogVoteProposal(bytes32 indexed _proposalId, address indexed _voter, uint _vote, uint _reputation, bool _isOwnerVote);\r\n event LogCancelVoting(bytes32 indexed _proposalId, address indexed _voter);\r\n\r\n mapping(address=>Organization) public organizations;\r\n mapping(bytes32=>OrgParameters) public organizationsParameters;\r\n mapping(bytes32=>ProposalParameters) public proposalsParameters; // A mapping from hashes to parameters\r\n mapping(bytes32=>Proposal) public proposals; // Mapping from the ID of the proposal to the proposal itself.\r\n\r\n uint constant public MAX_NUM_OF_CHOICES = 10;\r\n uint proposalsCnt; // Total amount of proposals\r\n\r\n /**\r\n * @dev Check that there is owner for the proposal and he sent the transaction\r\n */\r\n modifier onlyProposalOwner(bytes32 _proposalId) {\r\n require(msg.sender == proposals[_proposalId].owner);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Check that the proposal is votable (opened and not executed yet)\r\n */\r\n modifier votable(bytes32 _proposalId) {\r\n require(proposals[_proposalId].opened);\r\n _;\r\n }\r\n\r\n function EmergentVoteScheme(StandardToken _nativeToken, uint _fee, address _beneficiary) public {\r\n updateParameters(\r\n _nativeToken,\r\n _fee, _beneficiary,\r\n bytes32(0));\r\n }\r\n\r\n /**\r\n * @dev hash the parameters, save them if necessary, and return the hash value\r\n */\r\n function setOrgParameters(\r\n Reputation _reputationSystem,\r\n StandardToken _boostToken,\r\n address _beneficiary,\r\n uint _attentionBandwidth,\r\n uint _minBoostTimeFrame,\r\n uint _maxBoostTimeFrame,\r\n uint _minBoost,\r\n bool _allowOwner\r\n ) public returns(bytes32)\r\n {\r\n bytes32 paramsHash = getOrgParametersHash(\r\n _reputationSystem,\r\n _boostToken,\r\n _beneficiary,\r\n _attentionBandwidth,\r\n _minBoostTimeFrame,\r\n _maxBoostTimeFrame,\r\n _minBoost,\r\n _allowOwner\r\n );\r\n organizationsParameters[paramsHash] = OrgParameters({\r\n reputationSystem: _reputationSystem,\r\n boostToken: _boostToken,\r\n beneficiary: _beneficiary,\r\n attentionBandwidth: _attentionBandwidth,\r\n minBoostTimeFrame: _minBoostTimeFrame,\r\n maxBoostTimeFrame: _maxBoostTimeFrame,\r\n minBoost: _minBoost,\r\n allowOwner: _allowOwner\r\n });\r\n return paramsHash;\r\n }\r\n\r\n function getOrgParametersHash(\r\n Reputation _reputationSystem,\r\n StandardToken _boostToken,\r\n address _beneficiary,\r\n uint _attentionBandwidth,\r\n uint _minBoostTimeFrame,\r\n uint _maxBoostTimeFrame,\r\n uint _minBoost,\r\n bool _allowOwner\r\n ) public pure returns(bytes32)\r\n {\r\n bytes32 paramsHash = keccak256(\r\n _reputationSystem,\r\n _boostToken,\r\n _beneficiary,\r\n _attentionBandwidth,\r\n _minBoostTimeFrame,\r\n _maxBoostTimeFrame,\r\n _minBoost,\r\n _allowOwner\r\n );\r\n return paramsHash;\r\n }\r\n\r\n /**\r\n * @dev Set proposals parameters\r\n * @param _precReq the percentage that are required for the proposal to be executed\r\n * @param _quorum the 'quorum' percentages that are required for the winning choice (will be rellevant only if boosted)\r\n * @param _boostTimeFrame the time frame of the proposal after being boosted, after the time passed, a decision will be made\r\n * @return bytes32 the hashed parameters\r\n */\r\n function setProposalParameters(uint _precReq, uint _quorum, uint _boostTimeFrame) public returns(bytes32) {\r\n require(_precReq <= 100 && _precReq > 0);\r\n require(_quorum <= 100 && _quorum > 0);\r\n bytes32 hashedParameters = getProposalParametersHash(_precReq, _quorum, _boostTimeFrame);\r\n proposalsParameters[hashedParameters] = ProposalParameters({\r\n precReq: _precReq,\r\n quorum: _quorum,\r\n boostTimeFrame: _boostTimeFrame\r\n });\r\n return hashedParameters;\r\n }\r\n\r\n /**\r\n * @dev hashParameters returns a hash of the given parameters\r\n */\r\n function getProposalParametersHash(uint _precReq, uint _quorum, uint _boostTimeFrame) public pure returns(bytes32) {\r\n return keccak256(_precReq, _quorum, _boostTimeFrame);\r\n }\r\n\r\n /**\r\n * @dev register a new proposal with the given parameters. Every proposal has a unique ID which is being\r\n * generated by calculating keccak256 of a incremented counter.\r\n * @param _numOfChoices the number of choices inthe proposal\r\n * @param _paramsHash defined the parameters of the voting machine used for this proposal\r\n * @param _avatar an address to be sent as the payload to the _executable contract.\r\n * @param _executable This contract will be executed when vote is over.\r\n * @return bytes32 proposalId the ID of the proposal\r\n */\r\n function propose(\r\n uint _numOfChoices,\r\n bytes32 _paramsHash,\r\n address _avatar,\r\n ExecutableInterface _executable\r\n ) public returns(bytes32)\r\n {\r\n // ToDo: check parameters are OK:\r\n require(_numOfChoices > 0 && _numOfChoices <= MAX_NUM_OF_CHOICES);\r\n\r\n // Check org is registered:\r\n require(organizations[_avatar].isRegistered);\r\n\r\n // Check params exist:\r\n require(proposalsParameters[_paramsHash].precReq != 0);\r\n\r\n // Generate a unique ID:\r\n bytes32 proposalId = keccak256(this, proposalsCnt);\r\n proposalsCnt++;\r\n\r\n // Open proposal:\r\n Proposal memory proposal;\r\n proposal.paramsHash = _paramsHash;\r\n proposal.numOfChoices = _numOfChoices;\r\n proposal.avatar = _avatar;\r\n proposal.executable = _executable;\r\n proposal.owner = msg.sender;\r\n proposal.opened = true;\r\n proposals[proposalId] = proposal;\r\n LogNewProposal(proposalId, msg.sender, _paramsHash);\r\n return proposalId;\r\n }\r\n\r\n /**\r\n * @dev Cancel a proposal, only the owner can call this function and only if allowOwner flag is true.\r\n * @param _proposalId the proposal ID\r\n * @return bool True if the proposal is canceled and False if it wasn't\r\n */\r\n function cancelProposal(bytes32 _proposalId) public onlyProposalOwner(_proposalId) votable(_proposalId) returns(bool) {\r\n address avatar = proposals[_proposalId].avatar;\r\n bytes32 paramsHash = getParametersFromController(Avatar(avatar));\r\n if (! organizationsParameters[paramsHash].allowOwner) {\r\n return false;\r\n }\r\n\r\n // Check if on the awaiting list, if so, delete it:\r\n bool isFound;\r\n uint index;\r\n (isFound, index) = findInArray(organizations[avatar].awaitingBoostProposals, _proposalId);\r\n if (isFound) {\r\n deleteFromArray(organizations[avatar].awaitingBoostProposals, index);\r\n }\r\n\r\n delete proposals[_proposalId];\r\n LogCancelProposal(_proposalId);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Get the score of a specific proposal\r\n * The score is evaluated by multiplying the number of votes with the funds that are invested\r\n * @param _proposalId the proposal ID\r\n * @return uint Proposal's score\r\n */\r\n function proposalScore(bytes32 _proposalId) public constant returns(uint) {\r\n Proposal memory proposal = proposals[_proposalId];\r\n return (proposal.boostedFunds.mul(proposal.totalVotes));\r\n }\r\n\r\n /**\r\n * @dev Get the minimum score of a given list proposal ids\r\n * @param _idsArray the proposal ids that will be checked\r\n * @return uint index the index of the proposal containing the smallest score in the list\r\n * @return uint min the minimum score in the list\r\n */\r\n function findMinScore(bytes32[] _idsArray) public constant returns(uint index, uint min) {\r\n for (uint cnt = 0; cnt<_idsArray.length; cnt++) {\r\n if (proposalScore(_idsArray[cnt]) < min) {\r\n index = cnt;\r\n min = proposalScore(_idsArray[cnt]);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * @dev Get the maximum score of a given list proposal ids\r\n * @param _idsArray the proposal ids that will be checked\r\n * @return uint index the index of the proposal containing the highest score in the list\r\n * @return uint max the maximum score in the list\r\n */\r\n function findMaxScore(bytes32[] _idsArray) public constant returns(uint index, uint max) {\r\n for (uint cnt = 0; cnt<_idsArray.length; cnt++) {\r\n if (proposalScore(_idsArray[cnt]) > max) {\r\n index = cnt;\r\n max = proposalScore(_idsArray[cnt]);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * @dev Helper function to find an ID in a given array\r\n * @param _idsArray an array of id's\r\n * @param _id the id we want ot find in the array\r\n * @return bool isFound that indicated if the id has been found in the array\r\n * @return uint index the index of the id in the array\r\n */\r\n function findInArray(bytes32[] _idsArray, bytes32 _id) public pure returns(bool isFound, uint index) {\r\n for (uint cnt = 0; cnt<_idsArray.length; cnt++) {\r\n if (_idsArray[cnt] == _id) {\r\n return(true, cnt);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * @dev Internal function to boost a proposal\r\n * @param _proposalId the id of the proposal that is being checked\r\n * @param _boostValue amount of tokens to use for boosting, must be greater then minBoost\r\n */\r\n function boostProposal(bytes32 _proposalId, uint _boostValue) public {\r\n\r\n // Check proposal is not already in boost mode:\r\n if (proposals[_proposalId].isBoostModeActive) {\r\n return;\r\n }\r\n\r\n // Retrieve org and parameters hash:\r\n address avatar = proposals[_proposalId].avatar;\r\n require(avatar != address(0)); // Check propsal exists\r\n bytes32 orgParamsHash = getParametersFromController(Avatar(avatar));\r\n OrgParameters memory orgParams = organizationsParameters[orgParamsHash];\r\n\r\n // Collect boosting fee and add value to boosted funds:\r\n assert(_boostValue > orgParams.minBoost);\r\n orgParams.boostToken.transferFrom(msg.sender, orgParams.beneficiary, _boostValue); // ToDo: Move to end?\r\n proposals[_proposalId].boostedFunds = proposals[_proposalId].boostedFunds.add(_boostValue);\r\n\r\n // If proposal is not in awaiting list, try to add:\r\n if (proposals[_proposalId].isAwaitingBoost) {\r\n tryAwaitingBoostProposals(_proposalId);\r\n }\r\n }\r\n\r\n /**\r\n * @dev Move the top proposal form the waiting list to the boosted proposals\r\n * @param _avatar avatar of the organization\r\n */\r\n // [TODO] event\r\n function moveTopAwaitingBoostMode(address _avatar) public {\r\n // Retrieve org and parameters hash:\r\n require(_avatar != address(0)); // Check propsal exists\r\n bytes32 orgParamsHash = getParametersFromController(Avatar(_avatar));\r\n OrgParameters memory orgParams = organizationsParameters[orgParamsHash];\r\n Organization storage org = organizations[_avatar];\r\n\r\n // Check we have free bandwidth:\r\n if (org.boostedProposals >= orgParams.attentionBandwidth) {\r\n return;\r\n }\r\n\r\n // Check awaiting list is not empty:\r\n if (org.awaitingBoostProposals.length == 0) {\r\n return;\r\n }\r\n\r\n // Find maximum and add it:\r\n org.boostedProposals++;\r\n uint maxIndex;\r\n (maxIndex, ) = findMaxScore(org.awaitingBoostProposals);\r\n Proposal storage proposal = proposals[org.awaitingBoostProposals[maxIndex]];\r\n proposal.isBoostModeActive = true;\r\n proposal.isAwaitingBoost = false;\r\n uint timeFrame = proposalsParameters[proposal.paramsHash].boostTimeFrame;\r\n proposal.closingTime = block.number.add(timeFrame);\r\n\r\n // Shift array:\r\n deleteFromArray(org.awaitingBoostProposals, maxIndex);\r\n }\r\n\r\n /**\r\n * @dev voting function\r\n * @param _proposalId id of the proposal\r\n * @param _vote yes (1) / no (-1) / abstain (0)\r\n */\r\n function vote(bytes32 _proposalId, uint _vote) public votable(_proposalId) returns(bool) {\r\n return internalVote(_proposalId, _vote, msg.sender, 0);\r\n }\r\n\r\n function voteWithSpecifiedAmounts(bytes32 _proposalId, uint _vote, uint _rep, uint) public votable(_proposalId) returns(bool) {\r\n return internalVote(_proposalId, _vote, msg.sender, _rep);\r\n }\r\n\r\n /**\r\n * @dev voting function with owner functionality (can vote on behalf of someone else)\r\n * @param _proposalId id of the proposal\r\n * @param _vote yes (1) / no (-1) / abstain (0)\r\n * @param _voter will be voted with that voter's address\r\n */\r\n function ownerVote(bytes32 _proposalId, uint _vote, address _voter) public onlyProposalOwner(_proposalId) votable(_proposalId) returns(bool) {\r\n bytes32 paramsHash = getParametersFromController(Avatar(proposals[_proposalId].avatar));\r\n if (! organizationsParameters[paramsHash].allowOwner) {\r\n return;\r\n }\r\n\r\n return internalVote(_proposalId, _vote, _voter, 0);\r\n }\r\n\r\n /**\r\n * @dev Cancel the vote of the msg.sender: subtract the reputation amount from the votes\r\n * and delete the voter from the proposal struct\r\n * @param _proposalId id of the proposal\r\n */\r\n function cancelVote(bytes32 _proposalId) public votable(_proposalId) {\r\n cancelVoteInternal(_proposalId, msg.sender);\r\n }\r\n\r\n /**\r\n * @dev check if the proposal has been decided, and if so, execute the proposal\r\n * @param _proposalId the id of the proposal\r\n * @return bool is the proposal has been executed or not?\r\n */\r\n // TODO: do we want to delete the vote from the proposals mapping?\r\n // TODO: add to the event if this proposal was bossted or not\r\n function execute(bytes32 _proposalId) public votable(_proposalId) returns(bool) {\r\n Proposal storage proposal = proposals[_proposalId];\r\n\r\n bytes32 orgParamsHash = getParametersFromController(Avatar(proposal.avatar));\r\n uint totalReputation = organizationsParameters[orgParamsHash].reputationSystem.totalSupply();\r\n uint precReq = proposalsParameters[proposal.paramsHash].precReq;\r\n Proposal memory tmpProposal = proposal;\r\n\r\n // Check boosted propsals:\r\n if (proposal.isBoostModeActive && block.number >= proposal.closingTime) {\r\n uint quorum = proposalsParameters[proposal.paramsHash].quorum;\r\n\r\n // Check if quorum has been reached\r\n if (proposal.totalVotes/totalReputation >= quorum) {\r\n uint max;\r\n uint maxInd;\r\n\r\n // Count which choice is the winning choice\r\n for (uint cnt = 1; cnt<=proposal.numOfChoices; cnt++) {\r\n if (proposal.votes[cnt] > max) {\r\n max = proposal.votes[cnt];\r\n maxInd = cnt;\r\n }\r\n }\r\n delete proposals[_proposalId];\r\n LogExecuteProposal(_proposalId, maxInd);\r\n (tmpProposal.executable).execute(_proposalId, tmpProposal.avatar, int(maxInd));\r\n return true;\r\n }\r\n }\r\n\r\n // Check if someone crossed the bar:\r\n for (uint cnt2 = 0; cnt2<=proposal.numOfChoices; cnt2++) {\r\n if (proposal.votes[cnt2] > totalReputation*precReq/100) {\r\n delete proposals[_proposalId];\r\n LogExecuteProposal(_proposalId, cnt);\r\n (tmpProposal.executable).execute(_proposalId, tmpProposal.avatar, int(cnt2));\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n function getNumberOfChoices(bytes32 _proposalId) public constant returns(uint) {\r\n return (proposals[_proposalId].numOfChoices);\r\n }\r\n\r\n /**\r\n * @dev voteInfo returns the vote and the amount of reputation of the user committed to this proposal\r\n * @param _proposalId the ID of the proposal\r\n * @param _voter the address of the voter\r\n * @return uint[2] array that contains the vote's info:\r\n * amount of reputation committed by _voter to _proposalId, and the voters vote (1/-1/-0)\r\n */\r\n function voteInfo(bytes32 _proposalId, address _voter) public constant returns(uint[2]) {\r\n Voter memory voter = proposals[_proposalId].voters[_voter];\r\n return [voter.vote, voter.reputation];\r\n }\r\n\r\n /**\r\n * @dev proposalStatus returns the number of yes, no, and abstain and if the proposal is ended of a given proposal id\r\n * @param _proposalId the ID of the proposal\r\n * @return int[10] array that contains the proposal's info:\r\n * number of yes, no, and abstain, and if the voting for the proposal has ended\r\n */\r\n function proposalStatus(bytes32 _proposalId) public constant returns(uint[13]) {\r\n Proposal storage proposal = proposals[_proposalId];\r\n uint opened = proposal.opened ? 1 : 0;\r\n uint[13] memory returnedArray;\r\n returnedArray[12] = opened;\r\n for (uint cnt = 0; cnt<=proposal.numOfChoices; cnt++) {\r\n returnedArray[cnt] = proposal.votes[cnt];\r\n }\r\n return returnedArray;\r\n }\r\n\r\n /**\r\n * @dev isVotable check if the proposal is open\r\n * @param _proposalId the ID of the proposal\r\n * @return bool true or false\r\n */\r\n function isVotable(bytes32 _proposalId) public constant returns(bool) {\r\n return proposals[_proposalId].opened;\r\n }\r\n\r\n /**\r\n * @dev Will try to insert a proposal to the waiting list (if there is place in the waiting list)\r\n * This function will be called only from boostProposal function\r\n * @param _proposalId the id of the proposal that is being checked\r\n */\r\n // [TODO] event\r\n function tryAwaitingBoostProposals(bytes32 _proposalId) internal {\r\n\r\n // Retrieve org and parameters hash:\r\n address avatar = proposals[_proposalId].avatar;\r\n require(avatar != address(0)); // Check propsal exists\r\n bytes32 orgParamsHash = getParametersFromController(Avatar(avatar));\r\n OrgParameters memory orgParams = organizationsParameters[orgParamsHash];\r\n Organization storage org = organizations[avatar];\r\n\r\n // If proposal already awaiting, return:\r\n if (proposals[_proposalId].isAwaitingBoost) {\r\n return;\r\n }\r\n\r\n // If there is room just add proposal:\r\n // The Waiting list is twice the attentionBandwidth\r\n uint maxAwaitingList = 2*orgParams.attentionBandwidth;\r\n if (org.awaitingBoostProposals.length < maxAwaitingList) {\r\n org.awaitingBoostProposals.push(_proposalId);\r\n proposals[_proposalId].isAwaitingBoost = true;\r\n return;\r\n }\r\n\r\n // Find minimum, if lower than current, replace:\r\n uint minIndex;\r\n uint minScore;\r\n (minIndex, minScore) = findMinScore(org.awaitingBoostProposals);\r\n if (proposalScore(_proposalId) > minIndex) {\r\n proposals[org.awaitingBoostProposals[minIndex]].isAwaitingBoost = false;\r\n proposals[_proposalId].isAwaitingBoost = true;\r\n org.awaitingBoostProposals[minIndex] = _proposalId;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Internal function that actually cancel the vote and delete it from storage\r\n * @param _proposalId id of the proposal\r\n * @param _voter the address of the voter we want to cancel his vote\r\n */\r\n function cancelVoteInternal(bytes32 _proposalId, address _voter) internal {\r\n Proposal storage proposal = proposals[_proposalId];\r\n Voter memory voter = proposal.voters[_voter];\r\n\r\n proposal.votes[voter.vote] = (proposal.votes[voter.vote]).sub(voter.reputation);\r\n proposal.totalVotes = (proposal.totalVotes).sub(voter.reputation);\r\n\r\n delete proposal.voters[_voter];\r\n LogCancelVoting(_proposalId, _voter);\r\n }\r\n\r\n /**\r\n * @dev Delete an index from an array which in the storage\r\n * @param _idsArray the pointer for the array\r\n * @param _index the index we want to delete\r\n */\r\n function deleteFromArray(bytes32[] storage _idsArray, uint _index) internal {\r\n assert(_idsArray.length > _index);\r\n for (uint cnt = _index; cnt<_idsArray.length-1; cnt++) {\r\n _idsArray[cnt] = _idsArray[cnt+1];\r\n }\r\n _idsArray.length--;\r\n }\r\n\r\n /**\r\n * @dev Vote for a proposal, if the voter already voted, cancel the last vote and set a new one instead\r\n * @param _proposalId id of the proposal\r\n * @param _vote yes (1) / no (-1) / abstain (0)\r\n * @param _voter used in case the vote is cast for someone else\r\n * @return true in case of success\r\n * throws if proposal is not opened or if it is executed\r\n * NB: executes the proposal if a decision has been reached\r\n */\r\n function internalVote(bytes32 _proposalId, uint _vote, address _voter, uint _rep) private returns(bool) {\r\n Proposal storage proposal = proposals[_proposalId];\r\n bytes32 paramsHash = getParametersFromController(Avatar(proposal.avatar));\r\n OrgParameters memory orgParams = organizationsParameters[paramsHash];\r\n\r\n // If boosted proposal and ended, exectute:\r\n if (proposal.isBoostModeActive && block.number >= proposal.closingTime) {\r\n return execute(_proposalId);\r\n }\r\n\r\n // Check valid vote:\r\n require(_vote <= proposal.numOfChoices);\r\n\r\n // Check voter has enough reputation:\r\n uint reputation = orgParams.reputationSystem.reputationOf(_voter);\r\n require(reputation >= _rep);\r\n if (_rep == 0) {\r\n _rep = reputation;\r\n }\r\n\r\n // If this voter has already voted, first cancel the vote:\r\n if (proposal.voters[_voter].reputation != 0) {\r\n cancelVoteInternal(_proposalId, _voter);\r\n }\r\n\r\n // The voting itself:\r\n proposal.votes[_vote] = _rep.add(proposal.votes[_vote]);\r\n proposal.totalVotes = _rep.add(proposal.totalVotes);\r\n proposal.voters[_voter] = Voter({\r\n reputation: _rep,\r\n vote: _vote\r\n });\r\n\r\n // Check if ownerVote:\r\n bool isOwnerVote;\r\n if (_voter != msg.sender) {\r\n isOwnerVote = true;\r\n }\r\n\r\n // Event:\r\n LogVoteProposal(\r\n _proposalId,\r\n _voter,\r\n _vote,\r\n reputation,\r\n isOwnerVote\r\n );\r\n\r\n // execute the proposal if this vote was decisive:\r\n return execute(_proposalId);\r\n }\r\n\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\VotingMachines\\EmergentVoteScheme.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/EmergentVoteScheme.sol", - "exportedSymbols": { - "EmergentVoteScheme": [ - 2542 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 879, - "name": "PragmaDirective", - "src": "0:24:2" - }, - { - "attributes": { - "SourceUnit": 4358, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Reputation.sol", - "file": "../controller/Reputation.sol", - "scope": 2543, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 880, - "name": "ImportDirective", - "src": "28:38:2" - }, - { - "attributes": { - "SourceUnit": 2659, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/IntVoteInterface.sol", - "file": "./IntVoteInterface.sol", - "scope": 2543, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 881, - "name": "ImportDirective", - "src": "68:32:2" - }, - { - "attributes": { - "SourceUnit": 7230, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "file": "../universalSchemes/UniversalScheme.sol", - "scope": 2543, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 882, - "name": "ImportDirective", - "src": "102:49:2" - }, - { - "attributes": { - "contractDependencies": [ - 2658, - 7229, - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 2542, - 7229, - 7259, - 9140, - 2658 - ], - "name": "EmergentVoteScheme", - "scope": 2543 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 883, - "name": "UserDefinedTypeName", - "src": "213:16:2" - } - ], - "id": 884, - "name": "InheritanceSpecifier", - "src": "213:16:2" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalScheme", - "referencedDeclaration": 7229, - "type": "contract UniversalScheme" - }, - "id": 885, - "name": "UserDefinedTypeName", - "src": "231:15:2" - } - ], - "id": 886, - "name": "InheritanceSpecifier", - "src": "231:15:2" - }, - { - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SafeMath", - "referencedDeclaration": 9084, - "type": "library SafeMath" - }, - "id": 887, - "name": "UserDefinedTypeName", - "src": "260:8:2" - }, - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 888, - "name": "ElementaryTypeName", - "src": "273:4:2" - } - ], - "id": 889, - "name": "UsingForDirective", - "src": "254:24:2" - }, - { - "attributes": { - "canonicalName": "EmergentVoteScheme.Organization", - "name": "Organization", - "scope": 2542, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "isRegistered", - "scope": 897, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 890, - "name": "ElementaryTypeName", - "src": "317:4:2" - } - ], - "id": 891, - "name": "VariableDeclaration", - "src": "317:17:2" - }, - { - "attributes": { - "constant": false, - "name": "boostedProposals", - "scope": 897, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 892, - "name": "ElementaryTypeName", - "src": "345:4:2" - } - ], - "id": 893, - "name": "VariableDeclaration", - "src": "345:21:2" - }, - { - "attributes": { - "constant": false, - "name": "awaitingBoostProposals", - "scope": 897, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 894, - "name": "ElementaryTypeName", - "src": "418:7:2" - } - ], - "id": 895, - "name": "ArrayTypeName", - "src": "418:9:2" - } - ], - "id": 896, - "name": "VariableDeclaration", - "src": "418:32:2" - } - ], - "id": 897, - "name": "StructDefinition", - "src": "286:237:2" - }, - { - "attributes": { - "canonicalName": "EmergentVoteScheme.OrgParameters", - "name": "OrgParameters", - "scope": 2542, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "reputationSystem", - "scope": 914, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 898, - "name": "UserDefinedTypeName", - "src": "563:10:2" - } - ], - "id": 899, - "name": "VariableDeclaration", - "src": "563:27:2" - }, - { - "attributes": { - "constant": false, - "name": "boostToken", - "scope": 914, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 900, - "name": "UserDefinedTypeName", - "src": "645:13:2" - } - ], - "id": 901, - "name": "VariableDeclaration", - "src": "645:24:2" - }, - { - "attributes": { - "constant": false, - "name": "beneficiary", - "scope": 914, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 902, - "name": "ElementaryTypeName", - "src": "739:7:2" - } - ], - "id": 903, - "name": "VariableDeclaration", - "src": "739:19:2" - }, - { - "attributes": { - "constant": false, - "name": "attentionBandwidth", - "scope": 914, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 904, - "name": "ElementaryTypeName", - "src": "861:4:2" - } - ], - "id": 905, - "name": "VariableDeclaration", - "src": "861:23:2" - }, - { - "attributes": { - "constant": false, - "name": "minBoostTimeFrame", - "scope": 914, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 906, - "name": "ElementaryTypeName", - "src": "936:4:2" - } - ], - "id": 907, - "name": "VariableDeclaration", - "src": "936:22:2" - }, - { - "attributes": { - "constant": false, - "name": "maxBoostTimeFrame", - "scope": 914, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 908, - "name": "ElementaryTypeName", - "src": "1024:4:2" - } - ], - "id": 909, - "name": "VariableDeclaration", - "src": "1024:22:2" - }, - { - "attributes": { - "constant": false, - "name": "minBoost", - "scope": 914, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 910, - "name": "ElementaryTypeName", - "src": "1112:4:2" - } - ], - "id": 911, - "name": "VariableDeclaration", - "src": "1112:13:2" - }, - { - "attributes": { - "constant": false, - "name": "allowOwner", - "scope": 914, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 912, - "name": "ElementaryTypeName", - "src": "1198:4:2" - } - ], - "id": 913, - "name": "VariableDeclaration", - "src": "1198:15:2" - } - ], - "id": 914, - "name": "StructDefinition", - "src": "531:746:2" - }, - { - "attributes": { - "canonicalName": "EmergentVoteScheme.ProposalParameters", - "name": "ProposalParameters", - "scope": 2542, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "precReq", - "scope": 921, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 915, - "name": "ElementaryTypeName", - "src": "1322:4:2" - } - ], - "id": 916, - "name": "VariableDeclaration", - "src": "1322:12:2" - }, - { - "attributes": { - "constant": false, - "name": "quorum", - "scope": 921, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 917, - "name": "ElementaryTypeName", - "src": "1411:4:2" - } - ], - "id": 918, - "name": "VariableDeclaration", - "src": "1411:11:2" - }, - { - "attributes": { - "constant": false, - "name": "boostTimeFrame", - "scope": 921, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 919, - "name": "ElementaryTypeName", - "src": "1503:4:2" - } - ], - "id": 920, - "name": "VariableDeclaration", - "src": "1503:19:2" - } - ], - "id": 921, - "name": "StructDefinition", - "src": "1285:296:2" - }, - { - "attributes": { - "canonicalName": "EmergentVoteScheme.Voter", - "name": "Voter", - "scope": 2542, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "vote", - "scope": 926, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 922, - "name": "ElementaryTypeName", - "src": "1613:4:2" - } - ], - "id": 923, - "name": "VariableDeclaration", - "src": "1613:9:2" - }, - { - "attributes": { - "constant": false, - "name": "reputation", - "scope": 926, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 924, - "name": "ElementaryTypeName", - "src": "1650:4:2" - } - ], - "id": 925, - "name": "VariableDeclaration", - "src": "1650:15:2" - } - ], - "id": 926, - "name": "StructDefinition", - "src": "1589:116:2" - }, - { - "attributes": { - "canonicalName": "EmergentVoteScheme.Proposal", - "name": "Proposal", - "scope": 2542, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "owner", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 927, - "name": "ElementaryTypeName", - "src": "1740:7:2" - } - ], - "id": 928, - "name": "VariableDeclaration", - "src": "1740:13:2" - }, - { - "attributes": { - "constant": false, - "name": "avatar", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 929, - "name": "ElementaryTypeName", - "src": "1788:7:2" - } - ], - "id": 930, - "name": "VariableDeclaration", - "src": "1788:14:2" - }, - { - "attributes": { - "constant": false, - "name": "numOfChoices", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 931, - "name": "ElementaryTypeName", - "src": "1870:4:2" - } - ], - "id": 932, - "name": "VariableDeclaration", - "src": "1870:17:2" - }, - { - "attributes": { - "constant": false, - "name": "executable", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "contract ExecutableInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ExecutableInterface", - "referencedDeclaration": 5155, - "type": "contract ExecutableInterface" - }, - "id": 933, - "name": "UserDefinedTypeName", - "src": "1935:19:2" - } - ], - "id": 934, - "name": "VariableDeclaration", - "src": "1935:30:2" - }, - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 935, - "name": "ElementaryTypeName", - "src": "2022:7:2" - } - ], - "id": 936, - "name": "VariableDeclaration", - "src": "2022:18:2" - }, - { - "attributes": { - "constant": false, - "name": "totalVotes", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 937, - "name": "ElementaryTypeName", - "src": "2097:4:2" - } - ], - "id": 938, - "name": "VariableDeclaration", - "src": "2097:15:2" - }, - { - "attributes": { - "constant": false, - "name": "votes", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "mapping(uint256 => uint256)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 939, - "name": "ElementaryTypeName", - "src": "2158:4:2" - }, - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 940, - "name": "ElementaryTypeName", - "src": "2164:4:2" - } - ], - "id": 941, - "name": "Mapping", - "src": "2150:19:2" - } - ], - "id": 942, - "name": "VariableDeclaration", - "src": "2150:25:2" - }, - { - "attributes": { - "constant": false, - "name": "voters", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "mapping(address => struct EmergentVoteScheme.Voter storage ref)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => struct EmergentVoteScheme.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 943, - "name": "ElementaryTypeName", - "src": "2194:7:2" - }, - { - "attributes": { - "contractScope": null, - "name": "Voter", - "referencedDeclaration": 926, - "type": "struct EmergentVoteScheme.Voter storage pointer" - }, - "id": 944, - "name": "UserDefinedTypeName", - "src": "2203:5:2" - } - ], - "id": 945, - "name": "Mapping", - "src": "2186:23:2" - } - ], - "id": 946, - "name": "VariableDeclaration", - "src": "2186:30:2" - }, - { - "attributes": { - "constant": false, - "name": "opened", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 947, - "name": "ElementaryTypeName", - "src": "2227:4:2" - } - ], - "id": 948, - "name": "VariableDeclaration", - "src": "2227:11:2" - }, - { - "attributes": { - "constant": false, - "name": "isBoostModeActive", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 949, - "name": "ElementaryTypeName", - "src": "2271:4:2" - } - ], - "id": 950, - "name": "VariableDeclaration", - "src": "2271:22:2" - }, - { - "attributes": { - "constant": false, - "name": "isAwaitingBoost", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 951, - "name": "ElementaryTypeName", - "src": "2332:4:2" - } - ], - "id": 952, - "name": "VariableDeclaration", - "src": "2332:20:2" - }, - { - "attributes": { - "constant": false, - "name": "closingTime", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 953, - "name": "ElementaryTypeName", - "src": "2407:4:2" - } - ], - "id": 954, - "name": "VariableDeclaration", - "src": "2407:16:2" - }, - { - "attributes": { - "constant": false, - "name": "boostedFunds", - "scope": 957, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 955, - "name": "ElementaryTypeName", - "src": "2533:4:2" - } - ], - "id": 956, - "name": "VariableDeclaration", - "src": "2533:17:2" - } - ], - "id": 957, - "name": "StructDefinition", - "src": "1713:904:2" - }, - { - "attributes": { - "anonymous": false, - "name": "LogNewProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 965, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 958, - "name": "ElementaryTypeName", - "src": "2646:7:2" - } - ], - "id": 959, - "name": "VariableDeclaration", - "src": "2646:27:2" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_proposer", - "scope": 965, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 960, - "name": "ElementaryTypeName", - "src": "2675:7:2" - } - ], - "id": 961, - "name": "VariableDeclaration", - "src": "2675:17:2" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_paramsHash", - "scope": 965, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 962, - "name": "ElementaryTypeName", - "src": "2694:7:2" - } - ], - "id": 963, - "name": "VariableDeclaration", - "src": "2694:19:2" - } - ], - "id": 964, - "name": "ParameterList", - "src": "2645:69:2" - } - ], - "id": 965, - "name": "EventDefinition", - "src": "2625:90:2" - }, - { - "attributes": { - "anonymous": false, - "name": "LogCancelProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 969, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 966, - "name": "ElementaryTypeName", - "src": "2745:7:2" - } - ], - "id": 967, - "name": "VariableDeclaration", - "src": "2745:27:2" - } - ], - "id": 968, - "name": "ParameterList", - "src": "2744:29:2" - } - ], - "id": 969, - "name": "EventDefinition", - "src": "2721:53:2" - }, - { - "attributes": { - "anonymous": false, - "name": "LogExecuteProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 975, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 970, - "name": "ElementaryTypeName", - "src": "2805:7:2" - } - ], - "id": 971, - "name": "VariableDeclaration", - "src": "2805:27:2" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_decision", - "scope": 975, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 972, - "name": "ElementaryTypeName", - "src": "2834:4:2" - } - ], - "id": 973, - "name": "VariableDeclaration", - "src": "2834:14:2" - } - ], - "id": 974, - "name": "ParameterList", - "src": "2804:45:2" - } - ], - "id": 975, - "name": "EventDefinition", - "src": "2780:70:2" - }, - { - "attributes": { - "anonymous": false, - "name": "LogVoteProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 987, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 976, - "name": "ElementaryTypeName", - "src": "2878:7:2" - } - ], - "id": 977, - "name": "VariableDeclaration", - "src": "2878:27:2" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_voter", - "scope": 987, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 978, - "name": "ElementaryTypeName", - "src": "2907:7:2" - } - ], - "id": 979, - "name": "VariableDeclaration", - "src": "2907:22:2" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_vote", - "scope": 987, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 980, - "name": "ElementaryTypeName", - "src": "2931:4:2" - } - ], - "id": 981, - "name": "VariableDeclaration", - "src": "2931:10:2" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_reputation", - "scope": 987, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 982, - "name": "ElementaryTypeName", - "src": "2943:4:2" - } - ], - "id": 983, - "name": "VariableDeclaration", - "src": "2943:16:2" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_isOwnerVote", - "scope": 987, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 984, - "name": "ElementaryTypeName", - "src": "2961:4:2" - } - ], - "id": 985, - "name": "VariableDeclaration", - "src": "2961:17:2" - } - ], - "id": 986, - "name": "ParameterList", - "src": "2877:102:2" - } - ], - "id": 987, - "name": "EventDefinition", - "src": "2856:124:2" - }, - { - "attributes": { - "anonymous": false, - "name": "LogCancelVoting" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 993, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 988, - "name": "ElementaryTypeName", - "src": "3008:7:2" - } - ], - "id": 989, - "name": "VariableDeclaration", - "src": "3008:27:2" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_voter", - "scope": 993, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 990, - "name": "ElementaryTypeName", - "src": "3037:7:2" - } - ], - "id": 991, - "name": "VariableDeclaration", - "src": "3037:22:2" - } - ], - "id": 992, - "name": "ParameterList", - "src": "3007:53:2" - } - ], - "id": 993, - "name": "EventDefinition", - "src": "2986:75:2" - }, - { - "attributes": { - "constant": false, - "name": "organizations", - "scope": 2542, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => struct EmergentVoteScheme.Organization storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => struct EmergentVoteScheme.Organization storage ref)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 994, - "name": "ElementaryTypeName", - "src": "3077:7:2" - }, - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 897, - "type": "struct EmergentVoteScheme.Organization storage pointer" - }, - "id": 995, - "name": "UserDefinedTypeName", - "src": "3086:12:2" - } - ], - "id": 996, - "name": "Mapping", - "src": "3069:30:2" - } - ], - "id": 997, - "name": "VariableDeclaration", - "src": "3069:51:2" - }, - { - "attributes": { - "constant": false, - "name": "organizationsParameters", - "scope": 2542, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct EmergentVoteScheme.OrgParameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct EmergentVoteScheme.OrgParameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 998, - "name": "ElementaryTypeName", - "src": "3135:7:2" - }, - { - "attributes": { - "contractScope": null, - "name": "OrgParameters", - "referencedDeclaration": 914, - "type": "struct EmergentVoteScheme.OrgParameters storage pointer" - }, - "id": 999, - "name": "UserDefinedTypeName", - "src": "3144:13:2" - } - ], - "id": 1000, - "name": "Mapping", - "src": "3127:31:2" - } - ], - "id": 1001, - "name": "VariableDeclaration", - "src": "3127:62:2" - }, - { - "attributes": { - "constant": false, - "name": "proposalsParameters", - "scope": 2542, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct EmergentVoteScheme.ProposalParameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct EmergentVoteScheme.ProposalParameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1002, - "name": "ElementaryTypeName", - "src": "3204:7:2" - }, - { - "attributes": { - "contractScope": null, - "name": "ProposalParameters", - "referencedDeclaration": 921, - "type": "struct EmergentVoteScheme.ProposalParameters storage pointer" - }, - "id": 1003, - "name": "UserDefinedTypeName", - "src": "3213:18:2" - } - ], - "id": 1004, - "name": "Mapping", - "src": "3196:36:2" - } - ], - "id": 1005, - "name": "VariableDeclaration", - "src": "3196:63:2" - }, - { - "attributes": { - "constant": false, - "name": "proposals", - "scope": 2542, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1006, - "name": "ElementaryTypeName", - "src": "3314:7:2" - }, - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 957, - "type": "struct EmergentVoteScheme.Proposal storage pointer" - }, - "id": 1007, - "name": "UserDefinedTypeName", - "src": "3323:8:2" - } - ], - "id": 1008, - "name": "Mapping", - "src": "3306:26:2" - } - ], - "id": 1009, - "name": "VariableDeclaration", - "src": "3306:43:2" - }, - { - "attributes": { - "constant": true, - "name": "MAX_NUM_OF_CHOICES", - "scope": 2542, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1010, - "name": "ElementaryTypeName", - "src": "3421:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3130", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 10", - "value": "10" - }, - "id": 1011, - "name": "Literal", - "src": "3463:2:2" - } - ], - "id": 1012, - "name": "VariableDeclaration", - "src": "3421:44:2" - }, - { - "attributes": { - "constant": false, - "name": "proposalsCnt", - "scope": 2542, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1013, - "name": "ElementaryTypeName", - "src": "3472:4:2" - } - ], - "id": 1014, - "name": "VariableDeclaration", - "src": "3472:17:2" - }, - { - "attributes": { - "name": "onlyProposalOwner", - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 1030, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1015, - "name": "ElementaryTypeName", - "src": "3654:7:2" - } - ], - "id": 1016, - "name": "VariableDeclaration", - "src": "3654:19:2" - } - ], - "id": 1017, - "name": "ParameterList", - "src": "3653:21:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 1018, - "name": "Identifier", - "src": "3686:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 1019, - "name": "Identifier", - "src": "3694:3:2" - } - ], - "id": 1020, - "name": "MemberAccess", - "src": "3694:10:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 928, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1021, - "name": "Identifier", - "src": "3708:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1016, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1022, - "name": "Identifier", - "src": "3718:11:2" - } - ], - "id": 1023, - "name": "IndexAccess", - "src": "3708:22:2" - } - ], - "id": 1024, - "name": "MemberAccess", - "src": "3708:28:2" - } - ], - "id": 1025, - "name": "BinaryOperation", - "src": "3694:42:2" - } - ], - "id": 1026, - "name": "FunctionCall", - "src": "3686:51:2" - } - ], - "id": 1027, - "name": "ExpressionStatement", - "src": "3686:51:2" - }, - { - "id": 1028, - "name": "PlaceholderStatement", - "src": "3748:1:2" - } - ], - "id": 1029, - "name": "Block", - "src": "3675:82:2" - } - ], - "id": 1030, - "name": "ModifierDefinition", - "src": "3627:130:2" - }, - { - "attributes": { - "name": "votable", - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 1043, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1031, - "name": "ElementaryTypeName", - "src": "3876:7:2" - } - ], - "id": 1032, - "name": "VariableDeclaration", - "src": "3876:19:2" - } - ], - "id": 1033, - "name": "ParameterList", - "src": "3875:21:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 1034, - "name": "Identifier", - "src": "3908:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "opened", - "referencedDeclaration": 948, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1035, - "name": "Identifier", - "src": "3916:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1032, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1036, - "name": "Identifier", - "src": "3926:11:2" - } - ], - "id": 1037, - "name": "IndexAccess", - "src": "3916:22:2" - } - ], - "id": 1038, - "name": "MemberAccess", - "src": "3916:29:2" - } - ], - "id": 1039, - "name": "FunctionCall", - "src": "3908:38:2" - } - ], - "id": 1040, - "name": "ExpressionStatement", - "src": "3908:38:2" - }, - { - "id": 1041, - "name": "PlaceholderStatement", - "src": "3957:1:2" - } - ], - "id": 1042, - "name": "Block", - "src": "3897:69:2" - } - ], - "id": 1043, - "name": "ModifierDefinition", - "src": "3859:107:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "EmergentVoteScheme", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 1062, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 1044, - "name": "UserDefinedTypeName", - "src": "4002:13:2" - } - ], - "id": 1045, - "name": "VariableDeclaration", - "src": "4002:26:2" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 1062, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1046, - "name": "ElementaryTypeName", - "src": "4030:4:2" - } - ], - "id": 1047, - "name": "VariableDeclaration", - "src": "4030:9:2" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 1062, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 1048, - "name": "ElementaryTypeName", - "src": "4041:7:2" - } - ], - "id": 1049, - "name": "VariableDeclaration", - "src": "4041:20:2" - } - ], - "id": 1050, - "name": "ParameterList", - "src": "4001:61:2" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 1051, - "name": "ParameterList", - "src": "4070:0:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 7207 - ], - "referencedDeclaration": 7207, - "type": "function (contract StandardToken,uint256,address,bytes32)", - "value": "updateParameters" - }, - "id": 1052, - "name": "Identifier", - "src": "4081:16:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1045, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 1053, - "name": "Identifier", - "src": "4112:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1047, - "type": "uint256", - "value": "_fee" - }, - "id": 1054, - "name": "Identifier", - "src": "4139:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1049, - "type": "address", - "value": "_beneficiary" - }, - "id": 1055, - "name": "Identifier", - "src": "4145:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 1056, - "name": "ElementaryTypeNameExpression", - "src": "4172:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1057, - "name": "Literal", - "src": "4180:1:2" - } - ], - "id": 1058, - "name": "FunctionCall", - "src": "4172:10:2" - } - ], - "id": 1059, - "name": "FunctionCall", - "src": "4081:102:2" - } - ], - "id": 1060, - "name": "ExpressionStatement", - "src": "4081:102:2" - } - ], - "id": 1061, - "name": "Block", - "src": "4070:121:2" - } - ], - "id": 1062, - "name": "FunctionDefinition", - "src": "3974:217:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setOrgParameters", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_reputationSystem", - "scope": 1114, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 1063, - "name": "UserDefinedTypeName", - "src": "4335:10:2" - } - ], - "id": 1064, - "name": "VariableDeclaration", - "src": "4335:28:2" - }, - { - "attributes": { - "constant": false, - "name": "_boostToken", - "scope": 1114, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 1065, - "name": "UserDefinedTypeName", - "src": "4374:13:2" - } - ], - "id": 1066, - "name": "VariableDeclaration", - "src": "4374:25:2" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 1114, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 1067, - "name": "ElementaryTypeName", - "src": "4410:7:2" - } - ], - "id": 1068, - "name": "VariableDeclaration", - "src": "4410:20:2" - }, - { - "attributes": { - "constant": false, - "name": "_attentionBandwidth", - "scope": 1114, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1069, - "name": "ElementaryTypeName", - "src": "4441:4:2" - } - ], - "id": 1070, - "name": "VariableDeclaration", - "src": "4441:24:2" - }, - { - "attributes": { - "constant": false, - "name": "_minBoostTimeFrame", - "scope": 1114, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1071, - "name": "ElementaryTypeName", - "src": "4476:4:2" - } - ], - "id": 1072, - "name": "VariableDeclaration", - "src": "4476:23:2" - }, - { - "attributes": { - "constant": false, - "name": "_maxBoostTimeFrame", - "scope": 1114, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1073, - "name": "ElementaryTypeName", - "src": "4510:4:2" - } - ], - "id": 1074, - "name": "VariableDeclaration", - "src": "4510:23:2" - }, - { - "attributes": { - "constant": false, - "name": "_minBoost", - "scope": 1114, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1075, - "name": "ElementaryTypeName", - "src": "4544:4:2" - } - ], - "id": 1076, - "name": "VariableDeclaration", - "src": "4544:14:2" - }, - { - "attributes": { - "constant": false, - "name": "_allowOwner", - "scope": 1114, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 1077, - "name": "ElementaryTypeName", - "src": "4569:4:2" - } - ], - "id": 1078, - "name": "VariableDeclaration", - "src": "4569:16:2" - } - ], - "id": 1079, - "name": "ParameterList", - "src": "4324:268:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 1114, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1080, - "name": "ElementaryTypeName", - "src": "4608:7:2" - } - ], - "id": 1081, - "name": "VariableDeclaration", - "src": "4608:7:2" - } - ], - "id": 1082, - "name": "ParameterList", - "src": "4607:9:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 1084 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 1114, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1083, - "name": "ElementaryTypeName", - "src": "4633:7:2" - } - ], - "id": 1084, - "name": "VariableDeclaration", - "src": "4633:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Reputation_$4357", - "typeString": "contract Reputation" - }, - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1151, - "type": "function (contract Reputation,contract StandardToken,address,uint256,uint256,uint256,uint256,bool) pure returns (bytes32)", - "value": "getOrgParametersHash" - }, - "id": 1085, - "name": "Identifier", - "src": "4654:20:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1064, - "type": "contract Reputation", - "value": "_reputationSystem" - }, - "id": 1086, - "name": "Identifier", - "src": "4689:17:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1066, - "type": "contract StandardToken", - "value": "_boostToken" - }, - "id": 1087, - "name": "Identifier", - "src": "4721:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1068, - "type": "address", - "value": "_beneficiary" - }, - "id": 1088, - "name": "Identifier", - "src": "4747:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1070, - "type": "uint256", - "value": "_attentionBandwidth" - }, - "id": 1089, - "name": "Identifier", - "src": "4774:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1072, - "type": "uint256", - "value": "_minBoostTimeFrame" - }, - "id": 1090, - "name": "Identifier", - "src": "4808:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1074, - "type": "uint256", - "value": "_maxBoostTimeFrame" - }, - "id": 1091, - "name": "Identifier", - "src": "4841:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1076, - "type": "uint256", - "value": "_minBoost" - }, - "id": 1092, - "name": "Identifier", - "src": "4874:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1078, - "type": "bool", - "value": "_allowOwner" - }, - "id": 1093, - "name": "Identifier", - "src": "4898:11:2" - } - ], - "id": 1094, - "name": "FunctionCall", - "src": "4654:266:2" - } - ], - "id": 1095, - "name": "VariableDeclarationStatement", - "src": "4633:287:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct EmergentVoteScheme.OrgParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct EmergentVoteScheme.OrgParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1001, - "type": "mapping(bytes32 => struct EmergentVoteScheme.OrgParameters storage ref)", - "value": "organizationsParameters" - }, - "id": 1096, - "name": "Identifier", - "src": "4931:23:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1084, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 1097, - "name": "Identifier", - "src": "4955:10:2" - } - ], - "id": 1098, - "name": "IndexAccess", - "src": "4931:35:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "reputationSystem", - "boostToken", - "beneficiary", - "attentionBandwidth", - "minBoostTimeFrame", - "maxBoostTimeFrame", - "minBoost", - "allowOwner" - ], - "type": "struct EmergentVoteScheme.OrgParameters memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 914, - "type": "type(struct EmergentVoteScheme.OrgParameters storage pointer)", - "value": "OrgParameters" - }, - "id": 1099, - "name": "Identifier", - "src": "4969:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1064, - "type": "contract Reputation", - "value": "_reputationSystem" - }, - "id": 1100, - "name": "Identifier", - "src": "5016:17:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1066, - "type": "contract StandardToken", - "value": "_boostToken" - }, - "id": 1101, - "name": "Identifier", - "src": "5060:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1068, - "type": "address", - "value": "_beneficiary" - }, - "id": 1102, - "name": "Identifier", - "src": "5099:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1070, - "type": "uint256", - "value": "_attentionBandwidth" - }, - "id": 1103, - "name": "Identifier", - "src": "5146:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1072, - "type": "uint256", - "value": "_minBoostTimeFrame" - }, - "id": 1104, - "name": "Identifier", - "src": "5199:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1074, - "type": "uint256", - "value": "_maxBoostTimeFrame" - }, - "id": 1105, - "name": "Identifier", - "src": "5251:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1076, - "type": "uint256", - "value": "_minBoost" - }, - "id": 1106, - "name": "Identifier", - "src": "5294:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1078, - "type": "bool", - "value": "_allowOwner" - }, - "id": 1107, - "name": "Identifier", - "src": "5330:11:2" - } - ], - "id": 1108, - "name": "FunctionCall", - "src": "4969:384:2" - } - ], - "id": 1109, - "name": "Assignment", - "src": "4931:422:2" - } - ], - "id": 1110, - "name": "ExpressionStatement", - "src": "4931:422:2" - }, - { - "attributes": { - "functionReturnParameters": 1082 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1084, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 1111, - "name": "Identifier", - "src": "5371:10:2" - } - ], - "id": 1112, - "name": "Return", - "src": "5364:17:2" - } - ], - "id": 1113, - "name": "Block", - "src": "4622:767:2" - } - ], - "id": 1114, - "name": "FunctionDefinition", - "src": "4299:1090:2" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getOrgParametersHash", - "payable": false, - "scope": 2542, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_reputationSystem", - "scope": 1151, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 1115, - "name": "UserDefinedTypeName", - "src": "5437:10:2" - } - ], - "id": 1116, - "name": "VariableDeclaration", - "src": "5437:28:2" - }, - { - "attributes": { - "constant": false, - "name": "_boostToken", - "scope": 1151, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 1117, - "name": "UserDefinedTypeName", - "src": "5476:13:2" - } - ], - "id": 1118, - "name": "VariableDeclaration", - "src": "5476:25:2" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 1151, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 1119, - "name": "ElementaryTypeName", - "src": "5512:7:2" - } - ], - "id": 1120, - "name": "VariableDeclaration", - "src": "5512:20:2" - }, - { - "attributes": { - "constant": false, - "name": "_attentionBandwidth", - "scope": 1151, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1121, - "name": "ElementaryTypeName", - "src": "5543:4:2" - } - ], - "id": 1122, - "name": "VariableDeclaration", - "src": "5543:24:2" - }, - { - "attributes": { - "constant": false, - "name": "_minBoostTimeFrame", - "scope": 1151, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1123, - "name": "ElementaryTypeName", - "src": "5578:4:2" - } - ], - "id": 1124, - "name": "VariableDeclaration", - "src": "5578:23:2" - }, - { - "attributes": { - "constant": false, - "name": "_maxBoostTimeFrame", - "scope": 1151, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1125, - "name": "ElementaryTypeName", - "src": "5612:4:2" - } - ], - "id": 1126, - "name": "VariableDeclaration", - "src": "5612:23:2" - }, - { - "attributes": { - "constant": false, - "name": "_minBoost", - "scope": 1151, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1127, - "name": "ElementaryTypeName", - "src": "5646:4:2" - } - ], - "id": 1128, - "name": "VariableDeclaration", - "src": "5646:14:2" - }, - { - "attributes": { - "constant": false, - "name": "_allowOwner", - "scope": 1151, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 1129, - "name": "ElementaryTypeName", - "src": "5671:4:2" - } - ], - "id": 1130, - "name": "VariableDeclaration", - "src": "5671:16:2" - } - ], - "id": 1131, - "name": "ParameterList", - "src": "5426:268:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 1151, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1132, - "name": "ElementaryTypeName", - "src": "5715:7:2" - } - ], - "id": 1133, - "name": "VariableDeclaration", - "src": "5715:7:2" - } - ], - "id": 1134, - "name": "ParameterList", - "src": "5714:9:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 1136 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 1151, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1135, - "name": "ElementaryTypeName", - "src": "5740:7:2" - } - ], - "id": 1136, - "name": "VariableDeclaration", - "src": "5740:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Reputation_$4357", - "typeString": "contract Reputation" - }, - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 1137, - "name": "Identifier", - "src": "5761:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1116, - "type": "contract Reputation", - "value": "_reputationSystem" - }, - "id": 1138, - "name": "Identifier", - "src": "5785:17:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1118, - "type": "contract StandardToken", - "value": "_boostToken" - }, - "id": 1139, - "name": "Identifier", - "src": "5817:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1120, - "type": "address", - "value": "_beneficiary" - }, - "id": 1140, - "name": "Identifier", - "src": "5843:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1122, - "type": "uint256", - "value": "_attentionBandwidth" - }, - "id": 1141, - "name": "Identifier", - "src": "5870:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1124, - "type": "uint256", - "value": "_minBoostTimeFrame" - }, - "id": 1142, - "name": "Identifier", - "src": "5904:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1126, - "type": "uint256", - "value": "_maxBoostTimeFrame" - }, - "id": 1143, - "name": "Identifier", - "src": "5937:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1128, - "type": "uint256", - "value": "_minBoost" - }, - "id": 1144, - "name": "Identifier", - "src": "5970:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1130, - "type": "bool", - "value": "_allowOwner" - }, - "id": 1145, - "name": "Identifier", - "src": "5994:11:2" - } - ], - "id": 1146, - "name": "FunctionCall", - "src": "5761:255:2" - } - ], - "id": 1147, - "name": "VariableDeclarationStatement", - "src": "5740:276:2" - }, - { - "attributes": { - "functionReturnParameters": 1134 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1136, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 1148, - "name": "Identifier", - "src": "6034:10:2" - } - ], - "id": 1149, - "name": "Return", - "src": "6027:17:2" - } - ], - "id": 1150, - "name": "Block", - "src": "5729:323:2" - } - ], - "id": 1151, - "name": "FunctionDefinition", - "src": "5397:655:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setProposalParameters", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_precReq", - "scope": 1203, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1152, - "name": "ElementaryTypeName", - "src": "6531:4:2" - } - ], - "id": 1153, - "name": "VariableDeclaration", - "src": "6531:13:2" - }, - { - "attributes": { - "constant": false, - "name": "_quorum", - "scope": 1203, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1154, - "name": "ElementaryTypeName", - "src": "6546:4:2" - } - ], - "id": 1155, - "name": "VariableDeclaration", - "src": "6546:12:2" - }, - { - "attributes": { - "constant": false, - "name": "_boostTimeFrame", - "scope": 1203, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1156, - "name": "ElementaryTypeName", - "src": "6560:4:2" - } - ], - "id": 1157, - "name": "VariableDeclaration", - "src": "6560:20:2" - } - ], - "id": 1158, - "name": "ParameterList", - "src": "6530:51:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 1203, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1159, - "name": "ElementaryTypeName", - "src": "6597:7:2" - } - ], - "id": 1160, - "name": "VariableDeclaration", - "src": "6597:7:2" - } - ], - "id": 1161, - "name": "ParameterList", - "src": "6596:9:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 1162, - "name": "Identifier", - "src": "6617:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1153, - "type": "uint256", - "value": "_precReq" - }, - "id": 1163, - "name": "Identifier", - "src": "6625:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "313030", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 100", - "value": "100" - }, - "id": 1164, - "name": "Literal", - "src": "6637:3:2" - } - ], - "id": 1165, - "name": "BinaryOperation", - "src": "6625:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1153, - "type": "uint256", - "value": "_precReq" - }, - "id": 1166, - "name": "Identifier", - "src": "6644:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1167, - "name": "Literal", - "src": "6655:1:2" - } - ], - "id": 1168, - "name": "BinaryOperation", - "src": "6644:12:2" - } - ], - "id": 1169, - "name": "BinaryOperation", - "src": "6625:31:2" - } - ], - "id": 1170, - "name": "FunctionCall", - "src": "6617:40:2" - } - ], - "id": 1171, - "name": "ExpressionStatement", - "src": "6617:40:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 1172, - "name": "Identifier", - "src": "6668:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1155, - "type": "uint256", - "value": "_quorum" - }, - "id": 1173, - "name": "Identifier", - "src": "6676:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "313030", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 100", - "value": "100" - }, - "id": 1174, - "name": "Literal", - "src": "6687:3:2" - } - ], - "id": 1175, - "name": "BinaryOperation", - "src": "6676:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1155, - "type": "uint256", - "value": "_quorum" - }, - "id": 1176, - "name": "Identifier", - "src": "6694:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1177, - "name": "Literal", - "src": "6704:1:2" - } - ], - "id": 1178, - "name": "BinaryOperation", - "src": "6694:11:2" - } - ], - "id": 1179, - "name": "BinaryOperation", - "src": "6676:29:2" - } - ], - "id": 1180, - "name": "FunctionCall", - "src": "6668:38:2" - } - ], - "id": 1181, - "name": "ExpressionStatement", - "src": "6668:38:2" - }, - { - "attributes": { - "assignments": [ - 1183 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "hashedParameters", - "scope": 1203, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1182, - "name": "ElementaryTypeName", - "src": "6717:7:2" - } - ], - "id": 1183, - "name": "VariableDeclaration", - "src": "6717:24:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1221, - "type": "function (uint256,uint256,uint256) pure returns (bytes32)", - "value": "getProposalParametersHash" - }, - "id": 1184, - "name": "Identifier", - "src": "6744:25:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1153, - "type": "uint256", - "value": "_precReq" - }, - "id": 1185, - "name": "Identifier", - "src": "6770:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1155, - "type": "uint256", - "value": "_quorum" - }, - "id": 1186, - "name": "Identifier", - "src": "6780:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1157, - "type": "uint256", - "value": "_boostTimeFrame" - }, - "id": 1187, - "name": "Identifier", - "src": "6789:15:2" - } - ], - "id": 1188, - "name": "FunctionCall", - "src": "6744:61:2" - } - ], - "id": 1189, - "name": "VariableDeclarationStatement", - "src": "6717:88:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct EmergentVoteScheme.ProposalParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct EmergentVoteScheme.ProposalParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1005, - "type": "mapping(bytes32 => struct EmergentVoteScheme.ProposalParameters storage ref)", - "value": "proposalsParameters" - }, - "id": 1190, - "name": "Identifier", - "src": "6816:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1183, - "type": "bytes32", - "value": "hashedParameters" - }, - "id": 1191, - "name": "Identifier", - "src": "6836:16:2" - } - ], - "id": 1192, - "name": "IndexAccess", - "src": "6816:37:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "precReq", - "quorum", - "boostTimeFrame" - ], - "type": "struct EmergentVoteScheme.ProposalParameters memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 921, - "type": "type(struct EmergentVoteScheme.ProposalParameters storage pointer)", - "value": "ProposalParameters" - }, - "id": 1193, - "name": "Identifier", - "src": "6856:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1153, - "type": "uint256", - "value": "_precReq" - }, - "id": 1194, - "name": "Identifier", - "src": "6899:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1155, - "type": "uint256", - "value": "_quorum" - }, - "id": 1195, - "name": "Identifier", - "src": "6930:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1157, - "type": "uint256", - "value": "_boostTimeFrame" - }, - "id": 1196, - "name": "Identifier", - "src": "6968:15:2" - } - ], - "id": 1197, - "name": "FunctionCall", - "src": "6856:139:2" - } - ], - "id": 1198, - "name": "Assignment", - "src": "6816:179:2" - } - ], - "id": 1199, - "name": "ExpressionStatement", - "src": "6816:179:2" - }, - { - "attributes": { - "functionReturnParameters": 1161 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1183, - "type": "bytes32", - "value": "hashedParameters" - }, - "id": 1200, - "name": "Identifier", - "src": "7013:16:2" - } - ], - "id": 1201, - "name": "Return", - "src": "7006:23:2" - } - ], - "id": 1202, - "name": "Block", - "src": "6606:431:2" - } - ], - "id": 1203, - "name": "FunctionDefinition", - "src": "6500:537:2" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getProposalParametersHash", - "payable": false, - "scope": 2542, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_precReq", - "scope": 1221, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1204, - "name": "ElementaryTypeName", - "src": "7163:4:2" - } - ], - "id": 1205, - "name": "VariableDeclaration", - "src": "7163:13:2" - }, - { - "attributes": { - "constant": false, - "name": "_quorum", - "scope": 1221, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1206, - "name": "ElementaryTypeName", - "src": "7178:4:2" - } - ], - "id": 1207, - "name": "VariableDeclaration", - "src": "7178:12:2" - }, - { - "attributes": { - "constant": false, - "name": "_boostTimeFrame", - "scope": 1221, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1208, - "name": "ElementaryTypeName", - "src": "7192:4:2" - } - ], - "id": 1209, - "name": "VariableDeclaration", - "src": "7192:20:2" - } - ], - "id": 1210, - "name": "ParameterList", - "src": "7162:51:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 1221, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1211, - "name": "ElementaryTypeName", - "src": "7234:7:2" - } - ], - "id": 1212, - "name": "VariableDeclaration", - "src": "7234:7:2" - } - ], - "id": 1213, - "name": "ParameterList", - "src": "7233:9:2" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 1213 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 1214, - "name": "Identifier", - "src": "7261:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1205, - "type": "uint256", - "value": "_precReq" - }, - "id": 1215, - "name": "Identifier", - "src": "7271:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1207, - "type": "uint256", - "value": "_quorum" - }, - "id": 1216, - "name": "Identifier", - "src": "7281:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1209, - "type": "uint256", - "value": "_boostTimeFrame" - }, - "id": 1217, - "name": "Identifier", - "src": "7290:15:2" - } - ], - "id": 1218, - "name": "FunctionCall", - "src": "7261:45:2" - } - ], - "id": 1219, - "name": "Return", - "src": "7254:52:2" - } - ], - "id": 1220, - "name": "Block", - "src": "7243:71:2" - } - ], - "id": 1221, - "name": "FunctionDefinition", - "src": "7128:186:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "propose", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": 2570, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_numOfChoices", - "scope": 1326, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1222, - "name": "ElementaryTypeName", - "src": "7923:4:2" - } - ], - "id": 1223, - "name": "VariableDeclaration", - "src": "7923:18:2" - }, - { - "attributes": { - "constant": false, - "name": "_paramsHash", - "scope": 1326, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1224, - "name": "ElementaryTypeName", - "src": "7952:7:2" - } - ], - "id": 1225, - "name": "VariableDeclaration", - "src": "7952:19:2" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 1326, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 1226, - "name": "ElementaryTypeName", - "src": "7982:7:2" - } - ], - "id": 1227, - "name": "VariableDeclaration", - "src": "7982:15:2" - }, - { - "attributes": { - "constant": false, - "name": "_executable", - "scope": 1326, - "stateVariable": false, - "storageLocation": "default", - "type": "contract ExecutableInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ExecutableInterface", - "referencedDeclaration": 5155, - "type": "contract ExecutableInterface" - }, - "id": 1228, - "name": "UserDefinedTypeName", - "src": "8008:19:2" - } - ], - "id": 1229, - "name": "VariableDeclaration", - "src": "8008:31:2" - } - ], - "id": 1230, - "name": "ParameterList", - "src": "7912:134:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 1326, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1231, - "name": "ElementaryTypeName", - "src": "8062:7:2" - } - ], - "id": 1232, - "name": "VariableDeclaration", - "src": "8062:7:2" - } - ], - "id": 1233, - "name": "ParameterList", - "src": "8061:9:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 1234, - "name": "Identifier", - "src": "8130:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1223, - "type": "uint256", - "value": "_numOfChoices" - }, - "id": 1235, - "name": "Identifier", - "src": "8138:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1236, - "name": "Literal", - "src": "8154:1:2" - } - ], - "id": 1237, - "name": "BinaryOperation", - "src": "8138:17:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1223, - "type": "uint256", - "value": "_numOfChoices" - }, - "id": 1238, - "name": "Identifier", - "src": "8159:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1012, - "type": "uint256", - "value": "MAX_NUM_OF_CHOICES" - }, - "id": 1239, - "name": "Identifier", - "src": "8176:18:2" - } - ], - "id": 1240, - "name": "BinaryOperation", - "src": "8159:35:2" - } - ], - "id": 1241, - "name": "BinaryOperation", - "src": "8138:56:2" - } - ], - "id": 1242, - "name": "FunctionCall", - "src": "8130:65:2" - } - ], - "id": 1243, - "name": "ExpressionStatement", - "src": "8130:65:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 1244, - "name": "Identifier", - "src": "8245:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "isRegistered", - "referencedDeclaration": 891, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 997, - "type": "mapping(address => struct EmergentVoteScheme.Organization storage ref)", - "value": "organizations" - }, - "id": 1245, - "name": "Identifier", - "src": "8253:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1227, - "type": "address", - "value": "_avatar" - }, - "id": 1246, - "name": "Identifier", - "src": "8267:7:2" - } - ], - "id": 1247, - "name": "IndexAccess", - "src": "8253:22:2" - } - ], - "id": 1248, - "name": "MemberAccess", - "src": "8253:35:2" - } - ], - "id": 1249, - "name": "FunctionCall", - "src": "8245:44:2" - } - ], - "id": 1250, - "name": "ExpressionStatement", - "src": "8245:44:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 1251, - "name": "Identifier", - "src": "8334:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "precReq", - "referencedDeclaration": 916, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.ProposalParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1005, - "type": "mapping(bytes32 => struct EmergentVoteScheme.ProposalParameters storage ref)", - "value": "proposalsParameters" - }, - "id": 1252, - "name": "Identifier", - "src": "8342:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1225, - "type": "bytes32", - "value": "_paramsHash" - }, - "id": 1253, - "name": "Identifier", - "src": "8362:11:2" - } - ], - "id": 1254, - "name": "IndexAccess", - "src": "8342:32:2" - } - ], - "id": 1255, - "name": "MemberAccess", - "src": "8342:40:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1256, - "name": "Literal", - "src": "8386:1:2" - } - ], - "id": 1257, - "name": "BinaryOperation", - "src": "8342:45:2" - } - ], - "id": 1258, - "name": "FunctionCall", - "src": "8334:54:2" - } - ], - "id": 1259, - "name": "ExpressionStatement", - "src": "8334:54:2" - }, - { - "attributes": { - "assignments": [ - 1261 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposalId", - "scope": 1326, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1260, - "name": "ElementaryTypeName", - "src": "8435:7:2" - } - ], - "id": 1261, - "name": "VariableDeclaration", - "src": "8435:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_EmergentVoteScheme_$2542", - "typeString": "contract EmergentVoteScheme" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 1262, - "name": "Identifier", - "src": "8456:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9789, - "type": "contract EmergentVoteScheme", - "value": "this" - }, - "id": 1263, - "name": "Identifier", - "src": "8466:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1014, - "type": "uint256", - "value": "proposalsCnt" - }, - "id": 1264, - "name": "Identifier", - "src": "8472:12:2" - } - ], - "id": 1265, - "name": "FunctionCall", - "src": "8456:29:2" - } - ], - "id": 1266, - "name": "VariableDeclarationStatement", - "src": "8435:50:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1014, - "type": "uint256", - "value": "proposalsCnt" - }, - "id": 1267, - "name": "Identifier", - "src": "8496:12:2" - } - ], - "id": 1268, - "name": "UnaryOperation", - "src": "8496:14:2" - } - ], - "id": 1269, - "name": "ExpressionStatement", - "src": "8496:14:2" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 1326, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct EmergentVoteScheme.Proposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 957, - "type": "struct EmergentVoteScheme.Proposal storage pointer" - }, - "id": 1270, - "name": "UserDefinedTypeName", - "src": "8550:8:2" - } - ], - "id": 1271, - "name": "VariableDeclaration", - "src": "8550:24:2" - } - ], - "id": 1272, - "name": "VariableDeclarationStatement", - "src": "8550:24:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "paramsHash", - "referencedDeclaration": 936, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1271, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "proposal" - }, - "id": 1273, - "name": "Identifier", - "src": "8585:8:2" - } - ], - "id": 1275, - "name": "MemberAccess", - "src": "8585:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1225, - "type": "bytes32", - "value": "_paramsHash" - }, - "id": 1276, - "name": "Identifier", - "src": "8607:11:2" - } - ], - "id": 1277, - "name": "Assignment", - "src": "8585:33:2" - } - ], - "id": 1278, - "name": "ExpressionStatement", - "src": "8585:33:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "numOfChoices", - "referencedDeclaration": 932, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1271, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "proposal" - }, - "id": 1279, - "name": "Identifier", - "src": "8629:8:2" - } - ], - "id": 1281, - "name": "MemberAccess", - "src": "8629:21:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1223, - "type": "uint256", - "value": "_numOfChoices" - }, - "id": 1282, - "name": "Identifier", - "src": "8653:13:2" - } - ], - "id": 1283, - "name": "Assignment", - "src": "8629:37:2" - } - ], - "id": 1284, - "name": "ExpressionStatement", - "src": "8629:37:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "avatar", - "referencedDeclaration": 930, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1271, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "proposal" - }, - "id": 1285, - "name": "Identifier", - "src": "8677:8:2" - } - ], - "id": 1287, - "name": "MemberAccess", - "src": "8677:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1227, - "type": "address", - "value": "_avatar" - }, - "id": 1288, - "name": "Identifier", - "src": "8695:7:2" - } - ], - "id": 1289, - "name": "Assignment", - "src": "8677:25:2" - } - ], - "id": 1290, - "name": "ExpressionStatement", - "src": "8677:25:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "executable", - "referencedDeclaration": 934, - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1271, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "proposal" - }, - "id": 1291, - "name": "Identifier", - "src": "8713:8:2" - } - ], - "id": 1293, - "name": "MemberAccess", - "src": "8713:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1229, - "type": "contract ExecutableInterface", - "value": "_executable" - }, - "id": 1294, - "name": "Identifier", - "src": "8735:11:2" - } - ], - "id": 1295, - "name": "Assignment", - "src": "8713:33:2" - } - ], - "id": 1296, - "name": "ExpressionStatement", - "src": "8713:33:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "owner", - "referencedDeclaration": 928, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1271, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "proposal" - }, - "id": 1297, - "name": "Identifier", - "src": "8757:8:2" - } - ], - "id": 1299, - "name": "MemberAccess", - "src": "8757:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 1300, - "name": "Identifier", - "src": "8774:3:2" - } - ], - "id": 1301, - "name": "MemberAccess", - "src": "8774:10:2" - } - ], - "id": 1302, - "name": "Assignment", - "src": "8757:27:2" - } - ], - "id": 1303, - "name": "ExpressionStatement", - "src": "8757:27:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "opened", - "referencedDeclaration": 948, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1271, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "proposal" - }, - "id": 1304, - "name": "Identifier", - "src": "8795:8:2" - } - ], - "id": 1306, - "name": "MemberAccess", - "src": "8795:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 1307, - "name": "Literal", - "src": "8813:4:2" - } - ], - "id": 1308, - "name": "Assignment", - "src": "8795:22:2" - } - ], - "id": 1309, - "name": "ExpressionStatement", - "src": "8795:22:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1310, - "name": "Identifier", - "src": "8828:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1261, - "type": "bytes32", - "value": "proposalId" - }, - "id": 1311, - "name": "Identifier", - "src": "8838:10:2" - } - ], - "id": 1312, - "name": "IndexAccess", - "src": "8828:21:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1271, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "proposal" - }, - "id": 1313, - "name": "Identifier", - "src": "8852:8:2" - } - ], - "id": 1314, - "name": "Assignment", - "src": "8828:32:2" - } - ], - "id": 1315, - "name": "ExpressionStatement", - "src": "8828:32:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 965, - 7117 - ], - "referencedDeclaration": 965, - "type": "function (bytes32,address,bytes32)", - "value": "LogNewProposal" - }, - "id": 1316, - "name": "Identifier", - "src": "8871:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1261, - "type": "bytes32", - "value": "proposalId" - }, - "id": 1317, - "name": "Identifier", - "src": "8886:10:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 1318, - "name": "Identifier", - "src": "8898:3:2" - } - ], - "id": 1319, - "name": "MemberAccess", - "src": "8898:10:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1225, - "type": "bytes32", - "value": "_paramsHash" - }, - "id": 1320, - "name": "Identifier", - "src": "8910:11:2" - } - ], - "id": 1321, - "name": "FunctionCall", - "src": "8871:51:2" - } - ], - "id": 1322, - "name": "ExpressionStatement", - "src": "8871:51:2" - }, - { - "attributes": { - "functionReturnParameters": 1233 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1261, - "type": "bytes32", - "value": "proposalId" - }, - "id": 1323, - "name": "Identifier", - "src": "8940:10:2" - } - ], - "id": 1324, - "name": "Return", - "src": "8933:17:2" - } - ], - "id": 1325, - "name": "Block", - "src": "8076:882:2" - } - ], - "id": 1326, - "name": "FunctionDefinition", - "src": "7896:1062:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "cancelProposal", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": 2583, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 1404, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1327, - "name": "ElementaryTypeName", - "src": "9231:7:2" - } - ], - "id": 1328, - "name": "VariableDeclaration", - "src": "9231:19:2" - } - ], - "id": 1329, - "name": "ParameterList", - "src": "9230:21:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 1404, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 1336, - "name": "ElementaryTypeName", - "src": "9319:4:2" - } - ], - "id": 1337, - "name": "VariableDeclaration", - "src": "9319:4:2" - } - ], - "id": 1338, - "name": "ParameterList", - "src": "9318:6:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1030, - "type": "modifier (bytes32)", - "value": "onlyProposalOwner" - }, - "id": 1330, - "name": "Identifier", - "src": "9259:17:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1328, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1331, - "name": "Identifier", - "src": "9277:11:2" - } - ], - "id": 1332, - "name": "ModifierInvocation", - "src": "9259:30:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1043, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 1333, - "name": "Identifier", - "src": "9290:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1328, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1334, - "name": "Identifier", - "src": "9298:11:2" - } - ], - "id": 1335, - "name": "ModifierInvocation", - "src": "9290:20:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 1340 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "avatar", - "scope": 1404, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 1339, - "name": "ElementaryTypeName", - "src": "9336:7:2" - } - ], - "id": 1340, - "name": "VariableDeclaration", - "src": "9336:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "avatar", - "referencedDeclaration": 930, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1341, - "name": "Identifier", - "src": "9353:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1328, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1342, - "name": "Identifier", - "src": "9363:11:2" - } - ], - "id": 1343, - "name": "IndexAccess", - "src": "9353:22:2" - } - ], - "id": 1344, - "name": "MemberAccess", - "src": "9353:29:2" - } - ], - "id": 1345, - "name": "VariableDeclarationStatement", - "src": "9336:46:2" - }, - { - "attributes": { - "assignments": [ - 1347 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 1404, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1346, - "name": "ElementaryTypeName", - "src": "9393:7:2" - } - ], - "id": 1347, - "name": "VariableDeclaration", - "src": "9393:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 1348, - "name": "Identifier", - "src": "9414:27:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 1349, - "name": "Identifier", - "src": "9442:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1340, - "type": "address", - "value": "avatar" - }, - "id": 1350, - "name": "Identifier", - "src": "9449:6:2" - } - ], - "id": 1351, - "name": "FunctionCall", - "src": "9442:14:2" - } - ], - "id": 1352, - "name": "FunctionCall", - "src": "9414:43:2" - } - ], - "id": 1353, - "name": "VariableDeclarationStatement", - "src": "9393:64:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "allowOwner", - "referencedDeclaration": 913, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.OrgParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1001, - "type": "mapping(bytes32 => struct EmergentVoteScheme.OrgParameters storage ref)", - "value": "organizationsParameters" - }, - "id": 1354, - "name": "Identifier", - "src": "9474:23:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1347, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 1355, - "name": "Identifier", - "src": "9498:10:2" - } - ], - "id": 1356, - "name": "IndexAccess", - "src": "9474:35:2" - } - ], - "id": 1357, - "name": "MemberAccess", - "src": "9474:46:2" - } - ], - "id": 1358, - "name": "UnaryOperation", - "src": "9472:48:2" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 1338 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 1359, - "name": "Literal", - "src": "9544:5:2" - } - ], - "id": 1360, - "name": "Return", - "src": "9537:12:2" - } - ], - "id": 1361, - "name": "Block", - "src": "9522:39:2" - } - ], - "id": 1362, - "name": "IfStatement", - "src": "9468:93:2" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "isFound", - "scope": 1404, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 1363, - "name": "ElementaryTypeName", - "src": "9634:4:2" - } - ], - "id": 1364, - "name": "VariableDeclaration", - "src": "9634:12:2" - } - ], - "id": 1365, - "name": "VariableDeclarationStatement", - "src": "9634:12:2" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "index", - "scope": 1404, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1366, - "name": "ElementaryTypeName", - "src": "9657:4:2" - } - ], - "id": 1367, - "name": "VariableDeclaration", - "src": "9657:10:2" - } - ], - "id": 1368, - "name": "VariableDeclarationStatement", - "src": "9657:10:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "tuple(bool,uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1364, - "type": "bool", - "value": "isFound" - }, - "id": 1369, - "name": "Identifier", - "src": "9679:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1367, - "type": "uint256", - "value": "index" - }, - "id": 1370, - "name": "Identifier", - "src": "9688:5:2" - } - ], - "id": 1371, - "name": "TupleExpression", - "src": "9678:16:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple(bool,uint256)", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1553, - "type": "function (bytes32[] memory,bytes32) pure returns (bool,uint256)", - "value": "findInArray" - }, - "id": 1372, - "name": "Identifier", - "src": "9697:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 997, - "type": "mapping(address => struct EmergentVoteScheme.Organization storage ref)", - "value": "organizations" - }, - "id": 1373, - "name": "Identifier", - "src": "9709:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1340, - "type": "address", - "value": "avatar" - }, - "id": 1374, - "name": "Identifier", - "src": "9723:6:2" - } - ], - "id": 1375, - "name": "IndexAccess", - "src": "9709:21:2" - } - ], - "id": 1376, - "name": "MemberAccess", - "src": "9709:44:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1328, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1377, - "name": "Identifier", - "src": "9755:11:2" - } - ], - "id": 1378, - "name": "FunctionCall", - "src": "9697:70:2" - } - ], - "id": 1379, - "name": "Assignment", - "src": "9678:89:2" - } - ], - "id": 1380, - "name": "ExpressionStatement", - "src": "9678:89:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1364, - "type": "bool", - "value": "isFound" - }, - "id": 1381, - "name": "Identifier", - "src": "9782:7:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2388, - "type": "function (bytes32[] storage pointer,uint256)", - "value": "deleteFromArray" - }, - "id": 1382, - "name": "Identifier", - "src": "9806:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 997, - "type": "mapping(address => struct EmergentVoteScheme.Organization storage ref)", - "value": "organizations" - }, - "id": 1383, - "name": "Identifier", - "src": "9822:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1340, - "type": "address", - "value": "avatar" - }, - "id": 1384, - "name": "Identifier", - "src": "9836:6:2" - } - ], - "id": 1385, - "name": "IndexAccess", - "src": "9822:21:2" - } - ], - "id": 1386, - "name": "MemberAccess", - "src": "9822:44:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1367, - "type": "uint256", - "value": "index" - }, - "id": 1387, - "name": "Identifier", - "src": "9868:5:2" - } - ], - "id": 1388, - "name": "FunctionCall", - "src": "9806:68:2" - } - ], - "id": 1389, - "name": "ExpressionStatement", - "src": "9806:68:2" - } - ], - "id": 1390, - "name": "Block", - "src": "9791:95:2" - } - ], - "id": 1391, - "name": "IfStatement", - "src": "9778:108:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1392, - "name": "Identifier", - "src": "9905:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1328, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1393, - "name": "Identifier", - "src": "9915:11:2" - } - ], - "id": 1394, - "name": "IndexAccess", - "src": "9905:22:2" - } - ], - "id": 1395, - "name": "UnaryOperation", - "src": "9898:29:2" - } - ], - "id": 1396, - "name": "ExpressionStatement", - "src": "9898:29:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 969, - "type": "function (bytes32)", - "value": "LogCancelProposal" - }, - "id": 1397, - "name": "Identifier", - "src": "9938:17:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1328, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1398, - "name": "Identifier", - "src": "9956:11:2" - } - ], - "id": 1399, - "name": "FunctionCall", - "src": "9938:30:2" - } - ], - "id": 1400, - "name": "ExpressionStatement", - "src": "9938:30:2" - }, - { - "attributes": { - "functionReturnParameters": 1338 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 1401, - "name": "Literal", - "src": "9986:4:2" - } - ], - "id": 1402, - "name": "Return", - "src": "9979:11:2" - } - ], - "id": 1403, - "name": "Block", - "src": "9325:673:2" - } - ], - "id": 1404, - "name": "FunctionDefinition", - "src": "9207:791:2" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "proposalScore", - "payable": false, - "scope": 2542, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 1426, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1405, - "name": "ElementaryTypeName", - "src": "10272:7:2" - } - ], - "id": 1406, - "name": "VariableDeclaration", - "src": "10272:19:2" - } - ], - "id": 1407, - "name": "ParameterList", - "src": "10271:21:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 1426, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1408, - "name": "ElementaryTypeName", - "src": "10317:4:2" - } - ], - "id": 1409, - "name": "VariableDeclaration", - "src": "10317:4:2" - } - ], - "id": 1410, - "name": "ParameterList", - "src": "10316:6:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 1412 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 1426, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct EmergentVoteScheme.Proposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 957, - "type": "struct EmergentVoteScheme.Proposal storage pointer" - }, - "id": 1411, - "name": "UserDefinedTypeName", - "src": "10334:8:2" - } - ], - "id": 1412, - "name": "VariableDeclaration", - "src": "10334:24:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1413, - "name": "Identifier", - "src": "10361:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1406, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1414, - "name": "Identifier", - "src": "10371:11:2" - } - ], - "id": 1415, - "name": "IndexAccess", - "src": "10361:22:2" - } - ], - "id": 1416, - "name": "VariableDeclarationStatement", - "src": "10334:49:2" - }, - { - "attributes": { - "functionReturnParameters": 1410 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mul", - "referencedDeclaration": 9021, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "boostedFunds", - "referencedDeclaration": 956, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1412, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "proposal" - }, - "id": 1417, - "name": "Identifier", - "src": "10402:8:2" - } - ], - "id": 1418, - "name": "MemberAccess", - "src": "10402:21:2" - } - ], - "id": 1419, - "name": "MemberAccess", - "src": "10402:25:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalVotes", - "referencedDeclaration": 938, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1412, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "proposal" - }, - "id": 1420, - "name": "Identifier", - "src": "10428:8:2" - } - ], - "id": 1421, - "name": "MemberAccess", - "src": "10428:19:2" - } - ], - "id": 1422, - "name": "FunctionCall", - "src": "10402:46:2" - } - ], - "id": 1423, - "name": "TupleExpression", - "src": "10401:48:2" - } - ], - "id": 1424, - "name": "Return", - "src": "10394:55:2" - } - ], - "id": 1425, - "name": "Block", - "src": "10323:134:2" - } - ], - "id": 1426, - "name": "FunctionDefinition", - "src": "10249:208:2" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "findMinScore", - "payable": false, - "scope": 2542, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_idsArray", - "scope": 1471, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1427, - "name": "ElementaryTypeName", - "src": "10777:7:2" - } - ], - "id": 1428, - "name": "ArrayTypeName", - "src": "10777:9:2" - } - ], - "id": 1429, - "name": "VariableDeclaration", - "src": "10777:19:2" - } - ], - "id": 1430, - "name": "ParameterList", - "src": "10776:21:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "index", - "scope": 1471, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1431, - "name": "ElementaryTypeName", - "src": "10822:4:2" - } - ], - "id": 1432, - "name": "VariableDeclaration", - "src": "10822:10:2" - }, - { - "attributes": { - "constant": false, - "name": "min", - "scope": 1471, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1433, - "name": "ElementaryTypeName", - "src": "10834:4:2" - } - ], - "id": 1434, - "name": "VariableDeclaration", - "src": "10834:8:2" - } - ], - "id": 1435, - "name": "ParameterList", - "src": "10821:22:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "assignments": [ - 1437 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 1471, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1436, - "name": "ElementaryTypeName", - "src": "10860:4:2" - } - ], - "id": 1437, - "name": "VariableDeclaration", - "src": "10860:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1438, - "name": "Literal", - "src": "10871:1:2" - } - ], - "id": 1439, - "name": "VariableDeclarationStatement", - "src": "10860:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1437, - "type": "uint256", - "value": "cnt" - }, - "id": 1440, - "name": "Identifier", - "src": "10874:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1429, - "type": "bytes32[] memory", - "value": "_idsArray" - }, - "id": 1441, - "name": "Identifier", - "src": "10878:9:2" - } - ], - "id": 1442, - "name": "MemberAccess", - "src": "10878:16:2" - } - ], - "id": 1443, - "name": "BinaryOperation", - "src": "10874:20:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1437, - "type": "uint256", - "value": "cnt" - }, - "id": 1444, - "name": "Identifier", - "src": "10896:3:2" - } - ], - "id": 1445, - "name": "UnaryOperation", - "src": "10896:5:2" - } - ], - "id": 1446, - "name": "ExpressionStatement", - "src": "10896:5:2" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1426, - "type": "function (bytes32) view returns (uint256)", - "value": "proposalScore" - }, - "id": 1447, - "name": "Identifier", - "src": "10922:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1429, - "type": "bytes32[] memory", - "value": "_idsArray" - }, - "id": 1448, - "name": "Identifier", - "src": "10936:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1437, - "type": "uint256", - "value": "cnt" - }, - "id": 1449, - "name": "Identifier", - "src": "10946:3:2" - } - ], - "id": 1450, - "name": "IndexAccess", - "src": "10936:14:2" - } - ], - "id": 1451, - "name": "FunctionCall", - "src": "10922:29:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1434, - "type": "uint256", - "value": "min" - }, - "id": 1452, - "name": "Identifier", - "src": "10954:3:2" - } - ], - "id": 1453, - "name": "BinaryOperation", - "src": "10922:35:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1432, - "type": "uint256", - "value": "index" - }, - "id": 1454, - "name": "Identifier", - "src": "10978:5:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1437, - "type": "uint256", - "value": "cnt" - }, - "id": 1455, - "name": "Identifier", - "src": "10986:3:2" - } - ], - "id": 1456, - "name": "Assignment", - "src": "10978:11:2" - } - ], - "id": 1457, - "name": "ExpressionStatement", - "src": "10978:11:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1434, - "type": "uint256", - "value": "min" - }, - "id": 1458, - "name": "Identifier", - "src": "11008:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1426, - "type": "function (bytes32) view returns (uint256)", - "value": "proposalScore" - }, - "id": 1459, - "name": "Identifier", - "src": "11014:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1429, - "type": "bytes32[] memory", - "value": "_idsArray" - }, - "id": 1460, - "name": "Identifier", - "src": "11028:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1437, - "type": "uint256", - "value": "cnt" - }, - "id": 1461, - "name": "Identifier", - "src": "11038:3:2" - } - ], - "id": 1462, - "name": "IndexAccess", - "src": "11028:14:2" - } - ], - "id": 1463, - "name": "FunctionCall", - "src": "11014:29:2" - } - ], - "id": 1464, - "name": "Assignment", - "src": "11008:35:2" - } - ], - "id": 1465, - "name": "ExpressionStatement", - "src": "11008:35:2" - } - ], - "id": 1466, - "name": "Block", - "src": "10959:100:2" - } - ], - "id": 1467, - "name": "IfStatement", - "src": "10918:141:2" - } - ], - "id": 1468, - "name": "Block", - "src": "10903:167:2" - } - ], - "id": 1469, - "name": "ForStatement", - "src": "10855:215:2" - } - ], - "id": 1470, - "name": "Block", - "src": "10844:233:2" - } - ], - "id": 1471, - "name": "FunctionDefinition", - "src": "10755:322:2" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "findMaxScore", - "payable": false, - "scope": 2542, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_idsArray", - "scope": 1516, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1472, - "name": "ElementaryTypeName", - "src": "11396:7:2" - } - ], - "id": 1473, - "name": "ArrayTypeName", - "src": "11396:9:2" - } - ], - "id": 1474, - "name": "VariableDeclaration", - "src": "11396:19:2" - } - ], - "id": 1475, - "name": "ParameterList", - "src": "11395:21:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "index", - "scope": 1516, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1476, - "name": "ElementaryTypeName", - "src": "11441:4:2" - } - ], - "id": 1477, - "name": "VariableDeclaration", - "src": "11441:10:2" - }, - { - "attributes": { - "constant": false, - "name": "max", - "scope": 1516, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1478, - "name": "ElementaryTypeName", - "src": "11453:4:2" - } - ], - "id": 1479, - "name": "VariableDeclaration", - "src": "11453:8:2" - } - ], - "id": 1480, - "name": "ParameterList", - "src": "11440:22:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "assignments": [ - 1482 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 1516, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1481, - "name": "ElementaryTypeName", - "src": "11479:4:2" - } - ], - "id": 1482, - "name": "VariableDeclaration", - "src": "11479:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1483, - "name": "Literal", - "src": "11490:1:2" - } - ], - "id": 1484, - "name": "VariableDeclarationStatement", - "src": "11479:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1482, - "type": "uint256", - "value": "cnt" - }, - "id": 1485, - "name": "Identifier", - "src": "11493:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1474, - "type": "bytes32[] memory", - "value": "_idsArray" - }, - "id": 1486, - "name": "Identifier", - "src": "11497:9:2" - } - ], - "id": 1487, - "name": "MemberAccess", - "src": "11497:16:2" - } - ], - "id": 1488, - "name": "BinaryOperation", - "src": "11493:20:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1482, - "type": "uint256", - "value": "cnt" - }, - "id": 1489, - "name": "Identifier", - "src": "11515:3:2" - } - ], - "id": 1490, - "name": "UnaryOperation", - "src": "11515:5:2" - } - ], - "id": 1491, - "name": "ExpressionStatement", - "src": "11515:5:2" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1426, - "type": "function (bytes32) view returns (uint256)", - "value": "proposalScore" - }, - "id": 1492, - "name": "Identifier", - "src": "11541:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1474, - "type": "bytes32[] memory", - "value": "_idsArray" - }, - "id": 1493, - "name": "Identifier", - "src": "11555:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1482, - "type": "uint256", - "value": "cnt" - }, - "id": 1494, - "name": "Identifier", - "src": "11565:3:2" - } - ], - "id": 1495, - "name": "IndexAccess", - "src": "11555:14:2" - } - ], - "id": 1496, - "name": "FunctionCall", - "src": "11541:29:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1479, - "type": "uint256", - "value": "max" - }, - "id": 1497, - "name": "Identifier", - "src": "11573:3:2" - } - ], - "id": 1498, - "name": "BinaryOperation", - "src": "11541:35:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1477, - "type": "uint256", - "value": "index" - }, - "id": 1499, - "name": "Identifier", - "src": "11597:5:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1482, - "type": "uint256", - "value": "cnt" - }, - "id": 1500, - "name": "Identifier", - "src": "11605:3:2" - } - ], - "id": 1501, - "name": "Assignment", - "src": "11597:11:2" - } - ], - "id": 1502, - "name": "ExpressionStatement", - "src": "11597:11:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1479, - "type": "uint256", - "value": "max" - }, - "id": 1503, - "name": "Identifier", - "src": "11627:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1426, - "type": "function (bytes32) view returns (uint256)", - "value": "proposalScore" - }, - "id": 1504, - "name": "Identifier", - "src": "11633:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1474, - "type": "bytes32[] memory", - "value": "_idsArray" - }, - "id": 1505, - "name": "Identifier", - "src": "11647:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1482, - "type": "uint256", - "value": "cnt" - }, - "id": 1506, - "name": "Identifier", - "src": "11657:3:2" - } - ], - "id": 1507, - "name": "IndexAccess", - "src": "11647:14:2" - } - ], - "id": 1508, - "name": "FunctionCall", - "src": "11633:29:2" - } - ], - "id": 1509, - "name": "Assignment", - "src": "11627:35:2" - } - ], - "id": 1510, - "name": "ExpressionStatement", - "src": "11627:35:2" - } - ], - "id": 1511, - "name": "Block", - "src": "11578:100:2" - } - ], - "id": 1512, - "name": "IfStatement", - "src": "11537:141:2" - } - ], - "id": 1513, - "name": "Block", - "src": "11522:167:2" - } - ], - "id": 1514, - "name": "ForStatement", - "src": "11474:215:2" - } - ], - "id": 1515, - "name": "Block", - "src": "11463:233:2" - } - ], - "id": 1516, - "name": "FunctionDefinition", - "src": "11374:322:2" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "findInArray", - "payable": false, - "scope": 2542, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_idsArray", - "scope": 1553, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1517, - "name": "ElementaryTypeName", - "src": "12036:7:2" - } - ], - "id": 1518, - "name": "ArrayTypeName", - "src": "12036:9:2" - } - ], - "id": 1519, - "name": "VariableDeclaration", - "src": "12036:19:2" - }, - { - "attributes": { - "constant": false, - "name": "_id", - "scope": 1553, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1520, - "name": "ElementaryTypeName", - "src": "12057:7:2" - } - ], - "id": 1521, - "name": "VariableDeclaration", - "src": "12057:11:2" - } - ], - "id": 1522, - "name": "ParameterList", - "src": "12035:34:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "isFound", - "scope": 1553, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 1523, - "name": "ElementaryTypeName", - "src": "12090:4:2" - } - ], - "id": 1524, - "name": "VariableDeclaration", - "src": "12090:12:2" - }, - { - "attributes": { - "constant": false, - "name": "index", - "scope": 1553, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1525, - "name": "ElementaryTypeName", - "src": "12104:4:2" - } - ], - "id": 1526, - "name": "VariableDeclaration", - "src": "12104:10:2" - } - ], - "id": 1527, - "name": "ParameterList", - "src": "12089:26:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "assignments": [ - 1529 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 1553, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1528, - "name": "ElementaryTypeName", - "src": "12132:4:2" - } - ], - "id": 1529, - "name": "VariableDeclaration", - "src": "12132:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1530, - "name": "Literal", - "src": "12143:1:2" - } - ], - "id": 1531, - "name": "VariableDeclarationStatement", - "src": "12132:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1529, - "type": "uint256", - "value": "cnt" - }, - "id": 1532, - "name": "Identifier", - "src": "12146:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1519, - "type": "bytes32[] memory", - "value": "_idsArray" - }, - "id": 1533, - "name": "Identifier", - "src": "12150:9:2" - } - ], - "id": 1534, - "name": "MemberAccess", - "src": "12150:16:2" - } - ], - "id": 1535, - "name": "BinaryOperation", - "src": "12146:20:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1529, - "type": "uint256", - "value": "cnt" - }, - "id": 1536, - "name": "Identifier", - "src": "12168:3:2" - } - ], - "id": 1537, - "name": "UnaryOperation", - "src": "12168:5:2" - } - ], - "id": 1538, - "name": "ExpressionStatement", - "src": "12168:5:2" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1519, - "type": "bytes32[] memory", - "value": "_idsArray" - }, - "id": 1539, - "name": "Identifier", - "src": "12194:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1529, - "type": "uint256", - "value": "cnt" - }, - "id": 1540, - "name": "Identifier", - "src": "12204:3:2" - } - ], - "id": 1541, - "name": "IndexAccess", - "src": "12194:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1521, - "type": "bytes32", - "value": "_id" - }, - "id": 1542, - "name": "Identifier", - "src": "12212:3:2" - } - ], - "id": 1543, - "name": "BinaryOperation", - "src": "12194:21:2" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 1527 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "tuple(bool,uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 1544, - "name": "Literal", - "src": "12243:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1529, - "type": "uint256", - "value": "cnt" - }, - "id": 1545, - "name": "Identifier", - "src": "12249:3:2" - } - ], - "id": 1546, - "name": "TupleExpression", - "src": "12242:11:2" - } - ], - "id": 1547, - "name": "Return", - "src": "12236:17:2" - } - ], - "id": 1548, - "name": "Block", - "src": "12217:52:2" - } - ], - "id": 1549, - "name": "IfStatement", - "src": "12190:79:2" - } - ], - "id": 1550, - "name": "Block", - "src": "12175:105:2" - } - ], - "id": 1551, - "name": "ForStatement", - "src": "12127:153:2" - } - ], - "id": 1552, - "name": "Block", - "src": "12116:171:2" - } - ], - "id": 1553, - "name": "FunctionDefinition", - "src": "12015:272:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "boostProposal", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 1639, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1554, - "name": "ElementaryTypeName", - "src": "12550:7:2" - } - ], - "id": 1555, - "name": "VariableDeclaration", - "src": "12550:19:2" - }, - { - "attributes": { - "constant": false, - "name": "_boostValue", - "scope": 1639, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1556, - "name": "ElementaryTypeName", - "src": "12571:4:2" - } - ], - "id": 1557, - "name": "VariableDeclaration", - "src": "12571:16:2" - } - ], - "id": 1558, - "name": "ParameterList", - "src": "12549:39:2" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 1559, - "name": "ParameterList", - "src": "12596:0:2" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "isBoostModeActive", - "referencedDeclaration": 950, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1560, - "name": "Identifier", - "src": "12670:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1555, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1561, - "name": "Identifier", - "src": "12680:11:2" - } - ], - "id": 1562, - "name": "IndexAccess", - "src": "12670:22:2" - } - ], - "id": 1563, - "name": "MemberAccess", - "src": "12670:40:2" - }, - { - "children": [ - { - "attributes": { - "expression": null, - "functionReturnParameters": 1559 - }, - "id": 1564, - "name": "Return", - "src": "12727:7:2" - } - ], - "id": 1565, - "name": "Block", - "src": "12712:33:2" - } - ], - "id": 1566, - "name": "IfStatement", - "src": "12666:79:2" - }, - { - "attributes": { - "assignments": [ - 1568 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "avatar", - "scope": 1639, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 1567, - "name": "ElementaryTypeName", - "src": "12803:7:2" - } - ], - "id": 1568, - "name": "VariableDeclaration", - "src": "12803:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "avatar", - "referencedDeclaration": 930, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1569, - "name": "Identifier", - "src": "12820:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1555, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1570, - "name": "Identifier", - "src": "12830:11:2" - } - ], - "id": 1571, - "name": "IndexAccess", - "src": "12820:22:2" - } - ], - "id": 1572, - "name": "MemberAccess", - "src": "12820:29:2" - } - ], - "id": 1573, - "name": "VariableDeclarationStatement", - "src": "12803:46:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 1574, - "name": "Identifier", - "src": "12860:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1568, - "type": "address", - "value": "avatar" - }, - "id": 1575, - "name": "Identifier", - "src": "12868:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 1576, - "name": "ElementaryTypeNameExpression", - "src": "12878:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1577, - "name": "Literal", - "src": "12886:1:2" - } - ], - "id": 1578, - "name": "FunctionCall", - "src": "12878:10:2" - } - ], - "id": 1579, - "name": "BinaryOperation", - "src": "12868:20:2" - } - ], - "id": 1580, - "name": "FunctionCall", - "src": "12860:29:2" - } - ], - "id": 1581, - "name": "ExpressionStatement", - "src": "12860:29:2" - }, - { - "attributes": { - "assignments": [ - 1583 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "orgParamsHash", - "scope": 1639, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1582, - "name": "ElementaryTypeName", - "src": "12924:7:2" - } - ], - "id": 1583, - "name": "VariableDeclaration", - "src": "12924:21:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 1584, - "name": "Identifier", - "src": "12948:27:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 1585, - "name": "Identifier", - "src": "12976:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1568, - "type": "address", - "value": "avatar" - }, - "id": 1586, - "name": "Identifier", - "src": "12983:6:2" - } - ], - "id": 1587, - "name": "FunctionCall", - "src": "12976:14:2" - } - ], - "id": 1588, - "name": "FunctionCall", - "src": "12948:43:2" - } - ], - "id": 1589, - "name": "VariableDeclarationStatement", - "src": "12924:67:2" - }, - { - "attributes": { - "assignments": [ - 1591 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "orgParams", - "scope": 1639, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct EmergentVoteScheme.OrgParameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "OrgParameters", - "referencedDeclaration": 914, - "type": "struct EmergentVoteScheme.OrgParameters storage pointer" - }, - "id": 1590, - "name": "UserDefinedTypeName", - "src": "13002:13:2" - } - ], - "id": 1591, - "name": "VariableDeclaration", - "src": "13002:30:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.OrgParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1001, - "type": "mapping(bytes32 => struct EmergentVoteScheme.OrgParameters storage ref)", - "value": "organizationsParameters" - }, - "id": 1592, - "name": "Identifier", - "src": "13035:23:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1583, - "type": "bytes32", - "value": "orgParamsHash" - }, - "id": 1593, - "name": "Identifier", - "src": "13059:13:2" - } - ], - "id": 1594, - "name": "IndexAccess", - "src": "13035:38:2" - } - ], - "id": 1595, - "name": "VariableDeclarationStatement", - "src": "13002:71:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9727, - "type": "function (bool) pure", - "value": "assert" - }, - "id": 1596, - "name": "Identifier", - "src": "13151:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1557, - "type": "uint256", - "value": "_boostValue" - }, - "id": 1597, - "name": "Identifier", - "src": "13158:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "minBoost", - "referencedDeclaration": 911, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1591, - "type": "struct EmergentVoteScheme.OrgParameters memory", - "value": "orgParams" - }, - "id": 1598, - "name": "Identifier", - "src": "13172:9:2" - } - ], - "id": 1599, - "name": "MemberAccess", - "src": "13172:18:2" - } - ], - "id": 1600, - "name": "BinaryOperation", - "src": "13158:32:2" - } - ], - "id": 1601, - "name": "FunctionCall", - "src": "13151:40:2" - } - ], - "id": 1602, - "name": "ExpressionStatement", - "src": "13151:40:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferFrom", - "referencedDeclaration": 9554, - "type": "function (address,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "boostToken", - "referencedDeclaration": 901, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1591, - "type": "struct EmergentVoteScheme.OrgParameters memory", - "value": "orgParams" - }, - "id": 1603, - "name": "Identifier", - "src": "13202:9:2" - } - ], - "id": 1606, - "name": "MemberAccess", - "src": "13202:20:2" - } - ], - "id": 1607, - "name": "MemberAccess", - "src": "13202:33:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 1608, - "name": "Identifier", - "src": "13236:3:2" - } - ], - "id": 1609, - "name": "MemberAccess", - "src": "13236:10:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "beneficiary", - "referencedDeclaration": 903, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1591, - "type": "struct EmergentVoteScheme.OrgParameters memory", - "value": "orgParams" - }, - "id": 1610, - "name": "Identifier", - "src": "13248:9:2" - } - ], - "id": 1611, - "name": "MemberAccess", - "src": "13248:21:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1557, - "type": "uint256", - "value": "_boostValue" - }, - "id": 1612, - "name": "Identifier", - "src": "13271:11:2" - } - ], - "id": 1613, - "name": "FunctionCall", - "src": "13202:81:2" - } - ], - "id": 1614, - "name": "ExpressionStatement", - "src": "13202:81:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "boostedFunds", - "referencedDeclaration": 956, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1615, - "name": "Identifier", - "src": "13316:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1555, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1616, - "name": "Identifier", - "src": "13326:11:2" - } - ], - "id": 1617, - "name": "IndexAccess", - "src": "13316:22:2" - } - ], - "id": 1618, - "name": "MemberAccess", - "src": "13316:35:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "boostedFunds", - "referencedDeclaration": 956, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1619, - "name": "Identifier", - "src": "13354:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1555, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1620, - "name": "Identifier", - "src": "13364:11:2" - } - ], - "id": 1621, - "name": "IndexAccess", - "src": "13354:22:2" - } - ], - "id": 1622, - "name": "MemberAccess", - "src": "13354:35:2" - } - ], - "id": 1623, - "name": "MemberAccess", - "src": "13354:39:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1557, - "type": "uint256", - "value": "_boostValue" - }, - "id": 1624, - "name": "Identifier", - "src": "13394:11:2" - } - ], - "id": 1625, - "name": "FunctionCall", - "src": "13354:52:2" - } - ], - "id": 1626, - "name": "Assignment", - "src": "13316:90:2" - } - ], - "id": 1627, - "name": "ExpressionStatement", - "src": "13316:90:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "isAwaitingBoost", - "referencedDeclaration": 952, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1628, - "name": "Identifier", - "src": "13484:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1555, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1629, - "name": "Identifier", - "src": "13494:11:2" - } - ], - "id": 1630, - "name": "IndexAccess", - "src": "13484:22:2" - } - ], - "id": 1631, - "name": "MemberAccess", - "src": "13484:38:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2280, - "type": "function (bytes32)", - "value": "tryAwaitingBoostProposals" - }, - "id": 1632, - "name": "Identifier", - "src": "13539:25:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1555, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1633, - "name": "Identifier", - "src": "13565:11:2" - } - ], - "id": 1634, - "name": "FunctionCall", - "src": "13539:38:2" - } - ], - "id": 1635, - "name": "ExpressionStatement", - "src": "13539:38:2" - } - ], - "id": 1636, - "name": "Block", - "src": "13524:65:2" - } - ], - "id": 1637, - "name": "IfStatement", - "src": "13480:109:2" - } - ], - "id": 1638, - "name": "Block", - "src": "12596:1000:2" - } - ], - "id": 1639, - "name": "FunctionDefinition", - "src": "12527:1069:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "moveTopAwaitingBoostMode", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 1750, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 1640, - "name": "ElementaryTypeName", - "src": "13806:7:2" - } - ], - "id": 1641, - "name": "VariableDeclaration", - "src": "13806:15:2" - } - ], - "id": 1642, - "name": "ParameterList", - "src": "13805:17:2" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 1643, - "name": "ParameterList", - "src": "13830:0:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 1644, - "name": "Identifier", - "src": "13887:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1641, - "type": "address", - "value": "_avatar" - }, - "id": 1645, - "name": "Identifier", - "src": "13895:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 1646, - "name": "ElementaryTypeNameExpression", - "src": "13906:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1647, - "name": "Literal", - "src": "13914:1:2" - } - ], - "id": 1648, - "name": "FunctionCall", - "src": "13906:10:2" - } - ], - "id": 1649, - "name": "BinaryOperation", - "src": "13895:21:2" - } - ], - "id": 1650, - "name": "FunctionCall", - "src": "13887:30:2" - } - ], - "id": 1651, - "name": "ExpressionStatement", - "src": "13887:30:2" - }, - { - "attributes": { - "assignments": [ - 1653 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "orgParamsHash", - "scope": 1750, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1652, - "name": "ElementaryTypeName", - "src": "13952:7:2" - } - ], - "id": 1653, - "name": "VariableDeclaration", - "src": "13952:21:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 1654, - "name": "Identifier", - "src": "13976:27:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 1655, - "name": "Identifier", - "src": "14004:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1641, - "type": "address", - "value": "_avatar" - }, - "id": 1656, - "name": "Identifier", - "src": "14011:7:2" - } - ], - "id": 1657, - "name": "FunctionCall", - "src": "14004:15:2" - } - ], - "id": 1658, - "name": "FunctionCall", - "src": "13976:44:2" - } - ], - "id": 1659, - "name": "VariableDeclarationStatement", - "src": "13952:68:2" - }, - { - "attributes": { - "assignments": [ - 1661 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "orgParams", - "scope": 1750, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct EmergentVoteScheme.OrgParameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "OrgParameters", - "referencedDeclaration": 914, - "type": "struct EmergentVoteScheme.OrgParameters storage pointer" - }, - "id": 1660, - "name": "UserDefinedTypeName", - "src": "14031:13:2" - } - ], - "id": 1661, - "name": "VariableDeclaration", - "src": "14031:30:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.OrgParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1001, - "type": "mapping(bytes32 => struct EmergentVoteScheme.OrgParameters storage ref)", - "value": "organizationsParameters" - }, - "id": 1662, - "name": "Identifier", - "src": "14064:23:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1653, - "type": "bytes32", - "value": "orgParamsHash" - }, - "id": 1663, - "name": "Identifier", - "src": "14088:13:2" - } - ], - "id": 1664, - "name": "IndexAccess", - "src": "14064:38:2" - } - ], - "id": 1665, - "name": "VariableDeclarationStatement", - "src": "14031:71:2" - }, - { - "attributes": { - "assignments": [ - 1667 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "org", - "scope": 1750, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 897, - "type": "struct EmergentVoteScheme.Organization storage pointer" - }, - "id": 1666, - "name": "UserDefinedTypeName", - "src": "14113:12:2" - } - ], - "id": 1667, - "name": "VariableDeclaration", - "src": "14113:24:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 997, - "type": "mapping(address => struct EmergentVoteScheme.Organization storage ref)", - "value": "organizations" - }, - "id": 1668, - "name": "Identifier", - "src": "14140:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1641, - "type": "address", - "value": "_avatar" - }, - "id": 1669, - "name": "Identifier", - "src": "14154:7:2" - } - ], - "id": 1670, - "name": "IndexAccess", - "src": "14140:22:2" - } - ], - "id": 1671, - "name": "VariableDeclarationStatement", - "src": "14113:49:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "boostedProposals", - "referencedDeclaration": 893, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1667, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 1672, - "name": "Identifier", - "src": "14221:3:2" - } - ], - "id": 1673, - "name": "MemberAccess", - "src": "14221:20:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "attentionBandwidth", - "referencedDeclaration": 905, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1661, - "type": "struct EmergentVoteScheme.OrgParameters memory", - "value": "orgParams" - }, - "id": 1674, - "name": "Identifier", - "src": "14245:9:2" - } - ], - "id": 1675, - "name": "MemberAccess", - "src": "14245:28:2" - } - ], - "id": 1676, - "name": "BinaryOperation", - "src": "14221:52:2" - }, - { - "children": [ - { - "attributes": { - "expression": null, - "functionReturnParameters": 1643 - }, - "id": 1677, - "name": "Return", - "src": "14290:7:2" - } - ], - "id": 1678, - "name": "Block", - "src": "14275:33:2" - } - ], - "id": 1679, - "name": "IfStatement", - "src": "14217:91:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1667, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 1680, - "name": "Identifier", - "src": "14370:3:2" - } - ], - "id": 1681, - "name": "MemberAccess", - "src": "14370:26:2" - } - ], - "id": 1682, - "name": "MemberAccess", - "src": "14370:33:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1683, - "name": "Literal", - "src": "14407:1:2" - } - ], - "id": 1684, - "name": "BinaryOperation", - "src": "14370:38:2" - }, - { - "children": [ - { - "attributes": { - "expression": null, - "functionReturnParameters": 1643 - }, - "id": 1685, - "name": "Return", - "src": "14425:7:2" - } - ], - "id": 1686, - "name": "Block", - "src": "14410:33:2" - } - ], - "id": 1687, - "name": "IfStatement", - "src": "14366:77:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "boostedProposals", - "referencedDeclaration": 893, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1667, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 1688, - "name": "Identifier", - "src": "14492:3:2" - } - ], - "id": 1690, - "name": "MemberAccess", - "src": "14492:20:2" - } - ], - "id": 1691, - "name": "UnaryOperation", - "src": "14492:22:2" - } - ], - "id": 1692, - "name": "ExpressionStatement", - "src": "14492:22:2" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "maxIndex", - "scope": 1750, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1693, - "name": "ElementaryTypeName", - "src": "14525:4:2" - } - ], - "id": 1694, - "name": "VariableDeclaration", - "src": "14525:13:2" - } - ], - "id": 1695, - "name": "VariableDeclarationStatement", - "src": "14525:13:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "tuple(uint256,)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1694, - "type": "uint256", - "value": "maxIndex" - }, - "id": 1696, - "name": "Identifier", - "src": "14550:8:2" - } - ], - "id": 1697, - "name": "TupleExpression", - "src": "14549:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple(uint256,uint256)", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1516, - "type": "function (bytes32[] memory) view returns (uint256,uint256)", - "value": "findMaxScore" - }, - "id": 1698, - "name": "Identifier", - "src": "14564:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1667, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 1699, - "name": "Identifier", - "src": "14577:3:2" - } - ], - "id": 1700, - "name": "MemberAccess", - "src": "14577:26:2" - } - ], - "id": 1701, - "name": "FunctionCall", - "src": "14564:40:2" - } - ], - "id": 1702, - "name": "Assignment", - "src": "14549:55:2" - } - ], - "id": 1703, - "name": "ExpressionStatement", - "src": "14549:55:2" - }, - { - "attributes": { - "assignments": [ - 1705 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 1750, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 957, - "type": "struct EmergentVoteScheme.Proposal storage pointer" - }, - "id": 1704, - "name": "UserDefinedTypeName", - "src": "14615:8:2" - } - ], - "id": 1705, - "name": "VariableDeclaration", - "src": "14615:25:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1706, - "name": "Identifier", - "src": "14643:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1667, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 1707, - "name": "Identifier", - "src": "14653:3:2" - } - ], - "id": 1708, - "name": "MemberAccess", - "src": "14653:26:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1694, - "type": "uint256", - "value": "maxIndex" - }, - "id": 1709, - "name": "Identifier", - "src": "14680:8:2" - } - ], - "id": 1710, - "name": "IndexAccess", - "src": "14653:36:2" - } - ], - "id": 1711, - "name": "IndexAccess", - "src": "14643:47:2" - } - ], - "id": 1712, - "name": "VariableDeclarationStatement", - "src": "14615:75:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "isBoostModeActive", - "referencedDeclaration": 950, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1705, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1713, - "name": "Identifier", - "src": "14701:8:2" - } - ], - "id": 1715, - "name": "MemberAccess", - "src": "14701:26:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 1716, - "name": "Literal", - "src": "14730:4:2" - } - ], - "id": 1717, - "name": "Assignment", - "src": "14701:33:2" - } - ], - "id": 1718, - "name": "ExpressionStatement", - "src": "14701:33:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "isAwaitingBoost", - "referencedDeclaration": 952, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1705, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1719, - "name": "Identifier", - "src": "14745:8:2" - } - ], - "id": 1721, - "name": "MemberAccess", - "src": "14745:24:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 1722, - "name": "Literal", - "src": "14772:5:2" - } - ], - "id": 1723, - "name": "Assignment", - "src": "14745:32:2" - } - ], - "id": 1724, - "name": "ExpressionStatement", - "src": "14745:32:2" - }, - { - "attributes": { - "assignments": [ - 1726 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "timeFrame", - "scope": 1750, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1725, - "name": "ElementaryTypeName", - "src": "14788:4:2" - } - ], - "id": 1726, - "name": "VariableDeclaration", - "src": "14788:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "boostTimeFrame", - "referencedDeclaration": 920, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.ProposalParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1005, - "type": "mapping(bytes32 => struct EmergentVoteScheme.ProposalParameters storage ref)", - "value": "proposalsParameters" - }, - "id": 1727, - "name": "Identifier", - "src": "14805:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 936, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1705, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1728, - "name": "Identifier", - "src": "14825:8:2" - } - ], - "id": 1729, - "name": "MemberAccess", - "src": "14825:19:2" - } - ], - "id": 1730, - "name": "IndexAccess", - "src": "14805:40:2" - } - ], - "id": 1731, - "name": "MemberAccess", - "src": "14805:55:2" - } - ], - "id": 1732, - "name": "VariableDeclarationStatement", - "src": "14788:72:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "closingTime", - "referencedDeclaration": 954, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1705, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1733, - "name": "Identifier", - "src": "14871:8:2" - } - ], - "id": 1735, - "name": "MemberAccess", - "src": "14871:20:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "number", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9728, - "type": "block", - "value": "block" - }, - "id": 1736, - "name": "Identifier", - "src": "14894:5:2" - } - ], - "id": 1737, - "name": "MemberAccess", - "src": "14894:12:2" - } - ], - "id": 1738, - "name": "MemberAccess", - "src": "14894:16:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1726, - "type": "uint256", - "value": "timeFrame" - }, - "id": 1739, - "name": "Identifier", - "src": "14911:9:2" - } - ], - "id": 1740, - "name": "FunctionCall", - "src": "14894:27:2" - } - ], - "id": 1741, - "name": "Assignment", - "src": "14871:50:2" - } - ], - "id": 1742, - "name": "ExpressionStatement", - "src": "14871:50:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2388, - "type": "function (bytes32[] storage pointer,uint256)", - "value": "deleteFromArray" - }, - "id": 1743, - "name": "Identifier", - "src": "14959:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1667, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 1744, - "name": "Identifier", - "src": "14975:3:2" - } - ], - "id": 1745, - "name": "MemberAccess", - "src": "14975:26:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1694, - "type": "uint256", - "value": "maxIndex" - }, - "id": 1746, - "name": "Identifier", - "src": "15003:8:2" - } - ], - "id": 1747, - "name": "FunctionCall", - "src": "14959:53:2" - } - ], - "id": 1748, - "name": "ExpressionStatement", - "src": "14959:53:2" - } - ], - "id": 1749, - "name": "Block", - "src": "13830:1190:2" - } - ], - "id": 1750, - "name": "FunctionDefinition", - "src": "13772:1248:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "vote", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": 2609, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 1771, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1751, - "name": "ElementaryTypeName", - "src": "15184:7:2" - } - ], - "id": 1752, - "name": "VariableDeclaration", - "src": "15184:19:2" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 1771, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1753, - "name": "ElementaryTypeName", - "src": "15205:4:2" - } - ], - "id": 1754, - "name": "VariableDeclaration", - "src": "15205:10:2" - } - ], - "id": 1755, - "name": "ParameterList", - "src": "15183:33:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 1771, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 1759, - "name": "ElementaryTypeName", - "src": "15253:4:2" - } - ], - "id": 1760, - "name": "VariableDeclaration", - "src": "15253:4:2" - } - ], - "id": 1761, - "name": "ParameterList", - "src": "15252:6:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1043, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 1756, - "name": "Identifier", - "src": "15224:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1752, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1757, - "name": "Identifier", - "src": "15232:11:2" - } - ], - "id": 1758, - "name": "ModifierInvocation", - "src": "15224:20:2" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 1761 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2541, - "type": "function (bytes32,uint256,address,uint256) returns (bool)", - "value": "internalVote" - }, - "id": 1762, - "name": "Identifier", - "src": "15277:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1752, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1763, - "name": "Identifier", - "src": "15290:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1754, - "type": "uint256", - "value": "_vote" - }, - "id": 1764, - "name": "Identifier", - "src": "15303:5:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 1765, - "name": "Identifier", - "src": "15310:3:2" - } - ], - "id": 1766, - "name": "MemberAccess", - "src": "15310:10:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1767, - "name": "Literal", - "src": "15322:1:2" - } - ], - "id": 1768, - "name": "FunctionCall", - "src": "15277:47:2" - } - ], - "id": 1769, - "name": "Return", - "src": "15270:54:2" - } - ], - "id": 1770, - "name": "Block", - "src": "15259:73:2" - } - ], - "id": 1771, - "name": "FunctionDefinition", - "src": "15170:162:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "voteWithSpecifiedAmounts", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": 2625, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 1796, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1772, - "name": "ElementaryTypeName", - "src": "15374:7:2" - } - ], - "id": 1773, - "name": "VariableDeclaration", - "src": "15374:19:2" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 1796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1774, - "name": "ElementaryTypeName", - "src": "15395:4:2" - } - ], - "id": 1775, - "name": "VariableDeclaration", - "src": "15395:10:2" - }, - { - "attributes": { - "constant": false, - "name": "_rep", - "scope": 1796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1776, - "name": "ElementaryTypeName", - "src": "15407:4:2" - } - ], - "id": 1777, - "name": "VariableDeclaration", - "src": "15407:9:2" - }, - { - "attributes": { - "constant": false, - "name": "", - "scope": 1796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1778, - "name": "ElementaryTypeName", - "src": "15418:4:2" - } - ], - "id": 1779, - "name": "VariableDeclaration", - "src": "15418:4:2" - } - ], - "id": 1780, - "name": "ParameterList", - "src": "15373:50:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 1796, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 1784, - "name": "ElementaryTypeName", - "src": "15460:4:2" - } - ], - "id": 1785, - "name": "VariableDeclaration", - "src": "15460:4:2" - } - ], - "id": 1786, - "name": "ParameterList", - "src": "15459:6:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1043, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 1781, - "name": "Identifier", - "src": "15431:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1773, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1782, - "name": "Identifier", - "src": "15439:11:2" - } - ], - "id": 1783, - "name": "ModifierInvocation", - "src": "15431:20:2" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 1786 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2541, - "type": "function (bytes32,uint256,address,uint256) returns (bool)", - "value": "internalVote" - }, - "id": 1787, - "name": "Identifier", - "src": "15484:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1773, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1788, - "name": "Identifier", - "src": "15497:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1775, - "type": "uint256", - "value": "_vote" - }, - "id": 1789, - "name": "Identifier", - "src": "15510:5:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 1790, - "name": "Identifier", - "src": "15517:3:2" - } - ], - "id": 1791, - "name": "MemberAccess", - "src": "15517:10:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1777, - "type": "uint256", - "value": "_rep" - }, - "id": 1792, - "name": "Identifier", - "src": "15529:4:2" - } - ], - "id": 1793, - "name": "FunctionCall", - "src": "15484:50:2" - } - ], - "id": 1794, - "name": "Return", - "src": "15477:57:2" - } - ], - "id": 1795, - "name": "Block", - "src": "15466:76:2" - } - ], - "id": 1796, - "name": "FunctionDefinition", - "src": "15340:202:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "ownerVote", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": 2597, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 1840, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1797, - "name": "ElementaryTypeName", - "src": "15834:7:2" - } - ], - "id": 1798, - "name": "VariableDeclaration", - "src": "15834:19:2" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 1840, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1799, - "name": "ElementaryTypeName", - "src": "15855:4:2" - } - ], - "id": 1800, - "name": "VariableDeclaration", - "src": "15855:10:2" - }, - { - "attributes": { - "constant": false, - "name": "_voter", - "scope": 1840, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 1801, - "name": "ElementaryTypeName", - "src": "15867:7:2" - } - ], - "id": 1802, - "name": "VariableDeclaration", - "src": "15867:14:2" - } - ], - "id": 1803, - "name": "ParameterList", - "src": "15833:49:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 1840, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 1810, - "name": "ElementaryTypeName", - "src": "15950:4:2" - } - ], - "id": 1811, - "name": "VariableDeclaration", - "src": "15950:4:2" - } - ], - "id": 1812, - "name": "ParameterList", - "src": "15949:6:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1030, - "type": "modifier (bytes32)", - "value": "onlyProposalOwner" - }, - "id": 1804, - "name": "Identifier", - "src": "15890:17:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1798, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1805, - "name": "Identifier", - "src": "15908:11:2" - } - ], - "id": 1806, - "name": "ModifierInvocation", - "src": "15890:30:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1043, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 1807, - "name": "Identifier", - "src": "15921:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1798, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1808, - "name": "Identifier", - "src": "15929:11:2" - } - ], - "id": 1809, - "name": "ModifierInvocation", - "src": "15921:20:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 1814 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 1840, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1813, - "name": "ElementaryTypeName", - "src": "15967:7:2" - } - ], - "id": 1814, - "name": "VariableDeclaration", - "src": "15967:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 1815, - "name": "Identifier", - "src": "15988:27:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 1816, - "name": "Identifier", - "src": "16016:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "avatar", - "referencedDeclaration": 930, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1817, - "name": "Identifier", - "src": "16023:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1798, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1818, - "name": "Identifier", - "src": "16033:11:2" - } - ], - "id": 1819, - "name": "IndexAccess", - "src": "16023:22:2" - } - ], - "id": 1820, - "name": "MemberAccess", - "src": "16023:29:2" - } - ], - "id": 1821, - "name": "FunctionCall", - "src": "16016:37:2" - } - ], - "id": 1822, - "name": "FunctionCall", - "src": "15988:66:2" - } - ], - "id": 1823, - "name": "VariableDeclarationStatement", - "src": "15967:87:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "allowOwner", - "referencedDeclaration": 913, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.OrgParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1001, - "type": "mapping(bytes32 => struct EmergentVoteScheme.OrgParameters storage ref)", - "value": "organizationsParameters" - }, - "id": 1824, - "name": "Identifier", - "src": "16071:23:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1814, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 1825, - "name": "Identifier", - "src": "16095:10:2" - } - ], - "id": 1826, - "name": "IndexAccess", - "src": "16071:35:2" - } - ], - "id": 1827, - "name": "MemberAccess", - "src": "16071:46:2" - } - ], - "id": 1828, - "name": "UnaryOperation", - "src": "16069:48:2" - }, - { - "children": [ - { - "attributes": { - "expression": null, - "functionReturnParameters": 1812 - }, - "id": 1829, - "name": "Return", - "src": "16134:7:2" - } - ], - "id": 1830, - "name": "Block", - "src": "16119:33:2" - } - ], - "id": 1831, - "name": "IfStatement", - "src": "16065:87:2" - }, - { - "attributes": { - "functionReturnParameters": 1812 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2541, - "type": "function (bytes32,uint256,address,uint256) returns (bool)", - "value": "internalVote" - }, - "id": 1832, - "name": "Identifier", - "src": "16171:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1798, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1833, - "name": "Identifier", - "src": "16184:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1800, - "type": "uint256", - "value": "_vote" - }, - "id": 1834, - "name": "Identifier", - "src": "16197:5:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1802, - "type": "address", - "value": "_voter" - }, - "id": 1835, - "name": "Identifier", - "src": "16204:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1836, - "name": "Literal", - "src": "16212:1:2" - } - ], - "id": 1837, - "name": "FunctionCall", - "src": "16171:43:2" - } - ], - "id": 1838, - "name": "Return", - "src": "16164:50:2" - } - ], - "id": 1839, - "name": "Block", - "src": "15956:266:2" - } - ], - "id": 1840, - "name": "FunctionDefinition", - "src": "15815:407:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "cancelVote", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": 2633, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 1855, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1841, - "name": "ElementaryTypeName", - "src": "16458:7:2" - } - ], - "id": 1842, - "name": "VariableDeclaration", - "src": "16458:19:2" - } - ], - "id": 1843, - "name": "ParameterList", - "src": "16457:21:2" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 1847, - "name": "ParameterList", - "src": "16507:0:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1043, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 1844, - "name": "Identifier", - "src": "16486:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1842, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1845, - "name": "Identifier", - "src": "16494:11:2" - } - ], - "id": 1846, - "name": "ModifierInvocation", - "src": "16486:20:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2342, - "type": "function (bytes32,address)", - "value": "cancelVoteInternal" - }, - "id": 1848, - "name": "Identifier", - "src": "16518:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1842, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1849, - "name": "Identifier", - "src": "16537:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 1850, - "name": "Identifier", - "src": "16550:3:2" - } - ], - "id": 1851, - "name": "MemberAccess", - "src": "16550:10:2" - } - ], - "id": 1852, - "name": "FunctionCall", - "src": "16518:43:2" - } - ], - "id": 1853, - "name": "ExpressionStatement", - "src": "16518:43:2" - } - ], - "id": 1854, - "name": "Block", - "src": "16507:62:2" - } - ], - "id": 1855, - "name": "FunctionDefinition", - "src": "16438:131:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "execute", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": 2643, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2041, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1856, - "name": "ElementaryTypeName", - "src": "16945:7:2" - } - ], - "id": 1857, - "name": "VariableDeclaration", - "src": "16945:19:2" - } - ], - "id": 1858, - "name": "ParameterList", - "src": "16944:21:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2041, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 1862, - "name": "ElementaryTypeName", - "src": "17002:4:2" - } - ], - "id": 1863, - "name": "VariableDeclaration", - "src": "17002:4:2" - } - ], - "id": 1864, - "name": "ParameterList", - "src": "17001:6:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1043, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 1859, - "name": "Identifier", - "src": "16973:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1857, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1860, - "name": "Identifier", - "src": "16981:11:2" - } - ], - "id": 1861, - "name": "ModifierInvocation", - "src": "16973:20:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 1866 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 2041, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 957, - "type": "struct EmergentVoteScheme.Proposal storage pointer" - }, - "id": 1865, - "name": "UserDefinedTypeName", - "src": "17019:8:2" - } - ], - "id": 1866, - "name": "VariableDeclaration", - "src": "17019:25:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1867, - "name": "Identifier", - "src": "17047:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1857, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1868, - "name": "Identifier", - "src": "17057:11:2" - } - ], - "id": 1869, - "name": "IndexAccess", - "src": "17047:22:2" - } - ], - "id": 1870, - "name": "VariableDeclarationStatement", - "src": "17019:50:2" - }, - { - "attributes": { - "assignments": [ - 1872 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "orgParamsHash", - "scope": 2041, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 1871, - "name": "ElementaryTypeName", - "src": "17082:7:2" - } - ], - "id": 1872, - "name": "VariableDeclaration", - "src": "17082:21:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 1873, - "name": "Identifier", - "src": "17106:27:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 1874, - "name": "Identifier", - "src": "17134:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "avatar", - "referencedDeclaration": 930, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1875, - "name": "Identifier", - "src": "17141:8:2" - } - ], - "id": 1876, - "name": "MemberAccess", - "src": "17141:15:2" - } - ], - "id": 1877, - "name": "FunctionCall", - "src": "17134:23:2" - } - ], - "id": 1878, - "name": "FunctionCall", - "src": "17106:52:2" - } - ], - "id": 1879, - "name": "VariableDeclarationStatement", - "src": "17082:76:2" - }, - { - "attributes": { - "assignments": [ - 1881 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "totalReputation", - "scope": 2041, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1880, - "name": "ElementaryTypeName", - "src": "17169:4:2" - } - ], - "id": 1881, - "name": "VariableDeclaration", - "src": "17169:20:2" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "totalSupply", - "referencedDeclaration": 4207, - "type": "function () view external returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputationSystem", - "referencedDeclaration": 899, - "type": "contract Reputation" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.OrgParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1001, - "type": "mapping(bytes32 => struct EmergentVoteScheme.OrgParameters storage ref)", - "value": "organizationsParameters" - }, - "id": 1882, - "name": "Identifier", - "src": "17192:23:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1872, - "type": "bytes32", - "value": "orgParamsHash" - }, - "id": 1883, - "name": "Identifier", - "src": "17216:13:2" - } - ], - "id": 1884, - "name": "IndexAccess", - "src": "17192:38:2" - } - ], - "id": 1885, - "name": "MemberAccess", - "src": "17192:55:2" - } - ], - "id": 1886, - "name": "MemberAccess", - "src": "17192:67:2" - } - ], - "id": 1887, - "name": "FunctionCall", - "src": "17192:69:2" - } - ], - "id": 1888, - "name": "VariableDeclarationStatement", - "src": "17169:92:2" - }, - { - "attributes": { - "assignments": [ - 1890 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "precReq", - "scope": 2041, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1889, - "name": "ElementaryTypeName", - "src": "17272:4:2" - } - ], - "id": 1890, - "name": "VariableDeclaration", - "src": "17272:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "precReq", - "referencedDeclaration": 916, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.ProposalParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1005, - "type": "mapping(bytes32 => struct EmergentVoteScheme.ProposalParameters storage ref)", - "value": "proposalsParameters" - }, - "id": 1891, - "name": "Identifier", - "src": "17287:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 936, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1892, - "name": "Identifier", - "src": "17307:8:2" - } - ], - "id": 1893, - "name": "MemberAccess", - "src": "17307:19:2" - } - ], - "id": 1894, - "name": "IndexAccess", - "src": "17287:40:2" - } - ], - "id": 1895, - "name": "MemberAccess", - "src": "17287:48:2" - } - ], - "id": 1896, - "name": "VariableDeclarationStatement", - "src": "17272:63:2" - }, - { - "attributes": { - "assignments": [ - 1898 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "tmpProposal", - "scope": 2041, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct EmergentVoteScheme.Proposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 957, - "type": "struct EmergentVoteScheme.Proposal storage pointer" - }, - "id": 1897, - "name": "UserDefinedTypeName", - "src": "17346:8:2" - } - ], - "id": 1898, - "name": "VariableDeclaration", - "src": "17346:27:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1899, - "name": "Identifier", - "src": "17376:8:2" - } - ], - "id": 1900, - "name": "VariableDeclarationStatement", - "src": "17346:38:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "isBoostModeActive", - "referencedDeclaration": 950, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1901, - "name": "Identifier", - "src": "17437:8:2" - } - ], - "id": 1902, - "name": "MemberAccess", - "src": "17437:26:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "number", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9728, - "type": "block", - "value": "block" - }, - "id": 1903, - "name": "Identifier", - "src": "17467:5:2" - } - ], - "id": 1904, - "name": "MemberAccess", - "src": "17467:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "closingTime", - "referencedDeclaration": 954, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1905, - "name": "Identifier", - "src": "17483:8:2" - } - ], - "id": 1906, - "name": "MemberAccess", - "src": "17483:20:2" - } - ], - "id": 1907, - "name": "BinaryOperation", - "src": "17467:36:2" - } - ], - "id": 1908, - "name": "BinaryOperation", - "src": "17437:66:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 1910 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "quorum", - "scope": 2041, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1909, - "name": "ElementaryTypeName", - "src": "17520:4:2" - } - ], - "id": 1910, - "name": "VariableDeclaration", - "src": "17520:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "quorum", - "referencedDeclaration": 918, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.ProposalParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1005, - "type": "mapping(bytes32 => struct EmergentVoteScheme.ProposalParameters storage ref)", - "value": "proposalsParameters" - }, - "id": 1911, - "name": "Identifier", - "src": "17534:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 936, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1912, - "name": "Identifier", - "src": "17554:8:2" - } - ], - "id": 1913, - "name": "MemberAccess", - "src": "17554:19:2" - } - ], - "id": 1914, - "name": "IndexAccess", - "src": "17534:40:2" - } - ], - "id": 1915, - "name": "MemberAccess", - "src": "17534:47:2" - } - ], - "id": 1916, - "name": "VariableDeclarationStatement", - "src": "17520:61:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "/", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalVotes", - "referencedDeclaration": 938, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1917, - "name": "Identifier", - "src": "17651:8:2" - } - ], - "id": 1918, - "name": "MemberAccess", - "src": "17651:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1881, - "type": "uint256", - "value": "totalReputation" - }, - "id": 1919, - "name": "Identifier", - "src": "17671:15:2" - } - ], - "id": 1920, - "name": "BinaryOperation", - "src": "17651:35:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1910, - "type": "uint256", - "value": "quorum" - }, - "id": 1921, - "name": "Identifier", - "src": "17690:6:2" - } - ], - "id": 1922, - "name": "BinaryOperation", - "src": "17651:45:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "max", - "scope": 2041, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1923, - "name": "ElementaryTypeName", - "src": "17717:4:2" - } - ], - "id": 1924, - "name": "VariableDeclaration", - "src": "17717:8:2" - } - ], - "id": 1925, - "name": "VariableDeclarationStatement", - "src": "17717:8:2" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "maxInd", - "scope": 2041, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1926, - "name": "ElementaryTypeName", - "src": "17744:4:2" - } - ], - "id": 1927, - "name": "VariableDeclaration", - "src": "17744:11:2" - } - ], - "id": 1928, - "name": "VariableDeclarationStatement", - "src": "17744:11:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 1930 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 2041, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1929, - "name": "ElementaryTypeName", - "src": "17842:4:2" - } - ], - "id": 1930, - "name": "VariableDeclaration", - "src": "17842:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 1931, - "name": "Literal", - "src": "17853:1:2" - } - ], - "id": 1932, - "name": "VariableDeclarationStatement", - "src": "17842:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1930, - "type": "uint256", - "value": "cnt" - }, - "id": 1933, - "name": "Identifier", - "src": "17856:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 932, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1934, - "name": "Identifier", - "src": "17861:8:2" - } - ], - "id": 1935, - "name": "MemberAccess", - "src": "17861:21:2" - } - ], - "id": 1936, - "name": "BinaryOperation", - "src": "17856:26:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1930, - "type": "uint256", - "value": "cnt" - }, - "id": 1937, - "name": "Identifier", - "src": "17884:3:2" - } - ], - "id": 1938, - "name": "UnaryOperation", - "src": "17884:5:2" - } - ], - "id": 1939, - "name": "ExpressionStatement", - "src": "17884:5:2" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 942, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1940, - "name": "Identifier", - "src": "17918:8:2" - } - ], - "id": 1941, - "name": "MemberAccess", - "src": "17918:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1930, - "type": "uint256", - "value": "cnt" - }, - "id": 1942, - "name": "Identifier", - "src": "17933:3:2" - } - ], - "id": 1943, - "name": "IndexAccess", - "src": "17918:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1924, - "type": "uint256", - "value": "max" - }, - "id": 1944, - "name": "Identifier", - "src": "17940:3:2" - } - ], - "id": 1945, - "name": "BinaryOperation", - "src": "17918:25:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1924, - "type": "uint256", - "value": "max" - }, - "id": 1946, - "name": "Identifier", - "src": "17972:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 942, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1947, - "name": "Identifier", - "src": "17978:8:2" - } - ], - "id": 1948, - "name": "MemberAccess", - "src": "17978:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1930, - "type": "uint256", - "value": "cnt" - }, - "id": 1949, - "name": "Identifier", - "src": "17993:3:2" - } - ], - "id": 1950, - "name": "IndexAccess", - "src": "17978:19:2" - } - ], - "id": 1951, - "name": "Assignment", - "src": "17972:25:2" - } - ], - "id": 1952, - "name": "ExpressionStatement", - "src": "17972:25:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1927, - "type": "uint256", - "value": "maxInd" - }, - "id": 1953, - "name": "Identifier", - "src": "18024:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1930, - "type": "uint256", - "value": "cnt" - }, - "id": 1954, - "name": "Identifier", - "src": "18033:3:2" - } - ], - "id": 1955, - "name": "Assignment", - "src": "18024:12:2" - } - ], - "id": 1956, - "name": "ExpressionStatement", - "src": "18024:12:2" - } - ], - "id": 1957, - "name": "Block", - "src": "17945:115:2" - } - ], - "id": 1958, - "name": "IfStatement", - "src": "17914:146:2" - } - ], - "id": 1959, - "name": "Block", - "src": "17891:188:2" - } - ], - "id": 1960, - "name": "ForStatement", - "src": "17837:242:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 1961, - "name": "Identifier", - "src": "18104:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1857, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1962, - "name": "Identifier", - "src": "18114:11:2" - } - ], - "id": 1963, - "name": "IndexAccess", - "src": "18104:22:2" - } - ], - "id": 1964, - "name": "UnaryOperation", - "src": "18097:29:2" - } - ], - "id": 1965, - "name": "ExpressionStatement", - "src": "18097:29:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 975, - "type": "function (bytes32,uint256)", - "value": "LogExecuteProposal" - }, - "id": 1966, - "name": "Identifier", - "src": "18145:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1857, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1967, - "name": "Identifier", - "src": "18164:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1927, - "type": "uint256", - "value": "maxInd" - }, - "id": 1968, - "name": "Identifier", - "src": "18177:6:2" - } - ], - "id": 1969, - "name": "FunctionCall", - "src": "18145:39:2" - } - ], - "id": 1970, - "name": "ExpressionStatement", - "src": "18145:39:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "execute", - "referencedDeclaration": 5154, - "type": "function (bytes32,address,int256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "executable", - "referencedDeclaration": 934, - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1898, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "tmpProposal" - }, - "id": 1971, - "name": "Identifier", - "src": "18204:11:2" - } - ], - "id": 1972, - "name": "MemberAccess", - "src": "18204:22:2" - } - ], - "id": 1973, - "name": "TupleExpression", - "src": "18203:24:2" - } - ], - "id": 1974, - "name": "MemberAccess", - "src": "18203:32:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1857, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 1975, - "name": "Identifier", - "src": "18236:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "avatar", - "referencedDeclaration": 930, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1898, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "tmpProposal" - }, - "id": 1976, - "name": "Identifier", - "src": "18249:11:2" - } - ], - "id": 1977, - "name": "MemberAccess", - "src": "18249:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "int256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(int256)", - "value": "int" - }, - "id": 1978, - "name": "ElementaryTypeNameExpression", - "src": "18269:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1927, - "type": "uint256", - "value": "maxInd" - }, - "id": 1979, - "name": "Identifier", - "src": "18273:6:2" - } - ], - "id": 1980, - "name": "FunctionCall", - "src": "18269:11:2" - } - ], - "id": 1981, - "name": "FunctionCall", - "src": "18203:78:2" - } - ], - "id": 1982, - "name": "ExpressionStatement", - "src": "18203:78:2" - }, - { - "attributes": { - "functionReturnParameters": 1864 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 1983, - "name": "Literal", - "src": "18307:4:2" - } - ], - "id": 1984, - "name": "Return", - "src": "18300:11:2" - } - ], - "id": 1985, - "name": "Block", - "src": "17698:629:2" - } - ], - "id": 1986, - "name": "IfStatement", - "src": "17647:680:2" - } - ], - "id": 1987, - "name": "Block", - "src": "17505:833:2" - } - ], - "id": 1988, - "name": "IfStatement", - "src": "17433:905:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 1990 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt2", - "scope": 2041, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 1989, - "name": "ElementaryTypeName", - "src": "18401:4:2" - } - ], - "id": 1990, - "name": "VariableDeclaration", - "src": "18401:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 1991, - "name": "Literal", - "src": "18413:1:2" - } - ], - "id": 1992, - "name": "VariableDeclarationStatement", - "src": "18401:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1990, - "type": "uint256", - "value": "cnt2" - }, - "id": 1993, - "name": "Identifier", - "src": "18416:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 932, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 1994, - "name": "Identifier", - "src": "18422:8:2" - } - ], - "id": 1995, - "name": "MemberAccess", - "src": "18422:21:2" - } - ], - "id": 1996, - "name": "BinaryOperation", - "src": "18416:27:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1990, - "type": "uint256", - "value": "cnt2" - }, - "id": 1997, - "name": "Identifier", - "src": "18445:4:2" - } - ], - "id": 1998, - "name": "UnaryOperation", - "src": "18445:6:2" - } - ], - "id": 1999, - "name": "ExpressionStatement", - "src": "18445:6:2" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 942, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1866, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2000, - "name": "Identifier", - "src": "18472:8:2" - } - ], - "id": 2001, - "name": "MemberAccess", - "src": "18472:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1990, - "type": "uint256", - "value": "cnt2" - }, - "id": 2002, - "name": "Identifier", - "src": "18487:4:2" - } - ], - "id": 2003, - "name": "IndexAccess", - "src": "18472:20:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "/", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "*", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1881, - "type": "uint256", - "value": "totalReputation" - }, - "id": 2004, - "name": "Identifier", - "src": "18495:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1890, - "type": "uint256", - "value": "precReq" - }, - "id": 2005, - "name": "Identifier", - "src": "18511:7:2" - } - ], - "id": 2006, - "name": "BinaryOperation", - "src": "18495:23:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "313030", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 100", - "value": "100" - }, - "id": 2007, - "name": "Literal", - "src": "18519:3:2" - } - ], - "id": 2008, - "name": "BinaryOperation", - "src": "18495:27:2" - } - ], - "id": 2009, - "name": "BinaryOperation", - "src": "18472:50:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2010, - "name": "Identifier", - "src": "18550:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1857, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2011, - "name": "Identifier", - "src": "18560:11:2" - } - ], - "id": 2012, - "name": "IndexAccess", - "src": "18550:22:2" - } - ], - "id": 2013, - "name": "UnaryOperation", - "src": "18543:29:2" - } - ], - "id": 2014, - "name": "ExpressionStatement", - "src": "18543:29:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 975, - "type": "function (bytes32,uint256)", - "value": "LogExecuteProposal" - }, - "id": 2015, - "name": "Identifier", - "src": "18591:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1857, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2016, - "name": "Identifier", - "src": "18610:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1930, - "type": "uint256", - "value": "cnt" - }, - "id": 2017, - "name": "Identifier", - "src": "18623:3:2" - } - ], - "id": 2018, - "name": "FunctionCall", - "src": "18591:36:2" - } - ], - "id": 2019, - "name": "ExpressionStatement", - "src": "18591:36:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "execute", - "referencedDeclaration": 5154, - "type": "function (bytes32,address,int256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "executable", - "referencedDeclaration": 934, - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1898, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "tmpProposal" - }, - "id": 2020, - "name": "Identifier", - "src": "18647:11:2" - } - ], - "id": 2021, - "name": "MemberAccess", - "src": "18647:22:2" - } - ], - "id": 2022, - "name": "TupleExpression", - "src": "18646:24:2" - } - ], - "id": 2023, - "name": "MemberAccess", - "src": "18646:32:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1857, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2024, - "name": "Identifier", - "src": "18679:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "avatar", - "referencedDeclaration": 930, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1898, - "type": "struct EmergentVoteScheme.Proposal memory", - "value": "tmpProposal" - }, - "id": 2025, - "name": "Identifier", - "src": "18692:11:2" - } - ], - "id": 2026, - "name": "MemberAccess", - "src": "18692:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "int256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(int256)", - "value": "int" - }, - "id": 2027, - "name": "ElementaryTypeNameExpression", - "src": "18712:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1990, - "type": "uint256", - "value": "cnt2" - }, - "id": 2028, - "name": "Identifier", - "src": "18716:4:2" - } - ], - "id": 2029, - "name": "FunctionCall", - "src": "18712:9:2" - } - ], - "id": 2030, - "name": "FunctionCall", - "src": "18646:76:2" - } - ], - "id": 2031, - "name": "ExpressionStatement", - "src": "18646:76:2" - }, - { - "attributes": { - "functionReturnParameters": 1864 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 2032, - "name": "Literal", - "src": "18748:4:2" - } - ], - "id": 2033, - "name": "Return", - "src": "18741:11:2" - } - ], - "id": 2034, - "name": "Block", - "src": "18524:244:2" - } - ], - "id": 2035, - "name": "IfStatement", - "src": "18468:300:2" - } - ], - "id": 2036, - "name": "Block", - "src": "18453:326:2" - } - ], - "id": 2037, - "name": "ForStatement", - "src": "18396:383:2" - }, - { - "attributes": { - "functionReturnParameters": 1864 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 2038, - "name": "Literal", - "src": "18796:5:2" - } - ], - "id": 2039, - "name": "Return", - "src": "18789:12:2" - } - ], - "id": 2040, - "name": "Block", - "src": "17008:1801:2" - } - ], - "id": 2041, - "name": "FunctionDefinition", - "src": "16928:1881:2" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getNumberOfChoices", - "payable": false, - "scope": 2542, - "stateMutability": "view", - "superFunction": 2650, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2055, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2042, - "name": "ElementaryTypeName", - "src": "18845:7:2" - } - ], - "id": 2043, - "name": "VariableDeclaration", - "src": "18845:19:2" - } - ], - "id": 2044, - "name": "ParameterList", - "src": "18844:21:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2055, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2045, - "name": "ElementaryTypeName", - "src": "18890:4:2" - } - ], - "id": 2046, - "name": "VariableDeclaration", - "src": "18890:4:2" - } - ], - "id": 2047, - "name": "ParameterList", - "src": "18889:6:2" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 2047 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 932, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2048, - "name": "Identifier", - "src": "18915:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2043, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2049, - "name": "Identifier", - "src": "18925:11:2" - } - ], - "id": 2050, - "name": "IndexAccess", - "src": "18915:22:2" - } - ], - "id": 2051, - "name": "MemberAccess", - "src": "18915:35:2" - } - ], - "id": 2052, - "name": "TupleExpression", - "src": "18914:37:2" - } - ], - "id": 2053, - "name": "Return", - "src": "18907:44:2" - } - ], - "id": 2054, - "name": "Block", - "src": "18896:63:2" - } - ], - "id": 2055, - "name": "FunctionDefinition", - "src": "18817:142:2" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "voteInfo", - "payable": false, - "scope": 2542, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2082, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2056, - "name": "ElementaryTypeName", - "src": "19357:7:2" - } - ], - "id": 2057, - "name": "VariableDeclaration", - "src": "19357:19:2" - }, - { - "attributes": { - "constant": false, - "name": "_voter", - "scope": 2082, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2058, - "name": "ElementaryTypeName", - "src": "19378:7:2" - } - ], - "id": 2059, - "name": "VariableDeclaration", - "src": "19378:14:2" - } - ], - "id": 2060, - "name": "ParameterList", - "src": "19356:37:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2082, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256[2] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "uint256[2] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2061, - "name": "ElementaryTypeName", - "src": "19418:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 2062, - "name": "Literal", - "src": "19423:1:2" - } - ], - "id": 2063, - "name": "ArrayTypeName", - "src": "19418:7:2" - } - ], - "id": 2064, - "name": "VariableDeclaration", - "src": "19418:7:2" - } - ], - "id": 2065, - "name": "ParameterList", - "src": "19417:9:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 2067 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "voter", - "scope": 2082, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct EmergentVoteScheme.Voter memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Voter", - "referencedDeclaration": 926, - "type": "struct EmergentVoteScheme.Voter storage pointer" - }, - "id": 2066, - "name": "UserDefinedTypeName", - "src": "19438:5:2" - } - ], - "id": 2067, - "name": "VariableDeclaration", - "src": "19438:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voters", - "referencedDeclaration": 946, - "type": "mapping(address => struct EmergentVoteScheme.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2068, - "name": "Identifier", - "src": "19459:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2057, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2069, - "name": "Identifier", - "src": "19469:11:2" - } - ], - "id": 2070, - "name": "IndexAccess", - "src": "19459:22:2" - } - ], - "id": 2071, - "name": "MemberAccess", - "src": "19459:29:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2059, - "type": "address", - "value": "_voter" - }, - "id": 2072, - "name": "Identifier", - "src": "19489:6:2" - } - ], - "id": 2073, - "name": "IndexAccess", - "src": "19459:37:2" - } - ], - "id": 2074, - "name": "VariableDeclarationStatement", - "src": "19438:58:2" - }, - { - "attributes": { - "functionReturnParameters": 2065 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": true, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256[2] memory" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "vote", - "referencedDeclaration": 923, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2067, - "type": "struct EmergentVoteScheme.Voter memory", - "value": "voter" - }, - "id": 2075, - "name": "Identifier", - "src": "19515:5:2" - } - ], - "id": 2076, - "name": "MemberAccess", - "src": "19515:10:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputation", - "referencedDeclaration": 925, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2067, - "type": "struct EmergentVoteScheme.Voter memory", - "value": "voter" - }, - "id": 2077, - "name": "Identifier", - "src": "19527:5:2" - } - ], - "id": 2078, - "name": "MemberAccess", - "src": "19527:16:2" - } - ], - "id": 2079, - "name": "TupleExpression", - "src": "19514:30:2" - } - ], - "id": 2080, - "name": "Return", - "src": "19507:37:2" - } - ], - "id": 2081, - "name": "Block", - "src": "19427:125:2" - } - ], - "id": 2082, - "name": "FunctionDefinition", - "src": "19339:213:2" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "proposalStatus", - "payable": false, - "scope": 2542, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2142, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2083, - "name": "ElementaryTypeName", - "src": "19920:7:2" - } - ], - "id": 2084, - "name": "VariableDeclaration", - "src": "19920:19:2" - } - ], - "id": 2085, - "name": "ParameterList", - "src": "19919:21:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2142, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256[13] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "uint256[13] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2086, - "name": "ElementaryTypeName", - "src": "19965:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3133", - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 13", - "value": "13" - }, - "id": 2087, - "name": "Literal", - "src": "19970:2:2" - } - ], - "id": 2088, - "name": "ArrayTypeName", - "src": "19965:8:2" - } - ], - "id": 2089, - "name": "VariableDeclaration", - "src": "19965:8:2" - } - ], - "id": 2090, - "name": "ParameterList", - "src": "19964:10:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 2092 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 2142, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 957, - "type": "struct EmergentVoteScheme.Proposal storage pointer" - }, - "id": 2091, - "name": "UserDefinedTypeName", - "src": "19986:8:2" - } - ], - "id": 2092, - "name": "VariableDeclaration", - "src": "19986:25:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2093, - "name": "Identifier", - "src": "20014:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2084, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2094, - "name": "Identifier", - "src": "20024:11:2" - } - ], - "id": 2095, - "name": "IndexAccess", - "src": "20014:22:2" - } - ], - "id": 2096, - "name": "VariableDeclarationStatement", - "src": "19986:50:2" - }, - { - "attributes": { - "assignments": [ - 2098 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "opened", - "scope": 2142, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2097, - "name": "ElementaryTypeName", - "src": "20047:4:2" - } - ], - "id": 2098, - "name": "VariableDeclaration", - "src": "20047:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint8" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "opened", - "referencedDeclaration": 948, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2092, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2099, - "name": "Identifier", - "src": "20061:8:2" - } - ], - "id": 2100, - "name": "MemberAccess", - "src": "20061:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 2101, - "name": "Literal", - "src": "20079:1:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 2102, - "name": "Literal", - "src": "20083:1:2" - } - ], - "id": 2103, - "name": "Conditional", - "src": "20061:23:2" - } - ], - "id": 2104, - "name": "VariableDeclarationStatement", - "src": "20047:37:2" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "returnedArray", - "scope": 2142, - "stateVariable": false, - "storageLocation": "memory", - "type": "uint256[13] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "uint256[13] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2107, - "name": "ElementaryTypeName", - "src": "20095:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3133", - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 13", - "value": "13" - }, - "id": 2106, - "name": "Literal", - "src": "20100:2:2" - } - ], - "id": 2108, - "name": "ArrayTypeName", - "src": "20095:8:2" - } - ], - "id": 2109, - "name": "VariableDeclaration", - "src": "20095:29:2" - } - ], - "id": 2110, - "name": "VariableDeclarationStatement", - "src": "20095:29:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2109, - "type": "uint256[13] memory", - "value": "returnedArray" - }, - "id": 2111, - "name": "Identifier", - "src": "20135:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3132", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 12", - "value": "12" - }, - "id": 2112, - "name": "Literal", - "src": "20149:2:2" - } - ], - "id": 2113, - "name": "IndexAccess", - "src": "20135:17:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2098, - "type": "uint256", - "value": "opened" - }, - "id": 2114, - "name": "Identifier", - "src": "20155:6:2" - } - ], - "id": 2115, - "name": "Assignment", - "src": "20135:26:2" - } - ], - "id": 2116, - "name": "ExpressionStatement", - "src": "20135:26:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 2118 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 2142, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2117, - "name": "ElementaryTypeName", - "src": "20177:4:2" - } - ], - "id": 2118, - "name": "VariableDeclaration", - "src": "20177:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 2119, - "name": "Literal", - "src": "20188:1:2" - } - ], - "id": 2120, - "name": "VariableDeclarationStatement", - "src": "20177:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2118, - "type": "uint256", - "value": "cnt" - }, - "id": 2121, - "name": "Identifier", - "src": "20191:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 932, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2092, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2122, - "name": "Identifier", - "src": "20196:8:2" - } - ], - "id": 2123, - "name": "MemberAccess", - "src": "20196:21:2" - } - ], - "id": 2124, - "name": "BinaryOperation", - "src": "20191:26:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2118, - "type": "uint256", - "value": "cnt" - }, - "id": 2125, - "name": "Identifier", - "src": "20219:3:2" - } - ], - "id": 2126, - "name": "UnaryOperation", - "src": "20219:5:2" - } - ], - "id": 2127, - "name": "ExpressionStatement", - "src": "20219:5:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2109, - "type": "uint256[13] memory", - "value": "returnedArray" - }, - "id": 2128, - "name": "Identifier", - "src": "20241:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2118, - "type": "uint256", - "value": "cnt" - }, - "id": 2129, - "name": "Identifier", - "src": "20255:3:2" - } - ], - "id": 2130, - "name": "IndexAccess", - "src": "20241:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 942, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2092, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2131, - "name": "Identifier", - "src": "20262:8:2" - } - ], - "id": 2132, - "name": "MemberAccess", - "src": "20262:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2118, - "type": "uint256", - "value": "cnt" - }, - "id": 2133, - "name": "Identifier", - "src": "20277:3:2" - } - ], - "id": 2134, - "name": "IndexAccess", - "src": "20262:19:2" - } - ], - "id": 2135, - "name": "Assignment", - "src": "20241:40:2" - } - ], - "id": 2136, - "name": "ExpressionStatement", - "src": "20241:40:2" - } - ], - "id": 2137, - "name": "Block", - "src": "20226:67:2" - } - ], - "id": 2138, - "name": "ForStatement", - "src": "20172:121:2" - }, - { - "attributes": { - "functionReturnParameters": 2090 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2109, - "type": "uint256[13] memory", - "value": "returnedArray" - }, - "id": 2139, - "name": "Identifier", - "src": "20310:13:2" - } - ], - "id": 2140, - "name": "Return", - "src": "20303:20:2" - } - ], - "id": 2141, - "name": "Block", - "src": "19975:356:2" - } - ], - "id": 2142, - "name": "FunctionDefinition", - "src": "19896:435:2" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "isVotable", - "payable": false, - "scope": 2542, - "stateMutability": "view", - "superFunction": 2657, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2155, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2143, - "name": "ElementaryTypeName", - "src": "20510:7:2" - } - ], - "id": 2144, - "name": "VariableDeclaration", - "src": "20510:19:2" - } - ], - "id": 2145, - "name": "ParameterList", - "src": "20509:21:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2155, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2146, - "name": "ElementaryTypeName", - "src": "20555:4:2" - } - ], - "id": 2147, - "name": "VariableDeclaration", - "src": "20555:4:2" - } - ], - "id": 2148, - "name": "ParameterList", - "src": "20554:6:2" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 2148 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "opened", - "referencedDeclaration": 948, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2149, - "name": "Identifier", - "src": "20579:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2144, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2150, - "name": "Identifier", - "src": "20589:11:2" - } - ], - "id": 2151, - "name": "IndexAccess", - "src": "20579:22:2" - } - ], - "id": 2152, - "name": "MemberAccess", - "src": "20579:29:2" - } - ], - "id": 2153, - "name": "Return", - "src": "20572:36:2" - } - ], - "id": 2154, - "name": "Block", - "src": "20561:55:2" - } - ], - "id": 2155, - "name": "FunctionDefinition", - "src": "20491:125:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "tryAwaitingBoostProposals", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2280, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2156, - "name": "ElementaryTypeName", - "src": "20939:7:2" - } - ], - "id": 2157, - "name": "VariableDeclaration", - "src": "20939:19:2" - } - ], - "id": 2158, - "name": "ParameterList", - "src": "20938:21:2" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 2159, - "name": "ParameterList", - "src": "20969:0:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 2161 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "avatar", - "scope": 2280, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2160, - "name": "ElementaryTypeName", - "src": "21028:7:2" - } - ], - "id": 2161, - "name": "VariableDeclaration", - "src": "21028:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "avatar", - "referencedDeclaration": 930, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2162, - "name": "Identifier", - "src": "21045:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2157, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2163, - "name": "Identifier", - "src": "21055:11:2" - } - ], - "id": 2164, - "name": "IndexAccess", - "src": "21045:22:2" - } - ], - "id": 2165, - "name": "MemberAccess", - "src": "21045:29:2" - } - ], - "id": 2166, - "name": "VariableDeclarationStatement", - "src": "21028:46:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 2167, - "name": "Identifier", - "src": "21085:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2161, - "type": "address", - "value": "avatar" - }, - "id": 2168, - "name": "Identifier", - "src": "21093:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 2169, - "name": "ElementaryTypeNameExpression", - "src": "21103:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 2170, - "name": "Literal", - "src": "21111:1:2" - } - ], - "id": 2171, - "name": "FunctionCall", - "src": "21103:10:2" - } - ], - "id": 2172, - "name": "BinaryOperation", - "src": "21093:20:2" - } - ], - "id": 2173, - "name": "FunctionCall", - "src": "21085:29:2" - } - ], - "id": 2174, - "name": "ExpressionStatement", - "src": "21085:29:2" - }, - { - "attributes": { - "assignments": [ - 2176 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "orgParamsHash", - "scope": 2280, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2175, - "name": "ElementaryTypeName", - "src": "21149:7:2" - } - ], - "id": 2176, - "name": "VariableDeclaration", - "src": "21149:21:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 2177, - "name": "Identifier", - "src": "21173:27:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 2178, - "name": "Identifier", - "src": "21201:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2161, - "type": "address", - "value": "avatar" - }, - "id": 2179, - "name": "Identifier", - "src": "21208:6:2" - } - ], - "id": 2180, - "name": "FunctionCall", - "src": "21201:14:2" - } - ], - "id": 2181, - "name": "FunctionCall", - "src": "21173:43:2" - } - ], - "id": 2182, - "name": "VariableDeclarationStatement", - "src": "21149:67:2" - }, - { - "attributes": { - "assignments": [ - 2184 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "orgParams", - "scope": 2280, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct EmergentVoteScheme.OrgParameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "OrgParameters", - "referencedDeclaration": 914, - "type": "struct EmergentVoteScheme.OrgParameters storage pointer" - }, - "id": 2183, - "name": "UserDefinedTypeName", - "src": "21227:13:2" - } - ], - "id": 2184, - "name": "VariableDeclaration", - "src": "21227:30:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.OrgParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1001, - "type": "mapping(bytes32 => struct EmergentVoteScheme.OrgParameters storage ref)", - "value": "organizationsParameters" - }, - "id": 2185, - "name": "Identifier", - "src": "21260:23:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2176, - "type": "bytes32", - "value": "orgParamsHash" - }, - "id": 2186, - "name": "Identifier", - "src": "21284:13:2" - } - ], - "id": 2187, - "name": "IndexAccess", - "src": "21260:38:2" - } - ], - "id": 2188, - "name": "VariableDeclarationStatement", - "src": "21227:71:2" - }, - { - "attributes": { - "assignments": [ - 2190 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "org", - "scope": 2280, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 897, - "type": "struct EmergentVoteScheme.Organization storage pointer" - }, - "id": 2189, - "name": "UserDefinedTypeName", - "src": "21309:12:2" - } - ], - "id": 2190, - "name": "VariableDeclaration", - "src": "21309:24:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 997, - "type": "mapping(address => struct EmergentVoteScheme.Organization storage ref)", - "value": "organizations" - }, - "id": 2191, - "name": "Identifier", - "src": "21336:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2161, - "type": "address", - "value": "avatar" - }, - "id": 2192, - "name": "Identifier", - "src": "21350:6:2" - } - ], - "id": 2193, - "name": "IndexAccess", - "src": "21336:21:2" - } - ], - "id": 2194, - "name": "VariableDeclarationStatement", - "src": "21309:48:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "isAwaitingBoost", - "referencedDeclaration": 952, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2195, - "name": "Identifier", - "src": "21424:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2157, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2196, - "name": "Identifier", - "src": "21434:11:2" - } - ], - "id": 2197, - "name": "IndexAccess", - "src": "21424:22:2" - } - ], - "id": 2198, - "name": "MemberAccess", - "src": "21424:38:2" - }, - { - "children": [ - { - "attributes": { - "expression": null, - "functionReturnParameters": 2159 - }, - "id": 2199, - "name": "Return", - "src": "21479:7:2" - } - ], - "id": 2200, - "name": "Block", - "src": "21464:33:2" - } - ], - "id": 2201, - "name": "IfStatement", - "src": "21420:77:2" - }, - { - "attributes": { - "assignments": [ - 2203 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "maxAwaitingList", - "scope": 2280, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2202, - "name": "ElementaryTypeName", - "src": "21618:4:2" - } - ], - "id": 2203, - "name": "VariableDeclaration", - "src": "21618:20:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "*", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 2204, - "name": "Literal", - "src": "21641:1:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "attentionBandwidth", - "referencedDeclaration": 905, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2184, - "type": "struct EmergentVoteScheme.OrgParameters memory", - "value": "orgParams" - }, - "id": 2205, - "name": "Identifier", - "src": "21643:9:2" - } - ], - "id": 2206, - "name": "MemberAccess", - "src": "21643:28:2" - } - ], - "id": 2207, - "name": "BinaryOperation", - "src": "21641:30:2" - } - ], - "id": 2208, - "name": "VariableDeclarationStatement", - "src": "21618:53:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2190, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 2209, - "name": "Identifier", - "src": "21686:3:2" - } - ], - "id": 2210, - "name": "MemberAccess", - "src": "21686:26:2" - } - ], - "id": 2211, - "name": "MemberAccess", - "src": "21686:33:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2203, - "type": "uint256", - "value": "maxAwaitingList" - }, - "id": 2212, - "name": "Identifier", - "src": "21722:15:2" - } - ], - "id": 2213, - "name": "BinaryOperation", - "src": "21686:51:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "push", - "referencedDeclaration": null, - "type": "function (bytes32) returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2190, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 2214, - "name": "Identifier", - "src": "21754:3:2" - } - ], - "id": 2217, - "name": "MemberAccess", - "src": "21754:26:2" - } - ], - "id": 2218, - "name": "MemberAccess", - "src": "21754:31:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2157, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2219, - "name": "Identifier", - "src": "21786:11:2" - } - ], - "id": 2220, - "name": "FunctionCall", - "src": "21754:44:2" - } - ], - "id": 2221, - "name": "ExpressionStatement", - "src": "21754:44:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "isAwaitingBoost", - "referencedDeclaration": 952, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2222, - "name": "Identifier", - "src": "21813:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2157, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2223, - "name": "Identifier", - "src": "21823:11:2" - } - ], - "id": 2224, - "name": "IndexAccess", - "src": "21813:22:2" - } - ], - "id": 2225, - "name": "MemberAccess", - "src": "21813:38:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 2226, - "name": "Literal", - "src": "21854:4:2" - } - ], - "id": 2227, - "name": "Assignment", - "src": "21813:45:2" - } - ], - "id": 2228, - "name": "ExpressionStatement", - "src": "21813:45:2" - }, - { - "attributes": { - "expression": null, - "functionReturnParameters": 2159 - }, - "id": 2229, - "name": "Return", - "src": "21873:7:2" - } - ], - "id": 2230, - "name": "Block", - "src": "21739:152:2" - } - ], - "id": 2231, - "name": "IfStatement", - "src": "21682:209:2" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "minIndex", - "scope": 2280, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2232, - "name": "ElementaryTypeName", - "src": "21961:4:2" - } - ], - "id": 2233, - "name": "VariableDeclaration", - "src": "21961:13:2" - } - ], - "id": 2234, - "name": "VariableDeclarationStatement", - "src": "21961:13:2" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "minScore", - "scope": 2280, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2235, - "name": "ElementaryTypeName", - "src": "21985:4:2" - } - ], - "id": 2236, - "name": "VariableDeclaration", - "src": "21985:13:2" - } - ], - "id": 2237, - "name": "VariableDeclarationStatement", - "src": "21985:13:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "tuple(uint256,uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2233, - "type": "uint256", - "value": "minIndex" - }, - "id": 2238, - "name": "Identifier", - "src": "22010:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2236, - "type": "uint256", - "value": "minScore" - }, - "id": 2239, - "name": "Identifier", - "src": "22020:8:2" - } - ], - "id": 2240, - "name": "TupleExpression", - "src": "22009:20:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple(uint256,uint256)", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1471, - "type": "function (bytes32[] memory) view returns (uint256,uint256)", - "value": "findMinScore" - }, - "id": 2241, - "name": "Identifier", - "src": "22032:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2190, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 2242, - "name": "Identifier", - "src": "22045:3:2" - } - ], - "id": 2243, - "name": "MemberAccess", - "src": "22045:26:2" - } - ], - "id": 2244, - "name": "FunctionCall", - "src": "22032:40:2" - } - ], - "id": 2245, - "name": "Assignment", - "src": "22009:63:2" - } - ], - "id": 2246, - "name": "ExpressionStatement", - "src": "22009:63:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1426, - "type": "function (bytes32) view returns (uint256)", - "value": "proposalScore" - }, - "id": 2247, - "name": "Identifier", - "src": "22087:13:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2157, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2248, - "name": "Identifier", - "src": "22101:11:2" - } - ], - "id": 2249, - "name": "FunctionCall", - "src": "22087:26:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2233, - "type": "uint256", - "value": "minIndex" - }, - "id": 2250, - "name": "Identifier", - "src": "22116:8:2" - } - ], - "id": 2251, - "name": "BinaryOperation", - "src": "22087:37:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "isAwaitingBoost", - "referencedDeclaration": 952, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2252, - "name": "Identifier", - "src": "22141:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2190, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 2253, - "name": "Identifier", - "src": "22151:3:2" - } - ], - "id": 2254, - "name": "MemberAccess", - "src": "22151:26:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2233, - "type": "uint256", - "value": "minIndex" - }, - "id": 2255, - "name": "Identifier", - "src": "22178:8:2" - } - ], - "id": 2256, - "name": "IndexAccess", - "src": "22151:36:2" - } - ], - "id": 2257, - "name": "IndexAccess", - "src": "22141:47:2" - } - ], - "id": 2258, - "name": "MemberAccess", - "src": "22141:63:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 2259, - "name": "Literal", - "src": "22207:5:2" - } - ], - "id": 2260, - "name": "Assignment", - "src": "22141:71:2" - } - ], - "id": 2261, - "name": "ExpressionStatement", - "src": "22141:71:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "isAwaitingBoost", - "referencedDeclaration": 952, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2262, - "name": "Identifier", - "src": "22227:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2157, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2263, - "name": "Identifier", - "src": "22237:11:2" - } - ], - "id": 2264, - "name": "IndexAccess", - "src": "22227:22:2" - } - ], - "id": 2265, - "name": "MemberAccess", - "src": "22227:38:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 2266, - "name": "Literal", - "src": "22268:4:2" - } - ], - "id": 2267, - "name": "Assignment", - "src": "22227:45:2" - } - ], - "id": 2268, - "name": "ExpressionStatement", - "src": "22227:45:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "awaitingBoostProposals", - "referencedDeclaration": 896, - "type": "bytes32[] storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2190, - "type": "struct EmergentVoteScheme.Organization storage pointer", - "value": "org" - }, - "id": 2269, - "name": "Identifier", - "src": "22287:3:2" - } - ], - "id": 2272, - "name": "MemberAccess", - "src": "22287:26:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2233, - "type": "uint256", - "value": "minIndex" - }, - "id": 2271, - "name": "Identifier", - "src": "22314:8:2" - } - ], - "id": 2273, - "name": "IndexAccess", - "src": "22287:36:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2157, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2274, - "name": "Identifier", - "src": "22326:11:2" - } - ], - "id": 2275, - "name": "Assignment", - "src": "22287:50:2" - } - ], - "id": 2276, - "name": "ExpressionStatement", - "src": "22287:50:2" - } - ], - "id": 2277, - "name": "Block", - "src": "22126:223:2" - } - ], - "id": 2278, - "name": "IfStatement", - "src": "22083:266:2" - } - ], - "id": 2279, - "name": "Block", - "src": "20969:1387:2" - } - ], - "id": 2280, - "name": "FunctionDefinition", - "src": "20904:1452:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "cancelVoteInternal", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2342, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2281, - "name": "ElementaryTypeName", - "src": "22614:7:2" - } - ], - "id": 2282, - "name": "VariableDeclaration", - "src": "22614:19:2" - }, - { - "attributes": { - "constant": false, - "name": "_voter", - "scope": 2342, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2283, - "name": "ElementaryTypeName", - "src": "22635:7:2" - } - ], - "id": 2284, - "name": "VariableDeclaration", - "src": "22635:14:2" - } - ], - "id": 2285, - "name": "ParameterList", - "src": "22613:37:2" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 2286, - "name": "ParameterList", - "src": "22660:0:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 2288 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 2342, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 957, - "type": "struct EmergentVoteScheme.Proposal storage pointer" - }, - "id": 2287, - "name": "UserDefinedTypeName", - "src": "22671:8:2" - } - ], - "id": 2288, - "name": "VariableDeclaration", - "src": "22671:25:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2289, - "name": "Identifier", - "src": "22699:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2282, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2290, - "name": "Identifier", - "src": "22709:11:2" - } - ], - "id": 2291, - "name": "IndexAccess", - "src": "22699:22:2" - } - ], - "id": 2292, - "name": "VariableDeclarationStatement", - "src": "22671:50:2" - }, - { - "attributes": { - "assignments": [ - 2294 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "voter", - "scope": 2342, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct EmergentVoteScheme.Voter memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Voter", - "referencedDeclaration": 926, - "type": "struct EmergentVoteScheme.Voter storage pointer" - }, - "id": 2293, - "name": "UserDefinedTypeName", - "src": "22732:5:2" - } - ], - "id": 2294, - "name": "VariableDeclaration", - "src": "22732:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voters", - "referencedDeclaration": 946, - "type": "mapping(address => struct EmergentVoteScheme.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2288, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2295, - "name": "Identifier", - "src": "22753:8:2" - } - ], - "id": 2296, - "name": "MemberAccess", - "src": "22753:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2284, - "type": "address", - "value": "_voter" - }, - "id": 2297, - "name": "Identifier", - "src": "22769:6:2" - } - ], - "id": 2298, - "name": "IndexAccess", - "src": "22753:23:2" - } - ], - "id": 2299, - "name": "VariableDeclarationStatement", - "src": "22732:44:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 942, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2288, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2300, - "name": "Identifier", - "src": "22789:8:2" - } - ], - "id": 2304, - "name": "MemberAccess", - "src": "22789:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "vote", - "referencedDeclaration": 923, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2294, - "type": "struct EmergentVoteScheme.Voter memory", - "value": "voter" - }, - "id": 2302, - "name": "Identifier", - "src": "22804:5:2" - } - ], - "id": 2303, - "name": "MemberAccess", - "src": "22804:10:2" - } - ], - "id": 2305, - "name": "IndexAccess", - "src": "22789:26:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 942, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2288, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2306, - "name": "Identifier", - "src": "22819:8:2" - } - ], - "id": 2307, - "name": "MemberAccess", - "src": "22819:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "vote", - "referencedDeclaration": 923, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2294, - "type": "struct EmergentVoteScheme.Voter memory", - "value": "voter" - }, - "id": 2308, - "name": "Identifier", - "src": "22834:5:2" - } - ], - "id": 2309, - "name": "MemberAccess", - "src": "22834:10:2" - } - ], - "id": 2310, - "name": "IndexAccess", - "src": "22819:26:2" - } - ], - "id": 2311, - "name": "TupleExpression", - "src": "22818:28:2" - } - ], - "id": 2312, - "name": "MemberAccess", - "src": "22818:32:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputation", - "referencedDeclaration": 925, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2294, - "type": "struct EmergentVoteScheme.Voter memory", - "value": "voter" - }, - "id": 2313, - "name": "Identifier", - "src": "22851:5:2" - } - ], - "id": 2314, - "name": "MemberAccess", - "src": "22851:16:2" - } - ], - "id": 2315, - "name": "FunctionCall", - "src": "22818:50:2" - } - ], - "id": 2316, - "name": "Assignment", - "src": "22789:79:2" - } - ], - "id": 2317, - "name": "ExpressionStatement", - "src": "22789:79:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "totalVotes", - "referencedDeclaration": 938, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2288, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2318, - "name": "Identifier", - "src": "22879:8:2" - } - ], - "id": 2320, - "name": "MemberAccess", - "src": "22879:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalVotes", - "referencedDeclaration": 938, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2288, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2321, - "name": "Identifier", - "src": "22902:8:2" - } - ], - "id": 2322, - "name": "MemberAccess", - "src": "22902:19:2" - } - ], - "id": 2323, - "name": "TupleExpression", - "src": "22901:21:2" - } - ], - "id": 2324, - "name": "MemberAccess", - "src": "22901:25:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputation", - "referencedDeclaration": 925, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2294, - "type": "struct EmergentVoteScheme.Voter memory", - "value": "voter" - }, - "id": 2325, - "name": "Identifier", - "src": "22927:5:2" - } - ], - "id": 2326, - "name": "MemberAccess", - "src": "22927:16:2" - } - ], - "id": 2327, - "name": "FunctionCall", - "src": "22901:43:2" - } - ], - "id": 2328, - "name": "Assignment", - "src": "22879:65:2" - } - ], - "id": 2329, - "name": "ExpressionStatement", - "src": "22879:65:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct EmergentVoteScheme.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voters", - "referencedDeclaration": 946, - "type": "mapping(address => struct EmergentVoteScheme.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2288, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2330, - "name": "Identifier", - "src": "22964:8:2" - } - ], - "id": 2331, - "name": "MemberAccess", - "src": "22964:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2284, - "type": "address", - "value": "_voter" - }, - "id": 2332, - "name": "Identifier", - "src": "22980:6:2" - } - ], - "id": 2333, - "name": "IndexAccess", - "src": "22964:23:2" - } - ], - "id": 2334, - "name": "UnaryOperation", - "src": "22957:30:2" - } - ], - "id": 2335, - "name": "ExpressionStatement", - "src": "22957:30:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 993, - "type": "function (bytes32,address)", - "value": "LogCancelVoting" - }, - "id": 2336, - "name": "Identifier", - "src": "22998:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2282, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2337, - "name": "Identifier", - "src": "23014:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2284, - "type": "address", - "value": "_voter" - }, - "id": 2338, - "name": "Identifier", - "src": "23027:6:2" - } - ], - "id": 2339, - "name": "FunctionCall", - "src": "22998:36:2" - } - ], - "id": 2340, - "name": "ExpressionStatement", - "src": "22998:36:2" - } - ], - "id": 2341, - "name": "Block", - "src": "22660:382:2" - } - ], - "id": 2342, - "name": "FunctionDefinition", - "src": "22586:456:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "deleteFromArray", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_idsArray", - "scope": 2388, - "stateVariable": false, - "storageLocation": "storage", - "type": "bytes32[] storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2343, - "name": "ElementaryTypeName", - "src": "23254:7:2" - } - ], - "id": 2344, - "name": "ArrayTypeName", - "src": "23254:9:2" - } - ], - "id": 2345, - "name": "VariableDeclaration", - "src": "23254:27:2" - }, - { - "attributes": { - "constant": false, - "name": "_index", - "scope": 2388, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2346, - "name": "ElementaryTypeName", - "src": "23283:4:2" - } - ], - "id": 2347, - "name": "VariableDeclaration", - "src": "23283:11:2" - } - ], - "id": 2348, - "name": "ParameterList", - "src": "23253:42:2" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 2349, - "name": "ParameterList", - "src": "23305:0:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9727, - "type": "function (bool) pure", - "value": "assert" - }, - "id": 2350, - "name": "Identifier", - "src": "23316:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2345, - "type": "bytes32[] storage pointer", - "value": "_idsArray" - }, - "id": 2351, - "name": "Identifier", - "src": "23323:9:2" - } - ], - "id": 2352, - "name": "MemberAccess", - "src": "23323:16:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2347, - "type": "uint256", - "value": "_index" - }, - "id": 2353, - "name": "Identifier", - "src": "23342:6:2" - } - ], - "id": 2354, - "name": "BinaryOperation", - "src": "23323:25:2" - } - ], - "id": 2355, - "name": "FunctionCall", - "src": "23316:33:2" - } - ], - "id": 2356, - "name": "ExpressionStatement", - "src": "23316:33:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 2358 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 2388, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2357, - "name": "ElementaryTypeName", - "src": "23365:4:2" - } - ], - "id": 2358, - "name": "VariableDeclaration", - "src": "23365:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2347, - "type": "uint256", - "value": "_index" - }, - "id": 2359, - "name": "Identifier", - "src": "23376:6:2" - } - ], - "id": 2360, - "name": "VariableDeclarationStatement", - "src": "23365:17:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2358, - "type": "uint256", - "value": "cnt" - }, - "id": 2361, - "name": "Identifier", - "src": "23384:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "-", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2345, - "type": "bytes32[] storage pointer", - "value": "_idsArray" - }, - "id": 2362, - "name": "Identifier", - "src": "23388:9:2" - } - ], - "id": 2363, - "name": "MemberAccess", - "src": "23388:16:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 2364, - "name": "Literal", - "src": "23405:1:2" - } - ], - "id": 2365, - "name": "BinaryOperation", - "src": "23388:18:2" - } - ], - "id": 2366, - "name": "BinaryOperation", - "src": "23384:22:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2358, - "type": "uint256", - "value": "cnt" - }, - "id": 2367, - "name": "Identifier", - "src": "23408:3:2" - } - ], - "id": 2368, - "name": "UnaryOperation", - "src": "23408:5:2" - } - ], - "id": 2369, - "name": "ExpressionStatement", - "src": "23408:5:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2345, - "type": "bytes32[] storage pointer", - "value": "_idsArray" - }, - "id": 2370, - "name": "Identifier", - "src": "23430:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2358, - "type": "uint256", - "value": "cnt" - }, - "id": 2371, - "name": "Identifier", - "src": "23440:3:2" - } - ], - "id": 2372, - "name": "IndexAccess", - "src": "23430:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2345, - "type": "bytes32[] storage pointer", - "value": "_idsArray" - }, - "id": 2373, - "name": "Identifier", - "src": "23447:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "+", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2358, - "type": "uint256", - "value": "cnt" - }, - "id": 2374, - "name": "Identifier", - "src": "23457:3:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 2375, - "name": "Literal", - "src": "23461:1:2" - } - ], - "id": 2376, - "name": "BinaryOperation", - "src": "23457:5:2" - } - ], - "id": 2377, - "name": "IndexAccess", - "src": "23447:16:2" - } - ], - "id": 2378, - "name": "Assignment", - "src": "23430:33:2" - } - ], - "id": 2379, - "name": "ExpressionStatement", - "src": "23430:33:2" - } - ], - "id": 2380, - "name": "Block", - "src": "23415:60:2" - } - ], - "id": 2381, - "name": "ForStatement", - "src": "23360:115:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "--", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2345, - "type": "bytes32[] storage pointer", - "value": "_idsArray" - }, - "id": 2382, - "name": "Identifier", - "src": "23485:9:2" - } - ], - "id": 2384, - "name": "MemberAccess", - "src": "23485:16:2" - } - ], - "id": 2385, - "name": "UnaryOperation", - "src": "23485:18:2" - } - ], - "id": 2386, - "name": "ExpressionStatement", - "src": "23485:18:2" - } - ], - "id": 2387, - "name": "Block", - "src": "23305:206:2" - } - ], - "id": 2388, - "name": "FunctionDefinition", - "src": "23229:282:2" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "internalVote", - "payable": false, - "scope": 2542, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "private" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2541, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2389, - "name": "ElementaryTypeName", - "src": "23995:7:2" - } - ], - "id": 2390, - "name": "VariableDeclaration", - "src": "23995:19:2" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 2541, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2391, - "name": "ElementaryTypeName", - "src": "24016:4:2" - } - ], - "id": 2392, - "name": "VariableDeclaration", - "src": "24016:10:2" - }, - { - "attributes": { - "constant": false, - "name": "_voter", - "scope": 2541, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2393, - "name": "ElementaryTypeName", - "src": "24028:7:2" - } - ], - "id": 2394, - "name": "VariableDeclaration", - "src": "24028:14:2" - }, - { - "attributes": { - "constant": false, - "name": "_rep", - "scope": 2541, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2395, - "name": "ElementaryTypeName", - "src": "24044:4:2" - } - ], - "id": 2396, - "name": "VariableDeclaration", - "src": "24044:9:2" - } - ], - "id": 2397, - "name": "ParameterList", - "src": "23994:60:2" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2541, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2398, - "name": "ElementaryTypeName", - "src": "24071:4:2" - } - ], - "id": 2399, - "name": "VariableDeclaration", - "src": "24071:4:2" - } - ], - "id": 2400, - "name": "ParameterList", - "src": "24070:6:2" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 2402 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 2541, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 957, - "type": "struct EmergentVoteScheme.Proposal storage pointer" - }, - "id": 2401, - "name": "UserDefinedTypeName", - "src": "24088:8:2" - } - ], - "id": 2402, - "name": "VariableDeclaration", - "src": "24088:25:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1009, - "type": "mapping(bytes32 => struct EmergentVoteScheme.Proposal storage ref)", - "value": "proposals" - }, - "id": 2403, - "name": "Identifier", - "src": "24116:9:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2390, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2404, - "name": "Identifier", - "src": "24126:11:2" - } - ], - "id": 2405, - "name": "IndexAccess", - "src": "24116:22:2" - } - ], - "id": 2406, - "name": "VariableDeclarationStatement", - "src": "24088:50:2" - }, - { - "attributes": { - "assignments": [ - 2408 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 2541, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2407, - "name": "ElementaryTypeName", - "src": "24149:7:2" - } - ], - "id": 2408, - "name": "VariableDeclaration", - "src": "24149:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 2409, - "name": "Identifier", - "src": "24170:27:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 2410, - "name": "Identifier", - "src": "24198:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "avatar", - "referencedDeclaration": 930, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2402, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2411, - "name": "Identifier", - "src": "24205:8:2" - } - ], - "id": 2412, - "name": "MemberAccess", - "src": "24205:15:2" - } - ], - "id": 2413, - "name": "FunctionCall", - "src": "24198:23:2" - } - ], - "id": 2414, - "name": "FunctionCall", - "src": "24170:52:2" - } - ], - "id": 2415, - "name": "VariableDeclarationStatement", - "src": "24149:73:2" - }, - { - "attributes": { - "assignments": [ - 2417 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "orgParams", - "scope": 2541, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct EmergentVoteScheme.OrgParameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "OrgParameters", - "referencedDeclaration": 914, - "type": "struct EmergentVoteScheme.OrgParameters storage pointer" - }, - "id": 2416, - "name": "UserDefinedTypeName", - "src": "24233:13:2" - } - ], - "id": 2417, - "name": "VariableDeclaration", - "src": "24233:30:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.OrgParameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 1001, - "type": "mapping(bytes32 => struct EmergentVoteScheme.OrgParameters storage ref)", - "value": "organizationsParameters" - }, - "id": 2418, - "name": "Identifier", - "src": "24266:23:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2408, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 2419, - "name": "Identifier", - "src": "24290:10:2" - } - ], - "id": 2420, - "name": "IndexAccess", - "src": "24266:35:2" - } - ], - "id": 2421, - "name": "VariableDeclarationStatement", - "src": "24233:68:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "isBoostModeActive", - "referencedDeclaration": 950, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2402, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2422, - "name": "Identifier", - "src": "24371:8:2" - } - ], - "id": 2423, - "name": "MemberAccess", - "src": "24371:26:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "number", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9728, - "type": "block", - "value": "block" - }, - "id": 2424, - "name": "Identifier", - "src": "24401:5:2" - } - ], - "id": 2425, - "name": "MemberAccess", - "src": "24401:12:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "closingTime", - "referencedDeclaration": 954, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2402, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2426, - "name": "Identifier", - "src": "24417:8:2" - } - ], - "id": 2427, - "name": "MemberAccess", - "src": "24417:20:2" - } - ], - "id": 2428, - "name": "BinaryOperation", - "src": "24401:36:2" - } - ], - "id": 2429, - "name": "BinaryOperation", - "src": "24371:66:2" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 2400 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 2041 - ], - "referencedDeclaration": 2041, - "type": "function (bytes32) returns (bool)", - "value": "execute" - }, - "id": 2430, - "name": "Identifier", - "src": "24461:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2390, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2431, - "name": "Identifier", - "src": "24469:11:2" - } - ], - "id": 2432, - "name": "FunctionCall", - "src": "24461:20:2" - } - ], - "id": 2433, - "name": "Return", - "src": "24454:27:2" - } - ], - "id": 2434, - "name": "Block", - "src": "24439:54:2" - } - ], - "id": 2435, - "name": "IfStatement", - "src": "24367:126:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 2436, - "name": "Identifier", - "src": "24535:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2392, - "type": "uint256", - "value": "_vote" - }, - "id": 2437, - "name": "Identifier", - "src": "24543:5:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 932, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2402, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2438, - "name": "Identifier", - "src": "24552:8:2" - } - ], - "id": 2439, - "name": "MemberAccess", - "src": "24552:21:2" - } - ], - "id": 2440, - "name": "BinaryOperation", - "src": "24543:30:2" - } - ], - "id": 2441, - "name": "FunctionCall", - "src": "24535:39:2" - } - ], - "id": 2442, - "name": "ExpressionStatement", - "src": "24535:39:2" - }, - { - "attributes": { - "assignments": [ - 2444 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "reputation", - "scope": 2541, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2443, - "name": "ElementaryTypeName", - "src": "24634:4:2" - } - ], - "id": 2444, - "name": "VariableDeclaration", - "src": "24634:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "reputationOf", - "referencedDeclaration": 4243, - "type": "function (address) view external returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputationSystem", - "referencedDeclaration": 899, - "type": "contract Reputation" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2417, - "type": "struct EmergentVoteScheme.OrgParameters memory", - "value": "orgParams" - }, - "id": 2445, - "name": "Identifier", - "src": "24652:9:2" - } - ], - "id": 2446, - "name": "MemberAccess", - "src": "24652:26:2" - } - ], - "id": 2447, - "name": "MemberAccess", - "src": "24652:39:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2394, - "type": "address", - "value": "_voter" - }, - "id": 2448, - "name": "Identifier", - "src": "24692:6:2" - } - ], - "id": 2449, - "name": "FunctionCall", - "src": "24652:47:2" - } - ], - "id": 2450, - "name": "VariableDeclarationStatement", - "src": "24634:65:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 2451, - "name": "Identifier", - "src": "24710:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2444, - "type": "uint256", - "value": "reputation" - }, - "id": 2452, - "name": "Identifier", - "src": "24718:10:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2396, - "type": "uint256", - "value": "_rep" - }, - "id": 2453, - "name": "Identifier", - "src": "24732:4:2" - } - ], - "id": 2454, - "name": "BinaryOperation", - "src": "24718:18:2" - } - ], - "id": 2455, - "name": "FunctionCall", - "src": "24710:27:2" - } - ], - "id": 2456, - "name": "ExpressionStatement", - "src": "24710:27:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2396, - "type": "uint256", - "value": "_rep" - }, - "id": 2457, - "name": "Identifier", - "src": "24752:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 2458, - "name": "Literal", - "src": "24760:1:2" - } - ], - "id": 2459, - "name": "BinaryOperation", - "src": "24752:9:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2396, - "type": "uint256", - "value": "_rep" - }, - "id": 2460, - "name": "Identifier", - "src": "24778:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2444, - "type": "uint256", - "value": "reputation" - }, - "id": 2461, - "name": "Identifier", - "src": "24785:10:2" - } - ], - "id": 2462, - "name": "Assignment", - "src": "24778:17:2" - } - ], - "id": 2463, - "name": "ExpressionStatement", - "src": "24778:17:2" - } - ], - "id": 2464, - "name": "Block", - "src": "24763:44:2" - } - ], - "id": 2465, - "name": "IfStatement", - "src": "24748:59:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputation", - "referencedDeclaration": 925, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct EmergentVoteScheme.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voters", - "referencedDeclaration": 946, - "type": "mapping(address => struct EmergentVoteScheme.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2402, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2466, - "name": "Identifier", - "src": "24891:8:2" - } - ], - "id": 2467, - "name": "MemberAccess", - "src": "24891:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2394, - "type": "address", - "value": "_voter" - }, - "id": 2468, - "name": "Identifier", - "src": "24907:6:2" - } - ], - "id": 2469, - "name": "IndexAccess", - "src": "24891:23:2" - } - ], - "id": 2470, - "name": "MemberAccess", - "src": "24891:34:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 2471, - "name": "Literal", - "src": "24929:1:2" - } - ], - "id": 2472, - "name": "BinaryOperation", - "src": "24891:39:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2342, - "type": "function (bytes32,address)", - "value": "cancelVoteInternal" - }, - "id": 2473, - "name": "Identifier", - "src": "24947:18:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2390, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2474, - "name": "Identifier", - "src": "24966:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2394, - "type": "address", - "value": "_voter" - }, - "id": 2475, - "name": "Identifier", - "src": "24979:6:2" - } - ], - "id": 2476, - "name": "FunctionCall", - "src": "24947:39:2" - } - ], - "id": 2477, - "name": "ExpressionStatement", - "src": "24947:39:2" - } - ], - "id": 2478, - "name": "Block", - "src": "24932:66:2" - } - ], - "id": 2479, - "name": "IfStatement", - "src": "24887:111:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 942, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2402, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2480, - "name": "Identifier", - "src": "25041:8:2" - } - ], - "id": 2483, - "name": "MemberAccess", - "src": "25041:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2392, - "type": "uint256", - "value": "_vote" - }, - "id": 2482, - "name": "Identifier", - "src": "25056:5:2" - } - ], - "id": 2484, - "name": "IndexAccess", - "src": "25041:21:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2396, - "type": "uint256", - "value": "_rep" - }, - "id": 2485, - "name": "Identifier", - "src": "25065:4:2" - } - ], - "id": 2486, - "name": "MemberAccess", - "src": "25065:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 942, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2402, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2487, - "name": "Identifier", - "src": "25074:8:2" - } - ], - "id": 2488, - "name": "MemberAccess", - "src": "25074:14:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2392, - "type": "uint256", - "value": "_vote" - }, - "id": 2489, - "name": "Identifier", - "src": "25089:5:2" - } - ], - "id": 2490, - "name": "IndexAccess", - "src": "25074:21:2" - } - ], - "id": 2491, - "name": "FunctionCall", - "src": "25065:31:2" - } - ], - "id": 2492, - "name": "Assignment", - "src": "25041:55:2" - } - ], - "id": 2493, - "name": "ExpressionStatement", - "src": "25041:55:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "totalVotes", - "referencedDeclaration": 938, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2402, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2494, - "name": "Identifier", - "src": "25107:8:2" - } - ], - "id": 2496, - "name": "MemberAccess", - "src": "25107:19:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2396, - "type": "uint256", - "value": "_rep" - }, - "id": 2497, - "name": "Identifier", - "src": "25129:4:2" - } - ], - "id": 2498, - "name": "MemberAccess", - "src": "25129:8:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalVotes", - "referencedDeclaration": 938, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2402, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2499, - "name": "Identifier", - "src": "25138:8:2" - } - ], - "id": 2500, - "name": "MemberAccess", - "src": "25138:19:2" - } - ], - "id": 2501, - "name": "FunctionCall", - "src": "25129:29:2" - } - ], - "id": 2502, - "name": "Assignment", - "src": "25107:51:2" - } - ], - "id": 2503, - "name": "ExpressionStatement", - "src": "25107:51:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct EmergentVoteScheme.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct EmergentVoteScheme.Voter storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voters", - "referencedDeclaration": 946, - "type": "mapping(address => struct EmergentVoteScheme.Voter storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2402, - "type": "struct EmergentVoteScheme.Proposal storage pointer", - "value": "proposal" - }, - "id": 2504, - "name": "Identifier", - "src": "25169:8:2" - } - ], - "id": 2507, - "name": "MemberAccess", - "src": "25169:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2394, - "type": "address", - "value": "_voter" - }, - "id": 2506, - "name": "Identifier", - "src": "25185:6:2" - } - ], - "id": 2508, - "name": "IndexAccess", - "src": "25169:23:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "reputation", - "vote" - ], - "type": "struct EmergentVoteScheme.Voter memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 926, - "type": "type(struct EmergentVoteScheme.Voter storage pointer)", - "value": "Voter" - }, - "id": 2509, - "name": "Identifier", - "src": "25195:5:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2396, - "type": "uint256", - "value": "_rep" - }, - "id": 2510, - "name": "Identifier", - "src": "25228:4:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2392, - "type": "uint256", - "value": "_vote" - }, - "id": 2511, - "name": "Identifier", - "src": "25253:5:2" - } - ], - "id": 2512, - "name": "FunctionCall", - "src": "25195:75:2" - } - ], - "id": 2513, - "name": "Assignment", - "src": "25169:101:2" - } - ], - "id": 2514, - "name": "ExpressionStatement", - "src": "25169:101:2" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "isOwnerVote", - "scope": 2541, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2515, - "name": "ElementaryTypeName", - "src": "25315:4:2" - } - ], - "id": 2516, - "name": "VariableDeclaration", - "src": "25315:16:2" - } - ], - "id": 2517, - "name": "VariableDeclarationStatement", - "src": "25315:16:2" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2394, - "type": "address", - "value": "_voter" - }, - "id": 2518, - "name": "Identifier", - "src": "25346:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 2519, - "name": "Identifier", - "src": "25356:3:2" - } - ], - "id": 2520, - "name": "MemberAccess", - "src": "25356:10:2" - } - ], - "id": 2521, - "name": "BinaryOperation", - "src": "25346:20:2" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2516, - "type": "bool", - "value": "isOwnerVote" - }, - "id": 2522, - "name": "Identifier", - "src": "25383:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 2523, - "name": "Literal", - "src": "25397:4:2" - } - ], - "id": 2524, - "name": "Assignment", - "src": "25383:18:2" - } - ], - "id": 2525, - "name": "ExpressionStatement", - "src": "25383:18:2" - } - ], - "id": 2526, - "name": "Block", - "src": "25368:45:2" - } - ], - "id": 2527, - "name": "IfStatement", - "src": "25342:71:2" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 987, - "type": "function (bytes32,address,uint256,uint256,bool)", - "value": "LogVoteProposal" - }, - "id": 2528, - "name": "Identifier", - "src": "25444:15:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2390, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2529, - "name": "Identifier", - "src": "25474:11:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2394, - "type": "address", - "value": "_voter" - }, - "id": 2530, - "name": "Identifier", - "src": "25500:6:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2392, - "type": "uint256", - "value": "_vote" - }, - "id": 2531, - "name": "Identifier", - "src": "25521:5:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2444, - "type": "uint256", - "value": "reputation" - }, - "id": 2532, - "name": "Identifier", - "src": "25541:10:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2516, - "type": "bool", - "value": "isOwnerVote" - }, - "id": 2533, - "name": "Identifier", - "src": "25566:11:2" - } - ], - "id": 2534, - "name": "FunctionCall", - "src": "25444:144:2" - } - ], - "id": 2535, - "name": "ExpressionStatement", - "src": "25444:144:2" - }, - { - "attributes": { - "functionReturnParameters": 2400 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 2041 - ], - "referencedDeclaration": 2041, - "type": "function (bytes32) returns (bool)", - "value": "execute" - }, - "id": 2536, - "name": "Identifier", - "src": "25668:7:2" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2390, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2537, - "name": "Identifier", - "src": "25676:11:2" - } - ], - "id": 2538, - "name": "FunctionCall", - "src": "25668:20:2" - } - ], - "id": 2539, - "name": "Return", - "src": "25661:27:2" - } - ], - "id": 2540, - "name": "Block", - "src": "24077:1619:2" - } - ], - "id": 2541, - "name": "FunctionDefinition", - "src": "23973:1723:2" - } - ], - "id": 2542, - "name": "ContractDefinition", - "src": "182:25519:2" - } - ], - "id": 2543, - "name": "SourceUnit", - "src": "0:25703:2" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.968Z" -} \ No newline at end of file diff --git a/contracts/ExecutableInterface.json b/contracts/ExecutableInterface.json deleted file mode 100644 index eaa7b9dae..000000000 --- a/contracts/ExecutableInterface.json +++ /dev/null @@ -1,251 +0,0 @@ -{ - "contractName": "ExecutableInterface", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_param", - "type": "int256" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../controller/Controller.sol\";\r\n\r\n\r\ncontract ExecutableInterface {\r\n function execute(bytes32 _proposalId, address _avatar, int _param) public returns(bool);\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\ExecutableInterface.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/ExecutableInterface.sol", - "exportedSymbols": { - "ExecutableInterface": [ - 5155 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 5142, - "name": "PragmaDirective", - "src": "0:24:16" - }, - { - "attributes": { - "SourceUnit": 4158, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Controller.sol", - "file": "../controller/Controller.sol", - "scope": 5156, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 5143, - "name": "ImportDirective", - "src": "28:38:16" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 5155 - ], - "name": "ExecutableInterface", - "scope": 5156 - }, - "children": [ - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "execute", - "payable": false, - "scope": 5155, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 5154, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5144, - "name": "ElementaryTypeName", - "src": "125:7:16" - } - ], - "id": 5145, - "name": "VariableDeclaration", - "src": "125:19:16" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 5154, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5146, - "name": "ElementaryTypeName", - "src": "146:7:16" - } - ], - "id": 5147, - "name": "VariableDeclaration", - "src": "146:15:16" - }, - { - "attributes": { - "constant": false, - "name": "_param", - "scope": 5154, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 5148, - "name": "ElementaryTypeName", - "src": "163:3:16" - } - ], - "id": 5149, - "name": "VariableDeclaration", - "src": "163:10:16" - } - ], - "id": 5150, - "name": "ParameterList", - "src": "124:50:16" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 5154, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 5151, - "name": "ElementaryTypeName", - "src": "190:4:16" - } - ], - "id": 5152, - "name": "VariableDeclaration", - "src": "190:4:16" - } - ], - "id": 5153, - "name": "ParameterList", - "src": "189:6:16" - } - ], - "id": 5154, - "name": "FunctionDefinition", - "src": "108:88:16" - } - ], - "id": 5155, - "name": "ContractDefinition", - "src": "72:127:16" - } - ], - "id": 5156, - "name": "SourceUnit", - "src": "0:201:16" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.860Z" -} \ No newline at end of file diff --git a/contracts/ExecutableTest.json b/contracts/ExecutableTest.json deleted file mode 100644 index 57d7a024a..000000000 --- a/contracts/ExecutableTest.json +++ /dev/null @@ -1,609 +0,0 @@ -{ - "contractName": "ExecutableTest", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_param", - "type": "int256" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "address" - } - ], - "name": "LogAddress", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "int256" - } - ], - "name": "LogInt", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "string" - } - ], - "name": "LogString", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "uint256" - } - ], - "name": "LogUint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "bytes" - } - ], - "name": "LogBytes", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "bytes32" - } - ], - "name": "LogBytes32", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_msg", - "type": "bool" - } - ], - "name": "LogBool", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6101728061001e6000396000f3006060604052600436106100405763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663310ce4e28114610045575b600080fd5b341561005057600080fd5b61007760043573ffffffffffffffffffffffffffffffffffffffff6024351660443561008b565b604051901515815260200160405180910390f35b60007e9fd52f05c0ded31d6fb0ee580b923f85e99cf1a5a1da342f25e73c45829c838460405190815260200160405180910390a17fb123f68b8ba02b447d91a6629e121111b7dd6061ff418a60139c8bf00522a2848360405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a17f1aa4309bfd99af8afa7454590e1bdaa5a9b3b63e5baa109ae9afa3ecd0c67f398260405190815260200160405180910390a150600193925050505600a165627a7a723058206be18ea59d5e47de015ddfd4aa625b81c6ddada1421dc0f5d77b1740da91d2850029", - "deployedBytecode": "0x6060604052600436106100405763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663310ce4e28114610045575b600080fd5b341561005057600080fd5b61007760043573ffffffffffffffffffffffffffffffffffffffff6024351660443561008b565b604051901515815260200160405180910390f35b60007e9fd52f05c0ded31d6fb0ee580b923f85e99cf1a5a1da342f25e73c45829c838460405190815260200160405180910390a17fb123f68b8ba02b447d91a6629e121111b7dd6061ff418a60139c8bf00522a2848360405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a17f1aa4309bfd99af8afa7454590e1bdaa5a9b3b63e5baa109ae9afa3ecd0c67f398260405190815260200160405180910390a150600193925050505600a165627a7a723058206be18ea59d5e47de015ddfd4aa625b81c6ddada1421dc0f5d77b1740da91d2850029", - "sourceMap": "110:273:13:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "110:273:13:-;;;;;;;;;;;;;;;;;;;;;;;173:207;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;255:4;272:23;283:11;272:23;;;;;;;;;;;;;;306:19;317:7;306:19;;;;;;;;;;;;;;;;;336:14;343:6;336:14;;;;;;;;;;;;;;-1:-1:-1;368:4:13;173:207;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./Debug.sol\";\r\nimport \"../universalSchemes/ExecutableInterface.sol\";\r\n\r\n\r\ncontract ExecutableTest is ExecutableInterface, Debug {\r\n\r\n function execute(bytes32 _proposalId, address _avatar, int _param) public returns(bool) {\r\n LogBytes32(_proposalId);\r\n LogAddress(_avatar);\r\n LogInt(_param);\r\n return true;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\test\\ExecutableTest.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/test/ExecutableTest.sol", - "exportedSymbols": { - "ExecutableTest": [ - 4615 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 4582, - "name": "PragmaDirective", - "src": "0:24:13" - }, - { - "attributes": { - "SourceUnit": 4581, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/test/Debug.sol", - "file": "./Debug.sol", - "scope": 4616, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4583, - "name": "ImportDirective", - "src": "28:21:13" - }, - { - "attributes": { - "SourceUnit": 5156, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/ExecutableInterface.sol", - "file": "../universalSchemes/ExecutableInterface.sol", - "scope": 4616, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4584, - "name": "ImportDirective", - "src": "51:53:13" - }, - { - "attributes": { - "contractDependencies": [ - 4580, - 5155 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 4615, - 4580, - 5155 - ], - "name": "ExecutableTest", - "scope": 4616 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ExecutableInterface", - "referencedDeclaration": 5155, - "type": "contract ExecutableInterface" - }, - "id": 4585, - "name": "UserDefinedTypeName", - "src": "137:19:13" - } - ], - "id": 4586, - "name": "InheritanceSpecifier", - "src": "137:19:13" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Debug", - "referencedDeclaration": 4580, - "type": "contract Debug" - }, - "id": 4587, - "name": "UserDefinedTypeName", - "src": "158:5:13" - } - ], - "id": 4588, - "name": "InheritanceSpecifier", - "src": "158:5:13" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "execute", - "payable": false, - "scope": 4615, - "stateMutability": "nonpayable", - "superFunction": 5154, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 4614, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4589, - "name": "ElementaryTypeName", - "src": "190:7:13" - } - ], - "id": 4590, - "name": "VariableDeclaration", - "src": "190:19:13" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 4614, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4591, - "name": "ElementaryTypeName", - "src": "211:7:13" - } - ], - "id": 4592, - "name": "VariableDeclaration", - "src": "211:15:13" - }, - { - "attributes": { - "constant": false, - "name": "_param", - "scope": 4614, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 4593, - "name": "ElementaryTypeName", - "src": "228:3:13" - } - ], - "id": 4594, - "name": "VariableDeclaration", - "src": "228:10:13" - } - ], - "id": 4595, - "name": "ParameterList", - "src": "189:50:13" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4614, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4596, - "name": "ElementaryTypeName", - "src": "255:4:13" - } - ], - "id": 4597, - "name": "VariableDeclaration", - "src": "255:4:13" - } - ], - "id": 4598, - "name": "ParameterList", - "src": "254:6:13" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4575, - "type": "function (bytes32)", - "value": "LogBytes32" - }, - "id": 4599, - "name": "Identifier", - "src": "272:10:13" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4590, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 4600, - "name": "Identifier", - "src": "283:11:13" - } - ], - "id": 4601, - "name": "FunctionCall", - "src": "272:23:13" - } - ], - "id": 4602, - "name": "ExpressionStatement", - "src": "272:23:13" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4555, - "type": "function (address)", - "value": "LogAddress" - }, - "id": 4603, - "name": "Identifier", - "src": "306:10:13" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4592, - "type": "address", - "value": "_avatar" - }, - "id": 4604, - "name": "Identifier", - "src": "317:7:13" - } - ], - "id": 4605, - "name": "FunctionCall", - "src": "306:19:13" - } - ], - "id": 4606, - "name": "ExpressionStatement", - "src": "306:19:13" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4559, - "type": "function (int256)", - "value": "LogInt" - }, - "id": 4607, - "name": "Identifier", - "src": "336:6:13" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4594, - "type": "int256", - "value": "_param" - }, - "id": 4608, - "name": "Identifier", - "src": "343:6:13" - } - ], - "id": 4609, - "name": "FunctionCall", - "src": "336:14:13" - } - ], - "id": 4610, - "name": "ExpressionStatement", - "src": "336:14:13" - }, - { - "attributes": { - "functionReturnParameters": 4598 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 4611, - "name": "Literal", - "src": "368:4:13" - } - ], - "id": 4612, - "name": "Return", - "src": "361:11:13" - } - ], - "id": 4613, - "name": "Block", - "src": "261:119:13" - } - ], - "id": 4614, - "name": "FunctionDefinition", - "src": "173:207:13" - } - ], - "id": 4615, - "name": "ContractDefinition", - "src": "110:273:13" - } - ], - "id": 4616, - "name": "SourceUnit", - "src": "0:385:13" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.859Z" -} \ No newline at end of file diff --git a/contracts/GenesisScheme.json b/contracts/GenesisScheme.json deleted file mode 100644 index 12bf3836b..000000000 --- a/contracts/GenesisScheme.json +++ /dev/null @@ -1,4251 +0,0 @@ -{ - "contractName": "GenesisScheme", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "uint256" - } - ], - "name": "bytes4Array", - "outputs": [ - { - "name": "", - "type": "bytes4" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "uint256" - } - ], - "name": "addressArray", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_schemes", - "type": "address[]" - }, - { - "name": "_params", - "type": "bytes32[]" - }, - { - "name": "_token", - "type": "address[]" - }, - { - "name": "_fee", - "type": "uint256[]" - }, - { - "name": "_permissions", - "type": "bytes4[]" - } - ], - "name": "setSchemes", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_orgName", - "type": "bytes32" - }, - { - "name": "_tokenName", - "type": "string" - }, - { - "name": "_tokenSymbol", - "type": "string" - }, - { - "name": "_founders", - "type": "address[]" - }, - { - "name": "_foundersTokenAmount", - "type": "uint256[]" - }, - { - "name": "_foundersReputationAmount", - "type": "int256[]" - } - ], - "name": "forgeOrg", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "uint256" - } - ], - "name": "bytes32Array", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "NewOrg", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "InitialSchemesSet", - "type": "event" - } - ], - "bytecode": "0x60606040526020604051908101604052600160a060020a03301681526200002a906001908162000099565b506020604051908101604052600081526200004a90600290600162000105565b5060206040519081016040527c0f0000000000000000000000000000000000000000000000000000000081526200008690600390600162000153565b5034156200009357600080fd5b6200028a565b828054828255906000526020600020908101928215620000f3579160200282015b82811115620000f35782518254600160a060020a031916600160a060020a039190911617825560209290920191600190910190620000ba565b50620001019291506200021f565b5090565b82805482825590600052602060002090810192821562000145579160200282015b8281111562000145578251825560209092019160019091019062000126565b506200010192915062000249565b82805482825590600052602060002090600701600890048101928215620002115791602002820160005b83821115620001dd57835183826101000a81548163ffffffff02191690837c01000000000000000000000000000000000000000000000000000000009004021790555092602001926004016020816003010492830192600103026200017d565b80156200020f5782816101000a81549063ffffffff0219169055600401602081600301049283019260010302620001dd565b505b506200010192915062000266565b6200024691905b8082111562000101578054600160a060020a031916815560010162000226565b90565b6200024691905b8082111562000101576000815560010162000250565b6200024691905b808211156200010157805463ffffffff191681556001016200026d565b615bc2806200029a6000396000f300606060405260043610620000595763ffffffff60e060020a6000350416630bddbbc681146200005e5780630f96cf3414620000a95780636442f19514620000de5780638bcd1c341462000240578063e3186c56146200039b575b600080fd5b34156200006a57600080fd5b62000077600435620003c6565b6040517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19909116815260200160405180910390f35b3415620000b557600080fd5b620000c2600435620003ff565b604051600160a060020a03909116815260200160405180910390f35b3415620000ea57600080fd5b6200023e60048035600160a060020a0316906044602480359081019083013580602080820201604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437509496506200042895505050505050565b005b34156200024c57600080fd5b620000c2600480359060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405281815292919060208401838380828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437509496506200078d95505050505050565b3415620003a757600080fd5b620003b460043562000d99565b60405190815260200160405180910390f35b6003805482908110620003d557fe5b9060005260206000209060089182820401919006600402915054906101000a900460e060020a0281565b60018054829081106200040e57fe5b600091825260209091200154600160a060020a0316905081565b600160a060020a03868116600090815260208190526040812054909182913382169116146200045657600080fd5b87600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156200049d57600080fd5b6102c65a03f11515620004af57600080fd5b5050506040518051925060009150505b86518110156200069d57838181518110620004d657fe5b9060200190602002015115620005b05781600160a060020a0316638cf1355c8683815181106200050257fe5b906020019060200201518984815181106200051957fe5b906020019060200201518785815181106200053057fe5b9060200190602002015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156200059357600080fd5b6102c65a03f11515620005a557600080fd5b505050604051805150505b81600160a060020a031663a34abaa8888381518110620005cc57fe5b90602001906020020151888481518110620005e357fe5b90602001906020020151868581518110620005fa57fe5b9060200190602002015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166044820152606401602060405180830381600087803b15156200067857600080fd5b6102c65a03f115156200068a57600080fd5b50505060405180515050600101620004bf565b81600160a060020a031663653915e53060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515620006f557600080fd5b6102c65a03f115156200070757600080fd5b50505060405180515050600160a060020a03881660009081526020819052604090819020805473ffffffffffffffffffffffffffffffffffffffff191690557f9007c9042f12be953f7dbe3909f56c3f088e9fe294dbebbef4a67afa63462b6a90899051600160a060020a03909116815260200160405180910390a15050505050505050565b6000806000806000808a8a620007a262000db9565b808060200180602001838103835285818151815260200191508051906020019080838360005b83811015620007e2578082015183820152602001620007c8565b50505050905090810190601f168015620008105780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b83811015620008485780820151838201526020016200082e565b50505050905090810190601f168015620008765780820380516001836020036101000a031916815260200191505b50945050505050604051809103906000f08015156200089457600080fd5b9450620008a062000dca565b604051809103906000f0801515620008b757600080fd5b93508b8585620008c662000ddb565b928352600160a060020a0391821660208401521660408083019190915260609091019051809103906000f0801515620008fe57600080fd5b9250826001600260036200091162000dec565b600160a060020a03851681526080602082018181528554918301829052906040830190606084019060a0850190889080156200097757602002820191906000526020600020905b8154600160a060020a0316815260019091019060200180831162000958575b50508481038352868181548152602001915080548015620009b957602002820191906000526020600020905b81548152600190910190602001808311620009a3575b5050848103825285818154815260200191508054801562000a3f57602002820191906000526020600020906000905b82829054906101000a900460e060020a027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019060040190602082600301049283019260010382029150808411620009e85790505b5050975050505050505050604051809103906000f080151562000a6157600080fd5b915082600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151562000ab257600080fd5b6102c65a03f1151562000ac457600080fd5b50505084600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151562000b1657600080fd5b6102c65a03f1151562000b2857600080fd5b50505083600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151562000b7a57600080fd5b6102c65a03f1151562000b8c57600080fd5b505050600090505b885181101562000d0d5781600160a060020a03166310c5b32889838151811062000bba57fe5b906020019060200201518b848151811062000bd157fe5b9060200190602002015160006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b151562000c2957600080fd5b6102c65a03f1151562000c3b57600080fd5b50505060405180519050151562000c5157600080fd5b81600160a060020a03166318e236e488838151811062000c6d57fe5b906020019060200201518b848151811062000c8457fe5b9060200190602002015160006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b151562000cdc57600080fd5b6102c65a03f1151562000cee57600080fd5b50505060405180519050151562000d0457600080fd5b60010162000b94565b600160a060020a0383811660009081526020819052604090819020805473ffffffffffffffffffffffffffffffffffffffff191633909316929092179091557f244496352f5e67e59ce96b4a53ef9ea7cb88b7db33eb13dc5e771bd04385a60e90849051600160a060020a03909116815260200160405180910390a150909a9950505050505050505050565b600280548290811062000da857fe5b600091825260209091200154905081565b604051610ea08062000dfe83390190565b6040516104ab8062001c9e83390190565b6040516109d5806200214983390190565b6040516130798062002b1e83390190560060606040526003805460a060020a60ff0219169055341561001f57600080fd5b604051610ea0380380610ea08339810160405280805182019190602001805160038054600160a060020a03191633600160a060020a0316179055919091019050600482805161007292916020019061008e565b50600581805161008692916020019061008e565b505050610129565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100cf57805160ff19168380011785556100fc565b828001600101855582156100fc579182015b828111156100fc5782518255916020019190600101906100e1565b5061010892915061010c565b5090565b61012691905b808211156101085760008155600101610112565b90565b610d68806101386000396000f3006060604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461010b57806306fdde0314610132578063095ea7b3146101bc57806318160ddd146101de57806323b872dd1461020357806340c10f191461022b57806342966c681461024d57806366188463146102655780636ab55fd91461028757806370a082311461029a5780637d64bcb4146102b957806383197ef0146102cc5780638da5cb5b146102df57806395d89b411461030e578063a9059cbb14610321578063d73dd62314610343578063dd62ed3e14610365578063f2fde38b1461038a578063f5074f41146103a9575b600080fd5b341561011657600080fd5b61011e6103c8565b604051901515815260200160405180910390f35b341561013d57600080fd5b6101456103d8565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610181578082015183820152602001610169565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b61011e600160a060020a0360043516602435610476565b34156101e957600080fd5b6101f16104e2565b60405190815260200160405180910390f35b341561020e57600080fd5b61011e600160a060020a03600435811690602435166044356104e8565b341561023657600080fd5b61011e600160a060020a036004351660243561066a565b341561025857600080fd5b610263600435610777565b005b341561027057600080fd5b61011e600160a060020a0360043516602435610840565b341561029257600080fd5b6101f161093a565b34156102a557600080fd5b6101f1600160a060020a036004351661093f565b34156102c457600080fd5b61011e61095a565b34156102d757600080fd5b6102636109e5565b34156102ea57600080fd5b6102f2610a0e565b604051600160a060020a03909116815260200160405180910390f35b341561031957600080fd5b610145610a1d565b341561032c57600080fd5b61011e600160a060020a0360043516602435610a88565b341561034e57600080fd5b61011e600160a060020a0360043516602435610b83565b341561037057600080fd5b6101f1600160a060020a0360043581169060243516610c27565b341561039557600080fd5b610263600160a060020a0360043516610c52565b34156103b457600080fd5b610263600160a060020a0360043516610ced565b60035460a060020a900460ff1681565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561046e5780601f106104435761010080835404028352916020019161046e565b820191906000526020600020905b81548152906001019060200180831161045157829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a03831615156104ff57600080fd5b600160a060020a03841660009081526001602052604090205482111561052457600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561055757600080fd5b600160a060020a038416600090815260016020526040902054610580908363ffffffff610d1416565b600160a060020a0380861660009081526001602052604080822093909355908516815220546105b5908363ffffffff610d2616565b600160a060020a038085166000908152600160209081526040808320949094558783168252600281528382203390931682529190915220546105fd908363ffffffff610d1416565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60035460009033600160a060020a0390811691161461068857600080fd5b60035460a060020a900460ff161561069f57600080fd5b6000546106b2908363ffffffff610d2616565b6000908155600160a060020a0384168152600160205260409020546106dd908363ffffffff610d2616565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600080821161078557600080fd5b600160a060020a0333166000908152600160205260409020548211156107aa57600080fd5b5033600160a060020a0381166000908152600160205260409020546107cf9083610d14565b600160a060020a038216600090815260016020526040812091909155546107fc908363ffffffff610d1416565b600055600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561089d57600160a060020a0333811660009081526002602090815260408083209388168352929052908120556108d4565b6108ad818463ffffffff610d1416565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b601281565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a0390811691161461097857600080fd5b60035460a060020a900460ff161561098f57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a03908116911614610a0057600080fd5b600354600160a060020a0316ff5b600354600160a060020a031681565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561046e5780601f106104435761010080835404028352916020019161046e565b6000600160a060020a0383161515610a9f57600080fd5b600160a060020a033316600090815260016020526040902054821115610ac457600080fd5b600160a060020a033316600090815260016020526040902054610aed908363ffffffff610d1416565b600160a060020a033381166000908152600160205260408082209390935590851681522054610b22908363ffffffff610d2616565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610bbb908363ffffffff610d2616565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610c6d57600080fd5b600160a060020a0381161515610c8257600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035433600160a060020a03908116911614610d0857600080fd5b80600160a060020a0316ff5b600082821115610d2057fe5b50900390565b600082820183811015610d3557fe5b93925050505600a165627a7a72305820ddd222f885170d976ba92e33cced2eee9f7c90cd560193c32910e76aa67bce7f002960606040526012600355341561001457600080fd5b60008054600160a060020a033316600160a060020a0319909116811782558152600160205260408120819055600255610459806100526000396000f3006060604052600436106100825763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd8114610087578063313ce567146100ac5780638da5cb5b146100bf578063b120c16a146100ee578063db89c04414610124578063f2fde38b14610143578063fd9bf3aa14610164575b600080fd5b341561009257600080fd5b61009a610186565b60405190815260200160405180910390f35b34156100b757600080fd5b61009a61018c565b34156100ca57600080fd5b6100d2610192565b604051600160a060020a03909116815260200160405180910390f35b34156100f957600080fd5b610110600160a060020a03600435166024356101a1565b604051901515815260200160405180910390f35b341561012f57600080fd5b61009a600160a060020a0360043516610222565b341561014e57600080fd5b610162600160a060020a036004351661023d565b005b341561016f57600080fd5b610110600160a060020a03600435166024356102d8565b60025481565b60035481565b600054600160a060020a031681565b6000805433600160a060020a039081169116146101bd57600080fd5b600160a060020a0383166000908152600160205260409020546002546101fa9184916101ee9163ffffffff61040516565b9063ffffffff61041716565b60025550600160a060020a038216600090815260016020819052604090912082905592915050565b600160a060020a031660009081526001602052604090205490565b60005433600160a060020a0390811691161461025857600080fd5b600160a060020a038116151561026d57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054819033600160a060020a039081169116146102f657600080fd5b6000831261035e57506002548290610314908263ffffffff61041716565b600255600160a060020a038416600090815260016020526040902054610340908263ffffffff61041716565b600160a060020a0385166000908152600160205260409020556103be565b50600254600019830290610378908263ffffffff61040516565b600255600160a060020a0384166000908152600160205260409020546103a4908263ffffffff61040516565b600160a060020a0385166000908152600160205260409020555b83600160a060020a03167f6f734b566c5e1cb976d9c7fba184b96a698a18931dd345168b16db217f8df0dd8460405190815260200160405180910390a25060019392505050565b60008282111561041157fe5b50900390565b60008282018381101561042657fe5b93925050505600a165627a7a723058201a9bea40831b947da943a43e70f9b6a2089d92e54654732959bfd2903683f7ab00296060604052341561000f57600080fd5b6040516060806109d583398101604052808051919060200180519190602001805160008054600160a060020a03338116600160a060020a031992831617909255600196909655600280549582169587169590951790945560038054949091169390941692909217909255505061094b8061008a6000396000f3006060604052600436106100955763ffffffff60e060020a6000350416631386dc2d81146100d45780636ce15a54146100f957806389ae1c901461016a5780638cf1355c146101995780638da5cb5b146101c1578063b756d5a2146101d4578063cb16d4a214610202578063d29ab9c414610224578063dab0efff1461024c578063e1758bd814610274578063f2fde38b14610287575b33600160a060020a03167ff32a9f77675fd5917534c7746608fd3e309eac68fbdcbf5925e24ca97a7043963460405190815260200160405180910390a2005b34156100df57600080fd5b6100e76102a8565b60405190815260200160405180910390f35b341561010457600080fd5b61015660048035600160a060020a03169060446024803590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506102ae95505050505050565b604051901515815260200160405180910390f35b341561017557600080fd5b61017d610400565b604051600160a060020a03909116815260200160405180910390f35b34156101a457600080fd5b610156600160a060020a036004358116906024351660443561040f565b34156101cc57600080fd5b61017d6104fb565b34156101df57600080fd5b610156600160a060020a036004358116906024358116906044351660643561050a565b341561020d57600080fd5b610156600435600160a060020a0360243516610610565b341561022f57600080fd5b610156600160a060020a03600435811690602435166044356106a3565b341561025757600080fd5b610156600160a060020a036004358116906024351660443561078f565b341561027f57600080fd5b61017d610875565b341561029257600080fd5b6102a6600160a060020a0360043516610884565b005b60015481565b6000805433600160a060020a039081169116146102ca57600080fd5b82600160a060020a03167f8518530cc6bc186721ab2fc226031ca054c8484893d8b0c7faab65a58aac238d8360405160208082528190810183818151815260200191508051906020019060200280838360005b8381101561033557808201518382015260200161031d565b505050509050019250505060405180910390a282600160a060020a03166040517f616374696f6e28627974657333325b5d290000000000000000000000000000008152601101604051809103902060e060020a900460208451856040518463ffffffff1660e060020a02815260040180848152602001838152602001828051906020019060200280838360005b838110156103da5780820151838201526020016103c2565b5050505090500193505050506000604051808303818661646e5a03f49695505050505050565b600354600160a060020a031681565b6000805433600160a060020a0390811691161461042b57600080fd5b83600160a060020a031663d73dd623848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561048857600080fd5b6102c65a03f1151561049957600080fd5b50505060405180515050600160a060020a0384167fbe7df27d98bd0614ae920a695c2c2be09c164d8456083da020a98538692c465f8484604051600160a060020a03909216825260208201526040908101905180910390a25060019392505050565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461052657600080fd5b84600160a060020a03166323b872dd85858560006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561059057600080fd5b6102c65a03f115156105a157600080fd5b50505060405180515050600160a060020a0385167f179c15de44aa7ab84896301974328eb40b5b40fe01cfe0fee2924ea712c3e843858585604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a2506001949350505050565b6000805433600160a060020a0390811691161461062c57600080fd5b600160a060020a03821683156108fc0284604051600060405180830381858888f19350505050151561065d57600080fd5b81600160a060020a03167f22fca66666089f39bc900dd6605b489df4aae6260cc8ea8257594cfb8c84926c8460405190815260200160405180910390a250600192915050565b6000805433600160a060020a039081169116146106bf57600080fd5b83600160a060020a03166366188463848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561071c57600080fd5b6102c65a03f1151561072d57600080fd5b50505060405180515050600160a060020a0384167f495e426dd61227fe840d969dfba17620c573364af8c37748ea71f96f744ae3348484604051600160a060020a03909216825260208201526040908101905180910390a25060019392505050565b6000805433600160a060020a039081169116146107ab57600080fd5b83600160a060020a031663a9059cbb848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561080857600080fd5b6102c65a03f1151561081957600080fd5b505050604051805190505082600160a060020a031684600160a060020a03167f49dc2a60d2599a7b6932d78fb694c30dfc596fe4e0282b5d0fd184b52472c04d8460405190815260200160405180910390a35060019392505050565b600254600160a060020a031681565b60005433600160a060020a0390811691161461089f57600080fd5b600160a060020a03811615156108b457600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820786998839b4cbdb5de27a89e499d071bb45a6e91c521dbfe4500bd3b9d6741d90029606060405234156200001057600080fd5b6040516200307938038062003079833981016040528080519190602001805182019190602001805182019190602001805160018054600160a060020a031916600160a060020a0388811691909117918290559390910192600092501663e1758bd882604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515620000c157600080fd5b6102c65a03f11515620000d357600080fd5b505050604051805160028054600160a060020a031916600160a060020a039283161790556001541690506389ae1c906000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156200015357600080fd5b6102c65a03f115156200016557600080fd5b505050604051805160038054600160a060020a031916600160a060020a039290921691909117905550600090505b8351811015620002f0576040805190810160405280848381518110620001b557fe5b9060200190602002015181526020017c0100000000000000000000000000000000000000000000000000000000848481518110620001ef57fe5b90602001906020020151177fffffffff000000000000000000000000000000000000000000000000000000001690526000808684815181106200022e57fe5b90602001906020020151600160a060020a031681526020810191909152604001600020815181556020820151600191909101805463ffffffff19167c0100000000000000000000000000000000000000000000000000000000909204919091179055508381815181106200029e57fe5b90602001906020020151600160a060020a031633600160a060020a03167f546816e99403df442acb68ef69562682a50762c20a3fb6b472f7af9923736cfc60405160405180910390a360010162000193565b5050505050612d7480620003056000396000f30060606040526004361061013a5763ffffffff60e060020a600035041663043cc6ee811461014a57806310c5b3281461017d57806318e236e41461019f578063277d811e146101c15780633a02263c1461021057806346a4869c1461023f57806346e361b714610261578063488b3814146102925780635aef7de6146102b157806364f47ace146102c4578063653915e5146102fd57806365ab1ae81461031c5780636bafaa591461035457806381d064c41461036757806389ae1c90146103865780638cf1355c146103995780639fe02726146103c1578063a34abaa8146103fd578063b756d5a21461042c578063b9c2ee821461045a578063cb16d4a214610479578063d29ab9c41461049b578063d5210f60146104c3578063dab0efff146104d6578063db6149ce146104fe578063e1758bd81461053f575b341561014557600080fd5b600080fd5b341561015557600080fd5b610169600160a060020a0360043516610552565b604051901515815260200160405180910390f35b341561018857600080fd5b610169600435600160a060020a0360243516610570565b34156101aa57600080fd5b610169600435600160a060020a0360243516610852565b34156101cc57600080fd5b6101696004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610b2c95505050505050565b341561021b57600080fd5b610223610e90565b604051600160a060020a03909116815260200160405180910390f35b341561024a57600080fd5b610169600160a060020a0360043516602435610e9f565b341561026c57600080fd5b610280600160a060020a0360043516611069565b60405190815260200160405180910390f35b341561029d57600080fd5b610169600160a060020a0360043516611084565b34156102bc57600080fd5b610223611298565b34156102cf57600080fd5b6102e3600160a060020a03600435166112a7565b604051911515825260208201526040908101905180910390f35b341561030857600080fd5b610169600160a060020a03600435166112c6565b341561032757600080fd5b6103326004356115fc565b604051600160a060020a03909216825260208201526040908101905180910390f35b341561035f57600080fd5b610169611632565b341561037257600080fd5b610169600160a060020a03600435166116ab565b341561039157600080fd5b6102236116d4565b34156103a457600080fd5b610169600160a060020a03600435811690602435166044356116e3565b34156103cc57600080fd5b6103e0600160a060020a03600435166119e4565b604051600160e060020a0319909116815260200160405180910390f35b341561040857600080fd5b610169600160a060020a0360043516602435600160e060020a031960443516611a08565b341561043757600080fd5b610169600160a060020a0360043581169060243581169060443516606435611da5565b341561046557600080fd5b610169600160a060020a03600435166120ba565b341561048457600080fd5b610169600435600160a060020a03602435166123cc565b34156104a657600080fd5b610169600160a060020a03600435811690602435166044356126a7565b34156104ce57600080fd5b61028061299f565b34156104e157600080fd5b610169600160a060020a03600435811690602435166044356129a5565b341561050957600080fd5b61051d600160a060020a0360043516612c96565b604051918252600160e060020a03191660208201526040908101905180910390f35b341561054a57600080fd5b610223612cb5565b600160a060020a031660009081526006602052604090205460ff1690565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146105a057600080fd5b7f6d696e74546f6b656e730000000000000000000000000000000000000000000060005b6005548110156106a45760058054829081106105dc57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061060f57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561067657600080fd5b6102c65a03f1151561068757600080fd5b50505060405180519050151561069c57600080fd5b6001016105c4565b83600160a060020a031633600160a060020a03167f21f9c9a1a1f9a311a50f15fec5c1faa9e21fc9edf964f0fdecba5bd490484c5e8760405190815260200160405180910390a3600254600160a060020a03166340c10f19858760006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561074a57600080fd5b6102c65a03f1151561075b57600080fd5b50505060405180519350505060005b60055481101561084a57600580548290811061078257fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d913391859081106107b557fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561081c57600080fd5b6102c65a03f1151561082d57600080fd5b50505060405180519050151561084257600080fd5b60010161076a565b505092915050565b600160a060020a03331660009081526020819052604081206001015460e060020a90810281161461088257600080fd5b7f6d696e7452657075746174696f6e00000000000000000000000000000000000060005b6005548110156109865760058054829081106108be57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab2913391859081106108f157fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561095857600080fd5b6102c65a03f1151561096957600080fd5b50505060405180519050151561097e57600080fd5b6001016108a6565b83600160a060020a031633600160a060020a03167fb6ced7e295ffd06d19f45bd872b3bd3fd172b1ba53b17ce0543c276d06f5a4228760405190815260200160405180910390a3600354600160a060020a031663fd9bf3aa858760006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610a2c57600080fd5b6102c65a03f11515610a3d57600080fd5b50505060405180519350505060005b60055481101561084a576005805482908110610a6457fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110610a9757fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610afe57600080fd5b6102c65a03f11515610b0f57600080fd5b505050604051805190501515610b2457600080fd5b600101610a4c565b600160a060020a03331660009081526020819052604081206001015460e060020a908102811614610b5c57600080fd5b7f67656e65726963416374696f6e0000000000000000000000000000000000000060005b600554811015610c60576005805482908110610b9857fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110610bcb57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610c3257600080fd5b6102c65a03f11515610c4357600080fd5b505050604051805190501515610c5857600080fd5b600101610b80565b33600160a060020a03167f8518530cc6bc186721ab2fc226031ca054c8484893d8b0c7faab65a58aac238d8560405160208082528190810183818151815260200191508051906020019060200280838360005b83811015610ccb578082015183820152602001610cb3565b505050509050019250505060405180910390a2600154600160a060020a0316636ce15a5433866000604051602001526040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610d64578082015183820152602001610d4c565b505050509050019350505050602060405180830381600087803b1515610d8957600080fd5b6102c65a03f11515610d9a57600080fd5b50505060405180519350505060005b600554811015610e89576005805482908110610dc157fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110610df457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610e5b57600080fd5b6102c65a03f11515610e6c57600080fd5b505050604051805190501515610e8157600080fd5b600101610da9565b5050919050565b600454600160a060020a031681565b600160a060020a03331660009081526020819052604081206001015460e060020a027c040000000000000000000000000000000000000000000000000000000090811614610eec57600080fd5b600160a060020a03831660009081526006602052604090205460ff161515610fdc576005805460018101610f208382612cc4565b9160005260206000209060020201600060408051908101604052600160a060020a0387168152602081018690529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201516001909101555060409050805190810160409081526001825260055460001901602080840191909152600160a060020a03861660009081526006909152208151815460ff191690151517815560208201516001909101555061101c565b600160a060020a03831660009081526006602052604090206001015460058054849290811061100757fe5b60009182526020909120600160029092020101555b7f6f3ac186000a779fe66d0a5188f51993a6593d93c4ff052ec0453aa84f09dbcb8383604051600160a060020a03909216825260208201526040908101905180910390a150600192915050565b600160a060020a031660009081526020819052604090205490565b600061108e612cf5565b611096612cf5565b600160a060020a03331660009081526020819052604090206001015460e060020a027c0400000000000000000000000000000000000000000000000000000000908116146110e357600080fd5b600160a060020a03841660009081526006602052604090819020908051908101604052815460ff16151581526001909101546020820152915081511561128e5760055460001901602083015110156112005760058054600019810190811061114757fe5b9060005260206000209060020201604080519081016040528154600160a060020a0316815260019091015460208083019190915290915081906005908401518154811061119057fe5b90600052602060002090600202016000820151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151600190910155506020820151600660008351600160a060020a031681526020810191909152604001600020600101555b6005805490611213906000198301612cc4565b50600160a060020a03841660009081526006602090815260408220805460ff19168155600101919091557f6ceab662049113d466f7e28b69edbec7cf641bc175522623536b09785887982a908590840151604051600160a060020a03909216825260208201526040908101905180910390a160019250610e89565b5060009392505050565b600154600160a060020a031681565b6006602052600090815260409020805460019091015460ff9091169082565b600160a060020a03331660009081526020819052604081206001015460e060020a027c02000000000000000000000000000000000000000000000000000000009081161461131357600080fd5b7f756e7265676973746572536368656d650000000000000000000000000000000060005b60055481101561141757600580548290811061134f57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061138257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156113e957600080fd5b6102c65a03f115156113fa57600080fd5b50505060405180519050151561140f57600080fd5b600101611337565b600160a060020a03841660009081526020819052604090206001015460e060020a90810216151561144b5760009250611518565b33600160a060020a0390811660009081526020819052604080822060019081015493881683529120015460e060020a918202199102167c0f0000000000000000000000000000000000000000000000000000000016156114aa57600080fd5b83600160a060020a031633600160a060020a03167f10bb2cf04cb8b902a8e736d494f1a51003be6d4b16ef6fb95ce62c38445023bf60405160405180910390a3600160a060020a03841660009081526020819052604081209081556001908101805463ffffffff1916905592505b5060005b600554811015610e8957600580548290811061153457fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061156757fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156115ce57600080fd5b6102c65a03f115156115df57600080fd5b5050506040518051905015156115f457600080fd5b60010161151c565b600580548290811061160a57fe5b600091825260209091206002909102018054600190910154600160a060020a03909116915082565b600061163d336116ab565b151561164b575060006116a8565b600160a060020a0333166000818152602081905260408082209182556001909101805463ffffffff1916905581907f10bb2cf04cb8b902a8e736d494f1a51003be6d4b16ef6fb95ce62c38445023bf905160405180910390a35060015b90565b600160a060020a031660009081526020819052604090206001015460e060020a90810216151590565b600354600160a060020a031681565b600160a060020a03331660009081526020819052604081206001015460e060020a90810281161461171357600080fd5b7f65787465726e616c546f6b656e496e637265617365417070726f76616c00000060005b60055481101561181757600580548290811061174f57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061178257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156117e957600080fd5b6102c65a03f115156117fa57600080fd5b50505060405180519050151561180f57600080fd5b600101611737565b85600160a060020a031633600160a060020a03167f2cee0640e7c161518a78fa901d8c0e4b2f51d42612532184a4f017a45b01ba288787604051600160a060020a03909216825260208201526040908101905180910390a3600154600160a060020a0316638cf1355c87878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156118db57600080fd5b6102c65a03f115156118ec57600080fd5b50505060405180519350505060005b6005548110156119db57600580548290811061191357fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061194657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156119ad57600080fd5b6102c65a03f115156119be57600080fd5b5050506040518051905015156119d357600080fd5b6001016118fb565b50509392505050565b600160a060020a031660009081526020819052604090206001015460e060020a0290565b6000611a12612cf5565b600160a060020a03331660009081526020819052604090206001015460e060020a027c020000000000000000000000000000000000000000000000000000000090811614611a5f57600080fd5b7f7265676973746572536368656d6500000000000000000000000000000000000060005b600554811015611b63576005805482908110611a9b57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110611ace57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611b3557600080fd5b6102c65a03f11515611b4657600080fd5b505050604051805190501515611b5b57600080fd5b600101611a83565b600160a060020a03871660009081526020819052604090819020908051908101604090815282548252600192830154600160e060020a031960e060020a918202166020808501918252600160a060020a03331660009081529081905292832090940154929650909291021990518718167c0f000000000000000000000000000000000000000000000000000000001614611bfc57600080fd5b600160a060020a03331660009081526020818152604082206001015460e060020a021990850151167c0f000000000000000000000000000000000000000000000000000000001614611c4d57600080fd5b600160a060020a0387811660008181526020819052604090819020898155600101805463ffffffff191660e060020a8a81170417905590913316907f546816e99403df442acb68ef69562682a50762c20a3fb6b472f7af9923736cfc905160405180910390a3600193505060005b600554811015611d9b576005805482908110611cd357fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110611d0657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611d6d57600080fd5b6102c65a03f11515611d7e57600080fd5b505050604051805190501515611d9357600080fd5b600101611cbb565b5050509392505050565b600160a060020a03331660009081526020819052604081206001015460e060020a908102811614611dd557600080fd5b7f65787465726e616c546f6b656e5472616e7366657246726f6d0000000000000060005b600554811015611ed9576005805482908110611e1157fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110611e4457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611eab57600080fd5b6102c65a03f11515611ebc57600080fd5b505050604051805190501515611ed157600080fd5b600101611df9565b86600160a060020a031633600160a060020a03167f283faba4b8dcfe263728666be500623fdf5ae89ac78e40952fe2493f918ed62c888888604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a3600154600160a060020a031663b756d5a28888888860006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201529284166024840152921660448201526064810191909152608401602060405180830381600087803b1515611fb057600080fd5b6102c65a03f11515611fc157600080fd5b50505060405180519350505060005b6005548110156120b0576005805482908110611fe857fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061201b57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561208257600080fd5b6102c65a03f1151561209357600080fd5b5050506040518051905015156120a857600080fd5b600101611fd0565b5050949350505050565b600160a060020a03331660009081526020819052604081206001015460e060020a027c08000000000000000000000000000000000000000000000000000000009081161461210757600080fd5b600454600160a060020a03161561211d57600080fd5b600160a060020a038216151561213257600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03848116919091179091556001541663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b15156121a757600080fd5b6102c65a03f115156121b857600080fd5b5050600254600160a060020a03308116925016638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561220757600080fd5b6102c65a03f1151561221857600080fd5b50505060405180519050600160a060020a0316141561229657600254600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561228157600080fd5b6102c65a03f1151561229257600080fd5b5050505b600354600160a060020a033081169116638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156122e257600080fd5b6102c65a03f115156122f357600080fd5b50505060405180519050600160a060020a0316141561237157600354600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561235c57600080fd5b6102c65a03f1151561236d57600080fd5b5050505b6004547fdb7cbacf8df312d794506c0cc9af07f64d29ca075796ea2e950a3832cc9a63dd903090600160a060020a0316604051600160a060020a039283168152911660208201526040908101905180910390a1506001919050565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146123fc57600080fd5b7f73656e644574686572000000000000000000000000000000000000000000000060005b60055481101561250057600580548290811061243857fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061246b57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156124d257600080fd5b6102c65a03f115156124e357600080fd5b5050506040518051905015156124f857600080fd5b600101612420565b83600160a060020a031633600160a060020a03167fda35e091786fbaaace32084910404a0e3a14f22a7645a4c3d0fec2c6731e3c348760405190815260200160405180910390a3600154600160a060020a031663cb16d4a2868660006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b15156125a757600080fd5b6102c65a03f115156125b857600080fd5b50505060405180519350505060005b60055481101561084a5760058054829081106125df57fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061261257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561267957600080fd5b6102c65a03f1151561268a57600080fd5b50505060405180519050151561269f57600080fd5b6001016125c7565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146126d757600080fd5b7f65787465726e616c546f6b656e4465637265617365417070726f76616c00000060005b6005548110156127db57600580548290811061271357fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061274657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156127ad57600080fd5b6102c65a03f115156127be57600080fd5b5050506040518051905015156127d357600080fd5b6001016126fb565b85600160a060020a031633600160a060020a03167f56fc1f50d44108d3b715d77eb371d388bf2998c65b4eb5cf0ccd6c055be46d498787604051600160a060020a03909216825260208201526040908101905180910390a3600154600160a060020a031663d29ab9c487878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561289f57600080fd5b6102c65a03f115156128b057600080fd5b50505060405180519350505060005b6005548110156119db5760058054829081106128d757fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061290a57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561297157600080fd5b6102c65a03f1151561298257600080fd5b50505060405180519050151561299757600080fd5b6001016128bf565b60055490565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146129d557600080fd5b7f65787465726e616c546f6b656e5472616e73666572000000000000000000000060005b600554811015612ad9576005805482908110612a1157fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110612a4457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515612aab57600080fd5b6102c65a03f11515612abc57600080fd5b505050604051805190501515612ad157600080fd5b6001016129f9565b84600160a060020a031686600160a060020a031633600160a060020a03167fd4c08afec48fd2cbe49032dc89d3b388b7a4e4f0563a1fdccd73339beb025aa18760405190815260200160405180910390a4600154600160a060020a031663dab0efff87878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515612b9657600080fd5b6102c65a03f11515612ba757600080fd5b50505060405180519350505060005b6005548110156119db576005805482908110612bce57fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110612c0157fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515612c6857600080fd5b6102c65a03f11515612c7957600080fd5b505050604051805190501515612c8e57600080fd5b600101612bb6565b6000602081905290815260409020805460019091015460e060020a0282565b600254600160a060020a031681565b815481835581811511612cf057600202816002028360005260206000209182019101612cf09190612d0c565b505050565b604080519081016040526000808252602082015290565b6116a891905b80821115612d4457805473ffffffffffffffffffffffffffffffffffffffff1916815560006001820155600201612d12565b50905600a165627a7a72305820dd116b5e90268296fdc2bc988612d105652e5b1711df18c0cebc2a012ff6d7680029a165627a7a723058205c52fb6c93fa2bb2a32d2ab1b1e64c3d76c03b7ec59f3c20ebe68a31459e7f450029", - "deployedBytecode": "0x606060405260043610620000595763ffffffff60e060020a6000350416630bddbbc681146200005e5780630f96cf3414620000a95780636442f19514620000de5780638bcd1c341462000240578063e3186c56146200039b575b600080fd5b34156200006a57600080fd5b62000077600435620003c6565b6040517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19909116815260200160405180910390f35b3415620000b557600080fd5b620000c2600435620003ff565b604051600160a060020a03909116815260200160405180910390f35b3415620000ea57600080fd5b6200023e60048035600160a060020a0316906044602480359081019083013580602080820201604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437509496506200042895505050505050565b005b34156200024c57600080fd5b620000c2600480359060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405281815292919060208401838380828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437509496506200078d95505050505050565b3415620003a757600080fd5b620003b460043562000d99565b60405190815260200160405180910390f35b6003805482908110620003d557fe5b9060005260206000209060089182820401919006600402915054906101000a900460e060020a0281565b60018054829081106200040e57fe5b600091825260209091200154600160a060020a0316905081565b600160a060020a03868116600090815260208190526040812054909182913382169116146200045657600080fd5b87600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156200049d57600080fd5b6102c65a03f11515620004af57600080fd5b5050506040518051925060009150505b86518110156200069d57838181518110620004d657fe5b9060200190602002015115620005b05781600160a060020a0316638cf1355c8683815181106200050257fe5b906020019060200201518984815181106200051957fe5b906020019060200201518785815181106200053057fe5b9060200190602002015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156200059357600080fd5b6102c65a03f11515620005a557600080fd5b505050604051805150505b81600160a060020a031663a34abaa8888381518110620005cc57fe5b90602001906020020151888481518110620005e357fe5b90602001906020020151868581518110620005fa57fe5b9060200190602002015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166044820152606401602060405180830381600087803b15156200067857600080fd5b6102c65a03f115156200068a57600080fd5b50505060405180515050600101620004bf565b81600160a060020a031663653915e53060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515620006f557600080fd5b6102c65a03f115156200070757600080fd5b50505060405180515050600160a060020a03881660009081526020819052604090819020805473ffffffffffffffffffffffffffffffffffffffff191690557f9007c9042f12be953f7dbe3909f56c3f088e9fe294dbebbef4a67afa63462b6a90899051600160a060020a03909116815260200160405180910390a15050505050505050565b6000806000806000808a8a620007a262000db9565b808060200180602001838103835285818151815260200191508051906020019080838360005b83811015620007e2578082015183820152602001620007c8565b50505050905090810190601f168015620008105780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b83811015620008485780820151838201526020016200082e565b50505050905090810190601f168015620008765780820380516001836020036101000a031916815260200191505b50945050505050604051809103906000f08015156200089457600080fd5b9450620008a062000dca565b604051809103906000f0801515620008b757600080fd5b93508b8585620008c662000ddb565b928352600160a060020a0391821660208401521660408083019190915260609091019051809103906000f0801515620008fe57600080fd5b9250826001600260036200091162000dec565b600160a060020a03851681526080602082018181528554918301829052906040830190606084019060a0850190889080156200097757602002820191906000526020600020905b8154600160a060020a0316815260019091019060200180831162000958575b50508481038352868181548152602001915080548015620009b957602002820191906000526020600020905b81548152600190910190602001808311620009a3575b5050848103825285818154815260200191508054801562000a3f57602002820191906000526020600020906000905b82829054906101000a900460e060020a027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019060040190602082600301049283019260010382029150808411620009e85790505b5050975050505050505050604051809103906000f080151562000a6157600080fd5b915082600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151562000ab257600080fd5b6102c65a03f1151562000ac457600080fd5b50505084600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151562000b1657600080fd5b6102c65a03f1151562000b2857600080fd5b50505083600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151562000b7a57600080fd5b6102c65a03f1151562000b8c57600080fd5b505050600090505b885181101562000d0d5781600160a060020a03166310c5b32889838151811062000bba57fe5b906020019060200201518b848151811062000bd157fe5b9060200190602002015160006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b151562000c2957600080fd5b6102c65a03f1151562000c3b57600080fd5b50505060405180519050151562000c5157600080fd5b81600160a060020a03166318e236e488838151811062000c6d57fe5b906020019060200201518b848151811062000c8457fe5b9060200190602002015160006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b151562000cdc57600080fd5b6102c65a03f1151562000cee57600080fd5b50505060405180519050151562000d0457600080fd5b60010162000b94565b600160a060020a0383811660009081526020819052604090819020805473ffffffffffffffffffffffffffffffffffffffff191633909316929092179091557f244496352f5e67e59ce96b4a53ef9ea7cb88b7db33eb13dc5e771bd04385a60e90849051600160a060020a03909116815260200160405180910390a150909a9950505050505050505050565b600280548290811062000da857fe5b600091825260209091200154905081565b604051610ea08062000dfe83390190565b6040516104ab8062001c9e83390190565b6040516109d5806200214983390190565b6040516130798062002b1e83390190560060606040526003805460a060020a60ff0219169055341561001f57600080fd5b604051610ea0380380610ea08339810160405280805182019190602001805160038054600160a060020a03191633600160a060020a0316179055919091019050600482805161007292916020019061008e565b50600581805161008692916020019061008e565b505050610129565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100cf57805160ff19168380011785556100fc565b828001600101855582156100fc579182015b828111156100fc5782518255916020019190600101906100e1565b5061010892915061010c565b5090565b61012691905b808211156101085760008155600101610112565b90565b610d68806101386000396000f3006060604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461010b57806306fdde0314610132578063095ea7b3146101bc57806318160ddd146101de57806323b872dd1461020357806340c10f191461022b57806342966c681461024d57806366188463146102655780636ab55fd91461028757806370a082311461029a5780637d64bcb4146102b957806383197ef0146102cc5780638da5cb5b146102df57806395d89b411461030e578063a9059cbb14610321578063d73dd62314610343578063dd62ed3e14610365578063f2fde38b1461038a578063f5074f41146103a9575b600080fd5b341561011657600080fd5b61011e6103c8565b604051901515815260200160405180910390f35b341561013d57600080fd5b6101456103d8565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610181578082015183820152602001610169565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b61011e600160a060020a0360043516602435610476565b34156101e957600080fd5b6101f16104e2565b60405190815260200160405180910390f35b341561020e57600080fd5b61011e600160a060020a03600435811690602435166044356104e8565b341561023657600080fd5b61011e600160a060020a036004351660243561066a565b341561025857600080fd5b610263600435610777565b005b341561027057600080fd5b61011e600160a060020a0360043516602435610840565b341561029257600080fd5b6101f161093a565b34156102a557600080fd5b6101f1600160a060020a036004351661093f565b34156102c457600080fd5b61011e61095a565b34156102d757600080fd5b6102636109e5565b34156102ea57600080fd5b6102f2610a0e565b604051600160a060020a03909116815260200160405180910390f35b341561031957600080fd5b610145610a1d565b341561032c57600080fd5b61011e600160a060020a0360043516602435610a88565b341561034e57600080fd5b61011e600160a060020a0360043516602435610b83565b341561037057600080fd5b6101f1600160a060020a0360043581169060243516610c27565b341561039557600080fd5b610263600160a060020a0360043516610c52565b34156103b457600080fd5b610263600160a060020a0360043516610ced565b60035460a060020a900460ff1681565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561046e5780601f106104435761010080835404028352916020019161046e565b820191906000526020600020905b81548152906001019060200180831161045157829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a03831615156104ff57600080fd5b600160a060020a03841660009081526001602052604090205482111561052457600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561055757600080fd5b600160a060020a038416600090815260016020526040902054610580908363ffffffff610d1416565b600160a060020a0380861660009081526001602052604080822093909355908516815220546105b5908363ffffffff610d2616565b600160a060020a038085166000908152600160209081526040808320949094558783168252600281528382203390931682529190915220546105fd908363ffffffff610d1416565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60035460009033600160a060020a0390811691161461068857600080fd5b60035460a060020a900460ff161561069f57600080fd5b6000546106b2908363ffffffff610d2616565b6000908155600160a060020a0384168152600160205260409020546106dd908363ffffffff610d2616565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600080821161078557600080fd5b600160a060020a0333166000908152600160205260409020548211156107aa57600080fd5b5033600160a060020a0381166000908152600160205260409020546107cf9083610d14565b600160a060020a038216600090815260016020526040812091909155546107fc908363ffffffff610d1416565b600055600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561089d57600160a060020a0333811660009081526002602090815260408083209388168352929052908120556108d4565b6108ad818463ffffffff610d1416565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b601281565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a0390811691161461097857600080fd5b60035460a060020a900460ff161561098f57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a03908116911614610a0057600080fd5b600354600160a060020a0316ff5b600354600160a060020a031681565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561046e5780601f106104435761010080835404028352916020019161046e565b6000600160a060020a0383161515610a9f57600080fd5b600160a060020a033316600090815260016020526040902054821115610ac457600080fd5b600160a060020a033316600090815260016020526040902054610aed908363ffffffff610d1416565b600160a060020a033381166000908152600160205260408082209390935590851681522054610b22908363ffffffff610d2616565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610bbb908363ffffffff610d2616565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610c6d57600080fd5b600160a060020a0381161515610c8257600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035433600160a060020a03908116911614610d0857600080fd5b80600160a060020a0316ff5b600082821115610d2057fe5b50900390565b600082820183811015610d3557fe5b93925050505600a165627a7a72305820ddd222f885170d976ba92e33cced2eee9f7c90cd560193c32910e76aa67bce7f002960606040526012600355341561001457600080fd5b60008054600160a060020a033316600160a060020a0319909116811782558152600160205260408120819055600255610459806100526000396000f3006060604052600436106100825763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd8114610087578063313ce567146100ac5780638da5cb5b146100bf578063b120c16a146100ee578063db89c04414610124578063f2fde38b14610143578063fd9bf3aa14610164575b600080fd5b341561009257600080fd5b61009a610186565b60405190815260200160405180910390f35b34156100b757600080fd5b61009a61018c565b34156100ca57600080fd5b6100d2610192565b604051600160a060020a03909116815260200160405180910390f35b34156100f957600080fd5b610110600160a060020a03600435166024356101a1565b604051901515815260200160405180910390f35b341561012f57600080fd5b61009a600160a060020a0360043516610222565b341561014e57600080fd5b610162600160a060020a036004351661023d565b005b341561016f57600080fd5b610110600160a060020a03600435166024356102d8565b60025481565b60035481565b600054600160a060020a031681565b6000805433600160a060020a039081169116146101bd57600080fd5b600160a060020a0383166000908152600160205260409020546002546101fa9184916101ee9163ffffffff61040516565b9063ffffffff61041716565b60025550600160a060020a038216600090815260016020819052604090912082905592915050565b600160a060020a031660009081526001602052604090205490565b60005433600160a060020a0390811691161461025857600080fd5b600160a060020a038116151561026d57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054819033600160a060020a039081169116146102f657600080fd5b6000831261035e57506002548290610314908263ffffffff61041716565b600255600160a060020a038416600090815260016020526040902054610340908263ffffffff61041716565b600160a060020a0385166000908152600160205260409020556103be565b50600254600019830290610378908263ffffffff61040516565b600255600160a060020a0384166000908152600160205260409020546103a4908263ffffffff61040516565b600160a060020a0385166000908152600160205260409020555b83600160a060020a03167f6f734b566c5e1cb976d9c7fba184b96a698a18931dd345168b16db217f8df0dd8460405190815260200160405180910390a25060019392505050565b60008282111561041157fe5b50900390565b60008282018381101561042657fe5b93925050505600a165627a7a723058201a9bea40831b947da943a43e70f9b6a2089d92e54654732959bfd2903683f7ab00296060604052341561000f57600080fd5b6040516060806109d583398101604052808051919060200180519190602001805160008054600160a060020a03338116600160a060020a031992831617909255600196909655600280549582169587169590951790945560038054949091169390941692909217909255505061094b8061008a6000396000f3006060604052600436106100955763ffffffff60e060020a6000350416631386dc2d81146100d45780636ce15a54146100f957806389ae1c901461016a5780638cf1355c146101995780638da5cb5b146101c1578063b756d5a2146101d4578063cb16d4a214610202578063d29ab9c414610224578063dab0efff1461024c578063e1758bd814610274578063f2fde38b14610287575b33600160a060020a03167ff32a9f77675fd5917534c7746608fd3e309eac68fbdcbf5925e24ca97a7043963460405190815260200160405180910390a2005b34156100df57600080fd5b6100e76102a8565b60405190815260200160405180910390f35b341561010457600080fd5b61015660048035600160a060020a03169060446024803590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506102ae95505050505050565b604051901515815260200160405180910390f35b341561017557600080fd5b61017d610400565b604051600160a060020a03909116815260200160405180910390f35b34156101a457600080fd5b610156600160a060020a036004358116906024351660443561040f565b34156101cc57600080fd5b61017d6104fb565b34156101df57600080fd5b610156600160a060020a036004358116906024358116906044351660643561050a565b341561020d57600080fd5b610156600435600160a060020a0360243516610610565b341561022f57600080fd5b610156600160a060020a03600435811690602435166044356106a3565b341561025757600080fd5b610156600160a060020a036004358116906024351660443561078f565b341561027f57600080fd5b61017d610875565b341561029257600080fd5b6102a6600160a060020a0360043516610884565b005b60015481565b6000805433600160a060020a039081169116146102ca57600080fd5b82600160a060020a03167f8518530cc6bc186721ab2fc226031ca054c8484893d8b0c7faab65a58aac238d8360405160208082528190810183818151815260200191508051906020019060200280838360005b8381101561033557808201518382015260200161031d565b505050509050019250505060405180910390a282600160a060020a03166040517f616374696f6e28627974657333325b5d290000000000000000000000000000008152601101604051809103902060e060020a900460208451856040518463ffffffff1660e060020a02815260040180848152602001838152602001828051906020019060200280838360005b838110156103da5780820151838201526020016103c2565b5050505090500193505050506000604051808303818661646e5a03f49695505050505050565b600354600160a060020a031681565b6000805433600160a060020a0390811691161461042b57600080fd5b83600160a060020a031663d73dd623848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561048857600080fd5b6102c65a03f1151561049957600080fd5b50505060405180515050600160a060020a0384167fbe7df27d98bd0614ae920a695c2c2be09c164d8456083da020a98538692c465f8484604051600160a060020a03909216825260208201526040908101905180910390a25060019392505050565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461052657600080fd5b84600160a060020a03166323b872dd85858560006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561059057600080fd5b6102c65a03f115156105a157600080fd5b50505060405180515050600160a060020a0385167f179c15de44aa7ab84896301974328eb40b5b40fe01cfe0fee2924ea712c3e843858585604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a2506001949350505050565b6000805433600160a060020a0390811691161461062c57600080fd5b600160a060020a03821683156108fc0284604051600060405180830381858888f19350505050151561065d57600080fd5b81600160a060020a03167f22fca66666089f39bc900dd6605b489df4aae6260cc8ea8257594cfb8c84926c8460405190815260200160405180910390a250600192915050565b6000805433600160a060020a039081169116146106bf57600080fd5b83600160a060020a03166366188463848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561071c57600080fd5b6102c65a03f1151561072d57600080fd5b50505060405180515050600160a060020a0384167f495e426dd61227fe840d969dfba17620c573364af8c37748ea71f96f744ae3348484604051600160a060020a03909216825260208201526040908101905180910390a25060019392505050565b6000805433600160a060020a039081169116146107ab57600080fd5b83600160a060020a031663a9059cbb848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561080857600080fd5b6102c65a03f1151561081957600080fd5b505050604051805190505082600160a060020a031684600160a060020a03167f49dc2a60d2599a7b6932d78fb694c30dfc596fe4e0282b5d0fd184b52472c04d8460405190815260200160405180910390a35060019392505050565b600254600160a060020a031681565b60005433600160a060020a0390811691161461089f57600080fd5b600160a060020a03811615156108b457600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820786998839b4cbdb5de27a89e499d071bb45a6e91c521dbfe4500bd3b9d6741d90029606060405234156200001057600080fd5b6040516200307938038062003079833981016040528080519190602001805182019190602001805182019190602001805160018054600160a060020a031916600160a060020a0388811691909117918290559390910192600092501663e1758bd882604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515620000c157600080fd5b6102c65a03f11515620000d357600080fd5b505050604051805160028054600160a060020a031916600160a060020a039283161790556001541690506389ae1c906000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156200015357600080fd5b6102c65a03f115156200016557600080fd5b505050604051805160038054600160a060020a031916600160a060020a039290921691909117905550600090505b8351811015620002f0576040805190810160405280848381518110620001b557fe5b9060200190602002015181526020017c0100000000000000000000000000000000000000000000000000000000848481518110620001ef57fe5b90602001906020020151177fffffffff000000000000000000000000000000000000000000000000000000001690526000808684815181106200022e57fe5b90602001906020020151600160a060020a031681526020810191909152604001600020815181556020820151600191909101805463ffffffff19167c0100000000000000000000000000000000000000000000000000000000909204919091179055508381815181106200029e57fe5b90602001906020020151600160a060020a031633600160a060020a03167f546816e99403df442acb68ef69562682a50762c20a3fb6b472f7af9923736cfc60405160405180910390a360010162000193565b5050505050612d7480620003056000396000f30060606040526004361061013a5763ffffffff60e060020a600035041663043cc6ee811461014a57806310c5b3281461017d57806318e236e41461019f578063277d811e146101c15780633a02263c1461021057806346a4869c1461023f57806346e361b714610261578063488b3814146102925780635aef7de6146102b157806364f47ace146102c4578063653915e5146102fd57806365ab1ae81461031c5780636bafaa591461035457806381d064c41461036757806389ae1c90146103865780638cf1355c146103995780639fe02726146103c1578063a34abaa8146103fd578063b756d5a21461042c578063b9c2ee821461045a578063cb16d4a214610479578063d29ab9c41461049b578063d5210f60146104c3578063dab0efff146104d6578063db6149ce146104fe578063e1758bd81461053f575b341561014557600080fd5b600080fd5b341561015557600080fd5b610169600160a060020a0360043516610552565b604051901515815260200160405180910390f35b341561018857600080fd5b610169600435600160a060020a0360243516610570565b34156101aa57600080fd5b610169600435600160a060020a0360243516610852565b34156101cc57600080fd5b6101696004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610b2c95505050505050565b341561021b57600080fd5b610223610e90565b604051600160a060020a03909116815260200160405180910390f35b341561024a57600080fd5b610169600160a060020a0360043516602435610e9f565b341561026c57600080fd5b610280600160a060020a0360043516611069565b60405190815260200160405180910390f35b341561029d57600080fd5b610169600160a060020a0360043516611084565b34156102bc57600080fd5b610223611298565b34156102cf57600080fd5b6102e3600160a060020a03600435166112a7565b604051911515825260208201526040908101905180910390f35b341561030857600080fd5b610169600160a060020a03600435166112c6565b341561032757600080fd5b6103326004356115fc565b604051600160a060020a03909216825260208201526040908101905180910390f35b341561035f57600080fd5b610169611632565b341561037257600080fd5b610169600160a060020a03600435166116ab565b341561039157600080fd5b6102236116d4565b34156103a457600080fd5b610169600160a060020a03600435811690602435166044356116e3565b34156103cc57600080fd5b6103e0600160a060020a03600435166119e4565b604051600160e060020a0319909116815260200160405180910390f35b341561040857600080fd5b610169600160a060020a0360043516602435600160e060020a031960443516611a08565b341561043757600080fd5b610169600160a060020a0360043581169060243581169060443516606435611da5565b341561046557600080fd5b610169600160a060020a03600435166120ba565b341561048457600080fd5b610169600435600160a060020a03602435166123cc565b34156104a657600080fd5b610169600160a060020a03600435811690602435166044356126a7565b34156104ce57600080fd5b61028061299f565b34156104e157600080fd5b610169600160a060020a03600435811690602435166044356129a5565b341561050957600080fd5b61051d600160a060020a0360043516612c96565b604051918252600160e060020a03191660208201526040908101905180910390f35b341561054a57600080fd5b610223612cb5565b600160a060020a031660009081526006602052604090205460ff1690565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146105a057600080fd5b7f6d696e74546f6b656e730000000000000000000000000000000000000000000060005b6005548110156106a45760058054829081106105dc57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061060f57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561067657600080fd5b6102c65a03f1151561068757600080fd5b50505060405180519050151561069c57600080fd5b6001016105c4565b83600160a060020a031633600160a060020a03167f21f9c9a1a1f9a311a50f15fec5c1faa9e21fc9edf964f0fdecba5bd490484c5e8760405190815260200160405180910390a3600254600160a060020a03166340c10f19858760006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561074a57600080fd5b6102c65a03f1151561075b57600080fd5b50505060405180519350505060005b60055481101561084a57600580548290811061078257fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d913391859081106107b557fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561081c57600080fd5b6102c65a03f1151561082d57600080fd5b50505060405180519050151561084257600080fd5b60010161076a565b505092915050565b600160a060020a03331660009081526020819052604081206001015460e060020a90810281161461088257600080fd5b7f6d696e7452657075746174696f6e00000000000000000000000000000000000060005b6005548110156109865760058054829081106108be57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab2913391859081106108f157fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561095857600080fd5b6102c65a03f1151561096957600080fd5b50505060405180519050151561097e57600080fd5b6001016108a6565b83600160a060020a031633600160a060020a03167fb6ced7e295ffd06d19f45bd872b3bd3fd172b1ba53b17ce0543c276d06f5a4228760405190815260200160405180910390a3600354600160a060020a031663fd9bf3aa858760006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610a2c57600080fd5b6102c65a03f11515610a3d57600080fd5b50505060405180519350505060005b60055481101561084a576005805482908110610a6457fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110610a9757fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610afe57600080fd5b6102c65a03f11515610b0f57600080fd5b505050604051805190501515610b2457600080fd5b600101610a4c565b600160a060020a03331660009081526020819052604081206001015460e060020a908102811614610b5c57600080fd5b7f67656e65726963416374696f6e0000000000000000000000000000000000000060005b600554811015610c60576005805482908110610b9857fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110610bcb57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610c3257600080fd5b6102c65a03f11515610c4357600080fd5b505050604051805190501515610c5857600080fd5b600101610b80565b33600160a060020a03167f8518530cc6bc186721ab2fc226031ca054c8484893d8b0c7faab65a58aac238d8560405160208082528190810183818151815260200191508051906020019060200280838360005b83811015610ccb578082015183820152602001610cb3565b505050509050019250505060405180910390a2600154600160a060020a0316636ce15a5433866000604051602001526040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610d64578082015183820152602001610d4c565b505050509050019350505050602060405180830381600087803b1515610d8957600080fd5b6102c65a03f11515610d9a57600080fd5b50505060405180519350505060005b600554811015610e89576005805482908110610dc157fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110610df457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515610e5b57600080fd5b6102c65a03f11515610e6c57600080fd5b505050604051805190501515610e8157600080fd5b600101610da9565b5050919050565b600454600160a060020a031681565b600160a060020a03331660009081526020819052604081206001015460e060020a027c040000000000000000000000000000000000000000000000000000000090811614610eec57600080fd5b600160a060020a03831660009081526006602052604090205460ff161515610fdc576005805460018101610f208382612cc4565b9160005260206000209060020201600060408051908101604052600160a060020a0387168152602081018690529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201516001909101555060409050805190810160409081526001825260055460001901602080840191909152600160a060020a03861660009081526006909152208151815460ff191690151517815560208201516001909101555061101c565b600160a060020a03831660009081526006602052604090206001015460058054849290811061100757fe5b60009182526020909120600160029092020101555b7f6f3ac186000a779fe66d0a5188f51993a6593d93c4ff052ec0453aa84f09dbcb8383604051600160a060020a03909216825260208201526040908101905180910390a150600192915050565b600160a060020a031660009081526020819052604090205490565b600061108e612cf5565b611096612cf5565b600160a060020a03331660009081526020819052604090206001015460e060020a027c0400000000000000000000000000000000000000000000000000000000908116146110e357600080fd5b600160a060020a03841660009081526006602052604090819020908051908101604052815460ff16151581526001909101546020820152915081511561128e5760055460001901602083015110156112005760058054600019810190811061114757fe5b9060005260206000209060020201604080519081016040528154600160a060020a0316815260019091015460208083019190915290915081906005908401518154811061119057fe5b90600052602060002090600202016000820151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151600190910155506020820151600660008351600160a060020a031681526020810191909152604001600020600101555b6005805490611213906000198301612cc4565b50600160a060020a03841660009081526006602090815260408220805460ff19168155600101919091557f6ceab662049113d466f7e28b69edbec7cf641bc175522623536b09785887982a908590840151604051600160a060020a03909216825260208201526040908101905180910390a160019250610e89565b5060009392505050565b600154600160a060020a031681565b6006602052600090815260409020805460019091015460ff9091169082565b600160a060020a03331660009081526020819052604081206001015460e060020a027c02000000000000000000000000000000000000000000000000000000009081161461131357600080fd5b7f756e7265676973746572536368656d650000000000000000000000000000000060005b60055481101561141757600580548290811061134f57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061138257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156113e957600080fd5b6102c65a03f115156113fa57600080fd5b50505060405180519050151561140f57600080fd5b600101611337565b600160a060020a03841660009081526020819052604090206001015460e060020a90810216151561144b5760009250611518565b33600160a060020a0390811660009081526020819052604080822060019081015493881683529120015460e060020a918202199102167c0f0000000000000000000000000000000000000000000000000000000016156114aa57600080fd5b83600160a060020a031633600160a060020a03167f10bb2cf04cb8b902a8e736d494f1a51003be6d4b16ef6fb95ce62c38445023bf60405160405180910390a3600160a060020a03841660009081526020819052604081209081556001908101805463ffffffff1916905592505b5060005b600554811015610e8957600580548290811061153457fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061156757fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156115ce57600080fd5b6102c65a03f115156115df57600080fd5b5050506040518051905015156115f457600080fd5b60010161151c565b600580548290811061160a57fe5b600091825260209091206002909102018054600190910154600160a060020a03909116915082565b600061163d336116ab565b151561164b575060006116a8565b600160a060020a0333166000818152602081905260408082209182556001909101805463ffffffff1916905581907f10bb2cf04cb8b902a8e736d494f1a51003be6d4b16ef6fb95ce62c38445023bf905160405180910390a35060015b90565b600160a060020a031660009081526020819052604090206001015460e060020a90810216151590565b600354600160a060020a031681565b600160a060020a03331660009081526020819052604081206001015460e060020a90810281161461171357600080fd5b7f65787465726e616c546f6b656e496e637265617365417070726f76616c00000060005b60055481101561181757600580548290811061174f57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061178257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156117e957600080fd5b6102c65a03f115156117fa57600080fd5b50505060405180519050151561180f57600080fd5b600101611737565b85600160a060020a031633600160a060020a03167f2cee0640e7c161518a78fa901d8c0e4b2f51d42612532184a4f017a45b01ba288787604051600160a060020a03909216825260208201526040908101905180910390a3600154600160a060020a0316638cf1355c87878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156118db57600080fd5b6102c65a03f115156118ec57600080fd5b50505060405180519350505060005b6005548110156119db57600580548290811061191357fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061194657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156119ad57600080fd5b6102c65a03f115156119be57600080fd5b5050506040518051905015156119d357600080fd5b6001016118fb565b50509392505050565b600160a060020a031660009081526020819052604090206001015460e060020a0290565b6000611a12612cf5565b600160a060020a03331660009081526020819052604090206001015460e060020a027c020000000000000000000000000000000000000000000000000000000090811614611a5f57600080fd5b7f7265676973746572536368656d6500000000000000000000000000000000000060005b600554811015611b63576005805482908110611a9b57fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110611ace57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611b3557600080fd5b6102c65a03f11515611b4657600080fd5b505050604051805190501515611b5b57600080fd5b600101611a83565b600160a060020a03871660009081526020819052604090819020908051908101604090815282548252600192830154600160e060020a031960e060020a918202166020808501918252600160a060020a03331660009081529081905292832090940154929650909291021990518718167c0f000000000000000000000000000000000000000000000000000000001614611bfc57600080fd5b600160a060020a03331660009081526020818152604082206001015460e060020a021990850151167c0f000000000000000000000000000000000000000000000000000000001614611c4d57600080fd5b600160a060020a0387811660008181526020819052604090819020898155600101805463ffffffff191660e060020a8a81170417905590913316907f546816e99403df442acb68ef69562682a50762c20a3fb6b472f7af9923736cfc905160405180910390a3600193505060005b600554811015611d9b576005805482908110611cd357fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110611d0657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611d6d57600080fd5b6102c65a03f11515611d7e57600080fd5b505050604051805190501515611d9357600080fd5b600101611cbb565b5050509392505050565b600160a060020a03331660009081526020819052604081206001015460e060020a908102811614611dd557600080fd5b7f65787465726e616c546f6b656e5472616e7366657246726f6d0000000000000060005b600554811015611ed9576005805482908110611e1157fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110611e4457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515611eab57600080fd5b6102c65a03f11515611ebc57600080fd5b505050604051805190501515611ed157600080fd5b600101611df9565b86600160a060020a031633600160a060020a03167f283faba4b8dcfe263728666be500623fdf5ae89ac78e40952fe2493f918ed62c888888604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a3600154600160a060020a031663b756d5a28888888860006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201529284166024840152921660448201526064810191909152608401602060405180830381600087803b1515611fb057600080fd5b6102c65a03f11515611fc157600080fd5b50505060405180519350505060005b6005548110156120b0576005805482908110611fe857fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061201b57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561208257600080fd5b6102c65a03f1151561209357600080fd5b5050506040518051905015156120a857600080fd5b600101611fd0565b5050949350505050565b600160a060020a03331660009081526020819052604081206001015460e060020a027c08000000000000000000000000000000000000000000000000000000009081161461210757600080fd5b600454600160a060020a03161561211d57600080fd5b600160a060020a038216151561213257600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03848116919091179091556001541663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b15156121a757600080fd5b6102c65a03f115156121b857600080fd5b5050600254600160a060020a03308116925016638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561220757600080fd5b6102c65a03f1151561221857600080fd5b50505060405180519050600160a060020a0316141561229657600254600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561228157600080fd5b6102c65a03f1151561229257600080fd5b5050505b600354600160a060020a033081169116638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156122e257600080fd5b6102c65a03f115156122f357600080fd5b50505060405180519050600160a060020a0316141561237157600354600160a060020a031663f2fde38b8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561235c57600080fd5b6102c65a03f1151561236d57600080fd5b5050505b6004547fdb7cbacf8df312d794506c0cc9af07f64d29ca075796ea2e950a3832cc9a63dd903090600160a060020a0316604051600160a060020a039283168152911660208201526040908101905180910390a1506001919050565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146123fc57600080fd5b7f73656e644574686572000000000000000000000000000000000000000000000060005b60055481101561250057600580548290811061243857fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061246b57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156124d257600080fd5b6102c65a03f115156124e357600080fd5b5050506040518051905015156124f857600080fd5b600101612420565b83600160a060020a031633600160a060020a03167fda35e091786fbaaace32084910404a0e3a14f22a7645a4c3d0fec2c6731e3c348760405190815260200160405180910390a3600154600160a060020a031663cb16d4a2868660006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b15156125a757600080fd5b6102c65a03f115156125b857600080fd5b50505060405180519350505060005b60055481101561084a5760058054829081106125df57fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061261257fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561267957600080fd5b6102c65a03f1151561268a57600080fd5b50505060405180519050151561269f57600080fd5b6001016125c7565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146126d757600080fd5b7f65787465726e616c546f6b656e4465637265617365417070726f76616c00000060005b6005548110156127db57600580548290811061271357fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab29133918590811061274657fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b15156127ad57600080fd5b6102c65a03f115156127be57600080fd5b5050506040518051905015156127d357600080fd5b6001016126fb565b85600160a060020a031633600160a060020a03167f56fc1f50d44108d3b715d77eb371d388bf2998c65b4eb5cf0ccd6c055be46d498787604051600160a060020a03909216825260208201526040908101905180910390a3600154600160a060020a031663d29ab9c487878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561289f57600080fd5b6102c65a03f115156128b057600080fd5b50505060405180519350505060005b6005548110156119db5760058054829081106128d757fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d9133918590811061290a57fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b151561297157600080fd5b6102c65a03f1151561298257600080fd5b50505060405180519050151561299757600080fd5b6001016128bf565b60055490565b600160a060020a03331660009081526020819052604081206001015460e060020a9081028116146129d557600080fd5b7f65787465726e616c546f6b656e5472616e73666572000000000000000000000060005b600554811015612ad9576005805482908110612a1157fe5b600091825260209091206002909102015460058054600160a060020a039092169163c1786ab291339185908110612a4457fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515612aab57600080fd5b6102c65a03f11515612abc57600080fd5b505050604051805190501515612ad157600080fd5b6001016129f9565b84600160a060020a031686600160a060020a031633600160a060020a03167fd4c08afec48fd2cbe49032dc89d3b388b7a4e4f0563a1fdccd73339beb025aa18760405190815260200160405180910390a4600154600160a060020a031663dab0efff87878760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515612b9657600080fd5b6102c65a03f11515612ba757600080fd5b50505060405180519350505060005b6005548110156119db576005805482908110612bce57fe5b600091825260209091206002909102015460058054600160a060020a0390921691638043154d91339185908110612c0157fe5b9060005260206000209060020201600101548560006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091526044820152606401602060405180830381600087803b1515612c6857600080fd5b6102c65a03f11515612c7957600080fd5b505050604051805190501515612c8e57600080fd5b600101612bb6565b6000602081905290815260409020805460019091015460e060020a0282565b600254600160a060020a031681565b815481835581811511612cf057600202816002028360005260206000209182019101612cf09190612d0c565b505050565b604080519081016040526000808252602082015290565b6116a891905b80821115612d4457805473ffffffffffffffffffffffffffffffffffffffff1916815560006001820155600201612d12565b50905600a165627a7a72305820dd116b5e90268296fdc2bc988612d105652e5b1711df18c0cebc2a012ff6d7680029a165627a7a723058205c52fb6c93fa2bb2a32d2ab1b1e64c3d76c03b7ec59f3c20ebe68a31459e7f450029", - "sourceMap": "251:4124:17:-;;;410:47;;;;;;;;-1:-1:-1;;;;;451:4:17;410:47;;;;;;;;;:::i;:::-;;464:44;;;;;;;;505:1;464:44;;;;;;497:10;464:44;:::i;:::-;;539:45;;;;;;;;572:11;539:45;;;;;;;;:::i;:::-;;593:34;;;;;;;;251:4124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;251:4124:17;-1:-1:-1;;;;;251:4124:17;;;;;;;;;;;;;-1:-1:-1;251:4124:17;;;;;;;-1:-1:-1;251:4124:17;;;-1:-1:-1;251:4124:17;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;251:4124:17;;;-1:-1:-1;251:4124:17;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;251:4124:17;;;-1:-1:-1;251:4124:17;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;;251:4124:17;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;251:4124:17;;;;;;;;;;;;;;", - "deployedSourceMap": "251:4124:17:-;;;;;;;;;-1:-1:-1;;;251:4124:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;539:45;;;;;;;;;;;;;;;;;-1:-1:-1;;539:45:17;;;;;;;;;;;;;;410:47;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;410:47:17;;;;;;;;;;;;;;3151:1221;;;;;;;;;;;;;-1:-1:-1;;;;;3151:1221:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3151:1221:17;;-1:-1:-1;3151:1221:17;;-1:-1:-1;;;;;;3151:1221:17;;;1297:1326;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1297:1326:17;;-1:-1:-1;1297:1326:17;;-1:-1:-1;;;;;;1297:1326:17;464:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;539:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;539:45:17;;:::o;410:47::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;410:47:17;;-1:-1:-1;410:47:17;:::o;3151:1221::-;-1:-1:-1;;;;;3500:23:17;;;3589:21;3500:23;;;;;;;;;;;3589:21;;;;3527:10;3500:37;;:23;;:37;3492:46;;;;;;3624:7;-1:-1:-1;;;;;3624:13:17;;:15;;;;;;;;;;;-1:-1:-1;;;3624:15:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3666:1:17;;-1:-1:-1;;3651:532:17;3674:8;:15;3670:1;:19;3651:532;;;3968:4;3973:1;3968:7;;;;;;;;;;;;;;;;:12;3964:126;;4001:10;-1:-1:-1;;;;;4001:40:17;;4042:6;4049:1;4042:9;;;;;;;;;;;;;;;;4053:8;4062:1;4053:11;;;;;;;;;;;;;;;;4066:4;4071:1;4066:7;;;;;;;;;;;;;;;;4001:73;;;;;;;;-1:-1:-1;;;4001:73:17;;;;;;-1:-1:-1;;;;;4001:73:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3964:126:17;4104:10;-1:-1:-1;;;;;4104:25:17;;4130:8;4139:1;4130:11;;;;;;;;;;;;;;;;4143:7;4151:1;4143:10;;;;;;;;;;;;;;;;4155:12;4168:1;4155:15;;;;;;;;;;;;;;;;4104:67;;;;;;;;-1:-1:-1;;;4104:67:17;;;;;;-1:-1:-1;;;;;4104:67:17;;;;;;;;;;;;;;-1:-1:-1;;4104:67:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3692:3:17;;3651:532;;;4224:10;-1:-1:-1;;;;;4224:27:17;;4252:4;4224:33;;;;;;;;-1:-1:-1;;;4224:33:17;;;;;;-1:-1:-1;;;;;4224:33:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;4302:14:17;;:5;:14;;;;;;;;;;;;4295:21;;-1:-1:-1;;4295:21:17;;;4329:35;;4308:7;;4329:35;-1:-1:-1;;;;;4329:35:17;;;;;;;;;;;;;;3151:1221;;;;;;;;:::o;1297:1326::-;1533:7;1607:21;1680:28;1738:14;1850:21;2194:6;1644:10;1656:12;1631:38;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1607:62:17;;1711:16;;:::i;:::-;;;;;;;;;;;;;;;;;;1680:47;;1766:8;1776:11;1789:16;1755:51;;:::i;:::-;;;;-1:-1:-1;;;;;1755:51:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1738:68;;1889:6;1896:12;1910;1924:11;1874:62;;:::i;:::-;-1:-1:-1;;;;;1874:62:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1874:62:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1874:62:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1850:86;;1979:6;-1:-1:-1;;;;;1979:24:17;;2004:10;1979:36;;-1:-1:-1;;;1979:36:17;;;;;;-1:-1:-1;;;;;1979:36:17;;;;;;;;;-1:-1:-1;1979:36:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2026:11;-1:-1:-1;;;;;2026:29:17;;2056:10;2026:41;;-1:-1:-1;;;2026:41:17;;;;;;-1:-1:-1;;;;;2026:41:17;;;;;;;;;-1:-1:-1;2026:41:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2078:16;-1:-1:-1;;;;;2078:34:17;;2113:10;2078:46;;-1:-1:-1;;;2078:46:17;;;;;;-1:-1:-1;;;;;2078:46:17;;;;;;;;;-1:-1:-1;2078:46:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2203:1;2194:10;;2189:316;2211:9;:16;2207:1;:20;2189:316;;;2256:10;-1:-1:-1;;;;;2256:21:17;;2278:20;2299:1;2278:23;;;;;;;;;;;;;;;;2303:9;2313:1;2303:12;;;;;;;;;;;;;;;;2256:60;;;;;;;;-1:-1:-1;;;2256:60:17;;;;;;;;;;;;;-1:-1:-1;;;;;2256:60:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2255:61;2251:110;;;2337:8;;;2251:110;2380:10;-1:-1:-1;;;;;2380:25:17;;2406;2432:1;2406:28;;;;;;;;;;;;;;;;2436:9;2446:1;2436:12;;;;;;;;;;;;;;;;2380:69;;;;;;;;-1:-1:-1;;;2380:69:17;;;;;;;;;;;;;-1:-1:-1;;;;;2380:69:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2379:70;2375:119;;;2470:8;;;2375:119;2230:3;;2189:316;;;-1:-1:-1;;;;;2517:13:17;;;:5;:13;;;;;;;;;;;;:26;;-1:-1:-1;;2517:26:17;2533:10;2517:26;;;;;;;;;;2556:24;;2517:13;;2556:24;-1:-1:-1;;;;;2556:24:17;;;;;;;;;;;;;;-1:-1:-1;2607:6:17;;1297:1326;-1:-1:-1;;;;;;;;;;1297:1326:17:o;464:44::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;464:44:17;:::o;251:4124::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../controller/Avatar.sol\";\r\nimport \"../controller/Controller.sol\";\r\nimport \"../controller/DAOToken.sol\";\r\nimport \"../controller/Reputation.sol\";\r\n\r\n\r\n/**\r\n * @title Genesis Scheme that creates organizations\r\n */\r\n\r\ncontract GenesisScheme {\r\n\r\n mapping(address=>address) locks;\r\n\r\n event NewOrg (address _avatar);\r\n event InitialSchemesSet (address _avatar);\r\n\r\n address[] public addressArray = [address(this)];\r\n bytes32[] public bytes32Array = [bytes32(0)];\r\n //full permissions\r\n bytes4[] public bytes4Array = [bytes4(0xF)];\r\n\r\n function GenesisScheme() public {}\r\n\r\n /**\r\n * @dev Create a new organization\r\n * @param _orgName The name of the new organization\r\n * @param _tokenName The name of the token associated with the organization\r\n * @param _tokenSymbol The symbol of the token\r\n * @param _founders An array with the addresses of the founders of the organization\r\n * @param _foundersTokenAmount An array of amount of tokens that the founders\r\n * receive in the new organization\r\n * @param _foundersReputationAmount An array of amount of reputation that the\r\n * founders receive in the new organization\r\n *\r\n * @return The address of the avatar of the controller\r\n */\r\n function forgeOrg (\r\n bytes32 _orgName,\r\n string _tokenName,\r\n string _tokenSymbol,\r\n address[] _founders,\r\n uint[] _foundersTokenAmount,\r\n int[] _foundersReputationAmount\r\n ) public returns(address)\r\n {\r\n // Create Token, Reputation and Avatar:\r\n DAOToken nativeToken = new DAOToken(_tokenName, _tokenSymbol);\r\n Reputation nativeReputation = new Reputation();\r\n Avatar avatar = new Avatar(_orgName, nativeToken, nativeReputation);\r\n\r\n // Create Controller:\r\n Controller controller = new Controller(avatar,addressArray, bytes32Array, bytes4Array);\r\n // Transfer ownership:\r\n avatar.transferOwnership(controller);\r\n nativeToken.transferOwnership(controller);\r\n nativeReputation.transferOwnership(controller);\r\n\r\n // Mint token and reputation for founders:\r\n for (uint i = 0 ; i < _founders.length ; i++ ) {\r\n if (!controller.mintTokens(_foundersTokenAmount[i], _founders[i])) {\r\n revert();\r\n }\r\n if (!controller.mintReputation(_foundersReputationAmount[i], _founders[i])) {\r\n revert();\r\n }\r\n }\r\n\r\n locks[avatar] = msg.sender;\r\n\r\n NewOrg (address(avatar));\r\n return (address(avatar));\r\n }\r\n\r\n /**\r\n * @dev Set initial schemes for the organization.\r\n * @param _avatar organization avatar (returns from forgeOrg)\r\n * @param _schemes the schemes to register for the organization\r\n * @param _params the schemes's params\r\n * @param _token the tokens these schemes are using and will be allowed to\r\n * spend on behalf of the organization's avatar\r\n * @param _fee the allowance fee for the schemes to spend.\r\n * @param _permissions the schemes permissins.\r\n */\r\n function setSchemes (\r\n Avatar _avatar,\r\n address[] _schemes,\r\n bytes32[] _params,\r\n StandardToken[] _token,\r\n uint[] _fee,\r\n bytes4[] _permissions\r\n )\r\n public\r\n {\r\n // this action can only be executed by the account that holds the lock\r\n // for this controller\r\n require(locks[address(_avatar)] == msg.sender);\r\n\r\n // register initial schemes:\r\n Controller controller = Controller(_avatar.owner());\r\n for ( uint i = 0 ; i < _schemes.length ; i++ ) {\r\n // TODO: the approval here is for paying the fee for that scheme later (with registerOrganization())\r\n // TODO: (continued) why not have that separate? And why not ask the scheme for its fee, then, instead of passing it here?\r\n if (_fee[i] != 0) {\r\n controller.externalTokenIncreaseApproval(_token[i], _schemes[i], _fee[i]);\r\n }\r\n controller.registerScheme(_schemes[i], _params[i], _permissions[i]);\r\n }\r\n\r\n // Unregister self:\r\n controller.unregisterScheme(this);\r\n\r\n // Remove lock:\r\n delete locks[_avatar];\r\n\r\n InitialSchemesSet(address(_avatar));\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\GenesisScheme.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/GenesisScheme.sol", - "exportedSymbols": { - "GenesisScheme": [ - 5437 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 5157, - "name": "PragmaDirective", - "src": "0:24:17" - }, - { - "attributes": { - "SourceUnit": 3073, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Avatar.sol", - "file": "../controller/Avatar.sol", - "scope": 5438, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 5158, - "name": "ImportDirective", - "src": "28:34:17" - }, - { - "attributes": { - "SourceUnit": 4158, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Controller.sol", - "file": "../controller/Controller.sol", - "scope": 5438, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 5159, - "name": "ImportDirective", - "src": "64:38:17" - }, - { - "attributes": { - "SourceUnit": 4193, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/DAOToken.sol", - "file": "../controller/DAOToken.sol", - "scope": 5438, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 5160, - "name": "ImportDirective", - "src": "104:36:17" - }, - { - "attributes": { - "SourceUnit": 4358, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Reputation.sol", - "file": "../controller/Reputation.sol", - "scope": 5438, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 5161, - "name": "ImportDirective", - "src": "142:38:17" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - 3072, - 4157, - 4192, - 4357 - ], - "contractKind": "contract", - "documentation": "@title Genesis Scheme that creates organizations\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5437 - ], - "name": "GenesisScheme", - "scope": 5438 - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "locks", - "scope": 5437, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => address)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => address)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5162, - "name": "ElementaryTypeName", - "src": "291:7:17" - }, - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5163, - "name": "ElementaryTypeName", - "src": "300:7:17" - } - ], - "id": 5164, - "name": "Mapping", - "src": "283:25:17" - } - ], - "id": 5165, - "name": "VariableDeclaration", - "src": "283:31:17" - }, - { - "attributes": { - "anonymous": false, - "name": "NewOrg" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_avatar", - "scope": 5169, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5166, - "name": "ElementaryTypeName", - "src": "337:7:17" - } - ], - "id": 5167, - "name": "VariableDeclaration", - "src": "337:15:17" - } - ], - "id": 5168, - "name": "ParameterList", - "src": "336:17:17" - } - ], - "id": 5169, - "name": "EventDefinition", - "src": "323:31:17" - }, - { - "attributes": { - "anonymous": false, - "name": "InitialSchemesSet" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_avatar", - "scope": 5173, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5170, - "name": "ElementaryTypeName", - "src": "385:7:17" - } - ], - "id": 5171, - "name": "VariableDeclaration", - "src": "385:15:17" - } - ], - "id": 5172, - "name": "ParameterList", - "src": "384:17:17" - } - ], - "id": 5173, - "name": "EventDefinition", - "src": "360:42:17" - }, - { - "attributes": { - "constant": false, - "name": "addressArray", - "scope": 5437, - "stateVariable": true, - "storageLocation": "default", - "type": "address[] storage ref", - "visibility": "public" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "address[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5174, - "name": "ElementaryTypeName", - "src": "410:7:17" - } - ], - "id": 5175, - "name": "ArrayTypeName", - "src": "410:9:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": true, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "address[1] memory" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_GenesisScheme_$5437", - "typeString": "contract GenesisScheme" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 5176, - "name": "ElementaryTypeNameExpression", - "src": "443:7:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9807, - "type": "contract GenesisScheme", - "value": "this" - }, - "id": 5177, - "name": "Identifier", - "src": "451:4:17" - } - ], - "id": 5178, - "name": "FunctionCall", - "src": "443:13:17" - } - ], - "id": 5179, - "name": "TupleExpression", - "src": "442:15:17" - } - ], - "id": 5180, - "name": "VariableDeclaration", - "src": "410:47:17" - }, - { - "attributes": { - "constant": false, - "name": "bytes32Array", - "scope": 5437, - "stateVariable": true, - "storageLocation": "default", - "type": "bytes32[] storage ref", - "visibility": "public" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5181, - "name": "ElementaryTypeName", - "src": "464:7:17" - } - ], - "id": 5182, - "name": "ArrayTypeName", - "src": "464:9:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": true, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "bytes32[1] memory" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 5183, - "name": "ElementaryTypeNameExpression", - "src": "497:7:17" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5184, - "name": "Literal", - "src": "505:1:17" - } - ], - "id": 5185, - "name": "FunctionCall", - "src": "497:10:17" - } - ], - "id": 5186, - "name": "TupleExpression", - "src": "496:12:17" - } - ], - "id": 5187, - "name": "VariableDeclaration", - "src": "464:44:17" - }, - { - "attributes": { - "constant": false, - "name": "bytes4Array", - "scope": 5437, - "stateVariable": true, - "storageLocation": "default", - "type": "bytes4[] storage ref", - "visibility": "public" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes4[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes4", - "type": "bytes4" - }, - "id": 5188, - "name": "ElementaryTypeName", - "src": "539:6:17" - } - ], - "id": 5189, - "name": "ArrayTypeName", - "src": "539:8:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": true, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "bytes4[1] memory" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_15_by_1", - "typeString": "int_const 15" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 5190, - "name": "ElementaryTypeNameExpression", - "src": "572:6:17" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "307846", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 15", - "value": "0xF" - }, - "id": 5191, - "name": "Literal", - "src": "579:3:17" - } - ], - "id": 5192, - "name": "FunctionCall", - "src": "572:11:17" - } - ], - "id": 5193, - "name": "TupleExpression", - "src": "571:13:17" - } - ], - "id": 5194, - "name": "VariableDeclaration", - "src": "539:45:17" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "GenesisScheme", - "payable": false, - "scope": 5437, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 5195, - "name": "ParameterList", - "src": "615:2:17" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 5196, - "name": "ParameterList", - "src": "625:0:17" - }, - { - "attributes": { - "statements": [ - null - ] - }, - "children": [], - "id": 5197, - "name": "Block", - "src": "625:2:17" - } - ], - "id": 5198, - "name": "FunctionDefinition", - "src": "593:34:17" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "forgeOrg", - "payable": false, - "scope": 5437, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_orgName", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5199, - "name": "ElementaryTypeName", - "src": "1326:7:17" - } - ], - "id": 5200, - "name": "VariableDeclaration", - "src": "1326:16:17" - }, - { - "attributes": { - "constant": false, - "name": "_tokenName", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "string memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "string", - "type": "string storage pointer" - }, - "id": 5201, - "name": "ElementaryTypeName", - "src": "1353:6:17" - } - ], - "id": 5202, - "name": "VariableDeclaration", - "src": "1353:17:17" - }, - { - "attributes": { - "constant": false, - "name": "_tokenSymbol", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "string memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "string", - "type": "string storage pointer" - }, - "id": 5203, - "name": "ElementaryTypeName", - "src": "1381:6:17" - } - ], - "id": 5204, - "name": "VariableDeclaration", - "src": "1381:19:17" - }, - { - "attributes": { - "constant": false, - "name": "_founders", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "address[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "address[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5205, - "name": "ElementaryTypeName", - "src": "1411:7:17" - } - ], - "id": 5206, - "name": "ArrayTypeName", - "src": "1411:9:17" - } - ], - "id": 5207, - "name": "VariableDeclaration", - "src": "1411:19:17" - }, - { - "attributes": { - "constant": false, - "name": "_foundersTokenAmount", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "uint256[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5208, - "name": "ElementaryTypeName", - "src": "1441:4:17" - } - ], - "id": 5209, - "name": "ArrayTypeName", - "src": "1441:6:17" - } - ], - "id": 5210, - "name": "VariableDeclaration", - "src": "1441:27:17" - }, - { - "attributes": { - "constant": false, - "name": "_foundersReputationAmount", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "int256[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "int256[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 5211, - "name": "ElementaryTypeName", - "src": "1479:3:17" - } - ], - "id": 5212, - "name": "ArrayTypeName", - "src": "1479:5:17" - } - ], - "id": 5213, - "name": "VariableDeclaration", - "src": "1479:31:17" - } - ], - "id": 5214, - "name": "ParameterList", - "src": "1315:202:17" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5215, - "name": "ElementaryTypeName", - "src": "1533:7:17" - } - ], - "id": 5216, - "name": "VariableDeclaration", - "src": "1533:7:17" - } - ], - "id": 5217, - "name": "ParameterList", - "src": "1532:9:17" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 5219 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "nativeToken", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "contract DAOToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "DAOToken", - "referencedDeclaration": 4192, - "type": "contract DAOToken" - }, - "id": 5218, - "name": "UserDefinedTypeName", - "src": "1607:8:17" - } - ], - "id": 5219, - "name": "VariableDeclaration", - "src": "1607:21:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract DAOToken", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "function (string memory,string memory) returns (contract DAOToken)" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "DAOToken", - "referencedDeclaration": 4192, - "type": "contract DAOToken" - }, - "id": 5220, - "name": "UserDefinedTypeName", - "src": "1635:8:17" - } - ], - "id": 5221, - "name": "NewExpression", - "src": "1631:12:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5202, - "type": "string memory", - "value": "_tokenName" - }, - "id": 5222, - "name": "Identifier", - "src": "1644:10:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5204, - "type": "string memory", - "value": "_tokenSymbol" - }, - "id": 5223, - "name": "Identifier", - "src": "1656:12:17" - } - ], - "id": 5224, - "name": "FunctionCall", - "src": "1631:38:17" - } - ], - "id": 5225, - "name": "VariableDeclarationStatement", - "src": "1607:62:17" - }, - { - "attributes": { - "assignments": [ - 5227 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "nativeReputation", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Reputation", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 5226, - "name": "UserDefinedTypeName", - "src": "1680:10:17" - } - ], - "id": 5227, - "name": "VariableDeclaration", - "src": "1680:28:17" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Reputation", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "function () returns (contract Reputation)" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Reputation", - "referencedDeclaration": 4357, - "type": "contract Reputation" - }, - "id": 5228, - "name": "UserDefinedTypeName", - "src": "1715:10:17" - } - ], - "id": 5229, - "name": "NewExpression", - "src": "1711:14:17" - } - ], - "id": 5230, - "name": "FunctionCall", - "src": "1711:16:17" - } - ], - "id": 5231, - "name": "VariableDeclarationStatement", - "src": "1680:47:17" - }, - { - "attributes": { - "assignments": [ - 5233 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "avatar", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 5232, - "name": "UserDefinedTypeName", - "src": "1738:6:17" - } - ], - "id": 5233, - "name": "VariableDeclaration", - "src": "1738:14:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_DAOToken_$4192", - "typeString": "contract DAOToken" - }, - { - "typeIdentifier": "t_contract$_Reputation_$4357", - "typeString": "contract Reputation" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "function (bytes32,contract DAOToken,contract Reputation) returns (contract Avatar)" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 5234, - "name": "UserDefinedTypeName", - "src": "1759:6:17" - } - ], - "id": 5235, - "name": "NewExpression", - "src": "1755:10:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5200, - "type": "bytes32", - "value": "_orgName" - }, - "id": 5236, - "name": "Identifier", - "src": "1766:8:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5219, - "type": "contract DAOToken", - "value": "nativeToken" - }, - "id": 5237, - "name": "Identifier", - "src": "1776:11:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5227, - "type": "contract Reputation", - "value": "nativeReputation" - }, - "id": 5238, - "name": "Identifier", - "src": "1789:16:17" - } - ], - "id": 5239, - "name": "FunctionCall", - "src": "1755:51:17" - } - ], - "id": 5240, - "name": "VariableDeclarationStatement", - "src": "1738:68:17" - }, - { - "attributes": { - "assignments": [ - 5242 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 5241, - "name": "UserDefinedTypeName", - "src": "1850:10:17" - } - ], - "id": 5242, - "name": "VariableDeclaration", - "src": "1850:21:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_array$_t_address_$dyn_storage", - "typeString": "address[] storage ref" - }, - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", - "typeString": "bytes32[] storage ref" - }, - { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "function (contract Avatar,address[] memory,bytes32[] memory,bytes4[] memory) returns (contract Controller)" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 5243, - "name": "UserDefinedTypeName", - "src": "1878:10:17" - } - ], - "id": 5244, - "name": "NewExpression", - "src": "1874:14:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5233, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 5245, - "name": "Identifier", - "src": "1889:6:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5180, - "type": "address[] storage ref", - "value": "addressArray" - }, - "id": 5246, - "name": "Identifier", - "src": "1896:12:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5187, - "type": "bytes32[] storage ref", - "value": "bytes32Array" - }, - "id": 5247, - "name": "Identifier", - "src": "1910:12:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5194, - "type": "bytes4[] storage ref", - "value": "bytes4Array" - }, - "id": 5248, - "name": "Identifier", - "src": "1924:11:17" - } - ], - "id": 5249, - "name": "FunctionCall", - "src": "1874:62:17" - } - ], - "id": 5250, - "name": "VariableDeclarationStatement", - "src": "1850:86:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Controller_$4157", - "typeString": "contract Controller" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferOwnership", - "referencedDeclaration": 9139, - "type": "function (address) external" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5233, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 5251, - "name": "Identifier", - "src": "1979:6:17" - } - ], - "id": 5253, - "name": "MemberAccess", - "src": "1979:24:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5242, - "type": "contract Controller", - "value": "controller" - }, - "id": 5254, - "name": "Identifier", - "src": "2004:10:17" - } - ], - "id": 5255, - "name": "FunctionCall", - "src": "1979:36:17" - } - ], - "id": 5256, - "name": "ExpressionStatement", - "src": "1979:36:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Controller_$4157", - "typeString": "contract Controller" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferOwnership", - "referencedDeclaration": 9139, - "type": "function (address) external" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5219, - "type": "contract DAOToken", - "value": "nativeToken" - }, - "id": 5257, - "name": "Identifier", - "src": "2026:11:17" - } - ], - "id": 5259, - "name": "MemberAccess", - "src": "2026:29:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5242, - "type": "contract Controller", - "value": "controller" - }, - "id": 5260, - "name": "Identifier", - "src": "2056:10:17" - } - ], - "id": 5261, - "name": "FunctionCall", - "src": "2026:41:17" - } - ], - "id": 5262, - "name": "ExpressionStatement", - "src": "2026:41:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Controller_$4157", - "typeString": "contract Controller" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferOwnership", - "referencedDeclaration": 9139, - "type": "function (address) external" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5227, - "type": "contract Reputation", - "value": "nativeReputation" - }, - "id": 5263, - "name": "Identifier", - "src": "2078:16:17" - } - ], - "id": 5265, - "name": "MemberAccess", - "src": "2078:34:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5242, - "type": "contract Controller", - "value": "controller" - }, - "id": 5266, - "name": "Identifier", - "src": "2113:10:17" - } - ], - "id": 5267, - "name": "FunctionCall", - "src": "2078:46:17" - } - ], - "id": 5268, - "name": "ExpressionStatement", - "src": "2078:46:17" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 5270 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "i", - "scope": 5331, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5269, - "name": "ElementaryTypeName", - "src": "2194:4:17" - } - ], - "id": 5270, - "name": "VariableDeclaration", - "src": "2194:6:17" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5271, - "name": "Literal", - "src": "2203:1:17" - } - ], - "id": 5272, - "name": "VariableDeclarationStatement", - "src": "2194:10:17" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5270, - "type": "uint256", - "value": "i" - }, - "id": 5273, - "name": "Identifier", - "src": "2207:1:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5207, - "type": "address[] memory", - "value": "_founders" - }, - "id": 5274, - "name": "Identifier", - "src": "2211:9:17" - } - ], - "id": 5275, - "name": "MemberAccess", - "src": "2211:16:17" - } - ], - "id": 5276, - "name": "BinaryOperation", - "src": "2207:20:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5270, - "type": "uint256", - "value": "i" - }, - "id": 5277, - "name": "Identifier", - "src": "2230:1:17" - } - ], - "id": 5278, - "name": "UnaryOperation", - "src": "2230:3:17" - } - ], - "id": 5279, - "name": "ExpressionStatement", - "src": "2230:3:17" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mintTokens", - "referencedDeclaration": 3502, - "type": "function (uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5242, - "type": "contract Controller", - "value": "controller" - }, - "id": 5280, - "name": "Identifier", - "src": "2256:10:17" - } - ], - "id": 5281, - "name": "MemberAccess", - "src": "2256:21:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5210, - "type": "uint256[] memory", - "value": "_foundersTokenAmount" - }, - "id": 5282, - "name": "Identifier", - "src": "2278:20:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5270, - "type": "uint256", - "value": "i" - }, - "id": 5283, - "name": "Identifier", - "src": "2299:1:17" - } - ], - "id": 5284, - "name": "IndexAccess", - "src": "2278:23:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5207, - "type": "address[] memory", - "value": "_founders" - }, - "id": 5285, - "name": "Identifier", - "src": "2303:9:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5270, - "type": "uint256", - "value": "i" - }, - "id": 5286, - "name": "Identifier", - "src": "2313:1:17" - } - ], - "id": 5287, - "name": "IndexAccess", - "src": "2303:12:17" - } - ], - "id": 5288, - "name": "FunctionCall", - "src": "2256:60:17" - } - ], - "id": 5289, - "name": "UnaryOperation", - "src": "2255:61:17" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 5290, - "name": "Identifier", - "src": "2337:6:17" - } - ], - "id": 5291, - "name": "FunctionCall", - "src": "2337:8:17" - } - ], - "id": 5292, - "name": "ExpressionStatement", - "src": "2337:8:17" - } - ], - "id": 5293, - "name": "Block", - "src": "2318:43:17" - } - ], - "id": 5294, - "name": "IfStatement", - "src": "2251:110:17" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mintReputation", - "referencedDeclaration": 3474, - "type": "function (int256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5242, - "type": "contract Controller", - "value": "controller" - }, - "id": 5295, - "name": "Identifier", - "src": "2380:10:17" - } - ], - "id": 5296, - "name": "MemberAccess", - "src": "2380:25:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "int256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5213, - "type": "int256[] memory", - "value": "_foundersReputationAmount" - }, - "id": 5297, - "name": "Identifier", - "src": "2406:25:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5270, - "type": "uint256", - "value": "i" - }, - "id": 5298, - "name": "Identifier", - "src": "2432:1:17" - } - ], - "id": 5299, - "name": "IndexAccess", - "src": "2406:28:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5207, - "type": "address[] memory", - "value": "_founders" - }, - "id": 5300, - "name": "Identifier", - "src": "2436:9:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5270, - "type": "uint256", - "value": "i" - }, - "id": 5301, - "name": "Identifier", - "src": "2446:1:17" - } - ], - "id": 5302, - "name": "IndexAccess", - "src": "2436:12:17" - } - ], - "id": 5303, - "name": "FunctionCall", - "src": "2380:69:17" - } - ], - "id": 5304, - "name": "UnaryOperation", - "src": "2379:70:17" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 5305, - "name": "Identifier", - "src": "2470:6:17" - } - ], - "id": 5306, - "name": "FunctionCall", - "src": "2470:8:17" - } - ], - "id": 5307, - "name": "ExpressionStatement", - "src": "2470:8:17" - } - ], - "id": 5308, - "name": "Block", - "src": "2451:43:17" - } - ], - "id": 5309, - "name": "IfStatement", - "src": "2375:119:17" - } - ], - "id": 5310, - "name": "Block", - "src": "2236:269:17" - } - ], - "id": 5311, - "name": "ForStatement", - "src": "2189:316:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5165, - "type": "mapping(address => address)", - "value": "locks" - }, - "id": 5312, - "name": "Identifier", - "src": "2517:5:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5233, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 5313, - "name": "Identifier", - "src": "2523:6:17" - } - ], - "id": 5314, - "name": "IndexAccess", - "src": "2517:13:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 5315, - "name": "Identifier", - "src": "2533:3:17" - } - ], - "id": 5316, - "name": "MemberAccess", - "src": "2533:10:17" - } - ], - "id": 5317, - "name": "Assignment", - "src": "2517:26:17" - } - ], - "id": 5318, - "name": "ExpressionStatement", - "src": "2517:26:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5169, - "type": "function (address)", - "value": "NewOrg" - }, - "id": 5319, - "name": "Identifier", - "src": "2556:6:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 5320, - "name": "ElementaryTypeNameExpression", - "src": "2564:7:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5233, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 5321, - "name": "Identifier", - "src": "2572:6:17" - } - ], - "id": 5322, - "name": "FunctionCall", - "src": "2564:15:17" - } - ], - "id": 5323, - "name": "FunctionCall", - "src": "2556:24:17" - } - ], - "id": 5324, - "name": "ExpressionStatement", - "src": "2556:24:17" - }, - { - "attributes": { - "functionReturnParameters": 5217 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 5325, - "name": "ElementaryTypeNameExpression", - "src": "2599:7:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5233, - "type": "contract Avatar", - "value": "avatar" - }, - "id": 5326, - "name": "Identifier", - "src": "2607:6:17" - } - ], - "id": 5327, - "name": "FunctionCall", - "src": "2599:15:17" - } - ], - "id": 5328, - "name": "TupleExpression", - "src": "2598:17:17" - } - ], - "id": 5329, - "name": "Return", - "src": "2591:24:17" - } - ], - "id": 5330, - "name": "Block", - "src": "1547:1076:17" - } - ], - "id": 5331, - "name": "FunctionDefinition", - "src": "1297:1326:17" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setSchemes", - "payable": false, - "scope": 5437, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 5436, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 5332, - "name": "UserDefinedTypeName", - "src": "3182:6:17" - } - ], - "id": 5333, - "name": "VariableDeclaration", - "src": "3182:14:17" - }, - { - "attributes": { - "constant": false, - "name": "_schemes", - "scope": 5436, - "stateVariable": false, - "storageLocation": "default", - "type": "address[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "address[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5334, - "name": "ElementaryTypeName", - "src": "3207:7:17" - } - ], - "id": 5335, - "name": "ArrayTypeName", - "src": "3207:9:17" - } - ], - "id": 5336, - "name": "VariableDeclaration", - "src": "3207:18:17" - }, - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 5436, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5337, - "name": "ElementaryTypeName", - "src": "3236:7:17" - } - ], - "id": 5338, - "name": "ArrayTypeName", - "src": "3236:9:17" - } - ], - "id": 5339, - "name": "VariableDeclaration", - "src": "3236:17:17" - }, - { - "attributes": { - "constant": false, - "name": "_token", - "scope": 5436, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "contract StandardToken[] storage pointer" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 5340, - "name": "UserDefinedTypeName", - "src": "3264:13:17" - } - ], - "id": 5341, - "name": "ArrayTypeName", - "src": "3264:15:17" - } - ], - "id": 5342, - "name": "VariableDeclaration", - "src": "3264:22:17" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 5436, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "uint256[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5343, - "name": "ElementaryTypeName", - "src": "3297:4:17" - } - ], - "id": 5344, - "name": "ArrayTypeName", - "src": "3297:6:17" - } - ], - "id": 5345, - "name": "VariableDeclaration", - "src": "3297:11:17" - }, - { - "attributes": { - "constant": false, - "name": "_permissions", - "scope": 5436, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes4[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes4[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes4", - "type": "bytes4" - }, - "id": 5346, - "name": "ElementaryTypeName", - "src": "3319:6:17" - } - ], - "id": 5347, - "name": "ArrayTypeName", - "src": "3319:8:17" - } - ], - "id": 5348, - "name": "VariableDeclaration", - "src": "3319:21:17" - } - ], - "id": 5349, - "name": "ParameterList", - "src": "3171:176:17" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 5350, - "name": "ParameterList", - "src": "3369:0:17" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 5351, - "name": "Identifier", - "src": "3492:7:17" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5165, - "type": "mapping(address => address)", - "value": "locks" - }, - "id": 5352, - "name": "Identifier", - "src": "3500:5:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 5353, - "name": "ElementaryTypeNameExpression", - "src": "3506:7:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5333, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5354, - "name": "Identifier", - "src": "3514:7:17" - } - ], - "id": 5355, - "name": "FunctionCall", - "src": "3506:16:17" - } - ], - "id": 5356, - "name": "IndexAccess", - "src": "3500:23:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 5357, - "name": "Identifier", - "src": "3527:3:17" - } - ], - "id": 5358, - "name": "MemberAccess", - "src": "3527:10:17" - } - ], - "id": 5359, - "name": "BinaryOperation", - "src": "3500:37:17" - } - ], - "id": 5360, - "name": "FunctionCall", - "src": "3492:46:17" - } - ], - "id": 5361, - "name": "ExpressionStatement", - "src": "3492:46:17" - }, - { - "attributes": { - "assignments": [ - 5363 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 5436, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 5362, - "name": "UserDefinedTypeName", - "src": "3589:10:17" - } - ], - "id": 5363, - "name": "VariableDeclaration", - "src": "3589:21:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 5364, - "name": "Identifier", - "src": "3613:10:17" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5333, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5365, - "name": "Identifier", - "src": "3624:7:17" - } - ], - "id": 5366, - "name": "MemberAccess", - "src": "3624:13:17" - } - ], - "id": 5367, - "name": "FunctionCall", - "src": "3624:15:17" - } - ], - "id": 5368, - "name": "FunctionCall", - "src": "3613:27:17" - } - ], - "id": 5369, - "name": "VariableDeclarationStatement", - "src": "3589:51:17" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 5371 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "i", - "scope": 5436, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5370, - "name": "ElementaryTypeName", - "src": "3657:4:17" - } - ], - "id": 5371, - "name": "VariableDeclaration", - "src": "3657:6:17" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5372, - "name": "Literal", - "src": "3666:1:17" - } - ], - "id": 5373, - "name": "VariableDeclarationStatement", - "src": "3657:10:17" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5371, - "type": "uint256", - "value": "i" - }, - "id": 5374, - "name": "Identifier", - "src": "3670:1:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5336, - "type": "address[] memory", - "value": "_schemes" - }, - "id": 5375, - "name": "Identifier", - "src": "3674:8:17" - } - ], - "id": 5376, - "name": "MemberAccess", - "src": "3674:15:17" - } - ], - "id": 5377, - "name": "BinaryOperation", - "src": "3670:19:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5371, - "type": "uint256", - "value": "i" - }, - "id": 5378, - "name": "Identifier", - "src": "3692:1:17" - } - ], - "id": 5379, - "name": "UnaryOperation", - "src": "3692:3:17" - } - ], - "id": 5380, - "name": "ExpressionStatement", - "src": "3692:3:17" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5345, - "type": "uint256[] memory", - "value": "_fee" - }, - "id": 5381, - "name": "Identifier", - "src": "3968:4:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5371, - "type": "uint256", - "value": "i" - }, - "id": 5382, - "name": "Identifier", - "src": "3973:1:17" - } - ], - "id": 5383, - "name": "IndexAccess", - "src": "3968:7:17" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5384, - "name": "Literal", - "src": "3979:1:17" - } - ], - "id": 5385, - "name": "BinaryOperation", - "src": "3968:12:17" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "externalTokenIncreaseApproval", - "referencedDeclaration": 4124, - "type": "function (contract StandardToken,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5363, - "type": "contract Controller", - "value": "controller" - }, - "id": 5386, - "name": "Identifier", - "src": "4001:10:17" - } - ], - "id": 5388, - "name": "MemberAccess", - "src": "4001:40:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5342, - "type": "contract StandardToken[] memory", - "value": "_token" - }, - "id": 5389, - "name": "Identifier", - "src": "4042:6:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5371, - "type": "uint256", - "value": "i" - }, - "id": 5390, - "name": "Identifier", - "src": "4049:1:17" - } - ], - "id": 5391, - "name": "IndexAccess", - "src": "4042:9:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5336, - "type": "address[] memory", - "value": "_schemes" - }, - "id": 5392, - "name": "Identifier", - "src": "4053:8:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5371, - "type": "uint256", - "value": "i" - }, - "id": 5393, - "name": "Identifier", - "src": "4062:1:17" - } - ], - "id": 5394, - "name": "IndexAccess", - "src": "4053:11:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5345, - "type": "uint256[] memory", - "value": "_fee" - }, - "id": 5395, - "name": "Identifier", - "src": "4066:4:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5371, - "type": "uint256", - "value": "i" - }, - "id": 5396, - "name": "Identifier", - "src": "4071:1:17" - } - ], - "id": 5397, - "name": "IndexAccess", - "src": "4066:7:17" - } - ], - "id": 5398, - "name": "FunctionCall", - "src": "4001:73:17" - } - ], - "id": 5399, - "name": "ExpressionStatement", - "src": "4001:73:17" - } - ], - "id": 5400, - "name": "Block", - "src": "3982:108:17" - } - ], - "id": 5401, - "name": "IfStatement", - "src": "3964:126:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "registerScheme", - "referencedDeclaration": 3597, - "type": "function (address,bytes32,bytes4) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5363, - "type": "contract Controller", - "value": "controller" - }, - "id": 5402, - "name": "Identifier", - "src": "4104:10:17" - } - ], - "id": 5404, - "name": "MemberAccess", - "src": "4104:25:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5336, - "type": "address[] memory", - "value": "_schemes" - }, - "id": 5405, - "name": "Identifier", - "src": "4130:8:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5371, - "type": "uint256", - "value": "i" - }, - "id": 5406, - "name": "Identifier", - "src": "4139:1:17" - } - ], - "id": 5407, - "name": "IndexAccess", - "src": "4130:11:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5339, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 5408, - "name": "Identifier", - "src": "4143:7:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5371, - "type": "uint256", - "value": "i" - }, - "id": 5409, - "name": "Identifier", - "src": "4151:1:17" - } - ], - "id": 5410, - "name": "IndexAccess", - "src": "4143:10:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes4" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5348, - "type": "bytes4[] memory", - "value": "_permissions" - }, - "id": 5411, - "name": "Identifier", - "src": "4155:12:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5371, - "type": "uint256", - "value": "i" - }, - "id": 5412, - "name": "Identifier", - "src": "4168:1:17" - } - ], - "id": 5413, - "name": "IndexAccess", - "src": "4155:15:17" - } - ], - "id": 5414, - "name": "FunctionCall", - "src": "4104:67:17" - } - ], - "id": 5415, - "name": "ExpressionStatement", - "src": "4104:67:17" - } - ], - "id": 5416, - "name": "Block", - "src": "3698:485:17" - } - ], - "id": 5417, - "name": "ForStatement", - "src": "3651:532:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_GenesisScheme_$5437", - "typeString": "contract GenesisScheme" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "unregisterScheme", - "referencedDeclaration": 3663, - "type": "function (address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5363, - "type": "contract Controller", - "value": "controller" - }, - "id": 5418, - "name": "Identifier", - "src": "4224:10:17" - } - ], - "id": 5420, - "name": "MemberAccess", - "src": "4224:27:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9807, - "type": "contract GenesisScheme", - "value": "this" - }, - "id": 5421, - "name": "Identifier", - "src": "4252:4:17" - } - ], - "id": 5422, - "name": "FunctionCall", - "src": "4224:33:17" - } - ], - "id": 5423, - "name": "ExpressionStatement", - "src": "4224:33:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5165, - "type": "mapping(address => address)", - "value": "locks" - }, - "id": 5424, - "name": "Identifier", - "src": "4302:5:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5333, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5425, - "name": "Identifier", - "src": "4308:7:17" - } - ], - "id": 5426, - "name": "IndexAccess", - "src": "4302:14:17" - } - ], - "id": 5427, - "name": "UnaryOperation", - "src": "4295:21:17" - } - ], - "id": 5428, - "name": "ExpressionStatement", - "src": "4295:21:17" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5173, - "type": "function (address)", - "value": "InitialSchemesSet" - }, - "id": 5429, - "name": "Identifier", - "src": "4329:17:17" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 5430, - "name": "ElementaryTypeNameExpression", - "src": "4347:7:17" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5333, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5431, - "name": "Identifier", - "src": "4355:7:17" - } - ], - "id": 5432, - "name": "FunctionCall", - "src": "4347:16:17" - } - ], - "id": 5433, - "name": "FunctionCall", - "src": "4329:35:17" - } - ], - "id": 5434, - "name": "ExpressionStatement", - "src": "4329:35:17" - } - ], - "id": 5435, - "name": "Block", - "src": "3369:1003:17" - } - ], - "id": 5436, - "name": "FunctionDefinition", - "src": "3151:1221:17" - } - ], - "id": 5437, - "name": "ContractDefinition", - "src": "251:4124:17" - } - ], - "id": 5438, - "name": "SourceUnit", - "src": "0:4377:17" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": { - "42": { - "events": { - "0x244496352f5e67e59ce96b4a53ef9ea7cb88b7db33eb13dc5e771bd04385a60e": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "NewOrg", - "type": "event" - }, - "0x9007c9042f12be953f7dbe3909f56c3f088e9fe294dbebbef4a67afa63462b6a": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "InitialSchemesSet", - "type": "event" - } - }, - "links": {}, - "address": "0xacc896e001b51158fb99c0245994a5c109c3355d" - }, - "1512051714758": { - "events": { - "0x244496352f5e67e59ce96b4a53ef9ea7cb88b7db33eb13dc5e771bd04385a60e": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "NewOrg", - "type": "event" - }, - "0x9007c9042f12be953f7dbe3909f56c3f088e9fe294dbebbef4a67afa63462b6a": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "InitialSchemesSet", - "type": "event" - } - }, - "links": {}, - "address": "0xee7e8095b255a94af5566d19af08265d12705285" - } - }, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.922Z" -} \ No newline at end of file diff --git a/contracts/GlobalConstraintInterface.json b/contracts/GlobalConstraintInterface.json deleted file mode 100644 index beab26535..000000000 --- a/contracts/GlobalConstraintInterface.json +++ /dev/null @@ -1,403 +0,0 @@ -{ - "contractName": "GlobalConstraintInterface", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_scheme", - "type": "address" - }, - { - "name": "_params", - "type": "bytes32" - }, - { - "name": "_method", - "type": "bytes32" - } - ], - "name": "post", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_scheme", - "type": "address" - }, - { - "name": "_params", - "type": "bytes32" - }, - { - "name": "_method", - "type": "bytes32" - } - ], - "name": "pre", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\r\n\r\n\r\ncontract GlobalConstraintInterface {\r\n function pre( address _scheme, bytes32 _params, bytes32 _method ) public returns(bool);\r\n function post( address _scheme, bytes32 _params, bytes32 _method ) public returns(bool);\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\globalConstraints\\GlobalConstraintInterface.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/globalConstraints/GlobalConstraintInterface.sol", - "exportedSymbols": { - "GlobalConstraintInterface": [ - 4382 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 4359, - "name": "PragmaDirective", - "src": "0:24:9" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 4382 - ], - "name": "GlobalConstraintInterface", - "scope": 4383 - }, - "children": [ - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "pre", - "payable": false, - "scope": 4382, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_scheme", - "scope": 4370, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4360, - "name": "ElementaryTypeName", - "src": "86:7:9" - } - ], - "id": 4361, - "name": "VariableDeclaration", - "src": "86:15:9" - }, - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 4370, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4362, - "name": "ElementaryTypeName", - "src": "103:7:9" - } - ], - "id": 4363, - "name": "VariableDeclaration", - "src": "103:15:9" - }, - { - "attributes": { - "constant": false, - "name": "_method", - "scope": 4370, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4364, - "name": "ElementaryTypeName", - "src": "120:7:9" - } - ], - "id": 4365, - "name": "VariableDeclaration", - "src": "120:15:9" - } - ], - "id": 4366, - "name": "ParameterList", - "src": "84:53:9" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4370, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4367, - "name": "ElementaryTypeName", - "src": "153:4:9" - } - ], - "id": 4368, - "name": "VariableDeclaration", - "src": "153:4:9" - } - ], - "id": 4369, - "name": "ParameterList", - "src": "152:6:9" - } - ], - "id": 4370, - "name": "FunctionDefinition", - "src": "72:87:9" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "post", - "payable": false, - "scope": 4382, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_scheme", - "scope": 4381, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4371, - "name": "ElementaryTypeName", - "src": "180:7:9" - } - ], - "id": 4372, - "name": "VariableDeclaration", - "src": "180:15:9" - }, - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 4381, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4373, - "name": "ElementaryTypeName", - "src": "197:7:9" - } - ], - "id": 4374, - "name": "VariableDeclaration", - "src": "197:15:9" - }, - { - "attributes": { - "constant": false, - "name": "_method", - "scope": 4381, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4375, - "name": "ElementaryTypeName", - "src": "214:7:9" - } - ], - "id": 4376, - "name": "VariableDeclaration", - "src": "214:15:9" - } - ], - "id": 4377, - "name": "ParameterList", - "src": "178:53:9" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4381, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4378, - "name": "ElementaryTypeName", - "src": "247:4:9" - } - ], - "id": 4379, - "name": "VariableDeclaration", - "src": "247:4:9" - } - ], - "id": 4380, - "name": "ParameterList", - "src": "246:6:9" - } - ], - "id": 4381, - "name": "FunctionDefinition", - "src": "165:88:9" - } - ], - "id": 4382, - "name": "ContractDefinition", - "src": "30:226:9" - } - ], - "id": 4383, - "name": "SourceUnit", - "src": "0:258:9" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.848Z" -} \ No newline at end of file diff --git a/contracts/GlobalConstraintMock.json b/contracts/GlobalConstraintMock.json deleted file mode 100644 index f28bcfea0..000000000 --- a/contracts/GlobalConstraintMock.json +++ /dev/null @@ -1,1034 +0,0 @@ -{ - "contractName": "GlobalConstraintMock", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "bytes32" - }, - { - "name": "method", - "type": "bytes" - } - ], - "name": "post", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "bytes32" - }, - { - "name": "method", - "type": "bytes" - } - ], - "name": "pre", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "method", - "type": "bytes" - }, - { - "name": "pre", - "type": "bool" - }, - { - "name": "post", - "type": "bool" - } - ], - "name": "setConstraint", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6103c28061001e6000396000f3006060604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab9b33a811461005b57806389eaee6a146100e1578063bcbbdf9814610153575b600080fd5b341561006657600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101af95505050505050565b604051901515815260200160405180910390f35b34156100ec57600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061022795505050505050565b341561015e57600080fd5b6100cd60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050508235151592602001351515915061029a9050565b600080826040518082805190602001908083835b602083106101e25780518252601f1990920191602091820191016101c3565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902054610100900460ff16949350505050565b600080826040518082805190602001908083835b6020831061025a5780518252601f19909201916020918201910161023b565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040519081900390205460ff16949350505050565b6000826000856040518082805190602001908083835b602083106102cf5780518252601f1990920191602091820191016102b0565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051908190039020805460ff1916911515919091179055816000856040518082805190602001908083835b602083106103455780518252601f199092019160209182019101610326565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902080549115156101000261ff001990921691909117905593925050505600a165627a7a72305820aa731f264387caff4cb136ef62b4598a3520321810f24c0a287c845b407643ba0029", - "deployedBytecode": "0x6060604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab9b33a811461005b57806389eaee6a146100e1578063bcbbdf9814610153575b600080fd5b341561006657600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101af95505050505050565b604051901515815260200160405180910390f35b34156100ec57600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061022795505050505050565b341561015e57600080fd5b6100cd60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050508235151592602001351515915061029a9050565b600080826040518082805190602001908083835b602083106101e25780518252601f1990920191602091820191016101c3565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902054610100900460ff16949350505050565b600080826040518082805190602001908083835b6020831061025a5780518252601f19909201916020918201910161023b565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040519081900390205460ff16949350505050565b6000826000856040518082805190602001908083835b602083106102cf5780518252601f1990920191602091820191016102b0565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051908190039020805460ff1916911515919091179055816000856040518082805190602001908083835b602083106103455780518252601f199092019160209182019101610326565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902080549115156101000261ff001990921691909117905593925050505600a165627a7a72305820aa731f264387caff4cb136ef62b4598a3520321810f24c0a287c845b407643ba0029", - "sourceMap": "32:580:14:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "32:580:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;487:122;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;487:122:14;;-1:-1:-1;487:122:14;;-1:-1:-1;;;;;;487:122:14;;;;;;;;;;;;;;;;;;360:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;360:119:14;;-1:-1:-1;360:119:14;;-1:-1:-1;;;;;;360:119:14;187:165;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;187:165:14;;-1:-1:-1;;;;187:165:14;;;;;;;;;;;-1:-1:-1;187:165:14;;-1:-1:-1;187:165:14;487:122;554:4;578:10;589:6;578:18;;;;;;;;;;;;;36:153:-1;66:2;58;;36:153;;182:3;176:5;164:6;;-1:-1;;139:3;;;;98:2;89:3;;;;114;36:153;;;274:1;267:3;263:2;259:3;254;250;246;315:4;311:3;305;299:5;295:3;356:4;350:3;344:5;340:3;389:7;380;377:2;372:3;365:6;3:399;;;;;;;;;;;;;;;;;;;;;;;;;578:23:14;;;;;;;487:122;-1:-1:-1;;;;487:122:14:o;360:119::-;425:4;449:10;460:6;449:18;;;;;;;;;;;;;36:153:-1;66:2;58;;36:153;;182:3;176:5;164:6;;-1:-1;;139:3;;;;98:2;89:3;;;;114;36:153;;;274:1;267:3;263:2;259:3;254;250;246;315:4;311:3;305;299:5;295:3;356:4;350:3;344:5;340:3;389:7;380;377:2;372:3;365:6;3:399;;;;;;;;;;;;;;;;;;;;;;;;;449:22:14;;;;360:119;-1:-1:-1;;;;360:119:14:o;187:165::-;258:4;300:3;275:10;286:6;275:18;;;;;;;;;;;;;36:153:-1;66:2;58;;36:153;;182:3;176:5;164:6;;-1:-1;;139:3;;;;98:2;89:3;;;;114;36:153;;;274:1;267:3;263:2;259:3;254;250;246;315:4;311:3;305;299:5;295:3;356:4;350:3;344:5;340:3;389:7;380;377:2;372:3;365:6;3:399;;;;;;;;;;;;;;;;;;;;;;;;;275:28:14;;-1:-1:-1;;275:28:14;;;;;;;;;;340:4;-1:-1:-1;325:6:14;314:18;;;;;;;;;;;;;36:153:-1;66:2;58;;36:153;;182:3;176:5;164:6;;-1:-1;;139:3;;;;98:2;89:3;;;;114;36:153;;;274:1;267:3;263:2;259:3;254;250;246;315:4;311:3;305;299:5;295:3;356:4;350:3;344:5;340:3;389:7;380;377:2;372:3;365:6;3:399;;;;;;;;;;;;;;;;;;;;;;;;;314:30:14;;;;;;;-1:-1:-1;;314:30:14;;;;;;;;;187:165;;-1:-1:-1;;;187:165:14:o", - "source": "pragma solidity ^0.4.18;\r\n\r\n\r\n\r\ncontract GlobalConstraintMock {\r\n\r\n struct TestParam {\r\n bool pre;\r\n bool post;\r\n }\r\n mapping (bytes=>TestParam) testParams;\r\n\r\n function setConstraint(bytes method,bool pre,bool post) public returns(bool) {\r\n testParams[method].pre = pre;\r\n testParams[method].post = post;\r\n }\r\n\r\n function pre(address, bytes32, bytes method) public view returns(bool) {\r\n return testParams[method].pre;\r\n }\r\n\r\n function post(address, bytes32 , bytes method) public view returns(bool) {\r\n return testParams[method].post;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\test\\GlobalConstraintMock.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/test/GlobalConstraintMock.sol", - "exportedSymbols": { - "GlobalConstraintMock": [ - 4687 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 4617, - "name": "PragmaDirective", - "src": "0:24:14" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 4687 - ], - "name": "GlobalConstraintMock", - "scope": 4688 - }, - "children": [ - { - "attributes": { - "canonicalName": "GlobalConstraintMock.TestParam", - "name": "TestParam", - "scope": 4687, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "pre", - "scope": 4622, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4618, - "name": "ElementaryTypeName", - "src": "99:4:14" - } - ], - "id": 4619, - "name": "VariableDeclaration", - "src": "99:8:14" - }, - { - "attributes": { - "constant": false, - "name": "post", - "scope": 4622, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4620, - "name": "ElementaryTypeName", - "src": "118:4:14" - } - ], - "id": 4621, - "name": "VariableDeclaration", - "src": "118:9:14" - } - ], - "id": 4622, - "name": "StructDefinition", - "src": "71:64:14" - }, - { - "attributes": { - "constant": false, - "name": "testParams", - "scope": 4687, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes", - "type": "bytes storage pointer" - }, - "id": 4623, - "name": "ElementaryTypeName", - "src": "150:5:14" - }, - { - "attributes": { - "contractScope": null, - "name": "TestParam", - "referencedDeclaration": 4622, - "type": "struct GlobalConstraintMock.TestParam storage pointer" - }, - "id": 4624, - "name": "UserDefinedTypeName", - "src": "157:9:14" - } - ], - "id": 4625, - "name": "Mapping", - "src": "141:26:14" - } - ], - "id": 4626, - "name": "VariableDeclaration", - "src": "141:37:14" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setConstraint", - "payable": false, - "scope": 4687, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "method", - "scope": 4652, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes", - "type": "bytes storage pointer" - }, - "id": 4627, - "name": "ElementaryTypeName", - "src": "210:5:14" - } - ], - "id": 4628, - "name": "VariableDeclaration", - "src": "210:12:14" - }, - { - "attributes": { - "constant": false, - "name": "pre", - "scope": 4652, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4629, - "name": "ElementaryTypeName", - "src": "223:4:14" - } - ], - "id": 4630, - "name": "VariableDeclaration", - "src": "223:8:14" - }, - { - "attributes": { - "constant": false, - "name": "post", - "scope": 4652, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4631, - "name": "ElementaryTypeName", - "src": "232:4:14" - } - ], - "id": 4632, - "name": "VariableDeclaration", - "src": "232:9:14" - } - ], - "id": 4633, - "name": "ParameterList", - "src": "209:33:14" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4652, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4634, - "name": "ElementaryTypeName", - "src": "258:4:14" - } - ], - "id": 4635, - "name": "VariableDeclaration", - "src": "258:4:14" - } - ], - "id": 4636, - "name": "ParameterList", - "src": "257:6:14" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "pre", - "referencedDeclaration": 4619, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintMock.TestParam storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4626, - "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)", - "value": "testParams" - }, - "id": 4637, - "name": "Identifier", - "src": "275:10:14" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4628, - "type": "bytes memory", - "value": "method" - }, - "id": 4638, - "name": "Identifier", - "src": "286:6:14" - } - ], - "id": 4639, - "name": "IndexAccess", - "src": "275:18:14" - } - ], - "id": 4640, - "name": "MemberAccess", - "src": "275:22:14" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4630, - "type": "bool", - "value": "pre" - }, - "id": 4641, - "name": "Identifier", - "src": "300:3:14" - } - ], - "id": 4642, - "name": "Assignment", - "src": "275:28:14" - } - ], - "id": 4643, - "name": "ExpressionStatement", - "src": "275:28:14" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "post", - "referencedDeclaration": 4621, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintMock.TestParam storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4626, - "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)", - "value": "testParams" - }, - "id": 4644, - "name": "Identifier", - "src": "314:10:14" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4628, - "type": "bytes memory", - "value": "method" - }, - "id": 4645, - "name": "Identifier", - "src": "325:6:14" - } - ], - "id": 4646, - "name": "IndexAccess", - "src": "314:18:14" - } - ], - "id": 4647, - "name": "MemberAccess", - "src": "314:23:14" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4632, - "type": "bool", - "value": "post" - }, - "id": 4648, - "name": "Identifier", - "src": "340:4:14" - } - ], - "id": 4649, - "name": "Assignment", - "src": "314:30:14" - } - ], - "id": 4650, - "name": "ExpressionStatement", - "src": "314:30:14" - } - ], - "id": 4651, - "name": "Block", - "src": "264:88:14" - } - ], - "id": 4652, - "name": "FunctionDefinition", - "src": "187:165:14" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "pre", - "payable": false, - "scope": 4687, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4669, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4653, - "name": "ElementaryTypeName", - "src": "373:7:14" - } - ], - "id": 4654, - "name": "VariableDeclaration", - "src": "373:7:14" - }, - { - "attributes": { - "constant": false, - "name": "", - "scope": 4669, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4655, - "name": "ElementaryTypeName", - "src": "382:7:14" - } - ], - "id": 4656, - "name": "VariableDeclaration", - "src": "382:7:14" - }, - { - "attributes": { - "constant": false, - "name": "method", - "scope": 4669, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes", - "type": "bytes storage pointer" - }, - "id": 4657, - "name": "ElementaryTypeName", - "src": "391:5:14" - } - ], - "id": 4658, - "name": "VariableDeclaration", - "src": "391:12:14" - } - ], - "id": 4659, - "name": "ParameterList", - "src": "372:32:14" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4669, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4660, - "name": "ElementaryTypeName", - "src": "425:4:14" - } - ], - "id": 4661, - "name": "VariableDeclaration", - "src": "425:4:14" - } - ], - "id": 4662, - "name": "ParameterList", - "src": "424:6:14" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 4662 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "pre", - "referencedDeclaration": 4619, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintMock.TestParam storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4626, - "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)", - "value": "testParams" - }, - "id": 4663, - "name": "Identifier", - "src": "449:10:14" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4658, - "type": "bytes memory", - "value": "method" - }, - "id": 4664, - "name": "Identifier", - "src": "460:6:14" - } - ], - "id": 4665, - "name": "IndexAccess", - "src": "449:18:14" - } - ], - "id": 4666, - "name": "MemberAccess", - "src": "449:22:14" - } - ], - "id": 4667, - "name": "Return", - "src": "442:29:14" - } - ], - "id": 4668, - "name": "Block", - "src": "431:48:14" - } - ], - "id": 4669, - "name": "FunctionDefinition", - "src": "360:119:14" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "post", - "payable": false, - "scope": 4687, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4686, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4670, - "name": "ElementaryTypeName", - "src": "501:7:14" - } - ], - "id": 4671, - "name": "VariableDeclaration", - "src": "501:7:14" - }, - { - "attributes": { - "constant": false, - "name": "", - "scope": 4686, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4672, - "name": "ElementaryTypeName", - "src": "510:7:14" - } - ], - "id": 4673, - "name": "VariableDeclaration", - "src": "510:7:14" - }, - { - "attributes": { - "constant": false, - "name": "method", - "scope": 4686, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes", - "type": "bytes storage pointer" - }, - "id": 4674, - "name": "ElementaryTypeName", - "src": "520:5:14" - } - ], - "id": 4675, - "name": "VariableDeclaration", - "src": "520:12:14" - } - ], - "id": 4676, - "name": "ParameterList", - "src": "500:33:14" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4686, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4677, - "name": "ElementaryTypeName", - "src": "554:4:14" - } - ], - "id": 4678, - "name": "VariableDeclaration", - "src": "554:4:14" - } - ], - "id": 4679, - "name": "ParameterList", - "src": "553:6:14" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 4679 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "post", - "referencedDeclaration": 4621, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintMock.TestParam storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4626, - "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)", - "value": "testParams" - }, - "id": 4680, - "name": "Identifier", - "src": "578:10:14" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4675, - "type": "bytes memory", - "value": "method" - }, - "id": 4681, - "name": "Identifier", - "src": "589:6:14" - } - ], - "id": 4682, - "name": "IndexAccess", - "src": "578:18:14" - } - ], - "id": 4683, - "name": "MemberAccess", - "src": "578:23:14" - } - ], - "id": 4684, - "name": "Return", - "src": "571:30:14" - } - ], - "id": 4685, - "name": "Block", - "src": "560:49:14" - } - ], - "id": 4686, - "name": "FunctionDefinition", - "src": "487:122:14" - } - ], - "id": 4687, - "name": "ContractDefinition", - "src": "32:580:14" - } - ], - "id": 4688, - "name": "SourceUnit", - "src": "0:614:14" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.858Z" -} \ No newline at end of file diff --git a/contracts/GlobalConstraintRegistrar.json b/contracts/GlobalConstraintRegistrar.json deleted file mode 100644 index 1f3a3f4d9..000000000 --- a/contracts/GlobalConstraintRegistrar.json +++ /dev/null @@ -1,7078 +0,0 @@ -{ - "contractName": "GlobalConstraintRegistrar", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "parameters", - "outputs": [ - { - "name": "voteRegisterParams", - "type": "bytes32" - }, - { - "name": "intVote", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_gc", - "type": "address" - }, - { - "name": "_params", - "type": "bytes32" - }, - { - "name": "_voteToRemoveParams", - "type": "bytes32" - } - ], - "name": "proposeGlobalConstraint", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizationsData", - "outputs": [ - { - "name": "voteRegisterParams", - "type": "bytes32" - }, - { - "name": "intVote", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_voteRegisterParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_param", - "type": "int256" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "beneficiary", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_voteRegisterParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "fee", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_gc", - "type": "address" - } - ], - "name": "proposeToRemoveGC", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hashedParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_gc", - "type": "address" - }, - { - "indexed": false, - "name": "_params", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_voteToRemoveParams", - "type": "bytes32" - } - ], - "name": "NewGlobalConstraintsProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_gc", - "type": "address" - } - ], - "name": "RemoveGlobalConstraintsProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "ProposalExecuted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalDeleted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b60405160608061117883398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a031617815590925061006b915084908490849064010000000061007381026109411704565b5050506100c6565b60005433600160a060020a0390811691161461008e57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b6110a3806100d56000396000f3006060604052600436106100d75763ffffffff60e060020a6000350416630250680481146100dc5780630fd6e498146101135780631db77c38146101505780632453732a1461016f578063310ce4e21461019157806338af3eed146101ca5780634345a610146101f95780635a1f74061461022757806368e14dac146102465780638da5cb5b1461026857806390be003c1461027b578063c3c5a5471461029a578063ddca3f43146102b9578063e1758bd8146102cc578063f2fde38b146102df578063f731e470146102fe578063f98e87ba14610323575b600080fd5b34156100e757600080fd5b6100f2600435610336565b604051918252600160a060020a031660208201526040908101905180910390f35b341561011e57600080fd5b61013e600160a060020a0360043581169060243516604435606435610358565b60405190815260200160405180910390f35b341561015b57600080fd5b6100f2600160a060020a03600435166105e9565b341561017a57600080fd5b61013e600435600160a060020a036024351661060b565b341561019c57600080fd5b6101b6600435600160a060020a0360243516604435610645565b604051901515815260200160405180910390f35b34156101d557600080fd5b6101dd610932565b604051600160a060020a03909116815260200160405180910390f35b341561020457600080fd5b610225600160a060020a036004358116906024359060443516606435610941565b005b341561023257600080fd5b6101b6600160a060020a0360043516610994565b341561025157600080fd5b61013e600435600160a060020a03602435166109a9565b341561027357600080fd5b6101dd6109f1565b341561028657600080fd5b610225600160a060020a0360043516610a00565b34156102a557600080fd5b6101b6600160a060020a0360043516610b29565b34156102c457600080fd5b61013e610b47565b34156102d757600080fd5b6101dd610b4d565b34156102ea57600080fd5b610225600160a060020a0360043516610b5c565b341561030957600080fd5b61013e600160a060020a0360043581169060243516610bea565b341561032e57600080fd5b61013e610f56565b60076020526000908152604090208054600190910154600160a060020a031682565b6000610362611039565b60008061036d611050565b600160a060020a038916600090815260056020526040902054899060ff16151561039657600080fd5b600760006103a38c610f5c565b81526020810191909152604090810160002090805190810160405281548152600190910154600160a060020a031660208201908152909550519350600160a060020a0384166388737b5e600287518d3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b151561045057600080fd5b6102c65a03f1151561046157600080fd5b50505060405180519050925060806040519081016040908152600160a060020a03808c16835260208084018c9052600183850152606084018b9052908d1660009081526006825282812087825260020190915220909250829081518154600160a060020a031916600160a060020a03919091161781556020820151600182015560408201518160020155606082015160039091015550600160a060020a038085169084908c167f4e87f569c5a3f504eea38add71bbdd022e5d63d0ee92d4130c407b8d64941bc08c8c8c604051600160a060020a03909316835260208301919091526040808301919091526060909101905180910390a483600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b15156105c057600080fd5b6102c65a03f115156105d157600080fd5b505050604051805150929a9950505050505050505050565b60066020526000908152604090208054600190910154600160a060020a031682565b60008282604051918252600160a060020a03166c010000000000000000000000000260208201526034016040518091039020905092915050565b6000806000610652611050565b33600160a060020a03166007600061066989610f5c565b8152602081019190915260400160002060010154600160a060020a03161461069057600080fd5b6001925084600114156108ac5785600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156106e357600080fd5b6102c65a03f115156106f457600080fd5b5050506040518051600160a060020a03881660009081526006602090815260408083208c8452600201909152908190209194509091506080905190810160409081528254600160a060020a0316825260018301546020830152600283015490820190815260039092015460608201529150516001141561082a57600160a060020a0382166346a4869c8251836020015160006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156107d057600080fd5b6102c65a03f115156107e157600080fd5b50505060405180519350506060810151600160a060020a0387166000908152600660205260408120600301908351600160a060020a031681526020810191909152604001600020555b8060400151600214156108ac57600160a060020a03821663488b3814825160006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561088f57600080fd5b6102c65a03f115156108a057600080fd5b50505060405180519350505b600160a060020a03861660008181526006602090815260408083208b845260029081019092528083208054600160a060020a0319168155600181018490559182018390556003909101919091558891907f253ad9614c337848bbe7dc3b18b439d139ef5787282b5a517ba7296513d1f533905160405180910390a3509095945050505050565b600354600160a060020a031681565b60005433600160a060020a0390811691161461095c57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b6000806109b6848461060b565b60008181526007602052604090208581556001018054600160a060020a038616600160a060020a031990911617905591508190505092915050565b600054600160a060020a031681565b6000600254118015610a2b5750600160a060020a03811660009081526005602052604090205460ff16155b15610ac457600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610aa857600080fd5b6102c65a03f11515610ab957600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a03908116911614610b7757600080fd5b600160a060020a0381161515610b8c57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b6000806000610bf7611039565b600080610c02611050565b600160a060020a038916600090815260056020526040902054899060ff161515610c2b57600080fd5b600160a060020a038a166000818152600660205260408082209950638da5cb5b919051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610c8057600080fd5b6102c65a03f11515610c9157600080fd5b5050506040518051965050600160a060020a03861663043cc6ee8a60006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610cf357600080fd5b6102c65a03f11515610d0457600080fd5b505050604051805190501515610d1957600080fd5b60076000610d268c610f5c565b81526020810191909152604090810160002090805190810160405281548152600190910154600160a060020a03166020820190815290955051935083600160a060020a03166388737b5e60028960030160008d600160a060020a0316600160a060020a03168152602001908152602001600020548d3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b1515610df957600080fd5b6102c65a03f11515610e0a57600080fd5b50505060405180519050925060806040519081016040908152600160a060020a03808c16835260006020808501829052600284860181905260608601839052928f1682526006815283822088835290920190915220909250829081518154600160a060020a031916600160a060020a03919091161781556020820151600182015560408201518160020155606082015160039091015550600160a060020a038085169084908c167f661684a19fb0680f3f8beceaa9ee56c665ffec0875442e2cddc9a7a887d35c3e8c604051600160a060020a03909116815260200160405180910390a483600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b15156105c057600080fd5b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610fa557600080fd5b6102c65a03f11515610fb657600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561101857600080fd5b6102c65a03f1151561102957600080fd5b5050506040518051949350505050565b604080519081016040526000808252602082015290565b608060405190810160409081526000808352602083018190529082018190526060820152905600a165627a7a723058206dee153249f2cbe16e6f7f9ea15cb7d99a5dbe8d7ea0020ba4c69fe6fd2707900029", - "deployedBytecode": "0x6060604052600436106100d75763ffffffff60e060020a6000350416630250680481146100dc5780630fd6e498146101135780631db77c38146101505780632453732a1461016f578063310ce4e21461019157806338af3eed146101ca5780634345a610146101f95780635a1f74061461022757806368e14dac146102465780638da5cb5b1461026857806390be003c1461027b578063c3c5a5471461029a578063ddca3f43146102b9578063e1758bd8146102cc578063f2fde38b146102df578063f731e470146102fe578063f98e87ba14610323575b600080fd5b34156100e757600080fd5b6100f2600435610336565b604051918252600160a060020a031660208201526040908101905180910390f35b341561011e57600080fd5b61013e600160a060020a0360043581169060243516604435606435610358565b60405190815260200160405180910390f35b341561015b57600080fd5b6100f2600160a060020a03600435166105e9565b341561017a57600080fd5b61013e600435600160a060020a036024351661060b565b341561019c57600080fd5b6101b6600435600160a060020a0360243516604435610645565b604051901515815260200160405180910390f35b34156101d557600080fd5b6101dd610932565b604051600160a060020a03909116815260200160405180910390f35b341561020457600080fd5b610225600160a060020a036004358116906024359060443516606435610941565b005b341561023257600080fd5b6101b6600160a060020a0360043516610994565b341561025157600080fd5b61013e600435600160a060020a03602435166109a9565b341561027357600080fd5b6101dd6109f1565b341561028657600080fd5b610225600160a060020a0360043516610a00565b34156102a557600080fd5b6101b6600160a060020a0360043516610b29565b34156102c457600080fd5b61013e610b47565b34156102d757600080fd5b6101dd610b4d565b34156102ea57600080fd5b610225600160a060020a0360043516610b5c565b341561030957600080fd5b61013e600160a060020a0360043581169060243516610bea565b341561032e57600080fd5b61013e610f56565b60076020526000908152604090208054600190910154600160a060020a031682565b6000610362611039565b60008061036d611050565b600160a060020a038916600090815260056020526040902054899060ff16151561039657600080fd5b600760006103a38c610f5c565b81526020810191909152604090810160002090805190810160405281548152600190910154600160a060020a031660208201908152909550519350600160a060020a0384166388737b5e600287518d3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b151561045057600080fd5b6102c65a03f1151561046157600080fd5b50505060405180519050925060806040519081016040908152600160a060020a03808c16835260208084018c9052600183850152606084018b9052908d1660009081526006825282812087825260020190915220909250829081518154600160a060020a031916600160a060020a03919091161781556020820151600182015560408201518160020155606082015160039091015550600160a060020a038085169084908c167f4e87f569c5a3f504eea38add71bbdd022e5d63d0ee92d4130c407b8d64941bc08c8c8c604051600160a060020a03909316835260208301919091526040808301919091526060909101905180910390a483600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b15156105c057600080fd5b6102c65a03f115156105d157600080fd5b505050604051805150929a9950505050505050505050565b60066020526000908152604090208054600190910154600160a060020a031682565b60008282604051918252600160a060020a03166c010000000000000000000000000260208201526034016040518091039020905092915050565b6000806000610652611050565b33600160a060020a03166007600061066989610f5c565b8152602081019190915260400160002060010154600160a060020a03161461069057600080fd5b6001925084600114156108ac5785600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156106e357600080fd5b6102c65a03f115156106f457600080fd5b5050506040518051600160a060020a03881660009081526006602090815260408083208c8452600201909152908190209194509091506080905190810160409081528254600160a060020a0316825260018301546020830152600283015490820190815260039092015460608201529150516001141561082a57600160a060020a0382166346a4869c8251836020015160006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156107d057600080fd5b6102c65a03f115156107e157600080fd5b50505060405180519350506060810151600160a060020a0387166000908152600660205260408120600301908351600160a060020a031681526020810191909152604001600020555b8060400151600214156108ac57600160a060020a03821663488b3814825160006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561088f57600080fd5b6102c65a03f115156108a057600080fd5b50505060405180519350505b600160a060020a03861660008181526006602090815260408083208b845260029081019092528083208054600160a060020a0319168155600181018490559182018390556003909101919091558891907f253ad9614c337848bbe7dc3b18b439d139ef5787282b5a517ba7296513d1f533905160405180910390a3509095945050505050565b600354600160a060020a031681565b60005433600160a060020a0390811691161461095c57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b6000806109b6848461060b565b60008181526007602052604090208581556001018054600160a060020a038616600160a060020a031990911617905591508190505092915050565b600054600160a060020a031681565b6000600254118015610a2b5750600160a060020a03811660009081526005602052604090205460ff16155b15610ac457600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610aa857600080fd5b6102c65a03f11515610ab957600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a03908116911614610b7757600080fd5b600160a060020a0381161515610b8c57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b6000806000610bf7611039565b600080610c02611050565b600160a060020a038916600090815260056020526040902054899060ff161515610c2b57600080fd5b600160a060020a038a166000818152600660205260408082209950638da5cb5b919051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610c8057600080fd5b6102c65a03f11515610c9157600080fd5b5050506040518051965050600160a060020a03861663043cc6ee8a60006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610cf357600080fd5b6102c65a03f11515610d0457600080fd5b505050604051805190501515610d1957600080fd5b60076000610d268c610f5c565b81526020810191909152604090810160002090805190810160405281548152600190910154600160a060020a03166020820190815290955051935083600160a060020a03166388737b5e60028960030160008d600160a060020a0316600160a060020a03168152602001908152602001600020548d3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b1515610df957600080fd5b6102c65a03f11515610e0a57600080fd5b50505060405180519050925060806040519081016040908152600160a060020a03808c16835260006020808501829052600284860181905260608601839052928f1682526006815283822088835290920190915220909250829081518154600160a060020a031916600160a060020a03919091161781556020820151600182015560408201518160020155606082015160039091015550600160a060020a038085169084908c167f661684a19fb0680f3f8beceaa9ee56c665ffec0875442e2cddc9a7a887d35c3e8c604051600160a060020a03909116815260200160405180910390a483600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b15156105c057600080fd5b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610fa557600080fd5b6102c65a03f11515610fb657600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561101857600080fd5b6102c65a03f1151561102957600080fd5b5050506040518051949350505050565b604080519081016040526000808252602082015290565b608060405190810160409081526000808352602083018190529082018190526060820152905600a165627a7a723058206dee153249f2cbe16e6f7f9ea15cb7d99a5dbe8d7ea0020ba4c69fe6fd2707900029", - "sourceMap": "264:8063:18:-;;;2500:184;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;2500:184:18;;-1:-1:-1;2614:62:18;;-1:-1:-1;2631:12:18;;2645:4;;2500:184;;2614:16;;;;;;:62;:::i;:::-;2500:184;;;264:8063;;1314:347:22;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;264:8063:18:-;;;;;;;", - "deployedSourceMap": "264:8063:18:-;;;;;;;;;-1:-1:-1;;;264:8063:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2194:46;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2194:46:18;;;;;;;;;;;;;;;;4367:1072;;;;;;;;;;-1:-1:-1;;;;;4367:1072:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1920:55;;;;;;;;;;-1:-1:-1;;;;;1920:55:18;;;;;3581:210;;;;;;;;;;;;-1:-1:-1;;;;;3581:210:18;;;;;7150:1174;;;;;;;;;;;;-1:-1:-1;;;;;7150:1174:18;;;;;;;;;;;;;;;;;;;;;;;;407:26:22;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:26:22;;;;;;;;;;;;;;1314:347;;;;;;;;;;-1:-1:-1;;;;;1314:347:22;;;;;;;;;;;;;;;;;591:43;;;;;;;;;;-1:-1:-1;;;;;591:43:22;;;;;2973:375:18;;;;;;;;;;;;-1:-1:-1;;;;;2973:375:18;;;;;238:20:29;;;;;;;;;;;;866:315:22;;;;;;;;;;-1:-1:-1;;;;;866:315:22;;;;;1189:117;;;;;;;;;;-1:-1:-1;;;;;1189:117:22;;;;;385:15;;;;;;;;;;;;346:32;;;;;;;;;;;;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;5722:1038:18;;;;;;;;;;-1:-1:-1;;;;;5722:1038:18;;;;;;;;;;440:31:22;;;;;;;;;;;;2194:46:18;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2194:46:18;;:::o;4367:1072::-;4541:7;4566:30;;:::i;:::-;4660:24;4718:18;4839:26;;:::i;:::-;-1:-1:-1;;;;;816:21:22;;;;;;:13;:21;;;;;;4519:7:18;;816:21:22;;808:30;;;;;;;;4599:10:18;:48;4610:36;4638:7;4610:27;:36::i;:::-;4599:48;;;;;;;;;;;;;;;;;4566:81;;;;;;;;;;;;;;;-1:-1:-1;;;;;4566:81:18;;;;;;;;;-1:-1:-1;4687:20:18;4660:47;-1:-1:-1;;;;;;4739:15:18;;;4755:1;4758:12;:31;4791:7;4820:4;4739:87;;;;;;;;-1:-1:-1;;;4739:87:18;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4739:87:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4718:108;;4868:159;;;;;;;;;;-1:-1:-1;;;;;4868:159:18;;;;;;;;;;;;4960:1;4868:159;;;;;;;;;;5040:26;;;4868:159;5040:26;;;:17;:26;;;;;:48;;;:36;;:48;;;;4868:159;;-1:-1:-1;4868:159:18;;;5040:59;;;-1:-1:-1;;;;;;5040:59:18;-1:-1:-1;;;;;5040:59:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5110:182:18;;;;5175:10;;5110:182;;;5222:3;5240:7;5262:19;5110:182;;-1:-1:-1;;;;;5110:182:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5303:7;-1:-1:-1;;;;;5303:17:18;;5321:10;5333:1;5336:10;5303:44;;;;;;;;-1:-1:-1;;;5303:44:18;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5303:44:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5421:10:18;;4367:1072;-1:-1:-1;;;;;;;;;;4367:1072:18:o;1920:55::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1920:55:18;;:::o;3581:210::-;3709:7;3752:19;3773:8;3742:40;;;;;-1:-1:-1;;;;;3742:40:18;;;;;;;;;;;;;;;;3734:49;;3581:210;;;;:::o;7150:1174::-;7234:4;7410:11;7566:21;7640:26;;:::i;:::-;7388:10;-1:-1:-1;;;;;7320:78:18;:10;:56;7331:44;7366:7;7331:27;:44::i;:::-;7320:56;;;;;;;;;;;;;:64;;;-1:-1:-1;;;;;7320:64:18;:78;7312:87;;;;;;7424:4;7410:18;;7485:6;7495:1;7485:11;7481:696;;;7608:7;-1:-1:-1;;;;;7601:21:18;;:23;;;;;;;;;;;-1:-1:-1;;;7601:23:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7669:26:18;;;;;;:17;:26;;;;;;;;:49;;;:36;;:49;;;;;;;7601:23;;-1:-1:-1;7669:49:18;;-1:-1:-1;7640:78:18;;;;;;;;;;;;-1:-1:-1;;;;;7640:78:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7761:21:18;7786:1;7761:26;7757:245;;;-1:-1:-1;;;;;7817:30:18;;;7848:8;:11;7861:8;:15;;;7817:60;;;;;;;;-1:-1:-1;;;7817:60:18;;;;;;-1:-1:-1;;;;;7817:60:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7957:27:18;;;;-1:-1:-1;;;;;7896:26:18;;;;;;:17;:26;;;;;:45;;;7942:8;:11;-1:-1:-1;;;;;7896:58:18;;;;;;;;;;;;-1:-1:-1;7896:58:18;:88;7757:245;8046:8;:21;;;8071:1;8046:26;8042:124;;;-1:-1:-1;;;;;8102:33:18;;;8136:8;:11;8102:46;;;;;;;;-1:-1:-1;;;8102:46:18;;;;;;-1:-1:-1;;;;;8102:46:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8042:124:18;-1:-1:-1;;;;;8194:26:18;;;;;;:17;:26;;;;;;;;:49;;;:36;;;;:49;;;;;;8187:56;;-1:-1:-1;;;;;;8187:56:18;;;;;;;;;;;;;;;;;;;;;;;8231:11;;8194:26;8254:38;;;;;;;;;;-1:-1:-1;8310:6:18;;7150:1174;-1:-1:-1;;;;;7150:1174:18:o;407:26:22:-;;;-1:-1:-1;;;;;407:26:22;;:::o;1314:347::-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;591:43::-;;;;;;;;;;;;;;;:::o;2973:375:18:-;3092:7;3117:18;3138:48;3156:19;3177:8;3138:17;:48::i;:::-;3197:22;;;;:10;:22;;;;;:63;;;3271:30;;:41;;-1:-1:-1;;;;;3271:41:18;;-1:-1:-1;;;;;;3271:41:18;;;;;;3117:69;-1:-1:-1;3117:69:18;;-1:-1:-1;2973:375:18;;;;;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;866:315:22:-;980:1;974:3;;:7;973:39;;;;-1:-1:-1;;;;;;989:22:22;;;;;;:13;:22;;;;;;;;987:24;973:39;969:123;;;1029:11;;1063;;1076:3;;-1:-1:-1;;;;;1029:11:22;;;;:24;;1054:7;;1063:11;;;1029;:51;;;;;;;-1:-1:-1;;;1029:51:22;;;;;;-1:-1:-1;;;;;1029:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;969:123:22;-1:-1:-1;;;;;1102:22:22;;;;;;:13;:22;;;;;;;:29;;-1:-1:-1;;1102:29:22;1127:4;1102:29;;;1142:31;;1116:7;;1142:31;-1:-1:-1;;;;;1142:31:22;;;;;;;;;;;;;;866:315;:::o;1189:117::-;-1:-1:-1;;;;;1276:22:22;1252:4;1276:22;;;:13;:22;;;;;;;;;1189:117::o;385:15::-;;;;:::o;346:32::-;;;-1:-1:-1;;;;;346:32:22;;:::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;;;;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;5722:1038:18:-;5829:7;5849:24;5913:21;6045:24;;:::i;:::-;6131;6183:18;6300:26;;:::i;:::-;-1:-1:-1;;;;;816:21:22;;;;;;:13;:21;;;;;;5812:7:18;;816:21:22;;808:30;;;;;;;;-1:-1:-1;;;;;5876:26:18;;;;;;:17;:26;;;;;;;-1:-1:-1;5948:21:18;;5876:26;5948:23;;;;;;;;;-1:-1:-1;;;5948:23:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;5991:37:18;;;6029:3;5991:42;;;;;;;;-1:-1:-1;;;5991:42:18;;;;;;-1:-1:-1;;;;;5991:42:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5983:51;;;;;;;;6072:10;:48;6083:36;6111:7;6083:27;:36::i;:::-;6072:48;;;;;;;;;;;;;;;;;6045:75;;;;;;;;;;;;;;;-1:-1:-1;;;;;6045:75:18;;;;;;;;;-1:-1:-1;6158:14:18;6131:41;;6204:7;-1:-1:-1;;;;;6204:15:18;;6220:1;6223:3;:22;;:27;6246:3;-1:-1:-1;;;;;6223:27:18;-1:-1:-1;;;;;6223:27:18;;;;;;;;;;;;;6252:7;6281:4;6204:83;;;;;;;;-1:-1:-1;;;6204:83:18;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6204:83:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6183:104;;6329:135;;;;;;;;;;-1:-1:-1;;;;;6329:135:18;;;;;6385:1;6329:135;;;;;;;6415:1;6329:135;;;;;;;;;;;;6477:26;;;;;:17;:26;;;;;:48;;;:36;;;:48;;;;6329:135;;-1:-1:-1;6329:135:18;;;6477:59;;;-1:-1:-1;;;;;;6477:59:18;-1:-1:-1;;;;;6477:59:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6547:66:18;;;;6588:10;;6547:66;;;6609:3;6547:66;;-1:-1:-1;;;;;6547:66:18;;;;;;;;;;;;;;6624:7;-1:-1:-1;;;;;6624:17:18;;6642:10;6654:1;6657:10;6624:44;;;;;;;;-1:-1:-1;;;6624:44:18;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6624:44:18;;;;;;;;;;;;;;;;;;;;;;;;;440:31:22;;;;:::o;1761:212::-;1840:7;1860:21;1895:7;-1:-1:-1;;;;;1895:13:22;;:15;;;;;;;;;;;-1:-1:-1;;;1895:15:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;1929:30:22;;;1960:4;1929:36;;;;;;;;-1:-1:-1;;;1929:36:22;;;;;;-1:-1:-1;;;;;1929:36:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1761:212;-1:-1:-1;;;;1761:212:22:o;264:8063:18:-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../VotingMachines/IntVoteInterface.sol\";\r\nimport \"./UniversalScheme.sol\";\r\n\r\n\r\n/**\r\n * @title A scheme to manage global constaintg for organizations\r\n * @dev The scheme is used to register or remove new global constraints\r\n */\r\ncontract GlobalConstraintRegistrar is UniversalScheme {\r\n event NewGlobalConstraintsProposal(\r\n address indexed _avatar,\r\n bytes32 indexed _proposalId,\r\n address indexed _intVoteInterface,\r\n address _gc,\r\n bytes32 _params,\r\n bytes32 _voteToRemoveParams\r\n );\r\n event RemoveGlobalConstraintsProposal(\r\n address indexed _avatar,\r\n bytes32 indexed _proposalId,\r\n address indexed _intVoteInterface,\r\n address _gc\r\n );\r\n event ProposalExecuted(address indexed _avatar, bytes32 indexed _proposalId);\r\n event LogProposalDeleted(address indexed _avatar, bytes32 indexed _proposalId);\r\n\r\n // The struct that holds the information of a global constraint proposed to be added or removed.\r\n struct GCProposal {\r\n address gc; // The address of the global contraint contract.\r\n bytes32 params; // Parameters for global constraint.\r\n uint proposalType; // 1: add a GC, 2: remove a GC.\r\n bytes32 voteToRemoveParams; // Voting parameters for removing this GC.\r\n }\r\n\r\n // Struct holding the data for each organization\r\n struct Organization {\r\n bytes32 voteRegisterParams; // The voting parameters for adding a GC.\r\n IntVoteInterface intVote; // The voting machine in which the voting takes place.\r\n mapping(bytes32=>GCProposal) proposals; // A mapping from the proposal ID to the proposal itself.\r\n mapping(address=>bytes32) voteToRemoveParams; // A mapping that saves the parameters for removing each GC.\r\n }\r\n\r\n // A mapping from thr organization (Avatar) address to the saved data of the organization:\r\n mapping(address=>Organization) public organizationsData;\r\n\r\n // A mapping from hashes to parameters (use to store a particular configuration on the controller)\r\n struct Parameters {\r\n bytes32 voteRegisterParams;\r\n IntVoteInterface intVote;\r\n }\r\n\r\n mapping(bytes32=>Parameters) public parameters;\r\n\r\n /**\r\n * @dev Constructor, Updating the initial prarmeters\r\n * @param _nativeToken The native token of the ICO\r\n * @param _fee The fee for intiating the ICO\r\n * @param _beneficiary The address that will receive the ethers\r\n */\r\n function GlobalConstraintRegistrar(StandardToken _nativeToken, uint _fee, address _beneficiary) public {\r\n updateParameters(_nativeToken, _fee, _beneficiary, bytes32(0));\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters, save them if necessary, and return the hash value\r\n * @param _voteRegisterParams - voting parameters for register global constraint\r\n * @param _intVote - voting machine contract.\r\n * @return bytes32 -the parameters hash\r\n */\r\n function setParameters(\r\n bytes32 _voteRegisterParams,\r\n IntVoteInterface _intVote\r\n ) public returns(bytes32)\r\n {\r\n bytes32 paramsHash = getParametersHash(_voteRegisterParams, _intVote);\r\n parameters[paramsHash].voteRegisterParams = _voteRegisterParams;\r\n parameters[paramsHash].intVote = _intVote;\r\n return paramsHash;\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters,and return the hash value\r\n * @param _voteRegisterParams - voting parameters\r\n * @param _intVote - voting machine contract.\r\n * @return bytes32 -the parameters hash\r\n */\r\n function getParametersHash(\r\n bytes32 _voteRegisterParams,\r\n IntVoteInterface _intVote\r\n ) public pure returns(bytes32)\r\n {\r\n return (keccak256(_voteRegisterParams, _intVote));\r\n }\r\n\r\n /**\r\n * @dev propose to add a new global constraint:\r\n * @param _avatar the avatar of the organization that the constraint is proposed for\r\n * @param _gc the address of the global constraint that is being proposed\r\n * @param _params the parameters for the global contraint\r\n * @param _voteToRemoveParams the conditions (on the voting machine) for removing this global constraint\r\n * @return bytes32 -the proposal id\r\n */\r\n // TODO: do some checks on _voteToRemoveParams - it is very easy to make a mistake and not be able to remove the GC\r\n function proposeGlobalConstraint(Avatar _avatar, address _gc, bytes32 _params, bytes32 _voteToRemoveParams)\r\n public\r\n onlyRegisteredOrganization(_avatar)\r\n returns(bytes32)\r\n {\r\n Parameters memory votingParams = parameters[getParametersFromController(_avatar)];\r\n\r\n IntVoteInterface intVote = votingParams.intVote;\r\n bytes32 proposalId = intVote.propose(2, votingParams.voteRegisterParams, _avatar, ExecutableInterface(this));\r\n\r\n GCProposal memory proposal = GCProposal({\r\n gc: _gc,\r\n params: _params,\r\n proposalType: 1,\r\n voteToRemoveParams: _voteToRemoveParams\r\n });\r\n\r\n organizationsData[_avatar].proposals[proposalId] = proposal;\r\n NewGlobalConstraintsProposal(\r\n _avatar,\r\n proposalId,\r\n intVote,\r\n _gc,\r\n _params,\r\n _voteToRemoveParams\r\n );\r\n intVote.ownerVote(proposalId, 1, msg.sender); // Automatically votes `yes` in the name of the opener.\r\n return proposalId;\r\n }\r\n\r\n /**\r\n * @dev propose to remove a global constraint:\r\n * @param _avatar the avatar of the organization that the constraint is proposed for\r\n * @param _gc the address of the global constraint that is being proposed\r\n * @return bytes32 -the proposal id\r\n */\r\n function proposeToRemoveGC(Avatar _avatar, address _gc) public onlyRegisteredOrganization(_avatar) returns(bytes32) {\r\n Organization storage org = organizationsData[_avatar];\r\n Controller controller = Controller(Avatar(_avatar).owner());\r\n require(controller.isGlobalConstraintRegister(_gc));\r\n Parameters memory params = parameters[getParametersFromController(_avatar)];\r\n IntVoteInterface intVote = params.intVote;\r\n bytes32 proposalId = intVote.propose(2, org.voteToRemoveParams[_gc], _avatar, ExecutableInterface(this));\r\n\r\n GCProposal memory proposal = GCProposal({\r\n gc: _gc,\r\n params: 0,\r\n proposalType: 2,\r\n voteToRemoveParams: 0\r\n });\r\n\r\n organizationsData[_avatar].proposals[proposalId] = proposal;\r\n RemoveGlobalConstraintsProposal(_avatar, proposalId, intVote, _gc);\r\n intVote.ownerVote(proposalId, 1, msg.sender); // Automatically votes `yes` in the name of the opener.\r\n return proposalId;\r\n }\r\n\r\n /**\r\n * @dev execution of proposals, can only be called by the voting machine in which the vote is held.\r\n * @param _proposalId the ID of the voting in the voting machine\r\n * @param _avatar address of the controller\r\n * @param _param a parameter of the voting result, 0 is no and 1 is yes.\r\n * @return bool which represents a successful of the function.\r\n */\r\n function execute(bytes32 _proposalId, address _avatar, int _param) external returns(bool) {\r\n // Check the caller is indeed the voting machine:\r\n\r\n require(parameters[getParametersFromController(Avatar(_avatar))].intVote == msg.sender);\r\n bool retVal = true;\r\n // Check if vote was successful:\r\n if (_param == 1 ) {\r\n\r\n // Define controller and get the parmas:\r\n Controller controller = Controller(Avatar(_avatar).owner());\r\n GCProposal memory proposal = organizationsData[_avatar].proposals[_proposalId];\r\n // Adding a GC\r\n if (proposal.proposalType == 1) {\r\n retVal = controller.addGlobalConstraint(proposal.gc, proposal.params);\r\n organizationsData[_avatar].voteToRemoveParams[proposal.gc] = proposal.voteToRemoveParams;\r\n }\r\n // Removing a GC\r\n if (proposal.proposalType == 2) {\r\n retVal = controller.removeGlobalConstraint(proposal.gc);\r\n }\r\n }\r\n delete organizationsData[_avatar].proposals[_proposalId];\r\n ProposalExecuted(_avatar, _proposalId);\r\n return retVal;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\GlobalConstraintRegistrar.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/GlobalConstraintRegistrar.sol", - "exportedSymbols": { - "GlobalConstraintRegistrar": [ - 5874 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 5439, - "name": "PragmaDirective", - "src": "0:24:18" - }, - { - "attributes": { - "SourceUnit": 2659, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/IntVoteInterface.sol", - "file": "../VotingMachines/IntVoteInterface.sol", - "scope": 5875, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 5440, - "name": "ImportDirective", - "src": "28:48:18" - }, - { - "attributes": { - "SourceUnit": 7230, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "file": "./UniversalScheme.sol", - "scope": 5875, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 5441, - "name": "ImportDirective", - "src": "78:31:18" - }, - { - "attributes": { - "contractDependencies": [ - 7229, - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": "@title A scheme to manage global constaintg for organizations\r\n@dev The scheme is used to register or remove new global constraints\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 5874, - 7229, - 7259, - 9140 - ], - "name": "GlobalConstraintRegistrar", - "scope": 5875 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalScheme", - "referencedDeclaration": 7229, - "type": "contract UniversalScheme" - }, - "id": 5442, - "name": "UserDefinedTypeName", - "src": "302:15:18" - } - ], - "id": 5443, - "name": "InheritanceSpecifier", - "src": "302:15:18" - }, - { - "attributes": { - "anonymous": false, - "name": "NewGlobalConstraintsProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 5457, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5444, - "name": "ElementaryTypeName", - "src": "370:7:18" - } - ], - "id": 5445, - "name": "VariableDeclaration", - "src": "370:23:18" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 5457, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5446, - "name": "ElementaryTypeName", - "src": "404:7:18" - } - ], - "id": 5447, - "name": "VariableDeclaration", - "src": "404:27:18" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_intVoteInterface", - "scope": 5457, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5448, - "name": "ElementaryTypeName", - "src": "442:7:18" - } - ], - "id": 5449, - "name": "VariableDeclaration", - "src": "442:33:18" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_gc", - "scope": 5457, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5450, - "name": "ElementaryTypeName", - "src": "486:7:18" - } - ], - "id": 5451, - "name": "VariableDeclaration", - "src": "486:11:18" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_params", - "scope": 5457, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5452, - "name": "ElementaryTypeName", - "src": "508:7:18" - } - ], - "id": 5453, - "name": "VariableDeclaration", - "src": "508:15:18" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_voteToRemoveParams", - "scope": 5457, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5454, - "name": "ElementaryTypeName", - "src": "534:7:18" - } - ], - "id": 5455, - "name": "VariableDeclaration", - "src": "534:27:18" - } - ], - "id": 5456, - "name": "ParameterList", - "src": "359:209:18" - } - ], - "id": 5457, - "name": "EventDefinition", - "src": "325:244:18" - }, - { - "attributes": { - "anonymous": false, - "name": "RemoveGlobalConstraintsProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 5467, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5458, - "name": "ElementaryTypeName", - "src": "623:7:18" - } - ], - "id": 5459, - "name": "VariableDeclaration", - "src": "623:23:18" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 5467, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5460, - "name": "ElementaryTypeName", - "src": "657:7:18" - } - ], - "id": 5461, - "name": "VariableDeclaration", - "src": "657:27:18" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_intVoteInterface", - "scope": 5467, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5462, - "name": "ElementaryTypeName", - "src": "695:7:18" - } - ], - "id": 5463, - "name": "VariableDeclaration", - "src": "695:33:18" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_gc", - "scope": 5467, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5464, - "name": "ElementaryTypeName", - "src": "739:7:18" - } - ], - "id": 5465, - "name": "VariableDeclaration", - "src": "739:11:18" - } - ], - "id": 5466, - "name": "ParameterList", - "src": "612:145:18" - } - ], - "id": 5467, - "name": "EventDefinition", - "src": "575:183:18" - }, - { - "attributes": { - "anonymous": false, - "name": "ProposalExecuted" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 5473, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5468, - "name": "ElementaryTypeName", - "src": "787:7:18" - } - ], - "id": 5469, - "name": "VariableDeclaration", - "src": "787:23:18" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 5473, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5470, - "name": "ElementaryTypeName", - "src": "812:7:18" - } - ], - "id": 5471, - "name": "VariableDeclaration", - "src": "812:27:18" - } - ], - "id": 5472, - "name": "ParameterList", - "src": "786:54:18" - } - ], - "id": 5473, - "name": "EventDefinition", - "src": "764:77:18" - }, - { - "attributes": { - "anonymous": false, - "name": "LogProposalDeleted" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 5479, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5474, - "name": "ElementaryTypeName", - "src": "872:7:18" - } - ], - "id": 5475, - "name": "VariableDeclaration", - "src": "872:23:18" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 5479, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5476, - "name": "ElementaryTypeName", - "src": "897:7:18" - } - ], - "id": 5477, - "name": "VariableDeclaration", - "src": "897:27:18" - } - ], - "id": 5478, - "name": "ParameterList", - "src": "871:54:18" - } - ], - "id": 5479, - "name": "EventDefinition", - "src": "847:79:18" - }, - { - "attributes": { - "canonicalName": "GlobalConstraintRegistrar.GCProposal", - "name": "GCProposal", - "scope": 5874, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "gc", - "scope": 5488, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5480, - "name": "ElementaryTypeName", - "src": "1065:7:18" - } - ], - "id": 5481, - "name": "VariableDeclaration", - "src": "1065:10:18" - }, - { - "attributes": { - "constant": false, - "name": "params", - "scope": 5488, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5482, - "name": "ElementaryTypeName", - "src": "1135:7:18" - } - ], - "id": 5483, - "name": "VariableDeclaration", - "src": "1135:14:18" - }, - { - "attributes": { - "constant": false, - "name": "proposalType", - "scope": 5488, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5484, - "name": "ElementaryTypeName", - "src": "1197:4:18" - } - ], - "id": 5485, - "name": "VariableDeclaration", - "src": "1197:17:18" - }, - { - "attributes": { - "constant": false, - "name": "voteToRemoveParams", - "scope": 5488, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5486, - "name": "ElementaryTypeName", - "src": "1257:7:18" - } - ], - "id": 5487, - "name": "VariableDeclaration", - "src": "1257:26:18" - } - ], - "id": 5488, - "name": "StructDefinition", - "src": "1036:298:18" - }, - { - "attributes": { - "canonicalName": "GlobalConstraintRegistrar.Organization", - "name": "Organization", - "scope": 5874, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "voteRegisterParams", - "scope": 5501, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5489, - "name": "ElementaryTypeName", - "src": "1427:7:18" - } - ], - "id": 5490, - "name": "VariableDeclaration", - "src": "1427:26:18" - }, - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 5501, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 5491, - "name": "UserDefinedTypeName", - "src": "1506:16:18" - } - ], - "id": 5492, - "name": "VariableDeclaration", - "src": "1506:24:18" - }, - { - "attributes": { - "constant": false, - "name": "proposals", - "scope": 5501, - "stateVariable": false, - "storageLocation": "default", - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.GCProposal storage ref)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.GCProposal storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5493, - "name": "ElementaryTypeName", - "src": "1604:7:18" - }, - { - "attributes": { - "contractScope": null, - "name": "GCProposal", - "referencedDeclaration": 5488, - "type": "struct GlobalConstraintRegistrar.GCProposal storage pointer" - }, - "id": 5494, - "name": "UserDefinedTypeName", - "src": "1613:10:18" - } - ], - "id": 5495, - "name": "Mapping", - "src": "1596:28:18" - } - ], - "id": 5496, - "name": "VariableDeclaration", - "src": "1596:38:18" - }, - { - "attributes": { - "constant": false, - "name": "voteToRemoveParams", - "scope": 5501, - "stateVariable": false, - "storageLocation": "default", - "type": "mapping(address => bytes32)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => bytes32)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5497, - "name": "ElementaryTypeName", - "src": "1711:7:18" - }, - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5498, - "name": "ElementaryTypeName", - "src": "1720:7:18" - } - ], - "id": 5499, - "name": "Mapping", - "src": "1703:25:18" - } - ], - "id": 5500, - "name": "VariableDeclaration", - "src": "1703:44:18" - } - ], - "id": 5501, - "name": "StructDefinition", - "src": "1396:420:18" - }, - { - "attributes": { - "constant": false, - "name": "organizationsData", - "scope": 5874, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => struct GlobalConstraintRegistrar.Organization storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => struct GlobalConstraintRegistrar.Organization storage ref)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5502, - "name": "ElementaryTypeName", - "src": "1928:7:18" - }, - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 5501, - "type": "struct GlobalConstraintRegistrar.Organization storage pointer" - }, - "id": 5503, - "name": "UserDefinedTypeName", - "src": "1937:12:18" - } - ], - "id": 5504, - "name": "Mapping", - "src": "1920:30:18" - } - ], - "id": 5505, - "name": "VariableDeclaration", - "src": "1920:55:18" - }, - { - "attributes": { - "canonicalName": "GlobalConstraintRegistrar.Parameters", - "name": "Parameters", - "scope": 5874, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "voteRegisterParams", - "scope": 5510, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5506, - "name": "ElementaryTypeName", - "src": "2117:7:18" - } - ], - "id": 5507, - "name": "VariableDeclaration", - "src": "2117:26:18" - }, - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 5510, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 5508, - "name": "UserDefinedTypeName", - "src": "2154:16:18" - } - ], - "id": 5509, - "name": "VariableDeclaration", - "src": "2154:24:18" - } - ], - "id": 5510, - "name": "StructDefinition", - "src": "2088:98:18" - }, - { - "attributes": { - "constant": false, - "name": "parameters", - "scope": 5874, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5511, - "name": "ElementaryTypeName", - "src": "2202:7:18" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 5510, - "type": "struct GlobalConstraintRegistrar.Parameters storage pointer" - }, - "id": 5512, - "name": "UserDefinedTypeName", - "src": "2211:10:18" - } - ], - "id": 5513, - "name": "Mapping", - "src": "2194:28:18" - } - ], - "id": 5514, - "name": "VariableDeclaration", - "src": "2194:46:18" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "GlobalConstraintRegistrar", - "payable": false, - "scope": 5874, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 5533, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 5515, - "name": "UserDefinedTypeName", - "src": "2535:13:18" - } - ], - "id": 5516, - "name": "VariableDeclaration", - "src": "2535:26:18" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 5533, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5517, - "name": "ElementaryTypeName", - "src": "2563:4:18" - } - ], - "id": 5518, - "name": "VariableDeclaration", - "src": "2563:9:18" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 5533, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5519, - "name": "ElementaryTypeName", - "src": "2574:7:18" - } - ], - "id": 5520, - "name": "VariableDeclaration", - "src": "2574:20:18" - } - ], - "id": 5521, - "name": "ParameterList", - "src": "2534:61:18" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 5522, - "name": "ParameterList", - "src": "2603:0:18" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 7207 - ], - "referencedDeclaration": 7207, - "type": "function (contract StandardToken,uint256,address,bytes32)", - "value": "updateParameters" - }, - "id": 5523, - "name": "Identifier", - "src": "2614:16:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5516, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 5524, - "name": "Identifier", - "src": "2631:12:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5518, - "type": "uint256", - "value": "_fee" - }, - "id": 5525, - "name": "Identifier", - "src": "2645:4:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5520, - "type": "address", - "value": "_beneficiary" - }, - "id": 5526, - "name": "Identifier", - "src": "2651:12:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 5527, - "name": "ElementaryTypeNameExpression", - "src": "2665:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5528, - "name": "Literal", - "src": "2673:1:18" - } - ], - "id": 5529, - "name": "FunctionCall", - "src": "2665:10:18" - } - ], - "id": 5530, - "name": "FunctionCall", - "src": "2614:62:18" - } - ], - "id": 5531, - "name": "ExpressionStatement", - "src": "2614:62:18" - } - ], - "id": 5532, - "name": "Block", - "src": "2603:81:18" - } - ], - "id": 5533, - "name": "FunctionDefinition", - "src": "2500:184:18" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 5874, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_voteRegisterParams", - "scope": 5566, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5534, - "name": "ElementaryTypeName", - "src": "3006:7:18" - } - ], - "id": 5535, - "name": "VariableDeclaration", - "src": "3006:27:18" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 5566, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 5536, - "name": "UserDefinedTypeName", - "src": "3044:16:18" - } - ], - "id": 5537, - "name": "VariableDeclaration", - "src": "3044:25:18" - } - ], - "id": 5538, - "name": "ParameterList", - "src": "2995:81:18" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 5566, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5539, - "name": "ElementaryTypeName", - "src": "3092:7:18" - } - ], - "id": 5540, - "name": "VariableDeclaration", - "src": "3092:7:18" - } - ], - "id": 5541, - "name": "ParameterList", - "src": "3091:9:18" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 5543 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 5566, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5542, - "name": "ElementaryTypeName", - "src": "3117:7:18" - } - ], - "id": 5543, - "name": "VariableDeclaration", - "src": "3117:18:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5582, - "type": "function (bytes32,contract IntVoteInterface) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 5544, - "name": "Identifier", - "src": "3138:17:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5535, - "type": "bytes32", - "value": "_voteRegisterParams" - }, - "id": 5545, - "name": "Identifier", - "src": "3156:19:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5537, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 5546, - "name": "Identifier", - "src": "3177:8:18" - } - ], - "id": 5547, - "name": "FunctionCall", - "src": "3138:48:18" - } - ], - "id": 5548, - "name": "VariableDeclarationStatement", - "src": "3117:69:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "voteRegisterParams", - "referencedDeclaration": 5507, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5514, - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 5549, - "name": "Identifier", - "src": "3197:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5543, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 5550, - "name": "Identifier", - "src": "3208:10:18" - } - ], - "id": 5551, - "name": "IndexAccess", - "src": "3197:22:18" - } - ], - "id": 5552, - "name": "MemberAccess", - "src": "3197:41:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5535, - "type": "bytes32", - "value": "_voteRegisterParams" - }, - "id": 5553, - "name": "Identifier", - "src": "3241:19:18" - } - ], - "id": 5554, - "name": "Assignment", - "src": "3197:63:18" - } - ], - "id": 5555, - "name": "ExpressionStatement", - "src": "3197:63:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "intVote", - "referencedDeclaration": 5509, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5514, - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 5556, - "name": "Identifier", - "src": "3271:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5543, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 5557, - "name": "Identifier", - "src": "3282:10:18" - } - ], - "id": 5558, - "name": "IndexAccess", - "src": "3271:22:18" - } - ], - "id": 5559, - "name": "MemberAccess", - "src": "3271:30:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5537, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 5560, - "name": "Identifier", - "src": "3304:8:18" - } - ], - "id": 5561, - "name": "Assignment", - "src": "3271:41:18" - } - ], - "id": 5562, - "name": "ExpressionStatement", - "src": "3271:41:18" - }, - { - "attributes": { - "functionReturnParameters": 5541 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5543, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 5563, - "name": "Identifier", - "src": "3330:10:18" - } - ], - "id": 5564, - "name": "Return", - "src": "3323:17:18" - } - ], - "id": 5565, - "name": "Block", - "src": "3106:242:18" - } - ], - "id": 5566, - "name": "FunctionDefinition", - "src": "2973:375:18" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 5874, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_voteRegisterParams", - "scope": 5582, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5567, - "name": "ElementaryTypeName", - "src": "3618:7:18" - } - ], - "id": 5568, - "name": "VariableDeclaration", - "src": "3618:27:18" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 5582, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 5569, - "name": "UserDefinedTypeName", - "src": "3656:16:18" - } - ], - "id": 5570, - "name": "VariableDeclaration", - "src": "3656:25:18" - } - ], - "id": 5571, - "name": "ParameterList", - "src": "3607:81:18" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 5582, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5572, - "name": "ElementaryTypeName", - "src": "3709:7:18" - } - ], - "id": 5573, - "name": "VariableDeclaration", - "src": "3709:7:18" - } - ], - "id": 5574, - "name": "ParameterList", - "src": "3708:9:18" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 5574 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 5575, - "name": "Identifier", - "src": "3742:9:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5568, - "type": "bytes32", - "value": "_voteRegisterParams" - }, - "id": 5576, - "name": "Identifier", - "src": "3752:19:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5570, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 5577, - "name": "Identifier", - "src": "3773:8:18" - } - ], - "id": 5578, - "name": "FunctionCall", - "src": "3742:40:18" - } - ], - "id": 5579, - "name": "TupleExpression", - "src": "3741:42:18" - } - ], - "id": 5580, - "name": "Return", - "src": "3734:49:18" - } - ], - "id": 5581, - "name": "Block", - "src": "3723:68:18" - } - ], - "id": 5582, - "name": "FunctionDefinition", - "src": "3581:210:18" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "proposeGlobalConstraint", - "payable": false, - "scope": 5874, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 5663, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 5583, - "name": "UserDefinedTypeName", - "src": "4400:6:18" - } - ], - "id": 5584, - "name": "VariableDeclaration", - "src": "4400:14:18" - }, - { - "attributes": { - "constant": false, - "name": "_gc", - "scope": 5663, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5585, - "name": "ElementaryTypeName", - "src": "4416:7:18" - } - ], - "id": 5586, - "name": "VariableDeclaration", - "src": "4416:11:18" - }, - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 5663, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5587, - "name": "ElementaryTypeName", - "src": "4429:7:18" - } - ], - "id": 5588, - "name": "VariableDeclaration", - "src": "4429:15:18" - }, - { - "attributes": { - "constant": false, - "name": "_voteToRemoveParams", - "scope": 5663, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5589, - "name": "ElementaryTypeName", - "src": "4446:7:18" - } - ], - "id": 5590, - "name": "VariableDeclaration", - "src": "4446:27:18" - } - ], - "id": 5591, - "name": "ParameterList", - "src": "4399:75:18" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 5663, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5595, - "name": "ElementaryTypeName", - "src": "4541:7:18" - } - ], - "id": 5596, - "name": "VariableDeclaration", - "src": "4541:7:18" - } - ], - "id": 5597, - "name": "ParameterList", - "src": "4540:9:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7129, - "type": "modifier (address)", - "value": "onlyRegisteredOrganization" - }, - "id": 5592, - "name": "Identifier", - "src": "4492:26:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5584, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5593, - "name": "Identifier", - "src": "4519:7:18" - } - ], - "id": 5594, - "name": "ModifierInvocation", - "src": "4492:35:18" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 5599 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "votingParams", - "scope": 5663, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct GlobalConstraintRegistrar.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 5510, - "type": "struct GlobalConstraintRegistrar.Parameters storage pointer" - }, - "id": 5598, - "name": "UserDefinedTypeName", - "src": "4566:10:18" - } - ], - "id": 5599, - "name": "VariableDeclaration", - "src": "4566:30:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5514, - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 5600, - "name": "Identifier", - "src": "4599:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 5601, - "name": "Identifier", - "src": "4610:27:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5584, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5602, - "name": "Identifier", - "src": "4638:7:18" - } - ], - "id": 5603, - "name": "FunctionCall", - "src": "4610:36:18" - } - ], - "id": 5604, - "name": "IndexAccess", - "src": "4599:48:18" - } - ], - "id": 5605, - "name": "VariableDeclarationStatement", - "src": "4566:81:18" - }, - { - "attributes": { - "assignments": [ - 5607 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 5663, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 5606, - "name": "UserDefinedTypeName", - "src": "4660:16:18" - } - ], - "id": 5607, - "name": "VariableDeclaration", - "src": "4660:24:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 5509, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5599, - "type": "struct GlobalConstraintRegistrar.Parameters memory", - "value": "votingParams" - }, - "id": 5608, - "name": "Identifier", - "src": "4687:12:18" - } - ], - "id": 5609, - "name": "MemberAccess", - "src": "4687:20:18" - } - ], - "id": 5610, - "name": "VariableDeclarationStatement", - "src": "4660:47:18" - }, - { - "attributes": { - "assignments": [ - 5612 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposalId", - "scope": 5663, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5611, - "name": "ElementaryTypeName", - "src": "4718:7:18" - } - ], - "id": 5612, - "name": "VariableDeclaration", - "src": "4718:18:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_ExecutableInterface_$5155", - "typeString": "contract ExecutableInterface" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "propose", - "referencedDeclaration": 2570, - "type": "function (uint256,bytes32,address,contract ExecutableInterface) external returns (bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5607, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 5613, - "name": "Identifier", - "src": "4739:7:18" - } - ], - "id": 5614, - "name": "MemberAccess", - "src": "4739:15:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 5615, - "name": "Literal", - "src": "4755:1:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteRegisterParams", - "referencedDeclaration": 5507, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5599, - "type": "struct GlobalConstraintRegistrar.Parameters memory", - "value": "votingParams" - }, - "id": 5616, - "name": "Identifier", - "src": "4758:12:18" - } - ], - "id": 5617, - "name": "MemberAccess", - "src": "4758:31:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5584, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5618, - "name": "Identifier", - "src": "4791:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract ExecutableInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_GlobalConstraintRegistrar_$5874", - "typeString": "contract GlobalConstraintRegistrar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5155, - "type": "type(contract ExecutableInterface)", - "value": "ExecutableInterface" - }, - "id": 5619, - "name": "Identifier", - "src": "4800:19:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9809, - "type": "contract GlobalConstraintRegistrar", - "value": "this" - }, - "id": 5620, - "name": "Identifier", - "src": "4820:4:18" - } - ], - "id": 5621, - "name": "FunctionCall", - "src": "4800:25:18" - } - ], - "id": 5622, - "name": "FunctionCall", - "src": "4739:87:18" - } - ], - "id": 5623, - "name": "VariableDeclarationStatement", - "src": "4718:108:18" - }, - { - "attributes": { - "assignments": [ - 5625 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 5663, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "GCProposal", - "referencedDeclaration": 5488, - "type": "struct GlobalConstraintRegistrar.GCProposal storage pointer" - }, - "id": 5624, - "name": "UserDefinedTypeName", - "src": "4839:10:18" - } - ], - "id": 5625, - "name": "VariableDeclaration", - "src": "4839:26:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "gc", - "params", - "proposalType", - "voteToRemoveParams" - ], - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5488, - "type": "type(struct GlobalConstraintRegistrar.GCProposal storage pointer)", - "value": "GCProposal" - }, - "id": 5626, - "name": "Identifier", - "src": "4868:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5586, - "type": "address", - "value": "_gc" - }, - "id": 5627, - "name": "Identifier", - "src": "4898:3:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5588, - "type": "bytes32", - "value": "_params" - }, - "id": 5628, - "name": "Identifier", - "src": "4924:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 5629, - "name": "Literal", - "src": "4960:1:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5590, - "type": "bytes32", - "value": "_voteToRemoveParams" - }, - "id": 5630, - "name": "Identifier", - "src": "4996:19:18" - } - ], - "id": 5631, - "name": "FunctionCall", - "src": "4868:159:18" - } - ], - "id": 5632, - "name": "VariableDeclarationStatement", - "src": "4839:188:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct GlobalConstraintRegistrar.GCProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct GlobalConstraintRegistrar.GCProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposals", - "referencedDeclaration": 5496, - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.GCProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5505, - "type": "mapping(address => struct GlobalConstraintRegistrar.Organization storage ref)", - "value": "organizationsData" - }, - "id": 5633, - "name": "Identifier", - "src": "5040:17:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5584, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5634, - "name": "Identifier", - "src": "5058:7:18" - } - ], - "id": 5635, - "name": "IndexAccess", - "src": "5040:26:18" - } - ], - "id": 5636, - "name": "MemberAccess", - "src": "5040:36:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5612, - "type": "bytes32", - "value": "proposalId" - }, - "id": 5637, - "name": "Identifier", - "src": "5077:10:18" - } - ], - "id": 5638, - "name": "IndexAccess", - "src": "5040:48:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5625, - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": "proposal" - }, - "id": 5639, - "name": "Identifier", - "src": "5091:8:18" - } - ], - "id": 5640, - "name": "Assignment", - "src": "5040:59:18" - } - ], - "id": 5641, - "name": "ExpressionStatement", - "src": "5040:59:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5457, - "type": "function (address,bytes32,address,address,bytes32,bytes32)", - "value": "NewGlobalConstraintsProposal" - }, - "id": 5642, - "name": "Identifier", - "src": "5110:28:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5584, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5643, - "name": "Identifier", - "src": "5153:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5612, - "type": "bytes32", - "value": "proposalId" - }, - "id": 5644, - "name": "Identifier", - "src": "5175:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5607, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 5645, - "name": "Identifier", - "src": "5200:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5586, - "type": "address", - "value": "_gc" - }, - "id": 5646, - "name": "Identifier", - "src": "5222:3:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5588, - "type": "bytes32", - "value": "_params" - }, - "id": 5647, - "name": "Identifier", - "src": "5240:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5590, - "type": "bytes32", - "value": "_voteToRemoveParams" - }, - "id": 5648, - "name": "Identifier", - "src": "5262:19:18" - } - ], - "id": 5649, - "name": "FunctionCall", - "src": "5110:182:18" - } - ], - "id": 5650, - "name": "ExpressionStatement", - "src": "5110:182:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "ownerVote", - "referencedDeclaration": 2597, - "type": "function (bytes32,uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5607, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 5651, - "name": "Identifier", - "src": "5303:7:18" - } - ], - "id": 5653, - "name": "MemberAccess", - "src": "5303:17:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5612, - "type": "bytes32", - "value": "proposalId" - }, - "id": 5654, - "name": "Identifier", - "src": "5321:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 5655, - "name": "Literal", - "src": "5333:1:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 5656, - "name": "Identifier", - "src": "5336:3:18" - } - ], - "id": 5657, - "name": "MemberAccess", - "src": "5336:10:18" - } - ], - "id": 5658, - "name": "FunctionCall", - "src": "5303:44:18" - } - ], - "id": 5659, - "name": "ExpressionStatement", - "src": "5303:44:18" - }, - { - "attributes": { - "functionReturnParameters": 5597 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5612, - "type": "bytes32", - "value": "proposalId" - }, - "id": 5660, - "name": "Identifier", - "src": "5421:10:18" - } - ], - "id": 5661, - "name": "Return", - "src": "5414:17:18" - } - ], - "id": 5662, - "name": "Block", - "src": "4555:884:18" - } - ], - "id": 5663, - "name": "FunctionDefinition", - "src": "4367:1072:18" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "proposeToRemoveGC", - "payable": false, - "scope": 5874, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 5763, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 5664, - "name": "UserDefinedTypeName", - "src": "5749:6:18" - } - ], - "id": 5665, - "name": "VariableDeclaration", - "src": "5749:14:18" - }, - { - "attributes": { - "constant": false, - "name": "_gc", - "scope": 5763, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5666, - "name": "ElementaryTypeName", - "src": "5765:7:18" - } - ], - "id": 5667, - "name": "VariableDeclaration", - "src": "5765:11:18" - } - ], - "id": 5668, - "name": "ParameterList", - "src": "5748:29:18" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 5763, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5672, - "name": "ElementaryTypeName", - "src": "5829:7:18" - } - ], - "id": 5673, - "name": "VariableDeclaration", - "src": "5829:7:18" - } - ], - "id": 5674, - "name": "ParameterList", - "src": "5828:9:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7129, - "type": "modifier (address)", - "value": "onlyRegisteredOrganization" - }, - "id": 5669, - "name": "Identifier", - "src": "5785:26:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5665, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5670, - "name": "Identifier", - "src": "5812:7:18" - } - ], - "id": 5671, - "name": "ModifierInvocation", - "src": "5785:35:18" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 5676 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "org", - "scope": 5763, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct GlobalConstraintRegistrar.Organization storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 5501, - "type": "struct GlobalConstraintRegistrar.Organization storage pointer" - }, - "id": 5675, - "name": "UserDefinedTypeName", - "src": "5849:12:18" - } - ], - "id": 5676, - "name": "VariableDeclaration", - "src": "5849:24:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5505, - "type": "mapping(address => struct GlobalConstraintRegistrar.Organization storage ref)", - "value": "organizationsData" - }, - "id": 5677, - "name": "Identifier", - "src": "5876:17:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5665, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5678, - "name": "Identifier", - "src": "5894:7:18" - } - ], - "id": 5679, - "name": "IndexAccess", - "src": "5876:26:18" - } - ], - "id": 5680, - "name": "VariableDeclarationStatement", - "src": "5849:53:18" - }, - { - "attributes": { - "assignments": [ - 5682 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 5763, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 5681, - "name": "UserDefinedTypeName", - "src": "5913:10:18" - } - ], - "id": 5682, - "name": "VariableDeclaration", - "src": "5913:21:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 5683, - "name": "Identifier", - "src": "5937:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 5684, - "name": "Identifier", - "src": "5948:6:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5665, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5685, - "name": "Identifier", - "src": "5955:7:18" - } - ], - "id": 5686, - "name": "FunctionCall", - "src": "5948:15:18" - } - ], - "id": 5687, - "name": "MemberAccess", - "src": "5948:21:18" - } - ], - "id": 5688, - "name": "FunctionCall", - "src": "5948:23:18" - } - ], - "id": 5689, - "name": "FunctionCall", - "src": "5937:35:18" - } - ], - "id": 5690, - "name": "VariableDeclarationStatement", - "src": "5913:59:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 5691, - "name": "Identifier", - "src": "5983:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "isGlobalConstraintRegister", - "referencedDeclaration": 3764, - "type": "function (address) view external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5682, - "type": "contract Controller", - "value": "controller" - }, - "id": 5692, - "name": "Identifier", - "src": "5991:10:18" - } - ], - "id": 5693, - "name": "MemberAccess", - "src": "5991:37:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5667, - "type": "address", - "value": "_gc" - }, - "id": 5694, - "name": "Identifier", - "src": "6029:3:18" - } - ], - "id": 5695, - "name": "FunctionCall", - "src": "5991:42:18" - } - ], - "id": 5696, - "name": "FunctionCall", - "src": "5983:51:18" - } - ], - "id": 5697, - "name": "ExpressionStatement", - "src": "5983:51:18" - }, - { - "attributes": { - "assignments": [ - 5699 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 5763, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct GlobalConstraintRegistrar.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 5510, - "type": "struct GlobalConstraintRegistrar.Parameters storage pointer" - }, - "id": 5698, - "name": "UserDefinedTypeName", - "src": "6045:10:18" - } - ], - "id": 5699, - "name": "VariableDeclaration", - "src": "6045:24:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5514, - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 5700, - "name": "Identifier", - "src": "6072:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 5701, - "name": "Identifier", - "src": "6083:27:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5665, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5702, - "name": "Identifier", - "src": "6111:7:18" - } - ], - "id": 5703, - "name": "FunctionCall", - "src": "6083:36:18" - } - ], - "id": 5704, - "name": "IndexAccess", - "src": "6072:48:18" - } - ], - "id": 5705, - "name": "VariableDeclarationStatement", - "src": "6045:75:18" - }, - { - "attributes": { - "assignments": [ - 5707 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 5763, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 5706, - "name": "UserDefinedTypeName", - "src": "6131:16:18" - } - ], - "id": 5707, - "name": "VariableDeclaration", - "src": "6131:24:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 5509, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5699, - "type": "struct GlobalConstraintRegistrar.Parameters memory", - "value": "params" - }, - "id": 5708, - "name": "Identifier", - "src": "6158:6:18" - } - ], - "id": 5709, - "name": "MemberAccess", - "src": "6158:14:18" - } - ], - "id": 5710, - "name": "VariableDeclarationStatement", - "src": "6131:41:18" - }, - { - "attributes": { - "assignments": [ - 5712 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposalId", - "scope": 5763, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5711, - "name": "ElementaryTypeName", - "src": "6183:7:18" - } - ], - "id": 5712, - "name": "VariableDeclaration", - "src": "6183:18:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_ExecutableInterface_$5155", - "typeString": "contract ExecutableInterface" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "propose", - "referencedDeclaration": 2570, - "type": "function (uint256,bytes32,address,contract ExecutableInterface) external returns (bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5707, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 5713, - "name": "Identifier", - "src": "6204:7:18" - } - ], - "id": 5714, - "name": "MemberAccess", - "src": "6204:15:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 5715, - "name": "Literal", - "src": "6220:1:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteToRemoveParams", - "referencedDeclaration": 5500, - "type": "mapping(address => bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5676, - "type": "struct GlobalConstraintRegistrar.Organization storage pointer", - "value": "org" - }, - "id": 5716, - "name": "Identifier", - "src": "6223:3:18" - } - ], - "id": 5717, - "name": "MemberAccess", - "src": "6223:22:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5667, - "type": "address", - "value": "_gc" - }, - "id": 5718, - "name": "Identifier", - "src": "6246:3:18" - } - ], - "id": 5719, - "name": "IndexAccess", - "src": "6223:27:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5665, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5720, - "name": "Identifier", - "src": "6252:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract ExecutableInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_GlobalConstraintRegistrar_$5874", - "typeString": "contract GlobalConstraintRegistrar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5155, - "type": "type(contract ExecutableInterface)", - "value": "ExecutableInterface" - }, - "id": 5721, - "name": "Identifier", - "src": "6261:19:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9809, - "type": "contract GlobalConstraintRegistrar", - "value": "this" - }, - "id": 5722, - "name": "Identifier", - "src": "6281:4:18" - } - ], - "id": 5723, - "name": "FunctionCall", - "src": "6261:25:18" - } - ], - "id": 5724, - "name": "FunctionCall", - "src": "6204:83:18" - } - ], - "id": 5725, - "name": "VariableDeclarationStatement", - "src": "6183:104:18" - }, - { - "attributes": { - "assignments": [ - 5727 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 5763, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "GCProposal", - "referencedDeclaration": 5488, - "type": "struct GlobalConstraintRegistrar.GCProposal storage pointer" - }, - "id": 5726, - "name": "UserDefinedTypeName", - "src": "6300:10:18" - } - ], - "id": 5727, - "name": "VariableDeclaration", - "src": "6300:26:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "gc", - "params", - "proposalType", - "voteToRemoveParams" - ], - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5488, - "type": "type(struct GlobalConstraintRegistrar.GCProposal storage pointer)", - "value": "GCProposal" - }, - "id": 5728, - "name": "Identifier", - "src": "6329:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5667, - "type": "address", - "value": "_gc" - }, - "id": 5729, - "name": "Identifier", - "src": "6359:3:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5730, - "name": "Literal", - "src": "6385:1:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 5731, - "name": "Literal", - "src": "6415:1:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5732, - "name": "Literal", - "src": "6451:1:18" - } - ], - "id": 5733, - "name": "FunctionCall", - "src": "6329:135:18" - } - ], - "id": 5734, - "name": "VariableDeclarationStatement", - "src": "6300:164:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct GlobalConstraintRegistrar.GCProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct GlobalConstraintRegistrar.GCProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposals", - "referencedDeclaration": 5496, - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.GCProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5505, - "type": "mapping(address => struct GlobalConstraintRegistrar.Organization storage ref)", - "value": "organizationsData" - }, - "id": 5735, - "name": "Identifier", - "src": "6477:17:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5665, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5736, - "name": "Identifier", - "src": "6495:7:18" - } - ], - "id": 5737, - "name": "IndexAccess", - "src": "6477:26:18" - } - ], - "id": 5738, - "name": "MemberAccess", - "src": "6477:36:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5712, - "type": "bytes32", - "value": "proposalId" - }, - "id": 5739, - "name": "Identifier", - "src": "6514:10:18" - } - ], - "id": 5740, - "name": "IndexAccess", - "src": "6477:48:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5727, - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": "proposal" - }, - "id": 5741, - "name": "Identifier", - "src": "6528:8:18" - } - ], - "id": 5742, - "name": "Assignment", - "src": "6477:59:18" - } - ], - "id": 5743, - "name": "ExpressionStatement", - "src": "6477:59:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5467, - "type": "function (address,bytes32,address,address)", - "value": "RemoveGlobalConstraintsProposal" - }, - "id": 5744, - "name": "Identifier", - "src": "6547:31:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5665, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 5745, - "name": "Identifier", - "src": "6579:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5712, - "type": "bytes32", - "value": "proposalId" - }, - "id": 5746, - "name": "Identifier", - "src": "6588:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5707, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 5747, - "name": "Identifier", - "src": "6600:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5667, - "type": "address", - "value": "_gc" - }, - "id": 5748, - "name": "Identifier", - "src": "6609:3:18" - } - ], - "id": 5749, - "name": "FunctionCall", - "src": "6547:66:18" - } - ], - "id": 5750, - "name": "ExpressionStatement", - "src": "6547:66:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "ownerVote", - "referencedDeclaration": 2597, - "type": "function (bytes32,uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5707, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 5751, - "name": "Identifier", - "src": "6624:7:18" - } - ], - "id": 5753, - "name": "MemberAccess", - "src": "6624:17:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5712, - "type": "bytes32", - "value": "proposalId" - }, - "id": 5754, - "name": "Identifier", - "src": "6642:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 5755, - "name": "Literal", - "src": "6654:1:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 5756, - "name": "Identifier", - "src": "6657:3:18" - } - ], - "id": 5757, - "name": "MemberAccess", - "src": "6657:10:18" - } - ], - "id": 5758, - "name": "FunctionCall", - "src": "6624:44:18" - } - ], - "id": 5759, - "name": "ExpressionStatement", - "src": "6624:44:18" - }, - { - "attributes": { - "functionReturnParameters": 5674 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5712, - "type": "bytes32", - "value": "proposalId" - }, - "id": 5760, - "name": "Identifier", - "src": "6742:10:18" - } - ], - "id": 5761, - "name": "Return", - "src": "6735:17:18" - } - ], - "id": 5762, - "name": "Block", - "src": "5838:922:18" - } - ], - "id": 5763, - "name": "FunctionDefinition", - "src": "5722:1038:18" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "execute", - "payable": false, - "scope": 5874, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 5873, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5764, - "name": "ElementaryTypeName", - "src": "7167:7:18" - } - ], - "id": 5765, - "name": "VariableDeclaration", - "src": "7167:19:18" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 5873, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5766, - "name": "ElementaryTypeName", - "src": "7188:7:18" - } - ], - "id": 5767, - "name": "VariableDeclaration", - "src": "7188:15:18" - }, - { - "attributes": { - "constant": false, - "name": "_param", - "scope": 5873, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 5768, - "name": "ElementaryTypeName", - "src": "7205:3:18" - } - ], - "id": 5769, - "name": "VariableDeclaration", - "src": "7205:10:18" - } - ], - "id": 5770, - "name": "ParameterList", - "src": "7166:50:18" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 5873, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 5771, - "name": "ElementaryTypeName", - "src": "7234:4:18" - } - ], - "id": 5772, - "name": "VariableDeclaration", - "src": "7234:4:18" - } - ], - "id": 5773, - "name": "ParameterList", - "src": "7233:6:18" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 5774, - "name": "Identifier", - "src": "7312:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 5509, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5514, - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 5775, - "name": "Identifier", - "src": "7320:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 5776, - "name": "Identifier", - "src": "7331:27:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 5777, - "name": "Identifier", - "src": "7359:6:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5767, - "type": "address", - "value": "_avatar" - }, - "id": 5778, - "name": "Identifier", - "src": "7366:7:18" - } - ], - "id": 5779, - "name": "FunctionCall", - "src": "7359:15:18" - } - ], - "id": 5780, - "name": "FunctionCall", - "src": "7331:44:18" - } - ], - "id": 5781, - "name": "IndexAccess", - "src": "7320:56:18" - } - ], - "id": 5782, - "name": "MemberAccess", - "src": "7320:64:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 5783, - "name": "Identifier", - "src": "7388:3:18" - } - ], - "id": 5784, - "name": "MemberAccess", - "src": "7388:10:18" - } - ], - "id": 5785, - "name": "BinaryOperation", - "src": "7320:78:18" - } - ], - "id": 5786, - "name": "FunctionCall", - "src": "7312:87:18" - } - ], - "id": 5787, - "name": "ExpressionStatement", - "src": "7312:87:18" - }, - { - "attributes": { - "assignments": [ - 5789 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "retVal", - "scope": 5873, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 5788, - "name": "ElementaryTypeName", - "src": "7410:4:18" - } - ], - "id": 5789, - "name": "VariableDeclaration", - "src": "7410:11:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 5790, - "name": "Literal", - "src": "7424:4:18" - } - ], - "id": 5791, - "name": "VariableDeclarationStatement", - "src": "7410:18:18" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5769, - "type": "int256", - "value": "_param" - }, - "id": 5792, - "name": "Identifier", - "src": "7485:6:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 5793, - "name": "Literal", - "src": "7495:1:18" - } - ], - "id": 5794, - "name": "BinaryOperation", - "src": "7485:11:18" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 5796 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 5873, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 5795, - "name": "UserDefinedTypeName", - "src": "7566:10:18" - } - ], - "id": 5796, - "name": "VariableDeclaration", - "src": "7566:21:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 5797, - "name": "Identifier", - "src": "7590:10:18" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 5798, - "name": "Identifier", - "src": "7601:6:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5767, - "type": "address", - "value": "_avatar" - }, - "id": 5799, - "name": "Identifier", - "src": "7608:7:18" - } - ], - "id": 5800, - "name": "FunctionCall", - "src": "7601:15:18" - } - ], - "id": 5801, - "name": "MemberAccess", - "src": "7601:21:18" - } - ], - "id": 5802, - "name": "FunctionCall", - "src": "7601:23:18" - } - ], - "id": 5803, - "name": "FunctionCall", - "src": "7590:35:18" - } - ], - "id": 5804, - "name": "VariableDeclarationStatement", - "src": "7566:59:18" - }, - { - "attributes": { - "assignments": [ - 5806 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 5873, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "GCProposal", - "referencedDeclaration": 5488, - "type": "struct GlobalConstraintRegistrar.GCProposal storage pointer" - }, - "id": 5805, - "name": "UserDefinedTypeName", - "src": "7640:10:18" - } - ], - "id": 5806, - "name": "VariableDeclaration", - "src": "7640:26:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.GCProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposals", - "referencedDeclaration": 5496, - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.GCProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5505, - "type": "mapping(address => struct GlobalConstraintRegistrar.Organization storage ref)", - "value": "organizationsData" - }, - "id": 5807, - "name": "Identifier", - "src": "7669:17:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5767, - "type": "address", - "value": "_avatar" - }, - "id": 5808, - "name": "Identifier", - "src": "7687:7:18" - } - ], - "id": 5809, - "name": "IndexAccess", - "src": "7669:26:18" - } - ], - "id": 5810, - "name": "MemberAccess", - "src": "7669:36:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5765, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 5811, - "name": "Identifier", - "src": "7706:11:18" - } - ], - "id": 5812, - "name": "IndexAccess", - "src": "7669:49:18" - } - ], - "id": 5813, - "name": "VariableDeclarationStatement", - "src": "7640:78:18" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposalType", - "referencedDeclaration": 5485, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5806, - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": "proposal" - }, - "id": 5814, - "name": "Identifier", - "src": "7761:8:18" - } - ], - "id": 5815, - "name": "MemberAccess", - "src": "7761:21:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 5816, - "name": "Literal", - "src": "7786:1:18" - } - ], - "id": 5817, - "name": "BinaryOperation", - "src": "7761:26:18" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5789, - "type": "bool", - "value": "retVal" - }, - "id": 5818, - "name": "Identifier", - "src": "7808:6:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "addGlobalConstraint", - "referencedDeclaration": 3822, - "type": "function (address,bytes32) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5796, - "type": "contract Controller", - "value": "controller" - }, - "id": 5819, - "name": "Identifier", - "src": "7817:10:18" - } - ], - "id": 5820, - "name": "MemberAccess", - "src": "7817:30:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "gc", - "referencedDeclaration": 5481, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5806, - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": "proposal" - }, - "id": 5821, - "name": "Identifier", - "src": "7848:8:18" - } - ], - "id": 5822, - "name": "MemberAccess", - "src": "7848:11:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "params", - "referencedDeclaration": 5483, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5806, - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": "proposal" - }, - "id": 5823, - "name": "Identifier", - "src": "7861:8:18" - } - ], - "id": 5824, - "name": "MemberAccess", - "src": "7861:15:18" - } - ], - "id": 5825, - "name": "FunctionCall", - "src": "7817:60:18" - } - ], - "id": 5826, - "name": "Assignment", - "src": "7808:69:18" - } - ], - "id": 5827, - "name": "ExpressionStatement", - "src": "7808:69:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteToRemoveParams", - "referencedDeclaration": 5500, - "type": "mapping(address => bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5505, - "type": "mapping(address => struct GlobalConstraintRegistrar.Organization storage ref)", - "value": "organizationsData" - }, - "id": 5828, - "name": "Identifier", - "src": "7896:17:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5767, - "type": "address", - "value": "_avatar" - }, - "id": 5829, - "name": "Identifier", - "src": "7914:7:18" - } - ], - "id": 5830, - "name": "IndexAccess", - "src": "7896:26:18" - } - ], - "id": 5831, - "name": "MemberAccess", - "src": "7896:45:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "gc", - "referencedDeclaration": 5481, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5806, - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": "proposal" - }, - "id": 5832, - "name": "Identifier", - "src": "7942:8:18" - } - ], - "id": 5833, - "name": "MemberAccess", - "src": "7942:11:18" - } - ], - "id": 5834, - "name": "IndexAccess", - "src": "7896:58:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteToRemoveParams", - "referencedDeclaration": 5487, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5806, - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": "proposal" - }, - "id": 5835, - "name": "Identifier", - "src": "7957:8:18" - } - ], - "id": 5836, - "name": "MemberAccess", - "src": "7957:27:18" - } - ], - "id": 5837, - "name": "Assignment", - "src": "7896:88:18" - } - ], - "id": 5838, - "name": "ExpressionStatement", - "src": "7896:88:18" - } - ], - "id": 5839, - "name": "Block", - "src": "7789:213:18" - } - ], - "id": 5840, - "name": "IfStatement", - "src": "7757:245:18" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposalType", - "referencedDeclaration": 5485, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5806, - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": "proposal" - }, - "id": 5841, - "name": "Identifier", - "src": "8046:8:18" - } - ], - "id": 5842, - "name": "MemberAccess", - "src": "8046:21:18" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 5843, - "name": "Literal", - "src": "8071:1:18" - } - ], - "id": 5844, - "name": "BinaryOperation", - "src": "8046:26:18" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5789, - "type": "bool", - "value": "retVal" - }, - "id": 5845, - "name": "Identifier", - "src": "8093:6:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "removeGlobalConstraint", - "referencedDeclaration": 3896, - "type": "function (address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5796, - "type": "contract Controller", - "value": "controller" - }, - "id": 5846, - "name": "Identifier", - "src": "8102:10:18" - } - ], - "id": 5847, - "name": "MemberAccess", - "src": "8102:33:18" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "gc", - "referencedDeclaration": 5481, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5806, - "type": "struct GlobalConstraintRegistrar.GCProposal memory", - "value": "proposal" - }, - "id": 5848, - "name": "Identifier", - "src": "8136:8:18" - } - ], - "id": 5849, - "name": "MemberAccess", - "src": "8136:11:18" - } - ], - "id": 5850, - "name": "FunctionCall", - "src": "8102:46:18" - } - ], - "id": 5851, - "name": "Assignment", - "src": "8093:55:18" - } - ], - "id": 5852, - "name": "ExpressionStatement", - "src": "8093:55:18" - } - ], - "id": 5853, - "name": "Block", - "src": "8074:92:18" - } - ], - "id": 5854, - "name": "IfStatement", - "src": "8042:124:18" - } - ], - "id": 5855, - "name": "Block", - "src": "7499:678:18" - } - ], - "id": 5856, - "name": "IfStatement", - "src": "7481:696:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct GlobalConstraintRegistrar.GCProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposals", - "referencedDeclaration": 5496, - "type": "mapping(bytes32 => struct GlobalConstraintRegistrar.GCProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct GlobalConstraintRegistrar.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5505, - "type": "mapping(address => struct GlobalConstraintRegistrar.Organization storage ref)", - "value": "organizationsData" - }, - "id": 5857, - "name": "Identifier", - "src": "8194:17:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5767, - "type": "address", - "value": "_avatar" - }, - "id": 5858, - "name": "Identifier", - "src": "8212:7:18" - } - ], - "id": 5859, - "name": "IndexAccess", - "src": "8194:26:18" - } - ], - "id": 5860, - "name": "MemberAccess", - "src": "8194:36:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5765, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 5861, - "name": "Identifier", - "src": "8231:11:18" - } - ], - "id": 5862, - "name": "IndexAccess", - "src": "8194:49:18" - } - ], - "id": 5863, - "name": "UnaryOperation", - "src": "8187:56:18" - } - ], - "id": 5864, - "name": "ExpressionStatement", - "src": "8187:56:18" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5473, - "type": "function (address,bytes32)", - "value": "ProposalExecuted" - }, - "id": 5865, - "name": "Identifier", - "src": "8254:16:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5767, - "type": "address", - "value": "_avatar" - }, - "id": 5866, - "name": "Identifier", - "src": "8271:7:18" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5765, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 5867, - "name": "Identifier", - "src": "8280:11:18" - } - ], - "id": 5868, - "name": "FunctionCall", - "src": "8254:38:18" - } - ], - "id": 5869, - "name": "ExpressionStatement", - "src": "8254:38:18" - }, - { - "attributes": { - "functionReturnParameters": 5773 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5789, - "type": "bool", - "value": "retVal" - }, - "id": 5870, - "name": "Identifier", - "src": "8310:6:18" - } - ], - "id": 5871, - "name": "Return", - "src": "8303:13:18" - } - ], - "id": 5872, - "name": "Block", - "src": "7240:1084:18" - } - ], - "id": 5873, - "name": "FunctionDefinition", - "src": "7150:1174:18" - } - ], - "id": 5874, - "name": "ContractDefinition", - "src": "264:8063:18" - } - ], - "id": 5875, - "name": "SourceUnit", - "src": "0:8329:18" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": { - "42": { - "events": { - "0x4e87f569c5a3f504eea38add71bbdd022e5d63d0ee92d4130c407b8d64941bc0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_gc", - "type": "address" - }, - { - "indexed": false, - "name": "_params", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_voteToRemoveParams", - "type": "bytes32" - } - ], - "name": "NewGlobalConstraintsProposal", - "type": "event" - }, - "0x661684a19fb0680f3f8beceaa9ee56c665ffec0875442e2cddc9a7a887d35c3e": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_gc", - "type": "address" - } - ], - "name": "RemoveGlobalConstraintsProposal", - "type": "event" - }, - "0x253ad9614c337848bbe7dc3b18b439d139ef5787282b5a517ba7296513d1f533": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "ProposalExecuted", - "type": "event" - }, - "0xb5a530776d05e9cd7b304c6670fc54c08de4635c6c958237204d61215ca1ce34": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalDeleted", - "type": "event" - }, - "0x2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e5": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - "0x3e49374a7db898f4d722a5bb59326d1c41e883a698b84df91f09ebe018070732": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0xa02270becd272930ff7139a79039aca343fea332" - }, - "1512051714758": { - "events": { - "0x4e87f569c5a3f504eea38add71bbdd022e5d63d0ee92d4130c407b8d64941bc0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_gc", - "type": "address" - }, - { - "indexed": false, - "name": "_params", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_voteToRemoveParams", - "type": "bytes32" - } - ], - "name": "NewGlobalConstraintsProposal", - "type": "event" - }, - "0x661684a19fb0680f3f8beceaa9ee56c665ffec0875442e2cddc9a7a887d35c3e": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_gc", - "type": "address" - } - ], - "name": "RemoveGlobalConstraintsProposal", - "type": "event" - }, - "0x253ad9614c337848bbe7dc3b18b439d139ef5787282b5a517ba7296513d1f533": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "ProposalExecuted", - "type": "event" - }, - "0xb5a530776d05e9cd7b304c6670fc54c08de4635c6c958237204d61215ca1ce34": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalDeleted", - "type": "event" - }, - "0x2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e5": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - "0x3e49374a7db898f4d722a5bb59326d1c41e883a698b84df91f09ebe018070732": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x6c3e1054419033030da0cd279a40cd32cee145d8" - } - }, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.887Z" -} \ No newline at end of file diff --git a/contracts/IntVoteInterface.json b/contracts/IntVoteInterface.json deleted file mode 100644 index b8b4d80a1..000000000 --- a/contracts/IntVoteInterface.json +++ /dev/null @@ -1,1631 +0,0 @@ -{ - "contractName": "IntVoteInterface", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - }, - { - "name": "_voter", - "type": "address" - } - ], - "name": "ownerVote", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "cancelProposal", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_numOfChoices", - "type": "uint256" - }, - { - "name": "_proposalParameters", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_executable", - "type": "address" - } - ], - "name": "propose", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "cancelVote", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - } - ], - "name": "vote", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "getNumberOfChoices", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - }, - { - "name": "_rep", - "type": "uint256" - }, - { - "name": "_token", - "type": "uint256" - } - ], - "name": "voteWithSpecifiedAmounts", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "isVotable", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../universalSchemes/ExecutableInterface.sol\";\r\n\r\n\r\ncontract IntVoteInterface {\r\n modifier onlyProposalOwner(bytes32 _proposalId) {_;}\r\n modifier votable(bytes32 _proposalId) {_;}\r\n\r\n function propose(\r\n uint _numOfChoices,\r\n bytes32 _proposalParameters,\r\n address _avatar,\r\n ExecutableInterface _executable\r\n ) public returns(bytes32);\r\n\r\n // Only owned proposals and only the owner:\r\n function cancelProposal(bytes32 _proposalId) public onlyProposalOwner(_proposalId) votable(_proposalId) returns(bool);\r\n\r\n // Only owned proposals and only the owner:\r\n function ownerVote(bytes32 _proposalId, uint _vote, address _voter) public onlyProposalOwner(_proposalId) returns(bool);\r\n\r\n function vote(bytes32 _proposalId, uint _vote) public votable(_proposalId) returns(bool);\r\n\r\n function voteWithSpecifiedAmounts(\r\n bytes32 _proposalId,\r\n uint _vote,\r\n uint _rep,\r\n uint _token) public votable(_proposalId) returns(bool);\r\n\r\n function cancelVote(bytes32 _proposalId) public votable(_proposalId);\r\n\r\n //@dev execute check if the proposal has been decided, and if so, execute the proposal\r\n //@param _proposalId the id of the proposal\r\n //@return bool true - the proposal has been executed\r\n // false - otherwise.\r\n function execute(bytes32 _proposalId) public votable(_proposalId) returns(bool);\r\n\r\n function getNumberOfChoices(bytes32 _proposalId) public constant returns(uint);\r\n\r\n function isVotable(bytes32 _proposalId) public constant returns(bool);\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\VotingMachines\\IntVoteInterface.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/IntVoteInterface.sol", - "exportedSymbols": { - "IntVoteInterface": [ - 2658 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 2544, - "name": "PragmaDirective", - "src": "0:24:3" - }, - { - "attributes": { - "SourceUnit": 5156, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/ExecutableInterface.sol", - "file": "../universalSchemes/ExecutableInterface.sol", - "scope": 2659, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2545, - "name": "ImportDirective", - "src": "28:53:3" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 2658 - ], - "name": "IntVoteInterface", - "scope": 2659 - }, - "children": [ - { - "attributes": { - "name": "onlyProposalOwner", - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2551, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2546, - "name": "ElementaryTypeName", - "src": "147:7:3" - } - ], - "id": 2547, - "name": "VariableDeclaration", - "src": "147:19:3" - } - ], - "id": 2548, - "name": "ParameterList", - "src": "146:21:3" - }, - { - "children": [ - { - "id": 2549, - "name": "PlaceholderStatement", - "src": "169:1:3" - } - ], - "id": 2550, - "name": "Block", - "src": "168:4:3" - } - ], - "id": 2551, - "name": "ModifierDefinition", - "src": "120:52:3" - }, - { - "attributes": { - "name": "votable", - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2557, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2552, - "name": "ElementaryTypeName", - "src": "195:7:3" - } - ], - "id": 2553, - "name": "VariableDeclaration", - "src": "195:19:3" - } - ], - "id": 2554, - "name": "ParameterList", - "src": "194:21:3" - }, - { - "children": [ - { - "id": 2555, - "name": "PlaceholderStatement", - "src": "217:1:3" - } - ], - "id": 2556, - "name": "Block", - "src": "216:4:3" - } - ], - "id": 2557, - "name": "ModifierDefinition", - "src": "178:42:3" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "propose", - "payable": false, - "scope": 2658, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_numOfChoices", - "scope": 2570, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2558, - "name": "ElementaryTypeName", - "src": "255:4:3" - } - ], - "id": 2559, - "name": "VariableDeclaration", - "src": "255:18:3" - }, - { - "attributes": { - "constant": false, - "name": "_proposalParameters", - "scope": 2570, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2560, - "name": "ElementaryTypeName", - "src": "284:7:3" - } - ], - "id": 2561, - "name": "VariableDeclaration", - "src": "284:27:3" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 2570, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2562, - "name": "ElementaryTypeName", - "src": "322:7:3" - } - ], - "id": 2563, - "name": "VariableDeclaration", - "src": "322:15:3" - }, - { - "attributes": { - "constant": false, - "name": "_executable", - "scope": 2570, - "stateVariable": false, - "storageLocation": "default", - "type": "contract ExecutableInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ExecutableInterface", - "referencedDeclaration": 5155, - "type": "contract ExecutableInterface" - }, - "id": 2564, - "name": "UserDefinedTypeName", - "src": "348:19:3" - } - ], - "id": 2565, - "name": "VariableDeclaration", - "src": "348:31:3" - } - ], - "id": 2566, - "name": "ParameterList", - "src": "244:146:3" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2570, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2567, - "name": "ElementaryTypeName", - "src": "406:7:3" - } - ], - "id": 2568, - "name": "VariableDeclaration", - "src": "406:7:3" - } - ], - "id": 2569, - "name": "ParameterList", - "src": "405:9:3" - } - ], - "id": 2570, - "name": "FunctionDefinition", - "src": "228:187:3" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "name": "cancelProposal", - "payable": false, - "scope": 2658, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2583, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2571, - "name": "ElementaryTypeName", - "src": "496:7:3" - } - ], - "id": 2572, - "name": "VariableDeclaration", - "src": "496:19:3" - } - ], - "id": 2573, - "name": "ParameterList", - "src": "495:21:3" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2583, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2580, - "name": "ElementaryTypeName", - "src": "584:4:3" - } - ], - "id": 2581, - "name": "VariableDeclaration", - "src": "584:4:3" - } - ], - "id": 2582, - "name": "ParameterList", - "src": "583:6:3" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2551, - "type": "modifier (bytes32)", - "value": "onlyProposalOwner" - }, - "id": 2574, - "name": "Identifier", - "src": "524:17:3" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2572, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2575, - "name": "Identifier", - "src": "542:11:3" - } - ], - "id": 2576, - "name": "ModifierInvocation", - "src": "524:30:3" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2557, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 2577, - "name": "Identifier", - "src": "555:7:3" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2572, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2578, - "name": "Identifier", - "src": "563:11:3" - } - ], - "id": 2579, - "name": "ModifierInvocation", - "src": "555:20:3" - } - ], - "id": 2583, - "name": "FunctionDefinition", - "src": "472:118:3" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "name": "ownerVote", - "payable": false, - "scope": 2658, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2597, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2584, - "name": "ElementaryTypeName", - "src": "666:7:3" - } - ], - "id": 2585, - "name": "VariableDeclaration", - "src": "666:19:3" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 2597, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2586, - "name": "ElementaryTypeName", - "src": "687:4:3" - } - ], - "id": 2587, - "name": "VariableDeclaration", - "src": "687:10:3" - }, - { - "attributes": { - "constant": false, - "name": "_voter", - "scope": 2597, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2588, - "name": "ElementaryTypeName", - "src": "699:7:3" - } - ], - "id": 2589, - "name": "VariableDeclaration", - "src": "699:14:3" - } - ], - "id": 2590, - "name": "ParameterList", - "src": "665:49:3" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2597, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2594, - "name": "ElementaryTypeName", - "src": "761:4:3" - } - ], - "id": 2595, - "name": "VariableDeclaration", - "src": "761:4:3" - } - ], - "id": 2596, - "name": "ParameterList", - "src": "760:6:3" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2551, - "type": "modifier (bytes32)", - "value": "onlyProposalOwner" - }, - "id": 2591, - "name": "Identifier", - "src": "722:17:3" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2585, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2592, - "name": "Identifier", - "src": "740:11:3" - } - ], - "id": 2593, - "name": "ModifierInvocation", - "src": "722:30:3" - } - ], - "id": 2597, - "name": "FunctionDefinition", - "src": "647:120:3" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "name": "vote", - "payable": false, - "scope": 2658, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2609, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2598, - "name": "ElementaryTypeName", - "src": "789:7:3" - } - ], - "id": 2599, - "name": "VariableDeclaration", - "src": "789:19:3" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 2609, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2600, - "name": "ElementaryTypeName", - "src": "810:4:3" - } - ], - "id": 2601, - "name": "VariableDeclaration", - "src": "810:10:3" - } - ], - "id": 2602, - "name": "ParameterList", - "src": "788:33:3" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2609, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2606, - "name": "ElementaryTypeName", - "src": "858:4:3" - } - ], - "id": 2607, - "name": "VariableDeclaration", - "src": "858:4:3" - } - ], - "id": 2608, - "name": "ParameterList", - "src": "857:6:3" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2557, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 2603, - "name": "Identifier", - "src": "829:7:3" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2599, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2604, - "name": "Identifier", - "src": "837:11:3" - } - ], - "id": 2605, - "name": "ModifierInvocation", - "src": "829:20:3" - } - ], - "id": 2609, - "name": "FunctionDefinition", - "src": "775:89:3" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "name": "voteWithSpecifiedAmounts", - "payable": false, - "scope": 2658, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2625, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2610, - "name": "ElementaryTypeName", - "src": "916:7:3" - } - ], - "id": 2611, - "name": "VariableDeclaration", - "src": "916:19:3" - }, - { - "attributes": { - "constant": false, - "name": "_vote", - "scope": 2625, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2612, - "name": "ElementaryTypeName", - "src": "946:4:3" - } - ], - "id": 2613, - "name": "VariableDeclaration", - "src": "946:10:3" - }, - { - "attributes": { - "constant": false, - "name": "_rep", - "scope": 2625, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2614, - "name": "ElementaryTypeName", - "src": "967:4:3" - } - ], - "id": 2615, - "name": "VariableDeclaration", - "src": "967:9:3" - }, - { - "attributes": { - "constant": false, - "name": "_token", - "scope": 2625, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2616, - "name": "ElementaryTypeName", - "src": "987:4:3" - } - ], - "id": 2617, - "name": "VariableDeclaration", - "src": "987:11:3" - } - ], - "id": 2618, - "name": "ParameterList", - "src": "905:94:3" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2625, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2622, - "name": "ElementaryTypeName", - "src": "1036:4:3" - } - ], - "id": 2623, - "name": "VariableDeclaration", - "src": "1036:4:3" - } - ], - "id": 2624, - "name": "ParameterList", - "src": "1035:6:3" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2557, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 2619, - "name": "Identifier", - "src": "1007:7:3" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2611, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2620, - "name": "Identifier", - "src": "1015:11:3" - } - ], - "id": 2621, - "name": "ModifierInvocation", - "src": "1007:20:3" - } - ], - "id": 2625, - "name": "FunctionDefinition", - "src": "872:170:3" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "name": "cancelVote", - "payable": false, - "scope": 2658, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2633, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2626, - "name": "ElementaryTypeName", - "src": "1070:7:3" - } - ], - "id": 2627, - "name": "VariableDeclaration", - "src": "1070:19:3" - } - ], - "id": 2628, - "name": "ParameterList", - "src": "1069:21:3" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 2632, - "name": "ParameterList", - "src": "1118:0:3" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2557, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 2629, - "name": "Identifier", - "src": "1098:7:3" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2627, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2630, - "name": "Identifier", - "src": "1106:11:3" - } - ], - "id": 2631, - "name": "ModifierInvocation", - "src": "1098:20:3" - } - ], - "id": 2633, - "name": "FunctionDefinition", - "src": "1050:69:3" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "name": "execute", - "payable": false, - "scope": 2658, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2643, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2634, - "name": "ElementaryTypeName", - "src": "1382:7:3" - } - ], - "id": 2635, - "name": "VariableDeclaration", - "src": "1382:19:3" - } - ], - "id": 2636, - "name": "ParameterList", - "src": "1381:21:3" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2643, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2640, - "name": "ElementaryTypeName", - "src": "1439:4:3" - } - ], - "id": 2641, - "name": "VariableDeclaration", - "src": "1439:4:3" - } - ], - "id": 2642, - "name": "ParameterList", - "src": "1438:6:3" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2557, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 2637, - "name": "Identifier", - "src": "1410:7:3" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2635, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2638, - "name": "Identifier", - "src": "1418:11:3" - } - ], - "id": 2639, - "name": "ModifierInvocation", - "src": "1410:20:3" - } - ], - "id": 2643, - "name": "FunctionDefinition", - "src": "1365:80:3" - }, - { - "attributes": { - "body": null, - "constant": true, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getNumberOfChoices", - "payable": false, - "scope": 2658, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2650, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2644, - "name": "ElementaryTypeName", - "src": "1481:7:3" - } - ], - "id": 2645, - "name": "VariableDeclaration", - "src": "1481:19:3" - } - ], - "id": 2646, - "name": "ParameterList", - "src": "1480:21:3" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2650, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2647, - "name": "ElementaryTypeName", - "src": "1526:4:3" - } - ], - "id": 2648, - "name": "VariableDeclaration", - "src": "1526:4:3" - } - ], - "id": 2649, - "name": "ParameterList", - "src": "1525:6:3" - } - ], - "id": 2650, - "name": "FunctionDefinition", - "src": "1453:79:3" - }, - { - "attributes": { - "body": null, - "constant": true, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "isVotable", - "payable": false, - "scope": 2658, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2657, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2651, - "name": "ElementaryTypeName", - "src": "1559:7:3" - } - ], - "id": 2652, - "name": "VariableDeclaration", - "src": "1559:19:3" - } - ], - "id": 2653, - "name": "ParameterList", - "src": "1558:21:3" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2657, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2654, - "name": "ElementaryTypeName", - "src": "1604:4:3" - } - ], - "id": 2655, - "name": "VariableDeclaration", - "src": "1604:4:3" - } - ], - "id": 2656, - "name": "ParameterList", - "src": "1603:6:3" - } - ], - "id": 2657, - "name": "FunctionDefinition", - "src": "1540:70:3" - } - ], - "id": 2658, - "name": "ContractDefinition", - "src": "87:1526:3" - } - ], - "id": 2659, - "name": "SourceUnit", - "src": "0:1615:3" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.823Z" -} \ No newline at end of file diff --git a/contracts/Migrations.json b/contracts/Migrations.json deleted file mode 100644 index 50b166ac2..000000000 --- a/contracts/Migrations.json +++ /dev/null @@ -1,839 +0,0 @@ -{ - "contractName": "Migrations", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "newAddress", - "type": "address" - } - ], - "name": "upgrade", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "last_completed_migration", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "completed", - "type": "uint256" - } - ], - "name": "setCompleted", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b60008054600160a060020a033316600160a060020a03199091161790556101e78061003b6000396000f3006060604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f0108114610066578063445df0ac146100875780638da5cb5b146100ac578063fdacd576146100db575b600080fd5b341561007157600080fd5b610085600160a060020a03600435166100f1565b005b341561009257600080fd5b61009a610186565b60405190815260200160405180910390f35b34156100b757600080fd5b6100bf61018c565b604051600160a060020a03909116815260200160405180910390f35b34156100e657600080fd5b61008560043561019b565b6000805433600160a060020a03908116911614156101825781905080600160a060020a031663fdacd5766001546040517c010000000000000000000000000000000000000000000000000000000063ffffffff84160281526004810191909152602401600060405180830381600087803b151561016d57600080fd5b6102c65a03f1151561017e57600080fd5b5050505b5050565b60015481565b600054600160a060020a031681565b60005433600160a060020a03908116911614156101b85760018190555b505600a165627a7a72305820d8987e7dd94a87c81ec13cf1f5c60eaf1f8a369904ab8dfbcf989a24d36676450029", - "deployedBytecode": "0x6060604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f0108114610066578063445df0ac146100875780638da5cb5b146100ac578063fdacd576146100db575b600080fd5b341561007157600080fd5b610085600160a060020a03600435166100f1565b005b341561009257600080fd5b61009a610186565b60405190815260200160405180910390f35b34156100b757600080fd5b6100bf61018c565b604051600160a060020a03909116815260200160405180910390f35b34156100e657600080fd5b61008560043561019b565b6000805433600160a060020a03908116911614156101825781905080600160a060020a031663fdacd5766001546040517c010000000000000000000000000000000000000000000000000000000063ffffffff84160281526004810191909152602401600060405180830381600087803b151561016d57600080fd5b6102c65a03f1151561017e57600080fd5b5050505b5050565b60015481565b600054600160a060020a031681565b60005433600160a060020a03908116911614156101b85760018190555b505600a165627a7a72305820d8987e7dd94a87c81ec13cf1f5c60eaf1f8a369904ab8dfbcf989a24d36676450029", - "sourceMap": "30:572:0:-;;;230:66;;;;;;;;270:5;:18;;-1:-1:-1;;;;;278:10:0;270:18;-1:-1:-1;;;;;;270:18:0;;;;;;30:572;;;;;;", - "deployedSourceMap": "30:572:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;423:176;;;;;;;;;;-1:-1:-1;;;;;423:176:0;;;;;;;84:36;;;;;;;;;;;;;;;;;;;;;;;;;;;57:20;;;;;;;;;;;;;;;-1:-1:-1;;;;;57:20:0;;;;;;;;;;;;;;304:111;;;;;;;;;;;;;;423:176;489:19;180:5;;166:10;-1:-1:-1;;;;;166:19:0;;;180:5;;166:19;162:53;;;522:10;489:44;;544:8;-1:-1:-1;;;;;544:21:0;;566:24;;544:47;;;;;;;;;;;;;;;;;;-1:-1:-1;544:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;162:53;423:176;;:::o;84:36::-;;;;:::o;57:20::-;;;-1:-1:-1;;;;;57:20:0;;:::o;304:111::-;180:5;;166:10;-1:-1:-1;;;;;166:19:0;;;180:5;;166:19;162:53;;;371:24;:36;;;162:53;304:111;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\n\r\ncontract Migrations {\r\n address public owner;\r\n uint public last_completed_migration;\r\n\r\n modifier restricted() {\r\n if (msg.sender == owner) {\r\n _;\r\n }\r\n }\r\n\r\n function Migrations() public {\r\n owner = msg.sender;\r\n }\r\n\r\n function setCompleted(uint completed) public restricted {\r\n last_completed_migration = completed;\r\n }\r\n\r\n function upgrade(address newAddress) public restricted {\r\n Migrations upgraded = Migrations(newAddress);\r\n upgraded.setCompleted(last_completed_migration);\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\Migrations.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/Migrations.sol", - "exportedSymbols": { - "Migrations": [ - 57 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 1, - "name": "PragmaDirective", - "src": "0:24:0" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 57 - ], - "name": "Migrations", - "scope": 58 - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "owner", - "scope": 57, - "stateVariable": true, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 2, - "name": "ElementaryTypeName", - "src": "57:7:0" - } - ], - "id": 3, - "name": "VariableDeclaration", - "src": "57:20:0" - }, - { - "attributes": { - "constant": false, - "name": "last_completed_migration", - "scope": 57, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4, - "name": "ElementaryTypeName", - "src": "84:4:0" - } - ], - "id": 5, - "name": "VariableDeclaration", - "src": "84:36:0" - }, - { - "attributes": { - "name": "restricted", - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6, - "name": "ParameterList", - "src": "148:2:0" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 7, - "name": "Identifier", - "src": "166:3:0" - } - ], - "id": 8, - "name": "MemberAccess", - "src": "166:10:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3, - "type": "address", - "value": "owner" - }, - "id": 9, - "name": "Identifier", - "src": "180:5:0" - } - ], - "id": 10, - "name": "BinaryOperation", - "src": "166:19:0" - }, - { - "children": [ - { - "id": 11, - "name": "PlaceholderStatement", - "src": "202:1:0" - } - ], - "id": 12, - "name": "Block", - "src": "187:28:0" - } - ], - "id": 13, - "name": "IfStatement", - "src": "162:53:0" - } - ], - "id": 14, - "name": "Block", - "src": "151:71:0" - } - ], - "id": 15, - "name": "ModifierDefinition", - "src": "129:93:0" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "Migrations", - "payable": false, - "scope": 57, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 16, - "name": "ParameterList", - "src": "249:2:0" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 17, - "name": "ParameterList", - "src": "259:0:0" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3, - "type": "address", - "value": "owner" - }, - "id": 18, - "name": "Identifier", - "src": "270:5:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 19, - "name": "Identifier", - "src": "278:3:0" - } - ], - "id": 20, - "name": "MemberAccess", - "src": "278:10:0" - } - ], - "id": 21, - "name": "Assignment", - "src": "270:18:0" - } - ], - "id": 22, - "name": "ExpressionStatement", - "src": "270:18:0" - } - ], - "id": 23, - "name": "Block", - "src": "259:37:0" - } - ], - "id": 24, - "name": "FunctionDefinition", - "src": "230:66:0" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "setCompleted", - "payable": false, - "scope": 57, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "completed", - "scope": 36, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 25, - "name": "ElementaryTypeName", - "src": "326:4:0" - } - ], - "id": 26, - "name": "VariableDeclaration", - "src": "326:14:0" - } - ], - "id": 27, - "name": "ParameterList", - "src": "325:16:0" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 30, - "name": "ParameterList", - "src": "360:0:0" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 15, - "type": "modifier ()", - "value": "restricted" - }, - "id": 28, - "name": "Identifier", - "src": "349:10:0" - } - ], - "id": 29, - "name": "ModifierInvocation", - "src": "349:10:0" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5, - "type": "uint256", - "value": "last_completed_migration" - }, - "id": 31, - "name": "Identifier", - "src": "371:24:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 26, - "type": "uint256", - "value": "completed" - }, - "id": 32, - "name": "Identifier", - "src": "398:9:0" - } - ], - "id": 33, - "name": "Assignment", - "src": "371:36:0" - } - ], - "id": 34, - "name": "ExpressionStatement", - "src": "371:36:0" - } - ], - "id": 35, - "name": "Block", - "src": "360:55:0" - } - ], - "id": 36, - "name": "FunctionDefinition", - "src": "304:111:0" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "upgrade", - "payable": false, - "scope": 57, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "newAddress", - "scope": 56, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 37, - "name": "ElementaryTypeName", - "src": "440:7:0" - } - ], - "id": 38, - "name": "VariableDeclaration", - "src": "440:18:0" - } - ], - "id": 39, - "name": "ParameterList", - "src": "439:20:0" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 42, - "name": "ParameterList", - "src": "478:0:0" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 15, - "type": "modifier ()", - "value": "restricted" - }, - "id": 40, - "name": "Identifier", - "src": "467:10:0" - } - ], - "id": 41, - "name": "ModifierInvocation", - "src": "467:10:0" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 44 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "upgraded", - "scope": 56, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Migrations", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Migrations", - "referencedDeclaration": 57, - "type": "contract Migrations" - }, - "id": 43, - "name": "UserDefinedTypeName", - "src": "489:10:0" - } - ], - "id": 44, - "name": "VariableDeclaration", - "src": "489:19:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Migrations", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 57, - "type": "type(contract Migrations)", - "value": "Migrations" - }, - "id": 45, - "name": "Identifier", - "src": "511:10:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 38, - "type": "address", - "value": "newAddress" - }, - "id": 46, - "name": "Identifier", - "src": "522:10:0" - } - ], - "id": 47, - "name": "FunctionCall", - "src": "511:22:0" - } - ], - "id": 48, - "name": "VariableDeclarationStatement", - "src": "489:44:0" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "setCompleted", - "referencedDeclaration": 36, - "type": "function (uint256) external" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 44, - "type": "contract Migrations", - "value": "upgraded" - }, - "id": 49, - "name": "Identifier", - "src": "544:8:0" - } - ], - "id": 51, - "name": "MemberAccess", - "src": "544:21:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5, - "type": "uint256", - "value": "last_completed_migration" - }, - "id": 52, - "name": "Identifier", - "src": "566:24:0" - } - ], - "id": 53, - "name": "FunctionCall", - "src": "544:47:0" - } - ], - "id": 54, - "name": "ExpressionStatement", - "src": "544:47:0" - } - ], - "id": 55, - "name": "Block", - "src": "478:121:0" - } - ], - "id": 56, - "name": "FunctionDefinition", - "src": "423:176:0" - } - ], - "id": 57, - "name": "ContractDefinition", - "src": "30:572:0" - } - ], - "id": 58, - "name": "SourceUnit", - "src": "0:604:0" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": { - "42": { - "events": {}, - "links": {}, - "address": "0xbece03462fffccae79b4b5fbf858025bfb930eb2" - }, - "1512051714758": { - "events": {}, - "links": {}, - "address": "0x7016b1a2d5f5bc5107161ef111d06dfd09843ba5" - } - }, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.930Z" -} \ No newline at end of file diff --git a/contracts/MintableToken.json b/contracts/MintableToken.json deleted file mode 100644 index 986aff561..000000000 --- a/contracts/MintableToken.json +++ /dev/null @@ -1,1668 +0,0 @@ -{ - "contractName": "MintableToken", - "abi": [ - { - "constant": true, - "inputs": [], - "name": "mintingFinished", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "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": false, - "inputs": [ - { - "name": "_to", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - } - ], - "name": "mint", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseApproval", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "balance", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "finishMinting", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "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": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_addedValue", - "type": "uint256" - } - ], - "name": "increaseApproval", - "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" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "amount", - "type": "uint256" - } - ], - "name": "Mint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [], - "name": "MintFinished", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "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" - } - ], - "bytecode": "0x606060405260038054600160a860020a03191633600160a060020a0316179055610a078061002e6000396000f3006060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b81146100c9578063095ea7b3146100f057806318160ddd1461011257806323b872dd1461013757806340c10f191461015f578063661884631461018157806370a08231146101a35780637d64bcb4146101c25780638da5cb5b146101d5578063a9059cbb14610204578063d73dd62314610226578063dd62ed3e14610248578063f2fde38b1461026d575b600080fd5b34156100d457600080fd5b6100dc61028e565b604051901515815260200160405180910390f35b34156100fb57600080fd5b6100dc600160a060020a036004351660243561029e565b341561011d57600080fd5b61012561030a565b60405190815260200160405180910390f35b341561014257600080fd5b6100dc600160a060020a0360043581169060243516604435610310565b341561016a57600080fd5b6100dc600160a060020a0360043516602435610492565b341561018c57600080fd5b6100dc600160a060020a036004351660243561059f565b34156101ae57600080fd5b610125600160a060020a0360043516610699565b34156101cd57600080fd5b6100dc6106b4565b34156101e057600080fd5b6101e861073f565b604051600160a060020a03909116815260200160405180910390f35b341561020f57600080fd5b6100dc600160a060020a036004351660243561074e565b341561023157600080fd5b6100dc600160a060020a0360043516602435610849565b341561025357600080fd5b610125600160a060020a03600435811690602435166108ed565b341561027857600080fd5b61028c600160a060020a0360043516610918565b005b60035460a060020a900460ff1681565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a038316151561032757600080fd5b600160a060020a03841660009081526001602052604090205482111561034c57600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561037f57600080fd5b600160a060020a0384166000908152600160205260409020546103a8908363ffffffff6109b316565b600160a060020a0380861660009081526001602052604080822093909355908516815220546103dd908363ffffffff6109c516565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610425908363ffffffff6109b316565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60035460009033600160a060020a039081169116146104b057600080fd5b60035460a060020a900460ff16156104c757600080fd5b6000546104da908363ffffffff6109c516565b6000908155600160a060020a038416815260016020526040902054610505908363ffffffff6109c516565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156105fc57600160a060020a033381166000908152600260209081526040808320938816835292905290812055610633565b61060c818463ffffffff6109b316565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a039081169116146106d257600080fd5b60035460a060020a900460ff16156106e957600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b600354600160a060020a031681565b6000600160a060020a038316151561076557600080fd5b600160a060020a03331660009081526001602052604090205482111561078a57600080fd5b600160a060020a0333166000908152600160205260409020546107b3908363ffffffff6109b316565b600160a060020a0333811660009081526001602052604080822093909355908516815220546107e8908363ffffffff6109c516565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610881908363ffffffff6109c516565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461093357600080fd5b600160a060020a038116151561094857600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000828211156109bf57fe5b50900390565b6000828201838110156109d457fe5b93925050505600a165627a7a723058205e3d491941013f1bd336ae4d73d04dffebf76fd1122e21cf403693f402bf5abb0029", - "deployedBytecode": "0x6060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b81146100c9578063095ea7b3146100f057806318160ddd1461011257806323b872dd1461013757806340c10f191461015f578063661884631461018157806370a08231146101a35780637d64bcb4146101c25780638da5cb5b146101d5578063a9059cbb14610204578063d73dd62314610226578063dd62ed3e14610248578063f2fde38b1461026d575b600080fd5b34156100d457600080fd5b6100dc61028e565b604051901515815260200160405180910390f35b34156100fb57600080fd5b6100dc600160a060020a036004351660243561029e565b341561011d57600080fd5b61012561030a565b60405190815260200160405180910390f35b341561014257600080fd5b6100dc600160a060020a0360043581169060243516604435610310565b341561016a57600080fd5b6100dc600160a060020a0360043516602435610492565b341561018c57600080fd5b6100dc600160a060020a036004351660243561059f565b34156101ae57600080fd5b610125600160a060020a0360043516610699565b34156101cd57600080fd5b6100dc6106b4565b34156101e057600080fd5b6101e861073f565b604051600160a060020a03909116815260200160405180910390f35b341561020f57600080fd5b6100dc600160a060020a036004351660243561074e565b341561023157600080fd5b6100dc600160a060020a0360043516602435610849565b341561025357600080fd5b610125600160a060020a03600435811690602435166108ed565b341561027857600080fd5b61028c600160a060020a0360043516610918565b005b60035460a060020a900460ff1681565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a038316151561032757600080fd5b600160a060020a03841660009081526001602052604090205482111561034c57600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561037f57600080fd5b600160a060020a0384166000908152600160205260409020546103a8908363ffffffff6109b316565b600160a060020a0380861660009081526001602052604080822093909355908516815220546103dd908363ffffffff6109c516565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610425908363ffffffff6109b316565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60035460009033600160a060020a039081169116146104b057600080fd5b60035460a060020a900460ff16156104c757600080fd5b6000546104da908363ffffffff6109c516565b6000908155600160a060020a038416815260016020526040902054610505908363ffffffff6109c516565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156105fc57600160a060020a033381166000908152600260209081526040808320938816835292905290812055610633565b61060c818463ffffffff6109b316565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b60035460009033600160a060020a039081169116146106d257600080fd5b60035460a060020a900460ff16156106e957600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b600354600160a060020a031681565b6000600160a060020a038316151561076557600080fd5b600160a060020a03331660009081526001602052604090205482111561078a57600080fd5b600160a060020a0333166000908152600160205260409020546107b3908363ffffffff6109b316565b600160a060020a0333811660009081526001602052604080822093909355908516815220546107e8908363ffffffff6109c516565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610881908363ffffffff6109c516565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461093357600080fd5b600160a060020a038116151561094857600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000828211156109bf57fe5b50900390565b6000828201838110156109d457fe5b93925050505600a165627a7a723058205e3d491941013f1bd336ae4d73d04dffebf76fd1122e21cf403693f402bf5abb0029", - "sourceMap": "386:980:34:-;;;514:35;;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;386:980:34;;;-1:-1:-1;386:980:34;;", - "deployedSourceMap": "386:980:34:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;514:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1799:183:35;;;;;;;;;;-1:-1:-1;;;;;1799:183:35;;;;;;;179:26:33;;;;;;;;;;;;;;;;;;;;;;;;;;;737:439:35;;;;;;;;;;-1:-1:-1;;;;;737:439:35;;;;;;;;;;;;853:262:34;;;;;;;;;;-1:-1:-1;;;;;853:262:34;;;;;;;2928:398:35;;;;;;;;;;-1:-1:-1;;;;;2928:398:35;;;;;;;1018:107:30;;;;;;;;;;-1:-1:-1;;;;;1018:107:30;;;;;1229:135:34;;;;;;;;;;;;238:20:29;;;;;;;;;;;;;;;-1:-1:-1;;;;;238:20:29;;;;;;;;;;;;;;437:379:30;;;;;;;;;;-1:-1:-1;;;;;437:379:30;;;;;;;2667:257:35;;;;;;;;;;-1:-1:-1;;;;;2667:257:35;;;;;;;2301:126;;;;;;;;;;-1:-1:-1;;;;;2301:126:35;;;;;;;;;;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;;;514:35:34;;;-1:-1:-1;;;514:35:34;;;;;:::o;1799:183:35:-;-1:-1:-1;;;;;1886:10:35;1878:19;;1866:4;1878:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;;:38;;;1866:4;;1878:29;:19;1922:38;;1910:6;;1922:38;;;;;;;;;;;;;-1:-1:-1;1973:4:35;1799:183;;;;:::o;179:26:33:-;;;;:::o;737:439:35:-;819:4;-1:-1:-1;;;;;839:17:35;;;;831:26;;;;;;-1:-1:-1;;;;;881:15:35;;;;;;:8;:15;;;;;;871:25;;;863:34;;;;;;-1:-1:-1;;;;;921:14:35;;;;;;;:7;:14;;;;;;;;936:10;921:26;;;;;;;;;;911:36;;;903:45;;;;;;-1:-1:-1;;;;;973:15:35;;;;;;:8;:15;;;;;;:27;;993:6;973:27;:19;:27;:::i;:::-;-1:-1:-1;;;;;955:15:35;;;;;;;:8;:15;;;;;;:45;;;;1022:13;;;;;;;:25;;1040:6;1022:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;1006:13:35;;;;;;;:8;:13;;;;;;;;:41;;;;1082:14;;;;;:7;:14;;;;;1097:10;1082:26;;;;;;;;;;;:38;;1113:6;1082:38;:30;:38;:::i;:::-;-1:-1:-1;;;;;1053:14:35;;;;;;;:7;:14;;;;;;;;1068:10;1053:26;;;;;;;;;;;:67;;;;1126:28;;;;;;1147:6;;1126:28;;;;;;;;;;;;;-1:-1:-1;1167:4:35;737:439;;;;;:::o;853:262:34:-;654:5:29;;931:4:34;;640:10:29;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;589:15:34;;-1:-1:-1;;;589:15:34;;;;588:16;580:25;;;;;;957:11;;:24;;973:7;957:24;:15;:24;:::i;:::-;943:11;:38;;;-1:-1:-1;;;;;1003:13:34;;;;:8;:13;;;;;;:26;;1021:7;1003:26;:17;:26;:::i;:::-;-1:-1:-1;;;;;987:13:34;;;;;;:8;:13;;;;;;;:42;;;;:13;1035:18;;1045:7;;1035:18;;;;;;;;;;;;;-1:-1:-1;;;;;1059:34:34;;1076:1;1059:34;1085:7;1059:34;;;;;;;;;;;;;;-1:-1:-1;1106:4:34;853:262;;;;:::o;2928:398:35:-;-1:-1:-1;;;;;3047:10:35;3039:19;;3011:4;3039:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;3078:27;;;3074:164;;;-1:-1:-1;;;;;3123:10:35;3115:19;;3147:1;3115:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;:33;3074:164;;;3201:30;:8;3214:16;3201:30;:12;:30;:::i;:::-;-1:-1:-1;;;;;3177:10:35;3169:19;;;;;;:7;:19;;;;;;;;:29;;;;;;;;;:62;3074:164;-1:-1:-1;;;;;3252:10:35;3243:61;;3274:19;;;;:7;:19;;;;;;;;3243:61;;;3274:29;;;;;;;;;;;;3243:61;;;;;;;;;;;;;;;-1:-1:-1;3317:4:35;;2928:398;-1:-1:-1;;;2928:398:35:o;1018:107:30:-;-1:-1:-1;;;;;1104:16:30;1074:15;1104:16;;;:8;:16;;;;;;;1018:107::o;1229:135:34:-;654:5:29;;1288:4:34;;640:10:29;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;589:15:34;;-1:-1:-1;;;589:15:34;;;;588:16;580:25;;;;;;1300:15;:22;;-1:-1:-1;;1300:22:34;-1:-1:-1;;;1300:22:34;;;1328:14;;;;;;;;;;-1:-1:-1;1355:4:34;1229:135;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;437:379:30:-;500:4;-1:-1:-1;;;;;520:17:30;;;;512:26;;;;;;-1:-1:-1;;;;;571:10:30;562:20;;;;;:8;:20;;;;;;552:30;;;544:39;;;;;;-1:-1:-1;;;;;685:10:30;676:20;;;;;:8;:20;;;;;;:32;;701:6;676:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;662:10:30;653:20;;;;;;:8;:20;;;;;;:55;;;;730:13;;;;;;;:25;;748:6;730:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;714:13:30;;;;;;;:8;:13;;;;;;;:41;;;;:13;770:10;761:33;;;;;;787:6;;761:33;;;;;;;;;;;;;-1:-1:-1;807:4:30;437:379;;;;:::o;2667:257:35:-;-1:-1:-1;;;;;2797:10:35;2789:19;;2745:4;2789:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;:46;;2823:11;2789:46;:33;:46;:::i;:::-;-1:-1:-1;;;;;2765:10:35;2757:19;;;;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;;;:78;;;:29;;:19;;2841:61;;2757:78;2841:61;;;;;;;;;;;;;-1:-1:-1;2915:4:35;2667:257;;;;:::o;2301:126::-;-1:-1:-1;;;;;2397:15:35;;;2375:7;2397:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;2301:126::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;584:110:28:-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;698:129::-;756:7;783:5;;;801:6;;;;794:14;;;;821:1;698:129;-1:-1:-1;;;698:129:28:o", - "source": "pragma solidity ^0.4.18;\n\n\nimport './StandardToken.sol';\nimport '../ownership/Ownable.sol';\n\n\n\n/**\n * @title Mintable token\n * @dev Simple ERC20 Token example, with mintable token creation\n * @dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120\n * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol\n */\n\ncontract MintableToken is StandardToken, Ownable {\n event Mint(address indexed to, uint256 amount);\n event MintFinished();\n\n bool public mintingFinished = false;\n\n\n modifier canMint() {\n require(!mintingFinished);\n _;\n }\n\n /**\n * @dev Function to mint tokens\n * @param _to The address that will receive the minted tokens.\n * @param _amount The amount of tokens to mint.\n * @return A boolean that indicates if the operation was successful.\n */\n function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) {\n totalSupply = totalSupply.add(_amount);\n balances[_to] = balances[_to].add(_amount);\n Mint(_to, _amount);\n Transfer(address(0), _to, _amount);\n return true;\n }\n\n /**\n * @dev Function to stop minting new tokens.\n * @return True if the operation was successful.\n */\n function finishMinting() onlyOwner canMint public returns (bool) {\n mintingFinished = true;\n MintFinished();\n return true;\n }\n}\n", - "sourcePath": "zeppelin-solidity/contracts/token/MintableToken.sol", - "ast": { - "attributes": { - "absolutePath": "zeppelin-solidity/contracts/token/MintableToken.sol", - "exportedSymbols": { - "MintableToken": [ - 9454 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 9361, - "name": "PragmaDirective", - "src": "0:24:34" - }, - { - "attributes": { - "SourceUnit": 9701, - "absolutePath": "zeppelin-solidity/contracts/token/StandardToken.sol", - "file": "./StandardToken.sol", - "scope": 9455, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 9362, - "name": "ImportDirective", - "src": "27:29:34" - }, - { - "attributes": { - "SourceUnit": 9141, - "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "file": "../ownership/Ownable.sol", - "scope": 9455, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 9363, - "name": "ImportDirective", - "src": "57:34:34" - }, - { - "attributes": { - "contractDependencies": [ - 9140, - 9226, - 9330, - 9359, - 9700 - ], - "contractKind": "contract", - "documentation": "@title Mintable token\n@dev Simple ERC20 Token example, with mintable token creation\n@dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120\nBased on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 9454, - 9140, - 9700, - 9226, - 9330, - 9359 - ], - "name": "MintableToken", - "scope": 9455 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 9364, - "name": "UserDefinedTypeName", - "src": "412:13:34" - } - ], - "id": 9365, - "name": "InheritanceSpecifier", - "src": "412:13:34" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Ownable", - "referencedDeclaration": 9140, - "type": "contract Ownable" - }, - "id": 9366, - "name": "UserDefinedTypeName", - "src": "427:7:34" - } - ], - "id": 9367, - "name": "InheritanceSpecifier", - "src": "427:7:34" - }, - { - "attributes": { - "anonymous": false, - "name": "Mint" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "to", - "scope": 9373, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9368, - "name": "ElementaryTypeName", - "src": "450:7:34" - } - ], - "id": 9369, - "name": "VariableDeclaration", - "src": "450:18:34" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "amount", - "scope": 9373, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9370, - "name": "ElementaryTypeName", - "src": "470:7:34" - } - ], - "id": 9371, - "name": "VariableDeclaration", - "src": "470:14:34" - } - ], - "id": 9372, - "name": "ParameterList", - "src": "449:36:34" - } - ], - "id": 9373, - "name": "EventDefinition", - "src": "439:47:34" - }, - { - "attributes": { - "anonymous": false, - "name": "MintFinished" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 9374, - "name": "ParameterList", - "src": "507:2:34" - } - ], - "id": 9375, - "name": "EventDefinition", - "src": "489:21:34" - }, - { - "attributes": { - "constant": false, - "name": "mintingFinished", - "scope": 9454, - "stateVariable": true, - "storageLocation": "default", - "type": "bool", - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9376, - "name": "ElementaryTypeName", - "src": "514:4:34" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 9377, - "name": "Literal", - "src": "544:5:34" - } - ], - "id": 9378, - "name": "VariableDeclaration", - "src": "514:35:34" - }, - { - "attributes": { - "name": "canMint", - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 9379, - "name": "ParameterList", - "src": "571:2:34" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 9380, - "name": "Identifier", - "src": "580:7:34" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9378, - "type": "bool", - "value": "mintingFinished" - }, - "id": 9381, - "name": "Identifier", - "src": "589:15:34" - } - ], - "id": 9382, - "name": "UnaryOperation", - "src": "588:16:34" - } - ], - "id": 9383, - "name": "FunctionCall", - "src": "580:25:34" - } - ], - "id": 9384, - "name": "ExpressionStatement", - "src": "580:25:34" - }, - { - "id": 9385, - "name": "PlaceholderStatement", - "src": "611:1:34" - } - ], - "id": 9386, - "name": "Block", - "src": "574:43:34" - } - ], - "id": 9387, - "name": "ModifierDefinition", - "src": "555:62:34" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "mint", - "payable": false, - "scope": 9454, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 9434, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9388, - "name": "ElementaryTypeName", - "src": "867:7:34" - } - ], - "id": 9389, - "name": "VariableDeclaration", - "src": "867:11:34" - }, - { - "attributes": { - "constant": false, - "name": "_amount", - "scope": 9434, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9390, - "name": "ElementaryTypeName", - "src": "880:7:34" - } - ], - "id": 9391, - "name": "VariableDeclaration", - "src": "880:15:34" - } - ], - "id": 9392, - "name": "ParameterList", - "src": "866:30:34" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9434, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9397, - "name": "ElementaryTypeName", - "src": "931:4:34" - } - ], - "id": 9398, - "name": "VariableDeclaration", - "src": "931:4:34" - } - ], - "id": 9399, - "name": "ParameterList", - "src": "930:6:34" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 9393, - "name": "Identifier", - "src": "897:9:34" - } - ], - "id": 9394, - "name": "ModifierInvocation", - "src": "897:9:34" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9387, - "type": "modifier ()", - "value": "canMint" - }, - "id": 9395, - "name": "Identifier", - "src": "907:7:34" - } - ], - "id": 9396, - "name": "ModifierInvocation", - "src": "907:7:34" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9334, - "type": "uint256", - "value": "totalSupply" - }, - "id": 9400, - "name": "Identifier", - "src": "943:11:34" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9334, - "type": "uint256", - "value": "totalSupply" - }, - "id": 9401, - "name": "Identifier", - "src": "957:11:34" - } - ], - "id": 9402, - "name": "MemberAccess", - "src": "957:15:34" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9391, - "type": "uint256", - "value": "_amount" - }, - "id": 9403, - "name": "Identifier", - "src": "973:7:34" - } - ], - "id": 9404, - "name": "FunctionCall", - "src": "957:24:34" - } - ], - "id": 9405, - "name": "Assignment", - "src": "943:38:34" - } - ], - "id": 9406, - "name": "ExpressionStatement", - "src": "943:38:34" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9407, - "name": "Identifier", - "src": "987:8:34" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9389, - "type": "address", - "value": "_to" - }, - "id": 9408, - "name": "Identifier", - "src": "996:3:34" - } - ], - "id": 9409, - "name": "IndexAccess", - "src": "987:13:34" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9410, - "name": "Identifier", - "src": "1003:8:34" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9389, - "type": "address", - "value": "_to" - }, - "id": 9411, - "name": "Identifier", - "src": "1012:3:34" - } - ], - "id": 9412, - "name": "IndexAccess", - "src": "1003:13:34" - } - ], - "id": 9413, - "name": "MemberAccess", - "src": "1003:17:34" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9391, - "type": "uint256", - "value": "_amount" - }, - "id": 9414, - "name": "Identifier", - "src": "1021:7:34" - } - ], - "id": 9415, - "name": "FunctionCall", - "src": "1003:26:34" - } - ], - "id": 9416, - "name": "Assignment", - "src": "987:42:34" - } - ], - "id": 9417, - "name": "ExpressionStatement", - "src": "987:42:34" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9373, - "type": "function (address,uint256)", - "value": "Mint" - }, - "id": 9418, - "name": "Identifier", - "src": "1035:4:34" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9389, - "type": "address", - "value": "_to" - }, - "id": 9419, - "name": "Identifier", - "src": "1040:3:34" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9391, - "type": "uint256", - "value": "_amount" - }, - "id": 9420, - "name": "Identifier", - "src": "1045:7:34" - } - ], - "id": 9421, - "name": "FunctionCall", - "src": "1035:18:34" - } - ], - "id": 9422, - "name": "ExpressionStatement", - "src": "1035:18:34" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9358, - "type": "function (address,address,uint256)", - "value": "Transfer" - }, - "id": 9423, - "name": "Identifier", - "src": "1059:8:34" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 9424, - "name": "ElementaryTypeNameExpression", - "src": "1068:7:34" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 9425, - "name": "Literal", - "src": "1076:1:34" - } - ], - "id": 9426, - "name": "FunctionCall", - "src": "1068:10:34" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9389, - "type": "address", - "value": "_to" - }, - "id": 9427, - "name": "Identifier", - "src": "1080:3:34" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9391, - "type": "uint256", - "value": "_amount" - }, - "id": 9428, - "name": "Identifier", - "src": "1085:7:34" - } - ], - "id": 9429, - "name": "FunctionCall", - "src": "1059:34:34" - } - ], - "id": 9430, - "name": "ExpressionStatement", - "src": "1059:34:34" - }, - { - "attributes": { - "functionReturnParameters": 9399 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 9431, - "name": "Literal", - "src": "1106:4:34" - } - ], - "id": 9432, - "name": "Return", - "src": "1099:11:34" - } - ], - "id": 9433, - "name": "Block", - "src": "937:178:34" - } - ], - "id": 9434, - "name": "FunctionDefinition", - "src": "853:262:34" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "finishMinting", - "payable": false, - "scope": 9454, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 9435, - "name": "ParameterList", - "src": "1251:2:34" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9453, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9440, - "name": "ElementaryTypeName", - "src": "1288:4:34" - } - ], - "id": 9441, - "name": "VariableDeclaration", - "src": "1288:4:34" - } - ], - "id": 9442, - "name": "ParameterList", - "src": "1287:6:34" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 9436, - "name": "Identifier", - "src": "1254:9:34" - } - ], - "id": 9437, - "name": "ModifierInvocation", - "src": "1254:9:34" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9387, - "type": "modifier ()", - "value": "canMint" - }, - "id": 9438, - "name": "Identifier", - "src": "1264:7:34" - } - ], - "id": 9439, - "name": "ModifierInvocation", - "src": "1264:7:34" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9378, - "type": "bool", - "value": "mintingFinished" - }, - "id": 9443, - "name": "Identifier", - "src": "1300:15:34" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 9444, - "name": "Literal", - "src": "1318:4:34" - } - ], - "id": 9445, - "name": "Assignment", - "src": "1300:22:34" - } - ], - "id": 9446, - "name": "ExpressionStatement", - "src": "1300:22:34" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9375, - "type": "function ()", - "value": "MintFinished" - }, - "id": 9447, - "name": "Identifier", - "src": "1328:12:34" - } - ], - "id": 9448, - "name": "FunctionCall", - "src": "1328:14:34" - } - ], - "id": 9449, - "name": "ExpressionStatement", - "src": "1328:14:34" - }, - { - "attributes": { - "functionReturnParameters": 9442 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 9450, - "name": "Literal", - "src": "1355:4:34" - } - ], - "id": 9451, - "name": "Return", - "src": "1348:11:34" - } - ], - "id": 9452, - "name": "Block", - "src": "1294:70:34" - } - ], - "id": 9453, - "name": "FunctionDefinition", - "src": "1229:135:34" - } - ], - "id": 9454, - "name": "ContractDefinition", - "src": "386:980:34" - } - ], - "id": 9455, - "name": "SourceUnit", - "src": "0:1367:34" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.996Z" -} \ No newline at end of file diff --git a/contracts/MirrorContractICO.json b/contracts/MirrorContractICO.json deleted file mode 100644 index b525325fb..000000000 --- a/contracts/MirrorContractICO.json +++ /dev/null @@ -1,7248 +0,0 @@ -{ - "contractName": "MirrorContractICO", - "abi": [ - { - "constant": true, - "inputs": [], - "name": "simpleICO", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "organization", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "destroy", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_recipient", - "type": "address" - } - ], - "name": "destroyAndSend", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "name": "_organization", - "type": "address" - }, - { - "name": "_simpleICO", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "payable": true, - "stateMutability": "payable", - "type": "fallback" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b604051604080610393833981016040528080519190602001805160008054600160a060020a03338116600160a060020a0319928316179092556001805496831696821696909617909555600280549190921694169390931790925550506103188061007b6000396000f3006060604052600436106100775763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ebbede2811461012e57806323bd4d7a1461015d57806383197ef0146101705780638da5cb5b14610183578063f2fde38b14610196578063f5074f41146101b5575b34151561008357600080fd5b600254600154600160a060020a03918216916321bea7cc91349116336000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a039283166004820152911660248201526044016020604051808303818588803b151561010557600080fd5b6125ee5a03f1151561011657600080fd5b5050505060405180511515905061012c57600080fd5b005b341561013957600080fd5b6101416101d4565b604051600160a060020a03909116815260200160405180910390f35b341561016857600080fd5b6101416101e3565b341561017b57600080fd5b61012c6101f2565b341561018e57600080fd5b61014161021b565b34156101a157600080fd5b61012c600160a060020a036004351661022a565b34156101c057600080fd5b61012c600160a060020a03600435166102c5565b600254600160a060020a031681565b600154600160a060020a031681565b60005433600160a060020a0390811691161461020d57600080fd5b600054600160a060020a0316ff5b600054600160a060020a031681565b60005433600160a060020a0390811691161461024557600080fd5b600160a060020a038116151561025a57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146102e057600080fd5b80600160a060020a0316ff00a165627a7a72305820493184bff5490b8faf0143f84171302c487f56805bd80602c117beb91eabe9c40029", - "deployedBytecode": "0x6060604052600436106100775763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ebbede2811461012e57806323bd4d7a1461015d57806383197ef0146101705780638da5cb5b14610183578063f2fde38b14610196578063f5074f41146101b5575b34151561008357600080fd5b600254600154600160a060020a03918216916321bea7cc91349116336000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a039283166004820152911660248201526044016020604051808303818588803b151561010557600080fd5b6125ee5a03f1151561011657600080fd5b5050505060405180511515905061012c57600080fd5b005b341561013957600080fd5b6101416101d4565b604051600160a060020a03909116815260200160405180910390f35b341561016857600080fd5b6101416101e3565b341561017b57600080fd5b61012c6101f2565b341561018e57600080fd5b61014161021b565b34156101a157600080fd5b61012c600160a060020a036004351661022a565b34156101c057600080fd5b61012c600160a060020a03600435166102c5565b600254600160a060020a031681565b600154600160a060020a031681565b60005433600160a060020a0390811691161461020d57600080fd5b600054600160a060020a0316ff5b600054600160a060020a031681565b60005433600160a060020a0390811691161461024557600080fd5b600160a060020a038116151561025a57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146102e057600080fd5b80600160a060020a0316ff00a165627a7a72305820493184bff5490b8faf0143f84171302c487f56805bd80602c117beb91eabe9c40029", - "sourceMap": "369:962:21:-;;;734:158;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;509:10:29;501:18;;-1:-1:-1;;;;;;501:18:29;;;;;;;;823:28:21;;;;;;;;;;;;;;;862:9;:22;;;;;;;;;;;;;;;-1:-1:-1;;369:962:21;;;;;;", - "deployedSourceMap": "369:962:21:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1144:9;:14;;1136:23;;;;;;1220:9;;;1254:12;-1:-1:-1;;;;;1220:9:21;;;;:16;;1243:9;;1254:12;1268:10;1220:9;:59;;;;;;;;;;;;;;-1:-1:-1;;;;;1220:59:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:64;1216:105;;-1:-1:-1;1216:105:21;;1301:8;;;1216:105;369:962;493:26;;;;;;;;;;;;;;;-1:-1:-1;;;;;493:26:21;;;;;;;;;;;;;;;419;;;;;;;;;;;;376:66:27;;;;;;;;;;;;238:20:29;;;;;;;;;;;;834:169;;;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;446:96:27;;;;;;;;;;;;-1:-1:-1;;;;;446:96:27;;;493:26:21;;;-1:-1:-1;;;;;493:26:21;;:::o;419:::-;;;-1:-1:-1;;;;;419:26:21;;:::o;376:66:27:-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;431:5:27;;-1:-1:-1;;;;;431:5:27;418:19;238:20:29;;;-1:-1:-1;;;;;238:20:29;;:::o;834:169::-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;446:96:27:-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;513:24:27;;", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./UniversalScheme.sol\";\r\nimport \"zeppelin-solidity/contracts/ownership/Ownable.sol\";\r\nimport \"zeppelin-solidity/contracts/math/SafeMath.sol\";\r\nimport \"zeppelin-solidity/contracts/lifecycle/Destructible.sol\";\r\n\r\n\r\n/**\r\n * @title An avatar contract for ICO.\r\n * @dev Allow people to donate by simply sending ether to an address.\r\n */\r\ncontract MirrorContractICO is Destructible {\r\n Avatar public organization; // The organization address (the avatar)\r\n SimpleICO public simpleICO; // The ICO contract address\r\n /**\r\n * @dev Constructor, setting the organization and ICO scheme.\r\n * @param _organization The organization's avatar.\r\n * @param _simpleICO The ICO Scheme.\r\n */\r\n function MirrorContractICO(Avatar _organization, SimpleICO _simpleICO) public {\r\n organization = _organization;\r\n simpleICO = _simpleICO;\r\n }\r\n\r\n /**\r\n * @dev Fallback function, when ether is sent it will donate to the ICO.\r\n * The ether will be returned if the donation is failed.\r\n */\r\n function () public payable {\r\n // Not to waste gas, if no value.\r\n require(msg.value != 0);\r\n\r\n // Return ether if couln't donate.\r\n if (simpleICO.donate.value(msg.value)(organization, msg.sender) == 0) {\r\n revert();\r\n }\r\n }\r\n}\r\n\r\n\r\n/**\r\n * @title SimpleICO scheme.\r\n * @dev A universal scheme to allow organizations to open a simple ICO and get donations.\r\n */\r\ncontract SimpleICO is UniversalScheme {\r\n using SafeMath for uint;\r\n\r\n // Struct holding the data for each organization\r\n struct Organization {\r\n bytes32 paramsHash; // Save the parameters approved by the org to open the ICO, so reules of ICO will not change.\r\n address avatarContractICO; // Avatar is a contract for users that want to send eth without calling a funciton.\r\n uint totalEthRaised;\r\n bool isHalted; // The admin of the ICO can halt the ICO at any time, and also resume it.\r\n }\r\n\r\n // A mapping from hashes to parameters (use to store a particular configuration on the controller)\r\n struct Parameters {\r\n uint cap; // Cap in Eth\r\n uint price; // Price represents Tokens per 1 Eth\r\n uint startBlock;\r\n uint endBlock;\r\n address beneficiary; // all funds received will be transffered to this address.\r\n address admin; // The admin can halt or resume ICO.\r\n }\r\n\r\n // A mapping from the organization (Avatar) address to the saved data of the organization:\r\n mapping(address=>Organization) public organizationsICOInfo;\r\n\r\n mapping(bytes32=>Parameters) public parameters;\r\n\r\n event DonationReceived(address indexed organization, address indexed _beneficiary, uint _incomingEther, uint indexed _tokensAmount);\r\n\r\n /**\r\n * @dev Constructor, Updating the initial prarmeters\r\n * @param _nativeToken The native token of the ICO\r\n * @param _fee The fee for intiating the ICO\r\n * @param _beneficiary The address that will receive the ethers\r\n */\r\n function SimpleICO(StandardToken _nativeToken, uint _fee, address _beneficiary) public {\r\n updateParameters(_nativeToken, _fee, _beneficiary, bytes32(0));\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters, save them if necessary, and return the hash value\r\n * @param _cap the ico cap\r\n * @param _price represents Tokens per 1 Eth\r\n * @param _startBlock ico start block\r\n * @param _endBlock ico end\r\n * @param _beneficiary the ico ether beneficiary\r\n * @param _admin the address of the ico admin which can hald and resume the ICO.\r\n * @return bytes32 -the params hash\r\n */\r\n function setParameters(\r\n uint _cap,\r\n uint _price,\r\n uint _startBlock,\r\n uint _endBlock,\r\n address _beneficiary,\r\n address _admin\r\n )\r\n public\r\n returns(bytes32)\r\n {\r\n bytes32 paramsHash = getParametersHash(\r\n _cap,\r\n _price,\r\n _startBlock,\r\n _endBlock,\r\n _beneficiary,\r\n _admin\r\n );\r\n if (parameters[paramsHash].cap == 0) {\r\n parameters[paramsHash] = Parameters({\r\n cap: _cap,\r\n price: _price,\r\n startBlock: _startBlock,\r\n endBlock:_endBlock,\r\n beneficiary:_beneficiary,\r\n admin:_admin\r\n });\r\n }\r\n return paramsHash;\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters and return the hash value\r\n * @param _cap the ico cap\r\n * @param _price represents Tokens per 1 Eth\r\n * @param _startBlock ico start block\r\n * @param _endBlock ico end\r\n * @param _beneficiary the ico ether beneficiary\r\n * @param _admin the address of the ico admin which can hald and resume the ICO.\r\n * @return bytes32 -the params hash\r\n */\r\n function getParametersHash(\r\n uint _cap,\r\n uint _price,\r\n uint _startBlock,\r\n uint _endBlock,\r\n address _beneficiary,\r\n address _admin\r\n )\r\n public\r\n pure\r\n returns(bytes32)\r\n {\r\n return (keccak256(\r\n _cap,\r\n _price,\r\n _startBlock,\r\n _endBlock,\r\n _beneficiary,\r\n _admin\r\n ));\r\n }\r\n\r\n /**\r\n * @dev start an ICO\r\n * @param _avatar The Avatar's of the organization\r\n */\r\n function start(Avatar _avatar) public {\r\n require(!isActive(_avatar));\r\n Organization memory org;\r\n org.paramsHash = getParametersFromController(_avatar);\r\n require(parameters[org.paramsHash].cap != 0);\r\n org.avatarContractICO = new MirrorContractICO(_avatar, this);\r\n organizationsICOInfo[_avatar] = org;\r\n }\r\n\r\n /**\r\n * @dev Allowing admin to halt an ICO.\r\n * @param _avatar The Avatar's of the organization\r\n */\r\n function haltICO(address _avatar) public {\r\n require(msg.sender == parameters[organizationsICOInfo[_avatar].paramsHash].admin);\r\n organizationsICOInfo[_avatar].isHalted = true;\r\n }\r\n\r\n /**\r\n * @dev Allowing admin to reopen an ICO.\r\n * @param _avatar The Avatar's of the organization\r\n */\r\n function resumeICO(address _avatar) public {\r\n require(msg.sender == parameters[organizationsICOInfo[_avatar].paramsHash].admin);\r\n organizationsICOInfo[_avatar].isHalted = false;\r\n }\r\n\r\n /**\r\n * @dev Check is an ICO is active (halted is still considered active). Active ICO:\r\n * 1. The organization is registered.\r\n * 2. The ICO didn't reach it's cap yet.\r\n * 3. The current block isn't bigger than the \"endBlock\" & Smaller then the \"startBlock\"\r\n * @param _avatar The Avatar's of the organization\r\n * @return bool which represents a successful of the function\r\n */\r\n function isActive(address _avatar) public constant returns(bool) {\r\n Organization memory org = organizationsICOInfo[_avatar];\r\n Parameters memory params = parameters[org.paramsHash];\r\n if (! organizations[_avatar]) {\r\n return false;\r\n }\r\n if (org.totalEthRaised >= params.cap) {\r\n return false;\r\n }\r\n if (block.number >= params.endBlock) {\r\n return false;\r\n }\r\n if (block.number <= params.startBlock) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Donating ethers to get tokens.\r\n * If the donation is higher than the remaining ethers in the \"cap\",\r\n * The donator will get the change in ethers.\r\n * @param _avatar The Avatar's of the organization.\r\n * @param _beneficiary The donator's address - which will receive the ICO's tokens.\r\n * @return bool which represents a successful of the function\r\n */\r\n function donate(Avatar _avatar, address _beneficiary) public payable returns(uint) {\r\n Organization memory org = organizationsICOInfo[_avatar];\r\n Parameters memory params = parameters[org.paramsHash];\r\n\r\n // Check ICO is active:\r\n require(isActive(_avatar));\r\n\r\n // Check ICO is not halted:\r\n require(!org.isHalted);\r\n\r\n\r\n uint incomingEther;\r\n uint change;\r\n\r\n // Compute how much tokens to buy:\r\n if ( msg.value > (params.cap).sub(org.totalEthRaised) ) {\r\n incomingEther = (params.cap).sub(org.totalEthRaised);\r\n change = (msg.value).sub(incomingEther);\r\n } else {\r\n incomingEther = msg.value;\r\n }\r\n uint tokens = incomingEther.mul(params.price);\r\n // Send ether to the defined address, mint, and send change to beneficiary:\r\n params.beneficiary.transfer(incomingEther);\r\n\r\n Controller controller = Controller(_avatar.owner());\r\n if (!controller.mintTokens(tokens, _beneficiary)) {\r\n revert();\r\n }\r\n if (change != 0) {\r\n _beneficiary.transfer(change);\r\n }\r\n // Update total raised, call event and return amount of tokens bought:\r\n organizationsICOInfo[_avatar].totalEthRaised += incomingEther;\r\n DonationReceived(_avatar, _beneficiary, incomingEther, tokens);\r\n return tokens;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\SimpleICO.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/SimpleICO.sol", - "exportedSymbols": { - "MirrorContractICO": [ - 6641 - ], - "SimpleICO": [ - 7086 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 6586, - "name": "PragmaDirective", - "src": "0:24:21" - }, - { - "attributes": { - "SourceUnit": 7230, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "file": "./UniversalScheme.sol", - "scope": 7087, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 6587, - "name": "ImportDirective", - "src": "28:31:21" - }, - { - "attributes": { - "SourceUnit": 9141, - "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "file": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "scope": 7087, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 6588, - "name": "ImportDirective", - "src": "61:59:21" - }, - { - "attributes": { - "SourceUnit": 9085, - "absolutePath": "zeppelin-solidity/contracts/math/SafeMath.sol", - "file": "zeppelin-solidity/contracts/math/SafeMath.sol", - "scope": 7087, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 6589, - "name": "ImportDirective", - "src": "122:55:21" - }, - { - "attributes": { - "SourceUnit": 8987, - "absolutePath": "zeppelin-solidity/contracts/lifecycle/Destructible.sol", - "file": "zeppelin-solidity/contracts/lifecycle/Destructible.sol", - "scope": 7087, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 6590, - "name": "ImportDirective", - "src": "179:64:21" - }, - { - "attributes": { - "contractDependencies": [ - 8986, - 9140 - ], - "contractKind": "contract", - "documentation": "@title An avatar contract for ICO.\r\n@dev Allow people to donate by simply sending ether to an address.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6641, - 8986, - 9140 - ], - "name": "MirrorContractICO", - "scope": 7087 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Destructible", - "referencedDeclaration": 8986, - "type": "contract Destructible" - }, - "id": 6591, - "name": "UserDefinedTypeName", - "src": "399:12:21" - } - ], - "id": 6592, - "name": "InheritanceSpecifier", - "src": "399:12:21" - }, - { - "attributes": { - "constant": false, - "name": "organization", - "scope": 6641, - "stateVariable": true, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6593, - "name": "UserDefinedTypeName", - "src": "419:6:21" - } - ], - "id": 6594, - "name": "VariableDeclaration", - "src": "419:26:21" - }, - { - "attributes": { - "constant": false, - "name": "simpleICO", - "scope": 6641, - "stateVariable": true, - "storageLocation": "default", - "type": "contract SimpleICO", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SimpleICO", - "referencedDeclaration": 7086, - "type": "contract SimpleICO" - }, - "id": 6595, - "name": "UserDefinedTypeName", - "src": "493:9:21" - } - ], - "id": 6596, - "name": "VariableDeclaration", - "src": "493:26:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "MirrorContractICO", - "payable": false, - "scope": 6641, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_organization", - "scope": 6612, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6597, - "name": "UserDefinedTypeName", - "src": "761:6:21" - } - ], - "id": 6598, - "name": "VariableDeclaration", - "src": "761:20:21" - }, - { - "attributes": { - "constant": false, - "name": "_simpleICO", - "scope": 6612, - "stateVariable": false, - "storageLocation": "default", - "type": "contract SimpleICO", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SimpleICO", - "referencedDeclaration": 7086, - "type": "contract SimpleICO" - }, - "id": 6599, - "name": "UserDefinedTypeName", - "src": "783:9:21" - } - ], - "id": 6600, - "name": "VariableDeclaration", - "src": "783:20:21" - } - ], - "id": 6601, - "name": "ParameterList", - "src": "760:44:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6602, - "name": "ParameterList", - "src": "812:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract Avatar" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6594, - "type": "contract Avatar", - "value": "organization" - }, - "id": 6603, - "name": "Identifier", - "src": "823:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6598, - "type": "contract Avatar", - "value": "_organization" - }, - "id": 6604, - "name": "Identifier", - "src": "838:13:21" - } - ], - "id": 6605, - "name": "Assignment", - "src": "823:28:21" - } - ], - "id": 6606, - "name": "ExpressionStatement", - "src": "823:28:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract SimpleICO" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6596, - "type": "contract SimpleICO", - "value": "simpleICO" - }, - "id": 6607, - "name": "Identifier", - "src": "862:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6600, - "type": "contract SimpleICO", - "value": "_simpleICO" - }, - "id": 6608, - "name": "Identifier", - "src": "874:10:21" - } - ], - "id": 6609, - "name": "Assignment", - "src": "862:22:21" - } - ], - "id": 6610, - "name": "ExpressionStatement", - "src": "862:22:21" - } - ], - "id": 6611, - "name": "Block", - "src": "812:80:21" - } - ], - "id": 6612, - "name": "FunctionDefinition", - "src": "734:158:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "", - "payable": true, - "scope": 6641, - "stateMutability": "payable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6613, - "name": "ParameterList", - "src": "1064:2:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6614, - "name": "ParameterList", - "src": "1082:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6615, - "name": "Identifier", - "src": "1136:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6616, - "name": "Identifier", - "src": "1144:3:21" - } - ], - "id": 6617, - "name": "MemberAccess", - "src": "1144:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6618, - "name": "Literal", - "src": "1157:1:21" - } - ], - "id": 6619, - "name": "BinaryOperation", - "src": "1144:14:21" - } - ], - "id": 6620, - "name": "FunctionCall", - "src": "1136:23:21" - } - ], - "id": 6621, - "name": "ExpressionStatement", - "src": "1136:23:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "function (contract Avatar,address) payable external returns (uint256)", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "function (uint256) returns (function (contract Avatar,address) payable external returns (uint256))" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "donate", - "referencedDeclaration": 7085, - "type": "function (contract Avatar,address) payable external returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6596, - "type": "contract SimpleICO", - "value": "simpleICO" - }, - "id": 6622, - "name": "Identifier", - "src": "1220:9:21" - } - ], - "id": 6623, - "name": "MemberAccess", - "src": "1220:16:21" - } - ], - "id": 6624, - "name": "MemberAccess", - "src": "1220:22:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6625, - "name": "Identifier", - "src": "1243:3:21" - } - ], - "id": 6626, - "name": "MemberAccess", - "src": "1243:9:21" - } - ], - "id": 6627, - "name": "FunctionCall", - "src": "1220:33:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6594, - "type": "contract Avatar", - "value": "organization" - }, - "id": 6628, - "name": "Identifier", - "src": "1254:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6629, - "name": "Identifier", - "src": "1268:3:21" - } - ], - "id": 6630, - "name": "MemberAccess", - "src": "1268:10:21" - } - ], - "id": 6631, - "name": "FunctionCall", - "src": "1220:59:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6632, - "name": "Literal", - "src": "1283:1:21" - } - ], - "id": 6633, - "name": "BinaryOperation", - "src": "1220:64:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 6634, - "name": "Identifier", - "src": "1301:6:21" - } - ], - "id": 6635, - "name": "FunctionCall", - "src": "1301:8:21" - } - ], - "id": 6636, - "name": "ExpressionStatement", - "src": "1301:8:21" - } - ], - "id": 6637, - "name": "Block", - "src": "1286:35:21" - } - ], - "id": 6638, - "name": "IfStatement", - "src": "1216:105:21" - } - ], - "id": 6639, - "name": "Block", - "src": "1082:246:21" - } - ], - "id": 6640, - "name": "FunctionDefinition", - "src": "1055:273:21" - } - ], - "id": 6641, - "name": "ContractDefinition", - "src": "369:962:21" - }, - { - "attributes": { - "contractDependencies": [ - 6641, - 7229, - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": "@title SimpleICO scheme.\r\n@dev A universal scheme to allow organizations to open a simple ICO and get donations.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 7086, - 7229, - 7259, - 9140 - ], - "name": "SimpleICO", - "scope": 7087 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalScheme", - "referencedDeclaration": 7229, - "type": "contract UniversalScheme" - }, - "id": 6642, - "name": "UserDefinedTypeName", - "src": "1489:15:21" - } - ], - "id": 6643, - "name": "InheritanceSpecifier", - "src": "1489:15:21" - }, - { - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SafeMath", - "referencedDeclaration": 9084, - "type": "library SafeMath" - }, - "id": 6644, - "name": "UserDefinedTypeName", - "src": "1518:8:21" - }, - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6645, - "name": "ElementaryTypeName", - "src": "1531:4:21" - } - ], - "id": 6646, - "name": "UsingForDirective", - "src": "1512:24:21" - }, - { - "attributes": { - "canonicalName": "SimpleICO.Organization", - "name": "Organization", - "scope": 7086, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 6655, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6647, - "name": "ElementaryTypeName", - "src": "1629:7:21" - } - ], - "id": 6648, - "name": "VariableDeclaration", - "src": "1629:18:21" - }, - { - "attributes": { - "constant": false, - "name": "avatarContractICO", - "scope": 6655, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6649, - "name": "ElementaryTypeName", - "src": "1752:7:21" - } - ], - "id": 6650, - "name": "VariableDeclaration", - "src": "1752:25:21" - }, - { - "attributes": { - "constant": false, - "name": "totalEthRaised", - "scope": 6655, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6651, - "name": "ElementaryTypeName", - "src": "1872:4:21" - } - ], - "id": 6652, - "name": "VariableDeclaration", - "src": "1872:19:21" - }, - { - "attributes": { - "constant": false, - "name": "isHalted", - "scope": 6655, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6653, - "name": "ElementaryTypeName", - "src": "1902:4:21" - } - ], - "id": 6654, - "name": "VariableDeclaration", - "src": "1902:13:21" - } - ], - "id": 6655, - "name": "StructDefinition", - "src": "1598:399:21" - }, - { - "attributes": { - "canonicalName": "SimpleICO.Parameters", - "name": "Parameters", - "scope": 7086, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cap", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6656, - "name": "ElementaryTypeName", - "src": "2138:4:21" - } - ], - "id": 6657, - "name": "VariableDeclaration", - "src": "2138:8:21" - }, - { - "attributes": { - "constant": false, - "name": "price", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6658, - "name": "ElementaryTypeName", - "src": "2171:4:21" - } - ], - "id": 6659, - "name": "VariableDeclaration", - "src": "2171:10:21" - }, - { - "attributes": { - "constant": false, - "name": "startBlock", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6660, - "name": "ElementaryTypeName", - "src": "2229:4:21" - } - ], - "id": 6661, - "name": "VariableDeclaration", - "src": "2229:15:21" - }, - { - "attributes": { - "constant": false, - "name": "endBlock", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6662, - "name": "ElementaryTypeName", - "src": "2255:4:21" - } - ], - "id": 6663, - "name": "VariableDeclaration", - "src": "2255:13:21" - }, - { - "attributes": { - "constant": false, - "name": "beneficiary", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6664, - "name": "ElementaryTypeName", - "src": "2279:7:21" - } - ], - "id": 6665, - "name": "VariableDeclaration", - "src": "2279:19:21" - }, - { - "attributes": { - "constant": false, - "name": "admin", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6666, - "name": "ElementaryTypeName", - "src": "2368:7:21" - } - ], - "id": 6667, - "name": "VariableDeclaration", - "src": "2368:13:21" - } - ], - "id": 6668, - "name": "StructDefinition", - "src": "2109:317:21" - }, - { - "attributes": { - "constant": false, - "name": "organizationsICOInfo", - "scope": 7086, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => struct SimpleICO.Organization storage ref)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6669, - "name": "ElementaryTypeName", - "src": "2538:7:21" - }, - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 6655, - "type": "struct SimpleICO.Organization storage pointer" - }, - "id": 6670, - "name": "UserDefinedTypeName", - "src": "2547:12:21" - } - ], - "id": 6671, - "name": "Mapping", - "src": "2530:30:21" - } - ], - "id": 6672, - "name": "VariableDeclaration", - "src": "2530:58:21" - }, - { - "attributes": { - "constant": false, - "name": "parameters", - "scope": 7086, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6673, - "name": "ElementaryTypeName", - "src": "2605:7:21" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 6668, - "type": "struct SimpleICO.Parameters storage pointer" - }, - "id": 6674, - "name": "UserDefinedTypeName", - "src": "2614:10:21" - } - ], - "id": 6675, - "name": "Mapping", - "src": "2597:28:21" - } - ], - "id": 6676, - "name": "VariableDeclaration", - "src": "2597:46:21" - }, - { - "attributes": { - "anonymous": false, - "name": "DonationReceived" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "organization", - "scope": 6686, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6677, - "name": "ElementaryTypeName", - "src": "2675:7:21" - } - ], - "id": 6678, - "name": "VariableDeclaration", - "src": "2675:28:21" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_beneficiary", - "scope": 6686, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6679, - "name": "ElementaryTypeName", - "src": "2705:7:21" - } - ], - "id": 6680, - "name": "VariableDeclaration", - "src": "2705:28:21" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_incomingEther", - "scope": 6686, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6681, - "name": "ElementaryTypeName", - "src": "2735:4:21" - } - ], - "id": 6682, - "name": "VariableDeclaration", - "src": "2735:19:21" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_tokensAmount", - "scope": 6686, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6683, - "name": "ElementaryTypeName", - "src": "2756:4:21" - } - ], - "id": 6684, - "name": "VariableDeclaration", - "src": "2756:26:21" - } - ], - "id": 6685, - "name": "ParameterList", - "src": "2674:109:21" - } - ], - "id": 6686, - "name": "EventDefinition", - "src": "2652:132:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "SimpleICO", - "payable": false, - "scope": 7086, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 6705, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 6687, - "name": "UserDefinedTypeName", - "src": "3062:13:21" - } - ], - "id": 6688, - "name": "VariableDeclaration", - "src": "3062:26:21" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 6705, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6689, - "name": "ElementaryTypeName", - "src": "3090:4:21" - } - ], - "id": 6690, - "name": "VariableDeclaration", - "src": "3090:9:21" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 6705, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6691, - "name": "ElementaryTypeName", - "src": "3101:7:21" - } - ], - "id": 6692, - "name": "VariableDeclaration", - "src": "3101:20:21" - } - ], - "id": 6693, - "name": "ParameterList", - "src": "3061:61:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6694, - "name": "ParameterList", - "src": "3130:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 7207 - ], - "referencedDeclaration": 7207, - "type": "function (contract StandardToken,uint256,address,bytes32)", - "value": "updateParameters" - }, - "id": 6695, - "name": "Identifier", - "src": "3141:16:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6688, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 6696, - "name": "Identifier", - "src": "3158:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6690, - "type": "uint256", - "value": "_fee" - }, - "id": 6697, - "name": "Identifier", - "src": "3172:4:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6692, - "type": "address", - "value": "_beneficiary" - }, - "id": 6698, - "name": "Identifier", - "src": "3178:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 6699, - "name": "ElementaryTypeNameExpression", - "src": "3192:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6700, - "name": "Literal", - "src": "3200:1:21" - } - ], - "id": 6701, - "name": "FunctionCall", - "src": "3192:10:21" - } - ], - "id": 6702, - "name": "FunctionCall", - "src": "3141:62:21" - } - ], - "id": 6703, - "name": "ExpressionStatement", - "src": "3141:62:21" - } - ], - "id": 6704, - "name": "Block", - "src": "3130:81:21" - } - ], - "id": 6705, - "name": "FunctionDefinition", - "src": "3043:168:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 7086, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_cap", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6706, - "name": "ElementaryTypeName", - "src": "3686:4:21" - } - ], - "id": 6707, - "name": "VariableDeclaration", - "src": "3686:9:21" - }, - { - "attributes": { - "constant": false, - "name": "_price", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6708, - "name": "ElementaryTypeName", - "src": "3706:4:21" - } - ], - "id": 6709, - "name": "VariableDeclaration", - "src": "3706:11:21" - }, - { - "attributes": { - "constant": false, - "name": "_startBlock", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6710, - "name": "ElementaryTypeName", - "src": "3728:4:21" - } - ], - "id": 6711, - "name": "VariableDeclaration", - "src": "3728:16:21" - }, - { - "attributes": { - "constant": false, - "name": "_endBlock", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6712, - "name": "ElementaryTypeName", - "src": "3755:4:21" - } - ], - "id": 6713, - "name": "VariableDeclaration", - "src": "3755:14:21" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6714, - "name": "ElementaryTypeName", - "src": "3780:7:21" - } - ], - "id": 6715, - "name": "VariableDeclaration", - "src": "3780:20:21" - }, - { - "attributes": { - "constant": false, - "name": "_admin", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6716, - "name": "ElementaryTypeName", - "src": "3811:7:21" - } - ], - "id": 6717, - "name": "VariableDeclaration", - "src": "3811:14:21" - } - ], - "id": 6718, - "name": "ParameterList", - "src": "3675:157:21" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6719, - "name": "ElementaryTypeName", - "src": "3866:7:21" - } - ], - "id": 6720, - "name": "VariableDeclaration", - "src": "3866:7:21" - } - ], - "id": 6721, - "name": "ParameterList", - "src": "3865:9:21" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 6723 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6722, - "name": "ElementaryTypeName", - "src": "3891:7:21" - } - ], - "id": 6723, - "name": "VariableDeclaration", - "src": "3891:18:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6785, - "type": "function (uint256,uint256,uint256,uint256,address,address) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 6724, - "name": "Identifier", - "src": "3912:17:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6707, - "type": "uint256", - "value": "_cap" - }, - "id": 6725, - "name": "Identifier", - "src": "3944:4:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6709, - "type": "uint256", - "value": "_price" - }, - "id": 6726, - "name": "Identifier", - "src": "3963:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6711, - "type": "uint256", - "value": "_startBlock" - }, - "id": 6727, - "name": "Identifier", - "src": "3984:11:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6713, - "type": "uint256", - "value": "_endBlock" - }, - "id": 6728, - "name": "Identifier", - "src": "4010:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6715, - "type": "address", - "value": "_beneficiary" - }, - "id": 6729, - "name": "Identifier", - "src": "4034:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6717, - "type": "address", - "value": "_admin" - }, - "id": 6730, - "name": "Identifier", - "src": "4061:6:21" - } - ], - "id": 6731, - "name": "FunctionCall", - "src": "3912:166:21" - } - ], - "id": 6732, - "name": "VariableDeclarationStatement", - "src": "3891:187:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 6657, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6733, - "name": "Identifier", - "src": "4093:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6723, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6734, - "name": "Identifier", - "src": "4104:10:21" - } - ], - "id": 6735, - "name": "IndexAccess", - "src": "4093:22:21" - } - ], - "id": 6736, - "name": "MemberAccess", - "src": "4093:26:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6737, - "name": "Literal", - "src": "4123:1:21" - } - ], - "id": 6738, - "name": "BinaryOperation", - "src": "4093:31:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6739, - "name": "Identifier", - "src": "4141:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6723, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6740, - "name": "Identifier", - "src": "4152:10:21" - } - ], - "id": 6741, - "name": "IndexAccess", - "src": "4141:22:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "cap", - "price", - "startBlock", - "endBlock", - "beneficiary", - "admin" - ], - "type": "struct SimpleICO.Parameters memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6668, - "type": "type(struct SimpleICO.Parameters storage pointer)", - "value": "Parameters" - }, - "id": 6742, - "name": "Identifier", - "src": "4166:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6707, - "type": "uint256", - "value": "_cap" - }, - "id": 6743, - "name": "Identifier", - "src": "4201:4:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6709, - "type": "uint256", - "value": "_price" - }, - "id": 6744, - "name": "Identifier", - "src": "4231:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6711, - "type": "uint256", - "value": "_startBlock" - }, - "id": 6745, - "name": "Identifier", - "src": "4268:11:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6713, - "type": "uint256", - "value": "_endBlock" - }, - "id": 6746, - "name": "Identifier", - "src": "4307:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6715, - "type": "address", - "value": "_beneficiary" - }, - "id": 6747, - "name": "Identifier", - "src": "4347:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6717, - "type": "address", - "value": "_admin" - }, - "id": 6748, - "name": "Identifier", - "src": "4384:6:21" - } - ], - "id": 6749, - "name": "FunctionCall", - "src": "4166:240:21" - } - ], - "id": 6750, - "name": "Assignment", - "src": "4141:265:21" - } - ], - "id": 6751, - "name": "ExpressionStatement", - "src": "4141:265:21" - } - ], - "id": 6752, - "name": "Block", - "src": "4126:292:21" - } - ], - "id": 6753, - "name": "IfStatement", - "src": "4089:329:21" - }, - { - "attributes": { - "functionReturnParameters": 6721 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6723, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6754, - "name": "Identifier", - "src": "4435:10:21" - } - ], - "id": 6755, - "name": "Return", - "src": "4428:17:21" - } - ], - "id": 6756, - "name": "Block", - "src": "3880:573:21" - } - ], - "id": 6757, - "name": "FunctionDefinition", - "src": "3653:800:21" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 7086, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_cap", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6758, - "name": "ElementaryTypeName", - "src": "4907:4:21" - } - ], - "id": 6759, - "name": "VariableDeclaration", - "src": "4907:9:21" - }, - { - "attributes": { - "constant": false, - "name": "_price", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6760, - "name": "ElementaryTypeName", - "src": "4927:4:21" - } - ], - "id": 6761, - "name": "VariableDeclaration", - "src": "4927:11:21" - }, - { - "attributes": { - "constant": false, - "name": "_startBlock", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6762, - "name": "ElementaryTypeName", - "src": "4949:4:21" - } - ], - "id": 6763, - "name": "VariableDeclaration", - "src": "4949:16:21" - }, - { - "attributes": { - "constant": false, - "name": "_endBlock", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6764, - "name": "ElementaryTypeName", - "src": "4976:4:21" - } - ], - "id": 6765, - "name": "VariableDeclaration", - "src": "4976:14:21" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6766, - "name": "ElementaryTypeName", - "src": "5001:7:21" - } - ], - "id": 6767, - "name": "VariableDeclaration", - "src": "5001:20:21" - }, - { - "attributes": { - "constant": false, - "name": "_admin", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6768, - "name": "ElementaryTypeName", - "src": "5032:7:21" - } - ], - "id": 6769, - "name": "VariableDeclaration", - "src": "5032:14:21" - } - ], - "id": 6770, - "name": "ParameterList", - "src": "4896:157:21" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6771, - "name": "ElementaryTypeName", - "src": "5101:7:21" - } - ], - "id": 6772, - "name": "VariableDeclaration", - "src": "5101:7:21" - } - ], - "id": 6773, - "name": "ParameterList", - "src": "5100:9:21" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6773 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 6774, - "name": "Identifier", - "src": "5133:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6759, - "type": "uint256", - "value": "_cap" - }, - "id": 6775, - "name": "Identifier", - "src": "5157:4:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6761, - "type": "uint256", - "value": "_price" - }, - "id": 6776, - "name": "Identifier", - "src": "5176:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6763, - "type": "uint256", - "value": "_startBlock" - }, - "id": 6777, - "name": "Identifier", - "src": "5197:11:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6765, - "type": "uint256", - "value": "_endBlock" - }, - "id": 6778, - "name": "Identifier", - "src": "5223:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6767, - "type": "address", - "value": "_beneficiary" - }, - "id": 6779, - "name": "Identifier", - "src": "5247:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6769, - "type": "address", - "value": "_admin" - }, - "id": 6780, - "name": "Identifier", - "src": "5274:6:21" - } - ], - "id": 6781, - "name": "FunctionCall", - "src": "5133:158:21" - } - ], - "id": 6782, - "name": "TupleExpression", - "src": "5132:160:21" - } - ], - "id": 6783, - "name": "Return", - "src": "5125:167:21" - } - ], - "id": 6784, - "name": "Block", - "src": "5114:186:21" - } - ], - "id": 6785, - "name": "FunctionDefinition", - "src": "4870:430:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "start", - "payable": false, - "scope": 7086, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6835, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6786, - "name": "UserDefinedTypeName", - "src": "5423:6:21" - } - ], - "id": 6787, - "name": "VariableDeclaration", - "src": "5423:14:21" - } - ], - "id": 6788, - "name": "ParameterList", - "src": "5422:16:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6789, - "name": "ParameterList", - "src": "5446:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6790, - "name": "Identifier", - "src": "5457:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6945, - "type": "function (address) view returns (bool)", - "value": "isActive" - }, - "id": 6791, - "name": "Identifier", - "src": "5466:8:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6787, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6792, - "name": "Identifier", - "src": "5475:7:21" - } - ], - "id": 6793, - "name": "FunctionCall", - "src": "5466:17:21" - } - ], - "id": 6794, - "name": "UnaryOperation", - "src": "5465:18:21" - } - ], - "id": 6795, - "name": "FunctionCall", - "src": "5457:27:21" - } - ], - "id": 6796, - "name": "ExpressionStatement", - "src": "5457:27:21" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "org", - "scope": 6835, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SimpleICO.Organization memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 6655, - "type": "struct SimpleICO.Organization storage pointer" - }, - "id": 6797, - "name": "UserDefinedTypeName", - "src": "5495:12:21" - } - ], - "id": 6798, - "name": "VariableDeclaration", - "src": "5495:23:21" - } - ], - "id": 6799, - "name": "VariableDeclarationStatement", - "src": "5495:23:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6798, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6800, - "name": "Identifier", - "src": "5529:3:21" - } - ], - "id": 6802, - "name": "MemberAccess", - "src": "5529:14:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 6803, - "name": "Identifier", - "src": "5546:27:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6787, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6804, - "name": "Identifier", - "src": "5574:7:21" - } - ], - "id": 6805, - "name": "FunctionCall", - "src": "5546:36:21" - } - ], - "id": 6806, - "name": "Assignment", - "src": "5529:53:21" - } - ], - "id": 6807, - "name": "ExpressionStatement", - "src": "5529:53:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6808, - "name": "Identifier", - "src": "5593:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 6657, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6809, - "name": "Identifier", - "src": "5601:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6798, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6810, - "name": "Identifier", - "src": "5612:3:21" - } - ], - "id": 6811, - "name": "MemberAccess", - "src": "5612:14:21" - } - ], - "id": 6812, - "name": "IndexAccess", - "src": "5601:26:21" - } - ], - "id": 6813, - "name": "MemberAccess", - "src": "5601:30:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6814, - "name": "Literal", - "src": "5635:1:21" - } - ], - "id": 6815, - "name": "BinaryOperation", - "src": "5601:35:21" - } - ], - "id": 6816, - "name": "FunctionCall", - "src": "5593:44:21" - } - ], - "id": 6817, - "name": "ExpressionStatement", - "src": "5593:44:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "avatarContractICO", - "referencedDeclaration": 6650, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6798, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6818, - "name": "Identifier", - "src": "5648:3:21" - } - ], - "id": 6820, - "name": "MemberAccess", - "src": "5648:21:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract MirrorContractICO", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_SimpleICO_$7086", - "typeString": "contract SimpleICO" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "function (contract Avatar,contract SimpleICO) returns (contract MirrorContractICO)" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "MirrorContractICO", - "referencedDeclaration": 6641, - "type": "contract MirrorContractICO" - }, - "id": 6821, - "name": "UserDefinedTypeName", - "src": "5676:17:21" - } - ], - "id": 6822, - "name": "NewExpression", - "src": "5672:21:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6787, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6823, - "name": "Identifier", - "src": "5694:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9817, - "type": "contract SimpleICO", - "value": "this" - }, - "id": 6824, - "name": "Identifier", - "src": "5703:4:21" - } - ], - "id": 6825, - "name": "FunctionCall", - "src": "5672:36:21" - } - ], - "id": 6826, - "name": "Assignment", - "src": "5648:60:21" - } - ], - "id": 6827, - "name": "ExpressionStatement", - "src": "5648:60:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6828, - "name": "Identifier", - "src": "5719:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6787, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6829, - "name": "Identifier", - "src": "5740:7:21" - } - ], - "id": 6830, - "name": "IndexAccess", - "src": "5719:29:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6798, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6831, - "name": "Identifier", - "src": "5751:3:21" - } - ], - "id": 6832, - "name": "Assignment", - "src": "5719:35:21" - } - ], - "id": 6833, - "name": "ExpressionStatement", - "src": "5719:35:21" - } - ], - "id": 6834, - "name": "Block", - "src": "5446:316:21" - } - ], - "id": 6835, - "name": "FunctionDefinition", - "src": "5408:354:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "haltICO", - "payable": false, - "scope": 7086, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6861, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6836, - "name": "ElementaryTypeName", - "src": "5905:7:21" - } - ], - "id": 6837, - "name": "VariableDeclaration", - "src": "5905:15:21" - } - ], - "id": 6838, - "name": "ParameterList", - "src": "5904:17:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6839, - "name": "ParameterList", - "src": "5929:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6840, - "name": "Identifier", - "src": "5940:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6841, - "name": "Identifier", - "src": "5948:3:21" - } - ], - "id": 6842, - "name": "MemberAccess", - "src": "5948:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "admin", - "referencedDeclaration": 6667, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6843, - "name": "Identifier", - "src": "5962:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6844, - "name": "Identifier", - "src": "5973:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6837, - "type": "address", - "value": "_avatar" - }, - "id": 6845, - "name": "Identifier", - "src": "5994:7:21" - } - ], - "id": 6846, - "name": "IndexAccess", - "src": "5973:29:21" - } - ], - "id": 6847, - "name": "MemberAccess", - "src": "5973:40:21" - } - ], - "id": 6848, - "name": "IndexAccess", - "src": "5962:52:21" - } - ], - "id": 6849, - "name": "MemberAccess", - "src": "5962:58:21" - } - ], - "id": 6850, - "name": "BinaryOperation", - "src": "5948:72:21" - } - ], - "id": 6851, - "name": "FunctionCall", - "src": "5940:81:21" - } - ], - "id": 6852, - "name": "ExpressionStatement", - "src": "5940:81:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "isHalted", - "referencedDeclaration": 6654, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6853, - "name": "Identifier", - "src": "6032:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6837, - "type": "address", - "value": "_avatar" - }, - "id": 6854, - "name": "Identifier", - "src": "6053:7:21" - } - ], - "id": 6855, - "name": "IndexAccess", - "src": "6032:29:21" - } - ], - "id": 6856, - "name": "MemberAccess", - "src": "6032:38:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 6857, - "name": "Literal", - "src": "6073:4:21" - } - ], - "id": 6858, - "name": "Assignment", - "src": "6032:45:21" - } - ], - "id": 6859, - "name": "ExpressionStatement", - "src": "6032:45:21" - } - ], - "id": 6860, - "name": "Block", - "src": "5929:156:21" - } - ], - "id": 6861, - "name": "FunctionDefinition", - "src": "5888:197:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "resumeICO", - "payable": false, - "scope": 7086, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6887, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6862, - "name": "ElementaryTypeName", - "src": "6232:7:21" - } - ], - "id": 6863, - "name": "VariableDeclaration", - "src": "6232:15:21" - } - ], - "id": 6864, - "name": "ParameterList", - "src": "6231:17:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6865, - "name": "ParameterList", - "src": "6256:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6866, - "name": "Identifier", - "src": "6267:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6867, - "name": "Identifier", - "src": "6275:3:21" - } - ], - "id": 6868, - "name": "MemberAccess", - "src": "6275:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "admin", - "referencedDeclaration": 6667, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6869, - "name": "Identifier", - "src": "6289:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6870, - "name": "Identifier", - "src": "6300:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6863, - "type": "address", - "value": "_avatar" - }, - "id": 6871, - "name": "Identifier", - "src": "6321:7:21" - } - ], - "id": 6872, - "name": "IndexAccess", - "src": "6300:29:21" - } - ], - "id": 6873, - "name": "MemberAccess", - "src": "6300:40:21" - } - ], - "id": 6874, - "name": "IndexAccess", - "src": "6289:52:21" - } - ], - "id": 6875, - "name": "MemberAccess", - "src": "6289:58:21" - } - ], - "id": 6876, - "name": "BinaryOperation", - "src": "6275:72:21" - } - ], - "id": 6877, - "name": "FunctionCall", - "src": "6267:81:21" - } - ], - "id": 6878, - "name": "ExpressionStatement", - "src": "6267:81:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "isHalted", - "referencedDeclaration": 6654, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6879, - "name": "Identifier", - "src": "6359:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6863, - "type": "address", - "value": "_avatar" - }, - "id": 6880, - "name": "Identifier", - "src": "6380:7:21" - } - ], - "id": 6881, - "name": "IndexAccess", - "src": "6359:29:21" - } - ], - "id": 6882, - "name": "MemberAccess", - "src": "6359:38:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6883, - "name": "Literal", - "src": "6400:5:21" - } - ], - "id": 6884, - "name": "Assignment", - "src": "6359:46:21" - } - ], - "id": 6885, - "name": "ExpressionStatement", - "src": "6359:46:21" - } - ], - "id": 6886, - "name": "Block", - "src": "6256:157:21" - } - ], - "id": 6887, - "name": "FunctionDefinition", - "src": "6213:200:21" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "isActive", - "payable": false, - "scope": 7086, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6945, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6888, - "name": "ElementaryTypeName", - "src": "6851:7:21" - } - ], - "id": 6889, - "name": "VariableDeclaration", - "src": "6851:15:21" - } - ], - "id": 6890, - "name": "ParameterList", - "src": "6850:17:21" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6945, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6891, - "name": "ElementaryTypeName", - "src": "6892:4:21" - } - ], - "id": 6892, - "name": "VariableDeclaration", - "src": "6892:4:21" - } - ], - "id": 6893, - "name": "ParameterList", - "src": "6891:6:21" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 6895 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "org", - "scope": 6945, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SimpleICO.Organization memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 6655, - "type": "struct SimpleICO.Organization storage pointer" - }, - "id": 6894, - "name": "UserDefinedTypeName", - "src": "6909:12:21" - } - ], - "id": 6895, - "name": "VariableDeclaration", - "src": "6909:23:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6896, - "name": "Identifier", - "src": "6935:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6889, - "type": "address", - "value": "_avatar" - }, - "id": 6897, - "name": "Identifier", - "src": "6956:7:21" - } - ], - "id": 6898, - "name": "IndexAccess", - "src": "6935:29:21" - } - ], - "id": 6899, - "name": "VariableDeclarationStatement", - "src": "6909:55:21" - }, - { - "attributes": { - "assignments": [ - 6901 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 6945, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SimpleICO.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 6668, - "type": "struct SimpleICO.Parameters storage pointer" - }, - "id": 6900, - "name": "UserDefinedTypeName", - "src": "6975:10:21" - } - ], - "id": 6901, - "name": "VariableDeclaration", - "src": "6975:24:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6902, - "name": "Identifier", - "src": "7002:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6895, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6903, - "name": "Identifier", - "src": "7013:3:21" - } - ], - "id": 6904, - "name": "MemberAccess", - "src": "7013:14:21" - } - ], - "id": 6905, - "name": "IndexAccess", - "src": "7002:26:21" - } - ], - "id": 6906, - "name": "VariableDeclarationStatement", - "src": "6975:53:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7109, - "type": "mapping(address => bool)", - "value": "organizations" - }, - "id": 6907, - "name": "Identifier", - "src": "7045:13:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6889, - "type": "address", - "value": "_avatar" - }, - "id": 6908, - "name": "Identifier", - "src": "7059:7:21" - } - ], - "id": 6909, - "name": "IndexAccess", - "src": "7045:22:21" - } - ], - "id": 6910, - "name": "UnaryOperation", - "src": "7043:24:21" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6893 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6911, - "name": "Literal", - "src": "7091:5:21" - } - ], - "id": 6912, - "name": "Return", - "src": "7084:12:21" - } - ], - "id": 6913, - "name": "Block", - "src": "7069:39:21" - } - ], - "id": 6914, - "name": "IfStatement", - "src": "7039:69:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalEthRaised", - "referencedDeclaration": 6652, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6895, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6915, - "name": "Identifier", - "src": "7122:3:21" - } - ], - "id": 6916, - "name": "MemberAccess", - "src": "7122:18:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 6657, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6901, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 6917, - "name": "Identifier", - "src": "7144:6:21" - } - ], - "id": 6918, - "name": "MemberAccess", - "src": "7144:10:21" - } - ], - "id": 6919, - "name": "BinaryOperation", - "src": "7122:32:21" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6893 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6920, - "name": "Literal", - "src": "7178:5:21" - } - ], - "id": 6921, - "name": "Return", - "src": "7171:12:21" - } - ], - "id": 6922, - "name": "Block", - "src": "7156:39:21" - } - ], - "id": 6923, - "name": "IfStatement", - "src": "7118:77:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "number", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9728, - "type": "block", - "value": "block" - }, - "id": 6924, - "name": "Identifier", - "src": "7209:5:21" - } - ], - "id": 6925, - "name": "MemberAccess", - "src": "7209:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "endBlock", - "referencedDeclaration": 6663, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6901, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 6926, - "name": "Identifier", - "src": "7225:6:21" - } - ], - "id": 6927, - "name": "MemberAccess", - "src": "7225:15:21" - } - ], - "id": 6928, - "name": "BinaryOperation", - "src": "7209:31:21" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6893 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6929, - "name": "Literal", - "src": "7264:5:21" - } - ], - "id": 6930, - "name": "Return", - "src": "7257:12:21" - } - ], - "id": 6931, - "name": "Block", - "src": "7242:39:21" - } - ], - "id": 6932, - "name": "IfStatement", - "src": "7205:76:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "number", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9728, - "type": "block", - "value": "block" - }, - "id": 6933, - "name": "Identifier", - "src": "7295:5:21" - } - ], - "id": 6934, - "name": "MemberAccess", - "src": "7295:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "startBlock", - "referencedDeclaration": 6661, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6901, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 6935, - "name": "Identifier", - "src": "7311:6:21" - } - ], - "id": 6936, - "name": "MemberAccess", - "src": "7311:17:21" - } - ], - "id": 6937, - "name": "BinaryOperation", - "src": "7295:33:21" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6893 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6938, - "name": "Literal", - "src": "7352:5:21" - } - ], - "id": 6939, - "name": "Return", - "src": "7345:12:21" - } - ], - "id": 6940, - "name": "Block", - "src": "7330:39:21" - } - ], - "id": 6941, - "name": "IfStatement", - "src": "7291:78:21" - }, - { - "attributes": { - "functionReturnParameters": 6893 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 6942, - "name": "Literal", - "src": "7386:4:21" - } - ], - "id": 6943, - "name": "Return", - "src": "7379:11:21" - } - ], - "id": 6944, - "name": "Block", - "src": "6898:500:21" - } - ], - "id": 6945, - "name": "FunctionDefinition", - "src": "6833:565:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "donate", - "payable": true, - "scope": 7086, - "stateMutability": "payable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6946, - "name": "UserDefinedTypeName", - "src": "7822:6:21" - } - ], - "id": 6947, - "name": "VariableDeclaration", - "src": "7822:14:21" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6948, - "name": "ElementaryTypeName", - "src": "7838:7:21" - } - ], - "id": 6949, - "name": "VariableDeclaration", - "src": "7838:20:21" - } - ], - "id": 6950, - "name": "ParameterList", - "src": "7821:38:21" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6951, - "name": "ElementaryTypeName", - "src": "7883:4:21" - } - ], - "id": 6952, - "name": "VariableDeclaration", - "src": "7883:4:21" - } - ], - "id": 6953, - "name": "ParameterList", - "src": "7882:6:21" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 6955 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "org", - "scope": 7085, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SimpleICO.Organization memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 6655, - "type": "struct SimpleICO.Organization storage pointer" - }, - "id": 6954, - "name": "UserDefinedTypeName", - "src": "7900:12:21" - } - ], - "id": 6955, - "name": "VariableDeclaration", - "src": "7900:23:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6956, - "name": "Identifier", - "src": "7926:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6947, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6957, - "name": "Identifier", - "src": "7947:7:21" - } - ], - "id": 6958, - "name": "IndexAccess", - "src": "7926:29:21" - } - ], - "id": 6959, - "name": "VariableDeclarationStatement", - "src": "7900:55:21" - }, - { - "attributes": { - "assignments": [ - 6961 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 7085, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SimpleICO.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 6668, - "type": "struct SimpleICO.Parameters storage pointer" - }, - "id": 6960, - "name": "UserDefinedTypeName", - "src": "7966:10:21" - } - ], - "id": 6961, - "name": "VariableDeclaration", - "src": "7966:24:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6962, - "name": "Identifier", - "src": "7993:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6955, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6963, - "name": "Identifier", - "src": "8004:3:21" - } - ], - "id": 6964, - "name": "MemberAccess", - "src": "8004:14:21" - } - ], - "id": 6965, - "name": "IndexAccess", - "src": "7993:26:21" - } - ], - "id": 6966, - "name": "VariableDeclarationStatement", - "src": "7966:53:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6967, - "name": "Identifier", - "src": "8065:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6945, - "type": "function (address) view returns (bool)", - "value": "isActive" - }, - "id": 6968, - "name": "Identifier", - "src": "8073:8:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6947, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6969, - "name": "Identifier", - "src": "8082:7:21" - } - ], - "id": 6970, - "name": "FunctionCall", - "src": "8073:17:21" - } - ], - "id": 6971, - "name": "FunctionCall", - "src": "8065:26:21" - } - ], - "id": 6972, - "name": "ExpressionStatement", - "src": "8065:26:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6973, - "name": "Identifier", - "src": "8141:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "isHalted", - "referencedDeclaration": 6654, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6955, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6974, - "name": "Identifier", - "src": "8150:3:21" - } - ], - "id": 6975, - "name": "MemberAccess", - "src": "8150:12:21" - } - ], - "id": 6976, - "name": "UnaryOperation", - "src": "8149:13:21" - } - ], - "id": 6977, - "name": "FunctionCall", - "src": "8141:22:21" - } - ], - "id": 6978, - "name": "ExpressionStatement", - "src": "8141:22:21" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "incomingEther", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6979, - "name": "ElementaryTypeName", - "src": "8178:4:21" - } - ], - "id": 6980, - "name": "VariableDeclaration", - "src": "8178:18:21" - } - ], - "id": 6981, - "name": "VariableDeclarationStatement", - "src": "8178:18:21" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "change", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6982, - "name": "ElementaryTypeName", - "src": "8207:4:21" - } - ], - "id": 6983, - "name": "VariableDeclaration", - "src": "8207:11:21" - } - ], - "id": 6984, - "name": "VariableDeclarationStatement", - "src": "8207:11:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6985, - "name": "Identifier", - "src": "8280:3:21" - } - ], - "id": 6986, - "name": "MemberAccess", - "src": "8280:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 6657, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6961, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 6987, - "name": "Identifier", - "src": "8293:6:21" - } - ], - "id": 6988, - "name": "MemberAccess", - "src": "8293:10:21" - } - ], - "id": 6989, - "name": "TupleExpression", - "src": "8292:12:21" - } - ], - "id": 6990, - "name": "MemberAccess", - "src": "8292:16:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalEthRaised", - "referencedDeclaration": 6652, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6955, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6991, - "name": "Identifier", - "src": "8309:3:21" - } - ], - "id": 6992, - "name": "MemberAccess", - "src": "8309:18:21" - } - ], - "id": 6993, - "name": "FunctionCall", - "src": "8292:36:21" - } - ], - "id": 6994, - "name": "BinaryOperation", - "src": "8280:48:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 6995, - "name": "Identifier", - "src": "8346:13:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 6657, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6961, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 6996, - "name": "Identifier", - "src": "8363:6:21" - } - ], - "id": 6997, - "name": "MemberAccess", - "src": "8363:10:21" - } - ], - "id": 6998, - "name": "TupleExpression", - "src": "8362:12:21" - } - ], - "id": 6999, - "name": "MemberAccess", - "src": "8362:16:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalEthRaised", - "referencedDeclaration": 6652, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6955, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 7000, - "name": "Identifier", - "src": "8379:3:21" - } - ], - "id": 7001, - "name": "MemberAccess", - "src": "8379:18:21" - } - ], - "id": 7002, - "name": "FunctionCall", - "src": "8362:36:21" - } - ], - "id": 7003, - "name": "Assignment", - "src": "8346:52:21" - } - ], - "id": 7004, - "name": "ExpressionStatement", - "src": "8346:52:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6983, - "type": "uint256", - "value": "change" - }, - "id": 7005, - "name": "Identifier", - "src": "8413:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 7006, - "name": "Identifier", - "src": "8423:3:21" - } - ], - "id": 7007, - "name": "MemberAccess", - "src": "8423:9:21" - } - ], - "id": 7008, - "name": "TupleExpression", - "src": "8422:11:21" - } - ], - "id": 7009, - "name": "MemberAccess", - "src": "8422:15:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7010, - "name": "Identifier", - "src": "8438:13:21" - } - ], - "id": 7011, - "name": "FunctionCall", - "src": "8422:30:21" - } - ], - "id": 7012, - "name": "Assignment", - "src": "8413:39:21" - } - ], - "id": 7013, - "name": "ExpressionStatement", - "src": "8413:39:21" - } - ], - "id": 7014, - "name": "Block", - "src": "8331:133:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7015, - "name": "Identifier", - "src": "8485:13:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 7016, - "name": "Identifier", - "src": "8501:3:21" - } - ], - "id": 7017, - "name": "MemberAccess", - "src": "8501:9:21" - } - ], - "id": 7018, - "name": "Assignment", - "src": "8485:25:21" - } - ], - "id": 7019, - "name": "ExpressionStatement", - "src": "8485:25:21" - } - ], - "id": 7020, - "name": "Block", - "src": "8470:52:21" - } - ], - "id": 7021, - "name": "IfStatement", - "src": "8275:247:21" - }, - { - "attributes": { - "assignments": [ - 7023 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "tokens", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7022, - "name": "ElementaryTypeName", - "src": "8532:4:21" - } - ], - "id": 7023, - "name": "VariableDeclaration", - "src": "8532:11:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mul", - "referencedDeclaration": 9021, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7024, - "name": "Identifier", - "src": "8546:13:21" - } - ], - "id": 7025, - "name": "MemberAccess", - "src": "8546:17:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "price", - "referencedDeclaration": 6659, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6961, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 7026, - "name": "Identifier", - "src": "8564:6:21" - } - ], - "id": 7027, - "name": "MemberAccess", - "src": "8564:12:21" - } - ], - "id": 7028, - "name": "FunctionCall", - "src": "8546:31:21" - } - ], - "id": 7029, - "name": "VariableDeclarationStatement", - "src": "8532:45:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transfer", - "referencedDeclaration": null, - "type": "function (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "beneficiary", - "referencedDeclaration": 6665, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6961, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 7030, - "name": "Identifier", - "src": "8673:6:21" - } - ], - "id": 7033, - "name": "MemberAccess", - "src": "8673:18:21" - } - ], - "id": 7034, - "name": "MemberAccess", - "src": "8673:27:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7035, - "name": "Identifier", - "src": "8701:13:21" - } - ], - "id": 7036, - "name": "FunctionCall", - "src": "8673:42:21" - } - ], - "id": 7037, - "name": "ExpressionStatement", - "src": "8673:42:21" - }, - { - "attributes": { - "assignments": [ - 7039 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 7038, - "name": "UserDefinedTypeName", - "src": "8728:10:21" - } - ], - "id": 7039, - "name": "VariableDeclaration", - "src": "8728:21:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 7040, - "name": "Identifier", - "src": "8752:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6947, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7041, - "name": "Identifier", - "src": "8763:7:21" - } - ], - "id": 7042, - "name": "MemberAccess", - "src": "8763:13:21" - } - ], - "id": 7043, - "name": "FunctionCall", - "src": "8763:15:21" - } - ], - "id": 7044, - "name": "FunctionCall", - "src": "8752:27:21" - } - ], - "id": 7045, - "name": "VariableDeclarationStatement", - "src": "8728:51:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mintTokens", - "referencedDeclaration": 3502, - "type": "function (uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7039, - "type": "contract Controller", - "value": "controller" - }, - "id": 7046, - "name": "Identifier", - "src": "8795:10:21" - } - ], - "id": 7047, - "name": "MemberAccess", - "src": "8795:21:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7023, - "type": "uint256", - "value": "tokens" - }, - "id": 7048, - "name": "Identifier", - "src": "8817:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6949, - "type": "address", - "value": "_beneficiary" - }, - "id": 7049, - "name": "Identifier", - "src": "8825:12:21" - } - ], - "id": 7050, - "name": "FunctionCall", - "src": "8795:43:21" - } - ], - "id": 7051, - "name": "UnaryOperation", - "src": "8794:44:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 7052, - "name": "Identifier", - "src": "8855:6:21" - } - ], - "id": 7053, - "name": "FunctionCall", - "src": "8855:8:21" - } - ], - "id": 7054, - "name": "ExpressionStatement", - "src": "8855:8:21" - } - ], - "id": 7055, - "name": "Block", - "src": "8840:35:21" - } - ], - "id": 7056, - "name": "IfStatement", - "src": "8790:85:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6983, - "type": "uint256", - "value": "change" - }, - "id": 7057, - "name": "Identifier", - "src": "8889:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 7058, - "name": "Literal", - "src": "8899:1:21" - } - ], - "id": 7059, - "name": "BinaryOperation", - "src": "8889:11:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transfer", - "referencedDeclaration": null, - "type": "function (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6949, - "type": "address", - "value": "_beneficiary" - }, - "id": 7060, - "name": "Identifier", - "src": "8917:12:21" - } - ], - "id": 7062, - "name": "MemberAccess", - "src": "8917:21:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6983, - "type": "uint256", - "value": "change" - }, - "id": 7063, - "name": "Identifier", - "src": "8939:6:21" - } - ], - "id": 7064, - "name": "FunctionCall", - "src": "8917:29:21" - } - ], - "id": 7065, - "name": "ExpressionStatement", - "src": "8917:29:21" - } - ], - "id": 7066, - "name": "Block", - "src": "8902:56:21" - } - ], - "id": 7067, - "name": "IfStatement", - "src": "8885:73:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "+=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "totalEthRaised", - "referencedDeclaration": 6652, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 7068, - "name": "Identifier", - "src": "9048:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6947, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7069, - "name": "Identifier", - "src": "9069:7:21" - } - ], - "id": 7070, - "name": "IndexAccess", - "src": "9048:29:21" - } - ], - "id": 7071, - "name": "MemberAccess", - "src": "9048:44:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7072, - "name": "Identifier", - "src": "9096:13:21" - } - ], - "id": 7073, - "name": "Assignment", - "src": "9048:61:21" - } - ], - "id": 7074, - "name": "ExpressionStatement", - "src": "9048:61:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6686, - "type": "function (address,address,uint256,uint256)", - "value": "DonationReceived" - }, - "id": 7075, - "name": "Identifier", - "src": "9120:16:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6947, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7076, - "name": "Identifier", - "src": "9137:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6949, - "type": "address", - "value": "_beneficiary" - }, - "id": 7077, - "name": "Identifier", - "src": "9146:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7078, - "name": "Identifier", - "src": "9160:13:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7023, - "type": "uint256", - "value": "tokens" - }, - "id": 7079, - "name": "Identifier", - "src": "9175:6:21" - } - ], - "id": 7080, - "name": "FunctionCall", - "src": "9120:62:21" - } - ], - "id": 7081, - "name": "ExpressionStatement", - "src": "9120:62:21" - }, - { - "attributes": { - "functionReturnParameters": 6953 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7023, - "type": "uint256", - "value": "tokens" - }, - "id": 7082, - "name": "Identifier", - "src": "9200:6:21" - } - ], - "id": 7083, - "name": "Return", - "src": "9193:13:21" - } - ], - "id": 7084, - "name": "Block", - "src": "7889:1325:21" - } - ], - "id": 7085, - "name": "FunctionDefinition", - "src": "7806:1408:21" - } - ], - "id": 7086, - "name": "ContractDefinition", - "src": "1467:7750:21" - } - ], - "id": 7087, - "name": "SourceUnit", - "src": "0:9219:21" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.895Z" -} \ No newline at end of file diff --git a/contracts/OrganizationRegister.json b/contracts/OrganizationRegister.json deleted file mode 100644 index 965d64d0e..000000000 --- a/contracts/OrganizationRegister.json +++ /dev/null @@ -1,3294 +0,0 @@ -{ - "contractName": "OrganizationRegister", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "parameters", - "outputs": [ - { - "name": "fee", - "type": "uint256" - }, - { - "name": "token", - "type": "address" - }, - { - "name": "beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_record", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - } - ], - "name": "addOrPromoteAddress", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "address" - } - ], - "name": "organizationsRegistery", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "beneficiary", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_token", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_token", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "fee", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hashedParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_registry", - "type": "address" - }, - { - "indexed": true, - "name": "_org", - "type": "address" - } - ], - "name": "OrgAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_registry", - "type": "address" - }, - { - "indexed": true, - "name": "_org", - "type": "address" - }, - { - "indexed": false, - "name": "_amount", - "type": "uint256" - } - ], - "name": "Promotion", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b604051606080610abd83398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a031617815590925061006b9150849084908490640100000000610073810261056a1704565b5050506100c6565b60005433600160a060020a0390811691161461008e57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b6109e8806100d56000396000f3006060604052600436106100c15763ffffffff60e060020a6000350416630250680481146100c6578063197275f1146101095780632caf98ca1461013357806338af3eed1461016a5780634345a610146101995780635a1f7406146101c55780638da5cb5b146101f85780638fd631af1461020b57806390be003c1461023457806399cc9e7314610253578063c3c5a5471461027c578063ddca3f431461029b578063e1758bd8146102ae578063f2fde38b146102c1578063f98e87ba146102e0575b600080fd5b34156100d157600080fd5b6100dc6004356102f3565b604051928352600160a060020a039182166020840152166040808301919091526060909101905180910390f35b341561011457600080fd5b610131600160a060020a0360043581169060243516604435610320565b005b341561013e57600080fd5b610158600160a060020a036004358116906024351661053e565b60405190815260200160405180910390f35b341561017557600080fd5b61017d61055b565b604051600160a060020a03909116815260200160405180910390f35b34156101a457600080fd5b610131600160a060020a03600435811690602435906044351660643561056a565b34156101d057600080fd5b6101e4600160a060020a03600435166105ca565b604051901515815260200160405180910390f35b341561020357600080fd5b61017d6105df565b341561021657600080fd5b610158600160a060020a0360043581169060243590604435166105ee565b341561023f57600080fd5b610131600160a060020a0360043516610679565b341561025e57600080fd5b610158600160a060020a0360043581169060243590604435166107a2565b341561028757600080fd5b6101e4600160a060020a03600435166107eb565b34156102a657600080fd5b610158610809565b34156102b957600080fd5b61017d61080f565b34156102cc57600080fd5b610131600160a060020a036004351661081e565b34156102eb57600080fd5b6101586108b9565b6007602052600090815260409020805460018201546002909201549091600160a060020a03908116911683565b61032861099c565b600160a060020a038416600090815260056020526040902054849060ff16151561035157600080fd5b6007600061035e876108bf565b81526020810191909152604090810160002090606090519081016040908152825482526001830154600160a060020a0390811660208085019190915260029094015481168284015288811660009081526006855282812091891681529352909120549092501580156103d05750815183105b156103da57600080fd5b8160200151600160a060020a03166323b872dd3384604001518660006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561044c57600080fd5b6102c65a03f1151561045d57600080fd5b50505060405180515050600160a060020a0380861660009081526006602090815260408083209388168352929052205415156104d45783600160a060020a031685600160a060020a03167fbb755c25de622371a070056e89daca3dffb2591e14bfeaf5a22a5ff538f6430460405160405180910390a35b600160a060020a03808616600081815260066020908152604080832094891680845294909152908190208054870190557fbd26cf001a8e3be5dc9ac9f95c5e8fef2258c1ded9c61814e107db3ce9bbf2ca9086905190815260200160405180910390a35050505050565b600660209081526000928352604080842090915290825290205481565b600354600160a060020a031681565b60005433600160a060020a0390811691161461058557600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b600054600160a060020a031681565b6000806105fc8585856107a2565b600081815260076020526040902060010154909150600160a060020a03161515610671576000818152600760205260409020600181018054600160a060020a0380891673ffffffffffffffffffffffffffffffffffffffff199283161790925586835560029092018054918616919092161790555b949350505050565b60006002541180156106a45750600160a060020a03811660009081526005602052604090205460ff16155b1561073d57600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561072157600080fd5b6102c65a03f1151561073257600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b60008383836040516c01000000000000000000000000600160a060020a039485168102825260148201939093529216026034820152604801604051809103902090509392505050565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a0390811691161461083957600080fd5b600160a060020a038116151561084e57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561090857600080fd5b6102c65a03f1151561091957600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561097b57600080fd5b6102c65a03f1151561098c57600080fd5b5050506040518051949350505050565b6060604051908101604090815260008083526020830181905290820152905600a165627a7a7230582035c71e9dc2bb080ad04b06962c5a1f886f244f3f999883adf0642069775615de0029", - "deployedBytecode": "0x6060604052600436106100c15763ffffffff60e060020a6000350416630250680481146100c6578063197275f1146101095780632caf98ca1461013357806338af3eed1461016a5780634345a610146101995780635a1f7406146101c55780638da5cb5b146101f85780638fd631af1461020b57806390be003c1461023457806399cc9e7314610253578063c3c5a5471461027c578063ddca3f431461029b578063e1758bd8146102ae578063f2fde38b146102c1578063f98e87ba146102e0575b600080fd5b34156100d157600080fd5b6100dc6004356102f3565b604051928352600160a060020a039182166020840152166040808301919091526060909101905180910390f35b341561011457600080fd5b610131600160a060020a0360043581169060243516604435610320565b005b341561013e57600080fd5b610158600160a060020a036004358116906024351661053e565b60405190815260200160405180910390f35b341561017557600080fd5b61017d61055b565b604051600160a060020a03909116815260200160405180910390f35b34156101a457600080fd5b610131600160a060020a03600435811690602435906044351660643561056a565b34156101d057600080fd5b6101e4600160a060020a03600435166105ca565b604051901515815260200160405180910390f35b341561020357600080fd5b61017d6105df565b341561021657600080fd5b610158600160a060020a0360043581169060243590604435166105ee565b341561023f57600080fd5b610131600160a060020a0360043516610679565b341561025e57600080fd5b610158600160a060020a0360043581169060243590604435166107a2565b341561028757600080fd5b6101e4600160a060020a03600435166107eb565b34156102a657600080fd5b610158610809565b34156102b957600080fd5b61017d61080f565b34156102cc57600080fd5b610131600160a060020a036004351661081e565b34156102eb57600080fd5b6101586108b9565b6007602052600090815260409020805460018201546002909201549091600160a060020a03908116911683565b61032861099c565b600160a060020a038416600090815260056020526040902054849060ff16151561035157600080fd5b6007600061035e876108bf565b81526020810191909152604090810160002090606090519081016040908152825482526001830154600160a060020a0390811660208085019190915260029094015481168284015288811660009081526006855282812091891681529352909120549092501580156103d05750815183105b156103da57600080fd5b8160200151600160a060020a03166323b872dd3384604001518660006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561044c57600080fd5b6102c65a03f1151561045d57600080fd5b50505060405180515050600160a060020a0380861660009081526006602090815260408083209388168352929052205415156104d45783600160a060020a031685600160a060020a03167fbb755c25de622371a070056e89daca3dffb2591e14bfeaf5a22a5ff538f6430460405160405180910390a35b600160a060020a03808616600081815260066020908152604080832094891680845294909152908190208054870190557fbd26cf001a8e3be5dc9ac9f95c5e8fef2258c1ded9c61814e107db3ce9bbf2ca9086905190815260200160405180910390a35050505050565b600660209081526000928352604080842090915290825290205481565b600354600160a060020a031681565b60005433600160a060020a0390811691161461058557600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b600054600160a060020a031681565b6000806105fc8585856107a2565b600081815260076020526040902060010154909150600160a060020a03161515610671576000818152600760205260409020600181018054600160a060020a0380891673ffffffffffffffffffffffffffffffffffffffff199283161790925586835560029092018054918616919092161790555b949350505050565b60006002541180156106a45750600160a060020a03811660009081526005602052604090205460ff16155b1561073d57600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561072157600080fd5b6102c65a03f1151561073257600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b60008383836040516c01000000000000000000000000600160a060020a039485168102825260148201939093529216026034820152604801604051809103902090509392505050565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a0390811691161461083957600080fd5b600160a060020a038116151561084e57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561090857600080fd5b6102c65a03f1151561091957600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561097b57600080fd5b6102c65a03f1151561098c57600080fd5b5050506040518051949350505050565b6060604051908101604090815260008083526020830181905290820152905600a165627a7a7230582035c71e9dc2bb080ad04b06962c5a1f886f244f3f999883adf0642069775615de0029", - "sourceMap": "264:3602:19:-;;;1075:179;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;1075:179:19;;-1:-1:-1;1184:62:19;;-1:-1:-1;1201:12:19;;1215:4;;1075:179;;1184:16;;;;;;:62;:::i;:::-;1075:179;;;264:3602;;1314:347:22;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;264:3602:19:-;;;;;;;", - "deployedSourceMap": "264:3602:19:-;;;;;;;;;-1:-1:-1;;;264:3602:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;610:46;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;610:46:19;;;;;;;;;;;;;;;;;;;;;;;;;;;3146:717;;;;;;;;;;-1:-1:-1;;;;;3146:717:19;;;;;;;;;;;;;;531:70;;;;;;;;;;-1:-1:-1;;;;;531:70:19;;;;;;;;;;;;;;;;;;;;;;;;;407:26:22;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:26:22;;;;;;;;;;;;;;1314:347;;;;;;;;;;-1:-1:-1;;;;;1314:347:22;;;;;;;;;;;;;;;591:43;;;;;;;;;;-1:-1:-1;;;;;591:43:22;;;;;;;;;;;;;;;;;;;;;;238:20:29;;;;;;;;;;;;1595:449:19;;;;;;;;;;-1:-1:-1;;;;;1595:449:19;;;;;;;;;;;;;866:315:22;;;;;;;;;;-1:-1:-1;;;;;866:315:22;;;;;2370:186:19;;;;;;;;;;-1:-1:-1;;;;;2370:186:19;;;;;;;;;;;;;1189:117:22;;;;;;;;;;-1:-1:-1;;;;;1189:117:22;;;;;385:15;;;;;;;;;;;;346:32;;;;;;;;;;;;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;440:31:22;;;;;;;;;;;;610:46:19;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;610:46:19;;;;;;:::o;3146:717::-;3291:24;;:::i;:::-;-1:-1:-1;;;;;816:21:22;;;;;;:13;:21;;;;;;3254:7:19;;816:21:22;;808:30;;;;;;;;3318:10:19;:48;3329:36;3357:7;3329:27;:36::i;:::-;3318:48;;;;;;;;;;;;;;;;3291:75;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3291:75:19;;;;;;;;;;;;;;;;;;;;;;3459:31;;;3291:75;3459:31;;;:22;:31;;;;;:40;;;;;;;;;;;3291:75;;-1:-1:-1;3459:45:19;3458:73;;;;-1:-1:-1;3520:6:19;:10;3510:7;:20;3458:73;3454:115;;;3549:8;;;3454:115;3581:6;:12;;;-1:-1:-1;;;;;3581:25:19;;3607:10;3619:6;:18;;;3639:7;3581:66;;;;;;;;-1:-1:-1;;;3581:66:19;;;;;;-1:-1:-1;;;;;3581:66:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;3662:31:19;;;;;;;:22;:31;;;;;;;;:40;;;;;;;;;;:45;3658:88;;;3738:7;-1:-1:-1;;;;;3720:26:19;3729:7;-1:-1:-1;;;;;3720:26:19;;;;;;;;;;;3658:88;-1:-1:-1;;;;;3757:31:19;;;;;;;:22;:31;;;;;;;;:40;;;;;;;;;;;;;;:51;;;;;;3819:36;;3801:7;;3819:36;;;;;;;;;;;;;3146:717;;;;;:::o;531:70::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;407:26:22:-;;;-1:-1:-1;;;;;407:26:22;;:::o;1314:347::-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;591:43::-;;;;;;;;;;;;;;;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;1595:449:19:-;1688:7;1708:18;1729:45;1747:6;1755:4;1761:12;1729:17;:45::i;:::-;1829:1;1789:22;;;:10;:22;;;;;:28;;;1708:66;;-1:-1:-1;;;;;;1789:28:19;:42;1785:224;;;1848:22;;;;:10;:22;;;;;:28;;;:37;;-1:-1:-1;;;;;1848:37:19;;;-1:-1:-1;;1848:37:19;;;;;;;1900:33;;;1948:34;;;;:49;;;;;;;;;;;;1785:224;2026:10;1595:449;-1:-1:-1;;;;1595:449:19:o;866:315:22:-;980:1;974:3;;:7;973:39;;;;-1:-1:-1;;;;;;989:22:22;;;;;;:13;:22;;;;;;;;987:24;973:39;969:123;;;1029:11;;1063;;1076:3;;-1:-1:-1;;;;;1029:11:22;;;;:24;;1054:7;;1063:11;;;1029;:51;;;;;;;-1:-1:-1;;;1029:51:22;;;;;;-1:-1:-1;;;;;1029:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;969:123:22;-1:-1:-1;;;;;1102:22:22;;;;;;:13;:22;;;;;;;:29;;-1:-1:-1;;1102:29:22;1127:4;1102:29;;;1142:31;;1116:7;;1142:31;-1:-1:-1;;;;;1142:31:22;;;;;;;;;;;;;;866:315;:::o;2370:186:19:-;2477:7;2520:6;2528:4;2534:12;2510:37;;;-1:-1:-1;;;;;2510:37:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2502:46;;2370:186;;;;;:::o;1189:117:22:-;-1:-1:-1;;;;;1276:22:22;1252:4;1276:22;;;:13;:22;;;;;;;;;1189:117::o;385:15::-;;;;:::o;346:32::-;;;-1:-1:-1;;;;;346:32:22;;:::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;440:31:22:-;;;;:::o;1761:212::-;1840:7;1860:21;1895:7;-1:-1:-1;;;;;1895:13:22;;:15;;;;;;;;;;;-1:-1:-1;;;1895:15:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;1929:30:22;;;1960:4;1929:36;;;;;;;;-1:-1:-1;;;1929:36:22;;;;;;-1:-1:-1;;;;;1929:36:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1761:212;-1:-1:-1;;;;1761:212:22:o;264:3602:19:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./UniversalScheme.sol\";\r\n\r\n/**\r\n * @title A universal organization registry.\r\n * @dev Organizations can use this scheme to open a registry.\r\n * Other organizations can then add and promote themselves on this registry.\r\n */\r\n\r\n\r\ncontract OrganizationRegister is UniversalScheme {\r\n\r\n struct Parameters {\r\n uint fee;\r\n StandardToken token;\r\n address beneficiary;\r\n }\r\n\r\n // A mapping from thr organization (Avatar) address to the saved data of the organization:\r\n mapping(address=>mapping(address=>uint)) public organizationsRegistery;\r\n\r\n mapping(bytes32=>Parameters) public parameters;\r\n\r\n event OrgAdded( address indexed _registry, address indexed _org);\r\n event Promotion( address indexed _registry, address indexed _org, uint _amount);\r\n\r\n /**\r\n * @dev Constructor, Updating the initial prarmeters\r\n * @param _nativeToken The native token of the ICO\r\n * @param _fee The fee for intiating the ICO\r\n * @param _beneficiary The address that will receive the ethers\r\n */\r\n function OrganizationRegister(StandardToken _nativeToken, uint _fee, address _beneficiary) public {\r\n updateParameters(_nativeToken, _fee, _beneficiary, bytes32(0));\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters,save if needed and return the hash value\r\n * @param _token - the token to pay for register or promotion an address.\r\n * @param _fee - fee needed for register an address.\r\n * @param _beneficiary - the beneficiary payment address\r\n * @return bytes32 -the parameters hash\r\n */\r\n function setParameters(StandardToken _token, uint _fee, address _beneficiary) public returns(bytes32) {\r\n bytes32 paramsHash = getParametersHash(_token, _fee, _beneficiary);\r\n if (parameters[paramsHash].token == address(0)) {\r\n parameters[paramsHash].token = _token;\r\n parameters[paramsHash].fee = _fee;\r\n parameters[paramsHash].beneficiary = _beneficiary;\r\n }\r\n return paramsHash;\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters,and return the hash value\r\n * @param _token - the token to pay for register or promotion an address.\r\n * @param _fee - fee needed for register an address.\r\n * @param _beneficiary - the beneficiary payment address\r\n * @return bytes32 -the parameters hash\r\n */\r\n function getParametersHash(StandardToken _token, uint _fee, address _beneficiary)\r\n public pure returns(bytes32)\r\n {\r\n return (keccak256(_token, _fee, _beneficiary));\r\n }\r\n\r\n /**\r\n * @dev Adding or promoting an address on the registry.\r\n * An address(record) to add or promote can be organization address or any contract address.\r\n * Adding a record is done by paying at least the minimum required by the registery params.\r\n * Promoting a record is done by paying(adding)amount of token to the registery beneficiary.\r\n * @param _avatar The _avatar of the organization which own the registery.\r\n * @param _record The address to add or promote.\r\n * @param _amount amount to pay for adding or promoting\r\n */\r\n function addOrPromoteAddress(Avatar _avatar, address _record, uint _amount)\r\n onlyRegisteredOrganization(_avatar)\r\n public\r\n {\r\n Parameters memory params = parameters[getParametersFromController(_avatar)];\r\n // Pay promotion, if the org was not listed the minimum is the fee:\r\n if ((organizationsRegistery[_avatar][_record] == 0) && (_amount < params.fee) ) {\r\n revert();\r\n }\r\n\r\n params.token.transferFrom(msg.sender, params.beneficiary, _amount);\r\n if (organizationsRegistery[_avatar][_record] == 0)\r\n OrgAdded(_avatar, _record);\r\n organizationsRegistery[_avatar][_record] += _amount;\r\n Promotion(_avatar, _record, _amount);\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\OrganizationRegister.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/OrganizationRegister.sol", - "exportedSymbols": { - "OrganizationRegister": [ - 6081 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 5876, - "name": "PragmaDirective", - "src": "0:24:19" - }, - { - "attributes": { - "SourceUnit": 7230, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "file": "./UniversalScheme.sol", - "scope": 6082, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 5877, - "name": "ImportDirective", - "src": "28:31:19" - }, - { - "attributes": { - "contractDependencies": [ - 7229, - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": "@title A universal organization registry.\r\n@dev Organizations can use this scheme to open a registry.\r\nOther organizations can then add and promote themselves on this registry.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6081, - 7229, - 7259, - 9140 - ], - "name": "OrganizationRegister", - "scope": 6082 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalScheme", - "referencedDeclaration": 7229, - "type": "contract UniversalScheme" - }, - "id": 5878, - "name": "UserDefinedTypeName", - "src": "297:15:19" - } - ], - "id": 5879, - "name": "InheritanceSpecifier", - "src": "297:15:19" - }, - { - "attributes": { - "canonicalName": "OrganizationRegister.Parameters", - "name": "Parameters", - "scope": 6081, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "fee", - "scope": 5886, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5880, - "name": "ElementaryTypeName", - "src": "351:4:19" - } - ], - "id": 5881, - "name": "VariableDeclaration", - "src": "351:8:19" - }, - { - "attributes": { - "constant": false, - "name": "token", - "scope": 5886, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 5882, - "name": "UserDefinedTypeName", - "src": "370:13:19" - } - ], - "id": 5883, - "name": "VariableDeclaration", - "src": "370:19:19" - }, - { - "attributes": { - "constant": false, - "name": "beneficiary", - "scope": 5886, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5884, - "name": "ElementaryTypeName", - "src": "400:7:19" - } - ], - "id": 5885, - "name": "VariableDeclaration", - "src": "400:19:19" - } - ], - "id": 5886, - "name": "StructDefinition", - "src": "322:105:19" - }, - { - "attributes": { - "constant": false, - "name": "organizationsRegistery", - "scope": 6081, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => mapping(address => uint256))", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => mapping(address => uint256))" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5887, - "name": "ElementaryTypeName", - "src": "539:7:19" - }, - { - "attributes": { - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5888, - "name": "ElementaryTypeName", - "src": "556:7:19" - }, - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5889, - "name": "ElementaryTypeName", - "src": "565:4:19" - } - ], - "id": 5890, - "name": "Mapping", - "src": "548:22:19" - } - ], - "id": 5891, - "name": "Mapping", - "src": "531:40:19" - } - ], - "id": 5892, - "name": "VariableDeclaration", - "src": "531:70:19" - }, - { - "attributes": { - "constant": false, - "name": "parameters", - "scope": 6081, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct OrganizationRegister.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct OrganizationRegister.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5893, - "name": "ElementaryTypeName", - "src": "618:7:19" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 5886, - "type": "struct OrganizationRegister.Parameters storage pointer" - }, - "id": 5894, - "name": "UserDefinedTypeName", - "src": "627:10:19" - } - ], - "id": 5895, - "name": "Mapping", - "src": "610:28:19" - } - ], - "id": 5896, - "name": "VariableDeclaration", - "src": "610:46:19" - }, - { - "attributes": { - "anonymous": false, - "name": "OrgAdded" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_registry", - "scope": 5902, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5897, - "name": "ElementaryTypeName", - "src": "681:7:19" - } - ], - "id": 5898, - "name": "VariableDeclaration", - "src": "681:25:19" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_org", - "scope": 5902, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5899, - "name": "ElementaryTypeName", - "src": "708:7:19" - } - ], - "id": 5900, - "name": "VariableDeclaration", - "src": "708:20:19" - } - ], - "id": 5901, - "name": "ParameterList", - "src": "679:50:19" - } - ], - "id": 5902, - "name": "EventDefinition", - "src": "665:65:19" - }, - { - "attributes": { - "anonymous": false, - "name": "Promotion" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_registry", - "scope": 5910, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5903, - "name": "ElementaryTypeName", - "src": "753:7:19" - } - ], - "id": 5904, - "name": "VariableDeclaration", - "src": "753:25:19" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_org", - "scope": 5910, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5905, - "name": "ElementaryTypeName", - "src": "780:7:19" - } - ], - "id": 5906, - "name": "VariableDeclaration", - "src": "780:20:19" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_amount", - "scope": 5910, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5907, - "name": "ElementaryTypeName", - "src": "802:4:19" - } - ], - "id": 5908, - "name": "VariableDeclaration", - "src": "802:12:19" - } - ], - "id": 5909, - "name": "ParameterList", - "src": "751:64:19" - } - ], - "id": 5910, - "name": "EventDefinition", - "src": "736:80:19" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "OrganizationRegister", - "payable": false, - "scope": 6081, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 5929, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 5911, - "name": "UserDefinedTypeName", - "src": "1105:13:19" - } - ], - "id": 5912, - "name": "VariableDeclaration", - "src": "1105:26:19" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 5929, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5913, - "name": "ElementaryTypeName", - "src": "1133:4:19" - } - ], - "id": 5914, - "name": "VariableDeclaration", - "src": "1133:9:19" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 5929, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5915, - "name": "ElementaryTypeName", - "src": "1144:7:19" - } - ], - "id": 5916, - "name": "VariableDeclaration", - "src": "1144:20:19" - } - ], - "id": 5917, - "name": "ParameterList", - "src": "1104:61:19" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 5918, - "name": "ParameterList", - "src": "1173:0:19" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 7207 - ], - "referencedDeclaration": 7207, - "type": "function (contract StandardToken,uint256,address,bytes32)", - "value": "updateParameters" - }, - "id": 5919, - "name": "Identifier", - "src": "1184:16:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5912, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 5920, - "name": "Identifier", - "src": "1201:12:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5914, - "type": "uint256", - "value": "_fee" - }, - "id": 5921, - "name": "Identifier", - "src": "1215:4:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5916, - "type": "address", - "value": "_beneficiary" - }, - "id": 5922, - "name": "Identifier", - "src": "1221:12:19" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 5923, - "name": "ElementaryTypeNameExpression", - "src": "1235:7:19" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5924, - "name": "Literal", - "src": "1243:1:19" - } - ], - "id": 5925, - "name": "FunctionCall", - "src": "1235:10:19" - } - ], - "id": 5926, - "name": "FunctionCall", - "src": "1184:62:19" - } - ], - "id": 5927, - "name": "ExpressionStatement", - "src": "1184:62:19" - } - ], - "id": 5928, - "name": "Block", - "src": "1173:81:19" - } - ], - "id": 5929, - "name": "FunctionDefinition", - "src": "1075:179:19" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 6081, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_token", - "scope": 5982, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 5930, - "name": "UserDefinedTypeName", - "src": "1618:13:19" - } - ], - "id": 5931, - "name": "VariableDeclaration", - "src": "1618:20:19" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 5982, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5932, - "name": "ElementaryTypeName", - "src": "1640:4:19" - } - ], - "id": 5933, - "name": "VariableDeclaration", - "src": "1640:9:19" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 5982, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5934, - "name": "ElementaryTypeName", - "src": "1651:7:19" - } - ], - "id": 5935, - "name": "VariableDeclaration", - "src": "1651:20:19" - } - ], - "id": 5936, - "name": "ParameterList", - "src": "1617:55:19" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 5982, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5937, - "name": "ElementaryTypeName", - "src": "1688:7:19" - } - ], - "id": 5938, - "name": "VariableDeclaration", - "src": "1688:7:19" - } - ], - "id": 5939, - "name": "ParameterList", - "src": "1687:9:19" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 5941 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 5982, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5940, - "name": "ElementaryTypeName", - "src": "1708:7:19" - } - ], - "id": 5941, - "name": "VariableDeclaration", - "src": "1708:18:19" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6001, - "type": "function (contract StandardToken,uint256,address) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 5942, - "name": "Identifier", - "src": "1729:17:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5931, - "type": "contract StandardToken", - "value": "_token" - }, - "id": 5943, - "name": "Identifier", - "src": "1747:6:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5933, - "type": "uint256", - "value": "_fee" - }, - "id": 5944, - "name": "Identifier", - "src": "1755:4:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5935, - "type": "address", - "value": "_beneficiary" - }, - "id": 5945, - "name": "Identifier", - "src": "1761:12:19" - } - ], - "id": 5946, - "name": "FunctionCall", - "src": "1729:45:19" - } - ], - "id": 5947, - "name": "VariableDeclarationStatement", - "src": "1708:66:19" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "token", - "referencedDeclaration": 5883, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct OrganizationRegister.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5896, - "type": "mapping(bytes32 => struct OrganizationRegister.Parameters storage ref)", - "value": "parameters" - }, - "id": 5948, - "name": "Identifier", - "src": "1789:10:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5941, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 5949, - "name": "Identifier", - "src": "1800:10:19" - } - ], - "id": 5950, - "name": "IndexAccess", - "src": "1789:22:19" - } - ], - "id": 5951, - "name": "MemberAccess", - "src": "1789:28:19" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 5952, - "name": "ElementaryTypeNameExpression", - "src": "1821:7:19" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 5953, - "name": "Literal", - "src": "1829:1:19" - } - ], - "id": 5954, - "name": "FunctionCall", - "src": "1821:10:19" - } - ], - "id": 5955, - "name": "BinaryOperation", - "src": "1789:42:19" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "token", - "referencedDeclaration": 5883, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct OrganizationRegister.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5896, - "type": "mapping(bytes32 => struct OrganizationRegister.Parameters storage ref)", - "value": "parameters" - }, - "id": 5956, - "name": "Identifier", - "src": "1848:10:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5941, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 5957, - "name": "Identifier", - "src": "1859:10:19" - } - ], - "id": 5958, - "name": "IndexAccess", - "src": "1848:22:19" - } - ], - "id": 5959, - "name": "MemberAccess", - "src": "1848:28:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5931, - "type": "contract StandardToken", - "value": "_token" - }, - "id": 5960, - "name": "Identifier", - "src": "1879:6:19" - } - ], - "id": 5961, - "name": "Assignment", - "src": "1848:37:19" - } - ], - "id": 5962, - "name": "ExpressionStatement", - "src": "1848:37:19" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "fee", - "referencedDeclaration": 5881, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct OrganizationRegister.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5896, - "type": "mapping(bytes32 => struct OrganizationRegister.Parameters storage ref)", - "value": "parameters" - }, - "id": 5963, - "name": "Identifier", - "src": "1900:10:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5941, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 5964, - "name": "Identifier", - "src": "1911:10:19" - } - ], - "id": 5965, - "name": "IndexAccess", - "src": "1900:22:19" - } - ], - "id": 5966, - "name": "MemberAccess", - "src": "1900:26:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5933, - "type": "uint256", - "value": "_fee" - }, - "id": 5967, - "name": "Identifier", - "src": "1929:4:19" - } - ], - "id": 5968, - "name": "Assignment", - "src": "1900:33:19" - } - ], - "id": 5969, - "name": "ExpressionStatement", - "src": "1900:33:19" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "beneficiary", - "referencedDeclaration": 5885, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct OrganizationRegister.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5896, - "type": "mapping(bytes32 => struct OrganizationRegister.Parameters storage ref)", - "value": "parameters" - }, - "id": 5970, - "name": "Identifier", - "src": "1948:10:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5941, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 5971, - "name": "Identifier", - "src": "1959:10:19" - } - ], - "id": 5972, - "name": "IndexAccess", - "src": "1948:22:19" - } - ], - "id": 5973, - "name": "MemberAccess", - "src": "1948:34:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5935, - "type": "address", - "value": "_beneficiary" - }, - "id": 5974, - "name": "Identifier", - "src": "1985:12:19" - } - ], - "id": 5975, - "name": "Assignment", - "src": "1948:49:19" - } - ], - "id": 5976, - "name": "ExpressionStatement", - "src": "1948:49:19" - } - ], - "id": 5977, - "name": "Block", - "src": "1833:176:19" - } - ], - "id": 5978, - "name": "IfStatement", - "src": "1785:224:19" - }, - { - "attributes": { - "functionReturnParameters": 5939 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5941, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 5979, - "name": "Identifier", - "src": "2026:10:19" - } - ], - "id": 5980, - "name": "Return", - "src": "2019:17:19" - } - ], - "id": 5981, - "name": "Block", - "src": "1697:347:19" - } - ], - "id": 5982, - "name": "FunctionDefinition", - "src": "1595:449:19" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 6081, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_token", - "scope": 6001, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 5983, - "name": "UserDefinedTypeName", - "src": "2397:13:19" - } - ], - "id": 5984, - "name": "VariableDeclaration", - "src": "2397:20:19" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 6001, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 5985, - "name": "ElementaryTypeName", - "src": "2419:4:19" - } - ], - "id": 5986, - "name": "VariableDeclaration", - "src": "2419:9:19" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 6001, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 5987, - "name": "ElementaryTypeName", - "src": "2430:7:19" - } - ], - "id": 5988, - "name": "VariableDeclaration", - "src": "2430:20:19" - } - ], - "id": 5989, - "name": "ParameterList", - "src": "2396:55:19" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6001, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 5990, - "name": "ElementaryTypeName", - "src": "2477:7:19" - } - ], - "id": 5991, - "name": "VariableDeclaration", - "src": "2477:7:19" - } - ], - "id": 5992, - "name": "ParameterList", - "src": "2476:9:19" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 5992 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 5993, - "name": "Identifier", - "src": "2510:9:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5984, - "type": "contract StandardToken", - "value": "_token" - }, - "id": 5994, - "name": "Identifier", - "src": "2520:6:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5986, - "type": "uint256", - "value": "_fee" - }, - "id": 5995, - "name": "Identifier", - "src": "2528:4:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5988, - "type": "address", - "value": "_beneficiary" - }, - "id": 5996, - "name": "Identifier", - "src": "2534:12:19" - } - ], - "id": 5997, - "name": "FunctionCall", - "src": "2510:37:19" - } - ], - "id": 5998, - "name": "TupleExpression", - "src": "2509:39:19" - } - ], - "id": 5999, - "name": "Return", - "src": "2502:46:19" - } - ], - "id": 6000, - "name": "Block", - "src": "2491:65:19" - } - ], - "id": 6001, - "name": "FunctionDefinition", - "src": "2370:186:19" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "addOrPromoteAddress", - "payable": false, - "scope": 6081, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6080, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6002, - "name": "UserDefinedTypeName", - "src": "3175:6:19" - } - ], - "id": 6003, - "name": "VariableDeclaration", - "src": "3175:14:19" - }, - { - "attributes": { - "constant": false, - "name": "_record", - "scope": 6080, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6004, - "name": "ElementaryTypeName", - "src": "3191:7:19" - } - ], - "id": 6005, - "name": "VariableDeclaration", - "src": "3191:15:19" - }, - { - "attributes": { - "constant": false, - "name": "_amount", - "scope": 6080, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6006, - "name": "ElementaryTypeName", - "src": "3208:4:19" - } - ], - "id": 6007, - "name": "VariableDeclaration", - "src": "3208:12:19" - } - ], - "id": 6008, - "name": "ParameterList", - "src": "3174:47:19" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6012, - "name": "ParameterList", - "src": "3280:0:19" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7129, - "type": "modifier (address)", - "value": "onlyRegisteredOrganization" - }, - "id": 6009, - "name": "Identifier", - "src": "3227:26:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6003, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6010, - "name": "Identifier", - "src": "3254:7:19" - } - ], - "id": 6011, - "name": "ModifierInvocation", - "src": "3227:35:19" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 6014 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 6080, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct OrganizationRegister.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 5886, - "type": "struct OrganizationRegister.Parameters storage pointer" - }, - "id": 6013, - "name": "UserDefinedTypeName", - "src": "3291:10:19" - } - ], - "id": 6014, - "name": "VariableDeclaration", - "src": "3291:24:19" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct OrganizationRegister.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5896, - "type": "mapping(bytes32 => struct OrganizationRegister.Parameters storage ref)", - "value": "parameters" - }, - "id": 6015, - "name": "Identifier", - "src": "3318:10:19" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 6016, - "name": "Identifier", - "src": "3329:27:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6003, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6017, - "name": "Identifier", - "src": "3357:7:19" - } - ], - "id": 6018, - "name": "FunctionCall", - "src": "3329:36:19" - } - ], - "id": 6019, - "name": "IndexAccess", - "src": "3318:48:19" - } - ], - "id": 6020, - "name": "VariableDeclarationStatement", - "src": "3291:75:19" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5892, - "type": "mapping(address => mapping(address => uint256))", - "value": "organizationsRegistery" - }, - "id": 6021, - "name": "Identifier", - "src": "3459:22:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6003, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6022, - "name": "Identifier", - "src": "3482:7:19" - } - ], - "id": 6023, - "name": "IndexAccess", - "src": "3459:31:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6005, - "type": "address", - "value": "_record" - }, - "id": 6024, - "name": "Identifier", - "src": "3491:7:19" - } - ], - "id": 6025, - "name": "IndexAccess", - "src": "3459:40:19" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6026, - "name": "Literal", - "src": "3503:1:19" - } - ], - "id": 6027, - "name": "BinaryOperation", - "src": "3459:45:19" - } - ], - "id": 6028, - "name": "TupleExpression", - "src": "3458:47:19" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6007, - "type": "uint256", - "value": "_amount" - }, - "id": 6029, - "name": "Identifier", - "src": "3510:7:19" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "fee", - "referencedDeclaration": 5881, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6014, - "type": "struct OrganizationRegister.Parameters memory", - "value": "params" - }, - "id": 6030, - "name": "Identifier", - "src": "3520:6:19" - } - ], - "id": 6031, - "name": "MemberAccess", - "src": "3520:10:19" - } - ], - "id": 6032, - "name": "BinaryOperation", - "src": "3510:20:19" - } - ], - "id": 6033, - "name": "TupleExpression", - "src": "3509:22:19" - } - ], - "id": 6034, - "name": "BinaryOperation", - "src": "3458:73:19" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 6035, - "name": "Identifier", - "src": "3549:6:19" - } - ], - "id": 6036, - "name": "FunctionCall", - "src": "3549:8:19" - } - ], - "id": 6037, - "name": "ExpressionStatement", - "src": "3549:8:19" - } - ], - "id": 6038, - "name": "Block", - "src": "3534:35:19" - } - ], - "id": 6039, - "name": "IfStatement", - "src": "3454:115:19" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferFrom", - "referencedDeclaration": 9554, - "type": "function (address,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "token", - "referencedDeclaration": 5883, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6014, - "type": "struct OrganizationRegister.Parameters memory", - "value": "params" - }, - "id": 6040, - "name": "Identifier", - "src": "3581:6:19" - } - ], - "id": 6043, - "name": "MemberAccess", - "src": "3581:12:19" - } - ], - "id": 6044, - "name": "MemberAccess", - "src": "3581:25:19" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6045, - "name": "Identifier", - "src": "3607:3:19" - } - ], - "id": 6046, - "name": "MemberAccess", - "src": "3607:10:19" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "beneficiary", - "referencedDeclaration": 5885, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6014, - "type": "struct OrganizationRegister.Parameters memory", - "value": "params" - }, - "id": 6047, - "name": "Identifier", - "src": "3619:6:19" - } - ], - "id": 6048, - "name": "MemberAccess", - "src": "3619:18:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6007, - "type": "uint256", - "value": "_amount" - }, - "id": 6049, - "name": "Identifier", - "src": "3639:7:19" - } - ], - "id": 6050, - "name": "FunctionCall", - "src": "3581:66:19" - } - ], - "id": 6051, - "name": "ExpressionStatement", - "src": "3581:66:19" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5892, - "type": "mapping(address => mapping(address => uint256))", - "value": "organizationsRegistery" - }, - "id": 6052, - "name": "Identifier", - "src": "3662:22:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6003, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6053, - "name": "Identifier", - "src": "3685:7:19" - } - ], - "id": 6054, - "name": "IndexAccess", - "src": "3662:31:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6005, - "type": "address", - "value": "_record" - }, - "id": 6055, - "name": "Identifier", - "src": "3694:7:19" - } - ], - "id": 6056, - "name": "IndexAccess", - "src": "3662:40:19" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6057, - "name": "Literal", - "src": "3706:1:19" - } - ], - "id": 6058, - "name": "BinaryOperation", - "src": "3662:45:19" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5902, - "type": "function (address,address)", - "value": "OrgAdded" - }, - "id": 6059, - "name": "Identifier", - "src": "3720:8:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6003, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6060, - "name": "Identifier", - "src": "3729:7:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6005, - "type": "address", - "value": "_record" - }, - "id": 6061, - "name": "Identifier", - "src": "3738:7:19" - } - ], - "id": 6062, - "name": "FunctionCall", - "src": "3720:26:19" - } - ], - "id": 6063, - "name": "ExpressionStatement", - "src": "3720:26:19" - } - ], - "id": 6064, - "name": "IfStatement", - "src": "3658:88:19" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "+=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5892, - "type": "mapping(address => mapping(address => uint256))", - "value": "organizationsRegistery" - }, - "id": 6065, - "name": "Identifier", - "src": "3757:22:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6003, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6066, - "name": "Identifier", - "src": "3780:7:19" - } - ], - "id": 6068, - "name": "IndexAccess", - "src": "3757:31:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6005, - "type": "address", - "value": "_record" - }, - "id": 6067, - "name": "Identifier", - "src": "3789:7:19" - } - ], - "id": 6069, - "name": "IndexAccess", - "src": "3757:40:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6007, - "type": "uint256", - "value": "_amount" - }, - "id": 6070, - "name": "Identifier", - "src": "3801:7:19" - } - ], - "id": 6071, - "name": "Assignment", - "src": "3757:51:19" - } - ], - "id": 6072, - "name": "ExpressionStatement", - "src": "3757:51:19" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5910, - "type": "function (address,address,uint256)", - "value": "Promotion" - }, - "id": 6073, - "name": "Identifier", - "src": "3819:9:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6003, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6074, - "name": "Identifier", - "src": "3829:7:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6005, - "type": "address", - "value": "_record" - }, - "id": 6075, - "name": "Identifier", - "src": "3838:7:19" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6007, - "type": "uint256", - "value": "_amount" - }, - "id": 6076, - "name": "Identifier", - "src": "3847:7:19" - } - ], - "id": 6077, - "name": "FunctionCall", - "src": "3819:36:19" - } - ], - "id": 6078, - "name": "ExpressionStatement", - "src": "3819:36:19" - } - ], - "id": 6079, - "name": "Block", - "src": "3280:583:19" - } - ], - "id": 6080, - "name": "FunctionDefinition", - "src": "3146:717:19" - } - ], - "id": 6081, - "name": "ContractDefinition", - "src": "264:3602:19" - } - ], - "id": 6082, - "name": "SourceUnit", - "src": "0:3868:19" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.934Z" -} \ No newline at end of file diff --git a/contracts/Ownable.json b/contracts/Ownable.json deleted file mode 100644 index fd9d4c540..000000000 --- a/contracts/Ownable.json +++ /dev/null @@ -1,841 +0,0 @@ -{ - "contractName": "Ownable", - "abi": [ - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b60008054600160a060020a033316600160a060020a03199091161790556101768061003b6000396000f30060606040526004361061004b5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416638da5cb5b8114610050578063f2fde38b1461007f575b600080fd5b341561005b57600080fd5b6100636100a0565b604051600160a060020a03909116815260200160405180910390f35b341561008a57600080fd5b61009e600160a060020a03600435166100af565b005b600054600160a060020a031681565b60005433600160a060020a039081169116146100ca57600080fd5b600160a060020a03811615156100df57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820e82a9cdbdafddd8104a8a26b7ab8183b7d01af355c935d330121904954d91d910029", - "deployedBytecode": "0x60606040526004361061004b5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416638da5cb5b8114610050578063f2fde38b1461007f575b600080fd5b341561005b57600080fd5b6100636100a0565b604051600160a060020a03909116815260200160405180910390f35b341561008a57600080fd5b61009e600160a060020a03600435166100af565b005b600054600160a060020a031681565b60005433600160a060020a039081169116146100ca57600080fd5b600160a060020a03811615156100df57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820e82a9cdbdafddd8104a8a26b7ab8183b7d01af355c935d330121904954d91d910029", - "sourceMap": "217:789:29:-;;;469:55;;;;;;;;501:5;:18;;-1:-1:-1;;;;;509:10:29;501:18;-1:-1:-1;;;;;;501:18:29;;;;;;217:789;;;;;;", - "deployedSourceMap": "217:789:29:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20;;;;;;;;;;;;;;;-1:-1:-1;;;;;238:20:29;;;;;;;;;;;;;;834:169;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;;;238:20;;;-1:-1:-1;;;;;238:20:29;;:::o;834:169::-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o", - "source": "pragma solidity ^0.4.18;\n\n\n/**\n * @title Ownable\n * @dev The Ownable contract has an owner address, and provides basic authorization control\n * functions, this simplifies the implementation of \"user permissions\".\n */\ncontract Ownable {\n address public owner;\n\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n\n /**\n * @dev The Ownable constructor sets the original `owner` of the contract to the sender\n * account.\n */\n function Ownable() public {\n owner = msg.sender;\n }\n\n\n /**\n * @dev Throws if called by any account other than the owner.\n */\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n\n /**\n * @dev Allows the current owner to transfer control of the contract to a newOwner.\n * @param newOwner The address to transfer ownership to.\n */\n function transferOwnership(address newOwner) public onlyOwner {\n require(newOwner != address(0));\n OwnershipTransferred(owner, newOwner);\n owner = newOwner;\n }\n\n}\n", - "sourcePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "ast": { - "attributes": { - "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "exportedSymbols": { - "Ownable": [ - 9140 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 9086, - "name": "PragmaDirective", - "src": "0:24:29" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": "@title Ownable\n@dev The Ownable contract has an owner address, and provides basic authorization control\nfunctions, this simplifies the implementation of \"user permissions\".", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 9140 - ], - "name": "Ownable", - "scope": 9141 - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "owner", - "scope": 9140, - "stateVariable": true, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9087, - "name": "ElementaryTypeName", - "src": "238:7:29" - } - ], - "id": 9088, - "name": "VariableDeclaration", - "src": "238:20:29" - }, - { - "attributes": { - "anonymous": false, - "name": "OwnershipTransferred" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "previousOwner", - "scope": 9094, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9089, - "name": "ElementaryTypeName", - "src": "291:7:29" - } - ], - "id": 9090, - "name": "VariableDeclaration", - "src": "291:29:29" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "newOwner", - "scope": 9094, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9091, - "name": "ElementaryTypeName", - "src": "322:7:29" - } - ], - "id": 9092, - "name": "VariableDeclaration", - "src": "322:24:29" - } - ], - "id": 9093, - "name": "ParameterList", - "src": "290:57:29" - } - ], - "id": 9094, - "name": "EventDefinition", - "src": "264:84:29" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "Ownable", - "payable": false, - "scope": 9140, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 9095, - "name": "ParameterList", - "src": "485:2:29" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 9096, - "name": "ParameterList", - "src": "495:0:29" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9088, - "type": "address", - "value": "owner" - }, - "id": 9097, - "name": "Identifier", - "src": "501:5:29" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9098, - "name": "Identifier", - "src": "509:3:29" - } - ], - "id": 9099, - "name": "MemberAccess", - "src": "509:10:29" - } - ], - "id": 9100, - "name": "Assignment", - "src": "501:18:29" - } - ], - "id": 9101, - "name": "ExpressionStatement", - "src": "501:18:29" - } - ], - "id": 9102, - "name": "Block", - "src": "495:29:29" - } - ], - "id": 9103, - "name": "FunctionDefinition", - "src": "469:55:29" - }, - { - "attributes": { - "name": "onlyOwner", - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 9104, - "name": "ParameterList", - "src": "623:2:29" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 9105, - "name": "Identifier", - "src": "632:7:29" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9106, - "name": "Identifier", - "src": "640:3:29" - } - ], - "id": 9107, - "name": "MemberAccess", - "src": "640:10:29" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9088, - "type": "address", - "value": "owner" - }, - "id": 9108, - "name": "Identifier", - "src": "654:5:29" - } - ], - "id": 9109, - "name": "BinaryOperation", - "src": "640:19:29" - } - ], - "id": 9110, - "name": "FunctionCall", - "src": "632:28:29" - } - ], - "id": 9111, - "name": "ExpressionStatement", - "src": "632:28:29" - }, - { - "id": 9112, - "name": "PlaceholderStatement", - "src": "666:1:29" - } - ], - "id": 9113, - "name": "Block", - "src": "626:46:29" - } - ], - "id": 9114, - "name": "ModifierDefinition", - "src": "605:67:29" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "transferOwnership", - "payable": false, - "scope": 9140, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "newOwner", - "scope": 9139, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9115, - "name": "ElementaryTypeName", - "src": "861:7:29" - } - ], - "id": 9116, - "name": "VariableDeclaration", - "src": "861:16:29" - } - ], - "id": 9117, - "name": "ParameterList", - "src": "860:18:29" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 9120, - "name": "ParameterList", - "src": "896:0:29" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 9118, - "name": "Identifier", - "src": "886:9:29" - } - ], - "id": 9119, - "name": "ModifierInvocation", - "src": "886:9:29" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 9121, - "name": "Identifier", - "src": "902:7:29" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9116, - "type": "address", - "value": "newOwner" - }, - "id": 9122, - "name": "Identifier", - "src": "910:8:29" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 9123, - "name": "ElementaryTypeNameExpression", - "src": "922:7:29" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 9124, - "name": "Literal", - "src": "930:1:29" - } - ], - "id": 9125, - "name": "FunctionCall", - "src": "922:10:29" - } - ], - "id": 9126, - "name": "BinaryOperation", - "src": "910:22:29" - } - ], - "id": 9127, - "name": "FunctionCall", - "src": "902:31:29" - } - ], - "id": 9128, - "name": "ExpressionStatement", - "src": "902:31:29" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9094, - "type": "function (address,address)", - "value": "OwnershipTransferred" - }, - "id": 9129, - "name": "Identifier", - "src": "939:20:29" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9088, - "type": "address", - "value": "owner" - }, - "id": 9130, - "name": "Identifier", - "src": "960:5:29" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9116, - "type": "address", - "value": "newOwner" - }, - "id": 9131, - "name": "Identifier", - "src": "967:8:29" - } - ], - "id": 9132, - "name": "FunctionCall", - "src": "939:37:29" - } - ], - "id": 9133, - "name": "ExpressionStatement", - "src": "939:37:29" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9088, - "type": "address", - "value": "owner" - }, - "id": 9134, - "name": "Identifier", - "src": "982:5:29" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9116, - "type": "address", - "value": "newOwner" - }, - "id": 9135, - "name": "Identifier", - "src": "990:8:29" - } - ], - "id": 9136, - "name": "Assignment", - "src": "982:16:29" - } - ], - "id": 9137, - "name": "ExpressionStatement", - "src": "982:16:29" - } - ], - "id": 9138, - "name": "Block", - "src": "896:107:29" - } - ], - "id": 9139, - "name": "FunctionDefinition", - "src": "834:169:29" - } - ], - "id": 9140, - "name": "ContractDefinition", - "src": "217:789:29" - } - ], - "id": 9141, - "name": "SourceUnit", - "src": "0:1007:29" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.927Z" -} \ No newline at end of file diff --git a/contracts/QuorumVote.json b/contracts/QuorumVote.json deleted file mode 100644 index 840e2f660..000000000 --- a/contracts/QuorumVote.json +++ /dev/null @@ -1,2235 +0,0 @@ -{ - "contractName": "QuorumVote", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "parameters", - "outputs": [ - { - "name": "reputationSystem", - "type": "address" - }, - { - "name": "precReq", - "type": "uint256" - }, - { - "name": "allowOwner", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_reputationSystem", - "type": "address" - }, - { - "name": "_precReq", - "type": "uint256" - }, - { - "name": "_allowOwner", - "type": "bool" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_voter", - "type": "address" - } - ], - "name": "voteInfo", - "outputs": [ - { - "name": "", - "type": "uint256" - }, - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "proposals", - "outputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "avatar", - "type": "address" - }, - { - "name": "numOfChoices", - "type": "uint256" - }, - { - "name": "executable", - "type": "address" - }, - { - "name": "paramsHash", - "type": "bytes32" - }, - { - "name": "totalVotes", - "type": "uint256" - }, - { - "name": "open", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - }, - { - "name": "_voter", - "type": "address" - } - ], - "name": "ownerVote", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "cancelProposal", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_numOfChoices", - "type": "uint256" - }, - { - "name": "_paramsHash", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_executable", - "type": "address" - } - ], - "name": "propose", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "votesStatus", - "outputs": [ - { - "name": "votes", - "type": "uint256[11]" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "cancelVote", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - } - ], - "name": "vote", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "getNumberOfChoices", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_vote", - "type": "uint256" - }, - { - "name": "_rep", - "type": "uint256" - }, - { - "name": "", - "type": "uint256" - } - ], - "name": "voteWithSpecifiedAmounts", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "isVotable", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_reputationSystem", - "type": "address" - }, - { - "name": "_precReq", - "type": "uint256" - }, - { - "name": "_allowOwner", - "type": "bool" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_numOfChoices", - "type": "uint256" - }, - { - "indexed": false, - "name": "_proposer", - "type": "address" - }, - { - "indexed": false, - "name": "_paramsHash", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogCancelProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_decision", - "type": "uint256" - } - ], - "name": "LogExecuteProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_voter", - "type": "address" - }, - { - "indexed": false, - "name": "_vote", - "type": "uint256" - }, - { - "indexed": false, - "name": "_reputation", - "type": "uint256" - }, - { - "indexed": false, - "name": "_isOwnerVote", - "type": "bool" - } - ], - "name": "LogVoteProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_voter", - "type": "address" - } - ], - "name": "LogCancelVoting", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6112078061001e6000396000f3006060604052600436106100c15763ffffffff60e060020a6000350416630250680481146100c657806302a1cdaf1461010c578063119ce91b1461014557806332ed5b121461017f578063339e23d1146101df57806337376ca81461021857806388737b5e1461022e5780638fe23d1a146102595780639525c0cc146102a85780639ef1204c146102c0578063a003651d146102d9578063ac5d8745146102ef578063c08351061461030e578063e751f27114610324578063fed0d7df1461033a575b600080fd5b34156100d157600080fd5b6100dc600435610361565b604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390f35b341561011757600080fd5b610133600160a060020a0360043516602435604435151561038f565b60405190815260200160405180910390f35b341561015057600080fd5b610167600435600160a060020a03602435166103f9565b60405191825260208201526040908101905180910390f35b341561018a57600080fd5b610195600435610458565b604051600160a060020a0397881681529587166020870152604080870195909552929095166060850152608084015260a083019390935291151560c082015260e001905180910390f35b34156101ea57600080fd5b610204600435602435600160a060020a03604435166104a7565b604051901515815260200160405180910390f35b341561022357600080fd5b61020460043561053e565b341561023957600080fd5b610133600435602435600160a060020a03604435811690606435166105fe565b341561026457600080fd5b61026f6004356107f5565b604051808261016080838360005b8381101561029557808201518382015260200161027d565b5050505090500191505060405180910390f35b34156102b357600080fd5b6102be600435610842565b005b34156102cb57600080fd5b610204600435602435610872565b34156102e457600080fd5b6101336004356108a9565b34156102fa57600080fd5b6102046004356024356044356064356108be565b341561031957600080fd5b6102046004356108f6565b341561032f57600080fd5b61020460043561090e565b341561034557600080fd5b610133600160a060020a03600435166024356044351515610c92565b600060208190529081526040902080546001820154600290920154600160a060020a03909116919060ff1683565b6000838383604051600160a060020a03939093166c01000000000000000000000000028352601483019190915215157f0100000000000000000000000000000000000000000000000000000000000000026034820152603501604051809103902090509392505050565b600080610404611140565b6000858152600160209081526040808320600160a060020a03881684526007019091529081902090805190810160405281548152600190910154602082015290508051816020015192509250509250929050565b60016020819052600091825260409091208054918101546002820154600383015460048401546005850154600890950154600160a060020a039687169694851695939490921692909160ff1687565b600083815260016020526040812054849033600160a060020a039081169116146104d057600080fd5b600085815260016020526040902060080154859060ff1615156104f257600080fd5b60008681526001602090815260408083206004015483529082905290206002015460ff1615156105255760009250610535565b6105328685876000610d47565b92505b50509392505050565b600081815260016020526040812054829033600160a060020a0390811691161461056757600080fd5b600083815260016020526040902060080154839060ff16151561058957600080fd5b60008481526001602090815260408083206004015483529082905290206002015460ff1615156105bc57600092506105f7565b6105c584610f71565b837fd06f0966987a6526e0c1291838668e5dbcaf062ae68baadf345ff3edd792e8b560405160405180910390a2600192505b5050919050565b600080610609611157565b600086815260208190526040902054600160a060020a0316151561062c57600080fd5b60008711801561063d5750600a8711155b151561064857600080fd5b30600254604051600160a060020a03929092166c01000000000000000000000000028252601482015260340160405190819003902060028054600190810190915560408084018a905260808401899052600160a060020a03808916602080870191909152888216606087015233909116855260c085018390526000848152929052902090925081908151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015160018201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560408201518160020155606082015160038201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790556080820151600482015560a0820151816005015560c0820151600891909101805460ff191691151591909117905550817f82cc1e47a0fddd1b4b3576bd36d20b845eac0f69b7057cb0357a3cb4ce29cb65883389604051928352600160a060020a0390911660208301526040808301919091526060909101905180910390a25095945050505050565b6107fd611193565b6000828152600160205260408120905b600282015481116105f75760008181526006830160205260409020548382600b811061083557fe5b602002015260010161080d565b600081815260016020526040902060080154819060ff16151561086457600080fd5b61086e823361100c565b5050565b600082815260016020526040812060080154839060ff16151561089457600080fd5b6108a18433856000610d47565b949350505050565b60009081526001602052604090206002015490565b600084815260016020526040812060080154859060ff1615156108e057600080fd5b6108ec86338787610d47565b9695505050505050565b60009081526001602052604090206008015460ff1690565b6000806000806000806000610921611157565b600089815260016020526040902060080154899060ff16151561094357600080fd5b60008a8152600160209081526040808320600481015484529183905280832054919a50600160a060020a03909116916318160ddd9151602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156109ab57600080fd5b6102c65a03f115156109bc57600080fd5b505050604051805160048a01546000908152602081905260409020600101549098509650606490508688020488600501541115610c8057600192505b60028801548311610a4057600083815260068901602052604090205485901115610a35576000838152600689016020526040902054945091925082915b6001909201916109f8565b8760e060405190810160405290816000820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020016001820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001600282015481526020016003820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001600482015460001916600019168152602001600582015481526020016008820160009054906101000a900460ff1615151515815250509150600160008b60001916600019168152602001908152602001600020600080820160006101000a815490600160a060020a0302191690556001820160006101000a815490600160a060020a03021916905560028201600090556003820160006101000a815490600160a060020a030219169055600482016000905560058201600090556008820160006101000a81549060ff0219169055505089600019167f81be7b59f2640007c1101f52199758a7ea91009239bc8a7a2449472c02d221cc8560405190815260200160405180910390a28160600151600160a060020a031663310ce4e28b84602001518760006040516020015260405160e060020a63ffffffff86160281526004810193909352600160a060020a0390911660248301526044820152606401602060405180830381600087803b1515610c5b57600080fd5b6102c65a03f11515610c6c57600080fd5b505050604051805190505060019850610c85565b600098505b5050505050505050919050565b60008060648411158015610ca65750600084115b1515610cb157600080fd5b610cbc85858561038f565b905060606040519081016040908152600160a060020a0387168252602080830187905285151582840152600084815290819052208151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff191691151591909117905550949350505050565b600080610d526111bb565b600087815260016020908152604080832060048101548452918390528083209194506060905190810160409081528254600160a060020a031682526001830154602083015260029283015460ff1615159082015290840154909250861115610db957600080fd5b8151600160a060020a031663db89c0448860006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610e1157600080fd5b6102c65a03f11515610e2257600080fd5b505050604051805191505084811015610e3a57600080fd5b841515610e45578094505b600160a060020a038716600090815260078401602052604090206001015415610e7257610e72888861100c565b6000868152600684016020526040902054610e9490869063ffffffff61111816565b60008781526006850160205260409020556005830154610ebb90869063ffffffff61111816565b60058401556040805190810160409081528782526020808301889052600160a060020a038a166000908152600787019091522081518155602082015160019091015550600160a060020a038088169089907f98919cf2e7177b2b2794b7596166eb688e15f8422b46387aab412d792035c01290899085903316851415604051928352602083019190915215156040808301919091526060909101905180910390a3610f658861090e565b98975050505050505050565b6000818152600160205260408120905b60028201548111610fa5576000818152600683016020526040812055600101610f81565b505060009081526001602081905260408220805473ffffffffffffffffffffffffffffffffffffffff19908116825591810180548316905560028101839055600381018054909216909155600481018290556005810191909155600801805460ff19169055565b6000611016611140565b6000848152600160209081526040808320600160a060020a0387168452600781019092529182902090935090805190810160405281548152600190910154602082019081529091506110889051600684016000845181526020019081526020016000205461112e90919063ffffffff16565b60068301600083518152602001908152602001600020819055506110bb816020015160058401549063ffffffff61112e16565b6005830155600160a060020a03831660008181526007840160205260408082208281556001019190915585907f694e00fc5266ab4e93df364ff0161f5d7e3a035126b13d918755bfed6d8ab299905160405180910390a350505050565b60008282018381101561112757fe5b9392505050565b60008282111561113a57fe5b50900390565b604080519081016040526000808252602082015290565b60e06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c082015290565b610160604051908101604052600b815b60008152602001906001900390816111a35790505090565b6060604051908101604090815260008083526020830181905290820152905600a165627a7a7230582052b267132f64a6cc75a8463289636e68c1696fe95116357f0812618eaa26c1080029", - "deployedBytecode": "0x6060604052600436106100c15763ffffffff60e060020a6000350416630250680481146100c657806302a1cdaf1461010c578063119ce91b1461014557806332ed5b121461017f578063339e23d1146101df57806337376ca81461021857806388737b5e1461022e5780638fe23d1a146102595780639525c0cc146102a85780639ef1204c146102c0578063a003651d146102d9578063ac5d8745146102ef578063c08351061461030e578063e751f27114610324578063fed0d7df1461033a575b600080fd5b34156100d157600080fd5b6100dc600435610361565b604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390f35b341561011757600080fd5b610133600160a060020a0360043516602435604435151561038f565b60405190815260200160405180910390f35b341561015057600080fd5b610167600435600160a060020a03602435166103f9565b60405191825260208201526040908101905180910390f35b341561018a57600080fd5b610195600435610458565b604051600160a060020a0397881681529587166020870152604080870195909552929095166060850152608084015260a083019390935291151560c082015260e001905180910390f35b34156101ea57600080fd5b610204600435602435600160a060020a03604435166104a7565b604051901515815260200160405180910390f35b341561022357600080fd5b61020460043561053e565b341561023957600080fd5b610133600435602435600160a060020a03604435811690606435166105fe565b341561026457600080fd5b61026f6004356107f5565b604051808261016080838360005b8381101561029557808201518382015260200161027d565b5050505090500191505060405180910390f35b34156102b357600080fd5b6102be600435610842565b005b34156102cb57600080fd5b610204600435602435610872565b34156102e457600080fd5b6101336004356108a9565b34156102fa57600080fd5b6102046004356024356044356064356108be565b341561031957600080fd5b6102046004356108f6565b341561032f57600080fd5b61020460043561090e565b341561034557600080fd5b610133600160a060020a03600435166024356044351515610c92565b600060208190529081526040902080546001820154600290920154600160a060020a03909116919060ff1683565b6000838383604051600160a060020a03939093166c01000000000000000000000000028352601483019190915215157f0100000000000000000000000000000000000000000000000000000000000000026034820152603501604051809103902090509392505050565b600080610404611140565b6000858152600160209081526040808320600160a060020a03881684526007019091529081902090805190810160405281548152600190910154602082015290508051816020015192509250509250929050565b60016020819052600091825260409091208054918101546002820154600383015460048401546005850154600890950154600160a060020a039687169694851695939490921692909160ff1687565b600083815260016020526040812054849033600160a060020a039081169116146104d057600080fd5b600085815260016020526040902060080154859060ff1615156104f257600080fd5b60008681526001602090815260408083206004015483529082905290206002015460ff1615156105255760009250610535565b6105328685876000610d47565b92505b50509392505050565b600081815260016020526040812054829033600160a060020a0390811691161461056757600080fd5b600083815260016020526040902060080154839060ff16151561058957600080fd5b60008481526001602090815260408083206004015483529082905290206002015460ff1615156105bc57600092506105f7565b6105c584610f71565b837fd06f0966987a6526e0c1291838668e5dbcaf062ae68baadf345ff3edd792e8b560405160405180910390a2600192505b5050919050565b600080610609611157565b600086815260208190526040902054600160a060020a0316151561062c57600080fd5b60008711801561063d5750600a8711155b151561064857600080fd5b30600254604051600160a060020a03929092166c01000000000000000000000000028252601482015260340160405190819003902060028054600190810190915560408084018a905260808401899052600160a060020a03808916602080870191909152888216606087015233909116855260c085018390526000848152929052902090925081908151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015160018201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560408201518160020155606082015160038201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790556080820151600482015560a0820151816005015560c0820151600891909101805460ff191691151591909117905550817f82cc1e47a0fddd1b4b3576bd36d20b845eac0f69b7057cb0357a3cb4ce29cb65883389604051928352600160a060020a0390911660208301526040808301919091526060909101905180910390a25095945050505050565b6107fd611193565b6000828152600160205260408120905b600282015481116105f75760008181526006830160205260409020548382600b811061083557fe5b602002015260010161080d565b600081815260016020526040902060080154819060ff16151561086457600080fd5b61086e823361100c565b5050565b600082815260016020526040812060080154839060ff16151561089457600080fd5b6108a18433856000610d47565b949350505050565b60009081526001602052604090206002015490565b600084815260016020526040812060080154859060ff1615156108e057600080fd5b6108ec86338787610d47565b9695505050505050565b60009081526001602052604090206008015460ff1690565b6000806000806000806000610921611157565b600089815260016020526040902060080154899060ff16151561094357600080fd5b60008a8152600160209081526040808320600481015484529183905280832054919a50600160a060020a03909116916318160ddd9151602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156109ab57600080fd5b6102c65a03f115156109bc57600080fd5b505050604051805160048a01546000908152602081905260409020600101549098509650606490508688020488600501541115610c8057600192505b60028801548311610a4057600083815260068901602052604090205485901115610a35576000838152600689016020526040902054945091925082915b6001909201916109f8565b8760e060405190810160405290816000820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020016001820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001600282015481526020016003820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001600482015460001916600019168152602001600582015481526020016008820160009054906101000a900460ff1615151515815250509150600160008b60001916600019168152602001908152602001600020600080820160006101000a815490600160a060020a0302191690556001820160006101000a815490600160a060020a03021916905560028201600090556003820160006101000a815490600160a060020a030219169055600482016000905560058201600090556008820160006101000a81549060ff0219169055505089600019167f81be7b59f2640007c1101f52199758a7ea91009239bc8a7a2449472c02d221cc8560405190815260200160405180910390a28160600151600160a060020a031663310ce4e28b84602001518760006040516020015260405160e060020a63ffffffff86160281526004810193909352600160a060020a0390911660248301526044820152606401602060405180830381600087803b1515610c5b57600080fd5b6102c65a03f11515610c6c57600080fd5b505050604051805190505060019850610c85565b600098505b5050505050505050919050565b60008060648411158015610ca65750600084115b1515610cb157600080fd5b610cbc85858561038f565b905060606040519081016040908152600160a060020a0387168252602080830187905285151582840152600084815290819052208151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff191691151591909117905550949350505050565b600080610d526111bb565b600087815260016020908152604080832060048101548452918390528083209194506060905190810160409081528254600160a060020a031682526001830154602083015260029283015460ff1615159082015290840154909250861115610db957600080fd5b8151600160a060020a031663db89c0448860006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610e1157600080fd5b6102c65a03f11515610e2257600080fd5b505050604051805191505084811015610e3a57600080fd5b841515610e45578094505b600160a060020a038716600090815260078401602052604090206001015415610e7257610e72888861100c565b6000868152600684016020526040902054610e9490869063ffffffff61111816565b60008781526006850160205260409020556005830154610ebb90869063ffffffff61111816565b60058401556040805190810160409081528782526020808301889052600160a060020a038a166000908152600787019091522081518155602082015160019091015550600160a060020a038088169089907f98919cf2e7177b2b2794b7596166eb688e15f8422b46387aab412d792035c01290899085903316851415604051928352602083019190915215156040808301919091526060909101905180910390a3610f658861090e565b98975050505050505050565b6000818152600160205260408120905b60028201548111610fa5576000818152600683016020526040812055600101610f81565b505060009081526001602081905260408220805473ffffffffffffffffffffffffffffffffffffffff19908116825591810180548316905560028101839055600381018054909216909155600481018290556005810191909155600801805460ff19169055565b6000611016611140565b6000848152600160209081526040808320600160a060020a0387168452600781019092529182902090935090805190810160405281548152600190910154602082019081529091506110889051600684016000845181526020019081526020016000205461112e90919063ffffffff16565b60068301600083518152602001908152602001600020819055506110bb816020015160058401549063ffffffff61112e16565b6005830155600160a060020a03831660008181526007840160205260408082208281556001019190915585907f694e00fc5266ab4e93df364ff0161f5d7e3a035126b13d918755bfed6d8ab299905160405180910390a350505050565b60008282018381101561112757fe5b9392505050565b60008282111561113a57fe5b50900390565b604080519081016040526000808252602082015290565b60e06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c082015290565b610160604051908101604052600b815b60008152602001906001900390816111a35790505090565b6060604051908101604090815260008083526020830181905290820152905600a165627a7a7230582052b267132f64a6cc75a8463289636e68c1696fe95116357f0812618eaa26c1080029", - "sourceMap": "136:1299:4:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "136:1299:4:-;;;;;;;;;-1:-1:-1;;;136:1299:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1557:46:1;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1557:46:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2972:196;;;;;;;;;;-1:-1:-1;;;;;2972:196:1;;;;;;;;;;;;;;;;;;;;;;;;;;8565:216;;;;;;;;;;;;-1:-1:-1;;;;;8565:216:1;;;;;;;;;;;;;;;;;;;;;;;;;;1650:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1650:43:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5916:324;;;;;;;;;;;;;;-1:-1:-1;;;;;5916:324:1;;;;;;;;;;;;;;;;;;;;;;4764:340;;;;;;;;;;;;;;3681:915;;;;;;;;;;;;;;-1:-1:-1;;;;;3681:915:1;;;;;;;;;;9030:276;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;6654:131:1;;;;;;;;;;;;;;;;5368:162;;;;;;;;;;;;;;;;8076:140;;;;;;;;;;;;;;6248:196;;;;;;;;;;;;;;;;;;;;9475:124;;;;;;;;;;;;;;419:1013:4;;;;;;;;;;;;;;2400:485:1;;;;;;;;;;-1:-1:-1;;;;;2400:485:1;;;;;;;;;;;1557:46;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1557:46:1;;;;;;;;:::o;2972:196::-;3082:7;3119:17;3138:8;3148:11;3109:51;;-1:-1:-1;;;;;3109:51:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3102:58;;2972:196;;;;;:::o;8565:216::-;8644:4;8650;8667:18;;:::i;:::-;8688:22;;;;:9;:22;;;;;;;;-1:-1:-1;;;;;8688:37:1;;;;:29;;:37;;;;;;;;:22;8667:58;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8667:58:1;8744:10;8756:5;:16;;;8736:37;;;;8565:216;;;;;;:::o;1650:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1650:43:1;;;;;;;;;;;;;;;;;;;:::o;5916:324::-;6051:4;2041:22;;;:9;:22;;;;;:28;6009:11;;2027:10;-1:-1:-1;;;;;2027:42:1;;;2041:28;;2027:42;2019:51;;;;;;2243:22;;;;:9;:22;;;;;:27;;;6030:11;;2243:27;;2235:36;;;;;;;;6074:10;6085:22;;;:9;:22;;;;;;;;:33;;;6074:45;;;;;;;;:56;;;;;6072:58;6068:103;;;6154:5;6147:12;;;;6068:103;6189:43;6202:11;6215:6;6223:5;6230:1;6189:12;:43::i;:::-;6181:51;;2282:1;2081;5916:324;;;;;;:::o;4764:340::-;4876:4;2041:22;;;:9;:22;;;;;:28;4834:11;;2027:10;-1:-1:-1;;;;;2027:42:1;;;2041:28;;2027:42;2019:51;;;;;;2243:22;;;;:9;:22;;;;;:27;;;4855:11;;2243:27;;2235:36;;;;;;;;4899:10;4910:22;;;:9;:22;;;;;;;;:33;;;4899:45;;;;;;;;:56;;;;;4897:58;4893:103;;;4979:5;4972:12;;;;4893:103;5006:27;5021:11;5006:14;:27::i;:::-;5062:11;5044:30;;;;;;;;;;5092:4;5085:11;;2282:1;2081;4764:340;;;;:::o;3681:915::-;3804:7;4062:18;4175:24;;:::i;:::-;3938:1;3886:23;;;;;;;;;;:40;-1:-1:-1;;;;;3886:40:1;:54;;3878:63;;;;;;3976:1;3960:13;:17;:56;;;;;1800:2;3981:13;:35;;3960:56;3952:65;;;;;;;;4093:4;4099:12;;4083:29;;-1:-1:-1;;;;;4083:29:1;;;;;;;;;;;;;;;;;;;;;;4123:12;:14;;;;;;;;;4210:21;;;;:37;;;4258:19;;;:33;;;-1:-1:-1;;;;;4302:25:1;;;:15;;;;:25;;;;4338:33;;;-1:-1:-1;4338:19:1;;:33;4399:10;4382:27;;;;;4420:13;;;:20;;;4123:12;4451:21;;;;;;;;4083:29;;-1:-1:-1;4210:8:1;;;4451:32;;;-1:-1:-1;;4451:32:1;-1:-1:-1;;;;;4451:32:1;;;;;;;;;;;;;;;;-1:-1:-1;;4451:32:1;-1:-1:-1;;;;;4451:32:1;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4451:32:1;-1:-1:-1;;;;;4451:32:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4451:32:1;;;;;;;;;;-1:-1:-1;4509:10:1;4494:66;4521:13;4536:10;4548:11;4494:66;;;;;-1:-1:-1;;;;;4494:66:1;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4578:10:1;3681:915;-1:-1:-1;;;;;3681:915:1:o;9030:276::-;9096:14;;:::i;:::-;9123:25;9151:22;;;:9;:22;;;;;;9184:115;9210:21;;;;9203:28;;9184:115;;9268:19;;;;:14;;;:19;;;;;;9255:5;9283:3;9255:10;;;;;;;;;;:32;9233:5;;9184:115;;6654:131;2243:22;;;;:9;:22;;;;;:27;;;6710:11;;2243:27;;2235:36;;;;;;;;6734:43;6753:11;6766:10;6734:18;:43::i;:::-;6654:131;;:::o;5368:162::-;5451:4;2243:22;;;:9;:22;;;;;:27;;;5430:11;;2243:27;;2235:36;;;;;;;;5475:47;5488:11;5501:10;5513:5;5520:1;5475:12;:47::i;:::-;5468:54;5368:162;-1:-1:-1;;;;5368:162:1:o;8076:140::-;8149:4;8173:22;;;:9;:22;;;;;:35;;;;8076:140::o;6248:196::-;6365:4;2243:22;;;:9;:22;;;;;:27;;;6344:11;;2243:27;;2235:36;;;;;;;;6389:47;6402:11;6414:10;6425:5;6431:4;6389:12;:47::i;:::-;6382:54;6248:196;-1:-1:-1;;;;;;6248:196:1:o;9475:124::-;9539:4;9564:22;;;:9;:22;;;;;:27;;;;;;9475:124::o;419:1013:4:-;493:4;510:25;573:20;669:12;850:8;873:11;904:8;1135:27;;:::i;:::-;2243:22:1;;;;:9;:22;;;;;:27;;;472:11:4;;2243:27:1;;2235:36;;;;;;;;538:22:4;;;;:9;:22;;;;;;;;607:19;;;;596:31;;;;;;;;;:48;538:22;;-1:-1:-1;;;;;;596:48:4;;;;:60;;:62;;;;;;;;;-1:-1:-1;;;596:62:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;695:19;;;;684:10;:31;;;;;;;;;;:39;;;596:62;;-1:-1:-1;684:39:4;-1:-1:-1;830:3:4;;-1:-1:-1;806:23:4;;;:27;784:8;:19;;;:49;780:622;;;915:1;904:12;;899:222;923:21;;;;918:26;;899:222;;976:19;;;;:14;;;:19;;;;;;:25;;;972:134;;;1032:19;;;;:14;;;:19;;;;;;;-1:-1:-1;1047:3:4;;-1:-1:-1;1047:3:4;;972:134;946:5;;;;;899:222;;;1165:8;1135:38;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1135:38:4;-1:-1:-1;;;;;1135:38:4;-1:-1:-1;;;;;1135:38:4;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1135:38:4;-1:-1:-1;;;;;1135:38:4;-1:-1:-1;;;;;1135:38:4;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1135:38:4;-1:-1:-1;;;;;1135:38:4;-1:-1:-1;;;;;1135:38:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1195:9;:22;1205:11;1195:22;;;;;;;;;;;;;;;;;;1188:29;;;;;;;;;-1:-1:-1;;;;;1188:29:4;;;;;;;;;;;;;;-1:-1:-1;;;;;1188:29:4;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1188:29:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1251:11;1232:39;;;;1264:6;1232:39;;;;;;;;;;;;;;1287:11;:22;;;-1:-1:-1;;;;;1286:32:4;;1319:11;1332;:18;;;1356:6;1286:78;;;;;;;;-1:-1:-1;;;1286:78:4;;;;;;;;;;;;;-1:-1:-1;;;;;1286:78:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1386:4;1379:11;;;;780:622;1419:5;1412:12;;2282:1:1;419:1013:4;;;;;;;;;;;:::o;2400:485:1:-;2501:7;2572:24;2541:3;2529:8;:15;;:31;;;;;2559:1;2548:8;:12;2529:31;2521:40;;;;;;;;2599:59;2617:17;2636:8;2646:11;2599:17;:59::i;:::-;2572:86;;2700:143;;;;;;;;;;-1:-1:-1;;;;;2700:143:1;;;;;;;;;;;;;;;;;;-1:-1:-1;2669:28:1;;;;;;;;2700:143;2669:174;;;-1:-1:-1;;2669:174:1;-1:-1:-1;;;;;2669:174:1;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2669:174:1;;;;;;;;;;-1:-1:-1;2861:16:1;2400:485;-1:-1:-1;;;;2400:485:1:o;10876:1216::-;10974:4;10991:25;11052:24;;:::i;:::-;11248:15;11019:22;;;:9;:22;;;;;;;;11090:19;;;;11079:31;;;;;;;;;11019:22;;-1:-1:-1;11052:58:1;;;;;;;;;;;;-1:-1:-1;;;;;11052:58:1;;;;;;;;;;;;;;;;;;;;;;;;11168:21;;;;11052:58;;-1:-1:-1;11159:30:1;;;11151:39;;;;;;11266:6;:23;-1:-1:-1;;;;;11266:36:1;;11303:6;11266:44;;;;;;;;-1:-1:-1;;;11266:44:1;;;;;;-1:-1:-1;;;;;11266:44:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11329:18:1;;;;11321:27;;;;;;11363:9;;11359:59;;;11396:10;11389:17;;11359:59;-1:-1:-1;;;;;11500:23:1;;;;;;:15;;;:23;;;;;:34;;;:39;11496:111;;11556:39;11575:11;11588:6;11556:18;:39::i;:::-;11681:21;;;;:14;;;:21;;;;;;11672:31;;:4;;:31;:8;:31;:::i;:::-;11648:21;;;;:14;;;:21;;;;;:55;11745:19;;;;11736:29;;:4;;:29;:8;:29;:::i;:::-;11714:19;;;:51;11802:75;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11776:23:1;;-1:-1:-1;11776:23:1;;;:15;;;:23;;;;11802:75;11776:101;;;;;;;;;;;;-1:-1:-1;;;;;;11907:79:1;;;;11923:11;;11907:79;;11944:5;;11951:10;;11974;11964:20;;;;11907:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12064:20;12072:11;12064:7;:20::i;:::-;12057:27;10876:1216;-1:-1:-1;;;;;;;;10876:1216:1:o;10067:281::-;10131:25;10159:22;;;:9;:22;;;;;;10192:109;10218:21;;;;10211:28;;10192:109;;10270:19;;;;:14;;;:19;;;;;10263:26;10241:5;;10192:109;;;-1:-1:-1;;10318:22:1;;;;:9;:22;;;;;;;10311:29;;-1:-1:-1;;10311:29:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10311:29:1;;;10067:281::o;9607:452::-;9692:25;9753:18;;:::i;:::-;9720:22;;;;:9;:22;;;;;;;;-1:-1:-1;;;;;9774:23:1;;;;:15;;;:23;;;;;;;9720:22;;-1:-1:-1;9774:23:1;9720:22;9753:44;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9837:50:1;;9870:16;9838:14;;;:26;9853:5;:10;9838:26;;;;;;;;;;;;9837:32;;:50;;;;:::i;:::-;9808:14;;;:26;9823:5;:10;9808:26;;;;;;;;;;;:79;;;;9920:43;9946:5;:16;;;9921:19;;;;;9920:43;:25;:43;:::i;:::-;9898:19;;;:65;-1:-1:-1;;;;;9981:23:1;;;;;;:15;;;:23;;;;;;9974:30;;;;;;;;;10031:11;;10015:36;;;;;;;;;;9607:452;;;;:::o;698:129:28:-;756:7;783:5;;;801:6;;;;794:14;;;;821:1;698:129;-1:-1:-1;;;698:129:28:o;584:110::-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;136:1299:4:-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../controller/Reputation.sol\";\r\nimport \"./IntVoteInterface.sol\";\r\nimport \"./AbsoluteVote.sol\";\r\n\r\n\r\ncontract QuorumVote is IntVoteInterface, AbsoluteVote {\r\n /**\r\n * @dev check if the proposal has been decided, and if so, execute the proposal\r\n * @param _proposalId the id of the proposal\r\n */\r\n // TODO: do we want to delete the vote from the proposals mapping?\r\n function execute(bytes32 _proposalId) public votable(_proposalId) returns(bool) {\r\n Proposal storage proposal = proposals[_proposalId];\r\n\r\n uint totalReputation = parameters[proposal.paramsHash].reputationSystem.totalSupply();\r\n uint precReq = parameters[proposal.paramsHash].precReq;\r\n\r\n // this is the actual voting rule:\r\n if (proposal.totalVotes > totalReputation*precReq/100) {\r\n uint max;\r\n uint maxInd;\r\n for (uint cnt = 1; cnt<=proposal.numOfChoices; cnt++) {\r\n if (proposal.votes[cnt] > max) {\r\n max = proposal.votes[cnt];\r\n maxInd = cnt;\r\n }\r\n }\r\n Proposal memory tmpProposal = proposal;\r\n delete proposals[_proposalId];\r\n LogExecuteProposal(_proposalId, maxInd);\r\n (tmpProposal.executable).execute(_proposalId, tmpProposal.avatar, int(maxInd));\r\n return true;\r\n }\r\n return false;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\VotingMachines\\QuorumVote.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/QuorumVote.sol", - "exportedSymbols": { - "QuorumVote": [ - 2781 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 2660, - "name": "PragmaDirective", - "src": "0:24:4" - }, - { - "attributes": { - "SourceUnit": 4358, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Reputation.sol", - "file": "../controller/Reputation.sol", - "scope": 2782, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2661, - "name": "ImportDirective", - "src": "28:38:4" - }, - { - "attributes": { - "SourceUnit": 2659, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/IntVoteInterface.sol", - "file": "./IntVoteInterface.sol", - "scope": 2782, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2662, - "name": "ImportDirective", - "src": "68:32:4" - }, - { - "attributes": { - "SourceUnit": 878, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/AbsoluteVote.sol", - "file": "./AbsoluteVote.sol", - "scope": 2782, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 2663, - "name": "ImportDirective", - "src": "102:28:4" - }, - { - "attributes": { - "contractDependencies": [ - 877, - 2658 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 2781, - 877, - 2658 - ], - "name": "QuorumVote", - "scope": 2782 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 2664, - "name": "UserDefinedTypeName", - "src": "159:16:4" - } - ], - "id": 2665, - "name": "InheritanceSpecifier", - "src": "159:16:4" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "AbsoluteVote", - "referencedDeclaration": 877, - "type": "contract AbsoluteVote" - }, - "id": 2666, - "name": "UserDefinedTypeName", - "src": "177:12:4" - } - ], - "id": 2667, - "name": "InheritanceSpecifier", - "src": "177:12:4" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "execute", - "payable": false, - "scope": 2781, - "stateMutability": "nonpayable", - "superFunction": 565, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 2780, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 2668, - "name": "ElementaryTypeName", - "src": "436:7:4" - } - ], - "id": 2669, - "name": "VariableDeclaration", - "src": "436:19:4" - } - ], - "id": 2670, - "name": "ParameterList", - "src": "435:21:4" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 2780, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 2674, - "name": "ElementaryTypeName", - "src": "493:4:4" - } - ], - "id": 2675, - "name": "VariableDeclaration", - "src": "493:4:4" - } - ], - "id": 2676, - "name": "ParameterList", - "src": "492:6:4" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 181, - "type": "modifier (bytes32)", - "value": "votable" - }, - "id": 2671, - "name": "Identifier", - "src": "464:7:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2669, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2672, - "name": "Identifier", - "src": "472:11:4" - } - ], - "id": 2673, - "name": "ModifierInvocation", - "src": "464:20:4" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 2678 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 2780, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 101, - "type": "struct AbsoluteVote.Proposal storage pointer" - }, - "id": 2677, - "name": "UserDefinedTypeName", - "src": "510:8:4" - } - ], - "id": 2678, - "name": "VariableDeclaration", - "src": "510:25:4" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 2679, - "name": "Identifier", - "src": "538:9:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2669, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2680, - "name": "Identifier", - "src": "548:11:4" - } - ], - "id": 2681, - "name": "IndexAccess", - "src": "538:22:4" - } - ], - "id": 2682, - "name": "VariableDeclarationStatement", - "src": "510:50:4" - }, - { - "attributes": { - "assignments": [ - 2684 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "totalReputation", - "scope": 2780, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2683, - "name": "ElementaryTypeName", - "src": "573:4:4" - } - ], - "id": 2684, - "name": "VariableDeclaration", - "src": "573:20:4" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "totalSupply", - "referencedDeclaration": 4207, - "type": "function () view external returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "reputationSystem", - "referencedDeclaration": 68, - "type": "contract Reputation" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 143, - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)", - "value": "parameters" - }, - "id": 2685, - "name": "Identifier", - "src": "596:10:4" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 88, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2678, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 2686, - "name": "Identifier", - "src": "607:8:4" - } - ], - "id": 2687, - "name": "MemberAccess", - "src": "607:19:4" - } - ], - "id": 2688, - "name": "IndexAccess", - "src": "596:31:4" - } - ], - "id": 2689, - "name": "MemberAccess", - "src": "596:48:4" - } - ], - "id": 2690, - "name": "MemberAccess", - "src": "596:60:4" - } - ], - "id": 2691, - "name": "FunctionCall", - "src": "596:62:4" - } - ], - "id": 2692, - "name": "VariableDeclarationStatement", - "src": "573:85:4" - }, - { - "attributes": { - "assignments": [ - 2694 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "precReq", - "scope": 2780, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2693, - "name": "ElementaryTypeName", - "src": "669:4:4" - } - ], - "id": 2694, - "name": "VariableDeclaration", - "src": "669:12:4" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "precReq", - "referencedDeclaration": 70, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct AbsoluteVote.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 143, - "type": "mapping(bytes32 => struct AbsoluteVote.Parameters storage ref)", - "value": "parameters" - }, - "id": 2695, - "name": "Identifier", - "src": "684:10:4" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 88, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2678, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 2696, - "name": "Identifier", - "src": "695:8:4" - } - ], - "id": 2697, - "name": "MemberAccess", - "src": "695:19:4" - } - ], - "id": 2698, - "name": "IndexAccess", - "src": "684:31:4" - } - ], - "id": 2699, - "name": "MemberAccess", - "src": "684:39:4" - } - ], - "id": 2700, - "name": "VariableDeclarationStatement", - "src": "669:54:4" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalVotes", - "referencedDeclaration": 90, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2678, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 2701, - "name": "Identifier", - "src": "784:8:4" - } - ], - "id": 2702, - "name": "MemberAccess", - "src": "784:19:4" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "/", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "*", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2684, - "type": "uint256", - "value": "totalReputation" - }, - "id": 2703, - "name": "Identifier", - "src": "806:15:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2694, - "type": "uint256", - "value": "precReq" - }, - "id": 2704, - "name": "Identifier", - "src": "822:7:4" - } - ], - "id": 2705, - "name": "BinaryOperation", - "src": "806:23:4" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "313030", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 100", - "value": "100" - }, - "id": 2706, - "name": "Literal", - "src": "830:3:4" - } - ], - "id": 2707, - "name": "BinaryOperation", - "src": "806:27:4" - } - ], - "id": 2708, - "name": "BinaryOperation", - "src": "784:49:4" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "max", - "scope": 2780, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2709, - "name": "ElementaryTypeName", - "src": "850:4:4" - } - ], - "id": 2710, - "name": "VariableDeclaration", - "src": "850:8:4" - } - ], - "id": 2711, - "name": "VariableDeclarationStatement", - "src": "850:8:4" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "maxInd", - "scope": 2780, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2712, - "name": "ElementaryTypeName", - "src": "873:4:4" - } - ], - "id": 2713, - "name": "VariableDeclaration", - "src": "873:11:4" - } - ], - "id": 2714, - "name": "VariableDeclarationStatement", - "src": "873:11:4" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 2716 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 2780, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 2715, - "name": "ElementaryTypeName", - "src": "904:4:4" - } - ], - "id": 2716, - "name": "VariableDeclaration", - "src": "904:8:4" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 2717, - "name": "Literal", - "src": "915:1:4" - } - ], - "id": 2718, - "name": "VariableDeclarationStatement", - "src": "904:12:4" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2716, - "type": "uint256", - "value": "cnt" - }, - "id": 2719, - "name": "Identifier", - "src": "918:3:4" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfChoices", - "referencedDeclaration": 84, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2678, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 2720, - "name": "Identifier", - "src": "923:8:4" - } - ], - "id": 2721, - "name": "MemberAccess", - "src": "923:21:4" - } - ], - "id": 2722, - "name": "BinaryOperation", - "src": "918:26:4" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2716, - "type": "uint256", - "value": "cnt" - }, - "id": 2723, - "name": "Identifier", - "src": "946:3:4" - } - ], - "id": 2724, - "name": "UnaryOperation", - "src": "946:5:4" - } - ], - "id": 2725, - "name": "ExpressionStatement", - "src": "946:5:4" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 94, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2678, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 2726, - "name": "Identifier", - "src": "976:8:4" - } - ], - "id": 2727, - "name": "MemberAccess", - "src": "976:14:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2716, - "type": "uint256", - "value": "cnt" - }, - "id": 2728, - "name": "Identifier", - "src": "991:3:4" - } - ], - "id": 2729, - "name": "IndexAccess", - "src": "976:19:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2710, - "type": "uint256", - "value": "max" - }, - "id": 2730, - "name": "Identifier", - "src": "998:3:4" - } - ], - "id": 2731, - "name": "BinaryOperation", - "src": "976:25:4" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2710, - "type": "uint256", - "value": "max" - }, - "id": 2732, - "name": "Identifier", - "src": "1026:3:4" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "votes", - "referencedDeclaration": 94, - "type": "mapping(uint256 => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2678, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 2733, - "name": "Identifier", - "src": "1032:8:4" - } - ], - "id": 2734, - "name": "MemberAccess", - "src": "1032:14:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2716, - "type": "uint256", - "value": "cnt" - }, - "id": 2735, - "name": "Identifier", - "src": "1047:3:4" - } - ], - "id": 2736, - "name": "IndexAccess", - "src": "1032:19:4" - } - ], - "id": 2737, - "name": "Assignment", - "src": "1026:25:4" - } - ], - "id": 2738, - "name": "ExpressionStatement", - "src": "1026:25:4" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2713, - "type": "uint256", - "value": "maxInd" - }, - "id": 2739, - "name": "Identifier", - "src": "1074:6:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2716, - "type": "uint256", - "value": "cnt" - }, - "id": 2740, - "name": "Identifier", - "src": "1083:3:4" - } - ], - "id": 2741, - "name": "Assignment", - "src": "1074:12:4" - } - ], - "id": 2742, - "name": "ExpressionStatement", - "src": "1074:12:4" - } - ], - "id": 2743, - "name": "Block", - "src": "1003:103:4" - } - ], - "id": 2744, - "name": "IfStatement", - "src": "972:134:4" - } - ], - "id": 2745, - "name": "Block", - "src": "953:168:4" - } - ], - "id": 2746, - "name": "ForStatement", - "src": "899:222:4" - }, - { - "attributes": { - "assignments": [ - 2748 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "tmpProposal", - "scope": 2780, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct AbsoluteVote.Proposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Proposal", - "referencedDeclaration": 101, - "type": "struct AbsoluteVote.Proposal storage pointer" - }, - "id": 2747, - "name": "UserDefinedTypeName", - "src": "1135:8:4" - } - ], - "id": 2748, - "name": "VariableDeclaration", - "src": "1135:27:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2678, - "type": "struct AbsoluteVote.Proposal storage pointer", - "value": "proposal" - }, - "id": 2749, - "name": "Identifier", - "src": "1165:8:4" - } - ], - "id": 2750, - "name": "VariableDeclarationStatement", - "src": "1135:38:4" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct AbsoluteVote.Proposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 147, - "type": "mapping(bytes32 => struct AbsoluteVote.Proposal storage ref)", - "value": "proposals" - }, - "id": 2751, - "name": "Identifier", - "src": "1195:9:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2669, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2752, - "name": "Identifier", - "src": "1205:11:4" - } - ], - "id": 2753, - "name": "IndexAccess", - "src": "1195:22:4" - } - ], - "id": 2754, - "name": "UnaryOperation", - "src": "1188:29:4" - } - ], - "id": 2755, - "name": "ExpressionStatement", - "src": "1188:29:4" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 121, - "type": "function (bytes32,uint256)", - "value": "LogExecuteProposal" - }, - "id": 2756, - "name": "Identifier", - "src": "1232:18:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2669, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2757, - "name": "Identifier", - "src": "1251:11:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2713, - "type": "uint256", - "value": "maxInd" - }, - "id": 2758, - "name": "Identifier", - "src": "1264:6:4" - } - ], - "id": 2759, - "name": "FunctionCall", - "src": "1232:39:4" - } - ], - "id": 2760, - "name": "ExpressionStatement", - "src": "1232:39:4" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "execute", - "referencedDeclaration": 5154, - "type": "function (bytes32,address,int256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "executable", - "referencedDeclaration": 86, - "type": "contract ExecutableInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2748, - "type": "struct AbsoluteVote.Proposal memory", - "value": "tmpProposal" - }, - "id": 2761, - "name": "Identifier", - "src": "1287:11:4" - } - ], - "id": 2762, - "name": "MemberAccess", - "src": "1287:22:4" - } - ], - "id": 2763, - "name": "TupleExpression", - "src": "1286:24:4" - } - ], - "id": 2764, - "name": "MemberAccess", - "src": "1286:32:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2669, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 2765, - "name": "Identifier", - "src": "1319:11:4" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "avatar", - "referencedDeclaration": 82, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2748, - "type": "struct AbsoluteVote.Proposal memory", - "value": "tmpProposal" - }, - "id": 2766, - "name": "Identifier", - "src": "1332:11:4" - } - ], - "id": 2767, - "name": "MemberAccess", - "src": "1332:18:4" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "int256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(int256)", - "value": "int" - }, - "id": 2768, - "name": "ElementaryTypeNameExpression", - "src": "1352:3:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2713, - "type": "uint256", - "value": "maxInd" - }, - "id": 2769, - "name": "Identifier", - "src": "1356:6:4" - } - ], - "id": 2770, - "name": "FunctionCall", - "src": "1352:11:4" - } - ], - "id": 2771, - "name": "FunctionCall", - "src": "1286:78:4" - } - ], - "id": 2772, - "name": "ExpressionStatement", - "src": "1286:78:4" - }, - { - "attributes": { - "functionReturnParameters": 2676 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 2773, - "name": "Literal", - "src": "1386:4:4" - } - ], - "id": 2774, - "name": "Return", - "src": "1379:11:4" - } - ], - "id": 2775, - "name": "Block", - "src": "835:567:4" - } - ], - "id": 2776, - "name": "IfStatement", - "src": "780:622:4" - }, - { - "attributes": { - "functionReturnParameters": 2676 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 2777, - "name": "Literal", - "src": "1419:5:4" - } - ], - "id": 2778, - "name": "Return", - "src": "1412:12:4" - } - ], - "id": 2779, - "name": "Block", - "src": "499:933:4" - } - ], - "id": 2780, - "name": "FunctionDefinition", - "src": "419:1013:4" - } - ], - "id": 2781, - "name": "ContractDefinition", - "src": "136:1299:4" - } - ], - "id": 2782, - "name": "SourceUnit", - "src": "0:1437:4" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.826Z" -} \ No newline at end of file diff --git a/contracts/Reputation.json b/contracts/Reputation.json deleted file mode 100644 index da19f572b..000000000 --- a/contracts/Reputation.json +++ /dev/null @@ -1,2455 +0,0 @@ -{ - "contractName": "Reputation", - "abi": [ - { - "constant": true, - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "decimals", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_to", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - } - ], - "name": "setReputation", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "reputationOf", - "outputs": [ - { - "name": "balance", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_to", - "type": "address" - }, - { - "name": "_amount", - "type": "int256" - } - ], - "name": "mint", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "amount", - "type": "int256" - } - ], - "name": "Mint", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x60606040526012600355341561001457600080fd5b60008054600160a060020a033316600160a060020a0319909116811782558152600160205260408120819055600255610459806100526000396000f3006060604052600436106100825763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd8114610087578063313ce567146100ac5780638da5cb5b146100bf578063b120c16a146100ee578063db89c04414610124578063f2fde38b14610143578063fd9bf3aa14610164575b600080fd5b341561009257600080fd5b61009a610186565b60405190815260200160405180910390f35b34156100b757600080fd5b61009a61018c565b34156100ca57600080fd5b6100d2610192565b604051600160a060020a03909116815260200160405180910390f35b34156100f957600080fd5b610110600160a060020a03600435166024356101a1565b604051901515815260200160405180910390f35b341561012f57600080fd5b61009a600160a060020a0360043516610222565b341561014e57600080fd5b610162600160a060020a036004351661023d565b005b341561016f57600080fd5b610110600160a060020a03600435166024356102d8565b60025481565b60035481565b600054600160a060020a031681565b6000805433600160a060020a039081169116146101bd57600080fd5b600160a060020a0383166000908152600160205260409020546002546101fa9184916101ee9163ffffffff61040516565b9063ffffffff61041716565b60025550600160a060020a038216600090815260016020819052604090912082905592915050565b600160a060020a031660009081526001602052604090205490565b60005433600160a060020a0390811691161461025857600080fd5b600160a060020a038116151561026d57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054819033600160a060020a039081169116146102f657600080fd5b6000831261035e57506002548290610314908263ffffffff61041716565b600255600160a060020a038416600090815260016020526040902054610340908263ffffffff61041716565b600160a060020a0385166000908152600160205260409020556103be565b50600254600019830290610378908263ffffffff61040516565b600255600160a060020a0384166000908152600160205260409020546103a4908263ffffffff61040516565b600160a060020a0385166000908152600160205260409020555b83600160a060020a03167f6f734b566c5e1cb976d9c7fba184b96a698a18931dd345168b16db217f8df0dd8460405190815260200160405180910390a25060019392505050565b60008282111561041157fe5b50900390565b60008282018381101561042657fe5b93925050505600a165627a7a723058201a9bea40831b947da943a43e70f9b6a2089d92e54654732959bfd2903683f7ab0029", - "deployedBytecode": "0x6060604052600436106100825763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd8114610087578063313ce567146100ac5780638da5cb5b146100bf578063b120c16a146100ee578063db89c04414610124578063f2fde38b14610143578063fd9bf3aa14610164575b600080fd5b341561009257600080fd5b61009a610186565b60405190815260200160405180910390f35b34156100b757600080fd5b61009a61018c565b34156100ca57600080fd5b6100d2610192565b604051600160a060020a03909116815260200160405180910390f35b34156100f957600080fd5b610110600160a060020a03600435166024356101a1565b604051901515815260200160405180910390f35b341561012f57600080fd5b61009a600160a060020a0360043516610222565b341561014e57600080fd5b610162600160a060020a036004351661023d565b005b341561016f57600080fd5b610110600160a060020a03600435166024356102d8565b60025481565b60035481565b600054600160a060020a031681565b6000805433600160a060020a039081169116146101bd57600080fd5b600160a060020a0383166000908152600160205260409020546002546101fa9184916101ee9163ffffffff61040516565b9063ffffffff61041716565b60025550600160a060020a038216600090815260016020819052604090912082905592915050565b600160a060020a031660009081526001602052604090205490565b60005433600160a060020a0390811691161461025857600080fd5b600160a060020a038116151561026d57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054819033600160a060020a039081169116146102f657600080fd5b6000831261035e57506002548290610314908263ffffffff61041716565b600255600160a060020a038416600090815260016020526040902054610340908263ffffffff61041716565b600160a060020a0385166000908152600160205260409020556103be565b50600254600019830290610378908263ffffffff61040516565b600255600160a060020a0384166000908152600160205260409020546103a4908263ffffffff61040516565b600160a060020a0385166000908152600160205260409020555b83600160a060020a03167f6f734b566c5e1cb976d9c7fba184b96a698a18931dd345168b16db217f8df0dd8460405190815260200160405180910390a25060019392505050565b60008282111561041157fe5b50900390565b60008282018381101561042657fe5b93925050505600a165627a7a723058201a9bea40831b947da943a43e70f9b6a2089d92e54654732959bfd2903683f7ab0029", - "sourceMap": "320:2278:8:-;;;490:2;467:25;;651:98;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;509:10:29;501:18;-1:-1:-1;;;;;;501:18:29;;;;;;;691:20:8;;501:18:29;691:20:8;;;;;:24;;;726:11;:15;320:2278;;;;;;", - "deployedSourceMap": "320:2278:8:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;434:26;;;;;;;;;;;;;;;;;;;;;;;;;;;467:25;;;;;;;;;;;;238:20:29;;;;;;;;;;;;;;;-1:-1:-1;;;;;238:20:29;;;;;;;;;;;;;;;2330:265:8;;;;;;;;;;;;-1:-1:-1;;;;;2330:265:8;;;;;;;;;;;;;;;;;;;;;;913:122;;;;;;;;;;;;-1:-1:-1;;;;;913:122:8;;;834:169:29;;;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;1393:645:8;;;;;;;;;;;;-1:-1:-1;;;;;1393:645:8;;;;;434:26;;;;:::o;467:25::-;;;;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;2330:265:8:-;2409:4;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;2503:13:8;;;;;;-1:-1:-1;2503:13:8;;;;;;-1:-1:-1;2487:11:8;2486:45;;2523:7;;2487:30;;:15;:30::i;:::-;2486:36;:45;:36;:45;:::i;:::-;2472:11;:59;-1:-1:-1;;;;;;2542:13:8;;;;;;;;-1:-1:-1;2542:13:8;;;;;;;;:23;;;;-1:-1:-1;2330:265:8:o;913:122::-;-1:-1:-1;;;;;1011:16:8;976:15;1011:16;;;-1:-1:-1;1011:16:8;;;;;;;913:122::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;1393:645:8:-;1462:4;654:5:29;;1462:4:8;;640:10:29;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1633:1:8;1622:12;;1617:363;;-1:-1:-1;1706:11:8;;1669:7;;1706:26;;1669:7;1706:26;:15;:26;:::i;:::-;1692:11;:40;-1:-1:-1;;;;;1763:13:8;;;;;;-1:-1:-1;1763:13:8;;;;;;:28;;1781:9;1763:17;:28::i;:::-;-1:-1:-1;;;;;1747:13:8;;;;;;-1:-1:-1;1747:13:8;;;;;:44;1617:363;;;-1:-1:-1;1883:11:8;;-1:-1:-1;;1841:12:8;;;1883:26;;1841:12;1883:15;:26::i;:::-;1869:11;:40;-1:-1:-1;;;;;1940:13:8;;;;;;-1:-1:-1;1940:13:8;;;;;;:28;;1958:9;1940:17;:28::i;:::-;-1:-1:-1;;;;;1924:13:8;;;;;;-1:-1:-1;1924:13:8;;;;;:44;1617:363;-1:-1:-1;;;;;1990:18:8;;;2000:7;1990:18;;;;;;;;;;;;;;-1:-1:-1;2026:4:8;;1393:645;-1:-1:-1;;;1393:645:8:o;584:110:28:-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;698:129::-;756:7;783:5;;;801:6;;;;794:14;;;;821:1;698:129;-1:-1:-1;;;698:129:28:o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"zeppelin-solidity/contracts/ownership/Ownable.sol\";\r\nimport \"zeppelin-solidity/contracts/math/SafeMath.sol\";\r\n\r\n\r\n/**\r\n * @title Simple static reputation storage\r\n * @dev The reputation is represented by the owner of the contract\r\n * which is usually the controller's address\r\n */\r\n\r\ncontract Reputation is Ownable {\r\n using SafeMath for uint;\r\n\r\n mapping (address => uint256) balances;\r\n uint256 public totalSupply;\r\n uint public decimals = 18;\r\n\r\n event Mint(address indexed to, int256 amount);\r\n\r\n /**\r\n * @dev the constructor initiate a reputation system with no supply at all\r\n */\r\n function Reputation() public {\r\n balances[msg.sender] = 0;\r\n totalSupply = 0;\r\n }\r\n\r\n /**\r\n * @dev return the reputation amount of a given owner\r\n * @param _owner an address of the owner which we want to get his reputation\r\n */\r\n function reputationOf(address _owner) public constant returns (uint256 balance) {\r\n return balances[_owner];\r\n }\r\n\r\n /**\r\n * @dev adding/reducing reputation of a given address, updating the total supply,\r\n * and triggering an event of the operation\r\n * @param _to the address which we gives/takes reputation amount\r\n * @param _amount the reputation amount to be added/reduced\r\n * @return bool which represents a successful of the function\r\n */\r\n function mint(address _to, int256 _amount) public onlyOwner returns (bool) {\r\n // create new tokens and add them to the given account\r\n uint absAmount; // allow to reduce reputation also for non owner\r\n if ( _amount >= 0 ) {\r\n absAmount = uint(_amount);\r\n totalSupply = totalSupply.add(absAmount);\r\n balances[_to] = balances[_to].add(absAmount);\r\n } else {\r\n absAmount = uint((-1)*_amount);\r\n totalSupply = totalSupply.sub(absAmount);\r\n balances[_to] = balances[_to].sub(absAmount);\r\n }\r\n Mint(_to, _amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev setting reputation amount for a given address, updating the total supply as well\r\n * @param _to the address which we set it's reputation amount\r\n * @param _amount the new reputation amount to be setted\r\n * @return bool which represents a success\r\n */\r\n function setReputation(address _to, uint256 _amount) public onlyOwner returns (bool) {\r\n // set the balance of _to to _amount\r\n totalSupply = (totalSupply.sub(balances[_to])).add(_amount);\r\n balances[_to] = _amount;\r\n return true;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\controller\\Reputation.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Reputation.sol", - "exportedSymbols": { - "Reputation": [ - 4357 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 4194, - "name": "PragmaDirective", - "src": "0:24:8" - }, - { - "attributes": { - "SourceUnit": 9141, - "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "file": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "scope": 4358, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4195, - "name": "ImportDirective", - "src": "28:59:8" - }, - { - "attributes": { - "SourceUnit": 9085, - "absolutePath": "zeppelin-solidity/contracts/math/SafeMath.sol", - "file": "zeppelin-solidity/contracts/math/SafeMath.sol", - "scope": 4358, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4196, - "name": "ImportDirective", - "src": "89:55:8" - }, - { - "attributes": { - "contractDependencies": [ - 9140 - ], - "contractKind": "contract", - "documentation": "@title Simple static reputation storage\r\n@dev The reputation is represented by the owner of the contract\r\nwhich is usually the controller's address\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 4357, - 9140 - ], - "name": "Reputation", - "scope": 4358 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Ownable", - "referencedDeclaration": 9140, - "type": "contract Ownable" - }, - "id": 4197, - "name": "UserDefinedTypeName", - "src": "343:7:8" - } - ], - "id": 4198, - "name": "InheritanceSpecifier", - "src": "343:7:8" - }, - { - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SafeMath", - "referencedDeclaration": 9084, - "type": "library SafeMath" - }, - "id": 4199, - "name": "UserDefinedTypeName", - "src": "364:8:8" - }, - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4200, - "name": "ElementaryTypeName", - "src": "377:4:8" - } - ], - "id": 4201, - "name": "UsingForDirective", - "src": "358:24:8" - }, - { - "attributes": { - "constant": false, - "name": "balances", - "scope": 4357, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => uint256)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4202, - "name": "ElementaryTypeName", - "src": "399:7:8" - }, - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 4203, - "name": "ElementaryTypeName", - "src": "410:7:8" - } - ], - "id": 4204, - "name": "Mapping", - "src": "390:28:8" - } - ], - "id": 4205, - "name": "VariableDeclaration", - "src": "390:37:8" - }, - { - "attributes": { - "constant": false, - "name": "totalSupply", - "scope": 4357, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 4206, - "name": "ElementaryTypeName", - "src": "434:7:8" - } - ], - "id": 4207, - "name": "VariableDeclaration", - "src": "434:26:8" - }, - { - "attributes": { - "constant": false, - "name": "decimals", - "scope": 4357, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4208, - "name": "ElementaryTypeName", - "src": "467:4:8" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "3138", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 18", - "value": "18" - }, - "id": 4209, - "name": "Literal", - "src": "490:2:8" - } - ], - "id": 4210, - "name": "VariableDeclaration", - "src": "467:25:8" - }, - { - "attributes": { - "anonymous": false, - "name": "Mint" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "to", - "scope": 4216, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4211, - "name": "ElementaryTypeName", - "src": "512:7:8" - } - ], - "id": 4212, - "name": "VariableDeclaration", - "src": "512:18:8" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "amount", - "scope": 4216, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int256", - "type": "int256" - }, - "id": 4213, - "name": "ElementaryTypeName", - "src": "532:6:8" - } - ], - "id": 4214, - "name": "VariableDeclaration", - "src": "532:13:8" - } - ], - "id": 4215, - "name": "ParameterList", - "src": "511:35:8" - } - ], - "id": 4216, - "name": "EventDefinition", - "src": "501:46:8" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "Reputation", - "payable": false, - "scope": 4357, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 4217, - "name": "ParameterList", - "src": "670:2:8" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 4218, - "name": "ParameterList", - "src": "680:0:8" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4205, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 4219, - "name": "Identifier", - "src": "691:8:8" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 4220, - "name": "Identifier", - "src": "700:3:8" - } - ], - "id": 4221, - "name": "MemberAccess", - "src": "700:10:8" - } - ], - "id": 4222, - "name": "IndexAccess", - "src": "691:20:8" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4223, - "name": "Literal", - "src": "714:1:8" - } - ], - "id": 4224, - "name": "Assignment", - "src": "691:24:8" - } - ], - "id": 4225, - "name": "ExpressionStatement", - "src": "691:24:8" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4207, - "type": "uint256", - "value": "totalSupply" - }, - "id": 4226, - "name": "Identifier", - "src": "726:11:8" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4227, - "name": "Literal", - "src": "740:1:8" - } - ], - "id": 4228, - "name": "Assignment", - "src": "726:15:8" - } - ], - "id": 4229, - "name": "ExpressionStatement", - "src": "726:15:8" - } - ], - "id": 4230, - "name": "Block", - "src": "680:69:8" - } - ], - "id": 4231, - "name": "FunctionDefinition", - "src": "651:98:8" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "reputationOf", - "payable": false, - "scope": 4357, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_owner", - "scope": 4243, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4232, - "name": "ElementaryTypeName", - "src": "935:7:8" - } - ], - "id": 4233, - "name": "VariableDeclaration", - "src": "935:14:8" - } - ], - "id": 4234, - "name": "ParameterList", - "src": "934:16:8" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "balance", - "scope": 4243, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 4235, - "name": "ElementaryTypeName", - "src": "976:7:8" - } - ], - "id": 4236, - "name": "VariableDeclaration", - "src": "976:15:8" - } - ], - "id": 4237, - "name": "ParameterList", - "src": "975:17:8" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 4237 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4205, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 4238, - "name": "Identifier", - "src": "1011:8:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4233, - "type": "address", - "value": "_owner" - }, - "id": 4239, - "name": "Identifier", - "src": "1020:6:8" - } - ], - "id": 4240, - "name": "IndexAccess", - "src": "1011:16:8" - } - ], - "id": 4241, - "name": "Return", - "src": "1004:23:8" - } - ], - "id": 4242, - "name": "Block", - "src": "993:42:8" - } - ], - "id": 4243, - "name": "FunctionDefinition", - "src": "913:122:8" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "mint", - "payable": false, - "scope": 4357, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 4323, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4244, - "name": "ElementaryTypeName", - "src": "1407:7:8" - } - ], - "id": 4245, - "name": "VariableDeclaration", - "src": "1407:11:8" - }, - { - "attributes": { - "constant": false, - "name": "_amount", - "scope": 4323, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int256", - "type": "int256" - }, - "id": 4246, - "name": "ElementaryTypeName", - "src": "1420:6:8" - } - ], - "id": 4247, - "name": "VariableDeclaration", - "src": "1420:14:8" - } - ], - "id": 4248, - "name": "ParameterList", - "src": "1406:29:8" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4323, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4251, - "name": "ElementaryTypeName", - "src": "1462:4:8" - } - ], - "id": 4252, - "name": "VariableDeclaration", - "src": "1462:4:8" - } - ], - "id": 4253, - "name": "ParameterList", - "src": "1461:6:8" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 4249, - "name": "Identifier", - "src": "1443:9:8" - } - ], - "id": 4250, - "name": "ModifierInvocation", - "src": "1443:9:8" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "absAmount", - "scope": 4323, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4254, - "name": "ElementaryTypeName", - "src": "1543:4:8" - } - ], - "id": 4255, - "name": "VariableDeclaration", - "src": "1543:14:8" - } - ], - "id": 4256, - "name": "VariableDeclarationStatement", - "src": "1543:14:8" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4247, - "type": "int256", - "value": "_amount" - }, - "id": 4257, - "name": "Identifier", - "src": "1622:7:8" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4258, - "name": "Literal", - "src": "1633:1:8" - } - ], - "id": 4259, - "name": "BinaryOperation", - "src": "1622:12:8" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4255, - "type": "uint256", - "value": "absAmount" - }, - "id": 4260, - "name": "Identifier", - "src": "1652:9:8" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(uint256)", - "value": "uint" - }, - "id": 4261, - "name": "ElementaryTypeNameExpression", - "src": "1664:4:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4247, - "type": "int256", - "value": "_amount" - }, - "id": 4262, - "name": "Identifier", - "src": "1669:7:8" - } - ], - "id": 4263, - "name": "FunctionCall", - "src": "1664:13:8" - } - ], - "id": 4264, - "name": "Assignment", - "src": "1652:25:8" - } - ], - "id": 4265, - "name": "ExpressionStatement", - "src": "1652:25:8" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4207, - "type": "uint256", - "value": "totalSupply" - }, - "id": 4266, - "name": "Identifier", - "src": "1692:11:8" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4207, - "type": "uint256", - "value": "totalSupply" - }, - "id": 4267, - "name": "Identifier", - "src": "1706:11:8" - } - ], - "id": 4268, - "name": "MemberAccess", - "src": "1706:15:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4255, - "type": "uint256", - "value": "absAmount" - }, - "id": 4269, - "name": "Identifier", - "src": "1722:9:8" - } - ], - "id": 4270, - "name": "FunctionCall", - "src": "1706:26:8" - } - ], - "id": 4271, - "name": "Assignment", - "src": "1692:40:8" - } - ], - "id": 4272, - "name": "ExpressionStatement", - "src": "1692:40:8" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4205, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 4273, - "name": "Identifier", - "src": "1747:8:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4245, - "type": "address", - "value": "_to" - }, - "id": 4274, - "name": "Identifier", - "src": "1756:3:8" - } - ], - "id": 4275, - "name": "IndexAccess", - "src": "1747:13:8" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4205, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 4276, - "name": "Identifier", - "src": "1763:8:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4245, - "type": "address", - "value": "_to" - }, - "id": 4277, - "name": "Identifier", - "src": "1772:3:8" - } - ], - "id": 4278, - "name": "IndexAccess", - "src": "1763:13:8" - } - ], - "id": 4279, - "name": "MemberAccess", - "src": "1763:17:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4255, - "type": "uint256", - "value": "absAmount" - }, - "id": 4280, - "name": "Identifier", - "src": "1781:9:8" - } - ], - "id": 4281, - "name": "FunctionCall", - "src": "1763:28:8" - } - ], - "id": 4282, - "name": "Assignment", - "src": "1747:44:8" - } - ], - "id": 4283, - "name": "ExpressionStatement", - "src": "1747:44:8" - } - ], - "id": 4284, - "name": "Block", - "src": "1637:166:8" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4255, - "type": "uint256", - "value": "absAmount" - }, - "id": 4285, - "name": "Identifier", - "src": "1824:9:8" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(uint256)", - "value": "uint" - }, - "id": 4286, - "name": "ElementaryTypeNameExpression", - "src": "1836:4:8" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "*", - "type": "int256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "int_const -1" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "operator": "-", - "prefix": true, - "type": "int_const -1" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 4287, - "name": "Literal", - "src": "1843:1:8" - } - ], - "id": 4288, - "name": "UnaryOperation", - "src": "1842:2:8" - } - ], - "id": 4289, - "name": "TupleExpression", - "src": "1841:4:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4247, - "type": "int256", - "value": "_amount" - }, - "id": 4290, - "name": "Identifier", - "src": "1846:7:8" - } - ], - "id": 4291, - "name": "BinaryOperation", - "src": "1841:12:8" - } - ], - "id": 4292, - "name": "FunctionCall", - "src": "1836:18:8" - } - ], - "id": 4293, - "name": "Assignment", - "src": "1824:30:8" - } - ], - "id": 4294, - "name": "ExpressionStatement", - "src": "1824:30:8" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4207, - "type": "uint256", - "value": "totalSupply" - }, - "id": 4295, - "name": "Identifier", - "src": "1869:11:8" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4207, - "type": "uint256", - "value": "totalSupply" - }, - "id": 4296, - "name": "Identifier", - "src": "1883:11:8" - } - ], - "id": 4297, - "name": "MemberAccess", - "src": "1883:15:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4255, - "type": "uint256", - "value": "absAmount" - }, - "id": 4298, - "name": "Identifier", - "src": "1899:9:8" - } - ], - "id": 4299, - "name": "FunctionCall", - "src": "1883:26:8" - } - ], - "id": 4300, - "name": "Assignment", - "src": "1869:40:8" - } - ], - "id": 4301, - "name": "ExpressionStatement", - "src": "1869:40:8" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4205, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 4302, - "name": "Identifier", - "src": "1924:8:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4245, - "type": "address", - "value": "_to" - }, - "id": 4303, - "name": "Identifier", - "src": "1933:3:8" - } - ], - "id": 4304, - "name": "IndexAccess", - "src": "1924:13:8" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4205, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 4305, - "name": "Identifier", - "src": "1940:8:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4245, - "type": "address", - "value": "_to" - }, - "id": 4306, - "name": "Identifier", - "src": "1949:3:8" - } - ], - "id": 4307, - "name": "IndexAccess", - "src": "1940:13:8" - } - ], - "id": 4308, - "name": "MemberAccess", - "src": "1940:17:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4255, - "type": "uint256", - "value": "absAmount" - }, - "id": 4309, - "name": "Identifier", - "src": "1958:9:8" - } - ], - "id": 4310, - "name": "FunctionCall", - "src": "1940:28:8" - } - ], - "id": 4311, - "name": "Assignment", - "src": "1924:44:8" - } - ], - "id": 4312, - "name": "ExpressionStatement", - "src": "1924:44:8" - } - ], - "id": 4313, - "name": "Block", - "src": "1809:171:8" - } - ], - "id": 4314, - "name": "IfStatement", - "src": "1617:363:8" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4216, - "type": "function (address,int256)", - "value": "Mint" - }, - "id": 4315, - "name": "Identifier", - "src": "1990:4:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4245, - "type": "address", - "value": "_to" - }, - "id": 4316, - "name": "Identifier", - "src": "1995:3:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4247, - "type": "int256", - "value": "_amount" - }, - "id": 4317, - "name": "Identifier", - "src": "2000:7:8" - } - ], - "id": 4318, - "name": "FunctionCall", - "src": "1990:18:8" - } - ], - "id": 4319, - "name": "ExpressionStatement", - "src": "1990:18:8" - }, - { - "attributes": { - "functionReturnParameters": 4253 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 4320, - "name": "Literal", - "src": "2026:4:8" - } - ], - "id": 4321, - "name": "Return", - "src": "2019:11:8" - } - ], - "id": 4322, - "name": "Block", - "src": "1468:570:8" - } - ], - "id": 4323, - "name": "FunctionDefinition", - "src": "1393:645:8" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "setReputation", - "payable": false, - "scope": 4357, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 4356, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4324, - "name": "ElementaryTypeName", - "src": "2353:7:8" - } - ], - "id": 4325, - "name": "VariableDeclaration", - "src": "2353:11:8" - }, - { - "attributes": { - "constant": false, - "name": "_amount", - "scope": 4356, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 4326, - "name": "ElementaryTypeName", - "src": "2366:7:8" - } - ], - "id": 4327, - "name": "VariableDeclaration", - "src": "2366:15:8" - } - ], - "id": 4328, - "name": "ParameterList", - "src": "2352:30:8" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4356, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4331, - "name": "ElementaryTypeName", - "src": "2409:4:8" - } - ], - "id": 4332, - "name": "VariableDeclaration", - "src": "2409:4:8" - } - ], - "id": 4333, - "name": "ParameterList", - "src": "2408:6:8" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 4329, - "name": "Identifier", - "src": "2390:9:8" - } - ], - "id": 4330, - "name": "ModifierInvocation", - "src": "2390:9:8" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4207, - "type": "uint256", - "value": "totalSupply" - }, - "id": 4334, - "name": "Identifier", - "src": "2472:11:8" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4207, - "type": "uint256", - "value": "totalSupply" - }, - "id": 4335, - "name": "Identifier", - "src": "2487:11:8" - } - ], - "id": 4336, - "name": "MemberAccess", - "src": "2487:15:8" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4205, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 4337, - "name": "Identifier", - "src": "2503:8:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4325, - "type": "address", - "value": "_to" - }, - "id": 4338, - "name": "Identifier", - "src": "2512:3:8" - } - ], - "id": 4339, - "name": "IndexAccess", - "src": "2503:13:8" - } - ], - "id": 4340, - "name": "FunctionCall", - "src": "2487:30:8" - } - ], - "id": 4341, - "name": "TupleExpression", - "src": "2486:32:8" - } - ], - "id": 4342, - "name": "MemberAccess", - "src": "2486:36:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4327, - "type": "uint256", - "value": "_amount" - }, - "id": 4343, - "name": "Identifier", - "src": "2523:7:8" - } - ], - "id": 4344, - "name": "FunctionCall", - "src": "2486:45:8" - } - ], - "id": 4345, - "name": "Assignment", - "src": "2472:59:8" - } - ], - "id": 4346, - "name": "ExpressionStatement", - "src": "2472:59:8" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4205, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 4347, - "name": "Identifier", - "src": "2542:8:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4325, - "type": "address", - "value": "_to" - }, - "id": 4348, - "name": "Identifier", - "src": "2551:3:8" - } - ], - "id": 4349, - "name": "IndexAccess", - "src": "2542:13:8" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4327, - "type": "uint256", - "value": "_amount" - }, - "id": 4350, - "name": "Identifier", - "src": "2558:7:8" - } - ], - "id": 4351, - "name": "Assignment", - "src": "2542:23:8" - } - ], - "id": 4352, - "name": "ExpressionStatement", - "src": "2542:23:8" - }, - { - "attributes": { - "functionReturnParameters": 4333 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 4353, - "name": "Literal", - "src": "2583:4:8" - } - ], - "id": 4354, - "name": "Return", - "src": "2576:11:8" - } - ], - "id": 4355, - "name": "Block", - "src": "2415:180:8" - } - ], - "id": 4356, - "name": "FunctionDefinition", - "src": "2330:265:8" - } - ], - "id": 4357, - "name": "ContractDefinition", - "src": "320:2278:8" - } - ], - "id": 4358, - "name": "SourceUnit", - "src": "0:2600:8" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.916Z" -} \ No newline at end of file diff --git a/contracts/SafeMath.json b/contracts/SafeMath.json deleted file mode 100644 index 736130495..000000000 --- a/contracts/SafeMath.json +++ /dev/null @@ -1,1347 +0,0 @@ -{ - "contractName": "SafeMath", - "abi": [], - "bytecode": "0x60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a7230582054a94419d8fd31d732687a0198e35848ee900e33e4deef6dfb088a28afe7727b0029", - "deployedBytecode": "0x6060604052600080fd00a165627a7a7230582054a94419d8fd31d732687a0198e35848ee900e33e4deef6dfb088a28afe7727b0029", - "sourceMap": "117:712:28:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "117:712:28:-;;;;;", - "source": "pragma solidity ^0.4.18;\n\n\n/**\n * @title SafeMath\n * @dev Math operations with safety checks that throw on error\n */\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) {\n return 0;\n }\n uint256 c = a * b;\n assert(c / a == b);\n return c;\n }\n\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n // assert(b > 0); // Solidity automatically throws when dividing by 0\n uint256 c = a / b;\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\n return c;\n }\n\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n assert(b <= a);\n return a - b;\n }\n\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n assert(c >= a);\n return c;\n }\n}\n", - "sourcePath": "zeppelin-solidity/contracts/math/SafeMath.sol", - "ast": { - "attributes": { - "absolutePath": "zeppelin-solidity/contracts/math/SafeMath.sol", - "exportedSymbols": { - "SafeMath": [ - 9084 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 8988, - "name": "PragmaDirective", - "src": "0:24:28" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "library", - "documentation": "@title SafeMath\n@dev Math operations with safety checks that throw on error", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 9084 - ], - "name": "SafeMath", - "scope": 9085 - }, - "children": [ - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "mul", - "payable": false, - "scope": 9084, - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "a", - "scope": 9021, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 8989, - "name": "ElementaryTypeName", - "src": "151:7:28" - } - ], - "id": 8990, - "name": "VariableDeclaration", - "src": "151:9:28" - }, - { - "attributes": { - "constant": false, - "name": "b", - "scope": 9021, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 8991, - "name": "ElementaryTypeName", - "src": "162:7:28" - } - ], - "id": 8992, - "name": "VariableDeclaration", - "src": "162:9:28" - } - ], - "id": 8993, - "name": "ParameterList", - "src": "150:22:28" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9021, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 8994, - "name": "ElementaryTypeName", - "src": "196:7:28" - } - ], - "id": 8995, - "name": "VariableDeclaration", - "src": "196:7:28" - } - ], - "id": 8996, - "name": "ParameterList", - "src": "195:9:28" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8990, - "type": "uint256", - "value": "a" - }, - "id": 8997, - "name": "Identifier", - "src": "215:1:28" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 8998, - "name": "Literal", - "src": "220:1:28" - } - ], - "id": 8999, - "name": "BinaryOperation", - "src": "215:6:28" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 8996 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 9000, - "name": "Literal", - "src": "238:1:28" - } - ], - "id": 9001, - "name": "Return", - "src": "231:8:28" - } - ], - "id": 9002, - "name": "Block", - "src": "223:23:28" - } - ], - "id": 9003, - "name": "IfStatement", - "src": "211:35:28" - }, - { - "attributes": { - "assignments": [ - 9005 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "c", - "scope": 9021, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9004, - "name": "ElementaryTypeName", - "src": "251:7:28" - } - ], - "id": 9005, - "name": "VariableDeclaration", - "src": "251:9:28" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "*", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8990, - "type": "uint256", - "value": "a" - }, - "id": 9006, - "name": "Identifier", - "src": "263:1:28" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8992, - "type": "uint256", - "value": "b" - }, - "id": 9007, - "name": "Identifier", - "src": "267:1:28" - } - ], - "id": 9008, - "name": "BinaryOperation", - "src": "263:5:28" - } - ], - "id": 9009, - "name": "VariableDeclarationStatement", - "src": "251:17:28" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9727, - "type": "function (bool) pure", - "value": "assert" - }, - "id": 9010, - "name": "Identifier", - "src": "274:6:28" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "/", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9005, - "type": "uint256", - "value": "c" - }, - "id": 9011, - "name": "Identifier", - "src": "281:1:28" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8990, - "type": "uint256", - "value": "a" - }, - "id": 9012, - "name": "Identifier", - "src": "285:1:28" - } - ], - "id": 9013, - "name": "BinaryOperation", - "src": "281:5:28" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8992, - "type": "uint256", - "value": "b" - }, - "id": 9014, - "name": "Identifier", - "src": "290:1:28" - } - ], - "id": 9015, - "name": "BinaryOperation", - "src": "281:10:28" - } - ], - "id": 9016, - "name": "FunctionCall", - "src": "274:18:28" - } - ], - "id": 9017, - "name": "ExpressionStatement", - "src": "274:18:28" - }, - { - "attributes": { - "functionReturnParameters": 8996 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9005, - "type": "uint256", - "value": "c" - }, - "id": 9018, - "name": "Identifier", - "src": "305:1:28" - } - ], - "id": 9019, - "name": "Return", - "src": "298:8:28" - } - ], - "id": 9020, - "name": "Block", - "src": "205:106:28" - } - ], - "id": 9021, - "name": "FunctionDefinition", - "src": "138:173:28" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "div", - "payable": false, - "scope": 9084, - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "a", - "scope": 9039, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9022, - "name": "ElementaryTypeName", - "src": "328:7:28" - } - ], - "id": 9023, - "name": "VariableDeclaration", - "src": "328:9:28" - }, - { - "attributes": { - "constant": false, - "name": "b", - "scope": 9039, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9024, - "name": "ElementaryTypeName", - "src": "339:7:28" - } - ], - "id": 9025, - "name": "VariableDeclaration", - "src": "339:9:28" - } - ], - "id": 9026, - "name": "ParameterList", - "src": "327:22:28" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9039, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9027, - "name": "ElementaryTypeName", - "src": "373:7:28" - } - ], - "id": 9028, - "name": "VariableDeclaration", - "src": "373:7:28" - } - ], - "id": 9029, - "name": "ParameterList", - "src": "372:9:28" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 9031 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "c", - "scope": 9039, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9030, - "name": "ElementaryTypeName", - "src": "462:7:28" - } - ], - "id": 9031, - "name": "VariableDeclaration", - "src": "462:9:28" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "/", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9023, - "type": "uint256", - "value": "a" - }, - "id": 9032, - "name": "Identifier", - "src": "474:1:28" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9025, - "type": "uint256", - "value": "b" - }, - "id": 9033, - "name": "Identifier", - "src": "478:1:28" - } - ], - "id": 9034, - "name": "BinaryOperation", - "src": "474:5:28" - } - ], - "id": 9035, - "name": "VariableDeclarationStatement", - "src": "462:17:28" - }, - { - "attributes": { - "functionReturnParameters": 9029 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9031, - "type": "uint256", - "value": "c" - }, - "id": 9036, - "name": "Identifier", - "src": "574:1:28" - } - ], - "id": 9037, - "name": "Return", - "src": "567:8:28" - } - ], - "id": 9038, - "name": "Block", - "src": "382:198:28" - } - ], - "id": 9039, - "name": "FunctionDefinition", - "src": "315:265:28" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "sub", - "payable": false, - "scope": 9084, - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "a", - "scope": 9059, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9040, - "name": "ElementaryTypeName", - "src": "597:7:28" - } - ], - "id": 9041, - "name": "VariableDeclaration", - "src": "597:9:28" - }, - { - "attributes": { - "constant": false, - "name": "b", - "scope": 9059, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9042, - "name": "ElementaryTypeName", - "src": "608:7:28" - } - ], - "id": 9043, - "name": "VariableDeclaration", - "src": "608:9:28" - } - ], - "id": 9044, - "name": "ParameterList", - "src": "596:22:28" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9059, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9045, - "name": "ElementaryTypeName", - "src": "642:7:28" - } - ], - "id": 9046, - "name": "VariableDeclaration", - "src": "642:7:28" - } - ], - "id": 9047, - "name": "ParameterList", - "src": "641:9:28" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9727, - "type": "function (bool) pure", - "value": "assert" - }, - "id": 9048, - "name": "Identifier", - "src": "657:6:28" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9043, - "type": "uint256", - "value": "b" - }, - "id": 9049, - "name": "Identifier", - "src": "664:1:28" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9041, - "type": "uint256", - "value": "a" - }, - "id": 9050, - "name": "Identifier", - "src": "669:1:28" - } - ], - "id": 9051, - "name": "BinaryOperation", - "src": "664:6:28" - } - ], - "id": 9052, - "name": "FunctionCall", - "src": "657:14:28" - } - ], - "id": 9053, - "name": "ExpressionStatement", - "src": "657:14:28" - }, - { - "attributes": { - "functionReturnParameters": 9047 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "-", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9041, - "type": "uint256", - "value": "a" - }, - "id": 9054, - "name": "Identifier", - "src": "684:1:28" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9043, - "type": "uint256", - "value": "b" - }, - "id": 9055, - "name": "Identifier", - "src": "688:1:28" - } - ], - "id": 9056, - "name": "BinaryOperation", - "src": "684:5:28" - } - ], - "id": 9057, - "name": "Return", - "src": "677:12:28" - } - ], - "id": 9058, - "name": "Block", - "src": "651:43:28" - } - ], - "id": 9059, - "name": "FunctionDefinition", - "src": "584:110:28" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "add", - "payable": false, - "scope": 9084, - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "a", - "scope": 9083, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9060, - "name": "ElementaryTypeName", - "src": "711:7:28" - } - ], - "id": 9061, - "name": "VariableDeclaration", - "src": "711:9:28" - }, - { - "attributes": { - "constant": false, - "name": "b", - "scope": 9083, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9062, - "name": "ElementaryTypeName", - "src": "722:7:28" - } - ], - "id": 9063, - "name": "VariableDeclaration", - "src": "722:9:28" - } - ], - "id": 9064, - "name": "ParameterList", - "src": "710:22:28" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9083, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9065, - "name": "ElementaryTypeName", - "src": "756:7:28" - } - ], - "id": 9066, - "name": "VariableDeclaration", - "src": "756:7:28" - } - ], - "id": 9067, - "name": "ParameterList", - "src": "755:9:28" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 9069 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "c", - "scope": 9083, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9068, - "name": "ElementaryTypeName", - "src": "771:7:28" - } - ], - "id": 9069, - "name": "VariableDeclaration", - "src": "771:9:28" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "+", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9061, - "type": "uint256", - "value": "a" - }, - "id": 9070, - "name": "Identifier", - "src": "783:1:28" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9063, - "type": "uint256", - "value": "b" - }, - "id": 9071, - "name": "Identifier", - "src": "787:1:28" - } - ], - "id": 9072, - "name": "BinaryOperation", - "src": "783:5:28" - } - ], - "id": 9073, - "name": "VariableDeclarationStatement", - "src": "771:17:28" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9727, - "type": "function (bool) pure", - "value": "assert" - }, - "id": 9074, - "name": "Identifier", - "src": "794:6:28" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9069, - "type": "uint256", - "value": "c" - }, - "id": 9075, - "name": "Identifier", - "src": "801:1:28" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9061, - "type": "uint256", - "value": "a" - }, - "id": 9076, - "name": "Identifier", - "src": "806:1:28" - } - ], - "id": 9077, - "name": "BinaryOperation", - "src": "801:6:28" - } - ], - "id": 9078, - "name": "FunctionCall", - "src": "794:14:28" - } - ], - "id": 9079, - "name": "ExpressionStatement", - "src": "794:14:28" - }, - { - "attributes": { - "functionReturnParameters": 9067 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9069, - "type": "uint256", - "value": "c" - }, - "id": 9080, - "name": "Identifier", - "src": "821:1:28" - } - ], - "id": 9081, - "name": "Return", - "src": "814:8:28" - } - ], - "id": 9082, - "name": "Block", - "src": "765:62:28" - } - ], - "id": 9083, - "name": "FunctionDefinition", - "src": "698:129:28" - } - ], - "id": 9084, - "name": "ContractDefinition", - "src": "117:712:28" - } - ], - "id": 9085, - "name": "SourceUnit", - "src": "0:830:28" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.921Z" -} \ No newline at end of file diff --git a/contracts/SchemeRegistrar.json b/contracts/SchemeRegistrar.json deleted file mode 100644 index e32719113..000000000 --- a/contracts/SchemeRegistrar.json +++ /dev/null @@ -1,8147 +0,0 @@ -{ - "contractName": "SchemeRegistrar", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "parameters", - "outputs": [ - { - "name": "voteRegisterParams", - "type": "bytes32" - }, - { - "name": "voteRemoveParams", - "type": "bytes32" - }, - { - "name": "intVote", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "bytes32" - } - ], - "name": "organizationsProposals", - "outputs": [ - { - "name": "scheme", - "type": "address" - }, - { - "name": "parametersHash", - "type": "bytes32" - }, - { - "name": "proposalType", - "type": "uint256" - }, - { - "name": "isRegistering", - "type": "bool" - }, - { - "name": "tokenFee", - "type": "address" - }, - { - "name": "fee", - "type": "uint256" - }, - { - "name": "autoRegisterOrganization", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_voteRegisterParams", - "type": "bytes32" - }, - { - "name": "_voteRemoveParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_scheme", - "type": "address" - }, - { - "name": "_parametersHash", - "type": "bytes32" - }, - { - "name": "_isRegistering", - "type": "bool" - }, - { - "name": "_tokenFee", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_autoRegisterOrganization", - "type": "bool" - } - ], - "name": "proposeScheme", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_param", - "type": "int256" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "beneficiary", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_scheme", - "type": "address" - } - ], - "name": "proposeToRemoveScheme", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_voteRegisterParams", - "type": "bytes32" - }, - { - "name": "_voteRemoveParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "fee", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hashedParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_scheme", - "type": "address" - }, - { - "indexed": false, - "name": "_parametersHash", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_isRegistering", - "type": "bool" - }, - { - "indexed": false, - "name": "_tokenFee", - "type": "address" - }, - { - "indexed": false, - "name": "_fee", - "type": "uint256" - }, - { - "indexed": false, - "name": "_autoRegisterOrganization", - "type": "bool" - } - ], - "name": "LogNewSchemeProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_scheme", - "type": "address" - } - ], - "name": "LogRemoveSchemeProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalExecuted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalDeleted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b60405160608061148783398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a031617815590925061006b91508490849084906401000000006100738102610d751704565b5050506100c6565b60005433600160a060020a0390811691161461008e57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b6113b2806100d56000396000f3006060604052600436106100d75763ffffffff60e060020a6000350416630250680481146100dc57806306e3a9781461011f5780630a6687fd1461018c5780632d15dd50146101c3578063310ce4e21461020057806338af3eed146102395780634345a6101461026857806357b4c460146102965780635a1f7406146102bb57806377182261146102da5780638da5cb5b146102ff57806390be003c14610312578063c3c5a54714610331578063ddca3f4314610350578063e1758bd814610363578063f2fde38b14610376578063f98e87ba14610395575b600080fd5b34156100e757600080fd5b6100f26004356103a8565b6040519283526020830191909152600160a060020a03166040808301919091526060909101905180910390f35b341561012a57600080fd5b610141600160a060020a03600435166024356103d2565b604051600160a060020a039788168152602081019690965260408087019590955292151560608601529416608084015260a083019390935291151560c082015260e001905180910390f35b341561019757600080fd5b6101b1600435602435600160a060020a036044351661042d565b60405190815260200160405180910390f35b34156101ce57600080fd5b6101b1600160a060020a03600435811690602435811690604435906064351515906084351660a43560c435151561047d565b341561020b57600080fd5b610225600435600160a060020a036024351660443561083a565b604051901515815260200160405180910390f35b341561024457600080fd5b61024c610d66565b604051600160a060020a03909116815260200160405180910390f35b341561027357600080fd5b610294600160a060020a036004358116906024359060443516606435610d75565b005b34156102a157600080fd5b6101b1600160a060020a0360043581169060243516610dc8565b34156102c657600080fd5b610225600160a060020a0360043516610ff0565b34156102e557600080fd5b6101b1600435602435600160a060020a0360443516611005565b341561030a57600080fd5b61024c61104e565b341561031d57600080fd5b610294600160a060020a036004351661105d565b341561033c57600080fd5b610225600160a060020a0360043516611186565b341561035b57600080fd5b6101b16111a4565b341561036e57600080fd5b61024c6111aa565b341561038157600080fd5b610294600160a060020a03600435166111b9565b34156103a057600080fd5b6101b1611247565b600760205260009081526040902080546001820154600290920154909190600160a060020a031683565b6006602090815260009283526040808420909152908252902080546001820154600283015460038401546004850154600590950154600160a060020a03948516959394929360ff808416946101009094049093169290911687565b60008061043b858585611005565b60008181526007602052604090209586556001860194909455505060029092018054600160a060020a031916600160a060020a03939093169290921790915590565b600061048761132a565b600061049161134a565b600160a060020a038b166000908152600560205260409020548b9060ff1615156104ba57600080fd5b8515610533578a600160a060020a031663c3c5a5478d60006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561051757600080fd5b6102c65a03f1151561052857600080fd5b505050604051805150505b600760006105408e61124d565b815260208101919091526040908101600020906060905190810160409081528254825260018301546020830152600290920154600160a060020a0316918101918252945051600160a060020a03166388737b5e600286518f3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b15156105f657600080fd5b6102c65a03f1151561060757600080fd5b50505060405180519050925060e06040519081016040908152600160a060020a03808e168352602083018d90526001828401528b151560608401528a16608083015260a0820189905287151560c0830152909250840151600160a060020a031683600019168d600160a060020a03167fa3d27ea573e5dd5b65d4850ff4d0cb2e1f8633c148ff9c19040e1b6c609c03868e8e8e8e8e8e604051600160a060020a03968716815260208101959095529215156040808601919091529190941660608401526080830193909352151560a082015260c001905180910390a4600160a060020a038c1660009081526006602090815260408083208684529091529020829081518154600160a060020a031916600160a060020a03919091161781556020820151600182015560408201518160020155606082015160038201805460ff191691151591909117905560808201518160030160016101000a815481600160a060020a030219169083600160a060020a0316021790555060a0820151816004015560c0820151600591909101805460ff1916911515919091179055506040840151600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b151561080f57600080fd5b6102c65a03f1151561082057600080fd5b505050604051805150929c9b505050505050505050505050565b60008061084561134a565b33600160a060020a03166007600061085c8861124d565b8152602081019190915260400160002060020154600160a060020a03161461088357600080fd5b8360011415610cb75784600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156108d257600080fd5b6102c65a03f115156108e357600080fd5b5050506040518051600160a060020a03871660009081526006602090815260408083208b84529091529081902091945090915060e0905190810160409081528254600160a060020a039081168352600184015460208401526002840154918301918252600384015460ff808216151560608601526101009091049091166080840152600484015460a0840152600590930154909216151560c082015291505160011415610c2c578060a0015115610a2d5781600160a060020a0316638cf1355c826080015183518460a0015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610a0757600080fd5b6102c65a03f11515610a1857600080fd5b505050604051805190501515610a2d57600080fd5b80606001511515610af157600160a060020a03821663a34abaa88251836020015160e060020a60006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166044820152606401602060405180830381600087803b1515610ac657600080fd5b6102c65a03f11515610ad757600080fd5b505050604051805190501515610aec57600080fd5b610bbe565b600160a060020a03821663a34abaa8825183602001517c030000000000000000000000000000000000000000000000000000000060006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166044820152606401602060405180830381600087803b1515610b9857600080fd5b6102c65a03f11515610ba957600080fd5b505050604051805190501515610bbe57600080fd5b8060c0015115610c2c578051600160a060020a03166390be003c8660405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610c1757600080fd5b6102c65a03f11515610c2857600080fd5b5050505b806040015160021415610cb757600160a060020a03821663653915e5825160006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610c9157600080fd5b6102c65a03f11515610ca257600080fd5b505050604051805190501515610cb757600080fd5b600160a060020a03851660008181526006602090815260408083208a84529091528082208054600160a060020a0319168155600181018390556002810183905560038101805474ffffffffffffffffffffffffffffffffffffffffff1916905560048101929092556005909101805460ff191690558791907f1f9b6fe94f8389fd9936094c2246b3cb2b4392e59e72e915e70e6a08a47a1fb9905160405180910390a350600195945050505050565b600354600160a060020a031681565b60005433600160a060020a03908116911614610d9057600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b600080610dd361132a565b600160a060020a0385166000908152600560205260408120548190879060ff161515610dfe57600080fd5b610e078861124d565b600081815260076020526040908190209196506060905190810160409081528254825260018301546020830152600290920154600160a060020a0316918101918252945051925082600160a060020a03166388737b5e600286602001518b3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b1515610ec357600080fd5b6102c65a03f11515610ed457600080fd5b5050506040518051600160a060020a038a81166000818152600660209081526040808320868452909152908190206002808201558054600160a060020a0319168d8516179055929550908616925084917f68953fb1bf1b1aeeaaa5832742ffcb54530b6c3d63a03a1cb09a6b69dae43446908b9051600160a060020a03909116815260200160405180910390a482600160a060020a031663339e23d18360013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b1515610fc957600080fd5b6102c65a03f11515610fda57600080fd5b5050506040518051509198975050505050505050565b60056020526000908152604090205460ff1681565b60008383836040519283526020830191909152600160a060020a03166c010000000000000000000000000260408083019190915260549091019051809103902090509392505050565b600054600160a060020a031681565b60006002541180156110885750600160a060020a03811660009081526005602052604090205460ff16155b1561112157600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561110557600080fd5b6102c65a03f1151561111657600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a039081169116146111d457600080fd5b600160a060020a03811615156111e957600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561129657600080fd5b6102c65a03f115156112a757600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561130957600080fd5b6102c65a03f1151561131a57600080fd5b5050506040518051949350505050565b606060405190810160409081526000808352602083018190529082015290565b60e06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c0820152905600a165627a7a72305820b266e190c07a62c2edad6775a05b47ff155c5639324a3742bbf876977eef56f30029", - "deployedBytecode": "0x6060604052600436106100d75763ffffffff60e060020a6000350416630250680481146100dc57806306e3a9781461011f5780630a6687fd1461018c5780632d15dd50146101c3578063310ce4e21461020057806338af3eed146102395780634345a6101461026857806357b4c460146102965780635a1f7406146102bb57806377182261146102da5780638da5cb5b146102ff57806390be003c14610312578063c3c5a54714610331578063ddca3f4314610350578063e1758bd814610363578063f2fde38b14610376578063f98e87ba14610395575b600080fd5b34156100e757600080fd5b6100f26004356103a8565b6040519283526020830191909152600160a060020a03166040808301919091526060909101905180910390f35b341561012a57600080fd5b610141600160a060020a03600435166024356103d2565b604051600160a060020a039788168152602081019690965260408087019590955292151560608601529416608084015260a083019390935291151560c082015260e001905180910390f35b341561019757600080fd5b6101b1600435602435600160a060020a036044351661042d565b60405190815260200160405180910390f35b34156101ce57600080fd5b6101b1600160a060020a03600435811690602435811690604435906064351515906084351660a43560c435151561047d565b341561020b57600080fd5b610225600435600160a060020a036024351660443561083a565b604051901515815260200160405180910390f35b341561024457600080fd5b61024c610d66565b604051600160a060020a03909116815260200160405180910390f35b341561027357600080fd5b610294600160a060020a036004358116906024359060443516606435610d75565b005b34156102a157600080fd5b6101b1600160a060020a0360043581169060243516610dc8565b34156102c657600080fd5b610225600160a060020a0360043516610ff0565b34156102e557600080fd5b6101b1600435602435600160a060020a0360443516611005565b341561030a57600080fd5b61024c61104e565b341561031d57600080fd5b610294600160a060020a036004351661105d565b341561033c57600080fd5b610225600160a060020a0360043516611186565b341561035b57600080fd5b6101b16111a4565b341561036e57600080fd5b61024c6111aa565b341561038157600080fd5b610294600160a060020a03600435166111b9565b34156103a057600080fd5b6101b1611247565b600760205260009081526040902080546001820154600290920154909190600160a060020a031683565b6006602090815260009283526040808420909152908252902080546001820154600283015460038401546004850154600590950154600160a060020a03948516959394929360ff808416946101009094049093169290911687565b60008061043b858585611005565b60008181526007602052604090209586556001860194909455505060029092018054600160a060020a031916600160a060020a03939093169290921790915590565b600061048761132a565b600061049161134a565b600160a060020a038b166000908152600560205260409020548b9060ff1615156104ba57600080fd5b8515610533578a600160a060020a031663c3c5a5478d60006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561051757600080fd5b6102c65a03f1151561052857600080fd5b505050604051805150505b600760006105408e61124d565b815260208101919091526040908101600020906060905190810160409081528254825260018301546020830152600290920154600160a060020a0316918101918252945051600160a060020a03166388737b5e600286518f3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b15156105f657600080fd5b6102c65a03f1151561060757600080fd5b50505060405180519050925060e06040519081016040908152600160a060020a03808e168352602083018d90526001828401528b151560608401528a16608083015260a0820189905287151560c0830152909250840151600160a060020a031683600019168d600160a060020a03167fa3d27ea573e5dd5b65d4850ff4d0cb2e1f8633c148ff9c19040e1b6c609c03868e8e8e8e8e8e604051600160a060020a03968716815260208101959095529215156040808601919091529190941660608401526080830193909352151560a082015260c001905180910390a4600160a060020a038c1660009081526006602090815260408083208684529091529020829081518154600160a060020a031916600160a060020a03919091161781556020820151600182015560408201518160020155606082015160038201805460ff191691151591909117905560808201518160030160016101000a815481600160a060020a030219169083600160a060020a0316021790555060a0820151816004015560c0820151600591909101805460ff1916911515919091179055506040840151600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b151561080f57600080fd5b6102c65a03f1151561082057600080fd5b505050604051805150929c9b505050505050505050505050565b60008061084561134a565b33600160a060020a03166007600061085c8861124d565b8152602081019190915260400160002060020154600160a060020a03161461088357600080fd5b8360011415610cb75784600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156108d257600080fd5b6102c65a03f115156108e357600080fd5b5050506040518051600160a060020a03871660009081526006602090815260408083208b84529091529081902091945090915060e0905190810160409081528254600160a060020a039081168352600184015460208401526002840154918301918252600384015460ff808216151560608601526101009091049091166080840152600484015460a0840152600590930154909216151560c082015291505160011415610c2c578060a0015115610a2d5781600160a060020a0316638cf1355c826080015183518460a0015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610a0757600080fd5b6102c65a03f11515610a1857600080fd5b505050604051805190501515610a2d57600080fd5b80606001511515610af157600160a060020a03821663a34abaa88251836020015160e060020a60006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166044820152606401602060405180830381600087803b1515610ac657600080fd5b6102c65a03f11515610ad757600080fd5b505050604051805190501515610aec57600080fd5b610bbe565b600160a060020a03821663a34abaa8825183602001517c030000000000000000000000000000000000000000000000000000000060006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166044820152606401602060405180830381600087803b1515610b9857600080fd5b6102c65a03f11515610ba957600080fd5b505050604051805190501515610bbe57600080fd5b8060c0015115610c2c578051600160a060020a03166390be003c8660405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610c1757600080fd5b6102c65a03f11515610c2857600080fd5b5050505b806040015160021415610cb757600160a060020a03821663653915e5825160006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610c9157600080fd5b6102c65a03f11515610ca257600080fd5b505050604051805190501515610cb757600080fd5b600160a060020a03851660008181526006602090815260408083208a84529091528082208054600160a060020a0319168155600181018390556002810183905560038101805474ffffffffffffffffffffffffffffffffffffffffff1916905560048101929092556005909101805460ff191690558791907f1f9b6fe94f8389fd9936094c2246b3cb2b4392e59e72e915e70e6a08a47a1fb9905160405180910390a350600195945050505050565b600354600160a060020a031681565b60005433600160a060020a03908116911614610d9057600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b600080610dd361132a565b600160a060020a0385166000908152600560205260408120548190879060ff161515610dfe57600080fd5b610e078861124d565b600081815260076020526040908190209196506060905190810160409081528254825260018301546020830152600290920154600160a060020a0316918101918252945051925082600160a060020a03166388737b5e600286602001518b3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b1515610ec357600080fd5b6102c65a03f11515610ed457600080fd5b5050506040518051600160a060020a038a81166000818152600660209081526040808320868452909152908190206002808201558054600160a060020a0319168d8516179055929550908616925084917f68953fb1bf1b1aeeaaa5832742ffcb54530b6c3d63a03a1cb09a6b69dae43446908b9051600160a060020a03909116815260200160405180910390a482600160a060020a031663339e23d18360013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b1515610fc957600080fd5b6102c65a03f11515610fda57600080fd5b5050506040518051509198975050505050505050565b60056020526000908152604090205460ff1681565b60008383836040519283526020830191909152600160a060020a03166c010000000000000000000000000260408083019190915260549091019051809103902090509392505050565b600054600160a060020a031681565b60006002541180156110885750600160a060020a03811660009081526005602052604090205460ff16155b1561112157600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561110557600080fd5b6102c65a03f1151561111657600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a039081169116146111d457600080fd5b600160a060020a03811615156111e957600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561129657600080fd5b6102c65a03f115156112a757600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561130957600080fd5b6102c65a03f1151561131a57600080fd5b5050506040518051949350505050565b606060405190810160409081526000808352602083018190529082015290565b60e06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a0820181905260c0820152905600a165627a7a72305820b266e190c07a62c2edad6775a05b47ff155c5639324a3742bbf876977eef56f30029", - "sourceMap": "276:8961:20:-;;;2090:174;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;2090:174:20;;-1:-1:-1;2194:62:20;;-1:-1:-1;2211:12:20;;2225:4;;2090:174;;2194:16;;;;;;:62;:::i;:::-;2090:174;;;276:8961;;1314:347:22;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;276:8961:20:-;;;;;;;", - "deployedSourceMap": "276:8961:20:-;;;;;;;;;-1:-1:-1;;;276:8961:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1824:46;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1824:46:20;;;;;;;;;;;;;;;;;;;;1492:80;;;;;;;;;;-1:-1:-1;;;;;1492:80:20;;;;;;;;;;-1:-1:-1;;;;;1492:80:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2372:500;;;;;;;;;;;;;;-1:-1:-1;;;;;2372:500:20;;;;;;;;;;;;;;;;;;;;4064:1783;;;;;;;;;;-1:-1:-1;;;;;4064:1783:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7411:1823;;;;;;;;;;;;-1:-1:-1;;;;;7411:1823:20;;;;;;;;;;;;;;;;;;;;;;;;407:26:22;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:26:22;;;;;;;;;;;;;;1314:347;;;;;;;;;;-1:-1:-1;;;;;1314:347:22;;;;;;;;;;;;;;;;;6157:844:20;;;;;;;;;;-1:-1:-1;;;;;6157:844:20;;;;;;;;;;591:43:22;;;;;;;;;;-1:-1:-1;;;;;591:43:22;;;;;2880:263:20;;;;;;;;;;;;;;-1:-1:-1;;;;;2880:263:20;;;;;238:20:29;;;;;;;;;;;;866:315:22;;;;;;;;;;-1:-1:-1;;;;;866:315:22;;;;;1189:117;;;;;;;;;;-1:-1:-1;;;;;1189:117:22;;;;;385:15;;;;;;;;;;;;346:32;;;;;;;;;;;;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;440:31:22;;;;;;;;;;;;1824:46:20;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1824:46:20;;:::o;1492:80::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1492:80:20;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2372:500::-;2527:7;2552:18;2573:67;2591:19;2612:17;2631:8;2573:17;:67::i;:::-;2651:22;;;;:10;:22;;;;;:63;;;2725:39;;;:59;;;;-1:-1:-1;;2795:30:20;;;;:41;;-1:-1:-1;;;;;;2795:41:20;-1:-1:-1;;;;;2795:41:20;;;;;;;;;;;2651:22;2372:500::o;4064:1783::-;4370:7;4728:34;;:::i;:::-;4826:18;4968:30;;:::i;:::-;-1:-1:-1;;;;;816:21:22;;;;;;:13;:21;;;;;;4348:7:20;;816:21:22;;808:30;;;;;;;;4399:25:20;4395:303;;;4648:7;-1:-1:-1;;;;;4632:37:20;;4677:7;4632:54;;;;;;;;-1:-1:-1;;;4632:54:20;;;;;;-1:-1:-1;;;;;4632:54:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4395:303:20;4765:10;:48;4776:36;4804:7;4776:27;:36::i;:::-;4765:48;;;;;;;;;;;;;;;;4728:85;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4728:85:20;;;;;;;;-1:-1:-1;4847:24:20;-1:-1:-1;;;;;4847:32:20;;4880:1;4883:16;:35;4920:7;4949:4;4847:108;;;;;;;;-1:-1:-1;;;4847:108:20;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4847:108:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4826:129;;5001:301;;;;;;;;;;-1:-1:-1;;;;;5001:301:20;;;;;;;;;;;5121:1;5001:301;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5395:24:20;;;-1:-1:-1;;;;;5313:268:20;5370:10;5313:268;;;5348:7;-1:-1:-1;;;;;5313:268:20;;5434:7;5443:15;5473:14;5502:9;5526:4;5545:25;5313:268;;-1:-1:-1;;;;;5313:268:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5592:31:20;;;;;;:22;:31;;;;;;;;:43;;;;;;;;5638:8;;;5592:54;;;-1:-1:-1;;;;;;5592:54:20;-1:-1:-1;;;;;5592:54:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5592:54:20;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5592:54:20;;;;;-1:-1:-1;;;;;5592:54:20;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5592:54:20;;;;;;;;;;-1:-1:-1;5694:24:20;;;;-1:-1:-1;;;;;5694:34:20;;5729:10;5741:1;5744:10;5694:61;;;;;;;;-1:-1:-1;;;5694:61:20;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5694:61:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5829:10:20;;4064:1783;-1:-1:-1;;;;;;;;;;;;4064:1783:20:o;7411:1823::-;7495:4;7755:21;7829:30;;:::i;:::-;7647:10;-1:-1:-1;;;;;7579:78:20;:10;:56;7590:44;7625:7;7590:27;:44::i;:::-;7579:56;;;;;;;;;;;;;:64;;;-1:-1:-1;;;;;7579:64:20;:78;7571:87;;;;;;7675:6;7685:1;7675:11;7671:1420;;;7797:7;-1:-1:-1;;;;;7790:21:20;;:23;;;;;;;;;;;-1:-1:-1;;;7790:23:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7862:31:20;;;;;;:22;:31;;;;;;;;:44;;;;;;;;;;7790:23;;-1:-1:-1;7862:44:20;;-1:-1:-1;7829:77:20;;;;;;;;;;;;-1:-1:-1;;;;;7829:77:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7953:21:20;7978:1;7953:26;7949:910;;;8004:8;:12;;;:17;8000:227;;8051:10;-1:-1:-1;;;;;8051:40:20;;8092:8;:17;;;8111:8;:15;8128:8;:12;;;8051:90;;;;;;;;-1:-1:-1;;;8051:90:20;;;;;;-1:-1:-1;;;;;8051:90:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8050:91;8046:158;;;8170:8;;;8046:158;8249:8;:22;;;:31;;8245:423;;-1:-1:-1;;;;;8310:25:20;;;8336:8;:15;8353:8;:23;;;-1:-1:-1;;;8310:78:20;;;;;;;;-1:-1:-1;;;8310:78:20;;;;;;-1:-1:-1;;;;;8310:78:20;;;;;;;;;;;;;;-1:-1:-1;;8310:78:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8309:79;8305:146;;;8417:8;;;8305:146;8245:423;;;-1:-1:-1;;;;;8510:25:20;;;8536:8;:15;8553:8;:23;;;8578:9;8510:78;;;;;;;;-1:-1:-1;;;8510:78:20;;;;;;-1:-1:-1;;;;;8510:78:20;;;;;;;;;;;;;;-1:-1:-1;;8510:78:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8509:79;8505:144;;;8617:8;;;8505:144;8690:8;:33;;;8686:154;;;8764:8;:15;-1:-1:-1;;;;;8748:53:20;;8809:7;8748:70;;-1:-1:-1;;;8748:70:20;;;;;;-1:-1:-1;;;;;8748:70:20;;;;;;;;;-1:-1:-1;8748:70:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8686:154;8907:8;:21;;;8932:1;8907:26;8902:176;;;-1:-1:-1;;;;;8960:27:20;;;8988:8;:15;8960:44;;;;;;;;-1:-1:-1;;;8960:44:20;;;;;;-1:-1:-1;;;;;8960:44:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8959:45;8955:104;;;9029:8;;;8955:104;-1:-1:-1;;;;;9108:31:20;;;;;;:22;:31;;;;;;;;:44;;;;;;;;;9101:51;;-1:-1:-1;;;;;;9101:51:20;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9101:51:20;;;;;;;;;;;;;;;;-1:-1:-1;;9101:51:20;;;9140:11;;9108:31;9163:41;;;;;;;;;;-1:-1:-1;9222:4:20;;7411:1823;-1:-1:-1;;;;;7411:1823:20:o;407:26:22:-;;;-1:-1:-1;;;;;407:26:22;;:::o;1314:347::-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;6157:844:20:-;6287:7;6312:18;6380:24;;:::i;:::-;-1:-1:-1;;;;;816:21:22;;6442:24:20;816:21:22;;;:13;:21;;;;;;6442:24:20;;6265:7;;816:21:22;;808:30;;;;;;;;6333:36:20;6361:7;6333:27;:36::i;:::-;6407:22;;;;:10;:22;;;;;;;6312:57;;-1:-1:-1;6380:49:20;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6380:49:20;;;;;;;;-1:-1:-1;6469:14:20;6442:41;;6515:7;-1:-1:-1;;;;;6515:15:20;;6531:1;6534:6;:23;;;6559:7;6588:4;6515:79;;;;;;;;-1:-1:-1;;;6515:79:20;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6515:79:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6615:31:20;;;;;;;:22;:31;;;;;;;;:43;;;;;;;;;;6674:1;6615:56;;;:60;6686;;-1:-1:-1;;;;;;6686:60:20;;;;;;;6615:43;;-1:-1:-1;6757:62:20;;;;-1:-1:-1;6615:43:20;;6757:62;;6686:60;;6757:62;-1:-1:-1;;;;;6757:62:20;;;;;;;;;;;;;;6865:7;-1:-1:-1;;;;;6865:17:20;;6883:10;6895:1;6898:10;6865:44;;;;;;;;-1:-1:-1;;;6865:44:20;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6865:44:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6983:10:20;;6157:844;-1:-1:-1;;;;;;;;6157:844:20:o;591:43:22:-;;;;;;;;;;;;;;;:::o;2880:263:20:-;3044:7;3086:19;3107:17;3126:8;3076:59;;;;;;;;;;;;-1:-1:-1;;;;;3076:59:20;;;;;;;;;;;;;;;;;;;;;;3069:66;;2880:263;;;;;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;866:315:22:-;980:1;974:3;;:7;973:39;;;;-1:-1:-1;;;;;;989:22:22;;;;;;:13;:22;;;;;;;;987:24;973:39;969:123;;;1029:11;;1063;;1076:3;;-1:-1:-1;;;;;1029:11:22;;;;:24;;1054:7;;1063:11;;;1029;:51;;;;;;;-1:-1:-1;;;1029:51:22;;;;;;-1:-1:-1;;;;;1029:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;969:123:22;-1:-1:-1;;;;;1102:22:22;;;;;;:13;:22;;;;;;;:29;;-1:-1:-1;;1102:29:22;1127:4;1102:29;;;1142:31;;1116:7;;1142:31;-1:-1:-1;;;;;1142:31:22;;;;;;;;;;;;;;866:315;:::o;1189:117::-;-1:-1:-1;;;;;1276:22:22;1252:4;1276:22;;;:13;:22;;;;;;;;;1189:117::o;385:15::-;;;;:::o;346:32::-;;;-1:-1:-1;;;;;346:32:22;;:::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;;;;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;440:31:22:-;;;;:::o;1761:212::-;1840:7;1860:21;1895:7;-1:-1:-1;;;;;1895:13:22;;:15;;;;;;;;;;;-1:-1:-1;;;1895:15:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;1929:30:22;;;1960:4;1929:36;;;;;;;;-1:-1:-1;;;1929:36:22;;;;;;-1:-1:-1;;;;;1929:36:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1761:212;-1:-1:-1;;;;1761:212:22:o;276:8961:20:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../VotingMachines/IntVoteInterface.sol\";\r\nimport \"./UniversalScheme.sol\";\r\n\r\n\r\n/**\r\n * @title A registrar for Schemes for organizations\r\n * @dev The SchemeRegistrar is used for registering and unregistering schemes at organizations\r\n */\r\n\r\ncontract SchemeRegistrar is UniversalScheme {\r\n event LogNewSchemeProposal(\r\n address indexed _avatar,\r\n bytes32 indexed _proposalId,\r\n address indexed _intVoteInterface,\r\n address _scheme,\r\n bytes32 _parametersHash,\r\n bool _isRegistering,\r\n StandardToken _tokenFee,\r\n uint _fee,\r\n bool _autoRegisterOrganization\r\n );\r\n event LogRemoveSchemeProposal(address indexed _avatar,\r\n bytes32 indexed _proposalId,\r\n address indexed _intVoteInterface,\r\n address _scheme\r\n );\r\n event LogProposalExecuted(address indexed _avatar, bytes32 indexed _proposalId);\r\n event LogProposalDeleted(address indexed _avatar, bytes32 indexed _proposalId);\r\n\r\n // a SchemeProposal is a proposal to add or remove a scheme to/from the an orgaization\r\n struct SchemeProposal {\r\n address scheme; //\r\n bytes32 parametersHash;\r\n uint proposalType; // 1: add a schme, 2: remove a scheme.\r\n bool isRegistering;\r\n StandardToken tokenFee;\r\n uint fee;\r\n bool autoRegisterOrganization;\r\n }\r\n\r\n // A mapping from thr organization (Avatar) address to the saved data of the organization:\r\n mapping(address=>mapping(bytes32=>SchemeProposal)) public organizationsProposals;\r\n\r\n // A mapping from hashes to parameters (use to store a particular configuration on the controller)\r\n struct Parameters {\r\n bytes32 voteRegisterParams;\r\n bytes32 voteRemoveParams;\r\n IntVoteInterface intVote;\r\n }\r\n mapping(bytes32=>Parameters) public parameters;\r\n\r\n /**\r\n * @dev The constructor\r\n * @param _nativeToken a Token that is used for paying fees for registering\r\n * @param _fee the fee to pay\r\n * @param _beneficiary to whom the fee is payed\r\n */\r\n function SchemeRegistrar(StandardToken _nativeToken, uint _fee, address _beneficiary) public {\r\n updateParameters(_nativeToken, _fee, _beneficiary, bytes32(0));\r\n }\r\n\r\n /**\r\n * @dev hash the parameters, save them if necessary, and return the hash value\r\n */\r\n function setParameters(\r\n bytes32 _voteRegisterParams,\r\n bytes32 _voteRemoveParams,\r\n IntVoteInterface _intVote\r\n ) public returns(bytes32)\r\n {\r\n bytes32 paramsHash = getParametersHash(_voteRegisterParams, _voteRemoveParams, _intVote);\r\n parameters[paramsHash].voteRegisterParams = _voteRegisterParams;\r\n parameters[paramsHash].voteRemoveParams = _voteRemoveParams;\r\n parameters[paramsHash].intVote = _intVote;\r\n return paramsHash;\r\n }\r\n\r\n function getParametersHash(\r\n bytes32 _voteRegisterParams,\r\n bytes32 _voteRemoveParams,\r\n IntVoteInterface _intVote\r\n ) public pure returns(bytes32)\r\n {\r\n return keccak256(_voteRegisterParams, _voteRemoveParams, _intVote);\r\n }\r\n\r\n /**\r\n * @dev create a proposal to register a scheme\r\n * @param _scheme the address of the scheme to be registered\r\n * @param _parametersHash a hash of the configuration of the _scheme\r\n * @param _isRegistering a boolean represent if the scheme is a registering scheme\r\n * that can register other schemes\r\n * @param _tokenFee a token that will be used to pay any fees needed for registering the avatar\r\n * @param _fee the fee to be paid\r\n * @param _avatar the address of the organization the scheme will be registered for\r\n * @return a proposal Id\r\n * @dev NB: not only proposes the vote, but also votes for it\r\n */\r\n // TODO: check if we cannot derive isRegistering from the _scheme itself\r\n // TODO: simplify this by removing the _tokenFee and fee params, which can be derived from\r\n // the scheme (i.e. are equal to _scheme.fee() and scheme.somethingToken())\r\n function proposeScheme(\r\n Avatar _avatar,\r\n address _scheme,\r\n bytes32 _parametersHash,\r\n bool _isRegistering,\r\n StandardToken _tokenFee,\r\n uint _fee,\r\n bool _autoRegisterOrganization\r\n )\r\n public\r\n onlyRegisteredOrganization(_avatar)\r\n returns(bytes32)\r\n {\r\n if (_autoRegisterOrganization) {\r\n //This should revert for non arc scheme which do not have Fallback functions.\r\n //We do it here to prevent revert at the proposal execution after the voting proccess.\r\n UniversalScheme(_scheme).isRegistered(Avatar(_avatar));\r\n }\r\n // propose\r\n Parameters memory controllerParams = parameters[getParametersFromController(_avatar)];\r\n\r\n bytes32 proposalId = controllerParams.intVote.propose(2, controllerParams.voteRegisterParams, _avatar, ExecutableInterface(this));\r\n\r\n SchemeProposal memory proposal = SchemeProposal({\r\n scheme: _scheme,\r\n parametersHash: _parametersHash,\r\n proposalType: 1,\r\n isRegistering: _isRegistering,\r\n tokenFee: _tokenFee,\r\n fee: _fee,\r\n autoRegisterOrganization: _autoRegisterOrganization\r\n });\r\n LogNewSchemeProposal(\r\n _avatar,\r\n proposalId,\r\n controllerParams.intVote,\r\n _scheme, _parametersHash,\r\n _isRegistering,\r\n _tokenFee,\r\n _fee,\r\n _autoRegisterOrganization\r\n );\r\n organizationsProposals[_avatar][proposalId] = proposal;\r\n\r\n // vote for this proposal\r\n controllerParams.intVote.ownerVote(proposalId, 1, msg.sender); // Automatically votes `yes` in the name of the opener.\r\n return proposalId;\r\n }\r\n\r\n /**\r\n * @dev propose to remove a scheme for a controller\r\n * @param _avatar the address of the controller from which we want to remove a scheme\r\n * @param _scheme the address of the scheme we want to remove\r\n *\r\n * NB: not only registers the proposal, but also votes for it\r\n */\r\n function proposeToRemoveScheme(Avatar _avatar, address _scheme)\r\n public\r\n onlyRegisteredOrganization(_avatar)\r\n returns(bytes32)\r\n {\r\n bytes32 paramsHash = getParametersFromController(_avatar);\r\n Parameters memory params = parameters[paramsHash];\r\n\r\n IntVoteInterface intVote = params.intVote;\r\n bytes32 proposalId = intVote.propose(2, params.voteRemoveParams, _avatar, ExecutableInterface(this));\r\n \r\n organizationsProposals[_avatar][proposalId].proposalType = 2;\r\n organizationsProposals[_avatar][proposalId].scheme = _scheme;\r\n LogRemoveSchemeProposal(_avatar, proposalId, intVote, _scheme);\r\n // vote for this proposal\r\n intVote.ownerVote(proposalId, 1, msg.sender); // Automatically votes `yes` in the name of the opener.\r\n return proposalId;\r\n }\r\n\r\n /**\r\n * @dev execute a proposal\r\n * This method can only be called by the voting machine in which the vote is held.\r\n * @param _proposalId the ID of the proposal in the voting machine\r\n * @param _avatar address of the controller\r\n * @param _param identifies the action to be taken\r\n */\r\n // TODO: this call can be simplified if we save the _avatar together with the proposal\r\n function execute(bytes32 _proposalId, address _avatar, int _param) external returns(bool) {\r\n // Check the caller is indeed the voting machine:\r\n require(parameters[getParametersFromController(Avatar(_avatar))].intVote == msg.sender);\r\n\r\n if (_param == 1) {\r\n\r\n // Define controller and get the parmas:\r\n Controller controller = Controller(Avatar(_avatar).owner());\r\n SchemeProposal memory proposal = organizationsProposals[_avatar][_proposalId];\r\n\r\n // Add a scheme:\r\n if (proposal.proposalType == 1) {\r\n if (proposal.fee != 0) {\r\n if (!controller.externalTokenIncreaseApproval(proposal.tokenFee, proposal.scheme, proposal.fee)) {\r\n revert();\r\n }\r\n }\r\n if (proposal.isRegistering == false) {\r\n if (!controller.registerScheme(proposal.scheme, proposal.parametersHash, bytes4(1))) {\r\n revert();\r\n }\r\n } else {\r\n if (!controller.registerScheme(proposal.scheme, proposal.parametersHash, bytes4(3))) {\r\n revert();\r\n }\r\n }\r\n if (proposal.autoRegisterOrganization) {\r\n UniversalScheme(proposal.scheme).registerOrganization(Avatar(_avatar));\r\n }\r\n }\r\n // Remove a scheme:\r\n if ( proposal.proposalType == 2 ) {\r\n if (!controller.unregisterScheme(proposal.scheme)) {\r\n revert();\r\n }\r\n }\r\n }\r\n delete organizationsProposals[_avatar][_proposalId];\r\n LogProposalExecuted(_avatar, _proposalId);\r\n return true;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\SchemeRegistrar.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/SchemeRegistrar.sol", - "exportedSymbols": { - "SchemeRegistrar": [ - 6584 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 6083, - "name": "PragmaDirective", - "src": "0:24:20" - }, - { - "attributes": { - "SourceUnit": 2659, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/IntVoteInterface.sol", - "file": "../VotingMachines/IntVoteInterface.sol", - "scope": 6585, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 6084, - "name": "ImportDirective", - "src": "28:48:20" - }, - { - "attributes": { - "SourceUnit": 7230, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "file": "./UniversalScheme.sol", - "scope": 6585, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 6085, - "name": "ImportDirective", - "src": "78:31:20" - }, - { - "attributes": { - "contractDependencies": [ - 7229, - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": "@title A registrar for Schemes for organizations\r\n@dev The SchemeRegistrar is used for registering and unregistering schemes at organizations\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6584, - 7229, - 7259, - 9140 - ], - "name": "SchemeRegistrar", - "scope": 6585 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalScheme", - "referencedDeclaration": 7229, - "type": "contract UniversalScheme" - }, - "id": 6086, - "name": "UserDefinedTypeName", - "src": "304:15:20" - } - ], - "id": 6087, - "name": "InheritanceSpecifier", - "src": "304:15:20" - }, - { - "attributes": { - "anonymous": false, - "name": "LogNewSchemeProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 6107, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6088, - "name": "ElementaryTypeName", - "src": "364:7:20" - } - ], - "id": 6089, - "name": "VariableDeclaration", - "src": "364:23:20" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 6107, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6090, - "name": "ElementaryTypeName", - "src": "398:7:20" - } - ], - "id": 6091, - "name": "VariableDeclaration", - "src": "398:27:20" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_intVoteInterface", - "scope": 6107, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6092, - "name": "ElementaryTypeName", - "src": "436:7:20" - } - ], - "id": 6093, - "name": "VariableDeclaration", - "src": "436:33:20" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_scheme", - "scope": 6107, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6094, - "name": "ElementaryTypeName", - "src": "480:7:20" - } - ], - "id": 6095, - "name": "VariableDeclaration", - "src": "480:15:20" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_parametersHash", - "scope": 6107, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6096, - "name": "ElementaryTypeName", - "src": "506:7:20" - } - ], - "id": 6097, - "name": "VariableDeclaration", - "src": "506:23:20" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_isRegistering", - "scope": 6107, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6098, - "name": "ElementaryTypeName", - "src": "540:4:20" - } - ], - "id": 6099, - "name": "VariableDeclaration", - "src": "540:19:20" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_tokenFee", - "scope": 6107, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 6100, - "name": "UserDefinedTypeName", - "src": "570:13:20" - } - ], - "id": 6101, - "name": "VariableDeclaration", - "src": "570:23:20" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_fee", - "scope": 6107, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6102, - "name": "ElementaryTypeName", - "src": "604:4:20" - } - ], - "id": 6103, - "name": "VariableDeclaration", - "src": "604:9:20" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_autoRegisterOrganization", - "scope": 6107, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6104, - "name": "ElementaryTypeName", - "src": "624:4:20" - } - ], - "id": 6105, - "name": "VariableDeclaration", - "src": "624:30:20" - } - ], - "id": 6106, - "name": "ParameterList", - "src": "353:308:20" - } - ], - "id": 6107, - "name": "EventDefinition", - "src": "327:335:20" - }, - { - "attributes": { - "anonymous": false, - "name": "LogRemoveSchemeProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 6117, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6108, - "name": "ElementaryTypeName", - "src": "698:7:20" - } - ], - "id": 6109, - "name": "VariableDeclaration", - "src": "698:23:20" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 6117, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6110, - "name": "ElementaryTypeName", - "src": "732:7:20" - } - ], - "id": 6111, - "name": "VariableDeclaration", - "src": "732:27:20" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_intVoteInterface", - "scope": 6117, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6112, - "name": "ElementaryTypeName", - "src": "770:7:20" - } - ], - "id": 6113, - "name": "VariableDeclaration", - "src": "770:33:20" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_scheme", - "scope": 6117, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6114, - "name": "ElementaryTypeName", - "src": "814:7:20" - } - ], - "id": 6115, - "name": "VariableDeclaration", - "src": "814:15:20" - } - ], - "id": 6116, - "name": "ParameterList", - "src": "697:139:20" - } - ], - "id": 6117, - "name": "EventDefinition", - "src": "668:169:20" - }, - { - "attributes": { - "anonymous": false, - "name": "LogProposalExecuted" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 6123, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6118, - "name": "ElementaryTypeName", - "src": "869:7:20" - } - ], - "id": 6119, - "name": "VariableDeclaration", - "src": "869:23:20" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 6123, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6120, - "name": "ElementaryTypeName", - "src": "894:7:20" - } - ], - "id": 6121, - "name": "VariableDeclaration", - "src": "894:27:20" - } - ], - "id": 6122, - "name": "ParameterList", - "src": "868:54:20" - } - ], - "id": 6123, - "name": "EventDefinition", - "src": "843:80:20" - }, - { - "attributes": { - "anonymous": false, - "name": "LogProposalDeleted" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 6129, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6124, - "name": "ElementaryTypeName", - "src": "954:7:20" - } - ], - "id": 6125, - "name": "VariableDeclaration", - "src": "954:23:20" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 6129, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6126, - "name": "ElementaryTypeName", - "src": "979:7:20" - } - ], - "id": 6127, - "name": "VariableDeclaration", - "src": "979:27:20" - } - ], - "id": 6128, - "name": "ParameterList", - "src": "953:54:20" - } - ], - "id": 6129, - "name": "EventDefinition", - "src": "929:79:20" - }, - { - "attributes": { - "canonicalName": "SchemeRegistrar.SchemeProposal", - "name": "SchemeProposal", - "scope": 6584, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "scheme", - "scope": 6144, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6130, - "name": "ElementaryTypeName", - "src": "1142:7:20" - } - ], - "id": 6131, - "name": "VariableDeclaration", - "src": "1142:14:20" - }, - { - "attributes": { - "constant": false, - "name": "parametersHash", - "scope": 6144, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6132, - "name": "ElementaryTypeName", - "src": "1170:7:20" - } - ], - "id": 6133, - "name": "VariableDeclaration", - "src": "1170:22:20" - }, - { - "attributes": { - "constant": false, - "name": "proposalType", - "scope": 6144, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6134, - "name": "ElementaryTypeName", - "src": "1203:4:20" - } - ], - "id": 6135, - "name": "VariableDeclaration", - "src": "1203:17:20" - }, - { - "attributes": { - "constant": false, - "name": "isRegistering", - "scope": 6144, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6136, - "name": "ElementaryTypeName", - "src": "1270:4:20" - } - ], - "id": 6137, - "name": "VariableDeclaration", - "src": "1270:18:20" - }, - { - "attributes": { - "constant": false, - "name": "tokenFee", - "scope": 6144, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 6138, - "name": "UserDefinedTypeName", - "src": "1299:13:20" - } - ], - "id": 6139, - "name": "VariableDeclaration", - "src": "1299:22:20" - }, - { - "attributes": { - "constant": false, - "name": "fee", - "scope": 6144, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6140, - "name": "ElementaryTypeName", - "src": "1332:4:20" - } - ], - "id": 6141, - "name": "VariableDeclaration", - "src": "1332:8:20" - }, - { - "attributes": { - "constant": false, - "name": "autoRegisterOrganization", - "scope": 6144, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6142, - "name": "ElementaryTypeName", - "src": "1351:4:20" - } - ], - "id": 6143, - "name": "VariableDeclaration", - "src": "1351:29:20" - } - ], - "id": 6144, - "name": "StructDefinition", - "src": "1109:279:20" - }, - { - "attributes": { - "constant": false, - "name": "organizationsProposals", - "scope": 6584, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6145, - "name": "ElementaryTypeName", - "src": "1500:7:20" - }, - { - "attributes": { - "type": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6146, - "name": "ElementaryTypeName", - "src": "1517:7:20" - }, - { - "attributes": { - "contractScope": null, - "name": "SchemeProposal", - "referencedDeclaration": 6144, - "type": "struct SchemeRegistrar.SchemeProposal storage pointer" - }, - "id": 6147, - "name": "UserDefinedTypeName", - "src": "1526:14:20" - } - ], - "id": 6148, - "name": "Mapping", - "src": "1509:32:20" - } - ], - "id": 6149, - "name": "Mapping", - "src": "1492:50:20" - } - ], - "id": 6150, - "name": "VariableDeclaration", - "src": "1492:80:20" - }, - { - "attributes": { - "canonicalName": "SchemeRegistrar.Parameters", - "name": "Parameters", - "scope": 6584, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "voteRegisterParams", - "scope": 6157, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6151, - "name": "ElementaryTypeName", - "src": "1714:7:20" - } - ], - "id": 6152, - "name": "VariableDeclaration", - "src": "1714:26:20" - }, - { - "attributes": { - "constant": false, - "name": "voteRemoveParams", - "scope": 6157, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6153, - "name": "ElementaryTypeName", - "src": "1751:7:20" - } - ], - "id": 6154, - "name": "VariableDeclaration", - "src": "1751:24:20" - }, - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 6157, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 6155, - "name": "UserDefinedTypeName", - "src": "1786:16:20" - } - ], - "id": 6156, - "name": "VariableDeclaration", - "src": "1786:24:20" - } - ], - "id": 6157, - "name": "StructDefinition", - "src": "1685:133:20" - }, - { - "attributes": { - "constant": false, - "name": "parameters", - "scope": 6584, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6158, - "name": "ElementaryTypeName", - "src": "1832:7:20" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 6157, - "type": "struct SchemeRegistrar.Parameters storage pointer" - }, - "id": 6159, - "name": "UserDefinedTypeName", - "src": "1841:10:20" - } - ], - "id": 6160, - "name": "Mapping", - "src": "1824:28:20" - } - ], - "id": 6161, - "name": "VariableDeclaration", - "src": "1824:46:20" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "SchemeRegistrar", - "payable": false, - "scope": 6584, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 6180, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 6162, - "name": "UserDefinedTypeName", - "src": "2115:13:20" - } - ], - "id": 6163, - "name": "VariableDeclaration", - "src": "2115:26:20" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 6180, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6164, - "name": "ElementaryTypeName", - "src": "2143:4:20" - } - ], - "id": 6165, - "name": "VariableDeclaration", - "src": "2143:9:20" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 6180, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6166, - "name": "ElementaryTypeName", - "src": "2154:7:20" - } - ], - "id": 6167, - "name": "VariableDeclaration", - "src": "2154:20:20" - } - ], - "id": 6168, - "name": "ParameterList", - "src": "2114:61:20" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6169, - "name": "ParameterList", - "src": "2183:0:20" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 7207 - ], - "referencedDeclaration": 7207, - "type": "function (contract StandardToken,uint256,address,bytes32)", - "value": "updateParameters" - }, - "id": 6170, - "name": "Identifier", - "src": "2194:16:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6163, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 6171, - "name": "Identifier", - "src": "2211:12:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6165, - "type": "uint256", - "value": "_fee" - }, - "id": 6172, - "name": "Identifier", - "src": "2225:4:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6167, - "type": "address", - "value": "_beneficiary" - }, - "id": 6173, - "name": "Identifier", - "src": "2231:12:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 6174, - "name": "ElementaryTypeNameExpression", - "src": "2245:7:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6175, - "name": "Literal", - "src": "2253:1:20" - } - ], - "id": 6176, - "name": "FunctionCall", - "src": "2245:10:20" - } - ], - "id": 6177, - "name": "FunctionCall", - "src": "2194:62:20" - } - ], - "id": 6178, - "name": "ExpressionStatement", - "src": "2194:62:20" - } - ], - "id": 6179, - "name": "Block", - "src": "2183:81:20" - } - ], - "id": 6180, - "name": "FunctionDefinition", - "src": "2090:174:20" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 6584, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_voteRegisterParams", - "scope": 6223, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6181, - "name": "ElementaryTypeName", - "src": "2405:7:20" - } - ], - "id": 6182, - "name": "VariableDeclaration", - "src": "2405:27:20" - }, - { - "attributes": { - "constant": false, - "name": "_voteRemoveParams", - "scope": 6223, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6183, - "name": "ElementaryTypeName", - "src": "2443:7:20" - } - ], - "id": 6184, - "name": "VariableDeclaration", - "src": "2443:25:20" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 6223, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 6185, - "name": "UserDefinedTypeName", - "src": "2479:16:20" - } - ], - "id": 6186, - "name": "VariableDeclaration", - "src": "2479:25:20" - } - ], - "id": 6187, - "name": "ParameterList", - "src": "2394:117:20" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6223, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6188, - "name": "ElementaryTypeName", - "src": "2527:7:20" - } - ], - "id": 6189, - "name": "VariableDeclaration", - "src": "2527:7:20" - } - ], - "id": 6190, - "name": "ParameterList", - "src": "2526:9:20" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 6192 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 6223, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6191, - "name": "ElementaryTypeName", - "src": "2552:7:20" - } - ], - "id": 6192, - "name": "VariableDeclaration", - "src": "2552:18:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6241, - "type": "function (bytes32,bytes32,contract IntVoteInterface) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 6193, - "name": "Identifier", - "src": "2573:17:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6182, - "type": "bytes32", - "value": "_voteRegisterParams" - }, - "id": 6194, - "name": "Identifier", - "src": "2591:19:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6184, - "type": "bytes32", - "value": "_voteRemoveParams" - }, - "id": 6195, - "name": "Identifier", - "src": "2612:17:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6186, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 6196, - "name": "Identifier", - "src": "2631:8:20" - } - ], - "id": 6197, - "name": "FunctionCall", - "src": "2573:67:20" - } - ], - "id": 6198, - "name": "VariableDeclarationStatement", - "src": "2552:88:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "voteRegisterParams", - "referencedDeclaration": 6152, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SchemeRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6161, - "type": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 6199, - "name": "Identifier", - "src": "2651:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6192, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6200, - "name": "Identifier", - "src": "2662:10:20" - } - ], - "id": 6201, - "name": "IndexAccess", - "src": "2651:22:20" - } - ], - "id": 6202, - "name": "MemberAccess", - "src": "2651:41:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6182, - "type": "bytes32", - "value": "_voteRegisterParams" - }, - "id": 6203, - "name": "Identifier", - "src": "2695:19:20" - } - ], - "id": 6204, - "name": "Assignment", - "src": "2651:63:20" - } - ], - "id": 6205, - "name": "ExpressionStatement", - "src": "2651:63:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "voteRemoveParams", - "referencedDeclaration": 6154, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SchemeRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6161, - "type": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 6206, - "name": "Identifier", - "src": "2725:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6192, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6207, - "name": "Identifier", - "src": "2736:10:20" - } - ], - "id": 6208, - "name": "IndexAccess", - "src": "2725:22:20" - } - ], - "id": 6209, - "name": "MemberAccess", - "src": "2725:39:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6184, - "type": "bytes32", - "value": "_voteRemoveParams" - }, - "id": 6210, - "name": "Identifier", - "src": "2767:17:20" - } - ], - "id": 6211, - "name": "Assignment", - "src": "2725:59:20" - } - ], - "id": 6212, - "name": "ExpressionStatement", - "src": "2725:59:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "intVote", - "referencedDeclaration": 6156, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SchemeRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6161, - "type": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 6213, - "name": "Identifier", - "src": "2795:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6192, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6214, - "name": "Identifier", - "src": "2806:10:20" - } - ], - "id": 6215, - "name": "IndexAccess", - "src": "2795:22:20" - } - ], - "id": 6216, - "name": "MemberAccess", - "src": "2795:30:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6186, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 6217, - "name": "Identifier", - "src": "2828:8:20" - } - ], - "id": 6218, - "name": "Assignment", - "src": "2795:41:20" - } - ], - "id": 6219, - "name": "ExpressionStatement", - "src": "2795:41:20" - }, - { - "attributes": { - "functionReturnParameters": 6190 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6192, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6220, - "name": "Identifier", - "src": "2854:10:20" - } - ], - "id": 6221, - "name": "Return", - "src": "2847:17:20" - } - ], - "id": 6222, - "name": "Block", - "src": "2541:331:20" - } - ], - "id": 6223, - "name": "FunctionDefinition", - "src": "2372:500:20" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 6584, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_voteRegisterParams", - "scope": 6241, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6224, - "name": "ElementaryTypeName", - "src": "2917:7:20" - } - ], - "id": 6225, - "name": "VariableDeclaration", - "src": "2917:27:20" - }, - { - "attributes": { - "constant": false, - "name": "_voteRemoveParams", - "scope": 6241, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6226, - "name": "ElementaryTypeName", - "src": "2955:7:20" - } - ], - "id": 6227, - "name": "VariableDeclaration", - "src": "2955:25:20" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 6241, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 6228, - "name": "UserDefinedTypeName", - "src": "2991:16:20" - } - ], - "id": 6229, - "name": "VariableDeclaration", - "src": "2991:25:20" - } - ], - "id": 6230, - "name": "ParameterList", - "src": "2906:117:20" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6241, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6231, - "name": "ElementaryTypeName", - "src": "3044:7:20" - } - ], - "id": 6232, - "name": "VariableDeclaration", - "src": "3044:7:20" - } - ], - "id": 6233, - "name": "ParameterList", - "src": "3043:9:20" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6233 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 6234, - "name": "Identifier", - "src": "3076:9:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6225, - "type": "bytes32", - "value": "_voteRegisterParams" - }, - "id": 6235, - "name": "Identifier", - "src": "3086:19:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6227, - "type": "bytes32", - "value": "_voteRemoveParams" - }, - "id": 6236, - "name": "Identifier", - "src": "3107:17:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6229, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 6237, - "name": "Identifier", - "src": "3126:8:20" - } - ], - "id": 6238, - "name": "FunctionCall", - "src": "3076:59:20" - } - ], - "id": 6239, - "name": "Return", - "src": "3069:66:20" - } - ], - "id": 6240, - "name": "Block", - "src": "3058:85:20" - } - ], - "id": 6241, - "name": "FunctionDefinition", - "src": "2880:263:20" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "proposeScheme", - "payable": false, - "scope": 6584, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6344, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6242, - "name": "UserDefinedTypeName", - "src": "4097:6:20" - } - ], - "id": 6243, - "name": "VariableDeclaration", - "src": "4097:14:20" - }, - { - "attributes": { - "constant": false, - "name": "_scheme", - "scope": 6344, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6244, - "name": "ElementaryTypeName", - "src": "4122:7:20" - } - ], - "id": 6245, - "name": "VariableDeclaration", - "src": "4122:15:20" - }, - { - "attributes": { - "constant": false, - "name": "_parametersHash", - "scope": 6344, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6246, - "name": "ElementaryTypeName", - "src": "4148:7:20" - } - ], - "id": 6247, - "name": "VariableDeclaration", - "src": "4148:23:20" - }, - { - "attributes": { - "constant": false, - "name": "_isRegistering", - "scope": 6344, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6248, - "name": "ElementaryTypeName", - "src": "4182:4:20" - } - ], - "id": 6249, - "name": "VariableDeclaration", - "src": "4182:19:20" - }, - { - "attributes": { - "constant": false, - "name": "_tokenFee", - "scope": 6344, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 6250, - "name": "UserDefinedTypeName", - "src": "4212:13:20" - } - ], - "id": 6251, - "name": "VariableDeclaration", - "src": "4212:23:20" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 6344, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6252, - "name": "ElementaryTypeName", - "src": "4246:4:20" - } - ], - "id": 6253, - "name": "VariableDeclaration", - "src": "4246:9:20" - }, - { - "attributes": { - "constant": false, - "name": "_autoRegisterOrganization", - "scope": 6344, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6254, - "name": "ElementaryTypeName", - "src": "4266:4:20" - } - ], - "id": 6255, - "name": "VariableDeclaration", - "src": "4266:30:20" - } - ], - "id": 6256, - "name": "ParameterList", - "src": "4086:217:20" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6344, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6260, - "name": "ElementaryTypeName", - "src": "4370:7:20" - } - ], - "id": 6261, - "name": "VariableDeclaration", - "src": "4370:7:20" - } - ], - "id": 6262, - "name": "ParameterList", - "src": "4369:9:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7129, - "type": "modifier (address)", - "value": "onlyRegisteredOrganization" - }, - "id": 6257, - "name": "Identifier", - "src": "4321:26:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6243, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6258, - "name": "Identifier", - "src": "4348:7:20" - } - ], - "id": 6259, - "name": "ModifierInvocation", - "src": "4321:35:20" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6255, - "type": "bool", - "value": "_autoRegisterOrganization" - }, - "id": 6263, - "name": "Identifier", - "src": "4399:25:20" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "isRegistered", - "referencedDeclaration": 7177, - "type": "function (address) view external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract UniversalScheme", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7229, - "type": "type(contract UniversalScheme)", - "value": "UniversalScheme" - }, - "id": 6264, - "name": "Identifier", - "src": "4632:15:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6245, - "type": "address", - "value": "_scheme" - }, - "id": 6265, - "name": "Identifier", - "src": "4648:7:20" - } - ], - "id": 6266, - "name": "FunctionCall", - "src": "4632:24:20" - } - ], - "id": 6267, - "name": "MemberAccess", - "src": "4632:37:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 6268, - "name": "Identifier", - "src": "4670:6:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6243, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6269, - "name": "Identifier", - "src": "4677:7:20" - } - ], - "id": 6270, - "name": "FunctionCall", - "src": "4670:15:20" - } - ], - "id": 6271, - "name": "FunctionCall", - "src": "4632:54:20" - } - ], - "id": 6272, - "name": "ExpressionStatement", - "src": "4632:54:20" - } - ], - "id": 6273, - "name": "Block", - "src": "4426:272:20" - } - ], - "id": 6274, - "name": "IfStatement", - "src": "4395:303:20" - }, - { - "attributes": { - "assignments": [ - 6276 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controllerParams", - "scope": 6344, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SchemeRegistrar.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 6157, - "type": "struct SchemeRegistrar.Parameters storage pointer" - }, - "id": 6275, - "name": "UserDefinedTypeName", - "src": "4728:10:20" - } - ], - "id": 6276, - "name": "VariableDeclaration", - "src": "4728:34:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SchemeRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6161, - "type": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 6277, - "name": "Identifier", - "src": "4765:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 6278, - "name": "Identifier", - "src": "4776:27:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6243, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6279, - "name": "Identifier", - "src": "4804:7:20" - } - ], - "id": 6280, - "name": "FunctionCall", - "src": "4776:36:20" - } - ], - "id": 6281, - "name": "IndexAccess", - "src": "4765:48:20" - } - ], - "id": 6282, - "name": "VariableDeclarationStatement", - "src": "4728:85:20" - }, - { - "attributes": { - "assignments": [ - 6284 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposalId", - "scope": 6344, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6283, - "name": "ElementaryTypeName", - "src": "4826:7:20" - } - ], - "id": 6284, - "name": "VariableDeclaration", - "src": "4826:18:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_ExecutableInterface_$5155", - "typeString": "contract ExecutableInterface" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "propose", - "referencedDeclaration": 2570, - "type": "function (uint256,bytes32,address,contract ExecutableInterface) external returns (bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 6156, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6276, - "type": "struct SchemeRegistrar.Parameters memory", - "value": "controllerParams" - }, - "id": 6285, - "name": "Identifier", - "src": "4847:16:20" - } - ], - "id": 6286, - "name": "MemberAccess", - "src": "4847:24:20" - } - ], - "id": 6287, - "name": "MemberAccess", - "src": "4847:32:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 6288, - "name": "Literal", - "src": "4880:1:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteRegisterParams", - "referencedDeclaration": 6152, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6276, - "type": "struct SchemeRegistrar.Parameters memory", - "value": "controllerParams" - }, - "id": 6289, - "name": "Identifier", - "src": "4883:16:20" - } - ], - "id": 6290, - "name": "MemberAccess", - "src": "4883:35:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6243, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6291, - "name": "Identifier", - "src": "4920:7:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract ExecutableInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_SchemeRegistrar_$6584", - "typeString": "contract SchemeRegistrar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5155, - "type": "type(contract ExecutableInterface)", - "value": "ExecutableInterface" - }, - "id": 6292, - "name": "Identifier", - "src": "4929:19:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9813, - "type": "contract SchemeRegistrar", - "value": "this" - }, - "id": 6293, - "name": "Identifier", - "src": "4949:4:20" - } - ], - "id": 6294, - "name": "FunctionCall", - "src": "4929:25:20" - } - ], - "id": 6295, - "name": "FunctionCall", - "src": "4847:108:20" - } - ], - "id": 6296, - "name": "VariableDeclarationStatement", - "src": "4826:129:20" - }, - { - "attributes": { - "assignments": [ - 6298 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 6344, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SchemeProposal", - "referencedDeclaration": 6144, - "type": "struct SchemeRegistrar.SchemeProposal storage pointer" - }, - "id": 6297, - "name": "UserDefinedTypeName", - "src": "4968:14:20" - } - ], - "id": 6298, - "name": "VariableDeclaration", - "src": "4968:30:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "scheme", - "parametersHash", - "proposalType", - "isRegistering", - "tokenFee", - "fee", - "autoRegisterOrganization" - ], - "type": "struct SchemeRegistrar.SchemeProposal memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6144, - "type": "type(struct SchemeRegistrar.SchemeProposal storage pointer)", - "value": "SchemeProposal" - }, - "id": 6299, - "name": "Identifier", - "src": "5001:14:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6245, - "type": "address", - "value": "_scheme" - }, - "id": 6300, - "name": "Identifier", - "src": "5039:7:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6247, - "type": "bytes32", - "value": "_parametersHash" - }, - "id": 6301, - "name": "Identifier", - "src": "5077:15:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 6302, - "name": "Literal", - "src": "5121:1:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6249, - "type": "bool", - "value": "_isRegistering" - }, - "id": 6303, - "name": "Identifier", - "src": "5152:14:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6251, - "type": "contract StandardToken", - "value": "_tokenFee" - }, - "id": 6304, - "name": "Identifier", - "src": "5191:9:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6253, - "type": "uint256", - "value": "_fee" - }, - "id": 6305, - "name": "Identifier", - "src": "5220:4:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6255, - "type": "bool", - "value": "_autoRegisterOrganization" - }, - "id": 6306, - "name": "Identifier", - "src": "5265:25:20" - } - ], - "id": 6307, - "name": "FunctionCall", - "src": "5001:301:20" - } - ], - "id": 6308, - "name": "VariableDeclarationStatement", - "src": "4968:334:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6107, - "type": "function (address,bytes32,address,address,bytes32,bool,contract StandardToken,uint256,bool)", - "value": "LogNewSchemeProposal" - }, - "id": 6309, - "name": "Identifier", - "src": "5313:20:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6243, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6310, - "name": "Identifier", - "src": "5348:7:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6284, - "type": "bytes32", - "value": "proposalId" - }, - "id": 6311, - "name": "Identifier", - "src": "5370:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 6156, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6276, - "type": "struct SchemeRegistrar.Parameters memory", - "value": "controllerParams" - }, - "id": 6312, - "name": "Identifier", - "src": "5395:16:20" - } - ], - "id": 6313, - "name": "MemberAccess", - "src": "5395:24:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6245, - "type": "address", - "value": "_scheme" - }, - "id": 6314, - "name": "Identifier", - "src": "5434:7:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6247, - "type": "bytes32", - "value": "_parametersHash" - }, - "id": 6315, - "name": "Identifier", - "src": "5443:15:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6249, - "type": "bool", - "value": "_isRegistering" - }, - "id": 6316, - "name": "Identifier", - "src": "5473:14:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6251, - "type": "contract StandardToken", - "value": "_tokenFee" - }, - "id": 6317, - "name": "Identifier", - "src": "5502:9:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6253, - "type": "uint256", - "value": "_fee" - }, - "id": 6318, - "name": "Identifier", - "src": "5526:4:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6255, - "type": "bool", - "value": "_autoRegisterOrganization" - }, - "id": 6319, - "name": "Identifier", - "src": "5545:25:20" - } - ], - "id": 6320, - "name": "FunctionCall", - "src": "5313:268:20" - } - ], - "id": 6321, - "name": "ExpressionStatement", - "src": "5313:268:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct SchemeRegistrar.SchemeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct SchemeRegistrar.SchemeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6150, - "type": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 6322, - "name": "Identifier", - "src": "5592:22:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6243, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6323, - "name": "Identifier", - "src": "5615:7:20" - } - ], - "id": 6325, - "name": "IndexAccess", - "src": "5592:31:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6284, - "type": "bytes32", - "value": "proposalId" - }, - "id": 6324, - "name": "Identifier", - "src": "5624:10:20" - } - ], - "id": 6326, - "name": "IndexAccess", - "src": "5592:43:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6298, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6327, - "name": "Identifier", - "src": "5638:8:20" - } - ], - "id": 6328, - "name": "Assignment", - "src": "5592:54:20" - } - ], - "id": 6329, - "name": "ExpressionStatement", - "src": "5592:54:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "ownerVote", - "referencedDeclaration": 2597, - "type": "function (bytes32,uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 6156, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6276, - "type": "struct SchemeRegistrar.Parameters memory", - "value": "controllerParams" - }, - "id": 6330, - "name": "Identifier", - "src": "5694:16:20" - } - ], - "id": 6333, - "name": "MemberAccess", - "src": "5694:24:20" - } - ], - "id": 6334, - "name": "MemberAccess", - "src": "5694:34:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6284, - "type": "bytes32", - "value": "proposalId" - }, - "id": 6335, - "name": "Identifier", - "src": "5729:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 6336, - "name": "Literal", - "src": "5741:1:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6337, - "name": "Identifier", - "src": "5744:3:20" - } - ], - "id": 6338, - "name": "MemberAccess", - "src": "5744:10:20" - } - ], - "id": 6339, - "name": "FunctionCall", - "src": "5694:61:20" - } - ], - "id": 6340, - "name": "ExpressionStatement", - "src": "5694:61:20" - }, - { - "attributes": { - "functionReturnParameters": 6262 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6284, - "type": "bytes32", - "value": "proposalId" - }, - "id": 6341, - "name": "Identifier", - "src": "5829:10:20" - } - ], - "id": 6342, - "name": "Return", - "src": "5822:17:20" - } - ], - "id": 6343, - "name": "Block", - "src": "4384:1463:20" - } - ], - "id": 6344, - "name": "FunctionDefinition", - "src": "4064:1783:20" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "proposeToRemoveScheme", - "payable": false, - "scope": 6584, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6423, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6345, - "name": "UserDefinedTypeName", - "src": "6188:6:20" - } - ], - "id": 6346, - "name": "VariableDeclaration", - "src": "6188:14:20" - }, - { - "attributes": { - "constant": false, - "name": "_scheme", - "scope": 6423, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6347, - "name": "ElementaryTypeName", - "src": "6204:7:20" - } - ], - "id": 6348, - "name": "VariableDeclaration", - "src": "6204:15:20" - } - ], - "id": 6349, - "name": "ParameterList", - "src": "6187:33:20" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6423, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6353, - "name": "ElementaryTypeName", - "src": "6287:7:20" - } - ], - "id": 6354, - "name": "VariableDeclaration", - "src": "6287:7:20" - } - ], - "id": 6355, - "name": "ParameterList", - "src": "6286:9:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7129, - "type": "modifier (address)", - "value": "onlyRegisteredOrganization" - }, - "id": 6350, - "name": "Identifier", - "src": "6238:26:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6346, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6351, - "name": "Identifier", - "src": "6265:7:20" - } - ], - "id": 6352, - "name": "ModifierInvocation", - "src": "6238:35:20" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 6357 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 6423, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6356, - "name": "ElementaryTypeName", - "src": "6312:7:20" - } - ], - "id": 6357, - "name": "VariableDeclaration", - "src": "6312:18:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 6358, - "name": "Identifier", - "src": "6333:27:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6346, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6359, - "name": "Identifier", - "src": "6361:7:20" - } - ], - "id": 6360, - "name": "FunctionCall", - "src": "6333:36:20" - } - ], - "id": 6361, - "name": "VariableDeclarationStatement", - "src": "6312:57:20" - }, - { - "attributes": { - "assignments": [ - 6363 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 6423, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SchemeRegistrar.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 6157, - "type": "struct SchemeRegistrar.Parameters storage pointer" - }, - "id": 6362, - "name": "UserDefinedTypeName", - "src": "6380:10:20" - } - ], - "id": 6363, - "name": "VariableDeclaration", - "src": "6380:24:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SchemeRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6161, - "type": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 6364, - "name": "Identifier", - "src": "6407:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6357, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6365, - "name": "Identifier", - "src": "6418:10:20" - } - ], - "id": 6366, - "name": "IndexAccess", - "src": "6407:22:20" - } - ], - "id": 6367, - "name": "VariableDeclarationStatement", - "src": "6380:49:20" - }, - { - "attributes": { - "assignments": [ - 6369 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 6423, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 6368, - "name": "UserDefinedTypeName", - "src": "6442:16:20" - } - ], - "id": 6369, - "name": "VariableDeclaration", - "src": "6442:24:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 6156, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6363, - "type": "struct SchemeRegistrar.Parameters memory", - "value": "params" - }, - "id": 6370, - "name": "Identifier", - "src": "6469:6:20" - } - ], - "id": 6371, - "name": "MemberAccess", - "src": "6469:14:20" - } - ], - "id": 6372, - "name": "VariableDeclarationStatement", - "src": "6442:41:20" - }, - { - "attributes": { - "assignments": [ - 6374 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposalId", - "scope": 6423, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6373, - "name": "ElementaryTypeName", - "src": "6494:7:20" - } - ], - "id": 6374, - "name": "VariableDeclaration", - "src": "6494:18:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_ExecutableInterface_$5155", - "typeString": "contract ExecutableInterface" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "propose", - "referencedDeclaration": 2570, - "type": "function (uint256,bytes32,address,contract ExecutableInterface) external returns (bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6369, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 6375, - "name": "Identifier", - "src": "6515:7:20" - } - ], - "id": 6376, - "name": "MemberAccess", - "src": "6515:15:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 6377, - "name": "Literal", - "src": "6531:1:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteRemoveParams", - "referencedDeclaration": 6154, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6363, - "type": "struct SchemeRegistrar.Parameters memory", - "value": "params" - }, - "id": 6378, - "name": "Identifier", - "src": "6534:6:20" - } - ], - "id": 6379, - "name": "MemberAccess", - "src": "6534:23:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6346, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6380, - "name": "Identifier", - "src": "6559:7:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract ExecutableInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_SchemeRegistrar_$6584", - "typeString": "contract SchemeRegistrar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5155, - "type": "type(contract ExecutableInterface)", - "value": "ExecutableInterface" - }, - "id": 6381, - "name": "Identifier", - "src": "6568:19:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9813, - "type": "contract SchemeRegistrar", - "value": "this" - }, - "id": 6382, - "name": "Identifier", - "src": "6588:4:20" - } - ], - "id": 6383, - "name": "FunctionCall", - "src": "6568:25:20" - } - ], - "id": 6384, - "name": "FunctionCall", - "src": "6515:79:20" - } - ], - "id": 6385, - "name": "VariableDeclarationStatement", - "src": "6494:100:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "proposalType", - "referencedDeclaration": 6135, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SchemeRegistrar.SchemeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6150, - "type": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 6386, - "name": "Identifier", - "src": "6615:22:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6346, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6387, - "name": "Identifier", - "src": "6638:7:20" - } - ], - "id": 6389, - "name": "IndexAccess", - "src": "6615:31:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6374, - "type": "bytes32", - "value": "proposalId" - }, - "id": 6388, - "name": "Identifier", - "src": "6647:10:20" - } - ], - "id": 6390, - "name": "IndexAccess", - "src": "6615:43:20" - } - ], - "id": 6391, - "name": "MemberAccess", - "src": "6615:56:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 6392, - "name": "Literal", - "src": "6674:1:20" - } - ], - "id": 6393, - "name": "Assignment", - "src": "6615:60:20" - } - ], - "id": 6394, - "name": "ExpressionStatement", - "src": "6615:60:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "scheme", - "referencedDeclaration": 6131, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SchemeRegistrar.SchemeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6150, - "type": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 6395, - "name": "Identifier", - "src": "6686:22:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6346, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6396, - "name": "Identifier", - "src": "6709:7:20" - } - ], - "id": 6398, - "name": "IndexAccess", - "src": "6686:31:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6374, - "type": "bytes32", - "value": "proposalId" - }, - "id": 6397, - "name": "Identifier", - "src": "6718:10:20" - } - ], - "id": 6399, - "name": "IndexAccess", - "src": "6686:43:20" - } - ], - "id": 6400, - "name": "MemberAccess", - "src": "6686:50:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6348, - "type": "address", - "value": "_scheme" - }, - "id": 6401, - "name": "Identifier", - "src": "6739:7:20" - } - ], - "id": 6402, - "name": "Assignment", - "src": "6686:60:20" - } - ], - "id": 6403, - "name": "ExpressionStatement", - "src": "6686:60:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6117, - "type": "function (address,bytes32,address,address)", - "value": "LogRemoveSchemeProposal" - }, - "id": 6404, - "name": "Identifier", - "src": "6757:23:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6346, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6405, - "name": "Identifier", - "src": "6781:7:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6374, - "type": "bytes32", - "value": "proposalId" - }, - "id": 6406, - "name": "Identifier", - "src": "6790:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6369, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 6407, - "name": "Identifier", - "src": "6802:7:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6348, - "type": "address", - "value": "_scheme" - }, - "id": 6408, - "name": "Identifier", - "src": "6811:7:20" - } - ], - "id": 6409, - "name": "FunctionCall", - "src": "6757:62:20" - } - ], - "id": 6410, - "name": "ExpressionStatement", - "src": "6757:62:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "ownerVote", - "referencedDeclaration": 2597, - "type": "function (bytes32,uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6369, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 6411, - "name": "Identifier", - "src": "6865:7:20" - } - ], - "id": 6413, - "name": "MemberAccess", - "src": "6865:17:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6374, - "type": "bytes32", - "value": "proposalId" - }, - "id": 6414, - "name": "Identifier", - "src": "6883:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 6415, - "name": "Literal", - "src": "6895:1:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6416, - "name": "Identifier", - "src": "6898:3:20" - } - ], - "id": 6417, - "name": "MemberAccess", - "src": "6898:10:20" - } - ], - "id": 6418, - "name": "FunctionCall", - "src": "6865:44:20" - } - ], - "id": 6419, - "name": "ExpressionStatement", - "src": "6865:44:20" - }, - { - "attributes": { - "functionReturnParameters": 6355 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6374, - "type": "bytes32", - "value": "proposalId" - }, - "id": 6420, - "name": "Identifier", - "src": "6983:10:20" - } - ], - "id": 6421, - "name": "Return", - "src": "6976:17:20" - } - ], - "id": 6422, - "name": "Block", - "src": "6301:700:20" - } - ], - "id": 6423, - "name": "FunctionDefinition", - "src": "6157:844:20" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "execute", - "payable": false, - "scope": 6584, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 6583, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6424, - "name": "ElementaryTypeName", - "src": "7428:7:20" - } - ], - "id": 6425, - "name": "VariableDeclaration", - "src": "7428:19:20" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6583, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6426, - "name": "ElementaryTypeName", - "src": "7449:7:20" - } - ], - "id": 6427, - "name": "VariableDeclaration", - "src": "7449:15:20" - }, - { - "attributes": { - "constant": false, - "name": "_param", - "scope": 6583, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 6428, - "name": "ElementaryTypeName", - "src": "7466:3:20" - } - ], - "id": 6429, - "name": "VariableDeclaration", - "src": "7466:10:20" - } - ], - "id": 6430, - "name": "ParameterList", - "src": "7427:50:20" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6583, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6431, - "name": "ElementaryTypeName", - "src": "7495:4:20" - } - ], - "id": 6432, - "name": "VariableDeclaration", - "src": "7495:4:20" - } - ], - "id": 6433, - "name": "ParameterList", - "src": "7494:6:20" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6434, - "name": "Identifier", - "src": "7571:7:20" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 6156, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SchemeRegistrar.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6161, - "type": "mapping(bytes32 => struct SchemeRegistrar.Parameters storage ref)", - "value": "parameters" - }, - "id": 6435, - "name": "Identifier", - "src": "7579:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 6436, - "name": "Identifier", - "src": "7590:27:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 6437, - "name": "Identifier", - "src": "7618:6:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6427, - "type": "address", - "value": "_avatar" - }, - "id": 6438, - "name": "Identifier", - "src": "7625:7:20" - } - ], - "id": 6439, - "name": "FunctionCall", - "src": "7618:15:20" - } - ], - "id": 6440, - "name": "FunctionCall", - "src": "7590:44:20" - } - ], - "id": 6441, - "name": "IndexAccess", - "src": "7579:56:20" - } - ], - "id": 6442, - "name": "MemberAccess", - "src": "7579:64:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6443, - "name": "Identifier", - "src": "7647:3:20" - } - ], - "id": 6444, - "name": "MemberAccess", - "src": "7647:10:20" - } - ], - "id": 6445, - "name": "BinaryOperation", - "src": "7579:78:20" - } - ], - "id": 6446, - "name": "FunctionCall", - "src": "7571:87:20" - } - ], - "id": 6447, - "name": "ExpressionStatement", - "src": "7571:87:20" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6429, - "type": "int256", - "value": "_param" - }, - "id": 6448, - "name": "Identifier", - "src": "7675:6:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 6449, - "name": "Literal", - "src": "7685:1:20" - } - ], - "id": 6450, - "name": "BinaryOperation", - "src": "7675:11:20" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 6452 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 6583, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 6451, - "name": "UserDefinedTypeName", - "src": "7755:10:20" - } - ], - "id": 6452, - "name": "VariableDeclaration", - "src": "7755:21:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 6453, - "name": "Identifier", - "src": "7779:10:20" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 6454, - "name": "Identifier", - "src": "7790:6:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6427, - "type": "address", - "value": "_avatar" - }, - "id": 6455, - "name": "Identifier", - "src": "7797:7:20" - } - ], - "id": 6456, - "name": "FunctionCall", - "src": "7790:15:20" - } - ], - "id": 6457, - "name": "MemberAccess", - "src": "7790:21:20" - } - ], - "id": 6458, - "name": "FunctionCall", - "src": "7790:23:20" - } - ], - "id": 6459, - "name": "FunctionCall", - "src": "7779:35:20" - } - ], - "id": 6460, - "name": "VariableDeclarationStatement", - "src": "7755:59:20" - }, - { - "attributes": { - "assignments": [ - 6462 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 6583, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SchemeProposal", - "referencedDeclaration": 6144, - "type": "struct SchemeRegistrar.SchemeProposal storage pointer" - }, - "id": 6461, - "name": "UserDefinedTypeName", - "src": "7829:14:20" - } - ], - "id": 6462, - "name": "VariableDeclaration", - "src": "7829:30:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SchemeRegistrar.SchemeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6150, - "type": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 6463, - "name": "Identifier", - "src": "7862:22:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6427, - "type": "address", - "value": "_avatar" - }, - "id": 6464, - "name": "Identifier", - "src": "7885:7:20" - } - ], - "id": 6465, - "name": "IndexAccess", - "src": "7862:31:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6425, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 6466, - "name": "Identifier", - "src": "7894:11:20" - } - ], - "id": 6467, - "name": "IndexAccess", - "src": "7862:44:20" - } - ], - "id": 6468, - "name": "VariableDeclarationStatement", - "src": "7829:77:20" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposalType", - "referencedDeclaration": 6135, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6469, - "name": "Identifier", - "src": "7953:8:20" - } - ], - "id": 6470, - "name": "MemberAccess", - "src": "7953:21:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 6471, - "name": "Literal", - "src": "7978:1:20" - } - ], - "id": 6472, - "name": "BinaryOperation", - "src": "7953:26:20" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "fee", - "referencedDeclaration": 6141, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6473, - "name": "Identifier", - "src": "8004:8:20" - } - ], - "id": 6474, - "name": "MemberAccess", - "src": "8004:12:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6475, - "name": "Literal", - "src": "8020:1:20" - } - ], - "id": 6476, - "name": "BinaryOperation", - "src": "8004:17:20" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "externalTokenIncreaseApproval", - "referencedDeclaration": 4124, - "type": "function (contract StandardToken,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6452, - "type": "contract Controller", - "value": "controller" - }, - "id": 6477, - "name": "Identifier", - "src": "8051:10:20" - } - ], - "id": 6478, - "name": "MemberAccess", - "src": "8051:40:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "tokenFee", - "referencedDeclaration": 6139, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6479, - "name": "Identifier", - "src": "8092:8:20" - } - ], - "id": 6480, - "name": "MemberAccess", - "src": "8092:17:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "scheme", - "referencedDeclaration": 6131, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6481, - "name": "Identifier", - "src": "8111:8:20" - } - ], - "id": 6482, - "name": "MemberAccess", - "src": "8111:15:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "fee", - "referencedDeclaration": 6141, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6483, - "name": "Identifier", - "src": "8128:8:20" - } - ], - "id": 6484, - "name": "MemberAccess", - "src": "8128:12:20" - } - ], - "id": 6485, - "name": "FunctionCall", - "src": "8051:90:20" - } - ], - "id": 6486, - "name": "UnaryOperation", - "src": "8050:91:20" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 6487, - "name": "Identifier", - "src": "8170:6:20" - } - ], - "id": 6488, - "name": "FunctionCall", - "src": "8170:8:20" - } - ], - "id": 6489, - "name": "ExpressionStatement", - "src": "8170:8:20" - } - ], - "id": 6490, - "name": "Block", - "src": "8143:61:20" - } - ], - "id": 6491, - "name": "IfStatement", - "src": "8046:158:20" - } - ], - "id": 6492, - "name": "Block", - "src": "8023:204:20" - } - ], - "id": 6493, - "name": "IfStatement", - "src": "8000:227:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "isRegistering", - "referencedDeclaration": 6137, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6494, - "name": "Identifier", - "src": "8249:8:20" - } - ], - "id": 6495, - "name": "MemberAccess", - "src": "8249:22:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6496, - "name": "Literal", - "src": "8275:5:20" - } - ], - "id": 6497, - "name": "BinaryOperation", - "src": "8249:31:20" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "registerScheme", - "referencedDeclaration": 3597, - "type": "function (address,bytes32,bytes4) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6452, - "type": "contract Controller", - "value": "controller" - }, - "id": 6498, - "name": "Identifier", - "src": "8310:10:20" - } - ], - "id": 6499, - "name": "MemberAccess", - "src": "8310:25:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "scheme", - "referencedDeclaration": 6131, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6500, - "name": "Identifier", - "src": "8336:8:20" - } - ], - "id": 6501, - "name": "MemberAccess", - "src": "8336:15:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "parametersHash", - "referencedDeclaration": 6133, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6502, - "name": "Identifier", - "src": "8353:8:20" - } - ], - "id": 6503, - "name": "MemberAccess", - "src": "8353:23:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 6504, - "name": "ElementaryTypeNameExpression", - "src": "8378:6:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 6505, - "name": "Literal", - "src": "8385:1:20" - } - ], - "id": 6506, - "name": "FunctionCall", - "src": "8378:9:20" - } - ], - "id": 6507, - "name": "FunctionCall", - "src": "8310:78:20" - } - ], - "id": 6508, - "name": "UnaryOperation", - "src": "8309:79:20" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 6509, - "name": "Identifier", - "src": "8417:6:20" - } - ], - "id": 6510, - "name": "FunctionCall", - "src": "8417:8:20" - } - ], - "id": 6511, - "name": "ExpressionStatement", - "src": "8417:8:20" - } - ], - "id": 6512, - "name": "Block", - "src": "8390:61:20" - } - ], - "id": 6513, - "name": "IfStatement", - "src": "8305:146:20" - } - ], - "id": 6514, - "name": "Block", - "src": "8282:194:20" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "registerScheme", - "referencedDeclaration": 3597, - "type": "function (address,bytes32,bytes4) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6452, - "type": "contract Controller", - "value": "controller" - }, - "id": 6515, - "name": "Identifier", - "src": "8510:10:20" - } - ], - "id": 6516, - "name": "MemberAccess", - "src": "8510:25:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "scheme", - "referencedDeclaration": 6131, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6517, - "name": "Identifier", - "src": "8536:8:20" - } - ], - "id": 6518, - "name": "MemberAccess", - "src": "8536:15:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "parametersHash", - "referencedDeclaration": 6133, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6519, - "name": "Identifier", - "src": "8553:8:20" - } - ], - "id": 6520, - "name": "MemberAccess", - "src": "8553:23:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes4)", - "value": "bytes4" - }, - "id": 6521, - "name": "ElementaryTypeNameExpression", - "src": "8578:6:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "33", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 3", - "value": "3" - }, - "id": 6522, - "name": "Literal", - "src": "8585:1:20" - } - ], - "id": 6523, - "name": "FunctionCall", - "src": "8578:9:20" - } - ], - "id": 6524, - "name": "FunctionCall", - "src": "8510:78:20" - } - ], - "id": 6525, - "name": "UnaryOperation", - "src": "8509:79:20" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 6526, - "name": "Identifier", - "src": "8617:6:20" - } - ], - "id": 6527, - "name": "FunctionCall", - "src": "8617:8:20" - } - ], - "id": 6528, - "name": "ExpressionStatement", - "src": "8617:8:20" - } - ], - "id": 6529, - "name": "Block", - "src": "8590:59:20" - } - ], - "id": 6530, - "name": "IfStatement", - "src": "8505:144:20" - } - ], - "id": 6531, - "name": "Block", - "src": "8482:186:20" - } - ], - "id": 6532, - "name": "IfStatement", - "src": "8245:423:20" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "autoRegisterOrganization", - "referencedDeclaration": 6143, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6533, - "name": "Identifier", - "src": "8690:8:20" - } - ], - "id": 6534, - "name": "MemberAccess", - "src": "8690:33:20" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "registerOrganization", - "referencedDeclaration": 7165, - "type": "function (contract Avatar) external" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract UniversalScheme", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7229, - "type": "type(contract UniversalScheme)", - "value": "UniversalScheme" - }, - "id": 6535, - "name": "Identifier", - "src": "8748:15:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "scheme", - "referencedDeclaration": 6131, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6536, - "name": "Identifier", - "src": "8764:8:20" - } - ], - "id": 6537, - "name": "MemberAccess", - "src": "8764:15:20" - } - ], - "id": 6538, - "name": "FunctionCall", - "src": "8748:32:20" - } - ], - "id": 6539, - "name": "MemberAccess", - "src": "8748:53:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 6540, - "name": "Identifier", - "src": "8802:6:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6427, - "type": "address", - "value": "_avatar" - }, - "id": 6541, - "name": "Identifier", - "src": "8809:7:20" - } - ], - "id": 6542, - "name": "FunctionCall", - "src": "8802:15:20" - } - ], - "id": 6543, - "name": "FunctionCall", - "src": "8748:70:20" - } - ], - "id": 6544, - "name": "ExpressionStatement", - "src": "8748:70:20" - } - ], - "id": 6545, - "name": "Block", - "src": "8725:115:20" - } - ], - "id": 6546, - "name": "IfStatement", - "src": "8686:154:20" - } - ], - "id": 6547, - "name": "Block", - "src": "7981:878:20" - } - ], - "id": 6548, - "name": "IfStatement", - "src": "7949:910:20" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposalType", - "referencedDeclaration": 6135, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6549, - "name": "Identifier", - "src": "8907:8:20" - } - ], - "id": 6550, - "name": "MemberAccess", - "src": "8907:21:20" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 6551, - "name": "Literal", - "src": "8932:1:20" - } - ], - "id": 6552, - "name": "BinaryOperation", - "src": "8907:26:20" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "unregisterScheme", - "referencedDeclaration": 3663, - "type": "function (address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6452, - "type": "contract Controller", - "value": "controller" - }, - "id": 6553, - "name": "Identifier", - "src": "8960:10:20" - } - ], - "id": 6554, - "name": "MemberAccess", - "src": "8960:27:20" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "scheme", - "referencedDeclaration": 6131, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6462, - "type": "struct SchemeRegistrar.SchemeProposal memory", - "value": "proposal" - }, - "id": 6555, - "name": "Identifier", - "src": "8988:8:20" - } - ], - "id": 6556, - "name": "MemberAccess", - "src": "8988:15:20" - } - ], - "id": 6557, - "name": "FunctionCall", - "src": "8960:44:20" - } - ], - "id": 6558, - "name": "UnaryOperation", - "src": "8959:45:20" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 6559, - "name": "Identifier", - "src": "9029:6:20" - } - ], - "id": 6560, - "name": "FunctionCall", - "src": "9029:8:20" - } - ], - "id": 6561, - "name": "ExpressionStatement", - "src": "9029:8:20" - } - ], - "id": 6562, - "name": "Block", - "src": "9006:53:20" - } - ], - "id": 6563, - "name": "IfStatement", - "src": "8955:104:20" - } - ], - "id": 6564, - "name": "Block", - "src": "8936:142:20" - } - ], - "id": 6565, - "name": "IfStatement", - "src": "8902:176:20" - } - ], - "id": 6566, - "name": "Block", - "src": "7688:1403:20" - } - ], - "id": 6567, - "name": "IfStatement", - "src": "7671:1420:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct SchemeRegistrar.SchemeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6150, - "type": "mapping(address => mapping(bytes32 => struct SchemeRegistrar.SchemeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 6568, - "name": "Identifier", - "src": "9108:22:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6427, - "type": "address", - "value": "_avatar" - }, - "id": 6569, - "name": "Identifier", - "src": "9131:7:20" - } - ], - "id": 6570, - "name": "IndexAccess", - "src": "9108:31:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6425, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 6571, - "name": "Identifier", - "src": "9140:11:20" - } - ], - "id": 6572, - "name": "IndexAccess", - "src": "9108:44:20" - } - ], - "id": 6573, - "name": "UnaryOperation", - "src": "9101:51:20" - } - ], - "id": 6574, - "name": "ExpressionStatement", - "src": "9101:51:20" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6123, - "type": "function (address,bytes32)", - "value": "LogProposalExecuted" - }, - "id": 6575, - "name": "Identifier", - "src": "9163:19:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6427, - "type": "address", - "value": "_avatar" - }, - "id": 6576, - "name": "Identifier", - "src": "9183:7:20" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6425, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 6577, - "name": "Identifier", - "src": "9192:11:20" - } - ], - "id": 6578, - "name": "FunctionCall", - "src": "9163:41:20" - } - ], - "id": 6579, - "name": "ExpressionStatement", - "src": "9163:41:20" - }, - { - "attributes": { - "functionReturnParameters": 6433 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 6580, - "name": "Literal", - "src": "9222:4:20" - } - ], - "id": 6581, - "name": "Return", - "src": "9215:11:20" - } - ], - "id": 6582, - "name": "Block", - "src": "7501:1733:20" - } - ], - "id": 6583, - "name": "FunctionDefinition", - "src": "7411:1823:20" - } - ], - "id": 6584, - "name": "ContractDefinition", - "src": "276:8961:20" - } - ], - "id": 6585, - "name": "SourceUnit", - "src": "0:9239:20" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": { - "42": { - "events": { - "0xa3d27ea573e5dd5b65d4850ff4d0cb2e1f8633c148ff9c19040e1b6c609c0386": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_scheme", - "type": "address" - }, - { - "indexed": false, - "name": "_parametersHash", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_isRegistering", - "type": "bool" - }, - { - "indexed": false, - "name": "_tokenFee", - "type": "address" - }, - { - "indexed": false, - "name": "_fee", - "type": "uint256" - }, - { - "indexed": false, - "name": "_autoRegisterOrganization", - "type": "bool" - } - ], - "name": "LogNewSchemeProposal", - "type": "event" - }, - "0x68953fb1bf1b1aeeaaa5832742ffcb54530b6c3d63a03a1cb09a6b69dae43446": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_scheme", - "type": "address" - } - ], - "name": "LogRemoveSchemeProposal", - "type": "event" - }, - "0x1f9b6fe94f8389fd9936094c2246b3cb2b4392e59e72e915e70e6a08a47a1fb9": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalExecuted", - "type": "event" - }, - "0xb5a530776d05e9cd7b304c6670fc54c08de4635c6c958237204d61215ca1ce34": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalDeleted", - "type": "event" - }, - "0x2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e5": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - "0x3e49374a7db898f4d722a5bb59326d1c41e883a698b84df91f09ebe018070732": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x2a7980b05f280e0a3f3cc0ddb93d20f276f0ef35" - }, - "1512051714758": { - "events": { - "0xa3d27ea573e5dd5b65d4850ff4d0cb2e1f8633c148ff9c19040e1b6c609c0386": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_scheme", - "type": "address" - }, - { - "indexed": false, - "name": "_parametersHash", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_isRegistering", - "type": "bool" - }, - { - "indexed": false, - "name": "_tokenFee", - "type": "address" - }, - { - "indexed": false, - "name": "_fee", - "type": "uint256" - }, - { - "indexed": false, - "name": "_autoRegisterOrganization", - "type": "bool" - } - ], - "name": "LogNewSchemeProposal", - "type": "event" - }, - "0x68953fb1bf1b1aeeaaa5832742ffcb54530b6c3d63a03a1cb09a6b69dae43446": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_scheme", - "type": "address" - } - ], - "name": "LogRemoveSchemeProposal", - "type": "event" - }, - "0x1f9b6fe94f8389fd9936094c2246b3cb2b4392e59e72e915e70e6a08a47a1fb9": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalExecuted", - "type": "event" - }, - "0xb5a530776d05e9cd7b304c6670fc54c08de4635c6c958237204d61215ca1ce34": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalDeleted", - "type": "event" - }, - "0x2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e5": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - "0x3e49374a7db898f4d722a5bb59326d1c41e883a698b84df91f09ebe018070732": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0xd3f31dcbf1b2d2eaf9e76f2c49c55f767e718aab" - } - }, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.866Z" -} \ No newline at end of file diff --git a/contracts/SimpleICO.json b/contracts/SimpleICO.json deleted file mode 100644 index 481d96bf9..000000000 --- a/contracts/SimpleICO.json +++ /dev/null @@ -1,7624 +0,0 @@ -{ - "contractName": "SimpleICO", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "parameters", - "outputs": [ - { - "name": "cap", - "type": "uint256" - }, - { - "name": "price", - "type": "uint256" - }, - { - "name": "startBlock", - "type": "uint256" - }, - { - "name": "endBlock", - "type": "uint256" - }, - { - "name": "beneficiary", - "type": "address" - }, - { - "name": "admin", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_cap", - "type": "uint256" - }, - { - "name": "_price", - "type": "uint256" - }, - { - "name": "_startBlock", - "type": "uint256" - }, - { - "name": "_endBlock", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_admin", - "type": "address" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "name": "donate", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": true, - "stateMutability": "payable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "beneficiary", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizationsICOInfo", - "outputs": [ - { - "name": "paramsHash", - "type": "bytes32" - }, - { - "name": "avatarContractICO", - "type": "address" - }, - { - "name": "totalEthRaised", - "type": "uint256" - }, - { - "name": "isHalted", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_cap", - "type": "uint256" - }, - { - "name": "_price", - "type": "uint256" - }, - { - "name": "_startBlock", - "type": "uint256" - }, - { - "name": "_endBlock", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_admin", - "type": "address" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isActive", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "haltICO", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "start", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "fee", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "resumeICO", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hashedParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "organization", - "type": "address" - }, - { - "indexed": true, - "name": "_beneficiary", - "type": "address" - }, - { - "indexed": false, - "name": "_incomingEther", - "type": "uint256" - }, - { - "indexed": true, - "name": "_tokensAmount", - "type": "uint256" - } - ], - "name": "DonationReceived", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6040516060806114b983398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a031617815590925061006b9150849084908490640100000000610073810261085a1704565b5050506100c6565b60005433600160a060020a0390811691161461008e57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b6113e4806100d56000396000f3006060604052600436106100ed5763ffffffff60e060020a6000350416630250680481146100f25780630d6099391461014c57806321bea7cc1461018f57806338af3eed146101a95780634345a610146101d85780634b9f69b8146102065780634eb09bf4146102595780635a1f74061461028a5780638da5cb5b146102bd57806390be003c146102d05780639f8a13d7146102ef578063bdbb829d1461030e578063c3c5a5471461032d578063dd0b281e1461034c578063ddca3f431461036b578063e1758bd81461037e578063e270bc8114610391578063f2fde38b146103b0578063f98e87ba146103cf575b600080fd5b34156100fd57600080fd5b6101086004356103e2565b60405195865260208601949094526040808601939093526060850191909152600160a060020a03908116608085015290911660a083015260c0909101905180910390f35b341561015757600080fd5b61017d600435602435604435606435600160a060020a0360843581169060a43516610424565b60405190815260200160405180910390f35b61017d600160a060020a036004358116906024351661052c565b34156101b457600080fd5b6101bc61084b565b604051600160a060020a03909116815260200160405180910390f35b34156101e357600080fd5b610204600160a060020a03600435811690602435906044351660643561085a565b005b341561021157600080fd5b610225600160a060020a03600435166108ba565b604051938452600160a060020a03909216602084015260408084019190915290151560608301526080909101905180910390f35b341561026457600080fd5b61017d600435602435604435606435600160a060020a0360843581169060a435166108ee565b341561029557600080fd5b6102a9600160a060020a0360043516610957565b604051901515815260200160405180910390f35b34156102c857600080fd5b6101bc61096c565b34156102db57600080fd5b610204600160a060020a036004351661097b565b34156102fa57600080fd5b6102a9600160a060020a0360043516610aa4565b341561031957600080fd5b610204600160a060020a0360043516610be7565b341561033857600080fd5b6102a9600160a060020a0360043516610c47565b341561035757600080fd5b610204600160a060020a0360043516610c65565b341561037657600080fd5b61017d610d6d565b341561038957600080fd5b6101bc610d73565b341561039c57600080fd5b610204600160a060020a0360043516610d82565b34156103bb57600080fd5b610204600160a060020a0360043516610ddf565b34156103da57600080fd5b61017d610e7a565b6007602052600090815260409020805460018201546002830154600384015460048501546005909501549394929391929091600160a060020a03918216911686565b6000806104358888888888886108ee565b60008181526007602052604090205490915015156105215760c0604051908101604090815289825260208083018a905281830189905260608301889052600160a060020a038088166080850152861660a0840152600084815260079091522081518155602082015181600101556040820151816002015560608201518160030155608082015160048201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560a0820151600591909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055505b979650505050505050565b6000610536610fa5565b61053e610fcc565b600160a060020a038516600090815260066020526040808220829182918291608090519081016040908152825482526001830154600160a060020a0316602083015260028301549082015260039091015460ff161515606082015295506007600087518152602081019190915260409081016000209060c0905190810160409081528254825260018301546020830152600283015490820152600382015460608201526004820154600160a060020a03908116608083015260059092015490911660a0820152945061060f89610aa4565b151561061a57600080fd5b85606001511561062957600080fd5b61063f866040015186519063ffffffff610e8016565b3411156106755761065c866040015186519063ffffffff610e8016565b935061066e348563ffffffff610e8016565b9250610679565b3493505b61068e8560200151859063ffffffff610e9216565b91508460800151600160a060020a031684156108fc0285604051600060405180830381858888f1935050505015156106c557600080fd5b88600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561070b57600080fd5b6102c65a03f1151561071c57600080fd5b5050506040518051915050600160a060020a0381166310c5b328838a60006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b151561078557600080fd5b6102c65a03f1151561079657600080fd5b5050506040518051905015156107ab57600080fd5b82156107e257600160a060020a03881683156108fc0284604051600060405180830381858888f1935050505015156107e257600080fd5b600160a060020a03808a166000818152600660205260409081902060020180548801905584928b1691907fce9409ee3dc10e35de83dda0f830e4a13935452188fe71a956b850ecb839425f9088905190815260200160405180910390a450979650505050505050565b600354600160a060020a031681565b60005433600160a060020a0390811691161461087557600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60066020526000908152604090208054600182015460028301546003909301549192600160a060020a039091169160ff1684565b6000868686868686604051958652602086019490945260408086019390935260608501919091526c01000000000000000000000000600160a060020a03918216810260808601529216909102609483015260a89091019051809103902090509695505050505050565b60056020526000908152604090205460ff1681565b600054600160a060020a031681565b60006002541180156109a65750600160a060020a03811660009081526005602052604090205460ff16155b15610a3f57600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610a2357600080fd5b6102c65a03f11515610a3457600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b6000610aae610fa5565b610ab6610fcc565b600160a060020a0384166000908152600660205260409081902090608090519081016040908152825482526001830154600160a060020a0316602083015260028301549082015260039091015460ff161515606082015291506007600083518152602081019190915260409081016000209060c090519081016040908152825482526001830154602080840191909152600284015482840152600384015460608401526004840154600160a060020a039081166080850152600594850154811660a0850152881660009081529390529091205490915060ff161515610b9e5760009250610be0565b8051826040015110610bb35760009250610be0565b80606001514310610bc75760009250610be0565b80604001514311610bdb5760009250610be0565b600192505b5050919050565b600160a060020a0380821660009081526006602090815260408083205483526007909152902060050154338216911614610c2057600080fd5b600160a060020a03166000908152600660205260409020600301805460ff19166001179055565b600160a060020a031660009081526005602052604090205460ff1690565b610c6d610fa5565b610c7682610aa4565b15610c8057600080fd5b610c8982610ec8565b815260076000825181526020810191909152604001600020541515610cad57600080fd5b8130610cb7611015565b600160a060020a0392831681529116602082015260409081019051809103906000f0801515610ce557600080fd5b600160a060020a039081166020808401919091529083166000908152600690915260409020819081518155602082015160018201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055604082015181600201556060820151600391909101805460ff1916911515919091179055505050565b60025481565b600154600160a060020a031681565b600160a060020a0380821660009081526006602090815260408083205483526007909152902060050154338216911614610dbb57600080fd5b600160a060020a03166000908152600660205260409020600301805460ff19169055565b60005433600160a060020a03908116911614610dfa57600080fd5b600160a060020a0381161515610e0f57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60045481565b600082821115610e8c57fe5b50900390565b600080831515610ea55760009150610ec1565b50828202828482811515610eb557fe5b0414610ebd57fe5b8091505b5092915050565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610f1157600080fd5b6102c65a03f11515610f2257600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610f8457600080fd5b6102c65a03f11515610f9557600080fd5b5050506040518051949350505050565b60806040519081016040908152600080835260208301819052908201819052606082015290565b60c060405190810160405280600081526020016000815260200160008152602001600081526020016000600160a060020a031681526020016000600160a060020a031681525090565b604051610393806110268339019056006060604052341561000f57600080fd5b604051604080610393833981016040528080519190602001805160008054600160a060020a03338116600160a060020a0319928316179092556001805496831696821696909617909555600280549190921694169390931790925550506103188061007b6000396000f3006060604052600436106100775763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ebbede2811461012e57806323bd4d7a1461015d57806383197ef0146101705780638da5cb5b14610183578063f2fde38b14610196578063f5074f41146101b5575b34151561008357600080fd5b600254600154600160a060020a03918216916321bea7cc91349116336000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a039283166004820152911660248201526044016020604051808303818588803b151561010557600080fd5b6125ee5a03f1151561011657600080fd5b5050505060405180511515905061012c57600080fd5b005b341561013957600080fd5b6101416101d4565b604051600160a060020a03909116815260200160405180910390f35b341561016857600080fd5b6101416101e3565b341561017b57600080fd5b61012c6101f2565b341561018e57600080fd5b61014161021b565b34156101a157600080fd5b61012c600160a060020a036004351661022a565b34156101c057600080fd5b61012c600160a060020a03600435166102c5565b600254600160a060020a031681565b600154600160a060020a031681565b60005433600160a060020a0390811691161461020d57600080fd5b600054600160a060020a0316ff5b600054600160a060020a031681565b60005433600160a060020a0390811691161461024557600080fd5b600160a060020a038116151561025a57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146102e057600080fd5b80600160a060020a0316ff00a165627a7a72305820493184bff5490b8faf0143f84171302c487f56805bd80602c117beb91eabe9c40029a165627a7a72305820ccd3d181a78eaf03c262873f3b5fe0321a0f2dbbbe225e4e58625ac1f8e785180029", - "deployedBytecode": "0x6060604052600436106100ed5763ffffffff60e060020a6000350416630250680481146100f25780630d6099391461014c57806321bea7cc1461018f57806338af3eed146101a95780634345a610146101d85780634b9f69b8146102065780634eb09bf4146102595780635a1f74061461028a5780638da5cb5b146102bd57806390be003c146102d05780639f8a13d7146102ef578063bdbb829d1461030e578063c3c5a5471461032d578063dd0b281e1461034c578063ddca3f431461036b578063e1758bd81461037e578063e270bc8114610391578063f2fde38b146103b0578063f98e87ba146103cf575b600080fd5b34156100fd57600080fd5b6101086004356103e2565b60405195865260208601949094526040808601939093526060850191909152600160a060020a03908116608085015290911660a083015260c0909101905180910390f35b341561015757600080fd5b61017d600435602435604435606435600160a060020a0360843581169060a43516610424565b60405190815260200160405180910390f35b61017d600160a060020a036004358116906024351661052c565b34156101b457600080fd5b6101bc61084b565b604051600160a060020a03909116815260200160405180910390f35b34156101e357600080fd5b610204600160a060020a03600435811690602435906044351660643561085a565b005b341561021157600080fd5b610225600160a060020a03600435166108ba565b604051938452600160a060020a03909216602084015260408084019190915290151560608301526080909101905180910390f35b341561026457600080fd5b61017d600435602435604435606435600160a060020a0360843581169060a435166108ee565b341561029557600080fd5b6102a9600160a060020a0360043516610957565b604051901515815260200160405180910390f35b34156102c857600080fd5b6101bc61096c565b34156102db57600080fd5b610204600160a060020a036004351661097b565b34156102fa57600080fd5b6102a9600160a060020a0360043516610aa4565b341561031957600080fd5b610204600160a060020a0360043516610be7565b341561033857600080fd5b6102a9600160a060020a0360043516610c47565b341561035757600080fd5b610204600160a060020a0360043516610c65565b341561037657600080fd5b61017d610d6d565b341561038957600080fd5b6101bc610d73565b341561039c57600080fd5b610204600160a060020a0360043516610d82565b34156103bb57600080fd5b610204600160a060020a0360043516610ddf565b34156103da57600080fd5b61017d610e7a565b6007602052600090815260409020805460018201546002830154600384015460048501546005909501549394929391929091600160a060020a03918216911686565b6000806104358888888888886108ee565b60008181526007602052604090205490915015156105215760c0604051908101604090815289825260208083018a905281830189905260608301889052600160a060020a038088166080850152861660a0840152600084815260079091522081518155602082015181600101556040820151816002015560608201518160030155608082015160048201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905560a0820151600591909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055505b979650505050505050565b6000610536610fa5565b61053e610fcc565b600160a060020a038516600090815260066020526040808220829182918291608090519081016040908152825482526001830154600160a060020a0316602083015260028301549082015260039091015460ff161515606082015295506007600087518152602081019190915260409081016000209060c0905190810160409081528254825260018301546020830152600283015490820152600382015460608201526004820154600160a060020a03908116608083015260059092015490911660a0820152945061060f89610aa4565b151561061a57600080fd5b85606001511561062957600080fd5b61063f866040015186519063ffffffff610e8016565b3411156106755761065c866040015186519063ffffffff610e8016565b935061066e348563ffffffff610e8016565b9250610679565b3493505b61068e8560200151859063ffffffff610e9216565b91508460800151600160a060020a031684156108fc0285604051600060405180830381858888f1935050505015156106c557600080fd5b88600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561070b57600080fd5b6102c65a03f1151561071c57600080fd5b5050506040518051915050600160a060020a0381166310c5b328838a60006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b151561078557600080fd5b6102c65a03f1151561079657600080fd5b5050506040518051905015156107ab57600080fd5b82156107e257600160a060020a03881683156108fc0284604051600060405180830381858888f1935050505015156107e257600080fd5b600160a060020a03808a166000818152600660205260409081902060020180548801905584928b1691907fce9409ee3dc10e35de83dda0f830e4a13935452188fe71a956b850ecb839425f9088905190815260200160405180910390a450979650505050505050565b600354600160a060020a031681565b60005433600160a060020a0390811691161461087557600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60066020526000908152604090208054600182015460028301546003909301549192600160a060020a039091169160ff1684565b6000868686868686604051958652602086019490945260408086019390935260608501919091526c01000000000000000000000000600160a060020a03918216810260808601529216909102609483015260a89091019051809103902090509695505050505050565b60056020526000908152604090205460ff1681565b600054600160a060020a031681565b60006002541180156109a65750600160a060020a03811660009081526005602052604090205460ff16155b15610a3f57600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610a2357600080fd5b6102c65a03f11515610a3457600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b6000610aae610fa5565b610ab6610fcc565b600160a060020a0384166000908152600660205260409081902090608090519081016040908152825482526001830154600160a060020a0316602083015260028301549082015260039091015460ff161515606082015291506007600083518152602081019190915260409081016000209060c090519081016040908152825482526001830154602080840191909152600284015482840152600384015460608401526004840154600160a060020a039081166080850152600594850154811660a0850152881660009081529390529091205490915060ff161515610b9e5760009250610be0565b8051826040015110610bb35760009250610be0565b80606001514310610bc75760009250610be0565b80604001514311610bdb5760009250610be0565b600192505b5050919050565b600160a060020a0380821660009081526006602090815260408083205483526007909152902060050154338216911614610c2057600080fd5b600160a060020a03166000908152600660205260409020600301805460ff19166001179055565b600160a060020a031660009081526005602052604090205460ff1690565b610c6d610fa5565b610c7682610aa4565b15610c8057600080fd5b610c8982610ec8565b815260076000825181526020810191909152604001600020541515610cad57600080fd5b8130610cb7611015565b600160a060020a0392831681529116602082015260409081019051809103906000f0801515610ce557600080fd5b600160a060020a039081166020808401919091529083166000908152600690915260409020819081518155602082015160018201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055604082015181600201556060820151600391909101805460ff1916911515919091179055505050565b60025481565b600154600160a060020a031681565b600160a060020a0380821660009081526006602090815260408083205483526007909152902060050154338216911614610dbb57600080fd5b600160a060020a03166000908152600660205260409020600301805460ff19169055565b60005433600160a060020a03908116911614610dfa57600080fd5b600160a060020a0381161515610e0f57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60045481565b600082821115610e8c57fe5b50900390565b600080831515610ea55760009150610ec1565b50828202828482811515610eb557fe5b0414610ebd57fe5b8091505b5092915050565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610f1157600080fd5b6102c65a03f11515610f2257600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610f8457600080fd5b6102c65a03f11515610f9557600080fd5b5050506040518051949350505050565b60806040519081016040908152600080835260208301819052908201819052606082015290565b60c060405190810160405280600081526020016000815260200160008152602001600081526020016000600160a060020a031681526020016000600160a060020a031681525090565b604051610393806110268339019056006060604052341561000f57600080fd5b604051604080610393833981016040528080519190602001805160008054600160a060020a03338116600160a060020a0319928316179092556001805496831696821696909617909555600280549190921694169390931790925550506103188061007b6000396000f3006060604052600436106100775763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ebbede2811461012e57806323bd4d7a1461015d57806383197ef0146101705780638da5cb5b14610183578063f2fde38b14610196578063f5074f41146101b5575b34151561008357600080fd5b600254600154600160a060020a03918216916321bea7cc91349116336000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a039283166004820152911660248201526044016020604051808303818588803b151561010557600080fd5b6125ee5a03f1151561011657600080fd5b5050505060405180511515905061012c57600080fd5b005b341561013957600080fd5b6101416101d4565b604051600160a060020a03909116815260200160405180910390f35b341561016857600080fd5b6101416101e3565b341561017b57600080fd5b61012c6101f2565b341561018e57600080fd5b61014161021b565b34156101a157600080fd5b61012c600160a060020a036004351661022a565b34156101c057600080fd5b61012c600160a060020a03600435166102c5565b600254600160a060020a031681565b600154600160a060020a031681565b60005433600160a060020a0390811691161461020d57600080fd5b600054600160a060020a0316ff5b600054600160a060020a031681565b60005433600160a060020a0390811691161461024557600080fd5b600160a060020a038116151561025a57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146102e057600080fd5b80600160a060020a0316ff00a165627a7a72305820493184bff5490b8faf0143f84171302c487f56805bd80602c117beb91eabe9c40029a165627a7a72305820ccd3d181a78eaf03c262873f3b5fe0321a0f2dbbbe225e4e58625ac1f8e785180029", - "sourceMap": "1467:7750:21:-;;;3043:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;3043:168:21;;-1:-1:-1;3141:62:21;;-1:-1:-1;3158:12:21;;3172:4;;3043:168;;3141:16;;;;;;:62;:::i;:::-;3043:168;;;1467:7750;;1314:347:22;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;1467:7750:21:-;;;;;;;", - "deployedSourceMap": "1467:7750:21:-;;;;;;;;;-1:-1:-1;;;1467:7750:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2597:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2597:46:21;;;;;;;;;;;;;;;;;;;;;;;;;3653:800;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3653:800:21;;;;;;;;;;;;;;;;;;;;;;;;;7806:1408;;-1:-1:-1;;;;;7806:1408:21;;;;;;;;;;407:26:22;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:26:22;;;;;;;;;;;;;;1314:347;;;;;;;;;;-1:-1:-1;;;;;1314:347:22;;;;;;;;;;;;;;;;;2530:58:21;;;;;;;;;;-1:-1:-1;;;;;2530:58:21;;;;;;;;;;;-1:-1:-1;;;;;2530:58:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4870:430;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4870:430:21;;;;;;;;;;591:43:22;;;;;;;;;;-1:-1:-1;;;;;591:43:22;;;;;;;;;;;;;;;;;;;;;;238:20:29;;;;;;;;;;;;866:315:22;;;;;;;;;;-1:-1:-1;;;;;866:315:22;;;;;6833:565:21;;;;;;;;;;-1:-1:-1;;;;;6833:565:21;;;;;5888:197;;;;;;;;;;-1:-1:-1;;;;;5888:197:21;;;;;1189:117:22;;;;;;;;;;-1:-1:-1;;;;;1189:117:22;;;;;5408:354:21;;;;;;;;;;-1:-1:-1;;;;;5408:354:21;;;;;385:15:22;;;;;;;;;;;;346:32;;;;;;;;;;;;6213:200:21;;;;;;;;;;-1:-1:-1;;;;;6213:200:21;;;;;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;440:31:22;;;;;;;;;;;;2597:46:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2597:46:21;;;;;;:::o;3653:800::-;3866:7;3891:18;3912:166;3944:4;3963:6;3984:11;4010:9;4034:12;4061:6;3912:17;:166::i;:::-;4093:22;;;;:10;:22;;;;;:26;3891:187;;-1:-1:-1;4093:31:21;4089:329;;;4166:240;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4166:240:21;;;;;;;;;;;;;-1:-1:-1;4141:22:21;;;:10;:22;;;;4166:240;4141:265;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4141:265:21;-1:-1:-1;;;;;4141:265:21;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4141:265:21;-1:-1:-1;;;;;4141:265:21;;;;;;;;;-1:-1:-1;4089:329:21;4435:10;3653:800;-1:-1:-1;;;;;;;3653:800:21:o;7806:1408::-;7883:4;7900:23;;:::i;:::-;7966:24;;:::i;:::-;-1:-1:-1;;;;;7926:29:21;;8178:18;7926:29;;;:20;:29;;;;;;8178:18;;;;;;7900:55;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7900:55:21;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7993:10:21;7900:55;;8004:14;7993:26;;;;;;;;;;;;;;;;7966:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7966:53:21;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8073:17:21;8082:7;8073:8;:17::i;:::-;8065:26;;;;;;;;8150:3;:12;;;8149:13;8141:22;;;;;;8292:36;8309:3;:18;;;8293:6;:10;8292:16;:36;:16;:36;:::i;:::-;8280:9;:48;8275:247;;;8362:36;8379:3;:18;;;8363:6;:10;8362:16;:36;:16;:36;:::i;:::-;8346:52;-1:-1:-1;8422:30:21;8423:9;8346:52;8422:30;:15;:30;:::i;:::-;8413:39;;8275:247;;;8501:9;8485:25;;8275:247;8546:31;8564:6;:12;;;8546:13;;:31;:17;:31;:::i;:::-;8532:45;;8673:6;:18;;;-1:-1:-1;;;;;8673:27:21;:42;;;;8701:13;8673:42;;;;;;;;;;;;;;;;;;;;;;;;;;8763:7;-1:-1:-1;;;;;8763:13:21;;:15;;;;;;;;;;;-1:-1:-1;;;8763:15:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;8795:21:21;;;8817:6;8825:12;8795:43;;;;;;;;-1:-1:-1;;;8795:43:21;;;;;;;;;;;;;-1:-1:-1;;;;;8795:43:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8794:44;8790:85;;;8855:8;;;8790:85;8889:11;;8885:73;;-1:-1:-1;;;;;8917:21:21;;:29;;;;8939:6;8917:29;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9048:29:21;;;;;;;:20;:29;;;;;;;:44;;:61;;;;;;9175:6;;9120:62;;;9048:29;9120:62;;9096:13;;9120:62;;;;;;;;;;;;;-1:-1:-1;9200:6:21;7806:1408;-1:-1:-1;;;;;;;7806:1408:21:o;407:26:22:-;;;-1:-1:-1;;;;;407:26:22;;:::o;1314:347::-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;2530:58:21:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2530:58:21;;;;;;;:::o;4870:430::-;5101:7;5157:4;5176:6;5197:11;5223:9;5247:12;5274:6;5133:158;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5133:158:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5125:167;;4870:430;;;;;;;;:::o;591:43:22:-;;;;;;;;;;;;;;;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;866:315:22:-;980:1;974:3;;:7;973:39;;;;-1:-1:-1;;;;;;989:22:22;;;;;;:13;:22;;;;;;;;987:24;973:39;969:123;;;1029:11;;1063;;1076:3;;-1:-1:-1;;;;;1029:11:22;;;;:24;;1054:7;;1063:11;;;1029;:51;;;;;;;-1:-1:-1;;;1029:51:22;;;;;;-1:-1:-1;;;;;1029:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;969:123:22;-1:-1:-1;;;;;1102:22:22;;;;;;:13;:22;;;;;;;:29;;-1:-1:-1;;1102:29:22;1127:4;1102:29;;;1142:31;;1116:7;;1142:31;-1:-1:-1;;;;;1142:31:22;;;;;;;;;;;;;;866:315;:::o;6833:565:21:-;6892:4;6909:23;;:::i;:::-;6975:24;;:::i;:::-;-1:-1:-1;;;;;6935:29:21;;;;;;:20;:29;;;;;;;;6909:55;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6909:55:21;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7002:10:21;6909:55;;7013:14;7002:26;;;;;;;;;;;;;;;;6975:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6975:53:21;;;;;;;;;;;;;;;;;;7045:22;;6975:53;7045:22;;;;;;;;;;6975:53;;-1:-1:-1;7045:22:21;;7043:24;7039:69;;;7091:5;7084:12;;;;7039:69;7144:6;:10;7122:3;:18;;;:32;7118:77;;7178:5;7171:12;;;;7118:77;7225:6;:15;;;7209:12;:31;7205:76;;7264:5;7257:12;;;;7205:76;7311:6;:17;;;7295:12;:33;7291:78;;7352:5;7345:12;;;;7291:78;7386:4;7379:11;;6833:565;;;;;;:::o;5888:197::-;-1:-1:-1;;;;;5973:29:21;;;5962:52;5973:29;;;:20;:29;;;;;;;;:40;5962:52;;:10;:52;;;;;:58;;;5948:10;:72;;5962:58;;5948:72;5940:81;;;;;;-1:-1:-1;;;;;6032:29:21;;;;;:20;:29;;;;;:38;;:45;;-1:-1:-1;;6032:45:21;6073:4;6032:45;;;5888:197::o;1189:117:22:-;-1:-1:-1;;;;;1276:22:22;1252:4;1276:22;;;:13;:22;;;;;;;;;1189:117::o;5408:354:21:-;5495:23;;:::i;:::-;5466:17;5475:7;5466:8;:17::i;:::-;5465:18;5457:27;;;;;;5546:36;5574:7;5546:27;:36::i;:::-;5529:53;;5601:10;5529:14;:3;5612:14;5601:26;;;;;;;;;;;;;:30;:35;;5593:44;;;;;;5694:7;5703:4;5672:36;;:::i;:::-;-1:-1:-1;;;;;5672:36:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5648:60:21;;;:21;;;;:60;;;;5719:29;;;;;;;:20;:29;;;;;;5648:3;;;5719:35;;;;;;;;;;;;-1:-1:-1;;5719:35:21;-1:-1:-1;;;;;5719:35:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5719:35:21;;;;;;;;;;-1:-1:-1;;;5408:354:21:o;385:15:22:-;;;;:::o;346:32::-;;;-1:-1:-1;;;;;346:32:22;;:::o;6213:200:21:-;-1:-1:-1;;;;;6300:29:21;;;6289:52;6300:29;;;:20;:29;;;;;;;;:40;6289:52;;:10;:52;;;;;:58;;;6275:10;:72;;6289:58;;6275:72;6267:81;;;;;;-1:-1:-1;;;;;6359:29:21;6400:5;6359:29;;;:20;:29;;;;;:38;;:46;;-1:-1:-1;;6359:46:21;;;6213:200::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;440:31:22:-;;;;:::o;584:110:28:-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;138:173::-;196:7;;215:6;;211:35;;;238:1;231:8;;;;211:35;-1:-1:-1;263:5:28;;;267:1;263;:5;281;;;;;;;;:10;274:18;;;;305:1;298:8;;138:173;;;;;;:::o;1761:212:22:-;1840:7;1860:21;1895:7;-1:-1:-1;;;;;1895:13:22;;:15;;;;;;;;;;;-1:-1:-1;;;1895:15:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;1929:30:22;;;1960:4;1929:36;;;;;;;;-1:-1:-1;;;1929:36:22;;;;;;-1:-1:-1;;;;;1929:36:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1761:212;-1:-1:-1;;;;1761:212:22:o;1467:7750:21:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1467:7750:21;;;;;;-1:-1:-1;;;;;1467:7750:21;;;;;:::o;:::-;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"./UniversalScheme.sol\";\r\nimport \"zeppelin-solidity/contracts/ownership/Ownable.sol\";\r\nimport \"zeppelin-solidity/contracts/math/SafeMath.sol\";\r\nimport \"zeppelin-solidity/contracts/lifecycle/Destructible.sol\";\r\n\r\n\r\n/**\r\n * @title An avatar contract for ICO.\r\n * @dev Allow people to donate by simply sending ether to an address.\r\n */\r\ncontract MirrorContractICO is Destructible {\r\n Avatar public organization; // The organization address (the avatar)\r\n SimpleICO public simpleICO; // The ICO contract address\r\n /**\r\n * @dev Constructor, setting the organization and ICO scheme.\r\n * @param _organization The organization's avatar.\r\n * @param _simpleICO The ICO Scheme.\r\n */\r\n function MirrorContractICO(Avatar _organization, SimpleICO _simpleICO) public {\r\n organization = _organization;\r\n simpleICO = _simpleICO;\r\n }\r\n\r\n /**\r\n * @dev Fallback function, when ether is sent it will donate to the ICO.\r\n * The ether will be returned if the donation is failed.\r\n */\r\n function () public payable {\r\n // Not to waste gas, if no value.\r\n require(msg.value != 0);\r\n\r\n // Return ether if couln't donate.\r\n if (simpleICO.donate.value(msg.value)(organization, msg.sender) == 0) {\r\n revert();\r\n }\r\n }\r\n}\r\n\r\n\r\n/**\r\n * @title SimpleICO scheme.\r\n * @dev A universal scheme to allow organizations to open a simple ICO and get donations.\r\n */\r\ncontract SimpleICO is UniversalScheme {\r\n using SafeMath for uint;\r\n\r\n // Struct holding the data for each organization\r\n struct Organization {\r\n bytes32 paramsHash; // Save the parameters approved by the org to open the ICO, so reules of ICO will not change.\r\n address avatarContractICO; // Avatar is a contract for users that want to send eth without calling a funciton.\r\n uint totalEthRaised;\r\n bool isHalted; // The admin of the ICO can halt the ICO at any time, and also resume it.\r\n }\r\n\r\n // A mapping from hashes to parameters (use to store a particular configuration on the controller)\r\n struct Parameters {\r\n uint cap; // Cap in Eth\r\n uint price; // Price represents Tokens per 1 Eth\r\n uint startBlock;\r\n uint endBlock;\r\n address beneficiary; // all funds received will be transffered to this address.\r\n address admin; // The admin can halt or resume ICO.\r\n }\r\n\r\n // A mapping from the organization (Avatar) address to the saved data of the organization:\r\n mapping(address=>Organization) public organizationsICOInfo;\r\n\r\n mapping(bytes32=>Parameters) public parameters;\r\n\r\n event DonationReceived(address indexed organization, address indexed _beneficiary, uint _incomingEther, uint indexed _tokensAmount);\r\n\r\n /**\r\n * @dev Constructor, Updating the initial prarmeters\r\n * @param _nativeToken The native token of the ICO\r\n * @param _fee The fee for intiating the ICO\r\n * @param _beneficiary The address that will receive the ethers\r\n */\r\n function SimpleICO(StandardToken _nativeToken, uint _fee, address _beneficiary) public {\r\n updateParameters(_nativeToken, _fee, _beneficiary, bytes32(0));\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters, save them if necessary, and return the hash value\r\n * @param _cap the ico cap\r\n * @param _price represents Tokens per 1 Eth\r\n * @param _startBlock ico start block\r\n * @param _endBlock ico end\r\n * @param _beneficiary the ico ether beneficiary\r\n * @param _admin the address of the ico admin which can hald and resume the ICO.\r\n * @return bytes32 -the params hash\r\n */\r\n function setParameters(\r\n uint _cap,\r\n uint _price,\r\n uint _startBlock,\r\n uint _endBlock,\r\n address _beneficiary,\r\n address _admin\r\n )\r\n public\r\n returns(bytes32)\r\n {\r\n bytes32 paramsHash = getParametersHash(\r\n _cap,\r\n _price,\r\n _startBlock,\r\n _endBlock,\r\n _beneficiary,\r\n _admin\r\n );\r\n if (parameters[paramsHash].cap == 0) {\r\n parameters[paramsHash] = Parameters({\r\n cap: _cap,\r\n price: _price,\r\n startBlock: _startBlock,\r\n endBlock:_endBlock,\r\n beneficiary:_beneficiary,\r\n admin:_admin\r\n });\r\n }\r\n return paramsHash;\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters and return the hash value\r\n * @param _cap the ico cap\r\n * @param _price represents Tokens per 1 Eth\r\n * @param _startBlock ico start block\r\n * @param _endBlock ico end\r\n * @param _beneficiary the ico ether beneficiary\r\n * @param _admin the address of the ico admin which can hald and resume the ICO.\r\n * @return bytes32 -the params hash\r\n */\r\n function getParametersHash(\r\n uint _cap,\r\n uint _price,\r\n uint _startBlock,\r\n uint _endBlock,\r\n address _beneficiary,\r\n address _admin\r\n )\r\n public\r\n pure\r\n returns(bytes32)\r\n {\r\n return (keccak256(\r\n _cap,\r\n _price,\r\n _startBlock,\r\n _endBlock,\r\n _beneficiary,\r\n _admin\r\n ));\r\n }\r\n\r\n /**\r\n * @dev start an ICO\r\n * @param _avatar The Avatar's of the organization\r\n */\r\n function start(Avatar _avatar) public {\r\n require(!isActive(_avatar));\r\n Organization memory org;\r\n org.paramsHash = getParametersFromController(_avatar);\r\n require(parameters[org.paramsHash].cap != 0);\r\n org.avatarContractICO = new MirrorContractICO(_avatar, this);\r\n organizationsICOInfo[_avatar] = org;\r\n }\r\n\r\n /**\r\n * @dev Allowing admin to halt an ICO.\r\n * @param _avatar The Avatar's of the organization\r\n */\r\n function haltICO(address _avatar) public {\r\n require(msg.sender == parameters[organizationsICOInfo[_avatar].paramsHash].admin);\r\n organizationsICOInfo[_avatar].isHalted = true;\r\n }\r\n\r\n /**\r\n * @dev Allowing admin to reopen an ICO.\r\n * @param _avatar The Avatar's of the organization\r\n */\r\n function resumeICO(address _avatar) public {\r\n require(msg.sender == parameters[organizationsICOInfo[_avatar].paramsHash].admin);\r\n organizationsICOInfo[_avatar].isHalted = false;\r\n }\r\n\r\n /**\r\n * @dev Check is an ICO is active (halted is still considered active). Active ICO:\r\n * 1. The organization is registered.\r\n * 2. The ICO didn't reach it's cap yet.\r\n * 3. The current block isn't bigger than the \"endBlock\" & Smaller then the \"startBlock\"\r\n * @param _avatar The Avatar's of the organization\r\n * @return bool which represents a successful of the function\r\n */\r\n function isActive(address _avatar) public constant returns(bool) {\r\n Organization memory org = organizationsICOInfo[_avatar];\r\n Parameters memory params = parameters[org.paramsHash];\r\n if (! organizations[_avatar]) {\r\n return false;\r\n }\r\n if (org.totalEthRaised >= params.cap) {\r\n return false;\r\n }\r\n if (block.number >= params.endBlock) {\r\n return false;\r\n }\r\n if (block.number <= params.startBlock) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Donating ethers to get tokens.\r\n * If the donation is higher than the remaining ethers in the \"cap\",\r\n * The donator will get the change in ethers.\r\n * @param _avatar The Avatar's of the organization.\r\n * @param _beneficiary The donator's address - which will receive the ICO's tokens.\r\n * @return bool which represents a successful of the function\r\n */\r\n function donate(Avatar _avatar, address _beneficiary) public payable returns(uint) {\r\n Organization memory org = organizationsICOInfo[_avatar];\r\n Parameters memory params = parameters[org.paramsHash];\r\n\r\n // Check ICO is active:\r\n require(isActive(_avatar));\r\n\r\n // Check ICO is not halted:\r\n require(!org.isHalted);\r\n\r\n\r\n uint incomingEther;\r\n uint change;\r\n\r\n // Compute how much tokens to buy:\r\n if ( msg.value > (params.cap).sub(org.totalEthRaised) ) {\r\n incomingEther = (params.cap).sub(org.totalEthRaised);\r\n change = (msg.value).sub(incomingEther);\r\n } else {\r\n incomingEther = msg.value;\r\n }\r\n uint tokens = incomingEther.mul(params.price);\r\n // Send ether to the defined address, mint, and send change to beneficiary:\r\n params.beneficiary.transfer(incomingEther);\r\n\r\n Controller controller = Controller(_avatar.owner());\r\n if (!controller.mintTokens(tokens, _beneficiary)) {\r\n revert();\r\n }\r\n if (change != 0) {\r\n _beneficiary.transfer(change);\r\n }\r\n // Update total raised, call event and return amount of tokens bought:\r\n organizationsICOInfo[_avatar].totalEthRaised += incomingEther;\r\n DonationReceived(_avatar, _beneficiary, incomingEther, tokens);\r\n return tokens;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\SimpleICO.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/SimpleICO.sol", - "exportedSymbols": { - "MirrorContractICO": [ - 6641 - ], - "SimpleICO": [ - 7086 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 6586, - "name": "PragmaDirective", - "src": "0:24:21" - }, - { - "attributes": { - "SourceUnit": 7230, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "file": "./UniversalScheme.sol", - "scope": 7087, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 6587, - "name": "ImportDirective", - "src": "28:31:21" - }, - { - "attributes": { - "SourceUnit": 9141, - "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "file": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "scope": 7087, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 6588, - "name": "ImportDirective", - "src": "61:59:21" - }, - { - "attributes": { - "SourceUnit": 9085, - "absolutePath": "zeppelin-solidity/contracts/math/SafeMath.sol", - "file": "zeppelin-solidity/contracts/math/SafeMath.sol", - "scope": 7087, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 6589, - "name": "ImportDirective", - "src": "122:55:21" - }, - { - "attributes": { - "SourceUnit": 8987, - "absolutePath": "zeppelin-solidity/contracts/lifecycle/Destructible.sol", - "file": "zeppelin-solidity/contracts/lifecycle/Destructible.sol", - "scope": 7087, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 6590, - "name": "ImportDirective", - "src": "179:64:21" - }, - { - "attributes": { - "contractDependencies": [ - 8986, - 9140 - ], - "contractKind": "contract", - "documentation": "@title An avatar contract for ICO.\r\n@dev Allow people to donate by simply sending ether to an address.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 6641, - 8986, - 9140 - ], - "name": "MirrorContractICO", - "scope": 7087 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Destructible", - "referencedDeclaration": 8986, - "type": "contract Destructible" - }, - "id": 6591, - "name": "UserDefinedTypeName", - "src": "399:12:21" - } - ], - "id": 6592, - "name": "InheritanceSpecifier", - "src": "399:12:21" - }, - { - "attributes": { - "constant": false, - "name": "organization", - "scope": 6641, - "stateVariable": true, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6593, - "name": "UserDefinedTypeName", - "src": "419:6:21" - } - ], - "id": 6594, - "name": "VariableDeclaration", - "src": "419:26:21" - }, - { - "attributes": { - "constant": false, - "name": "simpleICO", - "scope": 6641, - "stateVariable": true, - "storageLocation": "default", - "type": "contract SimpleICO", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SimpleICO", - "referencedDeclaration": 7086, - "type": "contract SimpleICO" - }, - "id": 6595, - "name": "UserDefinedTypeName", - "src": "493:9:21" - } - ], - "id": 6596, - "name": "VariableDeclaration", - "src": "493:26:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "MirrorContractICO", - "payable": false, - "scope": 6641, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_organization", - "scope": 6612, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6597, - "name": "UserDefinedTypeName", - "src": "761:6:21" - } - ], - "id": 6598, - "name": "VariableDeclaration", - "src": "761:20:21" - }, - { - "attributes": { - "constant": false, - "name": "_simpleICO", - "scope": 6612, - "stateVariable": false, - "storageLocation": "default", - "type": "contract SimpleICO", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SimpleICO", - "referencedDeclaration": 7086, - "type": "contract SimpleICO" - }, - "id": 6599, - "name": "UserDefinedTypeName", - "src": "783:9:21" - } - ], - "id": 6600, - "name": "VariableDeclaration", - "src": "783:20:21" - } - ], - "id": 6601, - "name": "ParameterList", - "src": "760:44:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6602, - "name": "ParameterList", - "src": "812:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract Avatar" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6594, - "type": "contract Avatar", - "value": "organization" - }, - "id": 6603, - "name": "Identifier", - "src": "823:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6598, - "type": "contract Avatar", - "value": "_organization" - }, - "id": 6604, - "name": "Identifier", - "src": "838:13:21" - } - ], - "id": 6605, - "name": "Assignment", - "src": "823:28:21" - } - ], - "id": 6606, - "name": "ExpressionStatement", - "src": "823:28:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract SimpleICO" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6596, - "type": "contract SimpleICO", - "value": "simpleICO" - }, - "id": 6607, - "name": "Identifier", - "src": "862:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6600, - "type": "contract SimpleICO", - "value": "_simpleICO" - }, - "id": 6608, - "name": "Identifier", - "src": "874:10:21" - } - ], - "id": 6609, - "name": "Assignment", - "src": "862:22:21" - } - ], - "id": 6610, - "name": "ExpressionStatement", - "src": "862:22:21" - } - ], - "id": 6611, - "name": "Block", - "src": "812:80:21" - } - ], - "id": 6612, - "name": "FunctionDefinition", - "src": "734:158:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "", - "payable": true, - "scope": 6641, - "stateMutability": "payable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6613, - "name": "ParameterList", - "src": "1064:2:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6614, - "name": "ParameterList", - "src": "1082:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6615, - "name": "Identifier", - "src": "1136:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6616, - "name": "Identifier", - "src": "1144:3:21" - } - ], - "id": 6617, - "name": "MemberAccess", - "src": "1144:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6618, - "name": "Literal", - "src": "1157:1:21" - } - ], - "id": 6619, - "name": "BinaryOperation", - "src": "1144:14:21" - } - ], - "id": 6620, - "name": "FunctionCall", - "src": "1136:23:21" - } - ], - "id": 6621, - "name": "ExpressionStatement", - "src": "1136:23:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "function (contract Avatar,address) payable external returns (uint256)", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "function (uint256) returns (function (contract Avatar,address) payable external returns (uint256))" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "donate", - "referencedDeclaration": 7085, - "type": "function (contract Avatar,address) payable external returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6596, - "type": "contract SimpleICO", - "value": "simpleICO" - }, - "id": 6622, - "name": "Identifier", - "src": "1220:9:21" - } - ], - "id": 6623, - "name": "MemberAccess", - "src": "1220:16:21" - } - ], - "id": 6624, - "name": "MemberAccess", - "src": "1220:22:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6625, - "name": "Identifier", - "src": "1243:3:21" - } - ], - "id": 6626, - "name": "MemberAccess", - "src": "1243:9:21" - } - ], - "id": 6627, - "name": "FunctionCall", - "src": "1220:33:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6594, - "type": "contract Avatar", - "value": "organization" - }, - "id": 6628, - "name": "Identifier", - "src": "1254:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6629, - "name": "Identifier", - "src": "1268:3:21" - } - ], - "id": 6630, - "name": "MemberAccess", - "src": "1268:10:21" - } - ], - "id": 6631, - "name": "FunctionCall", - "src": "1220:59:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6632, - "name": "Literal", - "src": "1283:1:21" - } - ], - "id": 6633, - "name": "BinaryOperation", - "src": "1220:64:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 6634, - "name": "Identifier", - "src": "1301:6:21" - } - ], - "id": 6635, - "name": "FunctionCall", - "src": "1301:8:21" - } - ], - "id": 6636, - "name": "ExpressionStatement", - "src": "1301:8:21" - } - ], - "id": 6637, - "name": "Block", - "src": "1286:35:21" - } - ], - "id": 6638, - "name": "IfStatement", - "src": "1216:105:21" - } - ], - "id": 6639, - "name": "Block", - "src": "1082:246:21" - } - ], - "id": 6640, - "name": "FunctionDefinition", - "src": "1055:273:21" - } - ], - "id": 6641, - "name": "ContractDefinition", - "src": "369:962:21" - }, - { - "attributes": { - "contractDependencies": [ - 6641, - 7229, - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": "@title SimpleICO scheme.\r\n@dev A universal scheme to allow organizations to open a simple ICO and get donations.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 7086, - 7229, - 7259, - 9140 - ], - "name": "SimpleICO", - "scope": 7087 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalScheme", - "referencedDeclaration": 7229, - "type": "contract UniversalScheme" - }, - "id": 6642, - "name": "UserDefinedTypeName", - "src": "1489:15:21" - } - ], - "id": 6643, - "name": "InheritanceSpecifier", - "src": "1489:15:21" - }, - { - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SafeMath", - "referencedDeclaration": 9084, - "type": "library SafeMath" - }, - "id": 6644, - "name": "UserDefinedTypeName", - "src": "1518:8:21" - }, - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6645, - "name": "ElementaryTypeName", - "src": "1531:4:21" - } - ], - "id": 6646, - "name": "UsingForDirective", - "src": "1512:24:21" - }, - { - "attributes": { - "canonicalName": "SimpleICO.Organization", - "name": "Organization", - "scope": 7086, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 6655, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6647, - "name": "ElementaryTypeName", - "src": "1629:7:21" - } - ], - "id": 6648, - "name": "VariableDeclaration", - "src": "1629:18:21" - }, - { - "attributes": { - "constant": false, - "name": "avatarContractICO", - "scope": 6655, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6649, - "name": "ElementaryTypeName", - "src": "1752:7:21" - } - ], - "id": 6650, - "name": "VariableDeclaration", - "src": "1752:25:21" - }, - { - "attributes": { - "constant": false, - "name": "totalEthRaised", - "scope": 6655, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6651, - "name": "ElementaryTypeName", - "src": "1872:4:21" - } - ], - "id": 6652, - "name": "VariableDeclaration", - "src": "1872:19:21" - }, - { - "attributes": { - "constant": false, - "name": "isHalted", - "scope": 6655, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6653, - "name": "ElementaryTypeName", - "src": "1902:4:21" - } - ], - "id": 6654, - "name": "VariableDeclaration", - "src": "1902:13:21" - } - ], - "id": 6655, - "name": "StructDefinition", - "src": "1598:399:21" - }, - { - "attributes": { - "canonicalName": "SimpleICO.Parameters", - "name": "Parameters", - "scope": 7086, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cap", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6656, - "name": "ElementaryTypeName", - "src": "2138:4:21" - } - ], - "id": 6657, - "name": "VariableDeclaration", - "src": "2138:8:21" - }, - { - "attributes": { - "constant": false, - "name": "price", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6658, - "name": "ElementaryTypeName", - "src": "2171:4:21" - } - ], - "id": 6659, - "name": "VariableDeclaration", - "src": "2171:10:21" - }, - { - "attributes": { - "constant": false, - "name": "startBlock", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6660, - "name": "ElementaryTypeName", - "src": "2229:4:21" - } - ], - "id": 6661, - "name": "VariableDeclaration", - "src": "2229:15:21" - }, - { - "attributes": { - "constant": false, - "name": "endBlock", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6662, - "name": "ElementaryTypeName", - "src": "2255:4:21" - } - ], - "id": 6663, - "name": "VariableDeclaration", - "src": "2255:13:21" - }, - { - "attributes": { - "constant": false, - "name": "beneficiary", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6664, - "name": "ElementaryTypeName", - "src": "2279:7:21" - } - ], - "id": 6665, - "name": "VariableDeclaration", - "src": "2279:19:21" - }, - { - "attributes": { - "constant": false, - "name": "admin", - "scope": 6668, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6666, - "name": "ElementaryTypeName", - "src": "2368:7:21" - } - ], - "id": 6667, - "name": "VariableDeclaration", - "src": "2368:13:21" - } - ], - "id": 6668, - "name": "StructDefinition", - "src": "2109:317:21" - }, - { - "attributes": { - "constant": false, - "name": "organizationsICOInfo", - "scope": 7086, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => struct SimpleICO.Organization storage ref)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6669, - "name": "ElementaryTypeName", - "src": "2538:7:21" - }, - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 6655, - "type": "struct SimpleICO.Organization storage pointer" - }, - "id": 6670, - "name": "UserDefinedTypeName", - "src": "2547:12:21" - } - ], - "id": 6671, - "name": "Mapping", - "src": "2530:30:21" - } - ], - "id": 6672, - "name": "VariableDeclaration", - "src": "2530:58:21" - }, - { - "attributes": { - "constant": false, - "name": "parameters", - "scope": 7086, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6673, - "name": "ElementaryTypeName", - "src": "2605:7:21" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 6668, - "type": "struct SimpleICO.Parameters storage pointer" - }, - "id": 6674, - "name": "UserDefinedTypeName", - "src": "2614:10:21" - } - ], - "id": 6675, - "name": "Mapping", - "src": "2597:28:21" - } - ], - "id": 6676, - "name": "VariableDeclaration", - "src": "2597:46:21" - }, - { - "attributes": { - "anonymous": false, - "name": "DonationReceived" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "organization", - "scope": 6686, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6677, - "name": "ElementaryTypeName", - "src": "2675:7:21" - } - ], - "id": 6678, - "name": "VariableDeclaration", - "src": "2675:28:21" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_beneficiary", - "scope": 6686, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6679, - "name": "ElementaryTypeName", - "src": "2705:7:21" - } - ], - "id": 6680, - "name": "VariableDeclaration", - "src": "2705:28:21" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_incomingEther", - "scope": 6686, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6681, - "name": "ElementaryTypeName", - "src": "2735:4:21" - } - ], - "id": 6682, - "name": "VariableDeclaration", - "src": "2735:19:21" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_tokensAmount", - "scope": 6686, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6683, - "name": "ElementaryTypeName", - "src": "2756:4:21" - } - ], - "id": 6684, - "name": "VariableDeclaration", - "src": "2756:26:21" - } - ], - "id": 6685, - "name": "ParameterList", - "src": "2674:109:21" - } - ], - "id": 6686, - "name": "EventDefinition", - "src": "2652:132:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "SimpleICO", - "payable": false, - "scope": 7086, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 6705, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 6687, - "name": "UserDefinedTypeName", - "src": "3062:13:21" - } - ], - "id": 6688, - "name": "VariableDeclaration", - "src": "3062:26:21" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 6705, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6689, - "name": "ElementaryTypeName", - "src": "3090:4:21" - } - ], - "id": 6690, - "name": "VariableDeclaration", - "src": "3090:9:21" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 6705, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6691, - "name": "ElementaryTypeName", - "src": "3101:7:21" - } - ], - "id": 6692, - "name": "VariableDeclaration", - "src": "3101:20:21" - } - ], - "id": 6693, - "name": "ParameterList", - "src": "3061:61:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6694, - "name": "ParameterList", - "src": "3130:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 7207 - ], - "referencedDeclaration": 7207, - "type": "function (contract StandardToken,uint256,address,bytes32)", - "value": "updateParameters" - }, - "id": 6695, - "name": "Identifier", - "src": "3141:16:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6688, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 6696, - "name": "Identifier", - "src": "3158:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6690, - "type": "uint256", - "value": "_fee" - }, - "id": 6697, - "name": "Identifier", - "src": "3172:4:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6692, - "type": "address", - "value": "_beneficiary" - }, - "id": 6698, - "name": "Identifier", - "src": "3178:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 6699, - "name": "ElementaryTypeNameExpression", - "src": "3192:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6700, - "name": "Literal", - "src": "3200:1:21" - } - ], - "id": 6701, - "name": "FunctionCall", - "src": "3192:10:21" - } - ], - "id": 6702, - "name": "FunctionCall", - "src": "3141:62:21" - } - ], - "id": 6703, - "name": "ExpressionStatement", - "src": "3141:62:21" - } - ], - "id": 6704, - "name": "Block", - "src": "3130:81:21" - } - ], - "id": 6705, - "name": "FunctionDefinition", - "src": "3043:168:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 7086, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_cap", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6706, - "name": "ElementaryTypeName", - "src": "3686:4:21" - } - ], - "id": 6707, - "name": "VariableDeclaration", - "src": "3686:9:21" - }, - { - "attributes": { - "constant": false, - "name": "_price", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6708, - "name": "ElementaryTypeName", - "src": "3706:4:21" - } - ], - "id": 6709, - "name": "VariableDeclaration", - "src": "3706:11:21" - }, - { - "attributes": { - "constant": false, - "name": "_startBlock", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6710, - "name": "ElementaryTypeName", - "src": "3728:4:21" - } - ], - "id": 6711, - "name": "VariableDeclaration", - "src": "3728:16:21" - }, - { - "attributes": { - "constant": false, - "name": "_endBlock", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6712, - "name": "ElementaryTypeName", - "src": "3755:4:21" - } - ], - "id": 6713, - "name": "VariableDeclaration", - "src": "3755:14:21" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6714, - "name": "ElementaryTypeName", - "src": "3780:7:21" - } - ], - "id": 6715, - "name": "VariableDeclaration", - "src": "3780:20:21" - }, - { - "attributes": { - "constant": false, - "name": "_admin", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6716, - "name": "ElementaryTypeName", - "src": "3811:7:21" - } - ], - "id": 6717, - "name": "VariableDeclaration", - "src": "3811:14:21" - } - ], - "id": 6718, - "name": "ParameterList", - "src": "3675:157:21" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6719, - "name": "ElementaryTypeName", - "src": "3866:7:21" - } - ], - "id": 6720, - "name": "VariableDeclaration", - "src": "3866:7:21" - } - ], - "id": 6721, - "name": "ParameterList", - "src": "3865:9:21" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 6723 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 6757, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6722, - "name": "ElementaryTypeName", - "src": "3891:7:21" - } - ], - "id": 6723, - "name": "VariableDeclaration", - "src": "3891:18:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6785, - "type": "function (uint256,uint256,uint256,uint256,address,address) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 6724, - "name": "Identifier", - "src": "3912:17:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6707, - "type": "uint256", - "value": "_cap" - }, - "id": 6725, - "name": "Identifier", - "src": "3944:4:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6709, - "type": "uint256", - "value": "_price" - }, - "id": 6726, - "name": "Identifier", - "src": "3963:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6711, - "type": "uint256", - "value": "_startBlock" - }, - "id": 6727, - "name": "Identifier", - "src": "3984:11:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6713, - "type": "uint256", - "value": "_endBlock" - }, - "id": 6728, - "name": "Identifier", - "src": "4010:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6715, - "type": "address", - "value": "_beneficiary" - }, - "id": 6729, - "name": "Identifier", - "src": "4034:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6717, - "type": "address", - "value": "_admin" - }, - "id": 6730, - "name": "Identifier", - "src": "4061:6:21" - } - ], - "id": 6731, - "name": "FunctionCall", - "src": "3912:166:21" - } - ], - "id": 6732, - "name": "VariableDeclarationStatement", - "src": "3891:187:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 6657, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6733, - "name": "Identifier", - "src": "4093:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6723, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6734, - "name": "Identifier", - "src": "4104:10:21" - } - ], - "id": 6735, - "name": "IndexAccess", - "src": "4093:22:21" - } - ], - "id": 6736, - "name": "MemberAccess", - "src": "4093:26:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6737, - "name": "Literal", - "src": "4123:1:21" - } - ], - "id": 6738, - "name": "BinaryOperation", - "src": "4093:31:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6739, - "name": "Identifier", - "src": "4141:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6723, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6740, - "name": "Identifier", - "src": "4152:10:21" - } - ], - "id": 6741, - "name": "IndexAccess", - "src": "4141:22:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "cap", - "price", - "startBlock", - "endBlock", - "beneficiary", - "admin" - ], - "type": "struct SimpleICO.Parameters memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6668, - "type": "type(struct SimpleICO.Parameters storage pointer)", - "value": "Parameters" - }, - "id": 6742, - "name": "Identifier", - "src": "4166:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6707, - "type": "uint256", - "value": "_cap" - }, - "id": 6743, - "name": "Identifier", - "src": "4201:4:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6709, - "type": "uint256", - "value": "_price" - }, - "id": 6744, - "name": "Identifier", - "src": "4231:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6711, - "type": "uint256", - "value": "_startBlock" - }, - "id": 6745, - "name": "Identifier", - "src": "4268:11:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6713, - "type": "uint256", - "value": "_endBlock" - }, - "id": 6746, - "name": "Identifier", - "src": "4307:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6715, - "type": "address", - "value": "_beneficiary" - }, - "id": 6747, - "name": "Identifier", - "src": "4347:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6717, - "type": "address", - "value": "_admin" - }, - "id": 6748, - "name": "Identifier", - "src": "4384:6:21" - } - ], - "id": 6749, - "name": "FunctionCall", - "src": "4166:240:21" - } - ], - "id": 6750, - "name": "Assignment", - "src": "4141:265:21" - } - ], - "id": 6751, - "name": "ExpressionStatement", - "src": "4141:265:21" - } - ], - "id": 6752, - "name": "Block", - "src": "4126:292:21" - } - ], - "id": 6753, - "name": "IfStatement", - "src": "4089:329:21" - }, - { - "attributes": { - "functionReturnParameters": 6721 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6723, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 6754, - "name": "Identifier", - "src": "4435:10:21" - } - ], - "id": 6755, - "name": "Return", - "src": "4428:17:21" - } - ], - "id": 6756, - "name": "Block", - "src": "3880:573:21" - } - ], - "id": 6757, - "name": "FunctionDefinition", - "src": "3653:800:21" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 7086, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_cap", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6758, - "name": "ElementaryTypeName", - "src": "4907:4:21" - } - ], - "id": 6759, - "name": "VariableDeclaration", - "src": "4907:9:21" - }, - { - "attributes": { - "constant": false, - "name": "_price", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6760, - "name": "ElementaryTypeName", - "src": "4927:4:21" - } - ], - "id": 6761, - "name": "VariableDeclaration", - "src": "4927:11:21" - }, - { - "attributes": { - "constant": false, - "name": "_startBlock", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6762, - "name": "ElementaryTypeName", - "src": "4949:4:21" - } - ], - "id": 6763, - "name": "VariableDeclaration", - "src": "4949:16:21" - }, - { - "attributes": { - "constant": false, - "name": "_endBlock", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6764, - "name": "ElementaryTypeName", - "src": "4976:4:21" - } - ], - "id": 6765, - "name": "VariableDeclaration", - "src": "4976:14:21" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6766, - "name": "ElementaryTypeName", - "src": "5001:7:21" - } - ], - "id": 6767, - "name": "VariableDeclaration", - "src": "5001:20:21" - }, - { - "attributes": { - "constant": false, - "name": "_admin", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6768, - "name": "ElementaryTypeName", - "src": "5032:7:21" - } - ], - "id": 6769, - "name": "VariableDeclaration", - "src": "5032:14:21" - } - ], - "id": 6770, - "name": "ParameterList", - "src": "4896:157:21" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6785, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 6771, - "name": "ElementaryTypeName", - "src": "5101:7:21" - } - ], - "id": 6772, - "name": "VariableDeclaration", - "src": "5101:7:21" - } - ], - "id": 6773, - "name": "ParameterList", - "src": "5100:9:21" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6773 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 6774, - "name": "Identifier", - "src": "5133:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6759, - "type": "uint256", - "value": "_cap" - }, - "id": 6775, - "name": "Identifier", - "src": "5157:4:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6761, - "type": "uint256", - "value": "_price" - }, - "id": 6776, - "name": "Identifier", - "src": "5176:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6763, - "type": "uint256", - "value": "_startBlock" - }, - "id": 6777, - "name": "Identifier", - "src": "5197:11:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6765, - "type": "uint256", - "value": "_endBlock" - }, - "id": 6778, - "name": "Identifier", - "src": "5223:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6767, - "type": "address", - "value": "_beneficiary" - }, - "id": 6779, - "name": "Identifier", - "src": "5247:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6769, - "type": "address", - "value": "_admin" - }, - "id": 6780, - "name": "Identifier", - "src": "5274:6:21" - } - ], - "id": 6781, - "name": "FunctionCall", - "src": "5133:158:21" - } - ], - "id": 6782, - "name": "TupleExpression", - "src": "5132:160:21" - } - ], - "id": 6783, - "name": "Return", - "src": "5125:167:21" - } - ], - "id": 6784, - "name": "Block", - "src": "5114:186:21" - } - ], - "id": 6785, - "name": "FunctionDefinition", - "src": "4870:430:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "start", - "payable": false, - "scope": 7086, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6835, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6786, - "name": "UserDefinedTypeName", - "src": "5423:6:21" - } - ], - "id": 6787, - "name": "VariableDeclaration", - "src": "5423:14:21" - } - ], - "id": 6788, - "name": "ParameterList", - "src": "5422:16:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6789, - "name": "ParameterList", - "src": "5446:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6790, - "name": "Identifier", - "src": "5457:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6945, - "type": "function (address) view returns (bool)", - "value": "isActive" - }, - "id": 6791, - "name": "Identifier", - "src": "5466:8:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6787, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6792, - "name": "Identifier", - "src": "5475:7:21" - } - ], - "id": 6793, - "name": "FunctionCall", - "src": "5466:17:21" - } - ], - "id": 6794, - "name": "UnaryOperation", - "src": "5465:18:21" - } - ], - "id": 6795, - "name": "FunctionCall", - "src": "5457:27:21" - } - ], - "id": 6796, - "name": "ExpressionStatement", - "src": "5457:27:21" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "org", - "scope": 6835, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SimpleICO.Organization memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 6655, - "type": "struct SimpleICO.Organization storage pointer" - }, - "id": 6797, - "name": "UserDefinedTypeName", - "src": "5495:12:21" - } - ], - "id": 6798, - "name": "VariableDeclaration", - "src": "5495:23:21" - } - ], - "id": 6799, - "name": "VariableDeclarationStatement", - "src": "5495:23:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6798, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6800, - "name": "Identifier", - "src": "5529:3:21" - } - ], - "id": 6802, - "name": "MemberAccess", - "src": "5529:14:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 6803, - "name": "Identifier", - "src": "5546:27:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6787, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6804, - "name": "Identifier", - "src": "5574:7:21" - } - ], - "id": 6805, - "name": "FunctionCall", - "src": "5546:36:21" - } - ], - "id": 6806, - "name": "Assignment", - "src": "5529:53:21" - } - ], - "id": 6807, - "name": "ExpressionStatement", - "src": "5529:53:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6808, - "name": "Identifier", - "src": "5593:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 6657, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6809, - "name": "Identifier", - "src": "5601:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6798, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6810, - "name": "Identifier", - "src": "5612:3:21" - } - ], - "id": 6811, - "name": "MemberAccess", - "src": "5612:14:21" - } - ], - "id": 6812, - "name": "IndexAccess", - "src": "5601:26:21" - } - ], - "id": 6813, - "name": "MemberAccess", - "src": "5601:30:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 6814, - "name": "Literal", - "src": "5635:1:21" - } - ], - "id": 6815, - "name": "BinaryOperation", - "src": "5601:35:21" - } - ], - "id": 6816, - "name": "FunctionCall", - "src": "5593:44:21" - } - ], - "id": 6817, - "name": "ExpressionStatement", - "src": "5593:44:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "avatarContractICO", - "referencedDeclaration": 6650, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6798, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6818, - "name": "Identifier", - "src": "5648:3:21" - } - ], - "id": 6820, - "name": "MemberAccess", - "src": "5648:21:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract MirrorContractICO", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_SimpleICO_$7086", - "typeString": "contract SimpleICO" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "function (contract Avatar,contract SimpleICO) returns (contract MirrorContractICO)" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "MirrorContractICO", - "referencedDeclaration": 6641, - "type": "contract MirrorContractICO" - }, - "id": 6821, - "name": "UserDefinedTypeName", - "src": "5676:17:21" - } - ], - "id": 6822, - "name": "NewExpression", - "src": "5672:21:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6787, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6823, - "name": "Identifier", - "src": "5694:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9817, - "type": "contract SimpleICO", - "value": "this" - }, - "id": 6824, - "name": "Identifier", - "src": "5703:4:21" - } - ], - "id": 6825, - "name": "FunctionCall", - "src": "5672:36:21" - } - ], - "id": 6826, - "name": "Assignment", - "src": "5648:60:21" - } - ], - "id": 6827, - "name": "ExpressionStatement", - "src": "5648:60:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6828, - "name": "Identifier", - "src": "5719:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6787, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6829, - "name": "Identifier", - "src": "5740:7:21" - } - ], - "id": 6830, - "name": "IndexAccess", - "src": "5719:29:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6798, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6831, - "name": "Identifier", - "src": "5751:3:21" - } - ], - "id": 6832, - "name": "Assignment", - "src": "5719:35:21" - } - ], - "id": 6833, - "name": "ExpressionStatement", - "src": "5719:35:21" - } - ], - "id": 6834, - "name": "Block", - "src": "5446:316:21" - } - ], - "id": 6835, - "name": "FunctionDefinition", - "src": "5408:354:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "haltICO", - "payable": false, - "scope": 7086, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6861, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6836, - "name": "ElementaryTypeName", - "src": "5905:7:21" - } - ], - "id": 6837, - "name": "VariableDeclaration", - "src": "5905:15:21" - } - ], - "id": 6838, - "name": "ParameterList", - "src": "5904:17:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6839, - "name": "ParameterList", - "src": "5929:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6840, - "name": "Identifier", - "src": "5940:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6841, - "name": "Identifier", - "src": "5948:3:21" - } - ], - "id": 6842, - "name": "MemberAccess", - "src": "5948:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "admin", - "referencedDeclaration": 6667, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6843, - "name": "Identifier", - "src": "5962:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6844, - "name": "Identifier", - "src": "5973:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6837, - "type": "address", - "value": "_avatar" - }, - "id": 6845, - "name": "Identifier", - "src": "5994:7:21" - } - ], - "id": 6846, - "name": "IndexAccess", - "src": "5973:29:21" - } - ], - "id": 6847, - "name": "MemberAccess", - "src": "5973:40:21" - } - ], - "id": 6848, - "name": "IndexAccess", - "src": "5962:52:21" - } - ], - "id": 6849, - "name": "MemberAccess", - "src": "5962:58:21" - } - ], - "id": 6850, - "name": "BinaryOperation", - "src": "5948:72:21" - } - ], - "id": 6851, - "name": "FunctionCall", - "src": "5940:81:21" - } - ], - "id": 6852, - "name": "ExpressionStatement", - "src": "5940:81:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "isHalted", - "referencedDeclaration": 6654, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6853, - "name": "Identifier", - "src": "6032:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6837, - "type": "address", - "value": "_avatar" - }, - "id": 6854, - "name": "Identifier", - "src": "6053:7:21" - } - ], - "id": 6855, - "name": "IndexAccess", - "src": "6032:29:21" - } - ], - "id": 6856, - "name": "MemberAccess", - "src": "6032:38:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 6857, - "name": "Literal", - "src": "6073:4:21" - } - ], - "id": 6858, - "name": "Assignment", - "src": "6032:45:21" - } - ], - "id": 6859, - "name": "ExpressionStatement", - "src": "6032:45:21" - } - ], - "id": 6860, - "name": "Block", - "src": "5929:156:21" - } - ], - "id": 6861, - "name": "FunctionDefinition", - "src": "5888:197:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "resumeICO", - "payable": false, - "scope": 7086, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6887, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6862, - "name": "ElementaryTypeName", - "src": "6232:7:21" - } - ], - "id": 6863, - "name": "VariableDeclaration", - "src": "6232:15:21" - } - ], - "id": 6864, - "name": "ParameterList", - "src": "6231:17:21" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 6865, - "name": "ParameterList", - "src": "6256:0:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6866, - "name": "Identifier", - "src": "6267:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6867, - "name": "Identifier", - "src": "6275:3:21" - } - ], - "id": 6868, - "name": "MemberAccess", - "src": "6275:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "admin", - "referencedDeclaration": 6667, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6869, - "name": "Identifier", - "src": "6289:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6870, - "name": "Identifier", - "src": "6300:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6863, - "type": "address", - "value": "_avatar" - }, - "id": 6871, - "name": "Identifier", - "src": "6321:7:21" - } - ], - "id": 6872, - "name": "IndexAccess", - "src": "6300:29:21" - } - ], - "id": 6873, - "name": "MemberAccess", - "src": "6300:40:21" - } - ], - "id": 6874, - "name": "IndexAccess", - "src": "6289:52:21" - } - ], - "id": 6875, - "name": "MemberAccess", - "src": "6289:58:21" - } - ], - "id": 6876, - "name": "BinaryOperation", - "src": "6275:72:21" - } - ], - "id": 6877, - "name": "FunctionCall", - "src": "6267:81:21" - } - ], - "id": 6878, - "name": "ExpressionStatement", - "src": "6267:81:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "isHalted", - "referencedDeclaration": 6654, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6879, - "name": "Identifier", - "src": "6359:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6863, - "type": "address", - "value": "_avatar" - }, - "id": 6880, - "name": "Identifier", - "src": "6380:7:21" - } - ], - "id": 6881, - "name": "IndexAccess", - "src": "6359:29:21" - } - ], - "id": 6882, - "name": "MemberAccess", - "src": "6359:38:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6883, - "name": "Literal", - "src": "6400:5:21" - } - ], - "id": 6884, - "name": "Assignment", - "src": "6359:46:21" - } - ], - "id": 6885, - "name": "ExpressionStatement", - "src": "6359:46:21" - } - ], - "id": 6886, - "name": "Block", - "src": "6256:157:21" - } - ], - "id": 6887, - "name": "FunctionDefinition", - "src": "6213:200:21" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "isActive", - "payable": false, - "scope": 7086, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 6945, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6888, - "name": "ElementaryTypeName", - "src": "6851:7:21" - } - ], - "id": 6889, - "name": "VariableDeclaration", - "src": "6851:15:21" - } - ], - "id": 6890, - "name": "ParameterList", - "src": "6850:17:21" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 6945, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 6891, - "name": "ElementaryTypeName", - "src": "6892:4:21" - } - ], - "id": 6892, - "name": "VariableDeclaration", - "src": "6892:4:21" - } - ], - "id": 6893, - "name": "ParameterList", - "src": "6891:6:21" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 6895 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "org", - "scope": 6945, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SimpleICO.Organization memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 6655, - "type": "struct SimpleICO.Organization storage pointer" - }, - "id": 6894, - "name": "UserDefinedTypeName", - "src": "6909:12:21" - } - ], - "id": 6895, - "name": "VariableDeclaration", - "src": "6909:23:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6896, - "name": "Identifier", - "src": "6935:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6889, - "type": "address", - "value": "_avatar" - }, - "id": 6897, - "name": "Identifier", - "src": "6956:7:21" - } - ], - "id": 6898, - "name": "IndexAccess", - "src": "6935:29:21" - } - ], - "id": 6899, - "name": "VariableDeclarationStatement", - "src": "6909:55:21" - }, - { - "attributes": { - "assignments": [ - 6901 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 6945, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SimpleICO.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 6668, - "type": "struct SimpleICO.Parameters storage pointer" - }, - "id": 6900, - "name": "UserDefinedTypeName", - "src": "6975:10:21" - } - ], - "id": 6901, - "name": "VariableDeclaration", - "src": "6975:24:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6902, - "name": "Identifier", - "src": "7002:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6895, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6903, - "name": "Identifier", - "src": "7013:3:21" - } - ], - "id": 6904, - "name": "MemberAccess", - "src": "7013:14:21" - } - ], - "id": 6905, - "name": "IndexAccess", - "src": "7002:26:21" - } - ], - "id": 6906, - "name": "VariableDeclarationStatement", - "src": "6975:53:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7109, - "type": "mapping(address => bool)", - "value": "organizations" - }, - "id": 6907, - "name": "Identifier", - "src": "7045:13:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6889, - "type": "address", - "value": "_avatar" - }, - "id": 6908, - "name": "Identifier", - "src": "7059:7:21" - } - ], - "id": 6909, - "name": "IndexAccess", - "src": "7045:22:21" - } - ], - "id": 6910, - "name": "UnaryOperation", - "src": "7043:24:21" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6893 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6911, - "name": "Literal", - "src": "7091:5:21" - } - ], - "id": 6912, - "name": "Return", - "src": "7084:12:21" - } - ], - "id": 6913, - "name": "Block", - "src": "7069:39:21" - } - ], - "id": 6914, - "name": "IfStatement", - "src": "7039:69:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalEthRaised", - "referencedDeclaration": 6652, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6895, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6915, - "name": "Identifier", - "src": "7122:3:21" - } - ], - "id": 6916, - "name": "MemberAccess", - "src": "7122:18:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 6657, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6901, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 6917, - "name": "Identifier", - "src": "7144:6:21" - } - ], - "id": 6918, - "name": "MemberAccess", - "src": "7144:10:21" - } - ], - "id": 6919, - "name": "BinaryOperation", - "src": "7122:32:21" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6893 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6920, - "name": "Literal", - "src": "7178:5:21" - } - ], - "id": 6921, - "name": "Return", - "src": "7171:12:21" - } - ], - "id": 6922, - "name": "Block", - "src": "7156:39:21" - } - ], - "id": 6923, - "name": "IfStatement", - "src": "7118:77:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "number", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9728, - "type": "block", - "value": "block" - }, - "id": 6924, - "name": "Identifier", - "src": "7209:5:21" - } - ], - "id": 6925, - "name": "MemberAccess", - "src": "7209:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "endBlock", - "referencedDeclaration": 6663, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6901, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 6926, - "name": "Identifier", - "src": "7225:6:21" - } - ], - "id": 6927, - "name": "MemberAccess", - "src": "7225:15:21" - } - ], - "id": 6928, - "name": "BinaryOperation", - "src": "7209:31:21" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6893 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6929, - "name": "Literal", - "src": "7264:5:21" - } - ], - "id": 6930, - "name": "Return", - "src": "7257:12:21" - } - ], - "id": 6931, - "name": "Block", - "src": "7242:39:21" - } - ], - "id": 6932, - "name": "IfStatement", - "src": "7205:76:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "number", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9728, - "type": "block", - "value": "block" - }, - "id": 6933, - "name": "Identifier", - "src": "7295:5:21" - } - ], - "id": 6934, - "name": "MemberAccess", - "src": "7295:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "startBlock", - "referencedDeclaration": 6661, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6901, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 6935, - "name": "Identifier", - "src": "7311:6:21" - } - ], - "id": 6936, - "name": "MemberAccess", - "src": "7311:17:21" - } - ], - "id": 6937, - "name": "BinaryOperation", - "src": "7295:33:21" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 6893 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 6938, - "name": "Literal", - "src": "7352:5:21" - } - ], - "id": 6939, - "name": "Return", - "src": "7345:12:21" - } - ], - "id": 6940, - "name": "Block", - "src": "7330:39:21" - } - ], - "id": 6941, - "name": "IfStatement", - "src": "7291:78:21" - }, - { - "attributes": { - "functionReturnParameters": 6893 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 6942, - "name": "Literal", - "src": "7386:4:21" - } - ], - "id": 6943, - "name": "Return", - "src": "7379:11:21" - } - ], - "id": 6944, - "name": "Block", - "src": "6898:500:21" - } - ], - "id": 6945, - "name": "FunctionDefinition", - "src": "6833:565:21" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "donate", - "payable": true, - "scope": 7086, - "stateMutability": "payable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 6946, - "name": "UserDefinedTypeName", - "src": "7822:6:21" - } - ], - "id": 6947, - "name": "VariableDeclaration", - "src": "7822:14:21" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 6948, - "name": "ElementaryTypeName", - "src": "7838:7:21" - } - ], - "id": 6949, - "name": "VariableDeclaration", - "src": "7838:20:21" - } - ], - "id": 6950, - "name": "ParameterList", - "src": "7821:38:21" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6951, - "name": "ElementaryTypeName", - "src": "7883:4:21" - } - ], - "id": 6952, - "name": "VariableDeclaration", - "src": "7883:4:21" - } - ], - "id": 6953, - "name": "ParameterList", - "src": "7882:6:21" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 6955 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "org", - "scope": 7085, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SimpleICO.Organization memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Organization", - "referencedDeclaration": 6655, - "type": "struct SimpleICO.Organization storage pointer" - }, - "id": 6954, - "name": "UserDefinedTypeName", - "src": "7900:12:21" - } - ], - "id": 6955, - "name": "VariableDeclaration", - "src": "7900:23:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 6956, - "name": "Identifier", - "src": "7926:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6947, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6957, - "name": "Identifier", - "src": "7947:7:21" - } - ], - "id": 6958, - "name": "IndexAccess", - "src": "7926:29:21" - } - ], - "id": 6959, - "name": "VariableDeclarationStatement", - "src": "7900:55:21" - }, - { - "attributes": { - "assignments": [ - 6961 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 7085, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct SimpleICO.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 6668, - "type": "struct SimpleICO.Parameters storage pointer" - }, - "id": 6960, - "name": "UserDefinedTypeName", - "src": "7966:10:21" - } - ], - "id": 6961, - "name": "VariableDeclaration", - "src": "7966:24:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6676, - "type": "mapping(bytes32 => struct SimpleICO.Parameters storage ref)", - "value": "parameters" - }, - "id": 6962, - "name": "Identifier", - "src": "7993:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "paramsHash", - "referencedDeclaration": 6648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6955, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6963, - "name": "Identifier", - "src": "8004:3:21" - } - ], - "id": 6964, - "name": "MemberAccess", - "src": "8004:14:21" - } - ], - "id": 6965, - "name": "IndexAccess", - "src": "7993:26:21" - } - ], - "id": 6966, - "name": "VariableDeclarationStatement", - "src": "7966:53:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6967, - "name": "Identifier", - "src": "8065:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6945, - "type": "function (address) view returns (bool)", - "value": "isActive" - }, - "id": 6968, - "name": "Identifier", - "src": "8073:8:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6947, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 6969, - "name": "Identifier", - "src": "8082:7:21" - } - ], - "id": 6970, - "name": "FunctionCall", - "src": "8073:17:21" - } - ], - "id": 6971, - "name": "FunctionCall", - "src": "8065:26:21" - } - ], - "id": 6972, - "name": "ExpressionStatement", - "src": "8065:26:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 6973, - "name": "Identifier", - "src": "8141:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "isHalted", - "referencedDeclaration": 6654, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6955, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6974, - "name": "Identifier", - "src": "8150:3:21" - } - ], - "id": 6975, - "name": "MemberAccess", - "src": "8150:12:21" - } - ], - "id": 6976, - "name": "UnaryOperation", - "src": "8149:13:21" - } - ], - "id": 6977, - "name": "FunctionCall", - "src": "8141:22:21" - } - ], - "id": 6978, - "name": "ExpressionStatement", - "src": "8141:22:21" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "incomingEther", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6979, - "name": "ElementaryTypeName", - "src": "8178:4:21" - } - ], - "id": 6980, - "name": "VariableDeclaration", - "src": "8178:18:21" - } - ], - "id": 6981, - "name": "VariableDeclarationStatement", - "src": "8178:18:21" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "change", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 6982, - "name": "ElementaryTypeName", - "src": "8207:4:21" - } - ], - "id": 6983, - "name": "VariableDeclaration", - "src": "8207:11:21" - } - ], - "id": 6984, - "name": "VariableDeclarationStatement", - "src": "8207:11:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 6985, - "name": "Identifier", - "src": "8280:3:21" - } - ], - "id": 6986, - "name": "MemberAccess", - "src": "8280:9:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 6657, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6961, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 6987, - "name": "Identifier", - "src": "8293:6:21" - } - ], - "id": 6988, - "name": "MemberAccess", - "src": "8293:10:21" - } - ], - "id": 6989, - "name": "TupleExpression", - "src": "8292:12:21" - } - ], - "id": 6990, - "name": "MemberAccess", - "src": "8292:16:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalEthRaised", - "referencedDeclaration": 6652, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6955, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 6991, - "name": "Identifier", - "src": "8309:3:21" - } - ], - "id": 6992, - "name": "MemberAccess", - "src": "8309:18:21" - } - ], - "id": 6993, - "name": "FunctionCall", - "src": "8292:36:21" - } - ], - "id": 6994, - "name": "BinaryOperation", - "src": "8280:48:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 6995, - "name": "Identifier", - "src": "8346:13:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 6657, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6961, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 6996, - "name": "Identifier", - "src": "8363:6:21" - } - ], - "id": 6997, - "name": "MemberAccess", - "src": "8363:10:21" - } - ], - "id": 6998, - "name": "TupleExpression", - "src": "8362:12:21" - } - ], - "id": 6999, - "name": "MemberAccess", - "src": "8362:16:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "totalEthRaised", - "referencedDeclaration": 6652, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6955, - "type": "struct SimpleICO.Organization memory", - "value": "org" - }, - "id": 7000, - "name": "Identifier", - "src": "8379:3:21" - } - ], - "id": 7001, - "name": "MemberAccess", - "src": "8379:18:21" - } - ], - "id": 7002, - "name": "FunctionCall", - "src": "8362:36:21" - } - ], - "id": 7003, - "name": "Assignment", - "src": "8346:52:21" - } - ], - "id": 7004, - "name": "ExpressionStatement", - "src": "8346:52:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6983, - "type": "uint256", - "value": "change" - }, - "id": 7005, - "name": "Identifier", - "src": "8413:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 7006, - "name": "Identifier", - "src": "8423:3:21" - } - ], - "id": 7007, - "name": "MemberAccess", - "src": "8423:9:21" - } - ], - "id": 7008, - "name": "TupleExpression", - "src": "8422:11:21" - } - ], - "id": 7009, - "name": "MemberAccess", - "src": "8422:15:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7010, - "name": "Identifier", - "src": "8438:13:21" - } - ], - "id": 7011, - "name": "FunctionCall", - "src": "8422:30:21" - } - ], - "id": 7012, - "name": "Assignment", - "src": "8413:39:21" - } - ], - "id": 7013, - "name": "ExpressionStatement", - "src": "8413:39:21" - } - ], - "id": 7014, - "name": "Block", - "src": "8331:133:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7015, - "name": "Identifier", - "src": "8485:13:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "value", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 7016, - "name": "Identifier", - "src": "8501:3:21" - } - ], - "id": 7017, - "name": "MemberAccess", - "src": "8501:9:21" - } - ], - "id": 7018, - "name": "Assignment", - "src": "8485:25:21" - } - ], - "id": 7019, - "name": "ExpressionStatement", - "src": "8485:25:21" - } - ], - "id": 7020, - "name": "Block", - "src": "8470:52:21" - } - ], - "id": 7021, - "name": "IfStatement", - "src": "8275:247:21" - }, - { - "attributes": { - "assignments": [ - 7023 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "tokens", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7022, - "name": "ElementaryTypeName", - "src": "8532:4:21" - } - ], - "id": 7023, - "name": "VariableDeclaration", - "src": "8532:11:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mul", - "referencedDeclaration": 9021, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7024, - "name": "Identifier", - "src": "8546:13:21" - } - ], - "id": 7025, - "name": "MemberAccess", - "src": "8546:17:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "price", - "referencedDeclaration": 6659, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6961, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 7026, - "name": "Identifier", - "src": "8564:6:21" - } - ], - "id": 7027, - "name": "MemberAccess", - "src": "8564:12:21" - } - ], - "id": 7028, - "name": "FunctionCall", - "src": "8546:31:21" - } - ], - "id": 7029, - "name": "VariableDeclarationStatement", - "src": "8532:45:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transfer", - "referencedDeclaration": null, - "type": "function (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "beneficiary", - "referencedDeclaration": 6665, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6961, - "type": "struct SimpleICO.Parameters memory", - "value": "params" - }, - "id": 7030, - "name": "Identifier", - "src": "8673:6:21" - } - ], - "id": 7033, - "name": "MemberAccess", - "src": "8673:18:21" - } - ], - "id": 7034, - "name": "MemberAccess", - "src": "8673:27:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7035, - "name": "Identifier", - "src": "8701:13:21" - } - ], - "id": 7036, - "name": "FunctionCall", - "src": "8673:42:21" - } - ], - "id": 7037, - "name": "ExpressionStatement", - "src": "8673:42:21" - }, - { - "attributes": { - "assignments": [ - 7039 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 7085, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 7038, - "name": "UserDefinedTypeName", - "src": "8728:10:21" - } - ], - "id": 7039, - "name": "VariableDeclaration", - "src": "8728:21:21" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 7040, - "name": "Identifier", - "src": "8752:10:21" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6947, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7041, - "name": "Identifier", - "src": "8763:7:21" - } - ], - "id": 7042, - "name": "MemberAccess", - "src": "8763:13:21" - } - ], - "id": 7043, - "name": "FunctionCall", - "src": "8763:15:21" - } - ], - "id": 7044, - "name": "FunctionCall", - "src": "8752:27:21" - } - ], - "id": 7045, - "name": "VariableDeclarationStatement", - "src": "8728:51:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mintTokens", - "referencedDeclaration": 3502, - "type": "function (uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7039, - "type": "contract Controller", - "value": "controller" - }, - "id": 7046, - "name": "Identifier", - "src": "8795:10:21" - } - ], - "id": 7047, - "name": "MemberAccess", - "src": "8795:21:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7023, - "type": "uint256", - "value": "tokens" - }, - "id": 7048, - "name": "Identifier", - "src": "8817:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6949, - "type": "address", - "value": "_beneficiary" - }, - "id": 7049, - "name": "Identifier", - "src": "8825:12:21" - } - ], - "id": 7050, - "name": "FunctionCall", - "src": "8795:43:21" - } - ], - "id": 7051, - "name": "UnaryOperation", - "src": "8794:44:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 7052, - "name": "Identifier", - "src": "8855:6:21" - } - ], - "id": 7053, - "name": "FunctionCall", - "src": "8855:8:21" - } - ], - "id": 7054, - "name": "ExpressionStatement", - "src": "8855:8:21" - } - ], - "id": 7055, - "name": "Block", - "src": "8840:35:21" - } - ], - "id": 7056, - "name": "IfStatement", - "src": "8790:85:21" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6983, - "type": "uint256", - "value": "change" - }, - "id": 7057, - "name": "Identifier", - "src": "8889:6:21" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 7058, - "name": "Literal", - "src": "8899:1:21" - } - ], - "id": 7059, - "name": "BinaryOperation", - "src": "8889:11:21" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transfer", - "referencedDeclaration": null, - "type": "function (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6949, - "type": "address", - "value": "_beneficiary" - }, - "id": 7060, - "name": "Identifier", - "src": "8917:12:21" - } - ], - "id": 7062, - "name": "MemberAccess", - "src": "8917:21:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6983, - "type": "uint256", - "value": "change" - }, - "id": 7063, - "name": "Identifier", - "src": "8939:6:21" - } - ], - "id": 7064, - "name": "FunctionCall", - "src": "8917:29:21" - } - ], - "id": 7065, - "name": "ExpressionStatement", - "src": "8917:29:21" - } - ], - "id": 7066, - "name": "Block", - "src": "8902:56:21" - } - ], - "id": 7067, - "name": "IfStatement", - "src": "8885:73:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "+=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "totalEthRaised", - "referencedDeclaration": 6652, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct SimpleICO.Organization storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6672, - "type": "mapping(address => struct SimpleICO.Organization storage ref)", - "value": "organizationsICOInfo" - }, - "id": 7068, - "name": "Identifier", - "src": "9048:20:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6947, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7069, - "name": "Identifier", - "src": "9069:7:21" - } - ], - "id": 7070, - "name": "IndexAccess", - "src": "9048:29:21" - } - ], - "id": 7071, - "name": "MemberAccess", - "src": "9048:44:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7072, - "name": "Identifier", - "src": "9096:13:21" - } - ], - "id": 7073, - "name": "Assignment", - "src": "9048:61:21" - } - ], - "id": 7074, - "name": "ExpressionStatement", - "src": "9048:61:21" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6686, - "type": "function (address,address,uint256,uint256)", - "value": "DonationReceived" - }, - "id": 7075, - "name": "Identifier", - "src": "9120:16:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6947, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7076, - "name": "Identifier", - "src": "9137:7:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6949, - "type": "address", - "value": "_beneficiary" - }, - "id": 7077, - "name": "Identifier", - "src": "9146:12:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 6980, - "type": "uint256", - "value": "incomingEther" - }, - "id": 7078, - "name": "Identifier", - "src": "9160:13:21" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7023, - "type": "uint256", - "value": "tokens" - }, - "id": 7079, - "name": "Identifier", - "src": "9175:6:21" - } - ], - "id": 7080, - "name": "FunctionCall", - "src": "9120:62:21" - } - ], - "id": 7081, - "name": "ExpressionStatement", - "src": "9120:62:21" - }, - { - "attributes": { - "functionReturnParameters": 6953 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7023, - "type": "uint256", - "value": "tokens" - }, - "id": 7082, - "name": "Identifier", - "src": "9200:6:21" - } - ], - "id": 7083, - "name": "Return", - "src": "9193:13:21" - } - ], - "id": 7084, - "name": "Block", - "src": "7889:1325:21" - } - ], - "id": 7085, - "name": "FunctionDefinition", - "src": "7806:1408:21" - } - ], - "id": 7086, - "name": "ContractDefinition", - "src": "1467:7750:21" - } - ], - "id": 7087, - "name": "SourceUnit", - "src": "0:9219:21" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": { - "42": { - "events": {}, - "links": {}, - "address": "0x19e4266506c7274e66c54d584a801ee56ce92cfd" - }, - "1512051714758": { - "events": {}, - "links": {}, - "address": "0xe48f165ed0790e7babf38ad511e35a07f2bcffed" - } - }, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.912Z" -} \ No newline at end of file diff --git a/contracts/StandardToken.json b/contracts/StandardToken.json deleted file mode 100644 index 58c3e64e0..000000000 --- a/contracts/StandardToken.json +++ /dev/null @@ -1,3736 +0,0 @@ -{ - "contractName": "StandardToken", - "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": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseApproval", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "balance", - "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": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_addedValue", - "type": "uint256" - } - ], - "name": "increaseApproval", - "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" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6106e68061001e6000396000f30060606040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663095ea7b3811461009257806318160ddd146100c857806323b872dd146100ed578063661884631461011557806370a0823114610137578063a9059cbb14610156578063d73dd62314610178578063dd62ed3e1461019a575b600080fd5b341561009d57600080fd5b6100b4600160a060020a03600435166024356101bf565b604051901515815260200160405180910390f35b34156100d357600080fd5b6100db61022b565b60405190815260200160405180910390f35b34156100f857600080fd5b6100b4600160a060020a0360043581169060243516604435610231565b341561012057600080fd5b6100b4600160a060020a03600435166024356103b3565b341561014257600080fd5b6100db600160a060020a03600435166104ad565b341561016157600080fd5b6100b4600160a060020a03600435166024356104c8565b341561018357600080fd5b6100b4600160a060020a03600435166024356105c3565b34156101a557600080fd5b6100db600160a060020a0360043581169060243516610667565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a038316151561024857600080fd5b600160a060020a03841660009081526001602052604090205482111561026d57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156102a057600080fd5b600160a060020a0384166000908152600160205260409020546102c9908363ffffffff61069216565b600160a060020a0380861660009081526001602052604080822093909355908516815220546102fe908363ffffffff6106a416565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610346908363ffffffff61069216565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561041057600160a060020a033381166000908152600260209081526040808320938816835292905290812055610447565b610420818463ffffffff61069216565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b6000600160a060020a03831615156104df57600080fd5b600160a060020a03331660009081526001602052604090205482111561050457600080fd5b600160a060020a03331660009081526001602052604090205461052d908363ffffffff61069216565b600160a060020a033381166000908152600160205260408082209390935590851681522054610562908363ffffffff6106a416565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120546105fb908363ffffffff6106a416565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60008282111561069e57fe5b50900390565b6000828201838110156106b357fe5b93925050505600a165627a7a72305820a645d5da9f5011420615a0c851540ffad69516d2d54c14a241b6206f5ae592ac0029", - "deployedBytecode": "0x60606040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663095ea7b3811461009257806318160ddd146100c857806323b872dd146100ed578063661884631461011557806370a0823114610137578063a9059cbb14610156578063d73dd62314610178578063dd62ed3e1461019a575b600080fd5b341561009d57600080fd5b6100b4600160a060020a03600435166024356101bf565b604051901515815260200160405180910390f35b34156100d357600080fd5b6100db61022b565b60405190815260200160405180910390f35b34156100f857600080fd5b6100b4600160a060020a0360043581169060243516604435610231565b341561012057600080fd5b6100b4600160a060020a03600435166024356103b3565b341561014257600080fd5b6100db600160a060020a03600435166104ad565b341561016157600080fd5b6100b4600160a060020a03600435166024356104c8565b341561018357600080fd5b6100b4600160a060020a03600435166024356105c3565b34156101a557600080fd5b6100db600160a060020a0360043581169060243516610667565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a038316151561024857600080fd5b600160a060020a03841660009081526001602052604090205482111561026d57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156102a057600080fd5b600160a060020a0384166000908152600160205260409020546102c9908363ffffffff61069216565b600160a060020a0380861660009081526001602052604080822093909355908516815220546102fe908363ffffffff6106a416565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610346908363ffffffff61069216565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561041057600160a060020a033381166000908152600260209081526040808320938816835292905290812055610447565b610420818463ffffffff61069216565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b6000600160a060020a03831615156104df57600080fd5b600160a060020a03331660009081526001602052604090205482111561050457600080fd5b600160a060020a03331660009081526001602052604090205461052d908363ffffffff61069216565b600160a060020a033381166000908152600160205260408082209390935590851681522054610562908363ffffffff6106a416565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120546105fb908363ffffffff6106a416565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60008282111561069e57fe5b50900390565b6000828201838110156106b357fe5b93925050505600a165627a7a72305820a645d5da9f5011420615a0c851540ffad69516d2d54c14a241b6206f5ae592ac0029", - "sourceMap": "345:2984:35:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "345:2984:35:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1799:183;;;;;;;;;;-1:-1:-1;;;;;1799:183:35;;;;;;;;;;;;;;;;;;;;;;;;179:26:33;;;;;;;;;;;;;;;;;;;;;;;;;;;737:439:35;;;;;;;;;;-1:-1:-1;;;;;737:439:35;;;;;;;;;;;;2928:398;;;;;;;;;;-1:-1:-1;;;;;2928:398:35;;;;;;;1018:107:30;;;;;;;;;;-1:-1:-1;;;;;1018:107:30;;;;;437:379;;;;;;;;;;-1:-1:-1;;;;;437:379:30;;;;;;;2667:257:35;;;;;;;;;;-1:-1:-1;;;;;2667:257:35;;;;;;;2301:126;;;;;;;;;;-1:-1:-1;;;;;2301:126:35;;;;;;;;;;1799:183;-1:-1:-1;;;;;1886:10:35;1878:19;;1866:4;1878:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;;:38;;;1866:4;;1878:29;:19;1922:38;;1910:6;;1922:38;;;;;;;;;;;;;-1:-1:-1;1973:4:35;1799:183;;;;:::o;179:26:33:-;;;;:::o;737:439:35:-;819:4;-1:-1:-1;;;;;839:17:35;;;;831:26;;;;;;-1:-1:-1;;;;;881:15:35;;;;;;:8;:15;;;;;;871:25;;;863:34;;;;;;-1:-1:-1;;;;;921:14:35;;;;;;;:7;:14;;;;;;;;936:10;921:26;;;;;;;;;;911:36;;;903:45;;;;;;-1:-1:-1;;;;;973:15:35;;;;;;:8;:15;;;;;;:27;;993:6;973:27;:19;:27;:::i;:::-;-1:-1:-1;;;;;955:15:35;;;;;;;:8;:15;;;;;;:45;;;;1022:13;;;;;;;:25;;1040:6;1022:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;1006:13:35;;;;;;;:8;:13;;;;;;;;:41;;;;1082:14;;;;;:7;:14;;;;;1097:10;1082:26;;;;;;;;;;;:38;;1113:6;1082:38;:30;:38;:::i;:::-;-1:-1:-1;;;;;1053:14:35;;;;;;;:7;:14;;;;;;;;1068:10;1053:26;;;;;;;;;;;:67;;;;1126:28;;;;;;1147:6;;1126:28;;;;;;;;;;;;;-1:-1:-1;1167:4:35;737:439;;;;;:::o;2928:398::-;-1:-1:-1;;;;;3047:10:35;3039:19;;3011:4;3039:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;3078:27;;;3074:164;;;-1:-1:-1;;;;;3123:10:35;3115:19;;3147:1;3115:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;:33;3074:164;;;3201:30;:8;3214:16;3201:30;:12;:30;:::i;:::-;-1:-1:-1;;;;;3177:10:35;3169:19;;;;;;:7;:19;;;;;;;;:29;;;;;;;;;:62;3074:164;-1:-1:-1;;;;;3252:10:35;3243:61;;3274:19;;;;:7;:19;;;;;;;;3243:61;;;3274:29;;;;;;;;;;;;3243:61;;;;;;;;;;;;;;;-1:-1:-1;3317:4:35;;2928:398;-1:-1:-1;;;2928:398:35:o;1018:107:30:-;-1:-1:-1;;;;;1104:16:30;1074:15;1104:16;;;:8;:16;;;;;;;1018:107::o;437:379::-;500:4;-1:-1:-1;;;;;520:17:30;;;;512:26;;;;;;-1:-1:-1;;;;;571:10:30;562:20;;;;;:8;:20;;;;;;552:30;;;544:39;;;;;;-1:-1:-1;;;;;685:10:30;676:20;;;;;:8;:20;;;;;;:32;;701:6;676:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;662:10:30;653:20;;;;;;:8;:20;;;;;;:55;;;;730:13;;;;;;;:25;;748:6;730:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;714:13:30;;;;;;;:8;:13;;;;;;;:41;;;;:13;770:10;761:33;;;;;;787:6;;761:33;;;;;;;;;;;;;-1:-1:-1;807:4:30;437:379;;;;:::o;2667:257:35:-;-1:-1:-1;;;;;2797:10:35;2789:19;;2745:4;2789:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;:46;;2823:11;2789:46;:33;:46;:::i;:::-;-1:-1:-1;;;;;2765:10:35;2757:19;;;;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;;;:78;;;:29;;:19;;2841:61;;2757:78;2841:61;;;;;;;;;;;;;-1:-1:-1;2915:4:35;2667:257;;;;:::o;2301:126::-;-1:-1:-1;;;;;2397:15:35;;;2375:7;2397:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;2301:126::o;584:110:28:-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;698:129::-;756:7;783:5;;;801:6;;;;794:14;;;;821:1;698:129;-1:-1:-1;;;698:129:28:o", - "source": "pragma solidity ^0.4.18;\n\n\nimport './BasicToken.sol';\nimport './ERC20.sol';\n\n\n/**\n * @title Standard ERC20 token\n *\n * @dev Implementation of the basic standard token.\n * @dev https://github.com/ethereum/EIPs/issues/20\n * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol\n */\ncontract StandardToken is ERC20, BasicToken {\n\n mapping (address => mapping (address => uint256)) internal allowed;\n\n\n /**\n * @dev Transfer tokens from one address to another\n * @param _from address The address which you want to send tokens from\n * @param _to address The address which you want to transfer to\n * @param _value uint256 the amount of tokens to be transferred\n */\n function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {\n require(_to != address(0));\n require(_value <= balances[_from]);\n require(_value <= allowed[_from][msg.sender]);\n\n balances[_from] = balances[_from].sub(_value);\n balances[_to] = balances[_to].add(_value);\n allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);\n Transfer(_from, _to, _value);\n return true;\n }\n\n /**\n * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.\n *\n * Beware that changing an allowance with this method brings the risk that someone may use both the old\n * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this\n * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n * @param _spender The address which will spend the funds.\n * @param _value The amount of tokens to be spent.\n */\n function approve(address _spender, uint256 _value) public returns (bool) {\n allowed[msg.sender][_spender] = _value;\n Approval(msg.sender, _spender, _value);\n return true;\n }\n\n /**\n * @dev Function to check the amount of tokens that an owner allowed to a spender.\n * @param _owner address The address which owns the funds.\n * @param _spender address The address which will spend the funds.\n * @return A uint256 specifying the amount of tokens still available for the spender.\n */\n function allowance(address _owner, address _spender) public view returns (uint256) {\n return allowed[_owner][_spender];\n }\n\n /**\n * approve should be called when allowed[_spender] == 0. To increment\n * allowed value is better to use this function to avoid 2 calls (and wait until\n * the first transaction is mined)\n * From MonolithDAO Token.sol\n */\n function increaseApproval(address _spender, uint _addedValue) public returns (bool) {\n allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);\n Approval(msg.sender, _spender, allowed[msg.sender][_spender]);\n return true;\n }\n\n function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {\n uint oldValue = allowed[msg.sender][_spender];\n if (_subtractedValue > oldValue) {\n allowed[msg.sender][_spender] = 0;\n } else {\n allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);\n }\n Approval(msg.sender, _spender, allowed[msg.sender][_spender]);\n return true;\n }\n\n}\n", - "sourcePath": "zeppelin-solidity/contracts/token/StandardToken.sol", - "ast": { - "attributes": { - "absolutePath": "zeppelin-solidity/contracts/token/StandardToken.sol", - "exportedSymbols": { - "StandardToken": [ - 9700 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 9456, - "name": "PragmaDirective", - "src": "0:24:35" - }, - { - "attributes": { - "SourceUnit": 9227, - "absolutePath": "zeppelin-solidity/contracts/token/BasicToken.sol", - "file": "./BasicToken.sol", - "scope": 9701, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 9457, - "name": "ImportDirective", - "src": "27:26:35" - }, - { - "attributes": { - "SourceUnit": 9331, - "absolutePath": "zeppelin-solidity/contracts/token/ERC20.sol", - "file": "./ERC20.sol", - "scope": 9701, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 9458, - "name": "ImportDirective", - "src": "54:21:35" - }, - { - "attributes": { - "contractDependencies": [ - 9226, - 9330, - 9359 - ], - "contractKind": "contract", - "documentation": "@title Standard ERC20 token\n * @dev Implementation of the basic standard token.\n@dev https://github.com/ethereum/EIPs/issues/20\n@dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 9700, - 9226, - 9330, - 9359 - ], - "name": "StandardToken", - "scope": 9701 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ERC20", - "referencedDeclaration": 9330, - "type": "contract ERC20" - }, - "id": 9459, - "name": "UserDefinedTypeName", - "src": "371:5:35" - } - ], - "id": 9460, - "name": "InheritanceSpecifier", - "src": "371:5:35" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "BasicToken", - "referencedDeclaration": 9226, - "type": "contract BasicToken" - }, - "id": 9461, - "name": "UserDefinedTypeName", - "src": "378:10:35" - } - ], - "id": 9462, - "name": "InheritanceSpecifier", - "src": "378:10:35" - }, - { - "attributes": { - "constant": false, - "name": "allowed", - "scope": 9700, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => mapping(address => uint256))", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => mapping(address => uint256))" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9463, - "name": "ElementaryTypeName", - "src": "403:7:35" - }, - { - "attributes": { - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9464, - "name": "ElementaryTypeName", - "src": "423:7:35" - }, - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9465, - "name": "ElementaryTypeName", - "src": "434:7:35" - } - ], - "id": 9466, - "name": "Mapping", - "src": "414:28:35" - } - ], - "id": 9467, - "name": "Mapping", - "src": "394:49:35" - } - ], - "id": 9468, - "name": "VariableDeclaration", - "src": "394:66:35" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "transferFrom", - "payable": false, - "scope": 9700, - "stateMutability": "nonpayable", - "superFunction": 9312, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_from", - "scope": 9554, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9469, - "name": "ElementaryTypeName", - "src": "759:7:35" - } - ], - "id": 9470, - "name": "VariableDeclaration", - "src": "759:13:35" - }, - { - "attributes": { - "constant": false, - "name": "_to", - "scope": 9554, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9471, - "name": "ElementaryTypeName", - "src": "774:7:35" - } - ], - "id": 9472, - "name": "VariableDeclaration", - "src": "774:11:35" - }, - { - "attributes": { - "constant": false, - "name": "_value", - "scope": 9554, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9473, - "name": "ElementaryTypeName", - "src": "787:7:35" - } - ], - "id": 9474, - "name": "VariableDeclaration", - "src": "787:14:35" - } - ], - "id": 9475, - "name": "ParameterList", - "src": "758:44:35" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9554, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9476, - "name": "ElementaryTypeName", - "src": "819:4:35" - } - ], - "id": 9477, - "name": "VariableDeclaration", - "src": "819:4:35" - } - ], - "id": 9478, - "name": "ParameterList", - "src": "818:6:35" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 9479, - "name": "Identifier", - "src": "831:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9472, - "type": "address", - "value": "_to" - }, - "id": 9480, - "name": "Identifier", - "src": "839:3:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 9481, - "name": "ElementaryTypeNameExpression", - "src": "846:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 9482, - "name": "Literal", - "src": "854:1:35" - } - ], - "id": 9483, - "name": "FunctionCall", - "src": "846:10:35" - } - ], - "id": 9484, - "name": "BinaryOperation", - "src": "839:17:35" - } - ], - "id": 9485, - "name": "FunctionCall", - "src": "831:26:35" - } - ], - "id": 9486, - "name": "ExpressionStatement", - "src": "831:26:35" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 9487, - "name": "Identifier", - "src": "863:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9474, - "type": "uint256", - "value": "_value" - }, - "id": 9488, - "name": "Identifier", - "src": "871:6:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9489, - "name": "Identifier", - "src": "881:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9470, - "type": "address", - "value": "_from" - }, - "id": 9490, - "name": "Identifier", - "src": "890:5:35" - } - ], - "id": 9491, - "name": "IndexAccess", - "src": "881:15:35" - } - ], - "id": 9492, - "name": "BinaryOperation", - "src": "871:25:35" - } - ], - "id": 9493, - "name": "FunctionCall", - "src": "863:34:35" - } - ], - "id": 9494, - "name": "ExpressionStatement", - "src": "863:34:35" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 9495, - "name": "Identifier", - "src": "903:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9474, - "type": "uint256", - "value": "_value" - }, - "id": 9496, - "name": "Identifier", - "src": "911:6:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9497, - "name": "Identifier", - "src": "921:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9470, - "type": "address", - "value": "_from" - }, - "id": 9498, - "name": "Identifier", - "src": "929:5:35" - } - ], - "id": 9499, - "name": "IndexAccess", - "src": "921:14:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9500, - "name": "Identifier", - "src": "936:3:35" - } - ], - "id": 9501, - "name": "MemberAccess", - "src": "936:10:35" - } - ], - "id": 9502, - "name": "IndexAccess", - "src": "921:26:35" - } - ], - "id": 9503, - "name": "BinaryOperation", - "src": "911:36:35" - } - ], - "id": 9504, - "name": "FunctionCall", - "src": "903:45:35" - } - ], - "id": 9505, - "name": "ExpressionStatement", - "src": "903:45:35" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9506, - "name": "Identifier", - "src": "955:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9470, - "type": "address", - "value": "_from" - }, - "id": 9507, - "name": "Identifier", - "src": "964:5:35" - } - ], - "id": 9508, - "name": "IndexAccess", - "src": "955:15:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9509, - "name": "Identifier", - "src": "973:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9470, - "type": "address", - "value": "_from" - }, - "id": 9510, - "name": "Identifier", - "src": "982:5:35" - } - ], - "id": 9511, - "name": "IndexAccess", - "src": "973:15:35" - } - ], - "id": 9512, - "name": "MemberAccess", - "src": "973:19:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9474, - "type": "uint256", - "value": "_value" - }, - "id": 9513, - "name": "Identifier", - "src": "993:6:35" - } - ], - "id": 9514, - "name": "FunctionCall", - "src": "973:27:35" - } - ], - "id": 9515, - "name": "Assignment", - "src": "955:45:35" - } - ], - "id": 9516, - "name": "ExpressionStatement", - "src": "955:45:35" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9517, - "name": "Identifier", - "src": "1006:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9472, - "type": "address", - "value": "_to" - }, - "id": 9518, - "name": "Identifier", - "src": "1015:3:35" - } - ], - "id": 9519, - "name": "IndexAccess", - "src": "1006:13:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9520, - "name": "Identifier", - "src": "1022:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9472, - "type": "address", - "value": "_to" - }, - "id": 9521, - "name": "Identifier", - "src": "1031:3:35" - } - ], - "id": 9522, - "name": "IndexAccess", - "src": "1022:13:35" - } - ], - "id": 9523, - "name": "MemberAccess", - "src": "1022:17:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9474, - "type": "uint256", - "value": "_value" - }, - "id": 9524, - "name": "Identifier", - "src": "1040:6:35" - } - ], - "id": 9525, - "name": "FunctionCall", - "src": "1022:25:35" - } - ], - "id": 9526, - "name": "Assignment", - "src": "1006:41:35" - } - ], - "id": 9527, - "name": "ExpressionStatement", - "src": "1006:41:35" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9528, - "name": "Identifier", - "src": "1053:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9470, - "type": "address", - "value": "_from" - }, - "id": 9529, - "name": "Identifier", - "src": "1061:5:35" - } - ], - "id": 9532, - "name": "IndexAccess", - "src": "1053:14:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9530, - "name": "Identifier", - "src": "1068:3:35" - } - ], - "id": 9531, - "name": "MemberAccess", - "src": "1068:10:35" - } - ], - "id": 9533, - "name": "IndexAccess", - "src": "1053:26:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9534, - "name": "Identifier", - "src": "1082:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9470, - "type": "address", - "value": "_from" - }, - "id": 9535, - "name": "Identifier", - "src": "1090:5:35" - } - ], - "id": 9536, - "name": "IndexAccess", - "src": "1082:14:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9537, - "name": "Identifier", - "src": "1097:3:35" - } - ], - "id": 9538, - "name": "MemberAccess", - "src": "1097:10:35" - } - ], - "id": 9539, - "name": "IndexAccess", - "src": "1082:26:35" - } - ], - "id": 9540, - "name": "MemberAccess", - "src": "1082:30:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9474, - "type": "uint256", - "value": "_value" - }, - "id": 9541, - "name": "Identifier", - "src": "1113:6:35" - } - ], - "id": 9542, - "name": "FunctionCall", - "src": "1082:38:35" - } - ], - "id": 9543, - "name": "Assignment", - "src": "1053:67:35" - } - ], - "id": 9544, - "name": "ExpressionStatement", - "src": "1053:67:35" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9358, - "type": "function (address,address,uint256)", - "value": "Transfer" - }, - "id": 9545, - "name": "Identifier", - "src": "1126:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9470, - "type": "address", - "value": "_from" - }, - "id": 9546, - "name": "Identifier", - "src": "1135:5:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9472, - "type": "address", - "value": "_to" - }, - "id": 9547, - "name": "Identifier", - "src": "1142:3:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9474, - "type": "uint256", - "value": "_value" - }, - "id": 9548, - "name": "Identifier", - "src": "1147:6:35" - } - ], - "id": 9549, - "name": "FunctionCall", - "src": "1126:28:35" - } - ], - "id": 9550, - "name": "ExpressionStatement", - "src": "1126:28:35" - }, - { - "attributes": { - "functionReturnParameters": 9478 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 9551, - "name": "Literal", - "src": "1167:4:35" - } - ], - "id": 9552, - "name": "Return", - "src": "1160:11:35" - } - ], - "id": 9553, - "name": "Block", - "src": "825:351:35" - } - ], - "id": 9554, - "name": "FunctionDefinition", - "src": "737:439:35" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "approve", - "payable": false, - "scope": 9700, - "stateMutability": "nonpayable", - "superFunction": 9321, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_spender", - "scope": 9582, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9555, - "name": "ElementaryTypeName", - "src": "1816:7:35" - } - ], - "id": 9556, - "name": "VariableDeclaration", - "src": "1816:16:35" - }, - { - "attributes": { - "constant": false, - "name": "_value", - "scope": 9582, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9557, - "name": "ElementaryTypeName", - "src": "1834:7:35" - } - ], - "id": 9558, - "name": "VariableDeclaration", - "src": "1834:14:35" - } - ], - "id": 9559, - "name": "ParameterList", - "src": "1815:34:35" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9582, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9560, - "name": "ElementaryTypeName", - "src": "1866:4:35" - } - ], - "id": 9561, - "name": "VariableDeclaration", - "src": "1866:4:35" - } - ], - "id": 9562, - "name": "ParameterList", - "src": "1865:6:35" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9563, - "name": "Identifier", - "src": "1878:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9564, - "name": "Identifier", - "src": "1886:3:35" - } - ], - "id": 9565, - "name": "MemberAccess", - "src": "1886:10:35" - } - ], - "id": 9567, - "name": "IndexAccess", - "src": "1878:19:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9556, - "type": "address", - "value": "_spender" - }, - "id": 9566, - "name": "Identifier", - "src": "1898:8:35" - } - ], - "id": 9568, - "name": "IndexAccess", - "src": "1878:29:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9558, - "type": "uint256", - "value": "_value" - }, - "id": 9569, - "name": "Identifier", - "src": "1910:6:35" - } - ], - "id": 9570, - "name": "Assignment", - "src": "1878:38:35" - } - ], - "id": 9571, - "name": "ExpressionStatement", - "src": "1878:38:35" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9329, - "type": "function (address,address,uint256)", - "value": "Approval" - }, - "id": 9572, - "name": "Identifier", - "src": "1922:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9573, - "name": "Identifier", - "src": "1931:3:35" - } - ], - "id": 9574, - "name": "MemberAccess", - "src": "1931:10:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9556, - "type": "address", - "value": "_spender" - }, - "id": 9575, - "name": "Identifier", - "src": "1943:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9558, - "type": "uint256", - "value": "_value" - }, - "id": 9576, - "name": "Identifier", - "src": "1953:6:35" - } - ], - "id": 9577, - "name": "FunctionCall", - "src": "1922:38:35" - } - ], - "id": 9578, - "name": "ExpressionStatement", - "src": "1922:38:35" - }, - { - "attributes": { - "functionReturnParameters": 9562 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 9579, - "name": "Literal", - "src": "1973:4:35" - } - ], - "id": 9580, - "name": "Return", - "src": "1966:11:35" - } - ], - "id": 9581, - "name": "Block", - "src": "1872:110:35" - } - ], - "id": 9582, - "name": "FunctionDefinition", - "src": "1799:183:35" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "allowance", - "payable": false, - "scope": 9700, - "stateMutability": "view", - "superFunction": 9301, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_owner", - "scope": 9598, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9583, - "name": "ElementaryTypeName", - "src": "2320:7:35" - } - ], - "id": 9584, - "name": "VariableDeclaration", - "src": "2320:14:35" - }, - { - "attributes": { - "constant": false, - "name": "_spender", - "scope": 9598, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9585, - "name": "ElementaryTypeName", - "src": "2336:7:35" - } - ], - "id": 9586, - "name": "VariableDeclaration", - "src": "2336:16:35" - } - ], - "id": 9587, - "name": "ParameterList", - "src": "2319:34:35" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9598, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9588, - "name": "ElementaryTypeName", - "src": "2375:7:35" - } - ], - "id": 9589, - "name": "VariableDeclaration", - "src": "2375:7:35" - } - ], - "id": 9590, - "name": "ParameterList", - "src": "2374:9:35" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 9590 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9591, - "name": "Identifier", - "src": "2397:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9584, - "type": "address", - "value": "_owner" - }, - "id": 9592, - "name": "Identifier", - "src": "2405:6:35" - } - ], - "id": 9593, - "name": "IndexAccess", - "src": "2397:15:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9586, - "type": "address", - "value": "_spender" - }, - "id": 9594, - "name": "Identifier", - "src": "2413:8:35" - } - ], - "id": 9595, - "name": "IndexAccess", - "src": "2397:25:35" - } - ], - "id": 9596, - "name": "Return", - "src": "2390:32:35" - } - ], - "id": 9597, - "name": "Block", - "src": "2384:43:35" - } - ], - "id": 9598, - "name": "FunctionDefinition", - "src": "2301:126:35" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "increaseApproval", - "payable": false, - "scope": 9700, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_spender", - "scope": 9639, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9599, - "name": "ElementaryTypeName", - "src": "2693:7:35" - } - ], - "id": 9600, - "name": "VariableDeclaration", - "src": "2693:16:35" - }, - { - "attributes": { - "constant": false, - "name": "_addedValue", - "scope": 9639, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 9601, - "name": "ElementaryTypeName", - "src": "2711:4:35" - } - ], - "id": 9602, - "name": "VariableDeclaration", - "src": "2711:16:35" - } - ], - "id": 9603, - "name": "ParameterList", - "src": "2692:36:35" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9639, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9604, - "name": "ElementaryTypeName", - "src": "2745:4:35" - } - ], - "id": 9605, - "name": "VariableDeclaration", - "src": "2745:4:35" - } - ], - "id": 9606, - "name": "ParameterList", - "src": "2744:6:35" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9607, - "name": "Identifier", - "src": "2757:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9608, - "name": "Identifier", - "src": "2765:3:35" - } - ], - "id": 9609, - "name": "MemberAccess", - "src": "2765:10:35" - } - ], - "id": 9611, - "name": "IndexAccess", - "src": "2757:19:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9600, - "type": "address", - "value": "_spender" - }, - "id": 9610, - "name": "Identifier", - "src": "2777:8:35" - } - ], - "id": 9612, - "name": "IndexAccess", - "src": "2757:29:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9613, - "name": "Identifier", - "src": "2789:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9614, - "name": "Identifier", - "src": "2797:3:35" - } - ], - "id": 9615, - "name": "MemberAccess", - "src": "2797:10:35" - } - ], - "id": 9616, - "name": "IndexAccess", - "src": "2789:19:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9600, - "type": "address", - "value": "_spender" - }, - "id": 9617, - "name": "Identifier", - "src": "2809:8:35" - } - ], - "id": 9618, - "name": "IndexAccess", - "src": "2789:29:35" - } - ], - "id": 9619, - "name": "MemberAccess", - "src": "2789:33:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9602, - "type": "uint256", - "value": "_addedValue" - }, - "id": 9620, - "name": "Identifier", - "src": "2823:11:35" - } - ], - "id": 9621, - "name": "FunctionCall", - "src": "2789:46:35" - } - ], - "id": 9622, - "name": "Assignment", - "src": "2757:78:35" - } - ], - "id": 9623, - "name": "ExpressionStatement", - "src": "2757:78:35" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9329, - "type": "function (address,address,uint256)", - "value": "Approval" - }, - "id": 9624, - "name": "Identifier", - "src": "2841:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9625, - "name": "Identifier", - "src": "2850:3:35" - } - ], - "id": 9626, - "name": "MemberAccess", - "src": "2850:10:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9600, - "type": "address", - "value": "_spender" - }, - "id": 9627, - "name": "Identifier", - "src": "2862:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9628, - "name": "Identifier", - "src": "2872:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9629, - "name": "Identifier", - "src": "2880:3:35" - } - ], - "id": 9630, - "name": "MemberAccess", - "src": "2880:10:35" - } - ], - "id": 9631, - "name": "IndexAccess", - "src": "2872:19:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9600, - "type": "address", - "value": "_spender" - }, - "id": 9632, - "name": "Identifier", - "src": "2892:8:35" - } - ], - "id": 9633, - "name": "IndexAccess", - "src": "2872:29:35" - } - ], - "id": 9634, - "name": "FunctionCall", - "src": "2841:61:35" - } - ], - "id": 9635, - "name": "ExpressionStatement", - "src": "2841:61:35" - }, - { - "attributes": { - "functionReturnParameters": 9606 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 9636, - "name": "Literal", - "src": "2915:4:35" - } - ], - "id": 9637, - "name": "Return", - "src": "2908:11:35" - } - ], - "id": 9638, - "name": "Block", - "src": "2751:173:35" - } - ], - "id": 9639, - "name": "FunctionDefinition", - "src": "2667:257:35" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "decreaseApproval", - "payable": false, - "scope": 9700, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_spender", - "scope": 9699, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9640, - "name": "ElementaryTypeName", - "src": "2954:7:35" - } - ], - "id": 9641, - "name": "VariableDeclaration", - "src": "2954:16:35" - }, - { - "attributes": { - "constant": false, - "name": "_subtractedValue", - "scope": 9699, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 9642, - "name": "ElementaryTypeName", - "src": "2972:4:35" - } - ], - "id": 9643, - "name": "VariableDeclaration", - "src": "2972:21:35" - } - ], - "id": 9644, - "name": "ParameterList", - "src": "2953:41:35" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 9699, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 9645, - "name": "ElementaryTypeName", - "src": "3011:4:35" - } - ], - "id": 9646, - "name": "VariableDeclaration", - "src": "3011:4:35" - } - ], - "id": 9647, - "name": "ParameterList", - "src": "3010:6:35" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 9649 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "oldValue", - "scope": 9699, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 9648, - "name": "ElementaryTypeName", - "src": "3023:4:35" - } - ], - "id": 9649, - "name": "VariableDeclaration", - "src": "3023:13:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9650, - "name": "Identifier", - "src": "3039:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9651, - "name": "Identifier", - "src": "3047:3:35" - } - ], - "id": 9652, - "name": "MemberAccess", - "src": "3047:10:35" - } - ], - "id": 9653, - "name": "IndexAccess", - "src": "3039:19:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9641, - "type": "address", - "value": "_spender" - }, - "id": 9654, - "name": "Identifier", - "src": "3059:8:35" - } - ], - "id": 9655, - "name": "IndexAccess", - "src": "3039:29:35" - } - ], - "id": 9656, - "name": "VariableDeclarationStatement", - "src": "3023:45:35" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9643, - "type": "uint256", - "value": "_subtractedValue" - }, - "id": 9657, - "name": "Identifier", - "src": "3078:16:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9649, - "type": "uint256", - "value": "oldValue" - }, - "id": 9658, - "name": "Identifier", - "src": "3097:8:35" - } - ], - "id": 9659, - "name": "BinaryOperation", - "src": "3078:27:35" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9660, - "name": "Identifier", - "src": "3115:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9661, - "name": "Identifier", - "src": "3123:3:35" - } - ], - "id": 9662, - "name": "MemberAccess", - "src": "3123:10:35" - } - ], - "id": 9664, - "name": "IndexAccess", - "src": "3115:19:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9641, - "type": "address", - "value": "_spender" - }, - "id": 9663, - "name": "Identifier", - "src": "3135:8:35" - } - ], - "id": 9665, - "name": "IndexAccess", - "src": "3115:29:35" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 9666, - "name": "Literal", - "src": "3147:1:35" - } - ], - "id": 9667, - "name": "Assignment", - "src": "3115:33:35" - } - ], - "id": 9668, - "name": "ExpressionStatement", - "src": "3115:33:35" - } - ], - "id": 9669, - "name": "Block", - "src": "3107:48:35" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9670, - "name": "Identifier", - "src": "3169:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9671, - "name": "Identifier", - "src": "3177:3:35" - } - ], - "id": 9672, - "name": "MemberAccess", - "src": "3177:10:35" - } - ], - "id": 9674, - "name": "IndexAccess", - "src": "3169:19:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9641, - "type": "address", - "value": "_spender" - }, - "id": 9673, - "name": "Identifier", - "src": "3189:8:35" - } - ], - "id": 9675, - "name": "IndexAccess", - "src": "3169:29:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9649, - "type": "uint256", - "value": "oldValue" - }, - "id": 9676, - "name": "Identifier", - "src": "3201:8:35" - } - ], - "id": 9677, - "name": "MemberAccess", - "src": "3201:12:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9643, - "type": "uint256", - "value": "_subtractedValue" - }, - "id": 9678, - "name": "Identifier", - "src": "3214:16:35" - } - ], - "id": 9679, - "name": "FunctionCall", - "src": "3201:30:35" - } - ], - "id": 9680, - "name": "Assignment", - "src": "3169:62:35" - } - ], - "id": 9681, - "name": "ExpressionStatement", - "src": "3169:62:35" - } - ], - "id": 9682, - "name": "Block", - "src": "3161:77:35" - } - ], - "id": 9683, - "name": "IfStatement", - "src": "3074:164:35" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9329, - "type": "function (address,address,uint256)", - "value": "Approval" - }, - "id": 9684, - "name": "Identifier", - "src": "3243:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9685, - "name": "Identifier", - "src": "3252:3:35" - } - ], - "id": 9686, - "name": "MemberAccess", - "src": "3252:10:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9641, - "type": "address", - "value": "_spender" - }, - "id": 9687, - "name": "Identifier", - "src": "3264:8:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(address => uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9468, - "type": "mapping(address => mapping(address => uint256))", - "value": "allowed" - }, - "id": 9688, - "name": "Identifier", - "src": "3274:7:35" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 9689, - "name": "Identifier", - "src": "3282:3:35" - } - ], - "id": 9690, - "name": "MemberAccess", - "src": "3282:10:35" - } - ], - "id": 9691, - "name": "IndexAccess", - "src": "3274:19:35" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9641, - "type": "address", - "value": "_spender" - }, - "id": 9692, - "name": "Identifier", - "src": "3294:8:35" - } - ], - "id": 9693, - "name": "IndexAccess", - "src": "3274:29:35" - } - ], - "id": 9694, - "name": "FunctionCall", - "src": "3243:61:35" - } - ], - "id": 9695, - "name": "ExpressionStatement", - "src": "3243:61:35" - }, - { - "attributes": { - "functionReturnParameters": 9647 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 9696, - "name": "Literal", - "src": "3317:4:35" - } - ], - "id": 9697, - "name": "Return", - "src": "3310:11:35" - } - ], - "id": 9698, - "name": "Block", - "src": "3017:309:35" - } - ], - "id": 9699, - "name": "FunctionDefinition", - "src": "2928:398:35" - } - ], - "id": 9700, - "name": "ContractDefinition", - "src": "345:2984:35" - } - ], - "id": 9701, - "name": "SourceUnit", - "src": "0:3330:35" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.987Z" -} \ No newline at end of file diff --git a/contracts/StandardTokenMock.json b/contracts/StandardTokenMock.json deleted file mode 100644 index dc392952c..000000000 --- a/contracts/StandardTokenMock.json +++ /dev/null @@ -1,574 +0,0 @@ -{ - "contractName": "StandardTokenMock", - "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": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseApproval", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "balance", - "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": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_addedValue", - "type": "uint256" - } - ], - "name": "increaseApproval", - "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" - }, - { - "inputs": [ - { - "name": "initialAccount", - "type": "address" - }, - { - "name": "initialBalance", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "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" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6040516040806107408339810160405280805191906020018051600160a060020a0390931660009081526001602052604081208490559290925550506106e68061005a6000396000f30060606040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663095ea7b3811461009257806318160ddd146100c857806323b872dd146100ed578063661884631461011557806370a0823114610137578063a9059cbb14610156578063d73dd62314610178578063dd62ed3e1461019a575b600080fd5b341561009d57600080fd5b6100b4600160a060020a03600435166024356101bf565b604051901515815260200160405180910390f35b34156100d357600080fd5b6100db61022b565b60405190815260200160405180910390f35b34156100f857600080fd5b6100b4600160a060020a0360043581169060243516604435610231565b341561012057600080fd5b6100b4600160a060020a03600435166024356103b3565b341561014257600080fd5b6100db600160a060020a03600435166104ad565b341561016157600080fd5b6100b4600160a060020a03600435166024356104c8565b341561018357600080fd5b6100b4600160a060020a03600435166024356105c3565b34156101a557600080fd5b6100db600160a060020a0360043581169060243516610667565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a038316151561024857600080fd5b600160a060020a03841660009081526001602052604090205482111561026d57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156102a057600080fd5b600160a060020a0384166000908152600160205260409020546102c9908363ffffffff61069216565b600160a060020a0380861660009081526001602052604080822093909355908516815220546102fe908363ffffffff6106a416565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610346908363ffffffff61069216565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561041057600160a060020a033381166000908152600260209081526040808320938816835292905290812055610447565b610420818463ffffffff61069216565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b6000600160a060020a03831615156104df57600080fd5b600160a060020a03331660009081526001602052604090205482111561050457600080fd5b600160a060020a03331660009081526001602052604090205461052d908363ffffffff61069216565b600160a060020a033381166000908152600160205260408082209390935590851681522054610562908363ffffffff6106a416565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120546105fb908363ffffffff6106a416565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60008282111561069e57fe5b50900390565b6000828201838110156106b357fe5b93925050505600a165627a7a7230582041443a4e15265356f1976a41d0a957fcd25fe20778a8babaf6975ea30591b16a0029", - "deployedBytecode": "0x60606040526004361061008d5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663095ea7b3811461009257806318160ddd146100c857806323b872dd146100ed578063661884631461011557806370a0823114610137578063a9059cbb14610156578063d73dd62314610178578063dd62ed3e1461019a575b600080fd5b341561009d57600080fd5b6100b4600160a060020a03600435166024356101bf565b604051901515815260200160405180910390f35b34156100d357600080fd5b6100db61022b565b60405190815260200160405180910390f35b34156100f857600080fd5b6100b4600160a060020a0360043581169060243516604435610231565b341561012057600080fd5b6100b4600160a060020a03600435166024356103b3565b341561014257600080fd5b6100db600160a060020a03600435166104ad565b341561016157600080fd5b6100b4600160a060020a03600435166024356104c8565b341561018357600080fd5b6100b4600160a060020a03600435166024356105c3565b34156101a557600080fd5b6100db600160a060020a0360043581169060243516610667565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a038316151561024857600080fd5b600160a060020a03841660009081526001602052604090205482111561026d57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156102a057600080fd5b600160a060020a0384166000908152600160205260409020546102c9908363ffffffff61069216565b600160a060020a0380861660009081526001602052604080822093909355908516815220546102fe908363ffffffff6106a416565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610346908363ffffffff61069216565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561041057600160a060020a033381166000908152600260209081526040808320938816835292905290812055610447565b610420818463ffffffff61069216565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b6000600160a060020a03831615156104df57600080fd5b600160a060020a03331660009081526001602052604090205482111561050457600080fd5b600160a060020a03331660009081526001602052604090205461052d908363ffffffff61069216565b600160a060020a033381166000908152600160205260408082209390935590851681522054610562908363ffffffff6106a416565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120546105fb908363ffffffff6106a416565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60008282111561069e57fe5b50900390565b6000828201838110156106b357fe5b93925050505600a165627a7a7230582041443a4e15265356f1976a41d0a957fcd25fe20778a8babaf6975ea30591b16a0029", - "sourceMap": "113:220:36:-;;;162:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;250:24:36;;;;;;;:8;162:168;250:24;;;;:41;;;297:28;;;;-1:-1:-1;;113:220:36;;;;;;", - "deployedSourceMap": "113:220:36:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1799:183:35;;;;;;;;;;-1:-1:-1;;;;;1799:183:35;;;;;;;;;;;;;;;;;;;;;;;;179:26:33;;;;;;;;;;;;;;;;;;;;;;;;;;;737:439:35;;;;;;;;;;-1:-1:-1;;;;;737:439:35;;;;;;;;;;;;2928:398;;;;;;;;;;-1:-1:-1;;;;;2928:398:35;;;;;;;1018:107:30;;;;;;;;;;-1:-1:-1;;;;;1018:107:30;;;;;437:379;;;;;;;;;;-1:-1:-1;;;;;437:379:30;;;;;;;2667:257:35;;;;;;;;;;-1:-1:-1;;;;;2667:257:35;;;;;;;2301:126;;;;;;;;;;-1:-1:-1;;;;;2301:126:35;;;;;;;;;;1799:183;-1:-1:-1;;;;;1886:10:35;1878:19;;1866:4;1878:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;;:38;;;1866:4;;1878:29;:19;1922:38;;1910:6;;1922:38;;;;;;;;;;;;;-1:-1:-1;1973:4:35;1799:183;;;;:::o;179:26:33:-;;;;:::o;737:439:35:-;819:4;-1:-1:-1;;;;;839:17:35;;;;831:26;;;;;;-1:-1:-1;;;;;881:15:35;;;;;;:8;:15;;;;;;871:25;;;863:34;;;;;;-1:-1:-1;;;;;921:14:35;;;;;;;:7;:14;;;;;;;;936:10;921:26;;;;;;;;;;911:36;;;903:45;;;;;;-1:-1:-1;;;;;973:15:35;;;;;;:8;:15;;;;;;:27;;993:6;973:27;:19;:27;:::i;:::-;-1:-1:-1;;;;;955:15:35;;;;;;;:8;:15;;;;;;:45;;;;1022:13;;;;;;;:25;;1040:6;1022:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;1006:13:35;;;;;;;:8;:13;;;;;;;;:41;;;;1082:14;;;;;:7;:14;;;;;1097:10;1082:26;;;;;;;;;;;:38;;1113:6;1082:38;:30;:38;:::i;:::-;-1:-1:-1;;;;;1053:14:35;;;;;;;:7;:14;;;;;;;;1068:10;1053:26;;;;;;;;;;;:67;;;;1126:28;;;;;;1147:6;;1126:28;;;;;;;;;;;;;-1:-1:-1;1167:4:35;737:439;;;;;:::o;2928:398::-;-1:-1:-1;;;;;3047:10:35;3039:19;;3011:4;3039:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;3078:27;;;3074:164;;;-1:-1:-1;;;;;3123:10:35;3115:19;;3147:1;3115:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;:33;3074:164;;;3201:30;:8;3214:16;3201:30;:12;:30;:::i;:::-;-1:-1:-1;;;;;3177:10:35;3169:19;;;;;;:7;:19;;;;;;;;:29;;;;;;;;;:62;3074:164;-1:-1:-1;;;;;3252:10:35;3243:61;;3274:19;;;;:7;:19;;;;;;;;3243:61;;;3274:29;;;;;;;;;;;;3243:61;;;;;;;;;;;;;;;-1:-1:-1;3317:4:35;;2928:398;-1:-1:-1;;;2928:398:35:o;1018:107:30:-;-1:-1:-1;;;;;1104:16:30;1074:15;1104:16;;;:8;:16;;;;;;;1018:107::o;437:379::-;500:4;-1:-1:-1;;;;;520:17:30;;;;512:26;;;;;;-1:-1:-1;;;;;571:10:30;562:20;;;;;:8;:20;;;;;;552:30;;;544:39;;;;;;-1:-1:-1;;;;;685:10:30;676:20;;;;;:8;:20;;;;;;:32;;701:6;676:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;662:10:30;653:20;;;;;;:8;:20;;;;;;:55;;;;730:13;;;;;;;:25;;748:6;730:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;714:13:30;;;;;;;:8;:13;;;;;;;:41;;;;:13;770:10;761:33;;;;;;787:6;;761:33;;;;;;;;;;;;;-1:-1:-1;807:4:30;437:379;;;;:::o;2667:257:35:-;-1:-1:-1;;;;;2797:10:35;2789:19;;2745:4;2789:19;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;:46;;2823:11;2789:46;:33;:46;:::i;:::-;-1:-1:-1;;;;;2765:10:35;2757:19;;;;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;;;:78;;;:29;;:19;;2841:61;;2757:78;2841:61;;;;;;;;;;;;;-1:-1:-1;2915:4:35;2667:257;;;;:::o;2301:126::-;-1:-1:-1;;;;;2397:15:35;;;2375:7;2397:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;2301:126::o;584:110:28:-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;698:129::-;756:7;783:5;;;801:6;;;;794:14;;;;821:1;698:129;-1:-1:-1;;;698:129:28:o", - "source": "pragma solidity ^0.4.18;\n\n\nimport '../../contracts/token/StandardToken.sol';\n\n\n// mock class using StandardToken\ncontract StandardTokenMock is StandardToken {\n\n function StandardTokenMock(address initialAccount, uint256 initialBalance) public {\n balances[initialAccount] = initialBalance;\n totalSupply = initialBalance;\n }\n\n}\n", - "sourcePath": "zeppelin-solidity/test/helpers/StandardTokenMock.sol", - "ast": { - "attributes": { - "absolutePath": "zeppelin-solidity/test/helpers/StandardTokenMock.sol", - "exportedSymbols": { - "StandardTokenMock": [ - 9724 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 9702, - "name": "PragmaDirective", - "src": "0:24:36" - }, - { - "attributes": { - "SourceUnit": 9701, - "absolutePath": "zeppelin-solidity/contracts/token/StandardToken.sol", - "file": "../../contracts/token/StandardToken.sol", - "scope": 9725, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 9703, - "name": "ImportDirective", - "src": "27:49:36" - }, - { - "attributes": { - "contractDependencies": [ - 9226, - 9330, - 9359, - 9700 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 9724, - 9700, - 9226, - 9330, - 9359 - ], - "name": "StandardTokenMock", - "scope": 9725 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 9704, - "name": "UserDefinedTypeName", - "src": "143:13:36" - } - ], - "id": 9705, - "name": "InheritanceSpecifier", - "src": "143:13:36" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "StandardTokenMock", - "payable": false, - "scope": 9724, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "initialAccount", - "scope": 9723, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 9706, - "name": "ElementaryTypeName", - "src": "189:7:36" - } - ], - "id": 9707, - "name": "VariableDeclaration", - "src": "189:22:36" - }, - { - "attributes": { - "constant": false, - "name": "initialBalance", - "scope": 9723, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 9708, - "name": "ElementaryTypeName", - "src": "213:7:36" - } - ], - "id": 9709, - "name": "VariableDeclaration", - "src": "213:22:36" - } - ], - "id": 9710, - "name": "ParameterList", - "src": "188:48:36" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 9711, - "name": "ParameterList", - "src": "244:0:36" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9153, - "type": "mapping(address => uint256)", - "value": "balances" - }, - "id": 9712, - "name": "Identifier", - "src": "250:8:36" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9707, - "type": "address", - "value": "initialAccount" - }, - "id": 9713, - "name": "Identifier", - "src": "259:14:36" - } - ], - "id": 9714, - "name": "IndexAccess", - "src": "250:24:36" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9709, - "type": "uint256", - "value": "initialBalance" - }, - "id": 9715, - "name": "Identifier", - "src": "277:14:36" - } - ], - "id": 9716, - "name": "Assignment", - "src": "250:41:36" - } - ], - "id": 9717, - "name": "ExpressionStatement", - "src": "250:41:36" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9334, - "type": "uint256", - "value": "totalSupply" - }, - "id": 9718, - "name": "Identifier", - "src": "297:11:36" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9709, - "type": "uint256", - "value": "initialBalance" - }, - "id": 9719, - "name": "Identifier", - "src": "311:14:36" - } - ], - "id": 9720, - "name": "Assignment", - "src": "297:28:36" - } - ], - "id": 9721, - "name": "ExpressionStatement", - "src": "297:28:36" - } - ], - "id": 9722, - "name": "Block", - "src": "244:86:36" - } - ], - "id": 9723, - "name": "FunctionDefinition", - "src": "162:168:36" - } - ], - "id": 9724, - "name": "ContractDefinition", - "src": "113:220:36" - } - ], - "id": 9725, - "name": "SourceUnit", - "src": "0:334:36" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.985Z" -} \ No newline at end of file diff --git a/contracts/TokenCapGC.json b/contracts/TokenCapGC.json deleted file mode 100644 index f85002a33..000000000 --- a/contracts/TokenCapGC.json +++ /dev/null @@ -1,1760 +0,0 @@ -{ - "contractName": "TokenCapGC", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "_paramsHash", - "type": "bytes32" - }, - { - "name": "", - "type": "bytes" - } - ], - "name": "post", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_token", - "type": "address" - }, - { - "name": "_cap", - "type": "uint256" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "bytes32" - }, - { - "name": "", - "type": "bytes" - } - ], - "name": "pre", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_token", - "type": "address" - }, - { - "name": "_cap", - "type": "uint256" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "params", - "outputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "cap", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6103958061001e6000396000f30060606040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab9b33a811461007157806378fc063c146100ea57806389eaee6a1461011e578063c419816114610183578063dc6ab527146101a5575b600080fd5b341561007c57600080fd5b6100d660048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101dd95505050505050565b604051901515815260200160405180910390f35b34156100f557600080fd5b61010c600160a060020a03600435166024356102aa565b60405190815260200160405180910390f35b341561012957600080fd5b6100d660048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506102e695505050505050565b341561018e57600080fd5b61010c600160a060020a03600435166024356102ef565b34156101b057600080fd5b6101bb600435610344565b604051600160a060020a03909216825260208201526040908101905180910390f35b600082815260208190526040812054600160a060020a0316158015906102925750600083815260208190526040808220600181015490549092600160a060020a03909116916318160ddd919051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561027557600080fd5b6102c65a03f1151561028657600080fd5b50505060405180519050115b1561029f575060006102a3565b5060015b9392505050565b60008282604051600160a060020a03929092166c0100000000000000000000000002825260148201526034016040518091039020905092915050565b60019392505050565b6000806102fc84846102aa565b60008181526020819052604090208054600160a060020a03871673ffffffffffffffffffffffffffffffffffffffff1990911617815560010184905591508190505092915050565b60006020819052908152604090208054600190910154600160a060020a0390911690825600a165627a7a72305820a471524965d97dd800769ff5e195c62fc15ba2cdc1d25e46958301c05c7aaa6c0029", - "deployedBytecode": "0x60606040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab9b33a811461007157806378fc063c146100ea57806389eaee6a1461011e578063c419816114610183578063dc6ab527146101a5575b600080fd5b341561007c57600080fd5b6100d660048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101dd95505050505050565b604051901515815260200160405180910390f35b34156100f557600080fd5b61010c600160a060020a03600435166024356102aa565b60405190815260200160405180910390f35b341561012957600080fd5b6100d660048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506102e695505050505050565b341561018e57600080fd5b61010c600160a060020a03600435166024356102ef565b34156101b057600080fd5b6101bb600435610344565b604051600160a060020a03909216825260208201526040908101905180910390f35b600082815260208190526040812054600160a060020a0316158015906102925750600083815260208190526040808220600181015490549092600160a060020a03909116916318160ddd919051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561027557600080fd5b6102c65a03f1151561028657600080fd5b50505060405180519050115b1561029f575060006102a3565b5060015b9392505050565b60008282604051600160a060020a03929092166c0100000000000000000000000002825260148201526034016040518091039020905092915050565b60019392505050565b6000806102fc84846102aa565b60008181526020819052604090208054600160a060020a03871673ffffffffffffffffffffffffffffffffffffffff1990911617815560010184905591508190505092915050565b60006020819052908152604090208054600190910154600160a060020a0390911690825600a165627a7a72305820a471524965d97dd800769ff5e195c62fc15ba2cdc1d25e46958301c05c7aaa6c0029", - "sourceMap": "210:1986:10:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "210:1986:10:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1897:296;;;;;;;;;;;;;-1:-1:-1;;;;;1897:296:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1897:296:10;;-1:-1:-1;1897:296:10;;-1:-1:-1;;;;;;1897:296:10;;;;;;;;;;;;;;;;;;1263:140;;;;;;;;;;-1:-1:-1;;;;;1263:140:10;;;;;;;;;;;;;;;;;;;;;;1601:94;;;;;;;;;;;;;-1:-1:-1;;;;;1601:94:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1601:94:10;;-1:-1:-1;1601:94:10;;-1:-1:-1;;;;;;1601:94:10;741:263;;;;;;;;;;-1:-1:-1;;;;;741:263:10;;;;;;;461:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;461:43:10;;;;;;;;;;;;;;;;;;;;1897:296;1968:4;1990:19;;;;;;;;;;:25;-1:-1:-1;;;;;1990:25:10;:45;;;;1989:132;;-1:-1:-1;2097:6:10;:19;;;;;;;;;;;:23;;;;2055:25;;2097:23;;-1:-1:-1;;;;;2055:25:10;;;;:37;;2097:6;2055:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:65;1989:132;1985:179;;;-1:-1:-1;2145:5:10;2138:12;;1985:179;-1:-1:-1;2181:4:10;1897:296;;;;;;:::o;1263:140::-;1343:7;1381:6;1389:4;1371:23;;-1:-1:-1;;;;;1371:23:10;;;;;;;;;;;;;;;;;;;;;1363:32;;1263:140;;;;:::o;1601:94::-;1683:4;1601:94;;;;;:::o;741:263::-;812:7;832:18;853:31;871:6;879:4;853:17;:31::i;:::-;895:6;:18;;;;;;;;;;:33;;-1:-1:-1;;;;;895:33:10;;-1:-1:-1;;895:33:10;;;;;;;939:22;:29;;;832:52;-1:-1:-1;832:52:10;;-1:-1:-1;741:263:10;;;;;:::o;461:43::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;461:43:10;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"zeppelin-solidity/contracts/token/StandardToken.sol\";\r\n\r\n\r\n/**\r\n * @title Token Cap Global Constraint\r\n * @dev A simple global contraint to cap the number of tokens.\r\n */\r\n\r\ncontract TokenCapGC {\r\n // A set of parameters, on which the cap will be checked:\r\n struct Parameters {\r\n StandardToken token;\r\n uint cap;\r\n }\r\n\r\n // Mapping from the hash of the parameters to the parameters themselves:\r\n mapping (bytes32=>Parameters) public params;\r\n\r\n\r\n /**\r\n * @dev adding a new set of parametrs\r\n * @param _token the token to add to the params.\r\n * @param _cap the cap to check the total supply against.\r\n * @return the calculated parameters hash\r\n */\r\n function setParameters(StandardToken _token, uint _cap) public returns(bytes32) {\r\n bytes32 paramsHash = getParametersHash(_token, _cap);\r\n params[paramsHash].token = _token;\r\n params[paramsHash].cap = _cap;\r\n return paramsHash;\r\n }\r\n\r\n /**\r\n * @dev calculate and returns the hash of the given parameters\r\n * @param _token the token to add to the params.\r\n * @param _cap the cap to check the total supply against.\r\n * @return the calculated parameters hash\r\n */\r\n function getParametersHash(StandardToken _token, uint _cap) public pure returns(bytes32) {\r\n return (keccak256(_token, _cap));\r\n }\r\n\r\n /**\r\n * @dev check the constraint after the action.\r\n * This global contraint only checks the state after the action, so here we just return true:\r\n * @return true\r\n */\r\n function pre(address, bytes32, bytes) public pure returns(bool) {\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev check the total supply cap.\r\n * @param _paramsHash the parameters hash to check the total supply cap against.\r\n * @return bool which represents a success\r\n */\r\n function post(address, bytes32 _paramsHash, bytes) public view returns(bool) {\r\n if ((params[_paramsHash].token != StandardToken(0)) &&\r\n ( params[_paramsHash].token.totalSupply() > params[_paramsHash].cap)) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\globalConstraints\\TokenCapGC.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/globalConstraints/TokenCapGC.sol", - "exportedSymbols": { - "TokenCapGC": [ - 4498 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 4384, - "name": "PragmaDirective", - "src": "0:24:10" - }, - { - "attributes": { - "SourceUnit": 9701, - "absolutePath": "zeppelin-solidity/contracts/token/StandardToken.sol", - "file": "zeppelin-solidity/contracts/token/StandardToken.sol", - "scope": 4499, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 4385, - "name": "ImportDirective", - "src": "28:61:10" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": "@title Token Cap Global Constraint\r\n@dev A simple global contraint to cap the number of tokens.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 4498 - ], - "name": "TokenCapGC", - "scope": 4499 - }, - "children": [ - { - "attributes": { - "canonicalName": "TokenCapGC.Parameters", - "name": "Parameters", - "scope": 4498, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "token", - "scope": 4390, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4386, - "name": "UserDefinedTypeName", - "src": "329:13:10" - } - ], - "id": 4387, - "name": "VariableDeclaration", - "src": "329:19:10" - }, - { - "attributes": { - "constant": false, - "name": "cap", - "scope": 4390, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4388, - "name": "ElementaryTypeName", - "src": "359:4:10" - } - ], - "id": 4389, - "name": "VariableDeclaration", - "src": "359:8:10" - } - ], - "id": 4390, - "name": "StructDefinition", - "src": "300:75:10" - }, - { - "attributes": { - "constant": false, - "name": "params", - "scope": 4498, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct TokenCapGC.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct TokenCapGC.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4391, - "name": "ElementaryTypeName", - "src": "470:7:10" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 4390, - "type": "struct TokenCapGC.Parameters storage pointer" - }, - "id": 4392, - "name": "UserDefinedTypeName", - "src": "479:10:10" - } - ], - "id": 4393, - "name": "Mapping", - "src": "461:29:10" - } - ], - "id": 4394, - "name": "VariableDeclaration", - "src": "461:43:10" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 4498, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_token", - "scope": 4427, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4395, - "name": "UserDefinedTypeName", - "src": "764:13:10" - } - ], - "id": 4396, - "name": "VariableDeclaration", - "src": "764:20:10" - }, - { - "attributes": { - "constant": false, - "name": "_cap", - "scope": 4427, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4397, - "name": "ElementaryTypeName", - "src": "786:4:10" - } - ], - "id": 4398, - "name": "VariableDeclaration", - "src": "786:9:10" - } - ], - "id": 4399, - "name": "ParameterList", - "src": "763:33:10" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4427, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4400, - "name": "ElementaryTypeName", - "src": "812:7:10" - } - ], - "id": 4401, - "name": "VariableDeclaration", - "src": "812:7:10" - } - ], - "id": 4402, - "name": "ParameterList", - "src": "811:9:10" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 4404 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 4427, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4403, - "name": "ElementaryTypeName", - "src": "832:7:10" - } - ], - "id": 4404, - "name": "VariableDeclaration", - "src": "832:18:10" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4443, - "type": "function (contract StandardToken,uint256) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 4405, - "name": "Identifier", - "src": "853:17:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4396, - "type": "contract StandardToken", - "value": "_token" - }, - "id": 4406, - "name": "Identifier", - "src": "871:6:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4398, - "type": "uint256", - "value": "_cap" - }, - "id": 4407, - "name": "Identifier", - "src": "879:4:10" - } - ], - "id": 4408, - "name": "FunctionCall", - "src": "853:31:10" - } - ], - "id": 4409, - "name": "VariableDeclarationStatement", - "src": "832:52:10" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "token", - "referencedDeclaration": 4387, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct TokenCapGC.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4394, - "type": "mapping(bytes32 => struct TokenCapGC.Parameters storage ref)", - "value": "params" - }, - "id": 4410, - "name": "Identifier", - "src": "895:6:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4404, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 4411, - "name": "Identifier", - "src": "902:10:10" - } - ], - "id": 4412, - "name": "IndexAccess", - "src": "895:18:10" - } - ], - "id": 4413, - "name": "MemberAccess", - "src": "895:24:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4396, - "type": "contract StandardToken", - "value": "_token" - }, - "id": 4414, - "name": "Identifier", - "src": "922:6:10" - } - ], - "id": 4415, - "name": "Assignment", - "src": "895:33:10" - } - ], - "id": 4416, - "name": "ExpressionStatement", - "src": "895:33:10" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "cap", - "referencedDeclaration": 4389, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct TokenCapGC.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4394, - "type": "mapping(bytes32 => struct TokenCapGC.Parameters storage ref)", - "value": "params" - }, - "id": 4417, - "name": "Identifier", - "src": "939:6:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4404, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 4418, - "name": "Identifier", - "src": "946:10:10" - } - ], - "id": 4419, - "name": "IndexAccess", - "src": "939:18:10" - } - ], - "id": 4420, - "name": "MemberAccess", - "src": "939:22:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4398, - "type": "uint256", - "value": "_cap" - }, - "id": 4421, - "name": "Identifier", - "src": "964:4:10" - } - ], - "id": 4422, - "name": "Assignment", - "src": "939:29:10" - } - ], - "id": 4423, - "name": "ExpressionStatement", - "src": "939:29:10" - }, - { - "attributes": { - "functionReturnParameters": 4402 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4404, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 4424, - "name": "Identifier", - "src": "986:10:10" - } - ], - "id": 4425, - "name": "Return", - "src": "979:17:10" - } - ], - "id": 4426, - "name": "Block", - "src": "821:183:10" - } - ], - "id": 4427, - "name": "FunctionDefinition", - "src": "741:263:10" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 4498, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_token", - "scope": 4443, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 4428, - "name": "UserDefinedTypeName", - "src": "1290:13:10" - } - ], - "id": 4429, - "name": "VariableDeclaration", - "src": "1290:20:10" - }, - { - "attributes": { - "constant": false, - "name": "_cap", - "scope": 4443, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 4430, - "name": "ElementaryTypeName", - "src": "1312:4:10" - } - ], - "id": 4431, - "name": "VariableDeclaration", - "src": "1312:9:10" - } - ], - "id": 4432, - "name": "ParameterList", - "src": "1289:33:10" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4443, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4433, - "name": "ElementaryTypeName", - "src": "1343:7:10" - } - ], - "id": 4434, - "name": "VariableDeclaration", - "src": "1343:7:10" - } - ], - "id": 4435, - "name": "ParameterList", - "src": "1342:9:10" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 4435 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 4436, - "name": "Identifier", - "src": "1371:9:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4429, - "type": "contract StandardToken", - "value": "_token" - }, - "id": 4437, - "name": "Identifier", - "src": "1381:6:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4431, - "type": "uint256", - "value": "_cap" - }, - "id": 4438, - "name": "Identifier", - "src": "1389:4:10" - } - ], - "id": 4439, - "name": "FunctionCall", - "src": "1371:23:10" - } - ], - "id": 4440, - "name": "TupleExpression", - "src": "1370:25:10" - } - ], - "id": 4441, - "name": "Return", - "src": "1363:32:10" - } - ], - "id": 4442, - "name": "Block", - "src": "1352:51:10" - } - ], - "id": 4443, - "name": "FunctionDefinition", - "src": "1263:140:10" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "pre", - "payable": false, - "scope": 4498, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4457, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4444, - "name": "ElementaryTypeName", - "src": "1614:7:10" - } - ], - "id": 4445, - "name": "VariableDeclaration", - "src": "1614:7:10" - }, - { - "attributes": { - "constant": false, - "name": "", - "scope": 4457, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4446, - "name": "ElementaryTypeName", - "src": "1623:7:10" - } - ], - "id": 4447, - "name": "VariableDeclaration", - "src": "1623:7:10" - }, - { - "attributes": { - "constant": false, - "name": "", - "scope": 4457, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes", - "type": "bytes storage pointer" - }, - "id": 4448, - "name": "ElementaryTypeName", - "src": "1632:5:10" - } - ], - "id": 4449, - "name": "VariableDeclaration", - "src": "1632:5:10" - } - ], - "id": 4450, - "name": "ParameterList", - "src": "1613:25:10" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4457, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4451, - "name": "ElementaryTypeName", - "src": "1659:4:10" - } - ], - "id": 4452, - "name": "VariableDeclaration", - "src": "1659:4:10" - } - ], - "id": 4453, - "name": "ParameterList", - "src": "1658:6:10" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 4453 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 4454, - "name": "Literal", - "src": "1683:4:10" - } - ], - "id": 4455, - "name": "Return", - "src": "1676:11:10" - } - ], - "id": 4456, - "name": "Block", - "src": "1665:30:10" - } - ], - "id": 4457, - "name": "FunctionDefinition", - "src": "1601:94:10" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "post", - "payable": false, - "scope": 4498, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4497, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 4458, - "name": "ElementaryTypeName", - "src": "1911:7:10" - } - ], - "id": 4459, - "name": "VariableDeclaration", - "src": "1911:7:10" - }, - { - "attributes": { - "constant": false, - "name": "_paramsHash", - "scope": 4497, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 4460, - "name": "ElementaryTypeName", - "src": "1920:7:10" - } - ], - "id": 4461, - "name": "VariableDeclaration", - "src": "1920:19:10" - }, - { - "attributes": { - "constant": false, - "name": "", - "scope": 4497, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes", - "type": "bytes storage pointer" - }, - "id": 4462, - "name": "ElementaryTypeName", - "src": "1941:5:10" - } - ], - "id": 4463, - "name": "VariableDeclaration", - "src": "1941:5:10" - } - ], - "id": 4464, - "name": "ParameterList", - "src": "1910:37:10" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 4497, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 4465, - "name": "ElementaryTypeName", - "src": "1968:4:10" - } - ], - "id": 4466, - "name": "VariableDeclaration", - "src": "1968:4:10" - } - ], - "id": 4467, - "name": "ParameterList", - "src": "1967:6:10" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "token", - "referencedDeclaration": 4387, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct TokenCapGC.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4394, - "type": "mapping(bytes32 => struct TokenCapGC.Parameters storage ref)", - "value": "params" - }, - "id": 4468, - "name": "Identifier", - "src": "1990:6:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4461, - "type": "bytes32", - "value": "_paramsHash" - }, - "id": 4469, - "name": "Identifier", - "src": "1997:11:10" - } - ], - "id": 4470, - "name": "IndexAccess", - "src": "1990:19:10" - } - ], - "id": 4471, - "name": "MemberAccess", - "src": "1990:25:10" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract StandardToken", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9700, - "type": "type(contract StandardToken)", - "value": "StandardToken" - }, - "id": 4472, - "name": "Identifier", - "src": "2019:13:10" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 4473, - "name": "Literal", - "src": "2033:1:10" - } - ], - "id": 4474, - "name": "FunctionCall", - "src": "2019:16:10" - } - ], - "id": 4475, - "name": "BinaryOperation", - "src": "1990:45:10" - } - ], - "id": 4476, - "name": "TupleExpression", - "src": "1989:47:10" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "totalSupply", - "referencedDeclaration": 9334, - "type": "function () view external returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "token", - "referencedDeclaration": 4387, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct TokenCapGC.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4394, - "type": "mapping(bytes32 => struct TokenCapGC.Parameters storage ref)", - "value": "params" - }, - "id": 4477, - "name": "Identifier", - "src": "2055:6:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4461, - "type": "bytes32", - "value": "_paramsHash" - }, - "id": 4478, - "name": "Identifier", - "src": "2062:11:10" - } - ], - "id": 4479, - "name": "IndexAccess", - "src": "2055:19:10" - } - ], - "id": 4480, - "name": "MemberAccess", - "src": "2055:25:10" - } - ], - "id": 4481, - "name": "MemberAccess", - "src": "2055:37:10" - } - ], - "id": 4482, - "name": "FunctionCall", - "src": "2055:39:10" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cap", - "referencedDeclaration": 4389, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct TokenCapGC.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4394, - "type": "mapping(bytes32 => struct TokenCapGC.Parameters storage ref)", - "value": "params" - }, - "id": 4483, - "name": "Identifier", - "src": "2097:6:10" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4461, - "type": "bytes32", - "value": "_paramsHash" - }, - "id": 4484, - "name": "Identifier", - "src": "2104:11:10" - } - ], - "id": 4485, - "name": "IndexAccess", - "src": "2097:19:10" - } - ], - "id": 4486, - "name": "MemberAccess", - "src": "2097:23:10" - } - ], - "id": 4487, - "name": "BinaryOperation", - "src": "2055:65:10" - } - ], - "id": 4488, - "name": "TupleExpression", - "src": "2053:68:10" - } - ], - "id": 4489, - "name": "BinaryOperation", - "src": "1989:132:10" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 4467 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 4490, - "name": "Literal", - "src": "2145:5:10" - } - ], - "id": 4491, - "name": "Return", - "src": "2138:12:10" - } - ], - "id": 4492, - "name": "Block", - "src": "2123:41:10" - } - ], - "id": 4493, - "name": "IfStatement", - "src": "1985:179:10" - }, - { - "attributes": { - "functionReturnParameters": 4467 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 4494, - "name": "Literal", - "src": "2181:4:10" - } - ], - "id": 4495, - "name": "Return", - "src": "2174:11:10" - } - ], - "id": 4496, - "name": "Block", - "src": "1974:219:10" - } - ], - "id": 4497, - "name": "FunctionDefinition", - "src": "1897:296:10" - } - ], - "id": 4498, - "name": "ContractDefinition", - "src": "210:1986:10" - } - ], - "id": 4499, - "name": "SourceUnit", - "src": "0:2198:10" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": { - "42": { - "events": {}, - "links": {}, - "address": "0xe1f1950f4f944d78ef4d89281f7673724cfd09be" - }, - "1512051714758": { - "events": {}, - "links": {}, - "address": "0x934be6d1c98dcf4360532217e1ac6c1e9b1866e2" - } - }, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.931Z" -} \ No newline at end of file diff --git a/contracts/UniversalScheme.json b/contracts/UniversalScheme.json deleted file mode 100644 index 4210dac33..000000000 --- a/contracts/UniversalScheme.json +++ /dev/null @@ -1,2126 +0,0 @@ -{ - "contractName": "UniversalScheme", - "abi": [ - { - "constant": true, - "inputs": [], - "name": "beneficiary", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "fee", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hashedParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x606060405260008054600160a060020a033316600160a060020a03199091161790556104c8806100306000396000f3006060604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166338af3eed81146100a85780634345a610146100d75780635a1f7406146101055780638da5cb5b1461013857806390be003c1461014b578063c3c5a5471461016a578063ddca3f4314610189578063e1758bd8146101ae578063f2fde38b146101c1578063f98e87ba146101e0575b600080fd5b34156100b357600080fd5b6100bb6101f3565b604051600160a060020a03909116815260200160405180910390f35b34156100e257600080fd5b610103600160a060020a036004358116906024359060443516606435610202565b005b341561011057600080fd5b610124600160a060020a0360043516610262565b604051901515815260200160405180910390f35b341561014357600080fd5b6100bb610277565b341561015657600080fd5b610103600160a060020a0360043516610286565b341561017557600080fd5b610124600160a060020a03600435166103c8565b341561019457600080fd5b61019c6103e6565b60405190815260200160405180910390f35b34156101b957600080fd5b6100bb6103ec565b34156101cc57600080fd5b610103600160a060020a03600435166103fb565b34156101eb57600080fd5b61019c610496565b600354600160a060020a031681565b60005433600160a060020a0390811691161461021d57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b600054600160a060020a031681565b60006002541180156102b15750600160a060020a03811660009081526005602052604090205460ff16155b1561036357600154600354600254600160a060020a03928316926323b872dd9285929116906000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561034757600080fd5b6102c65a03f1151561035857600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a0390811691161461041657600080fd5b600160a060020a038116151561042b57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600454815600a165627a7a72305820e4d37c92ccde28ffb7b540a6e3ff93ddc75b0bf5eaffd85be98ca41e597125900029", - "deployedBytecode": "0x6060604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166338af3eed81146100a85780634345a610146100d75780635a1f7406146101055780638da5cb5b1461013857806390be003c1461014b578063c3c5a5471461016a578063ddca3f4314610189578063e1758bd8146101ae578063f2fde38b146101c1578063f98e87ba146101e0575b600080fd5b34156100b357600080fd5b6100bb6101f3565b604051600160a060020a03909116815260200160405180910390f35b34156100e257600080fd5b610103600160a060020a036004358116906024359060443516606435610202565b005b341561011057600080fd5b610124600160a060020a0360043516610262565b604051901515815260200160405180910390f35b341561014357600080fd5b6100bb610277565b341561015657600080fd5b610103600160a060020a0360043516610286565b341561017557600080fd5b610124600160a060020a03600435166103c8565b341561019457600080fd5b61019c6103e6565b60405190815260200160405180910390f35b34156101b957600080fd5b6100bb6103ec565b34156101cc57600080fd5b610103600160a060020a03600435166103fb565b34156101eb57600080fd5b61019c610496565b600354600160a060020a031681565b60005433600160a060020a0390811691161461021d57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b600054600160a060020a031681565b60006002541180156102b15750600160a060020a03811660009081526005602052604090205460ff16155b1561036357600154600354600254600160a060020a03928316926323b872dd9285929116906000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561034757600080fd5b6102c65a03f1151561035857600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a0390811691161461041657600080fd5b600160a060020a038116151561042b57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600454815600a165627a7a72305820e4d37c92ccde28ffb7b540a6e3ff93ddc75b0bf5eaffd85be98ca41e597125900029", - "sourceMap": "274:1704:22:-;;;501:5:29;:18;;-1:-1:-1;;;;;509:10:29;501:18;-1:-1:-1;;;;;;501:18:29;;;;;;274:1704:22;;;;;;", - "deployedSourceMap": "274:1704:22:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;407:26;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:26:22;;;;;;;;;;;;;;1314:347;;;;;;;;;;-1:-1:-1;;;;;1314:347:22;;;;;;;;;;;;;;;;;591:43;;;;;;;;;;-1:-1:-1;;;;;591:43:22;;;;;;;;;;;;;;;;;;;;;;238:20:29;;;;;;;;;;;;866:315:22;;;;;;;;;;-1:-1:-1;;;;;866:315:22;;;;;1189:117;;;;;;;;;;-1:-1:-1;;;;;1189:117:22;;;;;385:15;;;;;;;;;;;;;;;;;;;;;;;;;;;346:32;;;;;;;;;;;;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;440:31:22;;;;;;;;;;;;407:26;;;-1:-1:-1;;;;;407:26:22;;:::o;1314:347::-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;591:43::-;;;;;;;;;;;;;;;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;866:315:22:-;980:1;974:3;;:7;973:39;;;;-1:-1:-1;;;;;;989:22:22;;;;;;:13;:22;;;;;;;;987:24;973:39;969:123;;;1029:11;;1063;;1076:3;;-1:-1:-1;;;;;1029:11:22;;;;:24;;1054:7;;1063:11;;;1029;:51;;;;;;;;;;;;;;-1:-1:-1;;;;;1029:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;969:123:22;-1:-1:-1;;;;;1102:22:22;;;;;;:13;:22;;;;;;;:29;;-1:-1:-1;;1102:29:22;1127:4;1102:29;;;1142:31;;1116:7;;1142:31;-1:-1:-1;;;;;1142:31:22;;;;;;;;;;;;;;866:315;:::o;1189:117::-;-1:-1:-1;;;;;1276:22:22;1252:4;1276:22;;;:13;:22;;;;;;;;;1189:117::o;385:15::-;;;;:::o;346:32::-;;;-1:-1:-1;;;;;346:32:22;;:::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;440:31:22:-;;;;:::o", - "source": "pragma solidity ^0.4.15;\r\n\r\nimport \"./UniversalSchemeInterface.sol\";\r\nimport \"../controller/Controller.sol\";\r\nimport \"../controller/Avatar.sol\";\r\nimport \"zeppelin-solidity/contracts/ownership/Ownable.sol\";\r\nimport \"zeppelin-solidity/contracts/token/StandardToken.sol\";\r\n\r\n\r\ncontract UniversalScheme is Ownable, UniversalSchemeInterface { //\r\n StandardToken public nativeToken;\r\n uint public fee;\r\n address public beneficiary;\r\n bytes32 public hashedParameters; // For other parameters.\r\n\r\n // A mapping from the organization (Avatar) address to the rergistration boolean\r\n mapping(address=>bool) public organizations;\r\n\r\n event OrganizationRegistered (address _avatar);\r\n event LogNewProposal(bytes32 proposalId);\r\n\r\n modifier onlyRegisteredOrganization(address avatar) {\r\n require(organizations[avatar]);\r\n _;\r\n }\r\n\r\n function registerOrganization(Avatar _avatar) public {\r\n // Pay fees for using scheme:\r\n if ((fee > 0) && (! organizations[_avatar])) {\r\n nativeToken.transferFrom(_avatar, beneficiary, fee);\r\n }\r\n organizations[_avatar] = true;\r\n OrganizationRegistered(_avatar);\r\n }\r\n\r\n function isRegistered(address _avatar) public constant returns(bool) {\r\n return organizations[_avatar];\r\n }\r\n\r\n function updateParameters(\r\n StandardToken _nativeToken,\r\n uint _fee,\r\n address _beneficiary,\r\n bytes32 _hashedParameters\r\n )\r\n public\r\n onlyOwner\r\n {\r\n nativeToken = _nativeToken;\r\n fee = _fee;\r\n beneficiary = _beneficiary;\r\n hashedParameters = _hashedParameters;\r\n }\r\n\r\n /**\r\n * @dev get the parameters for the current scheme from the controller\r\n */\r\n function getParametersFromController(Avatar _avatar) internal constant returns(bytes32) {\r\n Controller controller = Controller(_avatar.owner());\r\n return controller.getSchemeParameters(this);\r\n }\r\n\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\UniversalScheme.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "exportedSymbols": { - "UniversalScheme": [ - 7229 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".15" - ] - }, - "id": 7088, - "name": "PragmaDirective", - "src": "0:24:22" - }, - { - "attributes": { - "SourceUnit": 7260, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalSchemeInterface.sol", - "file": "./UniversalSchemeInterface.sol", - "scope": 7230, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7089, - "name": "ImportDirective", - "src": "28:40:22" - }, - { - "attributes": { - "SourceUnit": 4158, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Controller.sol", - "file": "../controller/Controller.sol", - "scope": 7230, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7090, - "name": "ImportDirective", - "src": "70:38:22" - }, - { - "attributes": { - "SourceUnit": 3073, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Avatar.sol", - "file": "../controller/Avatar.sol", - "scope": 7230, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7091, - "name": "ImportDirective", - "src": "110:34:22" - }, - { - "attributes": { - "SourceUnit": 9141, - "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "file": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "scope": 7230, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7092, - "name": "ImportDirective", - "src": "146:59:22" - }, - { - "attributes": { - "SourceUnit": 9701, - "absolutePath": "zeppelin-solidity/contracts/token/StandardToken.sol", - "file": "zeppelin-solidity/contracts/token/StandardToken.sol", - "scope": 7230, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7093, - "name": "ImportDirective", - "src": "207:61:22" - }, - { - "attributes": { - "contractDependencies": [ - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "linearizedBaseContracts": [ - 7229, - 7259, - 9140 - ], - "name": "UniversalScheme", - "scope": 7230 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Ownable", - "referencedDeclaration": 9140, - "type": "contract Ownable" - }, - "id": 7094, - "name": "UserDefinedTypeName", - "src": "302:7:22" - } - ], - "id": 7095, - "name": "InheritanceSpecifier", - "src": "302:7:22" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalSchemeInterface", - "referencedDeclaration": 7259, - "type": "contract UniversalSchemeInterface" - }, - "id": 7096, - "name": "UserDefinedTypeName", - "src": "311:24:22" - } - ], - "id": 7097, - "name": "InheritanceSpecifier", - "src": "311:24:22" - }, - { - "attributes": { - "constant": false, - "name": "nativeToken", - "scope": 7229, - "stateVariable": true, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 7098, - "name": "UserDefinedTypeName", - "src": "346:13:22" - } - ], - "id": 7099, - "name": "VariableDeclaration", - "src": "346:32:22" - }, - { - "attributes": { - "constant": false, - "name": "fee", - "scope": 7229, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7100, - "name": "ElementaryTypeName", - "src": "385:4:22" - } - ], - "id": 7101, - "name": "VariableDeclaration", - "src": "385:15:22" - }, - { - "attributes": { - "constant": false, - "name": "beneficiary", - "scope": 7229, - "stateVariable": true, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7102, - "name": "ElementaryTypeName", - "src": "407:7:22" - } - ], - "id": 7103, - "name": "VariableDeclaration", - "src": "407:26:22" - }, - { - "attributes": { - "constant": false, - "name": "hashedParameters", - "scope": 7229, - "stateVariable": true, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7104, - "name": "ElementaryTypeName", - "src": "440:7:22" - } - ], - "id": 7105, - "name": "VariableDeclaration", - "src": "440:31:22" - }, - { - "attributes": { - "constant": false, - "name": "organizations", - "scope": 7229, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => bool)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => bool)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7106, - "name": "ElementaryTypeName", - "src": "599:7:22" - }, - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 7107, - "name": "ElementaryTypeName", - "src": "608:4:22" - } - ], - "id": 7108, - "name": "Mapping", - "src": "591:22:22" - } - ], - "id": 7109, - "name": "VariableDeclaration", - "src": "591:43:22" - }, - { - "attributes": { - "anonymous": false, - "name": "OrganizationRegistered" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_avatar", - "scope": 7113, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7110, - "name": "ElementaryTypeName", - "src": "673:7:22" - } - ], - "id": 7111, - "name": "VariableDeclaration", - "src": "673:15:22" - } - ], - "id": 7112, - "name": "ParameterList", - "src": "672:17:22" - } - ], - "id": 7113, - "name": "EventDefinition", - "src": "643:47:22" - }, - { - "attributes": { - "anonymous": false, - "name": "LogNewProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": false, - "name": "proposalId", - "scope": 7117, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7114, - "name": "ElementaryTypeName", - "src": "717:7:22" - } - ], - "id": 7115, - "name": "VariableDeclaration", - "src": "717:18:22" - } - ], - "id": 7116, - "name": "ParameterList", - "src": "716:20:22" - } - ], - "id": 7117, - "name": "EventDefinition", - "src": "696:41:22" - }, - { - "attributes": { - "name": "onlyRegisteredOrganization", - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "avatar", - "scope": 7129, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7118, - "name": "ElementaryTypeName", - "src": "781:7:22" - } - ], - "id": 7119, - "name": "VariableDeclaration", - "src": "781:14:22" - } - ], - "id": 7120, - "name": "ParameterList", - "src": "780:16:22" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 7121, - "name": "Identifier", - "src": "808:7:22" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7109, - "type": "mapping(address => bool)", - "value": "organizations" - }, - "id": 7122, - "name": "Identifier", - "src": "816:13:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7119, - "type": "address", - "value": "avatar" - }, - "id": 7123, - "name": "Identifier", - "src": "830:6:22" - } - ], - "id": 7124, - "name": "IndexAccess", - "src": "816:21:22" - } - ], - "id": 7125, - "name": "FunctionCall", - "src": "808:30:22" - } - ], - "id": 7126, - "name": "ExpressionStatement", - "src": "808:30:22" - }, - { - "id": 7127, - "name": "PlaceholderStatement", - "src": "849:1:22" - } - ], - "id": 7128, - "name": "Block", - "src": "797:61:22" - } - ], - "id": 7129, - "name": "ModifierDefinition", - "src": "745:113:22" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "registerOrganization", - "payable": false, - "scope": 7229, - "stateMutability": "nonpayable", - "superFunction": 7251, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 7165, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 7130, - "name": "UserDefinedTypeName", - "src": "896:6:22" - } - ], - "id": 7131, - "name": "VariableDeclaration", - "src": "896:14:22" - } - ], - "id": 7132, - "name": "ParameterList", - "src": "895:16:22" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 7133, - "name": "ParameterList", - "src": "919:0:22" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "&&", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7101, - "type": "uint256", - "value": "fee" - }, - "id": 7134, - "name": "Identifier", - "src": "974:3:22" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 7135, - "name": "Literal", - "src": "980:1:22" - } - ], - "id": 7136, - "name": "BinaryOperation", - "src": "974:7:22" - } - ], - "id": 7137, - "name": "TupleExpression", - "src": "973:9:22" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7109, - "type": "mapping(address => bool)", - "value": "organizations" - }, - "id": 7138, - "name": "Identifier", - "src": "989:13:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7131, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7139, - "name": "Identifier", - "src": "1003:7:22" - } - ], - "id": 7140, - "name": "IndexAccess", - "src": "989:22:22" - } - ], - "id": 7141, - "name": "UnaryOperation", - "src": "987:24:22" - } - ], - "id": 7142, - "name": "TupleExpression", - "src": "986:26:22" - } - ], - "id": 7143, - "name": "BinaryOperation", - "src": "973:39:22" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferFrom", - "referencedDeclaration": 9554, - "type": "function (address,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7099, - "type": "contract StandardToken", - "value": "nativeToken" - }, - "id": 7144, - "name": "Identifier", - "src": "1029:11:22" - } - ], - "id": 7146, - "name": "MemberAccess", - "src": "1029:24:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7131, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7147, - "name": "Identifier", - "src": "1054:7:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7103, - "type": "address", - "value": "beneficiary" - }, - "id": 7148, - "name": "Identifier", - "src": "1063:11:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7101, - "type": "uint256", - "value": "fee" - }, - "id": 7149, - "name": "Identifier", - "src": "1076:3:22" - } - ], - "id": 7150, - "name": "FunctionCall", - "src": "1029:51:22" - } - ], - "id": 7151, - "name": "ExpressionStatement", - "src": "1029:51:22" - } - ], - "id": 7152, - "name": "Block", - "src": "1014:78:22" - } - ], - "id": 7153, - "name": "IfStatement", - "src": "969:123:22" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7109, - "type": "mapping(address => bool)", - "value": "organizations" - }, - "id": 7154, - "name": "Identifier", - "src": "1102:13:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7131, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7155, - "name": "Identifier", - "src": "1116:7:22" - } - ], - "id": 7156, - "name": "IndexAccess", - "src": "1102:22:22" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 7157, - "name": "Literal", - "src": "1127:4:22" - } - ], - "id": 7158, - "name": "Assignment", - "src": "1102:29:22" - } - ], - "id": 7159, - "name": "ExpressionStatement", - "src": "1102:29:22" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7113, - "type": "function (address)", - "value": "OrganizationRegistered" - }, - "id": 7160, - "name": "Identifier", - "src": "1142:22:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7131, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7161, - "name": "Identifier", - "src": "1165:7:22" - } - ], - "id": 7162, - "name": "FunctionCall", - "src": "1142:31:22" - } - ], - "id": 7163, - "name": "ExpressionStatement", - "src": "1142:31:22" - } - ], - "id": 7164, - "name": "Block", - "src": "919:262:22" - } - ], - "id": 7165, - "name": "FunctionDefinition", - "src": "866:315:22" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "isRegistered", - "payable": false, - "scope": 7229, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 7177, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7166, - "name": "ElementaryTypeName", - "src": "1211:7:22" - } - ], - "id": 7167, - "name": "VariableDeclaration", - "src": "1211:15:22" - } - ], - "id": 7168, - "name": "ParameterList", - "src": "1210:17:22" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7177, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 7169, - "name": "ElementaryTypeName", - "src": "1252:4:22" - } - ], - "id": 7170, - "name": "VariableDeclaration", - "src": "1252:4:22" - } - ], - "id": 7171, - "name": "ParameterList", - "src": "1251:6:22" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 7171 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7109, - "type": "mapping(address => bool)", - "value": "organizations" - }, - "id": 7172, - "name": "Identifier", - "src": "1276:13:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7167, - "type": "address", - "value": "_avatar" - }, - "id": 7173, - "name": "Identifier", - "src": "1290:7:22" - } - ], - "id": 7174, - "name": "IndexAccess", - "src": "1276:22:22" - } - ], - "id": 7175, - "name": "Return", - "src": "1269:29:22" - } - ], - "id": 7176, - "name": "Block", - "src": "1258:48:22" - } - ], - "id": 7177, - "name": "FunctionDefinition", - "src": "1189:117:22" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "updateParameters", - "payable": false, - "scope": 7229, - "stateMutability": "nonpayable", - "superFunction": 7246, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 7207, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 7178, - "name": "UserDefinedTypeName", - "src": "1350:13:22" - } - ], - "id": 7179, - "name": "VariableDeclaration", - "src": "1350:26:22" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 7207, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7180, - "name": "ElementaryTypeName", - "src": "1387:4:22" - } - ], - "id": 7181, - "name": "VariableDeclaration", - "src": "1387:9:22" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 7207, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7182, - "name": "ElementaryTypeName", - "src": "1407:7:22" - } - ], - "id": 7183, - "name": "VariableDeclaration", - "src": "1407:20:22" - }, - { - "attributes": { - "constant": false, - "name": "_hashedParameters", - "scope": 7207, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7184, - "name": "ElementaryTypeName", - "src": "1438:7:22" - } - ], - "id": 7185, - "name": "VariableDeclaration", - "src": "1438:25:22" - } - ], - "id": 7186, - "name": "ParameterList", - "src": "1339:131:22" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 7189, - "name": "ParameterList", - "src": "1511:0:22" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9114, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 7187, - "name": "Identifier", - "src": "1496:9:22" - } - ], - "id": 7188, - "name": "ModifierInvocation", - "src": "1496:9:22" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7099, - "type": "contract StandardToken", - "value": "nativeToken" - }, - "id": 7190, - "name": "Identifier", - "src": "1522:11:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7179, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 7191, - "name": "Identifier", - "src": "1536:12:22" - } - ], - "id": 7192, - "name": "Assignment", - "src": "1522:26:22" - } - ], - "id": 7193, - "name": "ExpressionStatement", - "src": "1522:26:22" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7101, - "type": "uint256", - "value": "fee" - }, - "id": 7194, - "name": "Identifier", - "src": "1559:3:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7181, - "type": "uint256", - "value": "_fee" - }, - "id": 7195, - "name": "Identifier", - "src": "1565:4:22" - } - ], - "id": 7196, - "name": "Assignment", - "src": "1559:10:22" - } - ], - "id": 7197, - "name": "ExpressionStatement", - "src": "1559:10:22" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7103, - "type": "address", - "value": "beneficiary" - }, - "id": 7198, - "name": "Identifier", - "src": "1580:11:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7183, - "type": "address", - "value": "_beneficiary" - }, - "id": 7199, - "name": "Identifier", - "src": "1594:12:22" - } - ], - "id": 7200, - "name": "Assignment", - "src": "1580:26:22" - } - ], - "id": 7201, - "name": "ExpressionStatement", - "src": "1580:26:22" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7105, - "type": "bytes32", - "value": "hashedParameters" - }, - "id": 7202, - "name": "Identifier", - "src": "1617:16:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7185, - "type": "bytes32", - "value": "_hashedParameters" - }, - "id": 7203, - "name": "Identifier", - "src": "1636:17:22" - } - ], - "id": 7204, - "name": "Assignment", - "src": "1617:36:22" - } - ], - "id": 7205, - "name": "ExpressionStatement", - "src": "1617:36:22" - } - ], - "id": 7206, - "name": "Block", - "src": "1511:150:22" - } - ], - "id": 7207, - "name": "FunctionDefinition", - "src": "1314:347:22" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersFromController", - "payable": false, - "scope": 7229, - "stateMutability": "view", - "superFunction": 7258, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 7228, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 7208, - "name": "UserDefinedTypeName", - "src": "1798:6:22" - } - ], - "id": 7209, - "name": "VariableDeclaration", - "src": "1798:14:22" - } - ], - "id": 7210, - "name": "ParameterList", - "src": "1797:16:22" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7228, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7211, - "name": "ElementaryTypeName", - "src": "1840:7:22" - } - ], - "id": 7212, - "name": "VariableDeclaration", - "src": "1840:7:22" - } - ], - "id": 7213, - "name": "ParameterList", - "src": "1839:9:22" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 7215 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 7228, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 7214, - "name": "UserDefinedTypeName", - "src": "1860:10:22" - } - ], - "id": 7215, - "name": "VariableDeclaration", - "src": "1860:21:22" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 7216, - "name": "Identifier", - "src": "1884:10:22" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7209, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7217, - "name": "Identifier", - "src": "1895:7:22" - } - ], - "id": 7218, - "name": "MemberAccess", - "src": "1895:13:22" - } - ], - "id": 7219, - "name": "FunctionCall", - "src": "1895:15:22" - } - ], - "id": 7220, - "name": "FunctionCall", - "src": "1884:27:22" - } - ], - "id": 7221, - "name": "VariableDeclarationStatement", - "src": "1860:51:22" - }, - { - "attributes": { - "functionReturnParameters": 7213 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_UniversalScheme_$7229", - "typeString": "contract UniversalScheme" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "getSchemeParameters", - "referencedDeclaration": 3729, - "type": "function (address) view external returns (bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7215, - "type": "contract Controller", - "value": "controller" - }, - "id": 7222, - "name": "Identifier", - "src": "1929:10:22" - } - ], - "id": 7223, - "name": "MemberAccess", - "src": "1929:30:22" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9787, - "type": "contract UniversalScheme", - "value": "this" - }, - "id": 7224, - "name": "Identifier", - "src": "1960:4:22" - } - ], - "id": 7225, - "name": "FunctionCall", - "src": "1929:36:22" - } - ], - "id": 7226, - "name": "Return", - "src": "1922:43:22" - } - ], - "id": 7227, - "name": "Block", - "src": "1849:124:22" - } - ], - "id": 7228, - "name": "FunctionDefinition", - "src": "1761:212:22" - } - ], - "id": 7229, - "name": "ContractDefinition", - "src": "274:1704:22" - } - ], - "id": 7230, - "name": "SourceUnit", - "src": "0:1980:22" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.912Z" -} \ No newline at end of file diff --git a/contracts/UniversalSchemeInterface.json b/contracts/UniversalSchemeInterface.json deleted file mode 100644 index 7f4240848..000000000 --- a/contracts/UniversalSchemeInterface.json +++ /dev/null @@ -1,473 +0,0 @@ -{ - "contractName": "UniversalSchemeInterface", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "sourceMap": "", - "deployedSourceMap": "", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../controller/Controller.sol\";\r\nimport \"../controller/Avatar.sol\";\r\nimport \"zeppelin-solidity/contracts/ownership/Ownable.sol\";\r\nimport \"zeppelin-solidity/contracts/token/StandardToken.sol\";\r\n\r\n\r\ncontract UniversalSchemeInterface {\r\n\r\n function updateParameters(StandardToken _nativeToken, uint _fee, address _beneficiary, bytes32 _hashedParameters) public;\r\n\r\n function registerOrganization(Avatar _avatar) public;\r\n\r\n function getParametersFromController(Avatar _avatar) internal constant returns(bytes32);\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\UniversalSchemeInterface.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalSchemeInterface.sol", - "exportedSymbols": { - "UniversalSchemeInterface": [ - 7259 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 7231, - "name": "PragmaDirective", - "src": "0:24:23" - }, - { - "attributes": { - "SourceUnit": 4158, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Controller.sol", - "file": "../controller/Controller.sol", - "scope": 7260, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7232, - "name": "ImportDirective", - "src": "28:38:23" - }, - { - "attributes": { - "SourceUnit": 3073, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/controller/Avatar.sol", - "file": "../controller/Avatar.sol", - "scope": 7260, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7233, - "name": "ImportDirective", - "src": "68:34:23" - }, - { - "attributes": { - "SourceUnit": 9141, - "absolutePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "file": "zeppelin-solidity/contracts/ownership/Ownable.sol", - "scope": 7260, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7234, - "name": "ImportDirective", - "src": "104:59:23" - }, - { - "attributes": { - "SourceUnit": 9701, - "absolutePath": "zeppelin-solidity/contracts/token/StandardToken.sol", - "file": "zeppelin-solidity/contracts/token/StandardToken.sol", - "scope": 7260, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7235, - "name": "ImportDirective", - "src": "165:61:23" - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - null - ], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 7259 - ], - "name": "UniversalSchemeInterface", - "scope": 7260 - }, - "children": [ - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "updateParameters", - "payable": false, - "scope": 7259, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 7246, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 7236, - "name": "UserDefinedTypeName", - "src": "301:13:23" - } - ], - "id": 7237, - "name": "VariableDeclaration", - "src": "301:26:23" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 7246, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7238, - "name": "ElementaryTypeName", - "src": "329:4:23" - } - ], - "id": 7239, - "name": "VariableDeclaration", - "src": "329:9:23" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 7246, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7240, - "name": "ElementaryTypeName", - "src": "340:7:23" - } - ], - "id": 7241, - "name": "VariableDeclaration", - "src": "340:20:23" - }, - { - "attributes": { - "constant": false, - "name": "_hashedParameters", - "scope": 7246, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7242, - "name": "ElementaryTypeName", - "src": "362:7:23" - } - ], - "id": 7243, - "name": "VariableDeclaration", - "src": "362:25:23" - } - ], - "id": 7244, - "name": "ParameterList", - "src": "300:88:23" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 7245, - "name": "ParameterList", - "src": "395:0:23" - } - ], - "id": 7246, - "name": "FunctionDefinition", - "src": "275:121:23" - }, - { - "attributes": { - "body": null, - "constant": false, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "registerOrganization", - "payable": false, - "scope": 7259, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 7251, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 7247, - "name": "UserDefinedTypeName", - "src": "434:6:23" - } - ], - "id": 7248, - "name": "VariableDeclaration", - "src": "434:14:23" - } - ], - "id": 7249, - "name": "ParameterList", - "src": "433:16:23" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 7250, - "name": "ParameterList", - "src": "456:0:23" - } - ], - "id": 7251, - "name": "FunctionDefinition", - "src": "404:53:23" - }, - { - "attributes": { - "body": null, - "constant": true, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersFromController", - "payable": false, - "scope": 7259, - "stateMutability": "view", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 7258, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 7252, - "name": "UserDefinedTypeName", - "src": "502:6:23" - } - ], - "id": 7253, - "name": "VariableDeclaration", - "src": "502:14:23" - } - ], - "id": 7254, - "name": "ParameterList", - "src": "501:16:23" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7258, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7255, - "name": "ElementaryTypeName", - "src": "544:7:23" - } - ], - "id": 7256, - "name": "VariableDeclaration", - "src": "544:7:23" - } - ], - "id": 7257, - "name": "ParameterList", - "src": "543:9:23" - } - ], - "id": 7258, - "name": "FunctionDefinition", - "src": "465:88:23" - } - ], - "id": 7259, - "name": "ContractDefinition", - "src": "232:324:23" - } - ], - "id": 7260, - "name": "SourceUnit", - "src": "0:558:23" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.906Z" -} \ No newline at end of file diff --git a/contracts/UpgradeScheme.json b/contracts/UpgradeScheme.json deleted file mode 100644 index 47e4377f8..000000000 --- a/contracts/UpgradeScheme.json +++ /dev/null @@ -1,7337 +0,0 @@ -{ - "contractName": "UpgradeScheme", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "parameters", - "outputs": [ - { - "name": "voteParams", - "type": "bytes32" - }, - { - "name": "intVote", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "bytes32" - } - ], - "name": "organizationsProposals", - "outputs": [ - { - "name": "upgradeContract", - "type": "address" - }, - { - "name": "params", - "type": "bytes32" - }, - { - "name": "proposalType", - "type": "uint256" - }, - { - "name": "tokenFee", - "type": "address" - }, - { - "name": "fee", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_voteParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_param", - "type": "int256" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "beneficiary", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_scheme", - "type": "address" - }, - { - "name": "_params", - "type": "bytes32" - }, - { - "name": "_tokenFee", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - } - ], - "name": "proposeChangeUpgradingScheme", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_voteParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_newController", - "type": "address" - } - ], - "name": "proposeUpgrade", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "fee", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hashedParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_newController", - "type": "address" - } - ], - "name": "LogNewUpgradeProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "newUpgradeScheme", - "type": "address" - }, - { - "indexed": false, - "name": "_params", - "type": "bytes32" - }, - { - "indexed": false, - "name": "tokenFee", - "type": "address" - }, - { - "indexed": false, - "name": "fee", - "type": "uint256" - } - ], - "name": "LogChangeUpgradeSchemeProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalExecuted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalDeleted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b6040516060806112a283398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a031617815590925061006b91508490849084906401000000006100738102610b9e1704565b5050506100c6565b60005433600160a060020a0390811691161461008e57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b6111cd806100d56000396000f3006060604052600436106100d75763ffffffff60e060020a6000350416630250680481146100dc57806306e3a978146101135780632453732a14610170578063310ce4e2146101a457806338af3eed146101dd578063426ba2481461020c5780634345a6101461023e5780635a1f74061461026c57806368e14dac1461028b578063887fbd1c146102ad5780638da5cb5b146102d257806390be003c146102e5578063c3c5a54714610304578063ddca3f4314610323578063e1758bd814610336578063f2fde38b14610349578063f98e87ba14610368575b600080fd5b34156100e757600080fd5b6100f260043561037b565b604051918252600160a060020a031660208201526040908101905180910390f35b341561011e57600080fd5b610135600160a060020a036004351660243561039d565b604051600160a060020a039586168152602081019490945260408085019390935293166060830152608082019290925260a001905180910390f35b341561017b57600080fd5b610192600435600160a060020a03602435166103e4565b60405190815260200160405180910390f35b34156101af57600080fd5b6101c9600435600160a060020a036024351660443561041e565b604051901515815260200160405180910390f35b34156101e857600080fd5b6101f0610889565b604051600160a060020a03909116815260200160405180910390f35b341561021757600080fd5b610192600160a060020a036004358116906024358116906044359060643516608435610898565b341561024957600080fd5b61026a600160a060020a036004358116906024359060443516606435610b9e565b005b341561027757600080fd5b6101c9600160a060020a0360043516610bf1565b341561029657600080fd5b610192600435600160a060020a0360243516610c06565b34156102b857600080fd5b610192600160a060020a0360043581169060243516610c4e565b34156102dd57600080fd5b6101f0610e80565b34156102f057600080fd5b61026a600160a060020a0360043516610e8f565b341561030f57600080fd5b6101c9600160a060020a0360043516610fb8565b341561032e57600080fd5b610192610fd6565b341561034157600080fd5b6101f0610fdc565b341561035457600080fd5b61026a600160a060020a0360043516610feb565b341561037357600080fd5b610192611079565b60076020526000908152604090208054600190910154600160a060020a031682565b600660209081526000928352604080842090915290825290208054600182015460028301546003840154600490940154600160a060020a0393841694929391929091169085565b60008282604051918252600160a060020a03166c010000000000000000000000000260208201526034016040518091039020905092915050565b60008061042961115c565b600033600160a060020a0316600760006104428961107f565b8152602081019190915260400160002060010154600160a060020a03161461046957600080fd5b84600114156108275785600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156104b857600080fd5b6102c65a03f115156104c957600080fd5b5050506040518051600160a060020a03881660009081526006602090815260408083208c84529091529081902091955090915060a0905190810160409081528254600160a060020a03908116835260018401546020840152600284015491830191825260038401541660608301526004909201546080820152925051600114156105cb57600160a060020a03831663b9c2ee82835160006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156105a557600080fd5b6102c65a03f115156105b657600080fd5b5050506040518051905015156105cb57600080fd5b8160400151600214156108275782600160a060020a0316639fe027263060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561062f57600080fd5b6102c65a03f1151561064057600080fd5b50505060405180519150506080820151156106ee5782600160a060020a0316638cf1355c83606001518451856080015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156106c857600080fd5b6102c65a03f115156106d957600080fd5b5050506040518051905015156106ee57600080fd5b600160a060020a03831663a34abaa8835184602001518460006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091527fffffffff00000000000000000000000000000000000000000000000000000000166044820152606401602060405180830381600087803b151561077b57600080fd5b6102c65a03f1151561078c57600080fd5b5050506040518051905015156107a157600080fd5b600160a060020a0330168251600160a060020a0316146108275782600160a060020a0316636bafaa596000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561080157600080fd5b6102c65a03f1151561081257600080fd5b50505060405180519050151561082757600080fd5b50505050600160a060020a039190911660009081526006602090815260408083209483529390529182208054600160a060020a031990811682556001808301859055600283018590556003830180549092169091556004909101929092555090565b600354600160a060020a031681565b60006108a261118a565b6000806108ad61115c565b600160a060020a038a166000908152600560205260409020548a9060ff1615156108d657600080fd5b600760006108e38d61107f565b81526020810191909152604090810160002090805190810160405281548152600190910154600160a060020a031660208201908152909550519350600160a060020a0384166388737b5e600287518e3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b151561099057600080fd5b6102c65a03f115156109a157600080fd5b5050506040518051600160a060020a038d1660009081526006602090815260408083208484529091529020600201549094501590506109df57600080fd5b60a06040519081016040908152600160a060020a03808d16835260208084018d90526002838501528b82166060850152608084018b9052908e1660009081526006825282812087825290915220909250829081518154600160a060020a031916600160a060020a039190911617815560208201516001820155604082015181600201556060820151600382018054600160a060020a031916600160a060020a03929092169190911790556080820151600490910155506020850151600160a060020a031683600019168c600160a060020a03167f2d846aeb8264bef18d7393145472cfc99afb135a60ea2c6a6dc368b03e5483498d8d8d8d604051600160a060020a039485168152602081019390935292166040808301919091526060820192909252608001905180910390a483600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b1515610b7457600080fd5b6102c65a03f11515610b8557600080fd5b505050604051805150929b9a5050505050505050505050565b60005433600160a060020a03908116911614610bb957600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b600080610c1384846103e4565b60008181526007602052604090208581556001018054600160a060020a038616600160a060020a031990911617905591508190505092915050565b6000610c5861118a565b600160a060020a038416600090815260056020526040812054859060ff161515610c8157600080fd5b60076000610c8e8861107f565b81526020810191909152604090810160002090805190810160405281548152600190910154600160a060020a03166020820190815290935051600160a060020a03166388737b5e60028551893060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b1515610d3857600080fd5b6102c65a03f11515610d4957600080fd5b5050506040518051600160a060020a0388811660009081526006602090815260408083208584528252909120600160028201558054600160a060020a031916928a16929092179091559093508401905051600160a060020a0316826000191687600160a060020a03167fa96bac6ecd2db240cb777e078d2fceafc3cb9c2aceefe34b827f802d4a1a798088604051600160a060020a03909116815260200160405180910390a48260200151600160a060020a031663339e23d18360013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b1515610e5b57600080fd5b6102c65a03f11515610e6c57600080fd5b505050604051805150919695505050505050565b600054600160a060020a031681565b6000600254118015610eba5750600160a060020a03811660009081526005602052604090205460ff16155b15610f5357600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610f3757600080fd5b6102c65a03f11515610f4857600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a0390811691161461100657600080fd5b600160a060020a038116151561101b57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156110c857600080fd5b6102c65a03f115156110d957600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561113b57600080fd5b6102c65a03f1151561114c57600080fd5b5050506040518051949350505050565b60a0604051908101604090815260008083526020830181905290820181905260608201819052608082015290565b6040805190810160405260008082526020820152905600a165627a7a72305820c85e90b29dd33ead7990b5b1f2b800067673f4e968e3678bb2f9665e7061f2160029", - "deployedBytecode": "0x6060604052600436106100d75763ffffffff60e060020a6000350416630250680481146100dc57806306e3a978146101135780632453732a14610170578063310ce4e2146101a457806338af3eed146101dd578063426ba2481461020c5780634345a6101461023e5780635a1f74061461026c57806368e14dac1461028b578063887fbd1c146102ad5780638da5cb5b146102d257806390be003c146102e5578063c3c5a54714610304578063ddca3f4314610323578063e1758bd814610336578063f2fde38b14610349578063f98e87ba14610368575b600080fd5b34156100e757600080fd5b6100f260043561037b565b604051918252600160a060020a031660208201526040908101905180910390f35b341561011e57600080fd5b610135600160a060020a036004351660243561039d565b604051600160a060020a039586168152602081019490945260408085019390935293166060830152608082019290925260a001905180910390f35b341561017b57600080fd5b610192600435600160a060020a03602435166103e4565b60405190815260200160405180910390f35b34156101af57600080fd5b6101c9600435600160a060020a036024351660443561041e565b604051901515815260200160405180910390f35b34156101e857600080fd5b6101f0610889565b604051600160a060020a03909116815260200160405180910390f35b341561021757600080fd5b610192600160a060020a036004358116906024358116906044359060643516608435610898565b341561024957600080fd5b61026a600160a060020a036004358116906024359060443516606435610b9e565b005b341561027757600080fd5b6101c9600160a060020a0360043516610bf1565b341561029657600080fd5b610192600435600160a060020a0360243516610c06565b34156102b857600080fd5b610192600160a060020a0360043581169060243516610c4e565b34156102dd57600080fd5b6101f0610e80565b34156102f057600080fd5b61026a600160a060020a0360043516610e8f565b341561030f57600080fd5b6101c9600160a060020a0360043516610fb8565b341561032e57600080fd5b610192610fd6565b341561034157600080fd5b6101f0610fdc565b341561035457600080fd5b61026a600160a060020a0360043516610feb565b341561037357600080fd5b610192611079565b60076020526000908152604090208054600190910154600160a060020a031682565b600660209081526000928352604080842090915290825290208054600182015460028301546003840154600490940154600160a060020a0393841694929391929091169085565b60008282604051918252600160a060020a03166c010000000000000000000000000260208201526034016040518091039020905092915050565b60008061042961115c565b600033600160a060020a0316600760006104428961107f565b8152602081019190915260400160002060010154600160a060020a03161461046957600080fd5b84600114156108275785600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156104b857600080fd5b6102c65a03f115156104c957600080fd5b5050506040518051600160a060020a03881660009081526006602090815260408083208c84529091529081902091955090915060a0905190810160409081528254600160a060020a03908116835260018401546020840152600284015491830191825260038401541660608301526004909201546080820152925051600114156105cb57600160a060020a03831663b9c2ee82835160006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156105a557600080fd5b6102c65a03f115156105b657600080fd5b5050506040518051905015156105cb57600080fd5b8160400151600214156108275782600160a060020a0316639fe027263060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561062f57600080fd5b6102c65a03f1151561064057600080fd5b50505060405180519150506080820151156106ee5782600160a060020a0316638cf1355c83606001518451856080015160006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156106c857600080fd5b6102c65a03f115156106d957600080fd5b5050506040518051905015156106ee57600080fd5b600160a060020a03831663a34abaa8835184602001518460006040516020015260405160e060020a63ffffffff8616028152600160a060020a03909316600484015260248301919091527fffffffff00000000000000000000000000000000000000000000000000000000166044820152606401602060405180830381600087803b151561077b57600080fd5b6102c65a03f1151561078c57600080fd5b5050506040518051905015156107a157600080fd5b600160a060020a0330168251600160a060020a0316146108275782600160a060020a0316636bafaa596000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561080157600080fd5b6102c65a03f1151561081257600080fd5b50505060405180519050151561082757600080fd5b50505050600160a060020a039190911660009081526006602090815260408083209483529390529182208054600160a060020a031990811682556001808301859055600283018590556003830180549092169091556004909101929092555090565b600354600160a060020a031681565b60006108a261118a565b6000806108ad61115c565b600160a060020a038a166000908152600560205260409020548a9060ff1615156108d657600080fd5b600760006108e38d61107f565b81526020810191909152604090810160002090805190810160405281548152600190910154600160a060020a031660208201908152909550519350600160a060020a0384166388737b5e600287518e3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b151561099057600080fd5b6102c65a03f115156109a157600080fd5b5050506040518051600160a060020a038d1660009081526006602090815260408083208484529091529020600201549094501590506109df57600080fd5b60a06040519081016040908152600160a060020a03808d16835260208084018d90526002838501528b82166060850152608084018b9052908e1660009081526006825282812087825290915220909250829081518154600160a060020a031916600160a060020a039190911617815560208201516001820155604082015181600201556060820151600382018054600160a060020a031916600160a060020a03929092169190911790556080820151600490910155506020850151600160a060020a031683600019168c600160a060020a03167f2d846aeb8264bef18d7393145472cfc99afb135a60ea2c6a6dc368b03e5483498d8d8d8d604051600160a060020a039485168152602081019390935292166040808301919091526060820192909252608001905180910390a483600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b1515610b7457600080fd5b6102c65a03f11515610b8557600080fd5b505050604051805150929b9a5050505050505050505050565b60005433600160a060020a03908116911614610bb957600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b600080610c1384846103e4565b60008181526007602052604090208581556001018054600160a060020a038616600160a060020a031990911617905591508190505092915050565b6000610c5861118a565b600160a060020a038416600090815260056020526040812054859060ff161515610c8157600080fd5b60076000610c8e8861107f565b81526020810191909152604090810160002090805190810160405281548152600190910154600160a060020a03166020820190815290935051600160a060020a03166388737b5e60028551893060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b1515610d3857600080fd5b6102c65a03f11515610d4957600080fd5b5050506040518051600160a060020a0388811660009081526006602090815260408083208584528252909120600160028201558054600160a060020a031916928a16929092179091559093508401905051600160a060020a0316826000191687600160a060020a03167fa96bac6ecd2db240cb777e078d2fceafc3cb9c2aceefe34b827f802d4a1a798088604051600160a060020a03909116815260200160405180910390a48260200151600160a060020a031663339e23d18360013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b1515610e5b57600080fd5b6102c65a03f11515610e6c57600080fd5b505050604051805150919695505050505050565b600054600160a060020a031681565b6000600254118015610eba5750600160a060020a03811660009081526005602052604090205460ff16155b15610f5357600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610f3757600080fd5b6102c65a03f11515610f4857600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a0390811691161461100657600080fd5b600160a060020a038116151561101b57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156110c857600080fd5b6102c65a03f115156110d957600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561113b57600080fd5b6102c65a03f1151561114c57600080fd5b5050506040518051949350505050565b60a0604051908101604090815260008083526020830181905290820181905260608201819052608082015290565b6040805190810160405260008082526020820152905600a165627a7a72305820c85e90b29dd33ead7990b5b1f2b800067673f4e968e3678bb2f9665e7061f2160029", - "sourceMap": "281:7181:24:-;;;1908:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;1908:172:24;;-1:-1:-1;2010:62:24;;-1:-1:-1;2027:12:24;;2041:4;;1908:172;;2010:16;;;;;;:62;:::i;:::-;1908:172;;;281:7181;;1314:347:22;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;281:7181:24:-;;;;;;;", - "deployedSourceMap": "281:7181:24:-;;;;;;;;;-1:-1:-1;;;281:7181:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1765:46;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1765:46:24;;;;;;;;;;;;;;;;1473:81;;;;;;;;;;-1:-1:-1;;;;;1473:81:24;;;;;;;;;;-1:-1:-1;;;;;1473:81:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2606:195;;;;;;;;;;;;-1:-1:-1;;;;;2606:195:24;;;;;;;;;;;;;;;;;;;;5776:1683;;;;;;;;;;;;-1:-1:-1;;;;;5776:1683:24;;;;;;;;;;;;;;;;;;;;;;;;407:26:22;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:26:22;;;;;;;;;;;;;;4169:1284:24;;;;;;;;;;-1:-1:-1;;;;;4169:1284:24;;;;;;;;;;;;;;;;;;;;1314:347:22;;;;;;;;;;-1:-1:-1;;;;;1314:347:22;;;;;;;;;;;;;;;;;591:43;;;;;;;;;;-1:-1:-1;;;;;591:43:22;;;;;2188:343:24;;;;;;;;;;;;-1:-1:-1;;;;;2188:343:24;;;;;3072:765;;;;;;;;;;-1:-1:-1;;;;;3072:765:24;;;;;;;;;;238:20:29;;;;;;;;;;;;866:315:22;;;;;;;;;;-1:-1:-1;;;;;866:315:22;;;;;1189:117;;;;;;;;;;-1:-1:-1;;;;;1189:117:22;;;;;385:15;;;;;;;;;;;;346:32;;;;;;;;;;;;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;440:31:22;;;;;;;;;;;;1765:46:24;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1765:46:24;;:::o;1473:81::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1473:81:24;;;;;;;;;;;;;:::o;2606:195::-;2726:7;2770:11;2783:8;2760:32;;;;;-1:-1:-1;;;;;2760:32:24;;;;;;;;;;;;;;;;2751:42;;2606:195;;;;:::o;5776:1683::-;5858:4;6158:21;6232:31;;:::i;:::-;6649:18;6010:10;-1:-1:-1;;;;;5942:78:24;:10;:56;5953:44;5988:7;5953:27;:44::i;:::-;5942:56;;;;;;;;;;;;;:64;;;-1:-1:-1;;;;;5942:64:24;:78;5934:87;;;;;;6078:6;6088:1;6078:11;6074:1294;;;6200:7;-1:-1:-1;;;;;6193:21:24;;:23;;;;;;;;;;;-1:-1:-1;;;6193:23:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6266:31:24;;;;;;:22;:31;;;;;;;;:44;;;;;;;;;;6193:23;;-1:-1:-1;6266:44:24;;-1:-1:-1;6232:78:24;;;;;;;;;;;;-1:-1:-1;;;;;6232:78:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6365:21:24;6390:1;6365:26;6361:184;;;-1:-1:-1;;;;;6417:28:24;;;6446:8;:24;6417:54;;;;;;;;-1:-1:-1;;;6417:54:24;;;;;;-1:-1:-1;;;;;6417:54:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6416:55;6412:114;;;6496:8;;;6412:114;6602:8;:21;;;6627:1;6602:26;6598:751;;;6670:10;-1:-1:-1;;;;;6670:31:24;;6702:4;6670:37;;;;;;;;-1:-1:-1;;;6670:37:24;;;;;;-1:-1:-1;;;;;6670:37:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6730:12:24;;;;:17;6726:236;;6777:10;-1:-1:-1;;;;;6777:40:24;;6818:8;:17;;;6837:8;:24;6863:8;:12;;;6777:99;;;;;;;;-1:-1:-1;;;6777:99:24;;;;;;-1:-1:-1;;;;;6777:99:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6776:100;6772:167;;;6905:8;;;6772:167;-1:-1:-1;;;;;6985:25:24;;;7011:8;:24;7037:8;:15;;;7054:11;6985:81;;;;;;;;-1:-1:-1;;;6985:81:24;;;;;;-1:-1:-1;;;;;6985:81:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6984:82;6980:141;;;7091:8;;;6980:141;-1:-1:-1;;;;;7179:4:24;7143:41;:8;:24;-1:-1:-1;;;;;7143:41:24;;7139:189;;7215:10;-1:-1:-1;;;;;7215:25:24;;:27;;;;;;;;;;;-1:-1:-1;;;7215:27:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7214:28;7210:95;;;7271:8;;;7210:95;-1:-1:-1;;;;;;;;;7385:31:24;;;;;;;;:22;:31;;;;;;;;:44;;;;;;;;;7378:51;;-1:-1:-1;;;;;;7378:51:24;;;;;-1:-1:-1;7378:51:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5776:1683:24:o;407:26:22:-;;;-1:-1:-1;;;;;407:26:22;;:::o;4169:1284:24:-;4423:7;4448:24;;:::i;:::-;4534;4586:18;4805:31;;:::i;:::-;-1:-1:-1;;;;;816:21:22;;;;;;:13;:21;;;;;;4397:7:24;;816:21:22;;808:30;;;;;;;;4475:10:24;:48;4486:36;4514:7;4486:27;:36::i;:::-;4475:48;;;;;;;;;;;;;;;;;4448:75;;;;;;;;;;;;;;;-1:-1:-1;;;;;4448:75:24;;;;;;;;;-1:-1:-1;4561:14:24;4534:41;-1:-1:-1;;;;;;4607:15:24;;;4623:1;4626:6;:17;4645:7;4674:4;4607:73;;;;;;;;-1:-1:-1;;;4607:73:24;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4607:73:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4695:31:24;;;;;;:22;:31;;;;;;;;:43;;;;;;;;:56;;;4607:73;;-1:-1:-1;4695:61:24;;-1:-1:-1;4691:102:24;;4773:8;;;4691:102;4839:185;;;;;;;;;;-1:-1:-1;;;;;4839:185:24;;;;;;;;;;;;4884:1;4839:185;;;;;;;;;;;;;;;;;5035:31;;;4839:185;5035:31;;;:22;:31;;;;;:43;;;;;;;4839:185;;-1:-1:-1;4839:185:24;;;5035:54;;;-1:-1:-1;;;;;;5035:54:24;-1:-1:-1;;;;;5035:54:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5035:54:24;-1:-1:-1;;;;;5035:54:24;;;;;;;;;;;;;;;;;;;-1:-1:-1;5194:14:24;;;;-1:-1:-1;;;;;5102:204:24;5169:10;5102:204;;;5147:7;-1:-1:-1;;;;;5102:204:24;;5223:7;5245;5267:9;5291:4;5102:204;;-1:-1:-1;;;;;5102:204:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5317:7;-1:-1:-1;;;;;5317:17:24;;5335:10;5347:1;5350:10;5317:44;;;;;;;;-1:-1:-1;;;5317:44:24;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5317:44:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5435:10:24;;4169:1284;-1:-1:-1;;;;;;;;;;;4169:1284:24:o;1314:347:22:-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;591:43::-;;;;;;;;;;;;;;;:::o;2188:343:24:-;2299:7;2324:18;2345:40;2363:11;2376:8;2345:17;:40::i;:::-;2396:22;;;;:10;:22;;;;;:47;;;2454:30;;:41;;-1:-1:-1;;;;;2454:41:24;;-1:-1:-1;;;;;;2454:41:24;;;;;;2324:61;-1:-1:-1;2324:61:24;;-1:-1:-1;2188:343:24;;;;;:::o;3072:765::-;3214:7;3239:24;;:::i;:::-;-1:-1:-1;;;;;816:21:22;;3325:18:24;816:21:22;;;:13;:21;;;;;;3188:7:24;;816:21:22;;808:30;;;;;;;;3266:10:24;:48;3277:36;3305:7;3277:27;:36::i;:::-;3266:48;;;;;;;;;;;;;;;;;3239:75;;;;;;;;;;;;;;;-1:-1:-1;;;;;3239:75:24;;;;;;;;;-1:-1:-1;3346:14:24;-1:-1:-1;;;;;3346:22:24;;3369:1;3372:6;:17;3391:7;3420:4;3346:80;;;;;;;;-1:-1:-1;;;3346:80:24;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3346:80:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3437:31:24;;;;;;;:22;:31;;;;;;;;:43;;;;;;;;3496:1;3437:56;;;:60;3508:76;;-1:-1:-1;;;;;;3508:76:24;;;;;;;;;;;3437:43;;-1:-1:-1;3638:14:24;;;-1:-1:-1;3638:14:24;-1:-1:-1;;;;;3595:74:24;3626:10;3595:74;;;3617:7;-1:-1:-1;;;;;3595:74:24;;3654:14;3595:74;;-1:-1:-1;;;;;3595:74:24;;;;;;;;;;;;;;3680:6;:14;;;-1:-1:-1;;;;;3680:24:24;;3705:10;3717:1;3720:10;3680:51;;;;;;;;-1:-1:-1;;;3680:51:24;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3680:51:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3819:10:24;;3072:765;-1:-1:-1;;;;;;3072:765:24:o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;866:315:22:-;980:1;974:3;;:7;973:39;;;;-1:-1:-1;;;;;;989:22:22;;;;;;:13;:22;;;;;;;;987:24;973:39;969:123;;;1029:11;;1063;;1076:3;;-1:-1:-1;;;;;1029:11:22;;;;:24;;1054:7;;1063:11;;;1029;:51;;;;;;;-1:-1:-1;;;1029:51:22;;;;;;-1:-1:-1;;;;;1029:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;969:123:22;-1:-1:-1;;;;;1102:22:22;;;;;;:13;:22;;;;;;;:29;;-1:-1:-1;;1102:29:22;1127:4;1102:29;;;1142:31;;1116:7;;1142:31;-1:-1:-1;;;;;1142:31:22;;;;;;;;;;;;;;866:315;:::o;1189:117::-;-1:-1:-1;;;;;1276:22:22;1252:4;1276:22;;;:13;:22;;;;;;;;;1189:117::o;385:15::-;;;;:::o;346:32::-;;;-1:-1:-1;;;;;346:32:22;;:::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;;;;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;440:31:22:-;;;;:::o;1761:212::-;1840:7;1860:21;1895:7;-1:-1:-1;;;;;1895:13:22;;:15;;;;;;;;;;;-1:-1:-1;;;1895:15:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;1929:30:22;;;1960:4;1929:36;;;;;;;;-1:-1:-1;;;1929:36:22;;;;;;-1:-1:-1;;;;;1929:36:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1761:212;-1:-1:-1;;;;1761:212:22:o;281:7181:24:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../VotingMachines/IntVoteInterface.sol\";\r\nimport \"./UniversalScheme.sol\";\r\n\r\n\r\n/**\r\n * @title A schme to manage the upgrade of an organization.\r\n * @dev The schme is used to upgrade the controller of an organization to a new controller.\r\n */\r\n\r\ncontract UpgradeScheme is UniversalScheme, ExecutableInterface {\r\n event LogNewUpgradeProposal(\r\n address indexed _avatar,\r\n bytes32 indexed _proposalId,\r\n address indexed _intVoteInterface,\r\n address _newController\r\n );\r\n event LogChangeUpgradeSchemeProposal(\r\n address indexed _avatar,\r\n bytes32 indexed _proposalId,\r\n address indexed _intVoteInterface,\r\n address newUpgradeScheme,\r\n bytes32 _params,\r\n StandardToken tokenFee,\r\n uint fee\r\n );\r\n event LogProposalExecuted(address indexed _avatar, bytes32 indexed _proposalId);\r\n event LogProposalDeleted(address indexed _avatar, bytes32 indexed _proposalId);\r\n\r\n // Details of an upgrade proposal:\r\n struct UpgradeProposal {\r\n address upgradeContract; // Either the new conroller we upgrade to, or the new upgrading scheme.\r\n bytes32 params; // Params for the new upgrading scheme.\r\n uint proposalType; // 1: Upgrade controller, 2: change upgrade scheme.\r\n StandardToken tokenFee;\r\n uint fee;\r\n }\r\n\r\n // A mapping from the organization's (Avatar) address to the saved data of the organization:\r\n mapping(address=>mapping(bytes32=>UpgradeProposal)) public organizationsProposals;\r\n\r\n // A mapping from hashes to parameters (use to store a particular configuration on the controller)\r\n struct Parameters {\r\n bytes32 voteParams;\r\n IntVoteInterface intVote;\r\n }\r\n\r\n mapping(bytes32=>Parameters) public parameters;\r\n\r\n /**\r\n * @dev the constructor takes a token address, fee and beneficiary\r\n */\r\n function UpgradeScheme(StandardToken _nativeToken, uint _fee, address _beneficiary) public {\r\n updateParameters(_nativeToken, _fee, _beneficiary, bytes32(0));\r\n }\r\n\r\n /**\r\n * @dev hash the parameters, save them if necessary, and return the hash value\r\n */\r\n function setParameters(\r\n bytes32 _voteParams,\r\n IntVoteInterface _intVote\r\n ) public returns(bytes32)\r\n {\r\n bytes32 paramsHash = getParametersHash(_voteParams, _intVote);\r\n parameters[paramsHash].voteParams = _voteParams;\r\n parameters[paramsHash].intVote = _intVote;\r\n return paramsHash;\r\n }\r\n\r\n /**\r\n * @dev return a hash of the given parameters\r\n */\r\n function getParametersHash(\r\n bytes32 _voteParams,\r\n IntVoteInterface _intVote\r\n ) public pure returns(bytes32)\r\n {\r\n return (keccak256(_voteParams, _intVote));\r\n }\r\n\r\n /**\r\n * @dev propose an upgrade of the organization's controller\r\n * @param _avatar avatar of the organization\r\n * @param _newController address of the new controller that is being proposed\r\n * @return an id which represents the proposal\r\n */\r\n function proposeUpgrade(Avatar _avatar, address _newController)\r\n public\r\n onlyRegisteredOrganization(_avatar)\r\n returns(bytes32)\r\n {\r\n Parameters memory params = parameters[getParametersFromController(_avatar)];\r\n bytes32 proposalId = params.intVote.propose(2, params.voteParams, _avatar, ExecutableInterface(this));\r\n organizationsProposals[_avatar][proposalId].proposalType = 1;\r\n organizationsProposals[_avatar][proposalId].upgradeContract = _newController;\r\n LogNewUpgradeProposal(_avatar, proposalId, params.intVote, _newController);\r\n params.intVote.ownerVote(proposalId, 1, msg.sender); // Automatically votes `yes` in the name of the proposal submitter.*/\r\n return proposalId;\r\n }\r\n\r\n /**\r\n * @dev propose to replace this scheme by another upgrading scheme\r\n * @param _avatar avatar of the organization\r\n * @param _scheme address of the new upgrading scheme\r\n * @param _params ???\r\n * @param _tokenFee ???\r\n * @param _fee ???\r\n * @return an id which represents the proposal\r\n */\r\n function proposeChangeUpgradingScheme(\r\n Avatar _avatar,\r\n address _scheme,\r\n bytes32 _params,\r\n StandardToken _tokenFee,\r\n uint _fee\r\n )\r\n public\r\n onlyRegisteredOrganization(_avatar)\r\n returns(bytes32)\r\n {\r\n Parameters memory params = parameters[getParametersFromController(_avatar)];\r\n IntVoteInterface intVote = params.intVote;\r\n bytes32 proposalId = intVote.propose(2, params.voteParams, _avatar, ExecutableInterface(this));\r\n if (organizationsProposals[_avatar][proposalId].proposalType != 0) {\r\n revert();\r\n }\r\n\r\n UpgradeProposal memory proposal = UpgradeProposal({\r\n proposalType: 2,\r\n upgradeContract: _scheme,\r\n params: _params,\r\n tokenFee: _tokenFee,\r\n fee: _fee\r\n });\r\n organizationsProposals[_avatar][proposalId] = proposal;\r\n\r\n LogChangeUpgradeSchemeProposal(\r\n _avatar,\r\n proposalId,\r\n params.intVote,\r\n _scheme,\r\n _params,\r\n _tokenFee,\r\n _fee\r\n );\r\n intVote.ownerVote(proposalId, 1, msg.sender); // Automatically votes `yes` in the name of the opener.\r\n return proposalId;\r\n }\r\n\r\n /**\r\n * @dev execution of proposals, can only be called by the voting machine in which the vote is held.\r\n * @param _proposalId the ID of the voting in the voting machine\r\n * @param _avatar address of the controller\r\n * @param _param a parameter of the voting result, 0 is no and 1 is yes.\r\n */\r\n function execute(bytes32 _proposalId, address _avatar, int _param) public returns(bool) {\r\n // Check the caller is indeed the voting machine:\r\n require(parameters[getParametersFromController(Avatar(_avatar))].intVote == msg.sender);\r\n // Check if vote was successful:\r\n if (_param == 1) {\r\n\r\n // Define controller and get the parmas:\r\n Controller controller = Controller(Avatar(_avatar).owner());\r\n UpgradeProposal memory proposal = organizationsProposals[_avatar][_proposalId];\r\n\r\n // Upgrading controller:\r\n if (proposal.proposalType == 1) {\r\n if (!controller.upgradeController(proposal.upgradeContract)) {\r\n revert();\r\n }\r\n }\r\n\r\n // Changing upgrade scheme:\r\n if (proposal.proposalType == 2) {\r\n bytes4 permissions = controller.getSchemePermissions(this);\r\n if (proposal.fee != 0) {\r\n if (!controller.externalTokenIncreaseApproval(proposal.tokenFee, proposal.upgradeContract, proposal.fee)) {\r\n revert();\r\n }\r\n }\r\n if (!controller.registerScheme(proposal.upgradeContract, proposal.params, permissions)) {\r\n revert();\r\n }\r\n if (proposal.upgradeContract != address(this) ) {\r\n if (!controller.unregisterSelf()) {\r\n revert();\r\n }\r\n }\r\n }\r\n }\r\n delete organizationsProposals[_avatar][_proposalId];\r\n return true;\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\UpgradeScheme.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UpgradeScheme.sol", - "exportedSymbols": { - "UpgradeScheme": [ - 7712 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 7261, - "name": "PragmaDirective", - "src": "0:24:24" - }, - { - "attributes": { - "SourceUnit": 2659, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/IntVoteInterface.sol", - "file": "../VotingMachines/IntVoteInterface.sol", - "scope": 7713, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7262, - "name": "ImportDirective", - "src": "28:48:24" - }, - { - "attributes": { - "SourceUnit": 7230, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "file": "./UniversalScheme.sol", - "scope": 7713, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7263, - "name": "ImportDirective", - "src": "78:31:24" - }, - { - "attributes": { - "contractDependencies": [ - 5155, - 7229, - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": "@title A schme to manage the upgrade of an organization.\r\n@dev The schme is used to upgrade the controller of an organization to a new controller.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 7712, - 5155, - 7229, - 7259, - 9140 - ], - "name": "UpgradeScheme", - "scope": 7713 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalScheme", - "referencedDeclaration": 7229, - "type": "contract UniversalScheme" - }, - "id": 7264, - "name": "UserDefinedTypeName", - "src": "307:15:24" - } - ], - "id": 7265, - "name": "InheritanceSpecifier", - "src": "307:15:24" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ExecutableInterface", - "referencedDeclaration": 5155, - "type": "contract ExecutableInterface" - }, - "id": 7266, - "name": "UserDefinedTypeName", - "src": "324:19:24" - } - ], - "id": 7267, - "name": "InheritanceSpecifier", - "src": "324:19:24" - }, - { - "attributes": { - "anonymous": false, - "name": "LogNewUpgradeProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 7277, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7268, - "name": "ElementaryTypeName", - "src": "389:7:24" - } - ], - "id": 7269, - "name": "VariableDeclaration", - "src": "389:23:24" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 7277, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7270, - "name": "ElementaryTypeName", - "src": "423:7:24" - } - ], - "id": 7271, - "name": "VariableDeclaration", - "src": "423:27:24" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_intVoteInterface", - "scope": 7277, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7272, - "name": "ElementaryTypeName", - "src": "461:7:24" - } - ], - "id": 7273, - "name": "VariableDeclaration", - "src": "461:33:24" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_newController", - "scope": 7277, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7274, - "name": "ElementaryTypeName", - "src": "505:7:24" - } - ], - "id": 7275, - "name": "VariableDeclaration", - "src": "505:22:24" - } - ], - "id": 7276, - "name": "ParameterList", - "src": "378:156:24" - } - ], - "id": 7277, - "name": "EventDefinition", - "src": "351:184:24" - }, - { - "attributes": { - "anonymous": false, - "name": "LogChangeUpgradeSchemeProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 7293, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7278, - "name": "ElementaryTypeName", - "src": "588:7:24" - } - ], - "id": 7279, - "name": "VariableDeclaration", - "src": "588:23:24" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 7293, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7280, - "name": "ElementaryTypeName", - "src": "622:7:24" - } - ], - "id": 7281, - "name": "VariableDeclaration", - "src": "622:27:24" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_intVoteInterface", - "scope": 7293, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7282, - "name": "ElementaryTypeName", - "src": "660:7:24" - } - ], - "id": 7283, - "name": "VariableDeclaration", - "src": "660:33:24" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "newUpgradeScheme", - "scope": 7293, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7284, - "name": "ElementaryTypeName", - "src": "704:7:24" - } - ], - "id": 7285, - "name": "VariableDeclaration", - "src": "704:24:24" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_params", - "scope": 7293, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7286, - "name": "ElementaryTypeName", - "src": "739:7:24" - } - ], - "id": 7287, - "name": "VariableDeclaration", - "src": "739:15:24" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "tokenFee", - "scope": 7293, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 7288, - "name": "UserDefinedTypeName", - "src": "765:13:24" - } - ], - "id": 7289, - "name": "VariableDeclaration", - "src": "765:22:24" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "fee", - "scope": 7293, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7290, - "name": "ElementaryTypeName", - "src": "798:4:24" - } - ], - "id": 7291, - "name": "VariableDeclaration", - "src": "798:8:24" - } - ], - "id": 7292, - "name": "ParameterList", - "src": "577:236:24" - } - ], - "id": 7293, - "name": "EventDefinition", - "src": "541:273:24" - }, - { - "attributes": { - "anonymous": false, - "name": "LogProposalExecuted" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 7299, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7294, - "name": "ElementaryTypeName", - "src": "846:7:24" - } - ], - "id": 7295, - "name": "VariableDeclaration", - "src": "846:23:24" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 7299, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7296, - "name": "ElementaryTypeName", - "src": "871:7:24" - } - ], - "id": 7297, - "name": "VariableDeclaration", - "src": "871:27:24" - } - ], - "id": 7298, - "name": "ParameterList", - "src": "845:54:24" - } - ], - "id": 7299, - "name": "EventDefinition", - "src": "820:80:24" - }, - { - "attributes": { - "anonymous": false, - "name": "LogProposalDeleted" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 7305, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7300, - "name": "ElementaryTypeName", - "src": "931:7:24" - } - ], - "id": 7301, - "name": "VariableDeclaration", - "src": "931:23:24" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 7305, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7302, - "name": "ElementaryTypeName", - "src": "956:7:24" - } - ], - "id": 7303, - "name": "VariableDeclaration", - "src": "956:27:24" - } - ], - "id": 7304, - "name": "ParameterList", - "src": "930:54:24" - } - ], - "id": 7305, - "name": "EventDefinition", - "src": "906:79:24" - }, - { - "attributes": { - "canonicalName": "UpgradeScheme.UpgradeProposal", - "name": "UpgradeProposal", - "scope": 7712, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "upgradeContract", - "scope": 7316, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7306, - "name": "ElementaryTypeName", - "src": "1067:7:24" - } - ], - "id": 7307, - "name": "VariableDeclaration", - "src": "1067:23:24" - }, - { - "attributes": { - "constant": false, - "name": "params", - "scope": 7316, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7308, - "name": "ElementaryTypeName", - "src": "1173:7:24" - } - ], - "id": 7309, - "name": "VariableDeclaration", - "src": "1173:14:24" - }, - { - "attributes": { - "constant": false, - "name": "proposalType", - "scope": 7316, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7310, - "name": "ElementaryTypeName", - "src": "1238:4:24" - } - ], - "id": 7311, - "name": "VariableDeclaration", - "src": "1238:17:24" - }, - { - "attributes": { - "constant": false, - "name": "tokenFee", - "scope": 7316, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 7312, - "name": "UserDefinedTypeName", - "src": "1318:13:24" - } - ], - "id": 7313, - "name": "VariableDeclaration", - "src": "1318:22:24" - }, - { - "attributes": { - "constant": false, - "name": "fee", - "scope": 7316, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7314, - "name": "ElementaryTypeName", - "src": "1351:4:24" - } - ], - "id": 7315, - "name": "VariableDeclaration", - "src": "1351:8:24" - } - ], - "id": 7316, - "name": "StructDefinition", - "src": "1033:334:24" - }, - { - "attributes": { - "constant": false, - "name": "organizationsProposals", - "scope": 7712, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7317, - "name": "ElementaryTypeName", - "src": "1481:7:24" - }, - { - "attributes": { - "type": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7318, - "name": "ElementaryTypeName", - "src": "1498:7:24" - }, - { - "attributes": { - "contractScope": null, - "name": "UpgradeProposal", - "referencedDeclaration": 7316, - "type": "struct UpgradeScheme.UpgradeProposal storage pointer" - }, - "id": 7319, - "name": "UserDefinedTypeName", - "src": "1507:15:24" - } - ], - "id": 7320, - "name": "Mapping", - "src": "1490:33:24" - } - ], - "id": 7321, - "name": "Mapping", - "src": "1473:51:24" - } - ], - "id": 7322, - "name": "VariableDeclaration", - "src": "1473:81:24" - }, - { - "attributes": { - "canonicalName": "UpgradeScheme.Parameters", - "name": "Parameters", - "scope": 7712, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "voteParams", - "scope": 7327, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7323, - "name": "ElementaryTypeName", - "src": "1696:7:24" - } - ], - "id": 7324, - "name": "VariableDeclaration", - "src": "1696:18:24" - }, - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 7327, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 7325, - "name": "UserDefinedTypeName", - "src": "1725:16:24" - } - ], - "id": 7326, - "name": "VariableDeclaration", - "src": "1725:24:24" - } - ], - "id": 7327, - "name": "StructDefinition", - "src": "1667:90:24" - }, - { - "attributes": { - "constant": false, - "name": "parameters", - "scope": 7712, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7328, - "name": "ElementaryTypeName", - "src": "1773:7:24" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 7327, - "type": "struct UpgradeScheme.Parameters storage pointer" - }, - "id": 7329, - "name": "UserDefinedTypeName", - "src": "1782:10:24" - } - ], - "id": 7330, - "name": "Mapping", - "src": "1765:28:24" - } - ], - "id": 7331, - "name": "VariableDeclaration", - "src": "1765:46:24" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "UpgradeScheme", - "payable": false, - "scope": 7712, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 7350, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 7332, - "name": "UserDefinedTypeName", - "src": "1931:13:24" - } - ], - "id": 7333, - "name": "VariableDeclaration", - "src": "1931:26:24" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 7350, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7334, - "name": "ElementaryTypeName", - "src": "1959:4:24" - } - ], - "id": 7335, - "name": "VariableDeclaration", - "src": "1959:9:24" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 7350, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7336, - "name": "ElementaryTypeName", - "src": "1970:7:24" - } - ], - "id": 7337, - "name": "VariableDeclaration", - "src": "1970:20:24" - } - ], - "id": 7338, - "name": "ParameterList", - "src": "1930:61:24" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 7339, - "name": "ParameterList", - "src": "1999:0:24" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 7207 - ], - "referencedDeclaration": 7207, - "type": "function (contract StandardToken,uint256,address,bytes32)", - "value": "updateParameters" - }, - "id": 7340, - "name": "Identifier", - "src": "2010:16:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7333, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 7341, - "name": "Identifier", - "src": "2027:12:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7335, - "type": "uint256", - "value": "_fee" - }, - "id": 7342, - "name": "Identifier", - "src": "2041:4:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7337, - "type": "address", - "value": "_beneficiary" - }, - "id": 7343, - "name": "Identifier", - "src": "2047:12:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 7344, - "name": "ElementaryTypeNameExpression", - "src": "2061:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 7345, - "name": "Literal", - "src": "2069:1:24" - } - ], - "id": 7346, - "name": "FunctionCall", - "src": "2061:10:24" - } - ], - "id": 7347, - "name": "FunctionCall", - "src": "2010:62:24" - } - ], - "id": 7348, - "name": "ExpressionStatement", - "src": "2010:62:24" - } - ], - "id": 7349, - "name": "Block", - "src": "1999:81:24" - } - ], - "id": 7350, - "name": "FunctionDefinition", - "src": "1908:172:24" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 7712, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_voteParams", - "scope": 7383, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7351, - "name": "ElementaryTypeName", - "src": "2221:7:24" - } - ], - "id": 7352, - "name": "VariableDeclaration", - "src": "2221:19:24" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 7383, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 7353, - "name": "UserDefinedTypeName", - "src": "2251:16:24" - } - ], - "id": 7354, - "name": "VariableDeclaration", - "src": "2251:25:24" - } - ], - "id": 7355, - "name": "ParameterList", - "src": "2210:73:24" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7383, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7356, - "name": "ElementaryTypeName", - "src": "2299:7:24" - } - ], - "id": 7357, - "name": "VariableDeclaration", - "src": "2299:7:24" - } - ], - "id": 7358, - "name": "ParameterList", - "src": "2298:9:24" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 7360 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 7383, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7359, - "name": "ElementaryTypeName", - "src": "2324:7:24" - } - ], - "id": 7360, - "name": "VariableDeclaration", - "src": "2324:18:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7399, - "type": "function (bytes32,contract IntVoteInterface) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 7361, - "name": "Identifier", - "src": "2345:17:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7352, - "type": "bytes32", - "value": "_voteParams" - }, - "id": 7362, - "name": "Identifier", - "src": "2363:11:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7354, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 7363, - "name": "Identifier", - "src": "2376:8:24" - } - ], - "id": 7364, - "name": "FunctionCall", - "src": "2345:40:24" - } - ], - "id": 7365, - "name": "VariableDeclarationStatement", - "src": "2324:61:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "voteParams", - "referencedDeclaration": 7324, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct UpgradeScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7331, - "type": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 7366, - "name": "Identifier", - "src": "2396:10:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7360, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 7367, - "name": "Identifier", - "src": "2407:10:24" - } - ], - "id": 7368, - "name": "IndexAccess", - "src": "2396:22:24" - } - ], - "id": 7369, - "name": "MemberAccess", - "src": "2396:33:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7352, - "type": "bytes32", - "value": "_voteParams" - }, - "id": 7370, - "name": "Identifier", - "src": "2432:11:24" - } - ], - "id": 7371, - "name": "Assignment", - "src": "2396:47:24" - } - ], - "id": 7372, - "name": "ExpressionStatement", - "src": "2396:47:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "intVote", - "referencedDeclaration": 7326, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct UpgradeScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7331, - "type": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 7373, - "name": "Identifier", - "src": "2454:10:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7360, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 7374, - "name": "Identifier", - "src": "2465:10:24" - } - ], - "id": 7375, - "name": "IndexAccess", - "src": "2454:22:24" - } - ], - "id": 7376, - "name": "MemberAccess", - "src": "2454:30:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7354, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 7377, - "name": "Identifier", - "src": "2487:8:24" - } - ], - "id": 7378, - "name": "Assignment", - "src": "2454:41:24" - } - ], - "id": 7379, - "name": "ExpressionStatement", - "src": "2454:41:24" - }, - { - "attributes": { - "functionReturnParameters": 7358 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7360, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 7380, - "name": "Identifier", - "src": "2513:10:24" - } - ], - "id": 7381, - "name": "Return", - "src": "2506:17:24" - } - ], - "id": 7382, - "name": "Block", - "src": "2313:218:24" - } - ], - "id": 7383, - "name": "FunctionDefinition", - "src": "2188:343:24" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 7712, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_voteParams", - "scope": 7399, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7384, - "name": "ElementaryTypeName", - "src": "2643:7:24" - } - ], - "id": 7385, - "name": "VariableDeclaration", - "src": "2643:19:24" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 7399, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 7386, - "name": "UserDefinedTypeName", - "src": "2673:16:24" - } - ], - "id": 7387, - "name": "VariableDeclaration", - "src": "2673:25:24" - } - ], - "id": 7388, - "name": "ParameterList", - "src": "2632:73:24" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7399, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7389, - "name": "ElementaryTypeName", - "src": "2726:7:24" - } - ], - "id": 7390, - "name": "VariableDeclaration", - "src": "2726:7:24" - } - ], - "id": 7391, - "name": "ParameterList", - "src": "2725:9:24" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 7391 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 7392, - "name": "Identifier", - "src": "2760:9:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7385, - "type": "bytes32", - "value": "_voteParams" - }, - "id": 7393, - "name": "Identifier", - "src": "2770:11:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7387, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 7394, - "name": "Identifier", - "src": "2783:8:24" - } - ], - "id": 7395, - "name": "FunctionCall", - "src": "2760:32:24" - } - ], - "id": 7396, - "name": "TupleExpression", - "src": "2759:34:24" - } - ], - "id": 7397, - "name": "Return", - "src": "2751:42:24" - } - ], - "id": 7398, - "name": "Block", - "src": "2740:61:24" - } - ], - "id": 7399, - "name": "FunctionDefinition", - "src": "2606:195:24" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "proposeUpgrade", - "payable": false, - "scope": 7712, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 7473, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 7400, - "name": "UserDefinedTypeName", - "src": "3096:6:24" - } - ], - "id": 7401, - "name": "VariableDeclaration", - "src": "3096:14:24" - }, - { - "attributes": { - "constant": false, - "name": "_newController", - "scope": 7473, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7402, - "name": "ElementaryTypeName", - "src": "3112:7:24" - } - ], - "id": 7403, - "name": "VariableDeclaration", - "src": "3112:22:24" - } - ], - "id": 7404, - "name": "ParameterList", - "src": "3095:40:24" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7473, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7408, - "name": "ElementaryTypeName", - "src": "3214:7:24" - } - ], - "id": 7409, - "name": "VariableDeclaration", - "src": "3214:7:24" - } - ], - "id": 7410, - "name": "ParameterList", - "src": "3213:9:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7129, - "type": "modifier (address)", - "value": "onlyRegisteredOrganization" - }, - "id": 7405, - "name": "Identifier", - "src": "3161:26:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7401, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7406, - "name": "Identifier", - "src": "3188:7:24" - } - ], - "id": 7407, - "name": "ModifierInvocation", - "src": "3161:35:24" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 7412 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 7473, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct UpgradeScheme.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 7327, - "type": "struct UpgradeScheme.Parameters storage pointer" - }, - "id": 7411, - "name": "UserDefinedTypeName", - "src": "3239:10:24" - } - ], - "id": 7412, - "name": "VariableDeclaration", - "src": "3239:24:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct UpgradeScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7331, - "type": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 7413, - "name": "Identifier", - "src": "3266:10:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 7414, - "name": "Identifier", - "src": "3277:27:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7401, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7415, - "name": "Identifier", - "src": "3305:7:24" - } - ], - "id": 7416, - "name": "FunctionCall", - "src": "3277:36:24" - } - ], - "id": 7417, - "name": "IndexAccess", - "src": "3266:48:24" - } - ], - "id": 7418, - "name": "VariableDeclarationStatement", - "src": "3239:75:24" - }, - { - "attributes": { - "assignments": [ - 7420 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposalId", - "scope": 7473, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7419, - "name": "ElementaryTypeName", - "src": "3325:7:24" - } - ], - "id": 7420, - "name": "VariableDeclaration", - "src": "3325:18:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_ExecutableInterface_$5155", - "typeString": "contract ExecutableInterface" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "propose", - "referencedDeclaration": 2570, - "type": "function (uint256,bytes32,address,contract ExecutableInterface) external returns (bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 7326, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7412, - "type": "struct UpgradeScheme.Parameters memory", - "value": "params" - }, - "id": 7421, - "name": "Identifier", - "src": "3346:6:24" - } - ], - "id": 7422, - "name": "MemberAccess", - "src": "3346:14:24" - } - ], - "id": 7423, - "name": "MemberAccess", - "src": "3346:22:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 7424, - "name": "Literal", - "src": "3369:1:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteParams", - "referencedDeclaration": 7324, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7412, - "type": "struct UpgradeScheme.Parameters memory", - "value": "params" - }, - "id": 7425, - "name": "Identifier", - "src": "3372:6:24" - } - ], - "id": 7426, - "name": "MemberAccess", - "src": "3372:17:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7401, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7427, - "name": "Identifier", - "src": "3391:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract ExecutableInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_UpgradeScheme_$7712", - "typeString": "contract UpgradeScheme" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5155, - "type": "type(contract ExecutableInterface)", - "value": "ExecutableInterface" - }, - "id": 7428, - "name": "Identifier", - "src": "3400:19:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9819, - "type": "contract UpgradeScheme", - "value": "this" - }, - "id": 7429, - "name": "Identifier", - "src": "3420:4:24" - } - ], - "id": 7430, - "name": "FunctionCall", - "src": "3400:25:24" - } - ], - "id": 7431, - "name": "FunctionCall", - "src": "3346:80:24" - } - ], - "id": 7432, - "name": "VariableDeclarationStatement", - "src": "3325:101:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "proposalType", - "referencedDeclaration": 7311, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct UpgradeScheme.UpgradeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7322, - "type": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 7433, - "name": "Identifier", - "src": "3437:22:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7401, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7434, - "name": "Identifier", - "src": "3460:7:24" - } - ], - "id": 7436, - "name": "IndexAccess", - "src": "3437:31:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7420, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7435, - "name": "Identifier", - "src": "3469:10:24" - } - ], - "id": 7437, - "name": "IndexAccess", - "src": "3437:43:24" - } - ], - "id": 7438, - "name": "MemberAccess", - "src": "3437:56:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 7439, - "name": "Literal", - "src": "3496:1:24" - } - ], - "id": 7440, - "name": "Assignment", - "src": "3437:60:24" - } - ], - "id": 7441, - "name": "ExpressionStatement", - "src": "3437:60:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "upgradeContract", - "referencedDeclaration": 7307, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct UpgradeScheme.UpgradeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7322, - "type": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 7442, - "name": "Identifier", - "src": "3508:22:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7401, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7443, - "name": "Identifier", - "src": "3531:7:24" - } - ], - "id": 7445, - "name": "IndexAccess", - "src": "3508:31:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7420, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7444, - "name": "Identifier", - "src": "3540:10:24" - } - ], - "id": 7446, - "name": "IndexAccess", - "src": "3508:43:24" - } - ], - "id": 7447, - "name": "MemberAccess", - "src": "3508:59:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7403, - "type": "address", - "value": "_newController" - }, - "id": 7448, - "name": "Identifier", - "src": "3570:14:24" - } - ], - "id": 7449, - "name": "Assignment", - "src": "3508:76:24" - } - ], - "id": 7450, - "name": "ExpressionStatement", - "src": "3508:76:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7277, - "type": "function (address,bytes32,address,address)", - "value": "LogNewUpgradeProposal" - }, - "id": 7451, - "name": "Identifier", - "src": "3595:21:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7401, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7452, - "name": "Identifier", - "src": "3617:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7420, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7453, - "name": "Identifier", - "src": "3626:10:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 7326, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7412, - "type": "struct UpgradeScheme.Parameters memory", - "value": "params" - }, - "id": 7454, - "name": "Identifier", - "src": "3638:6:24" - } - ], - "id": 7455, - "name": "MemberAccess", - "src": "3638:14:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7403, - "type": "address", - "value": "_newController" - }, - "id": 7456, - "name": "Identifier", - "src": "3654:14:24" - } - ], - "id": 7457, - "name": "FunctionCall", - "src": "3595:74:24" - } - ], - "id": 7458, - "name": "ExpressionStatement", - "src": "3595:74:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "ownerVote", - "referencedDeclaration": 2597, - "type": "function (bytes32,uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 7326, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7412, - "type": "struct UpgradeScheme.Parameters memory", - "value": "params" - }, - "id": 7459, - "name": "Identifier", - "src": "3680:6:24" - } - ], - "id": 7462, - "name": "MemberAccess", - "src": "3680:14:24" - } - ], - "id": 7463, - "name": "MemberAccess", - "src": "3680:24:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7420, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7464, - "name": "Identifier", - "src": "3705:10:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 7465, - "name": "Literal", - "src": "3717:1:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 7466, - "name": "Identifier", - "src": "3720:3:24" - } - ], - "id": 7467, - "name": "MemberAccess", - "src": "3720:10:24" - } - ], - "id": 7468, - "name": "FunctionCall", - "src": "3680:51:24" - } - ], - "id": 7469, - "name": "ExpressionStatement", - "src": "3680:51:24" - }, - { - "attributes": { - "functionReturnParameters": 7410 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7420, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7470, - "name": "Identifier", - "src": "3819:10:24" - } - ], - "id": 7471, - "name": "Return", - "src": "3812:17:24" - } - ], - "id": 7472, - "name": "Block", - "src": "3228:609:24" - } - ], - "id": 7473, - "name": "FunctionDefinition", - "src": "3072:765:24" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "proposeChangeUpgradingScheme", - "payable": false, - "scope": 7712, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 7571, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 7474, - "name": "UserDefinedTypeName", - "src": "4217:6:24" - } - ], - "id": 7475, - "name": "VariableDeclaration", - "src": "4217:14:24" - }, - { - "attributes": { - "constant": false, - "name": "_scheme", - "scope": 7571, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7476, - "name": "ElementaryTypeName", - "src": "4242:7:24" - } - ], - "id": 7477, - "name": "VariableDeclaration", - "src": "4242:15:24" - }, - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 7571, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7478, - "name": "ElementaryTypeName", - "src": "4268:7:24" - } - ], - "id": 7479, - "name": "VariableDeclaration", - "src": "4268:15:24" - }, - { - "attributes": { - "constant": false, - "name": "_tokenFee", - "scope": 7571, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 7480, - "name": "UserDefinedTypeName", - "src": "4294:13:24" - } - ], - "id": 7481, - "name": "VariableDeclaration", - "src": "4294:23:24" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 7571, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7482, - "name": "ElementaryTypeName", - "src": "4328:4:24" - } - ], - "id": 7483, - "name": "VariableDeclaration", - "src": "4328:9:24" - } - ], - "id": 7484, - "name": "ParameterList", - "src": "4206:138:24" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7571, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7488, - "name": "ElementaryTypeName", - "src": "4423:7:24" - } - ], - "id": 7489, - "name": "VariableDeclaration", - "src": "4423:7:24" - } - ], - "id": 7490, - "name": "ParameterList", - "src": "4422:9:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7129, - "type": "modifier (address)", - "value": "onlyRegisteredOrganization" - }, - "id": 7485, - "name": "Identifier", - "src": "4370:26:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7475, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7486, - "name": "Identifier", - "src": "4397:7:24" - } - ], - "id": 7487, - "name": "ModifierInvocation", - "src": "4370:35:24" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 7492 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 7571, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct UpgradeScheme.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 7327, - "type": "struct UpgradeScheme.Parameters storage pointer" - }, - "id": 7491, - "name": "UserDefinedTypeName", - "src": "4448:10:24" - } - ], - "id": 7492, - "name": "VariableDeclaration", - "src": "4448:24:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct UpgradeScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7331, - "type": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 7493, - "name": "Identifier", - "src": "4475:10:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 7494, - "name": "Identifier", - "src": "4486:27:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7475, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7495, - "name": "Identifier", - "src": "4514:7:24" - } - ], - "id": 7496, - "name": "FunctionCall", - "src": "4486:36:24" - } - ], - "id": 7497, - "name": "IndexAccess", - "src": "4475:48:24" - } - ], - "id": 7498, - "name": "VariableDeclarationStatement", - "src": "4448:75:24" - }, - { - "attributes": { - "assignments": [ - 7500 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 7571, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 7499, - "name": "UserDefinedTypeName", - "src": "4534:16:24" - } - ], - "id": 7500, - "name": "VariableDeclaration", - "src": "4534:24:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 7326, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7492, - "type": "struct UpgradeScheme.Parameters memory", - "value": "params" - }, - "id": 7501, - "name": "Identifier", - "src": "4561:6:24" - } - ], - "id": 7502, - "name": "MemberAccess", - "src": "4561:14:24" - } - ], - "id": 7503, - "name": "VariableDeclarationStatement", - "src": "4534:41:24" - }, - { - "attributes": { - "assignments": [ - 7505 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposalId", - "scope": 7571, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7504, - "name": "ElementaryTypeName", - "src": "4586:7:24" - } - ], - "id": 7505, - "name": "VariableDeclaration", - "src": "4586:18:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_ExecutableInterface_$5155", - "typeString": "contract ExecutableInterface" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "propose", - "referencedDeclaration": 2570, - "type": "function (uint256,bytes32,address,contract ExecutableInterface) external returns (bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7500, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 7506, - "name": "Identifier", - "src": "4607:7:24" - } - ], - "id": 7507, - "name": "MemberAccess", - "src": "4607:15:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 7508, - "name": "Literal", - "src": "4623:1:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteParams", - "referencedDeclaration": 7324, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7492, - "type": "struct UpgradeScheme.Parameters memory", - "value": "params" - }, - "id": 7509, - "name": "Identifier", - "src": "4626:6:24" - } - ], - "id": 7510, - "name": "MemberAccess", - "src": "4626:17:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7475, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7511, - "name": "Identifier", - "src": "4645:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract ExecutableInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_UpgradeScheme_$7712", - "typeString": "contract UpgradeScheme" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5155, - "type": "type(contract ExecutableInterface)", - "value": "ExecutableInterface" - }, - "id": 7512, - "name": "Identifier", - "src": "4654:19:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9819, - "type": "contract UpgradeScheme", - "value": "this" - }, - "id": 7513, - "name": "Identifier", - "src": "4674:4:24" - } - ], - "id": 7514, - "name": "FunctionCall", - "src": "4654:25:24" - } - ], - "id": 7515, - "name": "FunctionCall", - "src": "4607:73:24" - } - ], - "id": 7516, - "name": "VariableDeclarationStatement", - "src": "4586:94:24" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposalType", - "referencedDeclaration": 7311, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct UpgradeScheme.UpgradeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7322, - "type": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 7517, - "name": "Identifier", - "src": "4695:22:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7475, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7518, - "name": "Identifier", - "src": "4718:7:24" - } - ], - "id": 7519, - "name": "IndexAccess", - "src": "4695:31:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7505, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7520, - "name": "Identifier", - "src": "4727:10:24" - } - ], - "id": 7521, - "name": "IndexAccess", - "src": "4695:43:24" - } - ], - "id": 7522, - "name": "MemberAccess", - "src": "4695:56:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 7523, - "name": "Literal", - "src": "4755:1:24" - } - ], - "id": 7524, - "name": "BinaryOperation", - "src": "4695:61:24" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 7525, - "name": "Identifier", - "src": "4773:6:24" - } - ], - "id": 7526, - "name": "FunctionCall", - "src": "4773:8:24" - } - ], - "id": 7527, - "name": "ExpressionStatement", - "src": "4773:8:24" - } - ], - "id": 7528, - "name": "Block", - "src": "4758:35:24" - } - ], - "id": 7529, - "name": "IfStatement", - "src": "4691:102:24" - }, - { - "attributes": { - "assignments": [ - 7531 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 7571, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UpgradeProposal", - "referencedDeclaration": 7316, - "type": "struct UpgradeScheme.UpgradeProposal storage pointer" - }, - "id": 7530, - "name": "UserDefinedTypeName", - "src": "4805:15:24" - } - ], - "id": 7531, - "name": "VariableDeclaration", - "src": "4805:31:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "proposalType", - "upgradeContract", - "params", - "tokenFee", - "fee" - ], - "type": "struct UpgradeScheme.UpgradeProposal memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7316, - "type": "type(struct UpgradeScheme.UpgradeProposal storage pointer)", - "value": "UpgradeProposal" - }, - "id": 7532, - "name": "Identifier", - "src": "4839:15:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 7533, - "name": "Literal", - "src": "4884:1:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7477, - "type": "address", - "value": "_scheme" - }, - "id": 7534, - "name": "Identifier", - "src": "4917:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7479, - "type": "bytes32", - "value": "_params" - }, - "id": 7535, - "name": "Identifier", - "src": "4947:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7481, - "type": "contract StandardToken", - "value": "_tokenFee" - }, - "id": 7536, - "name": "Identifier", - "src": "4979:9:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7483, - "type": "uint256", - "value": "_fee" - }, - "id": 7537, - "name": "Identifier", - "src": "5008:4:24" - } - ], - "id": 7538, - "name": "FunctionCall", - "src": "4839:185:24" - } - ], - "id": 7539, - "name": "VariableDeclarationStatement", - "src": "4805:219:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct UpgradeScheme.UpgradeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct UpgradeScheme.UpgradeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7322, - "type": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 7540, - "name": "Identifier", - "src": "5035:22:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7475, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7541, - "name": "Identifier", - "src": "5058:7:24" - } - ], - "id": 7543, - "name": "IndexAccess", - "src": "5035:31:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7505, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7542, - "name": "Identifier", - "src": "5067:10:24" - } - ], - "id": 7544, - "name": "IndexAccess", - "src": "5035:43:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7531, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7545, - "name": "Identifier", - "src": "5081:8:24" - } - ], - "id": 7546, - "name": "Assignment", - "src": "5035:54:24" - } - ], - "id": 7547, - "name": "ExpressionStatement", - "src": "5035:54:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7293, - "type": "function (address,bytes32,address,address,bytes32,contract StandardToken,uint256)", - "value": "LogChangeUpgradeSchemeProposal" - }, - "id": 7548, - "name": "Identifier", - "src": "5102:30:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7475, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7549, - "name": "Identifier", - "src": "5147:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7505, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7550, - "name": "Identifier", - "src": "5169:10:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 7326, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7492, - "type": "struct UpgradeScheme.Parameters memory", - "value": "params" - }, - "id": 7551, - "name": "Identifier", - "src": "5194:6:24" - } - ], - "id": 7552, - "name": "MemberAccess", - "src": "5194:14:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7477, - "type": "address", - "value": "_scheme" - }, - "id": 7553, - "name": "Identifier", - "src": "5223:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7479, - "type": "bytes32", - "value": "_params" - }, - "id": 7554, - "name": "Identifier", - "src": "5245:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7481, - "type": "contract StandardToken", - "value": "_tokenFee" - }, - "id": 7555, - "name": "Identifier", - "src": "5267:9:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7483, - "type": "uint256", - "value": "_fee" - }, - "id": 7556, - "name": "Identifier", - "src": "5291:4:24" - } - ], - "id": 7557, - "name": "FunctionCall", - "src": "5102:204:24" - } - ], - "id": 7558, - "name": "ExpressionStatement", - "src": "5102:204:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "ownerVote", - "referencedDeclaration": 2597, - "type": "function (bytes32,uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7500, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 7559, - "name": "Identifier", - "src": "5317:7:24" - } - ], - "id": 7561, - "name": "MemberAccess", - "src": "5317:17:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7505, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7562, - "name": "Identifier", - "src": "5335:10:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 7563, - "name": "Literal", - "src": "5347:1:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 7564, - "name": "Identifier", - "src": "5350:3:24" - } - ], - "id": 7565, - "name": "MemberAccess", - "src": "5350:10:24" - } - ], - "id": 7566, - "name": "FunctionCall", - "src": "5317:44:24" - } - ], - "id": 7567, - "name": "ExpressionStatement", - "src": "5317:44:24" - }, - { - "attributes": { - "functionReturnParameters": 7490 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7505, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7568, - "name": "Identifier", - "src": "5435:10:24" - } - ], - "id": 7569, - "name": "Return", - "src": "5428:17:24" - } - ], - "id": 7570, - "name": "Block", - "src": "4437:1016:24" - } - ], - "id": 7571, - "name": "FunctionDefinition", - "src": "4169:1284:24" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "execute", - "payable": false, - "scope": 7712, - "stateMutability": "nonpayable", - "superFunction": 5154, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 7711, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7572, - "name": "ElementaryTypeName", - "src": "5793:7:24" - } - ], - "id": 7573, - "name": "VariableDeclaration", - "src": "5793:19:24" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 7711, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7574, - "name": "ElementaryTypeName", - "src": "5814:7:24" - } - ], - "id": 7575, - "name": "VariableDeclaration", - "src": "5814:15:24" - }, - { - "attributes": { - "constant": false, - "name": "_param", - "scope": 7711, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 7576, - "name": "ElementaryTypeName", - "src": "5831:3:24" - } - ], - "id": 7577, - "name": "VariableDeclaration", - "src": "5831:10:24" - } - ], - "id": 7578, - "name": "ParameterList", - "src": "5792:50:24" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7711, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 7579, - "name": "ElementaryTypeName", - "src": "5858:4:24" - } - ], - "id": 7580, - "name": "VariableDeclaration", - "src": "5858:4:24" - } - ], - "id": 7581, - "name": "ParameterList", - "src": "5857:6:24" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 7582, - "name": "Identifier", - "src": "5934:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 7326, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct UpgradeScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7331, - "type": "mapping(bytes32 => struct UpgradeScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 7583, - "name": "Identifier", - "src": "5942:10:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 7584, - "name": "Identifier", - "src": "5953:27:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 7585, - "name": "Identifier", - "src": "5981:6:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7575, - "type": "address", - "value": "_avatar" - }, - "id": 7586, - "name": "Identifier", - "src": "5988:7:24" - } - ], - "id": 7587, - "name": "FunctionCall", - "src": "5981:15:24" - } - ], - "id": 7588, - "name": "FunctionCall", - "src": "5953:44:24" - } - ], - "id": 7589, - "name": "IndexAccess", - "src": "5942:56:24" - } - ], - "id": 7590, - "name": "MemberAccess", - "src": "5942:64:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 7591, - "name": "Identifier", - "src": "6010:3:24" - } - ], - "id": 7592, - "name": "MemberAccess", - "src": "6010:10:24" - } - ], - "id": 7593, - "name": "BinaryOperation", - "src": "5942:78:24" - } - ], - "id": 7594, - "name": "FunctionCall", - "src": "5934:87:24" - } - ], - "id": 7595, - "name": "ExpressionStatement", - "src": "5934:87:24" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7577, - "type": "int256", - "value": "_param" - }, - "id": 7596, - "name": "Identifier", - "src": "6078:6:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 7597, - "name": "Literal", - "src": "6088:1:24" - } - ], - "id": 7598, - "name": "BinaryOperation", - "src": "6078:11:24" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 7600 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 7711, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 7599, - "name": "UserDefinedTypeName", - "src": "6158:10:24" - } - ], - "id": 7600, - "name": "VariableDeclaration", - "src": "6158:21:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 7601, - "name": "Identifier", - "src": "6182:10:24" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 7602, - "name": "Identifier", - "src": "6193:6:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7575, - "type": "address", - "value": "_avatar" - }, - "id": 7603, - "name": "Identifier", - "src": "6200:7:24" - } - ], - "id": 7604, - "name": "FunctionCall", - "src": "6193:15:24" - } - ], - "id": 7605, - "name": "MemberAccess", - "src": "6193:21:24" - } - ], - "id": 7606, - "name": "FunctionCall", - "src": "6193:23:24" - } - ], - "id": 7607, - "name": "FunctionCall", - "src": "6182:35:24" - } - ], - "id": 7608, - "name": "VariableDeclarationStatement", - "src": "6158:59:24" - }, - { - "attributes": { - "assignments": [ - 7610 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 7711, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UpgradeProposal", - "referencedDeclaration": 7316, - "type": "struct UpgradeScheme.UpgradeProposal storage pointer" - }, - "id": 7609, - "name": "UserDefinedTypeName", - "src": "6232:15:24" - } - ], - "id": 7610, - "name": "VariableDeclaration", - "src": "6232:31:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct UpgradeScheme.UpgradeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7322, - "type": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 7611, - "name": "Identifier", - "src": "6266:22:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7575, - "type": "address", - "value": "_avatar" - }, - "id": 7612, - "name": "Identifier", - "src": "6289:7:24" - } - ], - "id": 7613, - "name": "IndexAccess", - "src": "6266:31:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7573, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 7614, - "name": "Identifier", - "src": "6298:11:24" - } - ], - "id": 7615, - "name": "IndexAccess", - "src": "6266:44:24" - } - ], - "id": 7616, - "name": "VariableDeclarationStatement", - "src": "6232:78:24" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposalType", - "referencedDeclaration": 7311, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7610, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7617, - "name": "Identifier", - "src": "6365:8:24" - } - ], - "id": 7618, - "name": "MemberAccess", - "src": "6365:21:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 7619, - "name": "Literal", - "src": "6390:1:24" - } - ], - "id": 7620, - "name": "BinaryOperation", - "src": "6365:26:24" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "upgradeController", - "referencedDeclaration": 3969, - "type": "function (address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7600, - "type": "contract Controller", - "value": "controller" - }, - "id": 7621, - "name": "Identifier", - "src": "6417:10:24" - } - ], - "id": 7622, - "name": "MemberAccess", - "src": "6417:28:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "upgradeContract", - "referencedDeclaration": 7307, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7610, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7623, - "name": "Identifier", - "src": "6446:8:24" - } - ], - "id": 7624, - "name": "MemberAccess", - "src": "6446:24:24" - } - ], - "id": 7625, - "name": "FunctionCall", - "src": "6417:54:24" - } - ], - "id": 7626, - "name": "UnaryOperation", - "src": "6416:55:24" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 7627, - "name": "Identifier", - "src": "6496:6:24" - } - ], - "id": 7628, - "name": "FunctionCall", - "src": "6496:8:24" - } - ], - "id": 7629, - "name": "ExpressionStatement", - "src": "6496:8:24" - } - ], - "id": 7630, - "name": "Block", - "src": "6473:53:24" - } - ], - "id": 7631, - "name": "IfStatement", - "src": "6412:114:24" - } - ], - "id": 7632, - "name": "Block", - "src": "6393:152:24" - } - ], - "id": 7633, - "name": "IfStatement", - "src": "6361:184:24" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "proposalType", - "referencedDeclaration": 7311, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7610, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7634, - "name": "Identifier", - "src": "6602:8:24" - } - ], - "id": 7635, - "name": "MemberAccess", - "src": "6602:21:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 7636, - "name": "Literal", - "src": "6627:1:24" - } - ], - "id": 7637, - "name": "BinaryOperation", - "src": "6602:26:24" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 7639 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "permissions", - "scope": 7711, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes4", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes4", - "type": "bytes4" - }, - "id": 7638, - "name": "ElementaryTypeName", - "src": "6649:6:24" - } - ], - "id": 7639, - "name": "VariableDeclaration", - "src": "6649:18:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes4", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_UpgradeScheme_$7712", - "typeString": "contract UpgradeScheme" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "getSchemePermissions", - "referencedDeclaration": 3742, - "type": "function (address) view external returns (bytes4)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7600, - "type": "contract Controller", - "value": "controller" - }, - "id": 7640, - "name": "Identifier", - "src": "6670:10:24" - } - ], - "id": 7641, - "name": "MemberAccess", - "src": "6670:31:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9819, - "type": "contract UpgradeScheme", - "value": "this" - }, - "id": 7642, - "name": "Identifier", - "src": "6702:4:24" - } - ], - "id": 7643, - "name": "FunctionCall", - "src": "6670:37:24" - } - ], - "id": 7644, - "name": "VariableDeclarationStatement", - "src": "6649:58:24" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "fee", - "referencedDeclaration": 7315, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7610, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7645, - "name": "Identifier", - "src": "6730:8:24" - } - ], - "id": 7646, - "name": "MemberAccess", - "src": "6730:12:24" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 7647, - "name": "Literal", - "src": "6746:1:24" - } - ], - "id": 7648, - "name": "BinaryOperation", - "src": "6730:17:24" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "externalTokenIncreaseApproval", - "referencedDeclaration": 4124, - "type": "function (contract StandardToken,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7600, - "type": "contract Controller", - "value": "controller" - }, - "id": 7649, - "name": "Identifier", - "src": "6777:10:24" - } - ], - "id": 7650, - "name": "MemberAccess", - "src": "6777:40:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "tokenFee", - "referencedDeclaration": 7313, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7610, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7651, - "name": "Identifier", - "src": "6818:8:24" - } - ], - "id": 7652, - "name": "MemberAccess", - "src": "6818:17:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "upgradeContract", - "referencedDeclaration": 7307, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7610, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7653, - "name": "Identifier", - "src": "6837:8:24" - } - ], - "id": 7654, - "name": "MemberAccess", - "src": "6837:24:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "fee", - "referencedDeclaration": 7315, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7610, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7655, - "name": "Identifier", - "src": "6863:8:24" - } - ], - "id": 7656, - "name": "MemberAccess", - "src": "6863:12:24" - } - ], - "id": 7657, - "name": "FunctionCall", - "src": "6777:99:24" - } - ], - "id": 7658, - "name": "UnaryOperation", - "src": "6776:100:24" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 7659, - "name": "Identifier", - "src": "6905:6:24" - } - ], - "id": 7660, - "name": "FunctionCall", - "src": "6905:8:24" - } - ], - "id": 7661, - "name": "ExpressionStatement", - "src": "6905:8:24" - } - ], - "id": 7662, - "name": "Block", - "src": "6878:61:24" - } - ], - "id": 7663, - "name": "IfStatement", - "src": "6772:167:24" - } - ], - "id": 7664, - "name": "Block", - "src": "6749:213:24" - } - ], - "id": 7665, - "name": "IfStatement", - "src": "6726:236:24" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "registerScheme", - "referencedDeclaration": 3597, - "type": "function (address,bytes32,bytes4) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7600, - "type": "contract Controller", - "value": "controller" - }, - "id": 7666, - "name": "Identifier", - "src": "6985:10:24" - } - ], - "id": 7667, - "name": "MemberAccess", - "src": "6985:25:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "upgradeContract", - "referencedDeclaration": 7307, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7610, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7668, - "name": "Identifier", - "src": "7011:8:24" - } - ], - "id": 7669, - "name": "MemberAccess", - "src": "7011:24:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "params", - "referencedDeclaration": 7309, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7610, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7670, - "name": "Identifier", - "src": "7037:8:24" - } - ], - "id": 7671, - "name": "MemberAccess", - "src": "7037:15:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7639, - "type": "bytes4", - "value": "permissions" - }, - "id": 7672, - "name": "Identifier", - "src": "7054:11:24" - } - ], - "id": 7673, - "name": "FunctionCall", - "src": "6985:81:24" - } - ], - "id": 7674, - "name": "UnaryOperation", - "src": "6984:82:24" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 7675, - "name": "Identifier", - "src": "7091:6:24" - } - ], - "id": 7676, - "name": "FunctionCall", - "src": "7091:8:24" - } - ], - "id": 7677, - "name": "ExpressionStatement", - "src": "7091:8:24" - } - ], - "id": 7678, - "name": "Block", - "src": "7068:53:24" - } - ], - "id": 7679, - "name": "IfStatement", - "src": "6980:141:24" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "upgradeContract", - "referencedDeclaration": 7307, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7610, - "type": "struct UpgradeScheme.UpgradeProposal memory", - "value": "proposal" - }, - "id": 7680, - "name": "Identifier", - "src": "7143:8:24" - } - ], - "id": 7681, - "name": "MemberAccess", - "src": "7143:24:24" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_UpgradeScheme_$7712", - "typeString": "contract UpgradeScheme" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 7682, - "name": "ElementaryTypeNameExpression", - "src": "7171:7:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9819, - "type": "contract UpgradeScheme", - "value": "this" - }, - "id": 7683, - "name": "Identifier", - "src": "7179:4:24" - } - ], - "id": 7684, - "name": "FunctionCall", - "src": "7171:13:24" - } - ], - "id": 7685, - "name": "BinaryOperation", - "src": "7143:41:24" - }, - { - "children": [ - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "unregisterSelf", - "referencedDeclaration": 3694, - "type": "function () external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7600, - "type": "contract Controller", - "value": "controller" - }, - "id": 7686, - "name": "Identifier", - "src": "7215:10:24" - } - ], - "id": 7687, - "name": "MemberAccess", - "src": "7215:25:24" - } - ], - "id": 7688, - "name": "FunctionCall", - "src": "7215:27:24" - } - ], - "id": 7689, - "name": "UnaryOperation", - "src": "7214:28:24" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9740, - "type": "function () pure", - "value": "revert" - }, - "id": 7690, - "name": "Identifier", - "src": "7271:6:24" - } - ], - "id": 7691, - "name": "FunctionCall", - "src": "7271:8:24" - } - ], - "id": 7692, - "name": "ExpressionStatement", - "src": "7271:8:24" - } - ], - "id": 7693, - "name": "Block", - "src": "7244:61:24" - } - ], - "id": 7694, - "name": "IfStatement", - "src": "7210:95:24" - } - ], - "id": 7695, - "name": "Block", - "src": "7187:141:24" - } - ], - "id": 7696, - "name": "IfStatement", - "src": "7139:189:24" - } - ], - "id": 7697, - "name": "Block", - "src": "6630:719:24" - } - ], - "id": 7698, - "name": "IfStatement", - "src": "6598:751:24" - } - ], - "id": 7699, - "name": "Block", - "src": "6091:1277:24" - } - ], - "id": 7700, - "name": "IfStatement", - "src": "6074:1294:24" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct UpgradeScheme.UpgradeProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7322, - "type": "mapping(address => mapping(bytes32 => struct UpgradeScheme.UpgradeProposal storage ref))", - "value": "organizationsProposals" - }, - "id": 7701, - "name": "Identifier", - "src": "7385:22:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7575, - "type": "address", - "value": "_avatar" - }, - "id": 7702, - "name": "Identifier", - "src": "7408:7:24" - } - ], - "id": 7703, - "name": "IndexAccess", - "src": "7385:31:24" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7573, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 7704, - "name": "Identifier", - "src": "7417:11:24" - } - ], - "id": 7705, - "name": "IndexAccess", - "src": "7385:44:24" - } - ], - "id": 7706, - "name": "UnaryOperation", - "src": "7378:51:24" - } - ], - "id": 7707, - "name": "ExpressionStatement", - "src": "7378:51:24" - }, - { - "attributes": { - "functionReturnParameters": 7581 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 7708, - "name": "Literal", - "src": "7447:4:24" - } - ], - "id": 7709, - "name": "Return", - "src": "7440:11:24" - } - ], - "id": 7710, - "name": "Block", - "src": "5864:1595:24" - } - ], - "id": 7711, - "name": "FunctionDefinition", - "src": "5776:1683:24" - } - ], - "id": 7712, - "name": "ContractDefinition", - "src": "281:7181:24" - } - ], - "id": 7713, - "name": "SourceUnit", - "src": "0:7464:24" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": { - "42": { - "events": { - "0xa96bac6ecd2db240cb777e078d2fceafc3cb9c2aceefe34b827f802d4a1a7980": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_newController", - "type": "address" - } - ], - "name": "LogNewUpgradeProposal", - "type": "event" - }, - "0x2d846aeb8264bef18d7393145472cfc99afb135a60ea2c6a6dc368b03e548349": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "newUpgradeScheme", - "type": "address" - }, - { - "indexed": false, - "name": "_params", - "type": "bytes32" - }, - { - "indexed": false, - "name": "tokenFee", - "type": "address" - }, - { - "indexed": false, - "name": "fee", - "type": "uint256" - } - ], - "name": "LogChangeUpgradeSchemeProposal", - "type": "event" - }, - "0x1f9b6fe94f8389fd9936094c2246b3cb2b4392e59e72e915e70e6a08a47a1fb9": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalExecuted", - "type": "event" - }, - "0xb5a530776d05e9cd7b304c6670fc54c08de4635c6c958237204d61215ca1ce34": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalDeleted", - "type": "event" - }, - "0x2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e5": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - "0x3e49374a7db898f4d722a5bb59326d1c41e883a698b84df91f09ebe018070732": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0x74bd3fd0087201eccfe4a6ca2a94a24068a1ba9a" - }, - "1512051714758": { - "events": { - "0xa96bac6ecd2db240cb777e078d2fceafc3cb9c2aceefe34b827f802d4a1a7980": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_newController", - "type": "address" - } - ], - "name": "LogNewUpgradeProposal", - "type": "event" - }, - "0x2d846aeb8264bef18d7393145472cfc99afb135a60ea2c6a6dc368b03e548349": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "newUpgradeScheme", - "type": "address" - }, - { - "indexed": false, - "name": "_params", - "type": "bytes32" - }, - { - "indexed": false, - "name": "tokenFee", - "type": "address" - }, - { - "indexed": false, - "name": "fee", - "type": "uint256" - } - ], - "name": "LogChangeUpgradeSchemeProposal", - "type": "event" - }, - "0x1f9b6fe94f8389fd9936094c2246b3cb2b4392e59e72e915e70e6a08a47a1fb9": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalExecuted", - "type": "event" - }, - "0xb5a530776d05e9cd7b304c6670fc54c08de4635c6c958237204d61215ca1ce34": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogProposalDeleted", - "type": "event" - }, - "0x2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e5": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - "0x3e49374a7db898f4d722a5bb59326d1c41e883a698b84df91f09ebe018070732": { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - }, - "links": {}, - "address": "0xea86804fc9da37b6681047bc3db8d0cba6948f30" - } - }, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:31:04.938Z" -} \ No newline at end of file diff --git a/contracts/VestingScheme.json b/contracts/VestingScheme.json deleted file mode 100644 index b78f93829..000000000 --- a/contracts/VestingScheme.json +++ /dev/null @@ -1,13214 +0,0 @@ -{ - "contractName": "VestingScheme", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "parameters", - "outputs": [ - { - "name": "voteParams", - "type": "bytes32" - }, - { - "name": "intVote", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "bytes32" - } - ], - "name": "organizationsData", - "outputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "beneficiary", - "type": "address" - }, - { - "name": "returnOnCancelAddress", - "type": "address" - }, - { - "name": "startingBlock", - "type": "uint256" - }, - { - "name": "amountPerPeriod", - "type": "uint256" - }, - { - "name": "periodLength", - "type": "uint256" - }, - { - "name": "numOfAgreedPeriods", - "type": "uint256" - }, - { - "name": "cliffInPeriods", - "type": "uint256" - }, - { - "name": "signaturesReqToCancel", - "type": "uint256" - }, - { - "name": "collectedPeriods", - "type": "uint256" - }, - { - "name": "signaturesReceivedCounter", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_voteParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_param", - "type": "int256" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "beneficiary", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_returnOnCancelAddress", - "type": "address" - }, - { - "name": "_startingBlock", - "type": "uint256" - }, - { - "name": "_amountPerPeriod", - "type": "uint256" - }, - { - "name": "_periodLength", - "type": "uint256" - }, - { - "name": "_numOfAgreedPeriods", - "type": "uint256" - }, - { - "name": "_cliffInPeriods", - "type": "uint256" - }, - { - "name": "_signaturesReqToCancel", - "type": "uint256" - }, - { - "name": "_signersArray", - "type": "address[]" - }, - { - "name": "_avatar", - "type": "address" - } - ], - "name": "proposeVestingAgreement", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_voteParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_agreementId", - "type": "uint256" - } - ], - "name": "revokeSignToCancelAgreement", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_agreementId", - "type": "uint256" - } - ], - "name": "signToCancelAgreement", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "uint256" - } - ], - "name": "agreements", - "outputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "beneficiary", - "type": "address" - }, - { - "name": "returnOnCancelAddress", - "type": "address" - }, - { - "name": "startingBlock", - "type": "uint256" - }, - { - "name": "amountPerPeriod", - "type": "uint256" - }, - { - "name": "periodLength", - "type": "uint256" - }, - { - "name": "numOfAgreedPeriods", - "type": "uint256" - }, - { - "name": "cliffInPeriods", - "type": "uint256" - }, - { - "name": "signaturesReqToCancel", - "type": "uint256" - }, - { - "name": "collectedPeriods", - "type": "uint256" - }, - { - "name": "signaturesReceivedCounter", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_agreementId", - "type": "uint256" - } - ], - "name": "collect", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "fee", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_token", - "type": "address" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_returnOnCancelAddress", - "type": "address" - }, - { - "name": "_startingBlock", - "type": "uint256" - }, - { - "name": "_amountPerPeriod", - "type": "uint256" - }, - { - "name": "_periodLength", - "type": "uint256" - }, - { - "name": "_numOfAgreedPeriods", - "type": "uint256" - }, - { - "name": "_cliffInPeriods", - "type": "uint256" - }, - { - "name": "_signaturesReqToCancel", - "type": "uint256" - }, - { - "name": "_signersArray", - "type": "address[]" - } - ], - "name": "createVestedAgreement", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hashedParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - } - ], - "name": "LogRegisterOrg", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": false, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "LogAgreementProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": false, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_result", - "type": "int256" - } - ], - "name": "LogExecutaion", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_agreementId", - "type": "uint256" - } - ], - "name": "NewVestedAgreement", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_agreementId", - "type": "uint256" - }, - { - "indexed": true, - "name": "_signer", - "type": "address" - } - ], - "name": "SignToCancelAgreement", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_agreementId", - "type": "uint256" - }, - { - "indexed": true, - "name": "_signer", - "type": "address" - } - ], - "name": "RevokeSignToCancelAgreement", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_agreementId", - "type": "uint256" - } - ], - "name": "LogAgreementCancel", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_agreementId", - "type": "uint256" - } - ], - "name": "LogCollect", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b604051606080611edb83398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a031617815590925061006b915084908490849064010000000061007381026109dc1704565b5050506100c6565b60005433600160a060020a0390811691161461008e57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b611e06806100d56000396000f3006060604052600436106101035763ffffffff60e060020a60003504166302506804811461010857806307377bd61461013f5780632453732a146101c9578063310ce4e2146101fd57806338af3eed146102365780634345a610146102655780635a1f74061461029357806367b60390146102b257806368e14dac1461030457806389d75221146103265780638b087f3f1461033c5780638da5cb5b1461035257806390be003c14610365578063bd14de9614610384578063c3c5a5471461039a578063ce3f865f146103b9578063ddca3f43146103cf578063e1758bd8146103e2578063f2fde38b146103f5578063f76f3fb114610414578063f98e87ba14610466575b600080fd5b341561011357600080fd5b61011e600435610479565b604051918252600160a060020a031660208201526040908101905180910390f35b341561014a57600080fd5b610161600160a060020a036004351660243561049b565b604051600160a060020a039b8c168152998b1660208b0152979099166040808a01919091526060890196909652608088019490945260a087019290925260c086015260e085015261010084015261012083019390935261014082015261016001905180910390f35b34156101d457600080fd5b6101eb600435600160a060020a036024351661050c565b60405190815260200160405180910390f35b341561020857600080fd5b610222600435600160a060020a0360243516604435610546565b604051901515815260200160405180910390f35b341561024157600080fd5b6102496109cd565b604051600160a060020a03909116815260200160405180910390f35b341561027057600080fd5b610291600160a060020a0360043581169060243590604435166064356109dc565b005b341561029e57600080fd5b610222600160a060020a0360043516610a2f565b34156102bd57600080fd5b6101eb600160a060020a03600480358216916024803582169260443592606435926084359260a4359260c4359260e435926101043591820192910135906101243516610a44565b341561030f57600080fd5b6101eb600435600160a060020a0360243516610ff0565b341561033157600080fd5b610291600435611037565b341561034757600080fd5b610291600435611108565b341561035d57600080fd5b6102496111f6565b341561037057600080fd5b610291600160a060020a0360043516611205565b341561038f57600080fd5b61016160043561132e565b34156103a557600080fd5b610222600160a060020a0360043516611396565b34156103c457600080fd5b6102916004356113b4565b34156103da57600080fd5b6101eb611600565b34156103ed57600080fd5b610249611606565b341561040057600080fd5b610291600160a060020a0360043516611615565b341561041f57600080fd5b6101eb60048035600160a060020a0390811691602480358316926044351691606435916084359160a4359160c4359160e435916101043591610124359182019101356116a3565b341561047157600080fd5b6101eb611974565b60076020526000908152604090208054600190910154600160a060020a031682565b6006602081815260009384526040808520909152918352912080546001820154600283015460038401546004850154600586015496860154600787015460088801546009890154600a90990154600160a060020a039889169a9789169998909616979496939593949293919290918b565b60008282604051918252600160a060020a03166c010000000000000000000000000260208201526034016040518091039020905092915050565b6000610550611d4d565b60008033600160a060020a03166007600061056a8961197a565b8152602081019190915260400160002060010154600160a060020a03161461059157600080fd5b85600160a060020a03167ff121f53b91542562889d6f7b9f02d6bca6f7141c143024d9dcb571024abb6f22888760405191825260208201526040908101905180910390a2600160a060020a03861660009081526006602090815260408083208a84529091529081902090610160905190810160405290816000820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020016001820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020016002820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a0316815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a8201548152505092506006600087600160a060020a0316600160a060020a0316815260200190815260200160002060008860001916600019168152602001908152602001600020600080820160006101000a815490600160a060020a0302191690556001820160006101000a815490600160a060020a0302191690556002820160006101000a815490600160a060020a0302191690556003820160009055600482016000905560058201600090556006820160009055600782016000905560088201600090556009820160009055600a820160009055505084600114156109c05785600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561080457600080fd5b6102c65a03f1151561081557600080fd5b50505060405180519050915061083a8360c0015184608001519063ffffffff611a5716565b905081600160a060020a03166310c5b328823060006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b151561089a57600080fd5b6102c65a03f115156108ab57600080fd5b505050604051805150506009546000908152600860205260409020839081518154600160a060020a031916600160a060020a03919091161781556020820151600182018054600160a060020a031916600160a060020a03929092169190911790556040820151600282018054600160a060020a031916600160a060020a0392909216919091179055606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e0820151816007015561010082015181600801556101208201518160090155610140820151600a909101555060098054600181019091557f7f4395349c6d693bbcef2c3c3133c966a84bf7d8f720d00fc21c9290a200acf760405160405180910390a25b5060019695505050505050565b600354600160a060020a031681565b60005433600160a060020a039081169116146109f757600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b6000610a4e611dc3565b600160a060020a0383166000908152600560205260408120548190859060ff161515610a7957600080fd5b60076000610a868861197a565b81526020810191909152604090810160002090805190810160405281548152600190910154600160a060020a03166020820190815290945051600160a060020a03166388737b5e60028651893060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b1515610b3057600080fd5b6102c65a03f11515610b4157600080fd5b505050604051805193505086891015610b5657fe5b60008c11610b6057fe5b600091505b86821015610be257600160a060020a03861660009081526006602090815260408083208684529091528120600191600b909101908a8a86818110610ba557fe5b60209081029290920135600160a060020a0316835250810191909152604001600020805460ff191691151591909117905560019190910190610b65565b85600160a060020a031663e1758bd86000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610c2857600080fd5b6102c65a03f11515610c3957600080fd5b505050604051805190506006600088600160a060020a0316600160a060020a031681526020019081526020016000206000856000191660001916815260200190815260200160002060000160006101000a815481600160a060020a030219169083600160a060020a031602179055508f6006600088600160a060020a0316600160a060020a031681526020019081526020016000206000856000191660001916815260200190815260200160002060010160006101000a815481600160a060020a030219169083600160a060020a031602179055508e6006600088600160a060020a0316600160a060020a031681526020019081526020016000206000856000191660001916815260200190815260200160002060020160006101000a815481600160a060020a030219169083600160a060020a031602179055508d6006600088600160a060020a0316600160a060020a0316815260200190815260200160002060008560001916600019168152602001908152602001600020600301819055508c6006600088600160a060020a0316600160a060020a0316815260200190815260200160002060008560001916600019168152602001908152602001600020600401819055508b6006600088600160a060020a0316600160a060020a0316815260200190815260200160002060008560001916600019168152602001908152602001600020600501819055508a6006600088600160a060020a0316600160a060020a031681526020019081526020016000206000856000191660001916815260200190815260200160002060060181905550896006600088600160a060020a0316600160a060020a031681526020019081526020016000206000856000191660001916815260200190815260200160002060070181905550886006600088600160a060020a0316600160a060020a0316815260200190815260200160002060008560001916600019168152602001908152602001600020600801819055508360200151600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b1515610f8457600080fd5b6102c65a03f11515610f9557600080fd5b50505060405180515050600160a060020a0386167f829775c7c14610e4ccd53086fdfc812d824654065dc0d529c88ad5a1d9c15e318460405190815260200160405180910390a250909e9d5050505050505050505050505050565b600080610ffd848461050c565b60008181526007602052604090208581556001018054600160a060020a031916600160a060020a03861617905591508190505b5092915050565b6000818152600860209081526040808320600160a060020a0333168452600b01909152812054829060ff16151561106d57600080fd5b6000838152600860209081526040808320600160a060020a0333168452600c81019092529091205490925060ff1615156110a657600080fd5b600160a060020a0333166000818152600c8401602052604090819020805460ff19169055600a8401805460001901905584907f1df7a752240c027cfb74557fd4dac3f5e69b4da33fd2bf627af62bec9e8293c0905160405180910390a3505050565b6000818152600860209081526040808320600160a060020a0333168452600b01909152812054829060ff16151561113e57600080fd5b6000838152600860209081526040808320600160a060020a0333168452600c81019092529091205490925060ff161561117657600080fd5b600160a060020a0333166000818152600c8401602052604090819020805460ff19166001908117909155600a85018054909101905584907f034fb4ee0593caf676b3d6d46cc590311e4119cdb1349abb1502647c4076fce2905160405180910390a3816008015482600a015414156111f1576111f183611a89565b505050565b600054600160a060020a031681565b60006002541180156112305750600160a060020a03811660009081526005602052604090205460ff16155b156112c957600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156112ad57600080fd5b6102c65a03f115156112be57600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600860208190526000918252604090912080546001820154600283015460038401546004850154600586015460068701546007880154988801546009890154600a90990154600160a060020a039889169a97891699969098169794969395929491939290918b565b600160a060020a031660009081526005602052604090205460ff1690565b6113bc611d4d565b60008281526008602052604081206001015481908190859033600160a060020a039081169116146113ec57600080fd5b6000868152600860205260409081902090610160905190810160409081528254600160a060020a039081168352600184015481166020840152600284015416908201526003820154606082015260048201546080820152600582015460a08201908152600683015460c0830152600783015460e083015260088301546101008301526009830154610120830152600a9092015461014082015295506114ad90516114a18760600151439063ffffffff611d1516565b9063ffffffff611d2716565b93508460e001518410156114bd57fe5b8460c0015184106114e9576114e28561012001518660c001519063ffffffff611d1516565b9250611502565b6114ff856101200151859063ffffffff611d1516565b92505b600086815260086020526040902060090154611524908463ffffffff611d3e16565b60008781526008602052604090206009015561154b6080860151849063ffffffff611a5716565b91508451600160a060020a031663a9059cbb86602001518460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156115af57600080fd5b6102c65a03f115156115c057600080fd5b5050506040518051905050857f4ceba015d961d93f1d6825703b730a8ba05619c005dfd8073aee773dc6725fbb60405160405180910390a2505050505050565b60025481565b600154600160a060020a031681565b60005433600160a060020a0390811691161461163057600080fd5b600160a060020a038116151561164557600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60008080838610156116b157fe5b600089116116bb57fe5b6116cb8a8963ffffffff611a5716565b91508d600160a060020a03166323b872dd33308560006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561173757600080fd5b6102c65a03f1151561174857600080fd5b50505060405180519050508d60086000600954815260200190815260200160002060000160006101000a815481600160a060020a030219169083600160a060020a031602179055508c60086000600954815260200190815260200160002060010160006101000a815481600160a060020a030219169083600160a060020a031602179055508b60086000600954815260200190815260200160002060020160006101000a815481600160a060020a030219169083600160a060020a031602179055508a6008600060095481526020019081526020016000206003018190555089600860006009548152602001908152602001600020600401819055508860086000600954815260200190815260200160002060050181905550876008600060095481526020019081526020016000206006018190555086600860006009548152602001908152602001600020600701819055508560086000600954815260200190815260200160002060080181905550600090505b83811015611924576009546000908152600860205260408120600191600b909101908787858181106118eb57fe5b60209081029290920135600160a060020a0316835250810191909152604001600020805460ff19169115159190911790556001016118bd565b60098054600181019091557f7f4395349c6d693bbcef2c3c3133c966a84bf7d8f720d00fc21c9290a200acf760405160405180910390a25050600954600019019c9b505050505050505050505050565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156119c357600080fd5b6102c65a03f115156119d457600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515611a3657600080fd5b6102c65a03f11515611a4757600080fd5b5050506040518051949350505050565b600080831515611a6a5760009150611030565b50828202828482811515611a7a57fe5b0414611a8257fe5b9392505050565b611a91611d4d565b6000828152600860205260408082208291610160905190810160405290816000820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020016001820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020016002820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a0316815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a82015481525050925060086000858152602001908152602001600020600080820160006101000a815490600160a060020a0302191690556001820160006101000a815490600160a060020a0302191690556002820160006101000a815490600160a060020a0302191690556003820160009055600482016000905560058201600090556006820160009055600782016000905560088201600090556009820160009055600a8201600090555050611c4b8361012001518460c001519063ffffffff611d1516565b9150611c628360800151839063ffffffff611a5716565b90508251600160a060020a031663a9059cbb84604001518360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515611cc657600080fd5b6102c65a03f11515611cd757600080fd5b5050506040518051905050837f4016499ca917ca97a24e45e837c1aef655c0f84eef18c36493cf3191c961c83160405160405180910390a250505050565b600082821115611d2157fe5b50900390565b6000808284811515611d3557fe5b04949350505050565b600082820183811015611a8257fe5b610160604051908101604052806000600160a060020a031681526020016000600160a060020a031681526020016000600160a060020a0316815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805190810160405260008082526020820152905600a165627a7a72305820ba7266d18045d0a93a62e2a6370b426b986d310407d2afc4f601b06b57fea41d0029", - "deployedBytecode": "0x6060604052600436106101035763ffffffff60e060020a60003504166302506804811461010857806307377bd61461013f5780632453732a146101c9578063310ce4e2146101fd57806338af3eed146102365780634345a610146102655780635a1f74061461029357806367b60390146102b257806368e14dac1461030457806389d75221146103265780638b087f3f1461033c5780638da5cb5b1461035257806390be003c14610365578063bd14de9614610384578063c3c5a5471461039a578063ce3f865f146103b9578063ddca3f43146103cf578063e1758bd8146103e2578063f2fde38b146103f5578063f76f3fb114610414578063f98e87ba14610466575b600080fd5b341561011357600080fd5b61011e600435610479565b604051918252600160a060020a031660208201526040908101905180910390f35b341561014a57600080fd5b610161600160a060020a036004351660243561049b565b604051600160a060020a039b8c168152998b1660208b0152979099166040808a01919091526060890196909652608088019490945260a087019290925260c086015260e085015261010084015261012083019390935261014082015261016001905180910390f35b34156101d457600080fd5b6101eb600435600160a060020a036024351661050c565b60405190815260200160405180910390f35b341561020857600080fd5b610222600435600160a060020a0360243516604435610546565b604051901515815260200160405180910390f35b341561024157600080fd5b6102496109cd565b604051600160a060020a03909116815260200160405180910390f35b341561027057600080fd5b610291600160a060020a0360043581169060243590604435166064356109dc565b005b341561029e57600080fd5b610222600160a060020a0360043516610a2f565b34156102bd57600080fd5b6101eb600160a060020a03600480358216916024803582169260443592606435926084359260a4359260c4359260e435926101043591820192910135906101243516610a44565b341561030f57600080fd5b6101eb600435600160a060020a0360243516610ff0565b341561033157600080fd5b610291600435611037565b341561034757600080fd5b610291600435611108565b341561035d57600080fd5b6102496111f6565b341561037057600080fd5b610291600160a060020a0360043516611205565b341561038f57600080fd5b61016160043561132e565b34156103a557600080fd5b610222600160a060020a0360043516611396565b34156103c457600080fd5b6102916004356113b4565b34156103da57600080fd5b6101eb611600565b34156103ed57600080fd5b610249611606565b341561040057600080fd5b610291600160a060020a0360043516611615565b341561041f57600080fd5b6101eb60048035600160a060020a0390811691602480358316926044351691606435916084359160a4359160c4359160e435916101043591610124359182019101356116a3565b341561047157600080fd5b6101eb611974565b60076020526000908152604090208054600190910154600160a060020a031682565b6006602081815260009384526040808520909152918352912080546001820154600283015460038401546004850154600586015496860154600787015460088801546009890154600a90990154600160a060020a039889169a9789169998909616979496939593949293919290918b565b60008282604051918252600160a060020a03166c010000000000000000000000000260208201526034016040518091039020905092915050565b6000610550611d4d565b60008033600160a060020a03166007600061056a8961197a565b8152602081019190915260400160002060010154600160a060020a03161461059157600080fd5b85600160a060020a03167ff121f53b91542562889d6f7b9f02d6bca6f7141c143024d9dcb571024abb6f22888760405191825260208201526040908101905180910390a2600160a060020a03861660009081526006602090815260408083208a84529091529081902090610160905190810160405290816000820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020016001820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020016002820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a0316815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a8201548152505092506006600087600160a060020a0316600160a060020a0316815260200190815260200160002060008860001916600019168152602001908152602001600020600080820160006101000a815490600160a060020a0302191690556001820160006101000a815490600160a060020a0302191690556002820160006101000a815490600160a060020a0302191690556003820160009055600482016000905560058201600090556006820160009055600782016000905560088201600090556009820160009055600a820160009055505084600114156109c05785600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561080457600080fd5b6102c65a03f1151561081557600080fd5b50505060405180519050915061083a8360c0015184608001519063ffffffff611a5716565b905081600160a060020a03166310c5b328823060006040516020015260405160e060020a63ffffffff85160281526004810192909252600160a060020a03166024820152604401602060405180830381600087803b151561089a57600080fd5b6102c65a03f115156108ab57600080fd5b505050604051805150506009546000908152600860205260409020839081518154600160a060020a031916600160a060020a03919091161781556020820151600182018054600160a060020a031916600160a060020a03929092169190911790556040820151600282018054600160a060020a031916600160a060020a0392909216919091179055606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e0820151816007015561010082015181600801556101208201518160090155610140820151600a909101555060098054600181019091557f7f4395349c6d693bbcef2c3c3133c966a84bf7d8f720d00fc21c9290a200acf760405160405180910390a25b5060019695505050505050565b600354600160a060020a031681565b60005433600160a060020a039081169116146109f757600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60056020526000908152604090205460ff1681565b6000610a4e611dc3565b600160a060020a0383166000908152600560205260408120548190859060ff161515610a7957600080fd5b60076000610a868861197a565b81526020810191909152604090810160002090805190810160405281548152600190910154600160a060020a03166020820190815290945051600160a060020a03166388737b5e60028651893060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b1515610b3057600080fd5b6102c65a03f11515610b4157600080fd5b505050604051805193505086891015610b5657fe5b60008c11610b6057fe5b600091505b86821015610be257600160a060020a03861660009081526006602090815260408083208684529091528120600191600b909101908a8a86818110610ba557fe5b60209081029290920135600160a060020a0316835250810191909152604001600020805460ff191691151591909117905560019190910190610b65565b85600160a060020a031663e1758bd86000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610c2857600080fd5b6102c65a03f11515610c3957600080fd5b505050604051805190506006600088600160a060020a0316600160a060020a031681526020019081526020016000206000856000191660001916815260200190815260200160002060000160006101000a815481600160a060020a030219169083600160a060020a031602179055508f6006600088600160a060020a0316600160a060020a031681526020019081526020016000206000856000191660001916815260200190815260200160002060010160006101000a815481600160a060020a030219169083600160a060020a031602179055508e6006600088600160a060020a0316600160a060020a031681526020019081526020016000206000856000191660001916815260200190815260200160002060020160006101000a815481600160a060020a030219169083600160a060020a031602179055508d6006600088600160a060020a0316600160a060020a0316815260200190815260200160002060008560001916600019168152602001908152602001600020600301819055508c6006600088600160a060020a0316600160a060020a0316815260200190815260200160002060008560001916600019168152602001908152602001600020600401819055508b6006600088600160a060020a0316600160a060020a0316815260200190815260200160002060008560001916600019168152602001908152602001600020600501819055508a6006600088600160a060020a0316600160a060020a031681526020019081526020016000206000856000191660001916815260200190815260200160002060060181905550896006600088600160a060020a0316600160a060020a031681526020019081526020016000206000856000191660001916815260200190815260200160002060070181905550886006600088600160a060020a0316600160a060020a0316815260200190815260200160002060008560001916600019168152602001908152602001600020600801819055508360200151600160a060020a031663339e23d18460013360006040516020015260405160e060020a63ffffffff861602815260048101939093526024830191909152600160a060020a03166044820152606401602060405180830381600087803b1515610f8457600080fd5b6102c65a03f11515610f9557600080fd5b50505060405180515050600160a060020a0386167f829775c7c14610e4ccd53086fdfc812d824654065dc0d529c88ad5a1d9c15e318460405190815260200160405180910390a250909e9d5050505050505050505050505050565b600080610ffd848461050c565b60008181526007602052604090208581556001018054600160a060020a031916600160a060020a03861617905591508190505b5092915050565b6000818152600860209081526040808320600160a060020a0333168452600b01909152812054829060ff16151561106d57600080fd5b6000838152600860209081526040808320600160a060020a0333168452600c81019092529091205490925060ff1615156110a657600080fd5b600160a060020a0333166000818152600c8401602052604090819020805460ff19169055600a8401805460001901905584907f1df7a752240c027cfb74557fd4dac3f5e69b4da33fd2bf627af62bec9e8293c0905160405180910390a3505050565b6000818152600860209081526040808320600160a060020a0333168452600b01909152812054829060ff16151561113e57600080fd5b6000838152600860209081526040808320600160a060020a0333168452600c81019092529091205490925060ff161561117657600080fd5b600160a060020a0333166000818152600c8401602052604090819020805460ff19166001908117909155600a85018054909101905584907f034fb4ee0593caf676b3d6d46cc590311e4119cdb1349abb1502647c4076fce2905160405180910390a3816008015482600a015414156111f1576111f183611a89565b505050565b600054600160a060020a031681565b60006002541180156112305750600160a060020a03811660009081526005602052604090205460ff16155b156112c957600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156112ad57600080fd5b6102c65a03f115156112be57600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600860208190526000918252604090912080546001820154600283015460038401546004850154600586015460068701546007880154988801546009890154600a90990154600160a060020a039889169a97891699969098169794969395929491939290918b565b600160a060020a031660009081526005602052604090205460ff1690565b6113bc611d4d565b60008281526008602052604081206001015481908190859033600160a060020a039081169116146113ec57600080fd5b6000868152600860205260409081902090610160905190810160409081528254600160a060020a039081168352600184015481166020840152600284015416908201526003820154606082015260048201546080820152600582015460a08201908152600683015460c0830152600783015460e083015260088301546101008301526009830154610120830152600a9092015461014082015295506114ad90516114a18760600151439063ffffffff611d1516565b9063ffffffff611d2716565b93508460e001518410156114bd57fe5b8460c0015184106114e9576114e28561012001518660c001519063ffffffff611d1516565b9250611502565b6114ff856101200151859063ffffffff611d1516565b92505b600086815260086020526040902060090154611524908463ffffffff611d3e16565b60008781526008602052604090206009015561154b6080860151849063ffffffff611a5716565b91508451600160a060020a031663a9059cbb86602001518460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156115af57600080fd5b6102c65a03f115156115c057600080fd5b5050506040518051905050857f4ceba015d961d93f1d6825703b730a8ba05619c005dfd8073aee773dc6725fbb60405160405180910390a2505050505050565b60025481565b600154600160a060020a031681565b60005433600160a060020a0390811691161461163057600080fd5b600160a060020a038116151561164557600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60008080838610156116b157fe5b600089116116bb57fe5b6116cb8a8963ffffffff611a5716565b91508d600160a060020a03166323b872dd33308560006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561173757600080fd5b6102c65a03f1151561174857600080fd5b50505060405180519050508d60086000600954815260200190815260200160002060000160006101000a815481600160a060020a030219169083600160a060020a031602179055508c60086000600954815260200190815260200160002060010160006101000a815481600160a060020a030219169083600160a060020a031602179055508b60086000600954815260200190815260200160002060020160006101000a815481600160a060020a030219169083600160a060020a031602179055508a6008600060095481526020019081526020016000206003018190555089600860006009548152602001908152602001600020600401819055508860086000600954815260200190815260200160002060050181905550876008600060095481526020019081526020016000206006018190555086600860006009548152602001908152602001600020600701819055508560086000600954815260200190815260200160002060080181905550600090505b83811015611924576009546000908152600860205260408120600191600b909101908787858181106118eb57fe5b60209081029290920135600160a060020a0316835250810191909152604001600020805460ff19169115159190911790556001016118bd565b60098054600181019091557f7f4395349c6d693bbcef2c3c3133c966a84bf7d8f720d00fc21c9290a200acf760405160405180910390a25050600954600019019c9b505050505050505050505050565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156119c357600080fd5b6102c65a03f115156119d457600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515611a3657600080fd5b6102c65a03f11515611a4757600080fd5b5050506040518051949350505050565b600080831515611a6a5760009150611030565b50828202828482811515611a7a57fe5b0414611a8257fe5b9392505050565b611a91611d4d565b6000828152600860205260408082208291610160905190810160405290816000820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020016001820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a031681526020016002820160009054906101000a9004600160a060020a0316600160a060020a0316600160a060020a0316815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a82015481525050925060086000858152602001908152602001600020600080820160006101000a815490600160a060020a0302191690556001820160006101000a815490600160a060020a0302191690556002820160006101000a815490600160a060020a0302191690556003820160009055600482016000905560058201600090556006820160009055600782016000905560088201600090556009820160009055600a8201600090555050611c4b8361012001518460c001519063ffffffff611d1516565b9150611c628360800151839063ffffffff611a5716565b90508251600160a060020a031663a9059cbb84604001518360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515611cc657600080fd5b6102c65a03f11515611cd757600080fd5b5050506040518051905050837f4016499ca917ca97a24e45e837c1aef655c0f84eef18c36493cf3191c961c83160405160405180910390a250505050565b600082821115611d2157fe5b50900390565b6000808284811515611d3557fe5b04949350505050565b600082820183811015611a8257fe5b610160604051908101604052806000600160a060020a031681526020016000600160a060020a031681526020016000600160a060020a0316815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805190810160405260008082526020820152905600a165627a7a72305820ba7266d18045d0a93a62e2a6370b426b986d310407d2afc4f601b06b57fea41d0029", - "sourceMap": "230:13622:25:-;;;2619:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;2619:172:25;;-1:-1:-1;2721:62:25;;-1:-1:-1;2738:12:25;;2752:4;;2619:172;;2721:16;;;;;;:62;:::i;:::-;2619:172;;;230:13622;;1314:347:22;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;230:13622:25:-;;;;;;;", - "deployedSourceMap": "230:13622:25:-;;;;;;;;;-1:-1:-1;;;230:13622:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1808:46;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1808:46:25;;;;;;;;;;;;;;;;1625:70;;;;;;;;;;-1:-1:-1;;;;;1625:70:25;;;;;;;;;;-1:-1:-1;;;;;1625:70:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3609:195;;;;;;;;;;;;-1:-1:-1;;;;;3609:195:25;;;;;;;;;;;;;;;;;;;;6999:1095;;;;;;;;;;;;-1:-1:-1;;;;;6999:1095:25;;;;;;;;;;;;;;;;;;;;;;;;407:26:22;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:26:22;;;;;;;;;;;;;;1314:347;;;;;;;;;;-1:-1:-1;;;;;1314:347:22;;;;;;;;;;;;;;;;;591:43;;;;;;;;;;-1:-1:-1;;;;;591:43:22;;;;;4611:1999:25;;;;;;;;;;-1:-1:-1;;;;;4611:1999:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3041:343;;;;;;;;;;;;-1:-1:-1;;;;;3041:343:25;;;;;11577:462;;;;;;;;;;;;;;10809:631;;;;;;;;;;;;;;238:20:29;;;;;;;;;;;;866:315:22;;;;;;;;;;-1:-1:-1;;;;;866:315:22;;;;;1905:42:25;;;;;;;;;;;;;;1189:117:22;;;;;;;;;;-1:-1:-1;;;;;1189:117:22;;;;;12166:1063:25;;;;;;;;;;;;;;385:15:22;;;;;;;;;;;;346:32;;;;;;;;;;;;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;8892:1788:25;;;;;;;;;;;;;-1:-1:-1;;;;;8892:1788:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;440:31:22;;;;;;;;;;;;1808:46:25;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1808:46:25;;:::o;1625:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1625:70:25;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3609:195::-;3729:7;3773:11;3786:8;3763:32;;;;;-1:-1:-1;;;;;3763:32:25;;;;;;;;;;;;;;;;3754:42;;3609:195;;;;:::o;6999:1095::-;7081:4;7340:34;;:::i;:::-;7642:21;7716:17;7233:10;-1:-1:-1;;;;;7165:78:25;:10;:56;7176:44;7211:7;7176:27;:44::i;:::-;7165:56;;;;;;;;;;;;;:64;;;-1:-1:-1;;;;;7165:64:25;:78;7157:87;;;;;;7298:7;-1:-1:-1;;;;;7284:43:25;;7307:11;7320:6;7284:43;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7377:26:25;;;;;;:17;:26;;;;;;;;:39;;;;;;;;;;;7340:76;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7340:76:25;-1:-1:-1;;;;;7340:76:25;-1:-1:-1;;;;;7340:76:25;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7340:76:25;-1:-1:-1;;;;;7340:76:25;-1:-1:-1;;;;;7340:76:25;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7340:76:25;-1:-1:-1;;;;;7340:76:25;-1:-1:-1;;;;;7340:76:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7434:17;:26;7452:7;-1:-1:-1;;;;;7434:26:25;-1:-1:-1;;;;;7434:26:25;;;;;;;;;;;;:39;7461:11;7434:39;;;;;;;;;;;;;;;;;;7427:46;;;;;;;;;-1:-1:-1;;;;;7427:46:25;;;;;;;;;;;;;;-1:-1:-1;;;;;7427:46:25;;;;;;;;;;;;;;-1:-1:-1;;;;;7427:46:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7532:6;7542:1;7532:11;7528:537;;;7684:7;-1:-1:-1;;;;;7677:21:25;;:23;;;;;;;;;;;-1:-1:-1;;;7677:23:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7642:59;;7736:75;7774:17;:36;;;7736:17;:33;;;:37;:75;:37;:75;:::i;:::-;7716:95;;7826:10;-1:-1:-1;;;;;7826:21:25;;7848:12;7862:4;7826:41;;;;;;;;-1:-1:-1;;;7826:41:25;;;;;;;;;;;;;-1:-1:-1;;;;;7826:41:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7893:17:25;;7882:29;;;;:10;:29;;;;;7914:17;;;7882:49;;;-1:-1:-1;;;;;;7882:49:25;-1:-1:-1;;;;;7882:49:25;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7882:49:25;-1:-1:-1;;;;;7882:49:25;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;7882:49:25;-1:-1:-1;;;;;7882:49:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7946:17:25;:19;;;;;;;;8015:39;;;;;;;;;;7528:537;-1:-1:-1;8082:4:25;;6999:1095;-1:-1:-1;;;;;;6999:1095:25:o;407:26:22:-;;;-1:-1:-1;;;;;407:26:22;;:::o;1314:347::-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;591:43::-;;;;;;;;;;;;;;;:::o;4611:1999:25:-;5045:7;5095:24;;:::i;:::-;-1:-1:-1;;;;;816:21:22;;5181:18:25;816:21:22;;;:13;:21;;;;;;5181:18:25;;5023:7;;816:21:22;;808:30;;;;;;;;5122:10:25;:48;5133:36;5161:7;5133:27;:36::i;:::-;5122:48;;;;;;;;;;;;;;;;;5095:75;;;;;;;;;;;;;;;-1:-1:-1;;;;;5095:75:25;;;;;;;;;-1:-1:-1;5202:14:25;-1:-1:-1;;;;;5202:22:25;;5225:1;5228:6;:17;5247:7;5276:4;5202:80;;;;;;;;-1:-1:-1;;;5202:80:25;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5202:80:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5300:46:25;;;;5293:54;;;;5381:1;5365:17;;5358:25;;;;5449:1;5438:12;;5433:152;5452:24;;;5433:152;;;-1:-1:-1;;;;;5500:26:25;;;;;;:17;:26;;;;;;;;:38;;;;;;;;5569:4;;5500:46;;;;;5547:13;;5561:3;5547:18;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5547:18:25;5500:66;;-1:-1:-1;5500:66:25;;;;;;;;-1:-1:-1;5500:66:25;:73;;-1:-1:-1;;5500:73:25;;;;;;;;;;-1:-1:-1;5478:5:25;;;;;5433:152;;;5679:7;-1:-1:-1;;;;;5672:27:25;;:29;;;;;;;;;;;-1:-1:-1;;;5672:29:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5625:17;:26;5643:7;-1:-1:-1;;;;;5625:26:25;-1:-1:-1;;;;;5625:26:25;;;;;;;;;;;;:38;5652:10;5625:38;;;;;;;;;;;;;;;;;:44;;;:76;;;;;-1:-1:-1;;;;;5625:76:25;;;;;-1:-1:-1;;;;;5625:76:25;;;;;;5765:12;5712:17;:26;5730:7;-1:-1:-1;;;;;5712:26:25;-1:-1:-1;;;;;5712:26:25;;;;;;;;;;;;:38;5739:10;5712:38;;;;;;;;;;;;;;;;;:50;;;:65;;;;;-1:-1:-1;;;;;5712:65:25;;;;;-1:-1:-1;;;;;5712:65:25;;;;;;5851:22;5788:17;:26;5806:7;-1:-1:-1;;;;;5788:26:25;-1:-1:-1;;;;;5788:26:25;;;;;;;;;;;;:38;5815:10;5788:38;;;;;;;;;;;;;;;;;:60;;;:85;;;;;-1:-1:-1;;;;;5788:85:25;;;;;-1:-1:-1;;;;;5788:85:25;;;;;;5939:14;5884:17;:26;5902:7;-1:-1:-1;;;;;5884:26:25;-1:-1:-1;;;;;5884:26:25;;;;;;;;;;;;:38;5911:10;5884:38;;;;;;;;;;;;;;;;;:52;;:69;;;;6021:16;5964:17;:26;5982:7;-1:-1:-1;;;;;5964:26:25;-1:-1:-1;;;;;5964:26:25;;;;;;;;;;;;:38;5991:10;5964:38;;;;;;;;;;;;;;;;;:54;;:73;;;;6102:13;6048:17;:26;6066:7;-1:-1:-1;;;;;6048:26:25;-1:-1:-1;;;;;6048:26:25;;;;;;;;;;;;:38;6075:10;6048:38;;;;;;;;;;;;;;;;;:51;;:67;;;;6186:19;6126:17;:26;6144:7;-1:-1:-1;;;;;6126:26:25;-1:-1:-1;;;;;6126:26:25;;;;;;;;;;;;:38;6153:10;6126:38;;;;;;;;;;;;;;;;;:57;;:79;;;;6272:15;6216:17;:26;6234:7;-1:-1:-1;;;;;6216:26:25;-1:-1:-1;;;;;6216:26:25;;;;;;;;;;;;:38;6243:10;6216:38;;;;;;;;;;;;;;;;;:53;;:71;;;;6361:22;6298:17;:26;6316:7;-1:-1:-1;;;;;6298:26:25;-1:-1:-1;;;;;6298:26:25;;;;;;;;;;;;:38;6325:10;6298:38;;;;;;;;;;;;;;;;;:60;;:85;;;;6396:6;:14;;;-1:-1:-1;;;;;6396:24:25;;6421:10;6433:1;6436:10;6396:51;;;;;;;;-1:-1:-1;;;6396:51:25;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6396:51:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;6533:41:25;;;6563:10;6533:41;;;;;;;;;;;;;;-1:-1:-1;6592:10:25;;4611:1999;-1:-1:-1;;;;;;;;;;;;;;4611:1999:25:o;3041:343::-;3152:7;3177:18;3198:40;3216:11;3229:8;3198:17;:40::i;:::-;3249:22;;;;:10;:22;;;;;:47;;;3307:30;;:41;;-1:-1:-1;;;;;;3307:41:25;-1:-1:-1;;;;;3307:41:25;;;;;3249:22;-1:-1:-1;3249:22:25;;-1:-1:-1;3041:343:25;;;;;;:::o;11577:462::-;11676:27;2097:24;;;:10;:24;;;;;;;;-1:-1:-1;;;;;2130:10:25;2097:44;;;:32;;:44;;;;;;11651:12;;2097:44;;2089:53;;;;;;;;11706:24;;;;:10;:24;;;;;;;;-1:-1:-1;;;;;11815:10:25;11786:40;;;:28;;;:40;;;;;;;11706:24;;-1:-1:-1;11786:40:25;;11778:49;;;;;;;;-1:-1:-1;;;;;11899:10:25;11870:40;11913:5;11870:40;;;:28;;;:40;;;;;;;:48;;-1:-1:-1;;11870:48:25;;;11929:35;;;:37;;-1:-1:-1;;11929:37:25;;;12007:12;;11979:52;;;;;;;;;;11577:462;;;:::o;10809:631::-;10902:27;2097:24;;;:10;:24;;;;;;;;-1:-1:-1;;;;;2130:10:25;2097:44;;;:32;;:44;;;;;;10877:12;;2097:44;;2089:53;;;;;;;;10932:24;;;;:10;:24;;;;;;;;-1:-1:-1;;;;;11050:10:25;11021:40;;;:28;;;:40;;;;;;;10932:24;;-1:-1:-1;11021:40:25;;11019:42;11011:51;;;;;;-1:-1:-1;;;;;11122:10:25;11093:40;;;;;:28;;;:40;;;;;;;:47;;-1:-1:-1;;11093:47:25;11136:4;11093:47;;;;;;11151:35;;;:37;;;;;;;11223:12;;11201:46;;;;;;;;;;11344:9;:31;;;11305:9;:35;;;:70;11301:132;;;11392:29;11408:12;11392:15;:29::i;:::-;10809:631;;;:::o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;866:315:22:-;980:1;974:3;;:7;973:39;;;;-1:-1:-1;;;;;;989:22:22;;;;;;:13;:22;;;;;;;;987:24;973:39;969:123;;;1029:11;;1063;;1076:3;;-1:-1:-1;;;;;1029:11:22;;;;:24;;1054:7;;1063:11;;;1029;:51;;;;;;;-1:-1:-1;;;1029:51:22;;;;;;-1:-1:-1;;;;;1029:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;969:123:22;-1:-1:-1;;;;;1102:22:22;;;;;;:13;:22;;;;;;;:29;;-1:-1:-1;;1102:29:22;1127:4;1102:29;;;1142:31;;1116:7;;1142:31;-1:-1:-1;;;;;1142:31:22;;;;;;;;;;;;;;866:315;:::o;1905:42:25:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1905:42:25;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1189:117:22:-;-1:-1:-1;;;;;1276:22:22;1252:4;1276:22;;;:13;:22;;;;;;;;;1189:117::o;12166:1063:25:-;12250:26;;:::i;:::-;12314:29;2289:24;;;:10;:24;;;;;:36;;;12314:29;;;;2289:24;;2329:10;-1:-1:-1;;;;;2289:50:25;;;:36;;:50;2281:59;;;;;;12279:24;;;;:10;:24;;;;;;;;12250:53;;;;;;;;;;;;-1:-1:-1;;;;;12250:53:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12346:71:25;;12394:22;12347:41;12364:9;:23;;;12347:12;;:41;:16;:41;:::i;:::-;12346:47;:71;:47;:71;:::i;:::-;12314:103;;12463:9;:24;;;12435:52;;;12428:60;;;;12597:9;:28;;;12569:56;;12565:268;;12657:60;12690:9;:26;;;12657:9;:28;;;:32;:60;:32;:60;:::i;:::-;12642:75;;12565:268;;;12765:56;12794:9;:26;;;12765:24;;:56;:28;:56;:::i;:::-;12750:71;;12565:268;12920:24;;;;:10;:24;;;;;:41;;;:59;;12966:12;12920:59;:45;:59;:::i;:::-;12876:24;;;;:10;:24;;;;;:41;;:103;13038:43;13055:25;;;;13038:12;;:43;:16;:43;:::i;:::-;13014:67;-1:-1:-1;13092:9:25;:15;-1:-1:-1;;;;;13092:24:25;;13117:9;:21;;;13140:16;13092:65;;;;;;;;-1:-1:-1;;;13092:65:25;;;;;;-1:-1:-1;;;;;13092:65:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13208:12;13197:24;;;;;;;;;;12166:1063;;;;;;:::o;385:15:22:-;;;;:::o;346:32::-;;;-1:-1:-1;;;;;346:32:22;;:::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;;;;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;8892:1788:25:-;9297:4;;;9326:46;;;;9319:54;;;;9407:1;9391:17;;9384:25;;;;9466:41;:16;9487:19;9466:41;:20;:41;:::i;:::-;9447:60;;9518:6;-1:-1:-1;;;;;9518:19:25;;9538:10;9550:4;9556:11;9518:50;;;;;;;;-1:-1:-1;;;9518:50:25;;;;;;-1:-1:-1;;;;;9518:50:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9649:6;9611:10;:29;9622:17;;9611:29;;;;;;;;;;;:35;;;:44;;;;;-1:-1:-1;;;;;9611:44:25;;;;;-1:-1:-1;;;;;9611:44:25;;;;;;9710:12;9666:10;:29;9677:17;;9666:29;;;;;;;;;;;:41;;;:56;;;;;-1:-1:-1;;;;;9666:56:25;;;;;-1:-1:-1;;;;;9666:56:25;;;;;;9787:22;9733:10;:29;9744:17;;9733:29;;;;;;;;;;;:51;;;:76;;;;;-1:-1:-1;;;;;9733:76:25;;;;;-1:-1:-1;;;;;9733:76:25;;;;;;9866:14;9820:10;:29;9831:17;;9820:29;;;;;;;;;;;:43;;:60;;;;9939:16;9891:10;:29;9902:17;;9891:29;;;;;;;;;;;:45;;:64;;;;10011:13;9966:10;:29;9977:17;;9966:29;;;;;;;;;;;:42;;:58;;;;10086:19;10035:10;:29;10046:17;;10035:29;;;;;;;;;;;:48;;:70;;;;10163:15;10116:10;:29;10127:17;;10116:29;;;;;;;;;;;:44;;:62;;;;10243:22;10189:10;:29;10200:17;;10189:29;;;;;;;;;;;:51;;:76;;;;10333:1;10322:12;;10317:143;10336:24;;;10317:143;;;10395:17;;10384:29;;;;:10;:29;;;;;10444:4;;10384:37;;;;;10422:13;;10436:3;10422:18;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10422:18:25;10384:57;;-1:-1:-1;10384:57:25;;;;;;;;-1:-1:-1;10384:57:25;:64;;-1:-1:-1;;10384:64:25;;;;;;;;;;-1:-1:-1;10362:5:25;10317:143;;;10518:17;:19;;;;;;;;10595:39;;;;;;;;;;-1:-1:-1;;10652:17:25;;-1:-1:-1;;10652:19:25;;8892:1788;-1:-1:-1;;;;;;;;;;;;8892:1788:25:o;440:31:22:-;;;;:::o;1761:212::-;1840:7;1860:21;1895:7;-1:-1:-1;;;;;1895:13:22;;:15;;;;;;;;;;;-1:-1:-1;;;1895:15:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;1929:30:22;;;1960:4;1929:36;;;;;;;;-1:-1:-1;;;1929:36:22;;;;;;-1:-1:-1;;;;;1929:36:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1761:212;-1:-1:-1;;;;1761:212:22:o;138:173:28:-;196:7;;215:6;;211:35;;;238:1;231:8;;;;211:35;-1:-1:-1;263:5:28;;;267:1;263;:5;281;;;;;;;;:10;274:18;;;;305:1;138:173;-1:-1:-1;;;138:173:28:o;13360:489:25:-;13424:26;;:::i;:::-;13531:16;13453:24;;;:10;:24;;;;;;13531:16;;13424:53;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13424:53:25;-1:-1:-1;;;;;13424:53:25;-1:-1:-1;;;;;13424:53:25;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13424:53:25;-1:-1:-1;;;;;13424:53:25;-1:-1:-1;;;;;13424:53:25;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13424:53:25;-1:-1:-1;;;;;13424:53:25;-1:-1:-1;;;;;13424:53:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13496:10;:24;13507:12;13496:24;;;;;;;;;;;;13488:32;;;;;;;;;-1:-1:-1;;;;;13488:32:25;;;;;;;;;;;;;;-1:-1:-1;;;;;13488:32:25;;;;;;;;;;;;;;-1:-1:-1;;;;;13488:32:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13550:60;13583:9;:26;;;13550:9;:28;;;:32;:60;:32;:60;:::i;:::-;13531:79;;13639:42;13655:9;:25;;;13639:11;;:42;:15;:42;:::i;:::-;13621:60;-1:-1:-1;13692:9:25;:15;-1:-1:-1;;;;;13692:24:25;;13717:9;:31;;;13750:10;13692:69;;;;;;;;-1:-1:-1;;;13692:69:25;;;;;;-1:-1:-1;;;;;13692:69:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13828:12;13809:32;;;;;;;;;;13360:489;;;;:::o;584:110:28:-;642:7;664:6;;;;657:14;;;;-1:-1:-1;684:5:28;;;584:110::o;315:265::-;373:7;462:9;478:1;474;:5;;;;;;;;;315:265;-1:-1:-1;;;;315:265:28:o;698:129::-;756:7;783:5;;;801:6;;;;794:14;;;230:13622:25;;;;;;;;;;;-1:-1:-1;;;;;230:13622:25;;;;;;-1:-1:-1;;;;;230:13622:25;;;;;;-1:-1:-1;;;;;230:13622:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../VotingMachines/IntVoteInterface.sol\";\r\nimport \"./UniversalScheme.sol\";\r\n\r\n\r\n/**\r\n * @title A schme for vesting.\r\n * @dev Can be used without organization just as a vesting component.\r\n */\r\n\r\ncontract VestingScheme is UniversalScheme, ExecutableInterface {\r\n using SafeMath for uint;\r\n\r\n event LogRegisterOrg(address indexed _avatar);\r\n event LogAgreementProposal(address indexed _avatar, bytes32 _proposalId);\r\n event LogExecutaion(address indexed _avatar, bytes32 _proposalId, int _result);\r\n event NewVestedAgreement(uint indexed _agreementId);\r\n event SignToCancelAgreement(uint indexed _agreementId, address indexed _signer);\r\n event RevokeSignToCancelAgreement(uint indexed _agreementId, address indexed _signer);\r\n event LogAgreementCancel(uint indexed _agreementId);\r\n event LogCollect(uint indexed _agreementId);\r\n\r\n\r\n // The data for each vesterd agreement:\r\n struct Agreement {\r\n StandardToken token;\r\n address beneficiary;\r\n address returnOnCancelAddress;\r\n uint startingBlock;\r\n uint amountPerPeriod;\r\n uint periodLength;\r\n uint numOfAgreedPeriods;\r\n uint cliffInPeriods;\r\n uint signaturesReqToCancel;\r\n uint collectedPeriods;\r\n uint signaturesReceivedCounter;\r\n mapping(address=>bool) signers;\r\n mapping(address=>bool) signaturesReceived;\r\n }\r\n\r\n\r\n struct Parameters {\r\n bytes32 voteParams;\r\n IntVoteInterface intVote;\r\n }\r\n\r\n // A mapping from thr organization (Avatar) address to the saved data of the organization:\r\n mapping(address=>mapping(bytes32=>Agreement)) public organizationsData;\r\n\r\n // A mapping from hashes to parameters (use to store a particular configuration on the controller)\r\n mapping(bytes32=>Parameters) public parameters;\r\n\r\n // A mapping from index to Agreement\r\n mapping(uint=>Agreement) public agreements;\r\n\r\n uint agreementsCounter;\r\n\r\n // Modifier, only the signers on an agreement:\r\n modifier onlySigner(uint _agreementId) {\r\n require(agreements[_agreementId].signers[msg.sender]);\r\n _;\r\n }\r\n\r\n // Modifier, only the beneficiary on an agreement:\r\n modifier onlyBeneficiary(uint _agreementId) {\r\n require(agreements[_agreementId].beneficiary == msg.sender);\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Constructor, Updating the initial prarmeters\r\n * @param _nativeToken The native token of the ICO\r\n * @param _fee The fee for intiating the ICO\r\n * @param _beneficiary The address that will receive the ethers\r\n */\r\n function VestingScheme(StandardToken _nativeToken, uint _fee, address _beneficiary) public {\r\n updateParameters(_nativeToken, _fee, _beneficiary, bytes32(0));\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters, save them if necessary, and return the hash value\r\n * @param _voteParams - voting parameters\r\n * @param _intVote - voting machine contract.\r\n * @return bytes32 -the parameters hash\r\n */\r\n function setParameters(\r\n bytes32 _voteParams,\r\n IntVoteInterface _intVote\r\n ) public returns(bytes32)\r\n {\r\n bytes32 paramsHash = getParametersHash(_voteParams, _intVote);\r\n parameters[paramsHash].voteParams = _voteParams;\r\n parameters[paramsHash].intVote = _intVote;\r\n return paramsHash;\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters,and return the hash value\r\n * @param _voteParams - voting parameters\r\n * @param _intVote - voting machine contract.\r\n * @return bytes32 -the parameters hash\r\n */\r\n function getParametersHash(\r\n bytes32 _voteParams,\r\n IntVoteInterface _intVote\r\n ) public pure returns(bytes32)\r\n {\r\n return (keccak256(_voteParams, _intVote));\r\n }\r\n\r\n /**\r\n * @dev Proposing a vesting agreement in an organization.\r\n * @param _beneficiary the beneficiary of the agreement.\r\n * @param _returnOnCancelAddress where to send the tokens in case of stoping.\r\n * @param _startingBlock the block from which the agreement starts.\r\n * @param _amountPerPeriod amount of tokens per period.\r\n * @param _periodLength period length in blocks.\r\n * @param _numOfAgreedPeriods how many periods agreed on.\r\n * @param _cliffInPeriods the length of the cliff in periods.\r\n * @param _signaturesReqToCancel number of signatures required to cancel agreement.\r\n * @param _signersArray avatar array of adresses that can sign to cancel agreement.\r\n * @param _avatar avatar of the organization.\r\n * @return bytes32 the proposalId\r\n */\r\n function proposeVestingAgreement(\r\n address _beneficiary,\r\n address _returnOnCancelAddress,\r\n uint _startingBlock,\r\n uint _amountPerPeriod,\r\n uint _periodLength,\r\n uint _numOfAgreedPeriods,\r\n uint _cliffInPeriods,\r\n uint _signaturesReqToCancel,\r\n address[] _signersArray,\r\n Avatar _avatar\r\n )\r\n external\r\n onlyRegisteredOrganization(_avatar)\r\n returns(bytes32)\r\n {\r\n // Open voting:\r\n Parameters memory params = parameters[getParametersFromController(_avatar)];\r\n bytes32 proposalId = params.intVote.propose(2, params.voteParams, _avatar, ExecutableInterface(this));\r\n assert(_signaturesReqToCancel >= _signersArray.length);\r\n assert(_periodLength > 0);\r\n // Write the signers mapping:\r\n for (uint cnt = 0; cnt<_signersArray.length; cnt++) {\r\n organizationsData[_avatar][proposalId].signers[_signersArray[cnt]] = true;\r\n }\r\n // Write parameters:\r\n organizationsData[_avatar][proposalId].token = Avatar(_avatar).nativeToken();\r\n organizationsData[_avatar][proposalId].beneficiary = _beneficiary;\r\n organizationsData[_avatar][proposalId].returnOnCancelAddress = _returnOnCancelAddress;\r\n organizationsData[_avatar][proposalId].startingBlock = _startingBlock;\r\n organizationsData[_avatar][proposalId].amountPerPeriod = _amountPerPeriod;\r\n organizationsData[_avatar][proposalId].periodLength = _periodLength;\r\n organizationsData[_avatar][proposalId].numOfAgreedPeriods = _numOfAgreedPeriods;\r\n organizationsData[_avatar][proposalId].cliffInPeriods = _cliffInPeriods;\r\n organizationsData[_avatar][proposalId].signaturesReqToCancel = _signaturesReqToCancel;\r\n\r\n params.intVote.ownerVote(proposalId, 1, msg.sender); // Automatically votes `yes` in the name of the opener.\r\n\r\n // Log:\r\n LogAgreementProposal(_avatar, proposalId);\r\n return proposalId;\r\n }\r\n\r\n /**\r\n * @dev execution of proposals, can only be called by the voting machine in which the vote is held.\r\n * @param _proposalId the ID of the voting in the voting machine\r\n * @param _avatar address of the controller\r\n * @param _param a parameter of the voting result, 0 is no and 1 is yes.\r\n * @return bool which represents a successful of the function\r\n */\r\n function execute(bytes32 _proposalId, address _avatar, int _param) public returns(bool) {\r\n // Check the caller is indeed the voting machine:\r\n require(parameters[getParametersFromController(Avatar(_avatar))].intVote == msg.sender);\r\n\r\n // Log execition:\r\n LogExecutaion(_avatar, _proposalId, _param);\r\n\r\n Agreement memory proposedAgreement = organizationsData[_avatar][_proposalId];\r\n delete organizationsData[_avatar][_proposalId];\r\n\r\n // Check if vote was successful:\r\n if (_param == 1) {\r\n // Define controller and mint tokens, check minting actually took place:\r\n Controller controller = Controller(Avatar(_avatar).owner());\r\n uint tokensToMint = proposedAgreement.amountPerPeriod.mul(proposedAgreement.numOfAgreedPeriods);\r\n controller.mintTokens(tokensToMint, this);\r\n agreements[agreementsCounter] = proposedAgreement;\r\n agreementsCounter++;\r\n // Log the new agreement:\r\n NewVestedAgreement(agreementsCounter-1);\r\n }\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Creating a vesting agreement.\r\n * @param _token the relevant token in the agreement.\r\n * @param _beneficiary the beneficiary of the agreement.\r\n * @param _returnOnCancelAddress where to send the tokens in case of stoping.\r\n * @param _startingBlock the block from which the agreement starts.\r\n * @param _amountPerPeriod amount of tokens per period.\r\n * @param _periodLength period length in blocks.\r\n * @param _numOfAgreedPeriods how many periods agreed on.\r\n * @param _cliffInPeriods the length of the cliff in periods.\r\n * @param _signaturesReqToCancel number of signatures required to cancel agreement.\r\n * @param _signersArray avatar array of adresses that can sign to cancel agreement.\r\n * @return uint the agreement index.\r\n */\r\n function createVestedAgreement(\r\n StandardToken _token,\r\n address _beneficiary,\r\n address _returnOnCancelAddress,\r\n uint _startingBlock,\r\n uint _amountPerPeriod,\r\n uint _periodLength,\r\n uint _numOfAgreedPeriods,\r\n uint _cliffInPeriods,\r\n uint _signaturesReqToCancel,\r\n address[] _signersArray\r\n )\r\n external\r\n returns(uint)\r\n {\r\n assert(_signaturesReqToCancel >= _signersArray.length);\r\n assert(_periodLength > 0);\r\n // Collect funds:\r\n uint totalAmount = _amountPerPeriod.mul(_numOfAgreedPeriods);\r\n _token.transferFrom(msg.sender, this, totalAmount);\r\n\r\n // Write parameters:\r\n agreements[agreementsCounter].token = _token;\r\n agreements[agreementsCounter].beneficiary = _beneficiary;\r\n agreements[agreementsCounter].returnOnCancelAddress = _returnOnCancelAddress;\r\n agreements[agreementsCounter].startingBlock = _startingBlock;\r\n agreements[agreementsCounter].amountPerPeriod = _amountPerPeriod;\r\n agreements[agreementsCounter].periodLength = _periodLength;\r\n agreements[agreementsCounter].numOfAgreedPeriods = _numOfAgreedPeriods;\r\n agreements[agreementsCounter].cliffInPeriods = _cliffInPeriods;\r\n agreements[agreementsCounter].signaturesReqToCancel = _signaturesReqToCancel;\r\n\r\n // Write the signers mapping:\r\n for (uint cnt = 0; cnt<_signersArray.length; cnt++) {\r\n agreements[agreementsCounter].signers[_signersArray[cnt]] = true;\r\n }\r\n\r\n // Increment the agreements counter:\r\n agreementsCounter++;\r\n\r\n // Log new agreement and return id:\r\n NewVestedAgreement(agreementsCounter-1);\r\n return(agreementsCounter-1);\r\n }\r\n\r\n /**\r\n * @dev Function to sign to cancel an agreement.\r\n * @param _agreementId the relevant agreement.\r\n */\r\n function signToCancelAgreement(uint _agreementId) public onlySigner(_agreementId) {\r\n Agreement storage agreement = agreements[_agreementId];\r\n\r\n // Check attempt to double sign:\r\n require(! agreement.signaturesReceived[msg.sender]);\r\n\r\n // Sign:\r\n agreement.signaturesReceived[msg.sender] = true;\r\n agreement.signaturesReceivedCounter++;\r\n\r\n SignToCancelAgreement(_agreementId,msg.sender);\r\n\r\n // Check if threshhold crossed:\r\n if (agreement.signaturesReceivedCounter == agreement.signaturesReqToCancel) {\r\n cancelAgreement(_agreementId);\r\n }\r\n }\r\n\r\n /**\r\n * @dev Function to revoke vote for canceling agreement.\r\n * @param _agreementId the relevant agreement.\r\n */\r\n function revokeSignToCancelAgreement(uint _agreementId) public onlySigner(_agreementId) {\r\n Agreement storage agreement = agreements[_agreementId];\r\n\r\n // Check signer did sign:\r\n require(agreement.signaturesReceived[msg.sender]);\r\n\r\n // Revoke signature:\r\n agreement.signaturesReceived[msg.sender] = false;\r\n agreement.signaturesReceivedCounter--;\r\n\r\n RevokeSignToCancelAgreement(_agreementId,msg.sender);\r\n }\r\n\r\n /**\r\n * @dev Function for a beneficiary to collect.\r\n * @param _agreementId the relevant agreement.\r\n */\r\n function collect(uint _agreementId) public onlyBeneficiary(_agreementId) {\r\n Agreement memory agreement = agreements[_agreementId];\r\n uint periodsFromStartingBlock = (block.number.sub(agreement.startingBlock)).div(agreement.periodLength);\r\n assert(periodsFromStartingBlock >= agreement.cliffInPeriods);\r\n\r\n // Compute periods to pay:\r\n uint periodsToPay;\r\n if (periodsFromStartingBlock >= agreement.numOfAgreedPeriods) {\r\n periodsToPay = agreement.numOfAgreedPeriods.sub(agreement.collectedPeriods);\r\n } else {\r\n periodsToPay = periodsFromStartingBlock.sub(agreement.collectedPeriods);\r\n }\r\n // Update periods paid:\r\n agreements[_agreementId].collectedPeriods = agreements[_agreementId].collectedPeriods.add(periodsToPay);\r\n\r\n // Transfer:\r\n uint tokensToTransfer = periodsToPay.mul(agreement.amountPerPeriod);\r\n agreement.token.transfer(agreement.beneficiary, tokensToTransfer);\r\n\r\n // Log collecing:\r\n LogCollect(_agreementId);\r\n }\r\n\r\n /**\r\n * @dev Internal function, to cancel an agreement.\r\n * @param _agreementId the relevant agreement.\r\n */\r\n function cancelAgreement(uint _agreementId) internal {\r\n Agreement memory agreement = agreements[_agreementId];\r\n delete agreements[_agreementId];\r\n uint periodsLeft = agreement.numOfAgreedPeriods.sub(agreement.collectedPeriods);\r\n uint tokensLeft = periodsLeft.mul(agreement.amountPerPeriod);\r\n agreement.token.transfer(agreement.returnOnCancelAddress, tokensLeft);\r\n // Log canceling agreement:\r\n LogAgreementCancel(_agreementId);\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\VestingScheme.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/VestingScheme.sol", - "exportedSymbols": { - "VestingScheme": [ - 8608 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 7714, - "name": "PragmaDirective", - "src": "0:24:25" - }, - { - "attributes": { - "SourceUnit": 2659, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/IntVoteInterface.sol", - "file": "../VotingMachines/IntVoteInterface.sol", - "scope": 8609, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7715, - "name": "ImportDirective", - "src": "28:48:25" - }, - { - "attributes": { - "SourceUnit": 7230, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "file": "./UniversalScheme.sol", - "scope": 8609, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 7716, - "name": "ImportDirective", - "src": "78:31:25" - }, - { - "attributes": { - "contractDependencies": [ - 5155, - 7229, - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": "@title A schme for vesting.\r\n@dev Can be used without organization just as a vesting component.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 8608, - 5155, - 7229, - 7259, - 9140 - ], - "name": "VestingScheme", - "scope": 8609 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalScheme", - "referencedDeclaration": 7229, - "type": "contract UniversalScheme" - }, - "id": 7717, - "name": "UserDefinedTypeName", - "src": "256:15:25" - } - ], - "id": 7718, - "name": "InheritanceSpecifier", - "src": "256:15:25" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ExecutableInterface", - "referencedDeclaration": 5155, - "type": "contract ExecutableInterface" - }, - "id": 7719, - "name": "UserDefinedTypeName", - "src": "273:19:25" - } - ], - "id": 7720, - "name": "InheritanceSpecifier", - "src": "273:19:25" - }, - { - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SafeMath", - "referencedDeclaration": 9084, - "type": "library SafeMath" - }, - "id": 7721, - "name": "UserDefinedTypeName", - "src": "306:8:25" - }, - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7722, - "name": "ElementaryTypeName", - "src": "319:4:25" - } - ], - "id": 7723, - "name": "UsingForDirective", - "src": "300:24:25" - }, - { - "attributes": { - "anonymous": false, - "name": "LogRegisterOrg" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 7727, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7724, - "name": "ElementaryTypeName", - "src": "353:7:25" - } - ], - "id": 7725, - "name": "VariableDeclaration", - "src": "353:23:25" - } - ], - "id": 7726, - "name": "ParameterList", - "src": "352:25:25" - } - ], - "id": 7727, - "name": "EventDefinition", - "src": "332:46:25" - }, - { - "attributes": { - "anonymous": false, - "name": "LogAgreementProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 7733, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7728, - "name": "ElementaryTypeName", - "src": "411:7:25" - } - ], - "id": 7729, - "name": "VariableDeclaration", - "src": "411:23:25" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_proposalId", - "scope": 7733, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7730, - "name": "ElementaryTypeName", - "src": "436:7:25" - } - ], - "id": 7731, - "name": "VariableDeclaration", - "src": "436:19:25" - } - ], - "id": 7732, - "name": "ParameterList", - "src": "410:46:25" - } - ], - "id": 7733, - "name": "EventDefinition", - "src": "384:73:25" - }, - { - "attributes": { - "anonymous": false, - "name": "LogExecutaion" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 7741, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7734, - "name": "ElementaryTypeName", - "src": "483:7:25" - } - ], - "id": 7735, - "name": "VariableDeclaration", - "src": "483:23:25" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_proposalId", - "scope": 7741, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7736, - "name": "ElementaryTypeName", - "src": "508:7:25" - } - ], - "id": 7737, - "name": "VariableDeclaration", - "src": "508:19:25" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_result", - "scope": 7741, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 7738, - "name": "ElementaryTypeName", - "src": "529:3:25" - } - ], - "id": 7739, - "name": "VariableDeclaration", - "src": "529:11:25" - } - ], - "id": 7740, - "name": "ParameterList", - "src": "482:59:25" - } - ], - "id": 7741, - "name": "EventDefinition", - "src": "463:79:25" - }, - { - "attributes": { - "anonymous": false, - "name": "NewVestedAgreement" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_agreementId", - "scope": 7745, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7742, - "name": "ElementaryTypeName", - "src": "573:4:25" - } - ], - "id": 7743, - "name": "VariableDeclaration", - "src": "573:25:25" - } - ], - "id": 7744, - "name": "ParameterList", - "src": "572:27:25" - } - ], - "id": 7745, - "name": "EventDefinition", - "src": "548:52:25" - }, - { - "attributes": { - "anonymous": false, - "name": "SignToCancelAgreement" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_agreementId", - "scope": 7751, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7746, - "name": "ElementaryTypeName", - "src": "634:4:25" - } - ], - "id": 7747, - "name": "VariableDeclaration", - "src": "634:25:25" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_signer", - "scope": 7751, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7748, - "name": "ElementaryTypeName", - "src": "661:7:25" - } - ], - "id": 7749, - "name": "VariableDeclaration", - "src": "661:23:25" - } - ], - "id": 7750, - "name": "ParameterList", - "src": "633:52:25" - } - ], - "id": 7751, - "name": "EventDefinition", - "src": "606:80:25" - }, - { - "attributes": { - "anonymous": false, - "name": "RevokeSignToCancelAgreement" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_agreementId", - "scope": 7757, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7752, - "name": "ElementaryTypeName", - "src": "726:4:25" - } - ], - "id": 7753, - "name": "VariableDeclaration", - "src": "726:25:25" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_signer", - "scope": 7757, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7754, - "name": "ElementaryTypeName", - "src": "753:7:25" - } - ], - "id": 7755, - "name": "VariableDeclaration", - "src": "753:23:25" - } - ], - "id": 7756, - "name": "ParameterList", - "src": "725:52:25" - } - ], - "id": 7757, - "name": "EventDefinition", - "src": "692:86:25" - }, - { - "attributes": { - "anonymous": false, - "name": "LogAgreementCancel" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_agreementId", - "scope": 7761, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7758, - "name": "ElementaryTypeName", - "src": "809:4:25" - } - ], - "id": 7759, - "name": "VariableDeclaration", - "src": "809:25:25" - } - ], - "id": 7760, - "name": "ParameterList", - "src": "808:27:25" - } - ], - "id": 7761, - "name": "EventDefinition", - "src": "784:52:25" - }, - { - "attributes": { - "anonymous": false, - "name": "LogCollect" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_agreementId", - "scope": 7765, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7762, - "name": "ElementaryTypeName", - "src": "859:4:25" - } - ], - "id": 7763, - "name": "VariableDeclaration", - "src": "859:25:25" - } - ], - "id": 7764, - "name": "ParameterList", - "src": "858:27:25" - } - ], - "id": 7765, - "name": "EventDefinition", - "src": "842:44:25" - }, - { - "attributes": { - "canonicalName": "VestingScheme.Agreement", - "name": "Agreement", - "scope": 8608, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "token", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 7766, - "name": "UserDefinedTypeName", - "src": "969:13:25" - } - ], - "id": 7767, - "name": "VariableDeclaration", - "src": "969:19:25" - }, - { - "attributes": { - "constant": false, - "name": "beneficiary", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7768, - "name": "ElementaryTypeName", - "src": "999:7:25" - } - ], - "id": 7769, - "name": "VariableDeclaration", - "src": "999:19:25" - }, - { - "attributes": { - "constant": false, - "name": "returnOnCancelAddress", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7770, - "name": "ElementaryTypeName", - "src": "1029:7:25" - } - ], - "id": 7771, - "name": "VariableDeclaration", - "src": "1029:29:25" - }, - { - "attributes": { - "constant": false, - "name": "startingBlock", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7772, - "name": "ElementaryTypeName", - "src": "1069:4:25" - } - ], - "id": 7773, - "name": "VariableDeclaration", - "src": "1069:18:25" - }, - { - "attributes": { - "constant": false, - "name": "amountPerPeriod", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7774, - "name": "ElementaryTypeName", - "src": "1098:4:25" - } - ], - "id": 7775, - "name": "VariableDeclaration", - "src": "1098:20:25" - }, - { - "attributes": { - "constant": false, - "name": "periodLength", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7776, - "name": "ElementaryTypeName", - "src": "1129:4:25" - } - ], - "id": 7777, - "name": "VariableDeclaration", - "src": "1129:17:25" - }, - { - "attributes": { - "constant": false, - "name": "numOfAgreedPeriods", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7778, - "name": "ElementaryTypeName", - "src": "1157:4:25" - } - ], - "id": 7779, - "name": "VariableDeclaration", - "src": "1157:23:25" - }, - { - "attributes": { - "constant": false, - "name": "cliffInPeriods", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7780, - "name": "ElementaryTypeName", - "src": "1191:4:25" - } - ], - "id": 7781, - "name": "VariableDeclaration", - "src": "1191:19:25" - }, - { - "attributes": { - "constant": false, - "name": "signaturesReqToCancel", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7782, - "name": "ElementaryTypeName", - "src": "1221:4:25" - } - ], - "id": 7783, - "name": "VariableDeclaration", - "src": "1221:26:25" - }, - { - "attributes": { - "constant": false, - "name": "collectedPeriods", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7784, - "name": "ElementaryTypeName", - "src": "1258:4:25" - } - ], - "id": 7785, - "name": "VariableDeclaration", - "src": "1258:21:25" - }, - { - "attributes": { - "constant": false, - "name": "signaturesReceivedCounter", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7786, - "name": "ElementaryTypeName", - "src": "1290:4:25" - } - ], - "id": 7787, - "name": "VariableDeclaration", - "src": "1290:30:25" - }, - { - "attributes": { - "constant": false, - "name": "signers", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "mapping(address => bool)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => bool)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7788, - "name": "ElementaryTypeName", - "src": "1339:7:25" - }, - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 7789, - "name": "ElementaryTypeName", - "src": "1348:4:25" - } - ], - "id": 7790, - "name": "Mapping", - "src": "1331:22:25" - } - ], - "id": 7791, - "name": "VariableDeclaration", - "src": "1331:30:25" - }, - { - "attributes": { - "constant": false, - "name": "signaturesReceived", - "scope": 7796, - "stateVariable": false, - "storageLocation": "default", - "type": "mapping(address => bool)", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => bool)" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7792, - "name": "ElementaryTypeName", - "src": "1380:7:25" - }, - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 7793, - "name": "ElementaryTypeName", - "src": "1389:4:25" - } - ], - "id": 7794, - "name": "Mapping", - "src": "1372:22:25" - } - ], - "id": 7795, - "name": "VariableDeclaration", - "src": "1372:41:25" - } - ], - "id": 7796, - "name": "StructDefinition", - "src": "941:480:25" - }, - { - "attributes": { - "canonicalName": "VestingScheme.Parameters", - "name": "Parameters", - "scope": 8608, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "voteParams", - "scope": 7801, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7797, - "name": "ElementaryTypeName", - "src": "1460:7:25" - } - ], - "id": 7798, - "name": "VariableDeclaration", - "src": "1460:18:25" - }, - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 7801, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 7799, - "name": "UserDefinedTypeName", - "src": "1489:16:25" - } - ], - "id": 7800, - "name": "VariableDeclaration", - "src": "1489:24:25" - } - ], - "id": 7801, - "name": "StructDefinition", - "src": "1431:90:25" - }, - { - "attributes": { - "constant": false, - "name": "organizationsData", - "scope": 8608, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7802, - "name": "ElementaryTypeName", - "src": "1633:7:25" - }, - { - "attributes": { - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7803, - "name": "ElementaryTypeName", - "src": "1650:7:25" - }, - { - "attributes": { - "contractScope": null, - "name": "Agreement", - "referencedDeclaration": 7796, - "type": "struct VestingScheme.Agreement storage pointer" - }, - "id": 7804, - "name": "UserDefinedTypeName", - "src": "1659:9:25" - } - ], - "id": 7805, - "name": "Mapping", - "src": "1642:27:25" - } - ], - "id": 7806, - "name": "Mapping", - "src": "1625:45:25" - } - ], - "id": 7807, - "name": "VariableDeclaration", - "src": "1625:70:25" - }, - { - "attributes": { - "constant": false, - "name": "parameters", - "scope": 8608, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct VestingScheme.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct VestingScheme.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7808, - "name": "ElementaryTypeName", - "src": "1816:7:25" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 7801, - "type": "struct VestingScheme.Parameters storage pointer" - }, - "id": 7809, - "name": "UserDefinedTypeName", - "src": "1825:10:25" - } - ], - "id": 7810, - "name": "Mapping", - "src": "1808:28:25" - } - ], - "id": 7811, - "name": "VariableDeclaration", - "src": "1808:46:25" - }, - { - "attributes": { - "constant": false, - "name": "agreements", - "scope": 8608, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7812, - "name": "ElementaryTypeName", - "src": "1913:4:25" - }, - { - "attributes": { - "contractScope": null, - "name": "Agreement", - "referencedDeclaration": 7796, - "type": "struct VestingScheme.Agreement storage pointer" - }, - "id": 7813, - "name": "UserDefinedTypeName", - "src": "1919:9:25" - } - ], - "id": 7814, - "name": "Mapping", - "src": "1905:24:25" - } - ], - "id": 7815, - "name": "VariableDeclaration", - "src": "1905:42:25" - }, - { - "attributes": { - "constant": false, - "name": "agreementsCounter", - "scope": 8608, - "stateVariable": true, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7816, - "name": "ElementaryTypeName", - "src": "1956:4:25" - } - ], - "id": 7817, - "name": "VariableDeclaration", - "src": "1956:22:25" - }, - { - "attributes": { - "name": "onlySigner", - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_agreementId", - "scope": 7833, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7818, - "name": "ElementaryTypeName", - "src": "2059:4:25" - } - ], - "id": 7819, - "name": "VariableDeclaration", - "src": "2059:17:25" - } - ], - "id": 7820, - "name": "ParameterList", - "src": "2058:19:25" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 7821, - "name": "Identifier", - "src": "2089:7:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "signers", - "referencedDeclaration": 7791, - "type": "mapping(address => bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 7822, - "name": "Identifier", - "src": "2097:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7819, - "type": "uint256", - "value": "_agreementId" - }, - "id": 7823, - "name": "Identifier", - "src": "2108:12:25" - } - ], - "id": 7824, - "name": "IndexAccess", - "src": "2097:24:25" - } - ], - "id": 7825, - "name": "MemberAccess", - "src": "2097:32:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 7826, - "name": "Identifier", - "src": "2130:3:25" - } - ], - "id": 7827, - "name": "MemberAccess", - "src": "2130:10:25" - } - ], - "id": 7828, - "name": "IndexAccess", - "src": "2097:44:25" - } - ], - "id": 7829, - "name": "FunctionCall", - "src": "2089:53:25" - } - ], - "id": 7830, - "name": "ExpressionStatement", - "src": "2089:53:25" - }, - { - "id": 7831, - "name": "PlaceholderStatement", - "src": "2153:1:25" - } - ], - "id": 7832, - "name": "Block", - "src": "2078:84:25" - } - ], - "id": 7833, - "name": "ModifierDefinition", - "src": "2039:123:25" - }, - { - "attributes": { - "name": "onlyBeneficiary", - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_agreementId", - "scope": 7849, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7834, - "name": "ElementaryTypeName", - "src": "2251:4:25" - } - ], - "id": 7835, - "name": "VariableDeclaration", - "src": "2251:17:25" - } - ], - "id": 7836, - "name": "ParameterList", - "src": "2250:19:25" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 7837, - "name": "Identifier", - "src": "2281:7:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "beneficiary", - "referencedDeclaration": 7769, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 7838, - "name": "Identifier", - "src": "2289:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7835, - "type": "uint256", - "value": "_agreementId" - }, - "id": 7839, - "name": "Identifier", - "src": "2300:12:25" - } - ], - "id": 7840, - "name": "IndexAccess", - "src": "2289:24:25" - } - ], - "id": 7841, - "name": "MemberAccess", - "src": "2289:36:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 7842, - "name": "Identifier", - "src": "2329:3:25" - } - ], - "id": 7843, - "name": "MemberAccess", - "src": "2329:10:25" - } - ], - "id": 7844, - "name": "BinaryOperation", - "src": "2289:50:25" - } - ], - "id": 7845, - "name": "FunctionCall", - "src": "2281:59:25" - } - ], - "id": 7846, - "name": "ExpressionStatement", - "src": "2281:59:25" - }, - { - "id": 7847, - "name": "PlaceholderStatement", - "src": "2351:1:25" - } - ], - "id": 7848, - "name": "Block", - "src": "2270:90:25" - } - ], - "id": 7849, - "name": "ModifierDefinition", - "src": "2226:134:25" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "VestingScheme", - "payable": false, - "scope": 8608, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 7868, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 7850, - "name": "UserDefinedTypeName", - "src": "2642:13:25" - } - ], - "id": 7851, - "name": "VariableDeclaration", - "src": "2642:26:25" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 7868, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7852, - "name": "ElementaryTypeName", - "src": "2670:4:25" - } - ], - "id": 7853, - "name": "VariableDeclaration", - "src": "2670:9:25" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 7868, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7854, - "name": "ElementaryTypeName", - "src": "2681:7:25" - } - ], - "id": 7855, - "name": "VariableDeclaration", - "src": "2681:20:25" - } - ], - "id": 7856, - "name": "ParameterList", - "src": "2641:61:25" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 7857, - "name": "ParameterList", - "src": "2710:0:25" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 7207 - ], - "referencedDeclaration": 7207, - "type": "function (contract StandardToken,uint256,address,bytes32)", - "value": "updateParameters" - }, - "id": 7858, - "name": "Identifier", - "src": "2721:16:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7851, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 7859, - "name": "Identifier", - "src": "2738:12:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7853, - "type": "uint256", - "value": "_fee" - }, - "id": 7860, - "name": "Identifier", - "src": "2752:4:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7855, - "type": "address", - "value": "_beneficiary" - }, - "id": 7861, - "name": "Identifier", - "src": "2758:12:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 7862, - "name": "ElementaryTypeNameExpression", - "src": "2772:7:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 7863, - "name": "Literal", - "src": "2780:1:25" - } - ], - "id": 7864, - "name": "FunctionCall", - "src": "2772:10:25" - } - ], - "id": 7865, - "name": "FunctionCall", - "src": "2721:62:25" - } - ], - "id": 7866, - "name": "ExpressionStatement", - "src": "2721:62:25" - } - ], - "id": 7867, - "name": "Block", - "src": "2710:81:25" - } - ], - "id": 7868, - "name": "FunctionDefinition", - "src": "2619:172:25" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 8608, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_voteParams", - "scope": 7901, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7869, - "name": "ElementaryTypeName", - "src": "3074:7:25" - } - ], - "id": 7870, - "name": "VariableDeclaration", - "src": "3074:19:25" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 7901, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 7871, - "name": "UserDefinedTypeName", - "src": "3104:16:25" - } - ], - "id": 7872, - "name": "VariableDeclaration", - "src": "3104:25:25" - } - ], - "id": 7873, - "name": "ParameterList", - "src": "3063:73:25" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7901, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7874, - "name": "ElementaryTypeName", - "src": "3152:7:25" - } - ], - "id": 7875, - "name": "VariableDeclaration", - "src": "3152:7:25" - } - ], - "id": 7876, - "name": "ParameterList", - "src": "3151:9:25" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 7878 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 7901, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7877, - "name": "ElementaryTypeName", - "src": "3177:7:25" - } - ], - "id": 7878, - "name": "VariableDeclaration", - "src": "3177:18:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7917, - "type": "function (bytes32,contract IntVoteInterface) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 7879, - "name": "Identifier", - "src": "3198:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7870, - "type": "bytes32", - "value": "_voteParams" - }, - "id": 7880, - "name": "Identifier", - "src": "3216:11:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7872, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 7881, - "name": "Identifier", - "src": "3229:8:25" - } - ], - "id": 7882, - "name": "FunctionCall", - "src": "3198:40:25" - } - ], - "id": 7883, - "name": "VariableDeclarationStatement", - "src": "3177:61:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "voteParams", - "referencedDeclaration": 7798, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7811, - "type": "mapping(bytes32 => struct VestingScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 7884, - "name": "Identifier", - "src": "3249:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7878, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 7885, - "name": "Identifier", - "src": "3260:10:25" - } - ], - "id": 7886, - "name": "IndexAccess", - "src": "3249:22:25" - } - ], - "id": 7887, - "name": "MemberAccess", - "src": "3249:33:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7870, - "type": "bytes32", - "value": "_voteParams" - }, - "id": 7888, - "name": "Identifier", - "src": "3285:11:25" - } - ], - "id": 7889, - "name": "Assignment", - "src": "3249:47:25" - } - ], - "id": 7890, - "name": "ExpressionStatement", - "src": "3249:47:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "intVote", - "referencedDeclaration": 7800, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7811, - "type": "mapping(bytes32 => struct VestingScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 7891, - "name": "Identifier", - "src": "3307:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7878, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 7892, - "name": "Identifier", - "src": "3318:10:25" - } - ], - "id": 7893, - "name": "IndexAccess", - "src": "3307:22:25" - } - ], - "id": 7894, - "name": "MemberAccess", - "src": "3307:30:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7872, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 7895, - "name": "Identifier", - "src": "3340:8:25" - } - ], - "id": 7896, - "name": "Assignment", - "src": "3307:41:25" - } - ], - "id": 7897, - "name": "ExpressionStatement", - "src": "3307:41:25" - }, - { - "attributes": { - "functionReturnParameters": 7876 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7878, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 7898, - "name": "Identifier", - "src": "3366:10:25" - } - ], - "id": 7899, - "name": "Return", - "src": "3359:17:25" - } - ], - "id": 7900, - "name": "Block", - "src": "3166:218:25" - } - ], - "id": 7901, - "name": "FunctionDefinition", - "src": "3041:343:25" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 8608, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_voteParams", - "scope": 7917, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7902, - "name": "ElementaryTypeName", - "src": "3646:7:25" - } - ], - "id": 7903, - "name": "VariableDeclaration", - "src": "3646:19:25" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 7917, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 7904, - "name": "UserDefinedTypeName", - "src": "3676:16:25" - } - ], - "id": 7905, - "name": "VariableDeclaration", - "src": "3676:25:25" - } - ], - "id": 7906, - "name": "ParameterList", - "src": "3635:73:25" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 7917, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7907, - "name": "ElementaryTypeName", - "src": "3729:7:25" - } - ], - "id": 7908, - "name": "VariableDeclaration", - "src": "3729:7:25" - } - ], - "id": 7909, - "name": "ParameterList", - "src": "3728:9:25" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 7909 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 7910, - "name": "Identifier", - "src": "3763:9:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7903, - "type": "bytes32", - "value": "_voteParams" - }, - "id": 7911, - "name": "Identifier", - "src": "3773:11:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7905, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 7912, - "name": "Identifier", - "src": "3786:8:25" - } - ], - "id": 7913, - "name": "FunctionCall", - "src": "3763:32:25" - } - ], - "id": 7914, - "name": "TupleExpression", - "src": "3762:34:25" - } - ], - "id": 7915, - "name": "Return", - "src": "3754:42:25" - } - ], - "id": 7916, - "name": "Block", - "src": "3743:61:25" - } - ], - "id": 7917, - "name": "FunctionDefinition", - "src": "3609:195:25" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "proposeVestingAgreement", - "payable": false, - "scope": 8608, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7918, - "name": "ElementaryTypeName", - "src": "4654:7:25" - } - ], - "id": 7919, - "name": "VariableDeclaration", - "src": "4654:20:25" - }, - { - "attributes": { - "constant": false, - "name": "_returnOnCancelAddress", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7920, - "name": "ElementaryTypeName", - "src": "4685:7:25" - } - ], - "id": 7921, - "name": "VariableDeclaration", - "src": "4685:30:25" - }, - { - "attributes": { - "constant": false, - "name": "_startingBlock", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7922, - "name": "ElementaryTypeName", - "src": "4726:4:25" - } - ], - "id": 7923, - "name": "VariableDeclaration", - "src": "4726:19:25" - }, - { - "attributes": { - "constant": false, - "name": "_amountPerPeriod", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7924, - "name": "ElementaryTypeName", - "src": "4756:4:25" - } - ], - "id": 7925, - "name": "VariableDeclaration", - "src": "4756:21:25" - }, - { - "attributes": { - "constant": false, - "name": "_periodLength", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7926, - "name": "ElementaryTypeName", - "src": "4788:4:25" - } - ], - "id": 7927, - "name": "VariableDeclaration", - "src": "4788:18:25" - }, - { - "attributes": { - "constant": false, - "name": "_numOfAgreedPeriods", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7928, - "name": "ElementaryTypeName", - "src": "4817:4:25" - } - ], - "id": 7929, - "name": "VariableDeclaration", - "src": "4817:24:25" - }, - { - "attributes": { - "constant": false, - "name": "_cliffInPeriods", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7930, - "name": "ElementaryTypeName", - "src": "4852:4:25" - } - ], - "id": 7931, - "name": "VariableDeclaration", - "src": "4852:20:25" - }, - { - "attributes": { - "constant": false, - "name": "_signaturesReqToCancel", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7932, - "name": "ElementaryTypeName", - "src": "4883:4:25" - } - ], - "id": 7933, - "name": "VariableDeclaration", - "src": "4883:27:25" - }, - { - "attributes": { - "constant": false, - "name": "_signersArray", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "address[] calldata", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "address[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 7934, - "name": "ElementaryTypeName", - "src": "4921:7:25" - } - ], - "id": 7935, - "name": "ArrayTypeName", - "src": "4921:9:25" - } - ], - "id": 7936, - "name": "VariableDeclaration", - "src": "4921:23:25" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 7937, - "name": "UserDefinedTypeName", - "src": "4955:6:25" - } - ], - "id": 7938, - "name": "VariableDeclaration", - "src": "4955:14:25" - } - ], - "id": 7939, - "name": "ParameterList", - "src": "4643:333:25" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7943, - "name": "ElementaryTypeName", - "src": "5045:7:25" - } - ], - "id": 7944, - "name": "VariableDeclaration", - "src": "5045:7:25" - } - ], - "id": 7945, - "name": "ParameterList", - "src": "5044:9:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7129, - "type": "modifier (address)", - "value": "onlyRegisteredOrganization" - }, - "id": 7940, - "name": "Identifier", - "src": "4996:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7941, - "name": "Identifier", - "src": "5023:7:25" - } - ], - "id": 7942, - "name": "ModifierInvocation", - "src": "4996:35:25" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 7947 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 8111, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct VestingScheme.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 7801, - "type": "struct VestingScheme.Parameters storage pointer" - }, - "id": 7946, - "name": "UserDefinedTypeName", - "src": "5095:10:25" - } - ], - "id": 7947, - "name": "VariableDeclaration", - "src": "5095:24:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7811, - "type": "mapping(bytes32 => struct VestingScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 7948, - "name": "Identifier", - "src": "5122:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 7949, - "name": "Identifier", - "src": "5133:27:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7950, - "name": "Identifier", - "src": "5161:7:25" - } - ], - "id": 7951, - "name": "FunctionCall", - "src": "5133:36:25" - } - ], - "id": 7952, - "name": "IndexAccess", - "src": "5122:48:25" - } - ], - "id": 7953, - "name": "VariableDeclarationStatement", - "src": "5095:75:25" - }, - { - "attributes": { - "assignments": [ - 7955 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposalId", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 7954, - "name": "ElementaryTypeName", - "src": "5181:7:25" - } - ], - "id": 7955, - "name": "VariableDeclaration", - "src": "5181:18:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_ExecutableInterface_$5155", - "typeString": "contract ExecutableInterface" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "propose", - "referencedDeclaration": 2570, - "type": "function (uint256,bytes32,address,contract ExecutableInterface) external returns (bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 7800, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7947, - "type": "struct VestingScheme.Parameters memory", - "value": "params" - }, - "id": 7956, - "name": "Identifier", - "src": "5202:6:25" - } - ], - "id": 7957, - "name": "MemberAccess", - "src": "5202:14:25" - } - ], - "id": 7958, - "name": "MemberAccess", - "src": "5202:22:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 7959, - "name": "Literal", - "src": "5225:1:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteParams", - "referencedDeclaration": 7798, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7947, - "type": "struct VestingScheme.Parameters memory", - "value": "params" - }, - "id": 7960, - "name": "Identifier", - "src": "5228:6:25" - } - ], - "id": 7961, - "name": "MemberAccess", - "src": "5228:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7962, - "name": "Identifier", - "src": "5247:7:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract ExecutableInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_VestingScheme_$8608", - "typeString": "contract VestingScheme" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5155, - "type": "type(contract ExecutableInterface)", - "value": "ExecutableInterface" - }, - "id": 7963, - "name": "Identifier", - "src": "5256:19:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9821, - "type": "contract VestingScheme", - "value": "this" - }, - "id": 7964, - "name": "Identifier", - "src": "5276:4:25" - } - ], - "id": 7965, - "name": "FunctionCall", - "src": "5256:25:25" - } - ], - "id": 7966, - "name": "FunctionCall", - "src": "5202:80:25" - } - ], - "id": 7967, - "name": "VariableDeclarationStatement", - "src": "5181:101:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9727, - "type": "function (bool) pure", - "value": "assert" - }, - "id": 7968, - "name": "Identifier", - "src": "5293:6:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7933, - "type": "uint256", - "value": "_signaturesReqToCancel" - }, - "id": 7969, - "name": "Identifier", - "src": "5300:22:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7936, - "type": "address[] calldata", - "value": "_signersArray" - }, - "id": 7970, - "name": "Identifier", - "src": "5326:13:25" - } - ], - "id": 7971, - "name": "MemberAccess", - "src": "5326:20:25" - } - ], - "id": 7972, - "name": "BinaryOperation", - "src": "5300:46:25" - } - ], - "id": 7973, - "name": "FunctionCall", - "src": "5293:54:25" - } - ], - "id": 7974, - "name": "ExpressionStatement", - "src": "5293:54:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9727, - "type": "function (bool) pure", - "value": "assert" - }, - "id": 7975, - "name": "Identifier", - "src": "5358:6:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7927, - "type": "uint256", - "value": "_periodLength" - }, - "id": 7976, - "name": "Identifier", - "src": "5365:13:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 7977, - "name": "Literal", - "src": "5381:1:25" - } - ], - "id": 7978, - "name": "BinaryOperation", - "src": "5365:17:25" - } - ], - "id": 7979, - "name": "FunctionCall", - "src": "5358:25:25" - } - ], - "id": 7980, - "name": "ExpressionStatement", - "src": "5358:25:25" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 7982 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 8111, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 7981, - "name": "ElementaryTypeName", - "src": "5438:4:25" - } - ], - "id": 7982, - "name": "VariableDeclaration", - "src": "5438:8:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 7983, - "name": "Literal", - "src": "5449:1:25" - } - ], - "id": 7984, - "name": "VariableDeclarationStatement", - "src": "5438:12:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7982, - "type": "uint256", - "value": "cnt" - }, - "id": 7985, - "name": "Identifier", - "src": "5452:3:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7936, - "type": "address[] calldata", - "value": "_signersArray" - }, - "id": 7986, - "name": "Identifier", - "src": "5456:13:25" - } - ], - "id": 7987, - "name": "MemberAccess", - "src": "5456:20:25" - } - ], - "id": 7988, - "name": "BinaryOperation", - "src": "5452:24:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7982, - "type": "uint256", - "value": "cnt" - }, - "id": 7989, - "name": "Identifier", - "src": "5478:3:25" - } - ], - "id": 7990, - "name": "UnaryOperation", - "src": "5478:5:25" - } - ], - "id": 7991, - "name": "ExpressionStatement", - "src": "5478:5:25" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "signers", - "referencedDeclaration": 7791, - "type": "mapping(address => bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 7992, - "name": "Identifier", - "src": "5500:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 7993, - "name": "Identifier", - "src": "5518:7:25" - } - ], - "id": 7995, - "name": "IndexAccess", - "src": "5500:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 7994, - "name": "Identifier", - "src": "5527:10:25" - } - ], - "id": 7996, - "name": "IndexAccess", - "src": "5500:38:25" - } - ], - "id": 7997, - "name": "MemberAccess", - "src": "5500:46:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7936, - "type": "address[] calldata", - "value": "_signersArray" - }, - "id": 7998, - "name": "Identifier", - "src": "5547:13:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7982, - "type": "uint256", - "value": "cnt" - }, - "id": 7999, - "name": "Identifier", - "src": "5561:3:25" - } - ], - "id": 8000, - "name": "IndexAccess", - "src": "5547:18:25" - } - ], - "id": 8001, - "name": "IndexAccess", - "src": "5500:66:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 8002, - "name": "Literal", - "src": "5569:4:25" - } - ], - "id": 8003, - "name": "Assignment", - "src": "5500:73:25" - } - ], - "id": 8004, - "name": "ExpressionStatement", - "src": "5500:73:25" - } - ], - "id": 8005, - "name": "Block", - "src": "5485:100:25" - } - ], - "id": 8006, - "name": "ForStatement", - "src": "5433:152:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "token", - "referencedDeclaration": 7767, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8007, - "name": "Identifier", - "src": "5625:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8008, - "name": "Identifier", - "src": "5643:7:25" - } - ], - "id": 8010, - "name": "IndexAccess", - "src": "5625:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8009, - "name": "Identifier", - "src": "5652:10:25" - } - ], - "id": 8011, - "name": "IndexAccess", - "src": "5625:38:25" - } - ], - "id": 8012, - "name": "MemberAccess", - "src": "5625:44:25" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract DAOToken", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "nativeToken", - "referencedDeclaration": 2803, - "type": "function () view external returns (contract DAOToken)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 8013, - "name": "Identifier", - "src": "5672:6:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8014, - "name": "Identifier", - "src": "5679:7:25" - } - ], - "id": 8015, - "name": "FunctionCall", - "src": "5672:15:25" - } - ], - "id": 8016, - "name": "MemberAccess", - "src": "5672:27:25" - } - ], - "id": 8017, - "name": "FunctionCall", - "src": "5672:29:25" - } - ], - "id": 8018, - "name": "Assignment", - "src": "5625:76:25" - } - ], - "id": 8019, - "name": "ExpressionStatement", - "src": "5625:76:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "beneficiary", - "referencedDeclaration": 7769, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8020, - "name": "Identifier", - "src": "5712:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8021, - "name": "Identifier", - "src": "5730:7:25" - } - ], - "id": 8023, - "name": "IndexAccess", - "src": "5712:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8022, - "name": "Identifier", - "src": "5739:10:25" - } - ], - "id": 8024, - "name": "IndexAccess", - "src": "5712:38:25" - } - ], - "id": 8025, - "name": "MemberAccess", - "src": "5712:50:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7919, - "type": "address", - "value": "_beneficiary" - }, - "id": 8026, - "name": "Identifier", - "src": "5765:12:25" - } - ], - "id": 8027, - "name": "Assignment", - "src": "5712:65:25" - } - ], - "id": 8028, - "name": "ExpressionStatement", - "src": "5712:65:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "returnOnCancelAddress", - "referencedDeclaration": 7771, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8029, - "name": "Identifier", - "src": "5788:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8030, - "name": "Identifier", - "src": "5806:7:25" - } - ], - "id": 8032, - "name": "IndexAccess", - "src": "5788:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8031, - "name": "Identifier", - "src": "5815:10:25" - } - ], - "id": 8033, - "name": "IndexAccess", - "src": "5788:38:25" - } - ], - "id": 8034, - "name": "MemberAccess", - "src": "5788:60:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7921, - "type": "address", - "value": "_returnOnCancelAddress" - }, - "id": 8035, - "name": "Identifier", - "src": "5851:22:25" - } - ], - "id": 8036, - "name": "Assignment", - "src": "5788:85:25" - } - ], - "id": 8037, - "name": "ExpressionStatement", - "src": "5788:85:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "startingBlock", - "referencedDeclaration": 7773, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8038, - "name": "Identifier", - "src": "5884:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8039, - "name": "Identifier", - "src": "5902:7:25" - } - ], - "id": 8041, - "name": "IndexAccess", - "src": "5884:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8040, - "name": "Identifier", - "src": "5911:10:25" - } - ], - "id": 8042, - "name": "IndexAccess", - "src": "5884:38:25" - } - ], - "id": 8043, - "name": "MemberAccess", - "src": "5884:52:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7923, - "type": "uint256", - "value": "_startingBlock" - }, - "id": 8044, - "name": "Identifier", - "src": "5939:14:25" - } - ], - "id": 8045, - "name": "Assignment", - "src": "5884:69:25" - } - ], - "id": 8046, - "name": "ExpressionStatement", - "src": "5884:69:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "amountPerPeriod", - "referencedDeclaration": 7775, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8047, - "name": "Identifier", - "src": "5964:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8048, - "name": "Identifier", - "src": "5982:7:25" - } - ], - "id": 8050, - "name": "IndexAccess", - "src": "5964:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8049, - "name": "Identifier", - "src": "5991:10:25" - } - ], - "id": 8051, - "name": "IndexAccess", - "src": "5964:38:25" - } - ], - "id": 8052, - "name": "MemberAccess", - "src": "5964:54:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7925, - "type": "uint256", - "value": "_amountPerPeriod" - }, - "id": 8053, - "name": "Identifier", - "src": "6021:16:25" - } - ], - "id": 8054, - "name": "Assignment", - "src": "5964:73:25" - } - ], - "id": 8055, - "name": "ExpressionStatement", - "src": "5964:73:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "periodLength", - "referencedDeclaration": 7777, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8056, - "name": "Identifier", - "src": "6048:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8057, - "name": "Identifier", - "src": "6066:7:25" - } - ], - "id": 8059, - "name": "IndexAccess", - "src": "6048:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8058, - "name": "Identifier", - "src": "6075:10:25" - } - ], - "id": 8060, - "name": "IndexAccess", - "src": "6048:38:25" - } - ], - "id": 8061, - "name": "MemberAccess", - "src": "6048:51:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7927, - "type": "uint256", - "value": "_periodLength" - }, - "id": 8062, - "name": "Identifier", - "src": "6102:13:25" - } - ], - "id": 8063, - "name": "Assignment", - "src": "6048:67:25" - } - ], - "id": 8064, - "name": "ExpressionStatement", - "src": "6048:67:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "numOfAgreedPeriods", - "referencedDeclaration": 7779, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8065, - "name": "Identifier", - "src": "6126:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8066, - "name": "Identifier", - "src": "6144:7:25" - } - ], - "id": 8068, - "name": "IndexAccess", - "src": "6126:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8067, - "name": "Identifier", - "src": "6153:10:25" - } - ], - "id": 8069, - "name": "IndexAccess", - "src": "6126:38:25" - } - ], - "id": 8070, - "name": "MemberAccess", - "src": "6126:57:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7929, - "type": "uint256", - "value": "_numOfAgreedPeriods" - }, - "id": 8071, - "name": "Identifier", - "src": "6186:19:25" - } - ], - "id": 8072, - "name": "Assignment", - "src": "6126:79:25" - } - ], - "id": 8073, - "name": "ExpressionStatement", - "src": "6126:79:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "cliffInPeriods", - "referencedDeclaration": 7781, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8074, - "name": "Identifier", - "src": "6216:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8075, - "name": "Identifier", - "src": "6234:7:25" - } - ], - "id": 8077, - "name": "IndexAccess", - "src": "6216:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8076, - "name": "Identifier", - "src": "6243:10:25" - } - ], - "id": 8078, - "name": "IndexAccess", - "src": "6216:38:25" - } - ], - "id": 8079, - "name": "MemberAccess", - "src": "6216:53:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7931, - "type": "uint256", - "value": "_cliffInPeriods" - }, - "id": 8080, - "name": "Identifier", - "src": "6272:15:25" - } - ], - "id": 8081, - "name": "Assignment", - "src": "6216:71:25" - } - ], - "id": 8082, - "name": "ExpressionStatement", - "src": "6216:71:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "signaturesReqToCancel", - "referencedDeclaration": 7783, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8083, - "name": "Identifier", - "src": "6298:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8084, - "name": "Identifier", - "src": "6316:7:25" - } - ], - "id": 8086, - "name": "IndexAccess", - "src": "6298:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8085, - "name": "Identifier", - "src": "6325:10:25" - } - ], - "id": 8087, - "name": "IndexAccess", - "src": "6298:38:25" - } - ], - "id": 8088, - "name": "MemberAccess", - "src": "6298:60:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7933, - "type": "uint256", - "value": "_signaturesReqToCancel" - }, - "id": 8089, - "name": "Identifier", - "src": "6361:22:25" - } - ], - "id": 8090, - "name": "Assignment", - "src": "6298:85:25" - } - ], - "id": 8091, - "name": "ExpressionStatement", - "src": "6298:85:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "ownerVote", - "referencedDeclaration": 2597, - "type": "function (bytes32,uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 7800, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7947, - "type": "struct VestingScheme.Parameters memory", - "value": "params" - }, - "id": 8092, - "name": "Identifier", - "src": "6396:6:25" - } - ], - "id": 8095, - "name": "MemberAccess", - "src": "6396:14:25" - } - ], - "id": 8096, - "name": "MemberAccess", - "src": "6396:24:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8097, - "name": "Identifier", - "src": "6421:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 8098, - "name": "Literal", - "src": "6433:1:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 8099, - "name": "Identifier", - "src": "6436:3:25" - } - ], - "id": 8100, - "name": "MemberAccess", - "src": "6436:10:25" - } - ], - "id": 8101, - "name": "FunctionCall", - "src": "6396:51:25" - } - ], - "id": 8102, - "name": "ExpressionStatement", - "src": "6396:51:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7733, - "type": "function (address,bytes32)", - "value": "LogAgreementProposal" - }, - "id": 8103, - "name": "Identifier", - "src": "6533:20:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7938, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8104, - "name": "Identifier", - "src": "6554:7:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8105, - "name": "Identifier", - "src": "6563:10:25" - } - ], - "id": 8106, - "name": "FunctionCall", - "src": "6533:41:25" - } - ], - "id": 8107, - "name": "ExpressionStatement", - "src": "6533:41:25" - }, - { - "attributes": { - "functionReturnParameters": 7945 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7955, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8108, - "name": "Identifier", - "src": "6592:10:25" - } - ], - "id": 8109, - "name": "Return", - "src": "6585:17:25" - } - ], - "id": 8110, - "name": "Block", - "src": "5059:1551:25" - } - ], - "id": 8111, - "name": "FunctionDefinition", - "src": "4611:1999:25" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "execute", - "payable": false, - "scope": 8608, - "stateMutability": "nonpayable", - "superFunction": 5154, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 8206, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8112, - "name": "ElementaryTypeName", - "src": "7016:7:25" - } - ], - "id": 8113, - "name": "VariableDeclaration", - "src": "7016:19:25" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 8206, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8114, - "name": "ElementaryTypeName", - "src": "7037:7:25" - } - ], - "id": 8115, - "name": "VariableDeclaration", - "src": "7037:15:25" - }, - { - "attributes": { - "constant": false, - "name": "_param", - "scope": 8206, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 8116, - "name": "ElementaryTypeName", - "src": "7054:3:25" - } - ], - "id": 8117, - "name": "VariableDeclaration", - "src": "7054:10:25" - } - ], - "id": 8118, - "name": "ParameterList", - "src": "7015:50:25" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 8206, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 8119, - "name": "ElementaryTypeName", - "src": "7081:4:25" - } - ], - "id": 8120, - "name": "VariableDeclaration", - "src": "7081:4:25" - } - ], - "id": 8121, - "name": "ParameterList", - "src": "7080:6:25" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 8122, - "name": "Identifier", - "src": "7157:7:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 7800, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7811, - "type": "mapping(bytes32 => struct VestingScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 8123, - "name": "Identifier", - "src": "7165:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 8124, - "name": "Identifier", - "src": "7176:27:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 8125, - "name": "Identifier", - "src": "7204:6:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8115, - "type": "address", - "value": "_avatar" - }, - "id": 8126, - "name": "Identifier", - "src": "7211:7:25" - } - ], - "id": 8127, - "name": "FunctionCall", - "src": "7204:15:25" - } - ], - "id": 8128, - "name": "FunctionCall", - "src": "7176:44:25" - } - ], - "id": 8129, - "name": "IndexAccess", - "src": "7165:56:25" - } - ], - "id": 8130, - "name": "MemberAccess", - "src": "7165:64:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 8131, - "name": "Identifier", - "src": "7233:3:25" - } - ], - "id": 8132, - "name": "MemberAccess", - "src": "7233:10:25" - } - ], - "id": 8133, - "name": "BinaryOperation", - "src": "7165:78:25" - } - ], - "id": 8134, - "name": "FunctionCall", - "src": "7157:87:25" - } - ], - "id": 8135, - "name": "ExpressionStatement", - "src": "7157:87:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7741, - "type": "function (address,bytes32,int256)", - "value": "LogExecutaion" - }, - "id": 8136, - "name": "Identifier", - "src": "7284:13:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8115, - "type": "address", - "value": "_avatar" - }, - "id": 8137, - "name": "Identifier", - "src": "7298:7:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8113, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 8138, - "name": "Identifier", - "src": "7307:11:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8117, - "type": "int256", - "value": "_param" - }, - "id": 8139, - "name": "Identifier", - "src": "7320:6:25" - } - ], - "id": 8140, - "name": "FunctionCall", - "src": "7284:43:25" - } - ], - "id": 8141, - "name": "ExpressionStatement", - "src": "7284:43:25" - }, - { - "attributes": { - "assignments": [ - 8143 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposedAgreement", - "scope": 8206, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct VestingScheme.Agreement memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Agreement", - "referencedDeclaration": 7796, - "type": "struct VestingScheme.Agreement storage pointer" - }, - "id": 8142, - "name": "UserDefinedTypeName", - "src": "7340:9:25" - } - ], - "id": 8143, - "name": "VariableDeclaration", - "src": "7340:34:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8144, - "name": "Identifier", - "src": "7377:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8115, - "type": "address", - "value": "_avatar" - }, - "id": 8145, - "name": "Identifier", - "src": "7395:7:25" - } - ], - "id": 8146, - "name": "IndexAccess", - "src": "7377:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8113, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 8147, - "name": "Identifier", - "src": "7404:11:25" - } - ], - "id": 8148, - "name": "IndexAccess", - "src": "7377:39:25" - } - ], - "id": 8149, - "name": "VariableDeclarationStatement", - "src": "7340:76:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VestingScheme.Agreement storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7807, - "type": "mapping(address => mapping(bytes32 => struct VestingScheme.Agreement storage ref))", - "value": "organizationsData" - }, - "id": 8150, - "name": "Identifier", - "src": "7434:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8115, - "type": "address", - "value": "_avatar" - }, - "id": 8151, - "name": "Identifier", - "src": "7452:7:25" - } - ], - "id": 8152, - "name": "IndexAccess", - "src": "7434:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8113, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 8153, - "name": "Identifier", - "src": "7461:11:25" - } - ], - "id": 8154, - "name": "IndexAccess", - "src": "7434:39:25" - } - ], - "id": 8155, - "name": "UnaryOperation", - "src": "7427:46:25" - } - ], - "id": 8156, - "name": "ExpressionStatement", - "src": "7427:46:25" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8117, - "type": "int256", - "value": "_param" - }, - "id": 8157, - "name": "Identifier", - "src": "7532:6:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 8158, - "name": "Literal", - "src": "7542:1:25" - } - ], - "id": 8159, - "name": "BinaryOperation", - "src": "7532:11:25" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 8161 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 8206, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 8160, - "name": "UserDefinedTypeName", - "src": "7642:10:25" - } - ], - "id": 8161, - "name": "VariableDeclaration", - "src": "7642:21:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 8162, - "name": "Identifier", - "src": "7666:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 8163, - "name": "Identifier", - "src": "7677:6:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8115, - "type": "address", - "value": "_avatar" - }, - "id": 8164, - "name": "Identifier", - "src": "7684:7:25" - } - ], - "id": 8165, - "name": "FunctionCall", - "src": "7677:15:25" - } - ], - "id": 8166, - "name": "MemberAccess", - "src": "7677:21:25" - } - ], - "id": 8167, - "name": "FunctionCall", - "src": "7677:23:25" - } - ], - "id": 8168, - "name": "FunctionCall", - "src": "7666:35:25" - } - ], - "id": 8169, - "name": "VariableDeclarationStatement", - "src": "7642:59:25" - }, - { - "attributes": { - "assignments": [ - 8171 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "tokensToMint", - "scope": 8206, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8170, - "name": "ElementaryTypeName", - "src": "7716:4:25" - } - ], - "id": 8171, - "name": "VariableDeclaration", - "src": "7716:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mul", - "referencedDeclaration": 9021, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "amountPerPeriod", - "referencedDeclaration": 7775, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8143, - "type": "struct VestingScheme.Agreement memory", - "value": "proposedAgreement" - }, - "id": 8172, - "name": "Identifier", - "src": "7736:17:25" - } - ], - "id": 8173, - "name": "MemberAccess", - "src": "7736:33:25" - } - ], - "id": 8174, - "name": "MemberAccess", - "src": "7736:37:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfAgreedPeriods", - "referencedDeclaration": 7779, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8143, - "type": "struct VestingScheme.Agreement memory", - "value": "proposedAgreement" - }, - "id": 8175, - "name": "Identifier", - "src": "7774:17:25" - } - ], - "id": 8176, - "name": "MemberAccess", - "src": "7774:36:25" - } - ], - "id": 8177, - "name": "FunctionCall", - "src": "7736:75:25" - } - ], - "id": 8178, - "name": "VariableDeclarationStatement", - "src": "7716:95:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_contract$_VestingScheme_$8608", - "typeString": "contract VestingScheme" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mintTokens", - "referencedDeclaration": 3502, - "type": "function (uint256,address) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8161, - "type": "contract Controller", - "value": "controller" - }, - "id": 8179, - "name": "Identifier", - "src": "7826:10:25" - } - ], - "id": 8181, - "name": "MemberAccess", - "src": "7826:21:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8171, - "type": "uint256", - "value": "tokensToMint" - }, - "id": 8182, - "name": "Identifier", - "src": "7848:12:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9821, - "type": "contract VestingScheme", - "value": "this" - }, - "id": 8183, - "name": "Identifier", - "src": "7862:4:25" - } - ], - "id": 8184, - "name": "FunctionCall", - "src": "7826:41:25" - } - ], - "id": 8185, - "name": "ExpressionStatement", - "src": "7826:41:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8186, - "name": "Identifier", - "src": "7882:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8187, - "name": "Identifier", - "src": "7893:17:25" - } - ], - "id": 8188, - "name": "IndexAccess", - "src": "7882:29:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8143, - "type": "struct VestingScheme.Agreement memory", - "value": "proposedAgreement" - }, - "id": 8189, - "name": "Identifier", - "src": "7914:17:25" - } - ], - "id": 8190, - "name": "Assignment", - "src": "7882:49:25" - } - ], - "id": 8191, - "name": "ExpressionStatement", - "src": "7882:49:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8192, - "name": "Identifier", - "src": "7946:17:25" - } - ], - "id": 8193, - "name": "UnaryOperation", - "src": "7946:19:25" - } - ], - "id": 8194, - "name": "ExpressionStatement", - "src": "7946:19:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7745, - "type": "function (uint256)", - "value": "NewVestedAgreement" - }, - "id": 8195, - "name": "Identifier", - "src": "8015:18:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "-", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8196, - "name": "Identifier", - "src": "8034:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 8197, - "name": "Literal", - "src": "8052:1:25" - } - ], - "id": 8198, - "name": "BinaryOperation", - "src": "8034:19:25" - } - ], - "id": 8199, - "name": "FunctionCall", - "src": "8015:39:25" - } - ], - "id": 8200, - "name": "ExpressionStatement", - "src": "8015:39:25" - } - ], - "id": 8201, - "name": "Block", - "src": "7545:520:25" - } - ], - "id": 8202, - "name": "IfStatement", - "src": "7528:537:25" - }, - { - "attributes": { - "functionReturnParameters": 8121 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 8203, - "name": "Literal", - "src": "8082:4:25" - } - ], - "id": 8204, - "name": "Return", - "src": "8075:11:25" - } - ], - "id": 8205, - "name": "Block", - "src": "7087:1007:25" - } - ], - "id": 8206, - "name": "FunctionDefinition", - "src": "6999:1095:25" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "createVestedAgreement", - "payable": false, - "scope": 8608, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_token", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 8207, - "name": "UserDefinedTypeName", - "src": "8933:13:25" - } - ], - "id": 8208, - "name": "VariableDeclaration", - "src": "8933:20:25" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8209, - "name": "ElementaryTypeName", - "src": "8964:7:25" - } - ], - "id": 8210, - "name": "VariableDeclaration", - "src": "8964:20:25" - }, - { - "attributes": { - "constant": false, - "name": "_returnOnCancelAddress", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8211, - "name": "ElementaryTypeName", - "src": "8995:7:25" - } - ], - "id": 8212, - "name": "VariableDeclaration", - "src": "8995:30:25" - }, - { - "attributes": { - "constant": false, - "name": "_startingBlock", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8213, - "name": "ElementaryTypeName", - "src": "9036:4:25" - } - ], - "id": 8214, - "name": "VariableDeclaration", - "src": "9036:19:25" - }, - { - "attributes": { - "constant": false, - "name": "_amountPerPeriod", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8215, - "name": "ElementaryTypeName", - "src": "9066:4:25" - } - ], - "id": 8216, - "name": "VariableDeclaration", - "src": "9066:21:25" - }, - { - "attributes": { - "constant": false, - "name": "_periodLength", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8217, - "name": "ElementaryTypeName", - "src": "9098:4:25" - } - ], - "id": 8218, - "name": "VariableDeclaration", - "src": "9098:18:25" - }, - { - "attributes": { - "constant": false, - "name": "_numOfAgreedPeriods", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8219, - "name": "ElementaryTypeName", - "src": "9127:4:25" - } - ], - "id": 8220, - "name": "VariableDeclaration", - "src": "9127:24:25" - }, - { - "attributes": { - "constant": false, - "name": "_cliffInPeriods", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8221, - "name": "ElementaryTypeName", - "src": "9162:4:25" - } - ], - "id": 8222, - "name": "VariableDeclaration", - "src": "9162:20:25" - }, - { - "attributes": { - "constant": false, - "name": "_signaturesReqToCancel", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8223, - "name": "ElementaryTypeName", - "src": "9193:4:25" - } - ], - "id": 8224, - "name": "VariableDeclaration", - "src": "9193:27:25" - }, - { - "attributes": { - "constant": false, - "name": "_signersArray", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "address[] calldata", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "address[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8225, - "name": "ElementaryTypeName", - "src": "9231:7:25" - } - ], - "id": 8226, - "name": "ArrayTypeName", - "src": "9231:9:25" - } - ], - "id": 8227, - "name": "VariableDeclaration", - "src": "9231:23:25" - } - ], - "id": 8228, - "name": "ParameterList", - "src": "8922:339:25" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8229, - "name": "ElementaryTypeName", - "src": "9297:4:25" - } - ], - "id": 8230, - "name": "VariableDeclaration", - "src": "9297:4:25" - } - ], - "id": 8231, - "name": "ParameterList", - "src": "9296:6:25" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9727, - "type": "function (bool) pure", - "value": "assert" - }, - "id": 8232, - "name": "Identifier", - "src": "9319:6:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8224, - "type": "uint256", - "value": "_signaturesReqToCancel" - }, - "id": 8233, - "name": "Identifier", - "src": "9326:22:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8227, - "type": "address[] calldata", - "value": "_signersArray" - }, - "id": 8234, - "name": "Identifier", - "src": "9352:13:25" - } - ], - "id": 8235, - "name": "MemberAccess", - "src": "9352:20:25" - } - ], - "id": 8236, - "name": "BinaryOperation", - "src": "9326:46:25" - } - ], - "id": 8237, - "name": "FunctionCall", - "src": "9319:54:25" - } - ], - "id": 8238, - "name": "ExpressionStatement", - "src": "9319:54:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9727, - "type": "function (bool) pure", - "value": "assert" - }, - "id": 8239, - "name": "Identifier", - "src": "9384:6:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8218, - "type": "uint256", - "value": "_periodLength" - }, - "id": 8240, - "name": "Identifier", - "src": "9391:13:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 8241, - "name": "Literal", - "src": "9407:1:25" - } - ], - "id": 8242, - "name": "BinaryOperation", - "src": "9391:17:25" - } - ], - "id": 8243, - "name": "FunctionCall", - "src": "9384:25:25" - } - ], - "id": 8244, - "name": "ExpressionStatement", - "src": "9384:25:25" - }, - { - "attributes": { - "assignments": [ - 8246 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "totalAmount", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8245, - "name": "ElementaryTypeName", - "src": "9447:4:25" - } - ], - "id": 8246, - "name": "VariableDeclaration", - "src": "9447:16:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mul", - "referencedDeclaration": 9021, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8216, - "type": "uint256", - "value": "_amountPerPeriod" - }, - "id": 8247, - "name": "Identifier", - "src": "9466:16:25" - } - ], - "id": 8248, - "name": "MemberAccess", - "src": "9466:20:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8220, - "type": "uint256", - "value": "_numOfAgreedPeriods" - }, - "id": 8249, - "name": "Identifier", - "src": "9487:19:25" - } - ], - "id": 8250, - "name": "FunctionCall", - "src": "9466:41:25" - } - ], - "id": 8251, - "name": "VariableDeclarationStatement", - "src": "9447:60:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_contract$_VestingScheme_$8608", - "typeString": "contract VestingScheme" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transferFrom", - "referencedDeclaration": 9554, - "type": "function (address,address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8208, - "type": "contract StandardToken", - "value": "_token" - }, - "id": 8252, - "name": "Identifier", - "src": "9518:6:25" - } - ], - "id": 8254, - "name": "MemberAccess", - "src": "9518:19:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 8255, - "name": "Identifier", - "src": "9538:3:25" - } - ], - "id": 8256, - "name": "MemberAccess", - "src": "9538:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9821, - "type": "contract VestingScheme", - "value": "this" - }, - "id": 8257, - "name": "Identifier", - "src": "9550:4:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8246, - "type": "uint256", - "value": "totalAmount" - }, - "id": 8258, - "name": "Identifier", - "src": "9556:11:25" - } - ], - "id": 8259, - "name": "FunctionCall", - "src": "9518:50:25" - } - ], - "id": 8260, - "name": "ExpressionStatement", - "src": "9518:50:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "token", - "referencedDeclaration": 7767, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8261, - "name": "Identifier", - "src": "9611:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8262, - "name": "Identifier", - "src": "9622:17:25" - } - ], - "id": 8263, - "name": "IndexAccess", - "src": "9611:29:25" - } - ], - "id": 8264, - "name": "MemberAccess", - "src": "9611:35:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8208, - "type": "contract StandardToken", - "value": "_token" - }, - "id": 8265, - "name": "Identifier", - "src": "9649:6:25" - } - ], - "id": 8266, - "name": "Assignment", - "src": "9611:44:25" - } - ], - "id": 8267, - "name": "ExpressionStatement", - "src": "9611:44:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "beneficiary", - "referencedDeclaration": 7769, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8268, - "name": "Identifier", - "src": "9666:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8269, - "name": "Identifier", - "src": "9677:17:25" - } - ], - "id": 8270, - "name": "IndexAccess", - "src": "9666:29:25" - } - ], - "id": 8271, - "name": "MemberAccess", - "src": "9666:41:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8210, - "type": "address", - "value": "_beneficiary" - }, - "id": 8272, - "name": "Identifier", - "src": "9710:12:25" - } - ], - "id": 8273, - "name": "Assignment", - "src": "9666:56:25" - } - ], - "id": 8274, - "name": "ExpressionStatement", - "src": "9666:56:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "returnOnCancelAddress", - "referencedDeclaration": 7771, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8275, - "name": "Identifier", - "src": "9733:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8276, - "name": "Identifier", - "src": "9744:17:25" - } - ], - "id": 8277, - "name": "IndexAccess", - "src": "9733:29:25" - } - ], - "id": 8278, - "name": "MemberAccess", - "src": "9733:51:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8212, - "type": "address", - "value": "_returnOnCancelAddress" - }, - "id": 8279, - "name": "Identifier", - "src": "9787:22:25" - } - ], - "id": 8280, - "name": "Assignment", - "src": "9733:76:25" - } - ], - "id": 8281, - "name": "ExpressionStatement", - "src": "9733:76:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "startingBlock", - "referencedDeclaration": 7773, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8282, - "name": "Identifier", - "src": "9820:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8283, - "name": "Identifier", - "src": "9831:17:25" - } - ], - "id": 8284, - "name": "IndexAccess", - "src": "9820:29:25" - } - ], - "id": 8285, - "name": "MemberAccess", - "src": "9820:43:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8214, - "type": "uint256", - "value": "_startingBlock" - }, - "id": 8286, - "name": "Identifier", - "src": "9866:14:25" - } - ], - "id": 8287, - "name": "Assignment", - "src": "9820:60:25" - } - ], - "id": 8288, - "name": "ExpressionStatement", - "src": "9820:60:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "amountPerPeriod", - "referencedDeclaration": 7775, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8289, - "name": "Identifier", - "src": "9891:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8290, - "name": "Identifier", - "src": "9902:17:25" - } - ], - "id": 8291, - "name": "IndexAccess", - "src": "9891:29:25" - } - ], - "id": 8292, - "name": "MemberAccess", - "src": "9891:45:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8216, - "type": "uint256", - "value": "_amountPerPeriod" - }, - "id": 8293, - "name": "Identifier", - "src": "9939:16:25" - } - ], - "id": 8294, - "name": "Assignment", - "src": "9891:64:25" - } - ], - "id": 8295, - "name": "ExpressionStatement", - "src": "9891:64:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "periodLength", - "referencedDeclaration": 7777, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8296, - "name": "Identifier", - "src": "9966:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8297, - "name": "Identifier", - "src": "9977:17:25" - } - ], - "id": 8298, - "name": "IndexAccess", - "src": "9966:29:25" - } - ], - "id": 8299, - "name": "MemberAccess", - "src": "9966:42:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8218, - "type": "uint256", - "value": "_periodLength" - }, - "id": 8300, - "name": "Identifier", - "src": "10011:13:25" - } - ], - "id": 8301, - "name": "Assignment", - "src": "9966:58:25" - } - ], - "id": 8302, - "name": "ExpressionStatement", - "src": "9966:58:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "numOfAgreedPeriods", - "referencedDeclaration": 7779, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8303, - "name": "Identifier", - "src": "10035:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8304, - "name": "Identifier", - "src": "10046:17:25" - } - ], - "id": 8305, - "name": "IndexAccess", - "src": "10035:29:25" - } - ], - "id": 8306, - "name": "MemberAccess", - "src": "10035:48:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8220, - "type": "uint256", - "value": "_numOfAgreedPeriods" - }, - "id": 8307, - "name": "Identifier", - "src": "10086:19:25" - } - ], - "id": 8308, - "name": "Assignment", - "src": "10035:70:25" - } - ], - "id": 8309, - "name": "ExpressionStatement", - "src": "10035:70:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "cliffInPeriods", - "referencedDeclaration": 7781, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8310, - "name": "Identifier", - "src": "10116:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8311, - "name": "Identifier", - "src": "10127:17:25" - } - ], - "id": 8312, - "name": "IndexAccess", - "src": "10116:29:25" - } - ], - "id": 8313, - "name": "MemberAccess", - "src": "10116:44:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8222, - "type": "uint256", - "value": "_cliffInPeriods" - }, - "id": 8314, - "name": "Identifier", - "src": "10163:15:25" - } - ], - "id": 8315, - "name": "Assignment", - "src": "10116:62:25" - } - ], - "id": 8316, - "name": "ExpressionStatement", - "src": "10116:62:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "signaturesReqToCancel", - "referencedDeclaration": 7783, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8317, - "name": "Identifier", - "src": "10189:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8318, - "name": "Identifier", - "src": "10200:17:25" - } - ], - "id": 8319, - "name": "IndexAccess", - "src": "10189:29:25" - } - ], - "id": 8320, - "name": "MemberAccess", - "src": "10189:51:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8224, - "type": "uint256", - "value": "_signaturesReqToCancel" - }, - "id": 8321, - "name": "Identifier", - "src": "10243:22:25" - } - ], - "id": 8322, - "name": "Assignment", - "src": "10189:76:25" - } - ], - "id": 8323, - "name": "ExpressionStatement", - "src": "10189:76:25" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 8325 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "cnt", - "scope": 8363, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8324, - "name": "ElementaryTypeName", - "src": "10322:4:25" - } - ], - "id": 8325, - "name": "VariableDeclaration", - "src": "10322:8:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 8326, - "name": "Literal", - "src": "10333:1:25" - } - ], - "id": 8327, - "name": "VariableDeclarationStatement", - "src": "10322:12:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "<", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8325, - "type": "uint256", - "value": "cnt" - }, - "id": 8328, - "name": "Identifier", - "src": "10336:3:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "length", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8227, - "type": "address[] calldata", - "value": "_signersArray" - }, - "id": 8329, - "name": "Identifier", - "src": "10340:13:25" - } - ], - "id": 8330, - "name": "MemberAccess", - "src": "10340:20:25" - } - ], - "id": 8331, - "name": "BinaryOperation", - "src": "10336:24:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8325, - "type": "uint256", - "value": "cnt" - }, - "id": 8332, - "name": "Identifier", - "src": "10362:3:25" - } - ], - "id": 8333, - "name": "UnaryOperation", - "src": "10362:5:25" - } - ], - "id": 8334, - "name": "ExpressionStatement", - "src": "10362:5:25" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "signers", - "referencedDeclaration": 7791, - "type": "mapping(address => bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8335, - "name": "Identifier", - "src": "10384:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8336, - "name": "Identifier", - "src": "10395:17:25" - } - ], - "id": 8337, - "name": "IndexAccess", - "src": "10384:29:25" - } - ], - "id": 8338, - "name": "MemberAccess", - "src": "10384:37:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8227, - "type": "address[] calldata", - "value": "_signersArray" - }, - "id": 8339, - "name": "Identifier", - "src": "10422:13:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8325, - "type": "uint256", - "value": "cnt" - }, - "id": 8340, - "name": "Identifier", - "src": "10436:3:25" - } - ], - "id": 8341, - "name": "IndexAccess", - "src": "10422:18:25" - } - ], - "id": 8342, - "name": "IndexAccess", - "src": "10384:57:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 8343, - "name": "Literal", - "src": "10444:4:25" - } - ], - "id": 8344, - "name": "Assignment", - "src": "10384:64:25" - } - ], - "id": 8345, - "name": "ExpressionStatement", - "src": "10384:64:25" - } - ], - "id": 8346, - "name": "Block", - "src": "10369:91:25" - } - ], - "id": 8347, - "name": "ForStatement", - "src": "10317:143:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8348, - "name": "Identifier", - "src": "10518:17:25" - } - ], - "id": 8349, - "name": "UnaryOperation", - "src": "10518:19:25" - } - ], - "id": 8350, - "name": "ExpressionStatement", - "src": "10518:19:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7745, - "type": "function (uint256)", - "value": "NewVestedAgreement" - }, - "id": 8351, - "name": "Identifier", - "src": "10595:18:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "-", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8352, - "name": "Identifier", - "src": "10614:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 8353, - "name": "Literal", - "src": "10632:1:25" - } - ], - "id": 8354, - "name": "BinaryOperation", - "src": "10614:19:25" - } - ], - "id": 8355, - "name": "FunctionCall", - "src": "10595:39:25" - } - ], - "id": 8356, - "name": "ExpressionStatement", - "src": "10595:39:25" - }, - { - "attributes": { - "functionReturnParameters": 8231 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "-", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7817, - "type": "uint256", - "value": "agreementsCounter" - }, - "id": 8357, - "name": "Identifier", - "src": "10652:17:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 8358, - "name": "Literal", - "src": "10670:1:25" - } - ], - "id": 8359, - "name": "BinaryOperation", - "src": "10652:19:25" - } - ], - "id": 8360, - "name": "TupleExpression", - "src": "10651:21:25" - } - ], - "id": 8361, - "name": "Return", - "src": "10645:27:25" - } - ], - "id": 8362, - "name": "Block", - "src": "9308:1372:25" - } - ], - "id": 8363, - "name": "FunctionDefinition", - "src": "8892:1788:25" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "signToCancelAgreement", - "payable": false, - "scope": 8608, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_agreementId", - "scope": 8418, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8364, - "name": "ElementaryTypeName", - "src": "10840:4:25" - } - ], - "id": 8365, - "name": "VariableDeclaration", - "src": "10840:17:25" - } - ], - "id": 8366, - "name": "ParameterList", - "src": "10839:19:25" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 8370, - "name": "ParameterList", - "src": "10891:0:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7833, - "type": "modifier (uint256)", - "value": "onlySigner" - }, - "id": 8367, - "name": "Identifier", - "src": "10866:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8365, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8368, - "name": "Identifier", - "src": "10877:12:25" - } - ], - "id": 8369, - "name": "ModifierInvocation", - "src": "10866:24:25" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 8372 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "agreement", - "scope": 8418, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct VestingScheme.Agreement storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Agreement", - "referencedDeclaration": 7796, - "type": "struct VestingScheme.Agreement storage pointer" - }, - "id": 8371, - "name": "UserDefinedTypeName", - "src": "10902:9:25" - } - ], - "id": 8372, - "name": "VariableDeclaration", - "src": "10902:27:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8373, - "name": "Identifier", - "src": "10932:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8365, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8374, - "name": "Identifier", - "src": "10943:12:25" - } - ], - "id": 8375, - "name": "IndexAccess", - "src": "10932:24:25" - } - ], - "id": 8376, - "name": "VariableDeclarationStatement", - "src": "10902:54:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 8377, - "name": "Identifier", - "src": "11011:7:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!", - "prefix": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "signaturesReceived", - "referencedDeclaration": 7795, - "type": "mapping(address => bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8372, - "type": "struct VestingScheme.Agreement storage pointer", - "value": "agreement" - }, - "id": 8378, - "name": "Identifier", - "src": "11021:9:25" - } - ], - "id": 8379, - "name": "MemberAccess", - "src": "11021:28:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 8380, - "name": "Identifier", - "src": "11050:3:25" - } - ], - "id": 8381, - "name": "MemberAccess", - "src": "11050:10:25" - } - ], - "id": 8382, - "name": "IndexAccess", - "src": "11021:40:25" - } - ], - "id": 8383, - "name": "UnaryOperation", - "src": "11019:42:25" - } - ], - "id": 8384, - "name": "FunctionCall", - "src": "11011:51:25" - } - ], - "id": 8385, - "name": "ExpressionStatement", - "src": "11011:51:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "signaturesReceived", - "referencedDeclaration": 7795, - "type": "mapping(address => bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8372, - "type": "struct VestingScheme.Agreement storage pointer", - "value": "agreement" - }, - "id": 8386, - "name": "Identifier", - "src": "11093:9:25" - } - ], - "id": 8390, - "name": "MemberAccess", - "src": "11093:28:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 8388, - "name": "Identifier", - "src": "11122:3:25" - } - ], - "id": 8389, - "name": "MemberAccess", - "src": "11122:10:25" - } - ], - "id": 8391, - "name": "IndexAccess", - "src": "11093:40:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 8392, - "name": "Literal", - "src": "11136:4:25" - } - ], - "id": 8393, - "name": "Assignment", - "src": "11093:47:25" - } - ], - "id": 8394, - "name": "ExpressionStatement", - "src": "11093:47:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "++", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "signaturesReceivedCounter", - "referencedDeclaration": 7787, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8372, - "type": "struct VestingScheme.Agreement storage pointer", - "value": "agreement" - }, - "id": 8395, - "name": "Identifier", - "src": "11151:9:25" - } - ], - "id": 8397, - "name": "MemberAccess", - "src": "11151:35:25" - } - ], - "id": 8398, - "name": "UnaryOperation", - "src": "11151:37:25" - } - ], - "id": 8399, - "name": "ExpressionStatement", - "src": "11151:37:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7751, - "type": "function (uint256,address)", - "value": "SignToCancelAgreement" - }, - "id": 8400, - "name": "Identifier", - "src": "11201:21:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8365, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8401, - "name": "Identifier", - "src": "11223:12:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 8402, - "name": "Identifier", - "src": "11236:3:25" - } - ], - "id": 8403, - "name": "MemberAccess", - "src": "11236:10:25" - } - ], - "id": 8404, - "name": "FunctionCall", - "src": "11201:46:25" - } - ], - "id": 8405, - "name": "ExpressionStatement", - "src": "11201:46:25" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "signaturesReceivedCounter", - "referencedDeclaration": 7787, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8372, - "type": "struct VestingScheme.Agreement storage pointer", - "value": "agreement" - }, - "id": 8406, - "name": "Identifier", - "src": "11305:9:25" - } - ], - "id": 8407, - "name": "MemberAccess", - "src": "11305:35:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "signaturesReqToCancel", - "referencedDeclaration": 7783, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8372, - "type": "struct VestingScheme.Agreement storage pointer", - "value": "agreement" - }, - "id": 8408, - "name": "Identifier", - "src": "11344:9:25" - } - ], - "id": 8409, - "name": "MemberAccess", - "src": "11344:31:25" - } - ], - "id": 8410, - "name": "BinaryOperation", - "src": "11305:70:25" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8607, - "type": "function (uint256)", - "value": "cancelAgreement" - }, - "id": 8411, - "name": "Identifier", - "src": "11392:15:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8365, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8412, - "name": "Identifier", - "src": "11408:12:25" - } - ], - "id": 8413, - "name": "FunctionCall", - "src": "11392:29:25" - } - ], - "id": 8414, - "name": "ExpressionStatement", - "src": "11392:29:25" - } - ], - "id": 8415, - "name": "Block", - "src": "11377:56:25" - } - ], - "id": 8416, - "name": "IfStatement", - "src": "11301:132:25" - } - ], - "id": 8417, - "name": "Block", - "src": "10891:549:25" - } - ], - "id": 8418, - "name": "FunctionDefinition", - "src": "10809:631:25" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "revokeSignToCancelAgreement", - "payable": false, - "scope": 8608, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_agreementId", - "scope": 8461, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8419, - "name": "ElementaryTypeName", - "src": "11614:4:25" - } - ], - "id": 8420, - "name": "VariableDeclaration", - "src": "11614:17:25" - } - ], - "id": 8421, - "name": "ParameterList", - "src": "11613:19:25" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 8425, - "name": "ParameterList", - "src": "11665:0:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7833, - "type": "modifier (uint256)", - "value": "onlySigner" - }, - "id": 8422, - "name": "Identifier", - "src": "11640:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8420, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8423, - "name": "Identifier", - "src": "11651:12:25" - } - ], - "id": 8424, - "name": "ModifierInvocation", - "src": "11640:24:25" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 8427 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "agreement", - "scope": 8461, - "stateVariable": false, - "storageLocation": "storage", - "type": "struct VestingScheme.Agreement storage pointer", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Agreement", - "referencedDeclaration": 7796, - "type": "struct VestingScheme.Agreement storage pointer" - }, - "id": 8426, - "name": "UserDefinedTypeName", - "src": "11676:9:25" - } - ], - "id": 8427, - "name": "VariableDeclaration", - "src": "11676:27:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8428, - "name": "Identifier", - "src": "11706:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8420, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8429, - "name": "Identifier", - "src": "11717:12:25" - } - ], - "id": 8430, - "name": "IndexAccess", - "src": "11706:24:25" - } - ], - "id": 8431, - "name": "VariableDeclarationStatement", - "src": "11676:54:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 8432, - "name": "Identifier", - "src": "11778:7:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "signaturesReceived", - "referencedDeclaration": 7795, - "type": "mapping(address => bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8427, - "type": "struct VestingScheme.Agreement storage pointer", - "value": "agreement" - }, - "id": 8433, - "name": "Identifier", - "src": "11786:9:25" - } - ], - "id": 8434, - "name": "MemberAccess", - "src": "11786:28:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 8435, - "name": "Identifier", - "src": "11815:3:25" - } - ], - "id": 8436, - "name": "MemberAccess", - "src": "11815:10:25" - } - ], - "id": 8437, - "name": "IndexAccess", - "src": "11786:40:25" - } - ], - "id": 8438, - "name": "FunctionCall", - "src": "11778:49:25" - } - ], - "id": 8439, - "name": "ExpressionStatement", - "src": "11778:49:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "signaturesReceived", - "referencedDeclaration": 7795, - "type": "mapping(address => bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8427, - "type": "struct VestingScheme.Agreement storage pointer", - "value": "agreement" - }, - "id": 8440, - "name": "Identifier", - "src": "11870:9:25" - } - ], - "id": 8444, - "name": "MemberAccess", - "src": "11870:28:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 8442, - "name": "Identifier", - "src": "11899:3:25" - } - ], - "id": 8443, - "name": "MemberAccess", - "src": "11899:10:25" - } - ], - "id": 8445, - "name": "IndexAccess", - "src": "11870:40:25" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "66616c7365", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "false" - }, - "id": 8446, - "name": "Literal", - "src": "11913:5:25" - } - ], - "id": 8447, - "name": "Assignment", - "src": "11870:48:25" - } - ], - "id": 8448, - "name": "ExpressionStatement", - "src": "11870:48:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "--", - "prefix": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "signaturesReceivedCounter", - "referencedDeclaration": 7787, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8427, - "type": "struct VestingScheme.Agreement storage pointer", - "value": "agreement" - }, - "id": 8449, - "name": "Identifier", - "src": "11929:9:25" - } - ], - "id": 8451, - "name": "MemberAccess", - "src": "11929:35:25" - } - ], - "id": 8452, - "name": "UnaryOperation", - "src": "11929:37:25" - } - ], - "id": 8453, - "name": "ExpressionStatement", - "src": "11929:37:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7757, - "type": "function (uint256,address)", - "value": "RevokeSignToCancelAgreement" - }, - "id": 8454, - "name": "Identifier", - "src": "11979:27:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8420, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8455, - "name": "Identifier", - "src": "12007:12:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 8456, - "name": "Identifier", - "src": "12020:3:25" - } - ], - "id": 8457, - "name": "MemberAccess", - "src": "12020:10:25" - } - ], - "id": 8458, - "name": "FunctionCall", - "src": "11979:52:25" - } - ], - "id": 8459, - "name": "ExpressionStatement", - "src": "11979:52:25" - } - ], - "id": 8460, - "name": "Block", - "src": "11665:374:25" - } - ], - "id": 8461, - "name": "FunctionDefinition", - "src": "11577:462:25" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "collect", - "payable": false, - "scope": 8608, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_agreementId", - "scope": 8559, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8462, - "name": "ElementaryTypeName", - "src": "12183:4:25" - } - ], - "id": 8463, - "name": "VariableDeclaration", - "src": "12183:17:25" - } - ], - "id": 8464, - "name": "ParameterList", - "src": "12182:19:25" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 8468, - "name": "ParameterList", - "src": "12239:0:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7849, - "type": "modifier (uint256)", - "value": "onlyBeneficiary" - }, - "id": 8465, - "name": "Identifier", - "src": "12209:15:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8463, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8466, - "name": "Identifier", - "src": "12225:12:25" - } - ], - "id": 8467, - "name": "ModifierInvocation", - "src": "12209:29:25" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 8470 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "agreement", - "scope": 8559, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct VestingScheme.Agreement memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Agreement", - "referencedDeclaration": 7796, - "type": "struct VestingScheme.Agreement storage pointer" - }, - "id": 8469, - "name": "UserDefinedTypeName", - "src": "12250:9:25" - } - ], - "id": 8470, - "name": "VariableDeclaration", - "src": "12250:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8471, - "name": "Identifier", - "src": "12279:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8463, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8472, - "name": "Identifier", - "src": "12290:12:25" - } - ], - "id": 8473, - "name": "IndexAccess", - "src": "12279:24:25" - } - ], - "id": 8474, - "name": "VariableDeclarationStatement", - "src": "12250:53:25" - }, - { - "attributes": { - "assignments": [ - 8476 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "periodsFromStartingBlock", - "scope": 8559, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8475, - "name": "ElementaryTypeName", - "src": "12314:4:25" - } - ], - "id": 8476, - "name": "VariableDeclaration", - "src": "12314:29:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "div", - "referencedDeclaration": 9039, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "number", - "referencedDeclaration": null, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9728, - "type": "block", - "value": "block" - }, - "id": 8477, - "name": "Identifier", - "src": "12347:5:25" - } - ], - "id": 8478, - "name": "MemberAccess", - "src": "12347:12:25" - } - ], - "id": 8479, - "name": "MemberAccess", - "src": "12347:16:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "startingBlock", - "referencedDeclaration": 7773, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8470, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8480, - "name": "Identifier", - "src": "12364:9:25" - } - ], - "id": 8481, - "name": "MemberAccess", - "src": "12364:23:25" - } - ], - "id": 8482, - "name": "FunctionCall", - "src": "12347:41:25" - } - ], - "id": 8483, - "name": "TupleExpression", - "src": "12346:43:25" - } - ], - "id": 8484, - "name": "MemberAccess", - "src": "12346:47:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "periodLength", - "referencedDeclaration": 7777, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8470, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8485, - "name": "Identifier", - "src": "12394:9:25" - } - ], - "id": 8486, - "name": "MemberAccess", - "src": "12394:22:25" - } - ], - "id": 8487, - "name": "FunctionCall", - "src": "12346:71:25" - } - ], - "id": 8488, - "name": "VariableDeclarationStatement", - "src": "12314:103:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9727, - "type": "function (bool) pure", - "value": "assert" - }, - "id": 8489, - "name": "Identifier", - "src": "12428:6:25" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8476, - "type": "uint256", - "value": "periodsFromStartingBlock" - }, - "id": 8490, - "name": "Identifier", - "src": "12435:24:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "cliffInPeriods", - "referencedDeclaration": 7781, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8470, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8491, - "name": "Identifier", - "src": "12463:9:25" - } - ], - "id": 8492, - "name": "MemberAccess", - "src": "12463:24:25" - } - ], - "id": 8493, - "name": "BinaryOperation", - "src": "12435:52:25" - } - ], - "id": 8494, - "name": "FunctionCall", - "src": "12428:60:25" - } - ], - "id": 8495, - "name": "ExpressionStatement", - "src": "12428:60:25" - }, - { - "attributes": { - "assignments": [ - null - ], - "initialValue": null - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "periodsToPay", - "scope": 8559, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8496, - "name": "ElementaryTypeName", - "src": "12537:4:25" - } - ], - "id": 8497, - "name": "VariableDeclaration", - "src": "12537:17:25" - } - ], - "id": 8498, - "name": "VariableDeclarationStatement", - "src": "12537:17:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": ">=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8476, - "type": "uint256", - "value": "periodsFromStartingBlock" - }, - "id": 8499, - "name": "Identifier", - "src": "12569:24:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfAgreedPeriods", - "referencedDeclaration": 7779, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8470, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8500, - "name": "Identifier", - "src": "12597:9:25" - } - ], - "id": 8501, - "name": "MemberAccess", - "src": "12597:28:25" - } - ], - "id": 8502, - "name": "BinaryOperation", - "src": "12569:56:25" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8497, - "type": "uint256", - "value": "periodsToPay" - }, - "id": 8503, - "name": "Identifier", - "src": "12642:12:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfAgreedPeriods", - "referencedDeclaration": 7779, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8470, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8504, - "name": "Identifier", - "src": "12657:9:25" - } - ], - "id": 8505, - "name": "MemberAccess", - "src": "12657:28:25" - } - ], - "id": 8506, - "name": "MemberAccess", - "src": "12657:32:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "collectedPeriods", - "referencedDeclaration": 7785, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8470, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8507, - "name": "Identifier", - "src": "12690:9:25" - } - ], - "id": 8508, - "name": "MemberAccess", - "src": "12690:26:25" - } - ], - "id": 8509, - "name": "FunctionCall", - "src": "12657:60:25" - } - ], - "id": 8510, - "name": "Assignment", - "src": "12642:75:25" - } - ], - "id": 8511, - "name": "ExpressionStatement", - "src": "12642:75:25" - } - ], - "id": 8512, - "name": "Block", - "src": "12627:102:25" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8497, - "type": "uint256", - "value": "periodsToPay" - }, - "id": 8513, - "name": "Identifier", - "src": "12750:12:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8476, - "type": "uint256", - "value": "periodsFromStartingBlock" - }, - "id": 8514, - "name": "Identifier", - "src": "12765:24:25" - } - ], - "id": 8515, - "name": "MemberAccess", - "src": "12765:28:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "collectedPeriods", - "referencedDeclaration": 7785, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8470, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8516, - "name": "Identifier", - "src": "12794:9:25" - } - ], - "id": 8517, - "name": "MemberAccess", - "src": "12794:26:25" - } - ], - "id": 8518, - "name": "FunctionCall", - "src": "12765:56:25" - } - ], - "id": 8519, - "name": "Assignment", - "src": "12750:71:25" - } - ], - "id": 8520, - "name": "ExpressionStatement", - "src": "12750:71:25" - } - ], - "id": 8521, - "name": "Block", - "src": "12735:98:25" - } - ], - "id": 8522, - "name": "IfStatement", - "src": "12565:268:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "collectedPeriods", - "referencedDeclaration": 7785, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8523, - "name": "Identifier", - "src": "12876:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8463, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8524, - "name": "Identifier", - "src": "12887:12:25" - } - ], - "id": 8525, - "name": "IndexAccess", - "src": "12876:24:25" - } - ], - "id": 8526, - "name": "MemberAccess", - "src": "12876:41:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "add", - "referencedDeclaration": 9083, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "collectedPeriods", - "referencedDeclaration": 7785, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8527, - "name": "Identifier", - "src": "12920:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8463, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8528, - "name": "Identifier", - "src": "12931:12:25" - } - ], - "id": 8529, - "name": "IndexAccess", - "src": "12920:24:25" - } - ], - "id": 8530, - "name": "MemberAccess", - "src": "12920:41:25" - } - ], - "id": 8531, - "name": "MemberAccess", - "src": "12920:45:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8497, - "type": "uint256", - "value": "periodsToPay" - }, - "id": 8532, - "name": "Identifier", - "src": "12966:12:25" - } - ], - "id": 8533, - "name": "FunctionCall", - "src": "12920:59:25" - } - ], - "id": 8534, - "name": "Assignment", - "src": "12876:103:25" - } - ], - "id": 8535, - "name": "ExpressionStatement", - "src": "12876:103:25" - }, - { - "attributes": { - "assignments": [ - 8537 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "tokensToTransfer", - "scope": 8559, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8536, - "name": "ElementaryTypeName", - "src": "13014:4:25" - } - ], - "id": 8537, - "name": "VariableDeclaration", - "src": "13014:21:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mul", - "referencedDeclaration": 9021, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8497, - "type": "uint256", - "value": "periodsToPay" - }, - "id": 8538, - "name": "Identifier", - "src": "13038:12:25" - } - ], - "id": 8539, - "name": "MemberAccess", - "src": "13038:16:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "amountPerPeriod", - "referencedDeclaration": 7775, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8470, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8540, - "name": "Identifier", - "src": "13055:9:25" - } - ], - "id": 8541, - "name": "MemberAccess", - "src": "13055:25:25" - } - ], - "id": 8542, - "name": "FunctionCall", - "src": "13038:43:25" - } - ], - "id": 8543, - "name": "VariableDeclarationStatement", - "src": "13014:67:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transfer", - "referencedDeclaration": 9213, - "type": "function (address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "token", - "referencedDeclaration": 7767, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8470, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8544, - "name": "Identifier", - "src": "13092:9:25" - } - ], - "id": 8547, - "name": "MemberAccess", - "src": "13092:15:25" - } - ], - "id": 8548, - "name": "MemberAccess", - "src": "13092:24:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "beneficiary", - "referencedDeclaration": 7769, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8470, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8549, - "name": "Identifier", - "src": "13117:9:25" - } - ], - "id": 8550, - "name": "MemberAccess", - "src": "13117:21:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8537, - "type": "uint256", - "value": "tokensToTransfer" - }, - "id": 8551, - "name": "Identifier", - "src": "13140:16:25" - } - ], - "id": 8552, - "name": "FunctionCall", - "src": "13092:65:25" - } - ], - "id": 8553, - "name": "ExpressionStatement", - "src": "13092:65:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7765, - "type": "function (uint256)", - "value": "LogCollect" - }, - "id": 8554, - "name": "Identifier", - "src": "13197:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8463, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8555, - "name": "Identifier", - "src": "13208:12:25" - } - ], - "id": 8556, - "name": "FunctionCall", - "src": "13197:24:25" - } - ], - "id": 8557, - "name": "ExpressionStatement", - "src": "13197:24:25" - } - ], - "id": 8558, - "name": "Block", - "src": "12239:990:25" - } - ], - "id": 8559, - "name": "FunctionDefinition", - "src": "12166:1063:25" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "cancelAgreement", - "payable": false, - "scope": 8608, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_agreementId", - "scope": 8607, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8560, - "name": "ElementaryTypeName", - "src": "13385:4:25" - } - ], - "id": 8561, - "name": "VariableDeclaration", - "src": "13385:17:25" - } - ], - "id": 8562, - "name": "ParameterList", - "src": "13384:19:25" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 8563, - "name": "ParameterList", - "src": "13413:0:25" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 8565 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "agreement", - "scope": 8607, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct VestingScheme.Agreement memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Agreement", - "referencedDeclaration": 7796, - "type": "struct VestingScheme.Agreement storage pointer" - }, - "id": 8564, - "name": "UserDefinedTypeName", - "src": "13424:9:25" - } - ], - "id": 8565, - "name": "VariableDeclaration", - "src": "13424:26:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8566, - "name": "Identifier", - "src": "13453:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8561, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8567, - "name": "Identifier", - "src": "13464:12:25" - } - ], - "id": 8568, - "name": "IndexAccess", - "src": "13453:24:25" - } - ], - "id": 8569, - "name": "VariableDeclarationStatement", - "src": "13424:53:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct VestingScheme.Agreement storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7815, - "type": "mapping(uint256 => struct VestingScheme.Agreement storage ref)", - "value": "agreements" - }, - "id": 8570, - "name": "Identifier", - "src": "13496:10:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8561, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8571, - "name": "Identifier", - "src": "13507:12:25" - } - ], - "id": 8572, - "name": "IndexAccess", - "src": "13496:24:25" - } - ], - "id": 8573, - "name": "UnaryOperation", - "src": "13488:32:25" - } - ], - "id": 8574, - "name": "ExpressionStatement", - "src": "13488:32:25" - }, - { - "attributes": { - "assignments": [ - 8576 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "periodsLeft", - "scope": 8607, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8575, - "name": "ElementaryTypeName", - "src": "13531:4:25" - } - ], - "id": 8576, - "name": "VariableDeclaration", - "src": "13531:16:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sub", - "referencedDeclaration": 9059, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "numOfAgreedPeriods", - "referencedDeclaration": 7779, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8565, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8577, - "name": "Identifier", - "src": "13550:9:25" - } - ], - "id": 8578, - "name": "MemberAccess", - "src": "13550:28:25" - } - ], - "id": 8579, - "name": "MemberAccess", - "src": "13550:32:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "collectedPeriods", - "referencedDeclaration": 7785, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8565, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8580, - "name": "Identifier", - "src": "13583:9:25" - } - ], - "id": 8581, - "name": "MemberAccess", - "src": "13583:26:25" - } - ], - "id": 8582, - "name": "FunctionCall", - "src": "13550:60:25" - } - ], - "id": 8583, - "name": "VariableDeclarationStatement", - "src": "13531:79:25" - }, - { - "attributes": { - "assignments": [ - 8585 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "tokensLeft", - "scope": 8607, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8584, - "name": "ElementaryTypeName", - "src": "13621:4:25" - } - ], - "id": 8585, - "name": "VariableDeclaration", - "src": "13621:15:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "mul", - "referencedDeclaration": 9021, - "type": "function (uint256,uint256) pure returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8576, - "type": "uint256", - "value": "periodsLeft" - }, - "id": 8586, - "name": "Identifier", - "src": "13639:11:25" - } - ], - "id": 8587, - "name": "MemberAccess", - "src": "13639:15:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "amountPerPeriod", - "referencedDeclaration": 7775, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8565, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8588, - "name": "Identifier", - "src": "13655:9:25" - } - ], - "id": 8589, - "name": "MemberAccess", - "src": "13655:25:25" - } - ], - "id": 8590, - "name": "FunctionCall", - "src": "13639:42:25" - } - ], - "id": 8591, - "name": "VariableDeclarationStatement", - "src": "13621:60:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "transfer", - "referencedDeclaration": 9213, - "type": "function (address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "token", - "referencedDeclaration": 7767, - "type": "contract StandardToken" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8565, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8592, - "name": "Identifier", - "src": "13692:9:25" - } - ], - "id": 8595, - "name": "MemberAccess", - "src": "13692:15:25" - } - ], - "id": 8596, - "name": "MemberAccess", - "src": "13692:24:25" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "returnOnCancelAddress", - "referencedDeclaration": 7771, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8565, - "type": "struct VestingScheme.Agreement memory", - "value": "agreement" - }, - "id": 8597, - "name": "Identifier", - "src": "13717:9:25" - } - ], - "id": 8598, - "name": "MemberAccess", - "src": "13717:31:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8585, - "type": "uint256", - "value": "tokensLeft" - }, - "id": 8599, - "name": "Identifier", - "src": "13750:10:25" - } - ], - "id": 8600, - "name": "FunctionCall", - "src": "13692:69:25" - } - ], - "id": 8601, - "name": "ExpressionStatement", - "src": "13692:69:25" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7761, - "type": "function (uint256)", - "value": "LogAgreementCancel" - }, - "id": 8602, - "name": "Identifier", - "src": "13809:18:25" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8561, - "type": "uint256", - "value": "_agreementId" - }, - "id": 8603, - "name": "Identifier", - "src": "13828:12:25" - } - ], - "id": 8604, - "name": "FunctionCall", - "src": "13809:32:25" - } - ], - "id": 8605, - "name": "ExpressionStatement", - "src": "13809:32:25" - } - ], - "id": 8606, - "name": "Block", - "src": "13413:436:25" - } - ], - "id": 8607, - "name": "FunctionDefinition", - "src": "13360:489:25" - } - ], - "id": 8608, - "name": "ContractDefinition", - "src": "230:13622:25" - } - ], - "id": 8609, - "name": "SourceUnit", - "src": "0:13854:25" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.993Z" -} \ No newline at end of file diff --git a/contracts/VoteInOrganizationScheme.json b/contracts/VoteInOrganizationScheme.json deleted file mode 100644 index 521011ad0..000000000 --- a/contracts/VoteInOrganizationScheme.json +++ /dev/null @@ -1,5444 +0,0 @@ -{ - "contractName": "VoteInOrganizationScheme", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "parameters", - "outputs": [ - { - "name": "intVote", - "type": "address" - }, - { - "name": "voteParams", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "bytes32" - } - ], - "name": "organizationsData", - "outputs": [ - { - "name": "originalIntVote", - "type": "address" - }, - { - "name": "originalProposalId", - "type": "bytes32" - }, - { - "name": "originalNumOfChoices", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_voteParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "getParametersHash", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_proposalId", - "type": "bytes32" - }, - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_param", - "type": "int256" - } - ], - "name": "execute", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "beneficiary", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - }, - { - "name": "_hashedParameters", - "type": "bytes32" - } - ], - "name": "updateParameters", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - }, - { - "name": "_originalIntVote", - "type": "address" - }, - { - "name": "_originalProposalId", - "type": "bytes32" - } - ], - "name": "proposeVote", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "organizations", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_voteParams", - "type": "bytes32" - }, - { - "name": "_intVote", - "type": "address" - } - ], - "name": "setParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_params", - "type": "bytes32[]" - } - ], - "name": "action", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "registerOrganization", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_avatar", - "type": "address" - } - ], - "name": "isRegistered", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "fee", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "nativeToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hashedParameters", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_nativeToken", - "type": "address" - }, - { - "name": "_fee", - "type": "uint256" - }, - { - "name": "_beneficiary", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - }, - { - "indexed": true, - "name": "_intVoteInterface", - "type": "address" - }, - { - "indexed": false, - "name": "_originalIntVote", - "type": "address" - }, - { - "indexed": false, - "name": "_originalProposalId", - "type": "bytes32" - }, - { - "indexed": false, - "name": "_originalNumOfChoices", - "type": "uint256" - } - ], - "name": "NewVoteProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "ProposalExecuted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_avatar", - "type": "address" - }, - { - "indexed": true, - "name": "_proposalId", - "type": "bytes32" - } - ], - "name": "ProposalDeleted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "_avatar", - "type": "address" - } - ], - "name": "OrganizationRegistered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "proposalId", - "type": "bytes32" - } - ], - "name": "LogNewProposal", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - } - ], - "bytecode": "0x6060604052341561000f57600080fd5b604051606080610f2b83398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a031617815590925061006b915084908490849064010000000061007381026107201704565b5050506100c6565b60005433600160a060020a0390811691161461008e57600080fd5b60018054600160a060020a0319908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b610e56806100d56000396000f3006060604052600436106100d75763ffffffff60e060020a6000350416630250680481146100dc57806307377bd6146101145780632453732a14610164578063310ce4e21461019857806338af3eed146101d15780634345a6101461020057806358b376591461022e5780635a1f74061461025657806368e14dac146102755780637ff4b630146102975780638da5cb5b146102e657806390be003c146102f9578063c3c5a54714610318578063ddca3f4314610337578063e1758bd81461034a578063f2fde38b1461035d578063f98e87ba1461037c575b600080fd5b34156100e757600080fd5b6100f260043561038f565b604051600160a060020a03909216825260208201526040908101905180910390f35b341561011f57600080fd5b610136600160a060020a03600435166024356103b4565b604051600160a060020a03909316835260208301919091526040808301919091526060909101905180910390f35b341561016f57600080fd5b610186600435600160a060020a03602435166103ea565b60405190815260200160405180910390f35b34156101a357600080fd5b6101bd600435600160a060020a0360243516604435610424565b604051901515815260200160405180910390f35b34156101dc57600080fd5b6101e4610711565b604051600160a060020a03909116815260200160405180910390f35b341561020b57600080fd5b61022c600160a060020a036004358116906024359060443516606435610720565b005b341561023957600080fd5b610186600160a060020a0360043581169060243516604435610780565b341561026157600080fd5b6101bd600160a060020a03600435166109f1565b341561028057600080fd5b610186600435600160a060020a0360243516610a06565b34156102a257600080fd5b6101bd6004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610a5b95505050505050565b34156102f157600080fd5b6101e4610b19565b341561030457600080fd5b61022c600160a060020a0360043516610b28565b341561032357600080fd5b6101bd600160a060020a0360043516610c51565b341561034257600080fd5b610186610c6f565b341561035557600080fd5b6101e4610c75565b341561036857600080fd5b61022c600160a060020a0360043516610c84565b341561038757600080fd5b610186610d1f565b60076020526000908152604090208054600190910154600160a060020a039091169082565b6006602090815260009283526040808420909152908252902080546001820154600290920154600160a060020a03909116919083565b60008282604051918252600160a060020a03166c010000000000000000000000000260208201526034016040518091039020905092915050565b600061042e610de1565b600080610439610e01565b33600160a060020a0316600760006104508a610d25565b8152602081019190915260400160002054600160a060020a03161461047457600080fd5b600160a060020a03871660009081526006602090815260408083208b845290915290819020906060905190810160409081528254600160a060020a03908116835260018085015460208086019190915260029586015484860152918c166000818152600684528481208f8252909352838320805473ffffffffffffffffffffffffffffffffffffffff191681559182018390559401559095508991907f6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe905160405180910390a36001925085156106ce5786600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561058b57600080fd5b6102c65a03f1151561059c57600080fd5b50505060405180519050915060036040518059106105b75750595b908082528060200260200182016040525090508351600160a060020a0316816000815181106105e257fe5b60209081029091018101919091528401518160018151811061060057fe5b60209081029091010152858160028151811061061857fe5b60209081029091010152600160a060020a03821663277d811e826000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019060200280838360005b8381101561068d578082015183820152602001610675565b5050505090500192505050602060405180830381600087803b15156106b157600080fd5b6102c65a03f115156106c257600080fd5b50505060405180519350505b87600160a060020a0388167f253ad9614c337848bbe7dc3b18b439d139ef5787282b5a517ba7296513d1f53360405160405180910390a350909695505050505050565b600354600160a060020a031681565b60005433600160a060020a0390811691161461073b57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60008061078b610e13565b600160a060020a0386166000908152600560205260408120548190889060ff1615156107b657600080fd5b87600160a060020a031663a003651d8860006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b151561080557600080fd5b6102c65a03f1151561081657600080fd5b5050506040518051905094506007600061082f8b610d25565b8152602081019190915260409081016000209080519081016040528154600160a060020a03168152600190910154602082015293508351925082600160a060020a03166388737b5e8660010186602001518c3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b15156108df57600080fd5b6102c65a03f115156108f057600080fd5b50505060405180519050915060606040519081016040908152600160a060020a03808b16835260208084018b9052828401899052908c16600090815260068252828120868252909152208151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015160018201556040820151600290910155508351600160a060020a031682600019168a600160a060020a03167fa04e76655fd38a7c9579a6fde8864276137b505c346dc2a2ae185946772abcd78b8b8a604051600160a060020a03909316835260208301919091526040808301919091526060909101905180910390a450979650505050505050565b60056020526000908152604090205460ff1681565b600080610a1384846103ea565b60008181526007602052604090206001810195909555845473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03949094169390931790935550919050565b60008082600081518110610a6b57fe5b906020019060200201519050600160a060020a038116639ef1204c84600181518110610a9357fe5b9060200190602002015185600281518110610aaa57fe5b9060200190602002015160006040516020015260405160e060020a63ffffffff851602815260048101929092526024820152604401602060405180830381600087803b1515610af857600080fd5b6102c65a03f11515610b0957600080fd5b5050506040518051949350505050565b600054600160a060020a031681565b6000600254118015610b535750600160a060020a03811660009081526005602052604090205460ff16155b15610bec57600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610bd057600080fd5b6102c65a03f11515610be157600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a03908116911614610c9f57600080fd5b600160a060020a0381161515610cb457600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610d6e57600080fd5b6102c65a03f11515610d7f57600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610af857600080fd5b606060405190810160409081526000808352602083018190529082015290565b60206040519081016040526000815290565b6040805190810160405260008082526020820152905600a165627a7a7230582094219e2888a559f6d042d372ecf6d5dc2aa065bafbab31cf5538374abfb69ae20029", - "deployedBytecode": "0x6060604052600436106100d75763ffffffff60e060020a6000350416630250680481146100dc57806307377bd6146101145780632453732a14610164578063310ce4e21461019857806338af3eed146101d15780634345a6101461020057806358b376591461022e5780635a1f74061461025657806368e14dac146102755780637ff4b630146102975780638da5cb5b146102e657806390be003c146102f9578063c3c5a54714610318578063ddca3f4314610337578063e1758bd81461034a578063f2fde38b1461035d578063f98e87ba1461037c575b600080fd5b34156100e757600080fd5b6100f260043561038f565b604051600160a060020a03909216825260208201526040908101905180910390f35b341561011f57600080fd5b610136600160a060020a03600435166024356103b4565b604051600160a060020a03909316835260208301919091526040808301919091526060909101905180910390f35b341561016f57600080fd5b610186600435600160a060020a03602435166103ea565b60405190815260200160405180910390f35b34156101a357600080fd5b6101bd600435600160a060020a0360243516604435610424565b604051901515815260200160405180910390f35b34156101dc57600080fd5b6101e4610711565b604051600160a060020a03909116815260200160405180910390f35b341561020b57600080fd5b61022c600160a060020a036004358116906024359060443516606435610720565b005b341561023957600080fd5b610186600160a060020a0360043581169060243516604435610780565b341561026157600080fd5b6101bd600160a060020a03600435166109f1565b341561028057600080fd5b610186600435600160a060020a0360243516610a06565b34156102a257600080fd5b6101bd6004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610a5b95505050505050565b34156102f157600080fd5b6101e4610b19565b341561030457600080fd5b61022c600160a060020a0360043516610b28565b341561032357600080fd5b6101bd600160a060020a0360043516610c51565b341561034257600080fd5b610186610c6f565b341561035557600080fd5b6101e4610c75565b341561036857600080fd5b61022c600160a060020a0360043516610c84565b341561038757600080fd5b610186610d1f565b60076020526000908152604090208054600190910154600160a060020a039091169082565b6006602090815260009283526040808420909152908252902080546001820154600290920154600160a060020a03909116919083565b60008282604051918252600160a060020a03166c010000000000000000000000000260208201526034016040518091039020905092915050565b600061042e610de1565b600080610439610e01565b33600160a060020a0316600760006104508a610d25565b8152602081019190915260400160002054600160a060020a03161461047457600080fd5b600160a060020a03871660009081526006602090815260408083208b845290915290819020906060905190810160409081528254600160a060020a03908116835260018085015460208086019190915260029586015484860152918c166000818152600684528481208f8252909352838320805473ffffffffffffffffffffffffffffffffffffffff191681559182018390559401559095508991907f6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe905160405180910390a36001925085156106ce5786600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561058b57600080fd5b6102c65a03f1151561059c57600080fd5b50505060405180519050915060036040518059106105b75750595b908082528060200260200182016040525090508351600160a060020a0316816000815181106105e257fe5b60209081029091018101919091528401518160018151811061060057fe5b60209081029091010152858160028151811061061857fe5b60209081029091010152600160a060020a03821663277d811e826000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019060200280838360005b8381101561068d578082015183820152602001610675565b5050505090500192505050602060405180830381600087803b15156106b157600080fd5b6102c65a03f115156106c257600080fd5b50505060405180519350505b87600160a060020a0388167f253ad9614c337848bbe7dc3b18b439d139ef5787282b5a517ba7296513d1f53360405160405180910390a350909695505050505050565b600354600160a060020a031681565b60005433600160a060020a0390811691161461073b57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03968716179091556002939093556003805490931691909316179055600455565b60008061078b610e13565b600160a060020a0386166000908152600560205260408120548190889060ff1615156107b657600080fd5b87600160a060020a031663a003651d8860006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b151561080557600080fd5b6102c65a03f1151561081657600080fd5b5050506040518051905094506007600061082f8b610d25565b8152602081019190915260409081016000209080519081016040528154600160a060020a03168152600190910154602082015293508351925082600160a060020a03166388737b5e8660010186602001518c3060006040516020015260405160e060020a63ffffffff871602815260048101949094526024840192909252600160a060020a039081166044840152166064820152608401602060405180830381600087803b15156108df57600080fd5b6102c65a03f115156108f057600080fd5b50505060405180519050915060606040519081016040908152600160a060020a03808b16835260208084018b9052828401899052908c16600090815260068252828120868252909152208151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0391909116178155602082015160018201556040820151600290910155508351600160a060020a031682600019168a600160a060020a03167fa04e76655fd38a7c9579a6fde8864276137b505c346dc2a2ae185946772abcd78b8b8a604051600160a060020a03909316835260208301919091526040808301919091526060909101905180910390a450979650505050505050565b60056020526000908152604090205460ff1681565b600080610a1384846103ea565b60008181526007602052604090206001810195909555845473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03949094169390931790935550919050565b60008082600081518110610a6b57fe5b906020019060200201519050600160a060020a038116639ef1204c84600181518110610a9357fe5b9060200190602002015185600281518110610aaa57fe5b9060200190602002015160006040516020015260405160e060020a63ffffffff851602815260048101929092526024820152604401602060405180830381600087803b1515610af857600080fd5b6102c65a03f11515610b0957600080fd5b5050506040518051949350505050565b600054600160a060020a031681565b6000600254118015610b535750600160a060020a03811660009081526005602052604090205460ff16155b15610bec57600154600354600254600160a060020a03928316926323b872dd92859291169060006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610bd057600080fd5b6102c65a03f11515610be157600080fd5b505050604051805150505b600160a060020a03811660009081526005602052604090819020805460ff191660011790557f2178e9c576507a4c15d3deab489af3f699a3dedbff9a7ef27c43a017027710e590829051600160a060020a03909116815260200160405180910390a150565b600160a060020a031660009081526005602052604090205460ff1690565b60025481565b600154600160a060020a031681565b60005433600160a060020a03908116911614610c9f57600080fd5b600160a060020a0381161515610cb457600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60045481565b60008082600160a060020a0316638da5cb5b6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610d6e57600080fd5b6102c65a03f11515610d7f57600080fd5b5050506040518051915050600160a060020a0381166346e361b73060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610af857600080fd5b606060405190810160409081526000808352602083018190529082015290565b60206040519081016040526000815290565b6040805190810160405260008082526020820152905600a165627a7a7230582094219e2888a559f6d042d372ecf6d5dc2aa065bafbab31cf5538374abfb69ae20029", - "sourceMap": "267:6132:26:-;;;1680:183;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;501:5:29;:18;;-1:-1:-1;;;;;;501:18:29;509:10;-1:-1:-1;;;;;501:18:29;;;;1680:183:26;;-1:-1:-1;1793:62:26;;-1:-1:-1;1810:12:26;;1824:4;;1680:183;;1793:16;;;;;;:62;:::i;:::-;1680:183;;;267:6132;;1314:347:22;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;;;;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;267:6132:26:-;;;;;;;", - "deployedSourceMap": "267:6132:26:-;;;;;;;;;-1:-1:-1;;;267:6132:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1374:46;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1374:46:26;;;;;;;;;;;;;;;;;;;;1088:73;;;;;;;;;;-1:-1:-1;;;;;1088:73:26;;;;;;;;;;-1:-1:-1;;;;;1088:73:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2681:192;;;;;;;;;;;;-1:-1:-1;;;;;2681:192:26;;;;;;;;;;;;;;;;;;;;4683:1071;;;;;;;;;;;;-1:-1:-1;;;;;4683:1071:26;;;;;;;;;;;;;;;;;;;;;;;;407:26:22;;;;;;;;;;;;;;;-1:-1:-1;;;;;407:26:22;;;;;;;;;;;;;;1314:347;;;;;;;;;;-1:-1:-1;;;;;1314:347:22;;;;;;;;;;;;;;;;;3241:995:26;;;;;;;;;;-1:-1:-1;;;;;3241:995:26;;;;;;;;;;;;591:43:22;;;;;;;;;;-1:-1:-1;;;;;591:43:22;;;;;2113:343:26;;;;;;;;;;;;-1:-1:-1;;;;;2113:343:26;;;;;6197:199;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6197:199:26;;-1:-1:-1;6197:199:26;;-1:-1:-1;;;;;;6197:199:26;238:20:29;;;;;;;;;;;;866:315:22;;;;;;;;;;-1:-1:-1;;;;;866:315:22;;;;;1189:117;;;;;;;;;;-1:-1:-1;;;;;1189:117:22;;;;;385:15;;;;;;;;;;;;346:32;;;;;;;;;;;;834:169:29;;;;;;;;;;-1:-1:-1;;;;;834:169:29;;;;;440:31:22;;;;;;;;;;;;1374:46:26;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1374:46:26;;;;;:::o;1088:73::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1088:73:26;;;;;;:::o;2681:192::-;2801:7;2843:11;2856:8;2833:32;;;;;-1:-1:-1;;;;;2833:32:26;;;;;;;;;;;;;;;;2826:39;;2681:192;;;;:::o;4683:1071::-;4765:4;5002:28;;:::i;:::-;5188:11;5338:21;5412:20;;:::i;:::-;4917:10;-1:-1:-1;;;;;4849:78:26;:10;:56;4860:44;4895:7;4860:27;:44::i;:::-;4849:56;;;;;;;;;;;;;:64;-1:-1:-1;;;;;4849:64:26;:78;4841:87;;;;;;-1:-1:-1;;;;;5033:26:26;;;;;;:17;:26;;;;;;;;:39;;;;;;;;;;;5002:70;;;;;;;;;;;;-1:-1:-1;;;;;5002:70:26;;;;;;;;;;;;;;;;;;;;;;;;;;;5090:26;;;5002:70;5090:26;;;:17;:26;;;;;:39;;;;;;;;;5083:46;;-1:-1:-1;;5083:46:26;;;;;;;;;;;;5002:70;;-1:-1:-1;5117:11:26;;5090:26;5140:37;;;;;;;;;;5202:4;;-1:-1:-1;5260:11:26;;5256:418;;5380:7;-1:-1:-1;;;;;5373:21:26;;:23;;;;;;;;;;;-1:-1:-1;;;5373:23:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5338:59;;5449:1;5435:16;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5412:39:26;-1:-1:-1;5491:8:26;:24;-1:-1:-1;;;;;5475:42:26;5466:3;5470:1;5466:3;:6;;;;;;;;;;;;;;;;:51;;;;5541:27;;;5532:3;5536:1;5532:6;;;;;;;;;;;;;;;;:36;5600:6;5583:3;5587:1;5583:3;:6;;;;;;;;;;;;;;;:24;-1:-1:-1;;;;;5631:24:26;;;5656:3;5583:24;5631:29;;;;;;;;;;-1:-1:-1;;;5631:29:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;71:3;;;64:6;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1;;5256:418:26;5710:11;-1:-1:-1;;;;;5684:38:26;;;;;;;;;;;;-1:-1:-1;5740:6:26;;4683:1071;-1:-1:-1;;;;;;4683:1071:26:o;407:26:22:-;;;-1:-1:-1;;;;;407:26:22;;:::o;1314:347::-;654:5:29;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;1522:11:22;:26;;-1:-1:-1;;1522:26:22;;;-1:-1:-1;;;;;1522:26:22;;;;;;;1559:3;:10;;;;1580:11;:26;;;;;;;;;;;;1617:16;:36;1314:347::o;3241:995:26:-;3408:7;3433:17;3520:24;;:::i;:::-;-1:-1:-1;;;;;816:21:22;;3606:24:26;816:21:22;;;:13;:21;;;;;;3606:24:26;;3386:7;;816:21:22;;808:30;;;;;;;;3453:16:26;-1:-1:-1;;;;;3453:35:26;;3489:19;3453:56;;;;;;;;-1:-1:-1;;;3453:56:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3433:76;;3547:10;:48;3558:36;3586:7;3558:27;:36::i;:::-;3547:48;;;;;;;;;;;;;;;;;3520:75;;;;;;;;-1:-1:-1;;;;;3520:75:26;;;;;;;;;;;;;-1:-1:-1;3520:75:26;3633:14;3606:41;;3679:7;-1:-1:-1;;;;;3679:15:26;;3695:12;3708:1;3695:14;3711:6;:17;;;3730:7;3759:4;3679:86;;;;;;;;-1:-1:-1;;;3679:86:26;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3679:86:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3658:107;;3819:176;;;;;;;;;;-1:-1:-1;;;;;3819:176:26;;;;;;;;;;;;;;;;;;3778:26;;;3819:176;3778:26;;;:17;:26;;;;;:38;;;;;;;3819:176;3778:217;;;-1:-1:-1;;3778:217:26;-1:-1:-1;;;;;3778:217:26;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4083:6:26;:14;-1:-1:-1;;;;;4006:194:26;4058:10;4006:194;;;4036:7;-1:-1:-1;;;;;4006:194:26;;4112:16;4143:19;4177:12;4006:194;;-1:-1:-1;;;;;4006:194:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4218:10:26;3241:995;-1:-1:-1;;;;;;;3241:995:26:o;591:43:22:-;;;;;;;;;;;;;;;:::o;2113:343:26:-;2224:7;2249:18;2270:40;2288:11;2301:8;2270:17;:40::i;:::-;2321:22;;;;:10;:22;;;;;:33;;;:47;;;;2379:41;;-1:-1:-1;;2379:41:26;-1:-1:-1;;;;;2379:41:26;;;;;;;;;;;-1:-1:-1;2321:22:26;2113:343;-1:-1:-1;2113:343:26:o;6197:199::-;6247:4;6264:24;6316:7;6324:1;6316:10;;;;;;;;;;;;;;;;6308:19;-1:-1:-1;;;;;;6346:12:26;;;6359:7;6308:19;6359:7;:10;;;;;;;;;;;;;;;6376:7;6384:1;6376:10;;;;;;;;;;;;;;;;6346:42;;;;;;;;-1:-1:-1;;;6346:42:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6197:199;-1:-1:-1;;;;6197:199:26:o;238:20:29:-;;;-1:-1:-1;;;;;238:20:29;;:::o;866:315:22:-;980:1;974:3;;:7;973:39;;;;-1:-1:-1;;;;;;989:22:22;;;;;;:13;:22;;;;;;;;987:24;973:39;969:123;;;1029:11;;1063;;1076:3;;-1:-1:-1;;;;;1029:11:22;;;;:24;;1054:7;;1063:11;;;1029;:51;;;;;;;-1:-1:-1;;;1029:51:22;;;;;;-1:-1:-1;;;;;1029:51:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;969:123:22;-1:-1:-1;;;;;1102:22:22;;;;;;:13;:22;;;;;;;:29;;-1:-1:-1;;1102:29:22;1127:4;1102:29;;;1142:31;;1116:7;;1142:31;-1:-1:-1;;;;;1142:31:22;;;;;;;;;;;;;;866:315;:::o;1189:117::-;-1:-1:-1;;;;;1276:22:22;1252:4;1276:22;;;:13;:22;;;;;;;;;1189:117::o;385:15::-;;;;:::o;346:32::-;;;-1:-1:-1;;;;;346:32:22;;:::o;834:169:29:-;654:5;;640:10;-1:-1:-1;;;;;640:19:29;;;654:5;;640:19;632:28;;;;;;-1:-1:-1;;;;;910:22:29;;;;902:31;;;;;;960:5;;-1:-1:-1;;;;;939:37:29;;;;960:5;939:37;;;;;;;;;;982:5;:16;;-1:-1:-1;;982:16:29;-1:-1:-1;;;;;982:16:29;;;;;;;;;;834:169::o;440:31:22:-;;;;:::o;1761:212::-;1840:7;1860:21;1895:7;-1:-1:-1;;;;;1895:13:22;;:15;;;;;;;;;;;-1:-1:-1;;;1895:15:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;1929:30:22;;;1960:4;1929:36;;;;;;;;-1:-1:-1;;;1929:36:22;;;;;;-1:-1:-1;;;;;1929:36:22;;;;;;;;;;;;;;;;;;;;;;;;;;;267:6132:26;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\r\n\r\nimport \"../VotingMachines/IntVoteInterface.sol\";\r\nimport \"./UniversalScheme.sol\";\r\n\r\n\r\n/**\r\n * @title VoteInOrganizationScheme.\r\n * @dev A scheme to allow an organization to vote in a proposal.\r\n */\r\n\r\n// ToDo: Documentation and tests!\r\n\r\ncontract VoteInOrganizationScheme is UniversalScheme, ExecutableInterface, ActionInterface {\r\n event NewVoteProposal(\r\n address indexed _avatar,\r\n bytes32 indexed _proposalId,\r\n address indexed _intVoteInterface,\r\n IntVoteInterface _originalIntVote,\r\n bytes32 _originalProposalId,\r\n uint _originalNumOfChoices\r\n );\r\n event ProposalExecuted(address indexed _avatar, bytes32 indexed _proposalId);\r\n event ProposalDeleted(address indexed _avatar, bytes32 indexed _proposalId);\r\n\r\n // Details of a voting proposal:\r\n struct VoteProposal {\r\n IntVoteInterface originalIntVote;\r\n bytes32 originalProposalId;\r\n uint originalNumOfChoices;\r\n }\r\n\r\n // A mapping from thr organization (Avatar) address to the saved data of the organization:\r\n mapping(address=>mapping(bytes32=>VoteProposal)) public organizationsData;\r\n\r\n\r\n struct Parameters {\r\n IntVoteInterface intVote;\r\n bytes32 voteParams;\r\n }\r\n\r\n // A mapping from hashes to parameters (use to store a particular configuration on the controller)\r\n mapping(bytes32=>Parameters) public parameters;\r\n\r\n /**\r\n * @dev Constructor, Updating the initial prarmeters\r\n * @param _nativeToken The native token of the ICO\r\n * @param _fee The fee for intiating the ICO\r\n * @param _beneficiary The address that will receive the ethers\r\n */\r\n function VoteInOrganizationScheme(StandardToken _nativeToken, uint _fee, address _beneficiary) public {\r\n updateParameters(_nativeToken, _fee, _beneficiary, bytes32(0));\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters, save them if necessary, and return the hash value\r\n * @param _voteParams - voting parameters\r\n * @param _intVote - voting machine contract.\r\n * @return bytes32 -the parameters hash\r\n */\r\n function setParameters(\r\n bytes32 _voteParams,\r\n IntVoteInterface _intVote\r\n ) public returns(bytes32)\r\n {\r\n bytes32 paramsHash = getParametersHash(_voteParams, _intVote);\r\n parameters[paramsHash].voteParams = _voteParams;\r\n parameters[paramsHash].intVote = _intVote;\r\n return paramsHash;\r\n }\r\n\r\n /**\r\n * @dev Hash the parameters,and return the hash value\r\n * @param _voteParams - voting parameters\r\n * @param _intVote - voting machine contract.\r\n * @return bytes32 -the parameters hash\r\n */\r\n function getParametersHash(\r\n bytes32 _voteParams,\r\n IntVoteInterface _intVote\r\n ) public pure returns(bytes32)\r\n {\r\n return keccak256(_voteParams, _intVote);\r\n }\r\n\r\n /**\r\n * @dev propose to vote in other organization\r\n * The function trigger NewVoteProposal event\r\n * @param _avatar avatar of the organization\r\n * @param _originalIntVote the other organization voting machine\r\n * @param _originalProposalId the other organization proposal id\r\n * @return an id which represents the proposal\r\n */\r\n function proposeVote(Avatar _avatar, IntVoteInterface _originalIntVote, bytes32 _originalProposalId)\r\n public\r\n onlyRegisteredOrganization(_avatar)\r\n returns(bytes32)\r\n {\r\n uint numOfChoices = _originalIntVote.getNumberOfChoices(_originalProposalId);\r\n Parameters memory params = parameters[getParametersFromController(_avatar)];\r\n IntVoteInterface intVote = params.intVote;\r\n bytes32 proposalId = intVote.propose(numOfChoices+1, params.voteParams, _avatar, ExecutableInterface(this));\r\n\r\n organizationsData[_avatar][proposalId] = VoteProposal({\r\n originalIntVote: _originalIntVote,\r\n originalProposalId: _originalProposalId,\r\n originalNumOfChoices: numOfChoices\r\n });\r\n NewVoteProposal(\r\n _avatar,\r\n proposalId,\r\n params.intVote,\r\n _originalIntVote,\r\n _originalProposalId,\r\n numOfChoices\r\n );\r\n return proposalId;\r\n }\r\n\r\n /**\r\n * @dev execution of proposals, can only be called by the voting machine in which the vote is held.\r\n * This function will trigger ProposalDeleted and ProposalExecuted events\r\n * @param _proposalId the ID of the voting in the voting machine\r\n * @param _avatar address of the controller\r\n * @param _param a parameter of the voting result 0 to numOfChoices .\r\n * @return bool which indicate success.\r\n */\r\n function execute(bytes32 _proposalId, address _avatar, int _param) public returns(bool) {\r\n // Check the caller is indeed the voting machine:\r\n require(parameters[getParametersFromController(Avatar(_avatar))].intVote == msg.sender);\r\n\r\n // Save proposal to memory and delete from storage:\r\n VoteProposal memory proposal = organizationsData[_avatar][_proposalId];\r\n delete organizationsData[_avatar][_proposalId];\r\n ProposalDeleted(_avatar, _proposalId);\r\n bool retVal = true;\r\n // If no decision do nothing:\r\n if (_param != 0) {\r\n // Define controller and get the parmas:\r\n Controller controller = Controller(Avatar(_avatar).owner());\r\n bytes32[] memory tmp = new bytes32[](3);\r\n tmp[0] = bytes32(address(proposal.originalIntVote));\r\n tmp[1] = proposal.originalProposalId;\r\n tmp[2] = bytes32(_param);\r\n retVal = controller.genericAction(tmp);\r\n }\r\n ProposalExecuted(_avatar, _proposalId);\r\n return retVal;\r\n }\r\n\r\n /**\r\n * @dev do the actual voting in the other organization in behalf of the organization's avatar.\r\n * This function is deleted called by the organization.\r\n * @param _params array represent the voting .\r\n * _params[0] - the address of the voting machine.\r\n * _params[1] - the proposalId.\r\n * _params[2] - the voting machins params.\r\n * @return bool which indicate success.\r\n */\r\n function action(bytes32[] _params) public returns(bool) {\r\n IntVoteInterface intVote = IntVoteInterface(address(_params[0]));\r\n return intVote.vote(_params[1], uint(_params[2]));\r\n }\r\n}\r\n", - "sourcePath": "C:\\users\\dkent\\documents\\projects\\GitHub\\DAOStack\\daostack\\contracts\\universalSchemes\\VoteInOrganizationScheme.sol", - "ast": { - "attributes": { - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/VoteInOrganizationScheme.sol", - "exportedSymbols": { - "VoteInOrganizationScheme": [ - 8954 - ] - } - }, - "children": [ - { - "attributes": { - "literals": [ - "solidity", - "^", - "0.4", - ".18" - ] - }, - "id": 8610, - "name": "PragmaDirective", - "src": "0:24:26" - }, - { - "attributes": { - "SourceUnit": 2659, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/VotingMachines/IntVoteInterface.sol", - "file": "../VotingMachines/IntVoteInterface.sol", - "scope": 8955, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 8611, - "name": "ImportDirective", - "src": "28:48:26" - }, - { - "attributes": { - "SourceUnit": 7230, - "absolutePath": "/C/users/dkent/documents/projects/GitHub/DAOStack/daostack/contracts/universalSchemes/UniversalScheme.sol", - "file": "./UniversalScheme.sol", - "scope": 8955, - "symbolAliases": [ - null - ], - "unitAlias": "" - }, - "id": 8612, - "name": "ImportDirective", - "src": "78:31:26" - }, - { - "attributes": { - "contractDependencies": [ - 2797, - 5155, - 7229, - 7259, - 9140 - ], - "contractKind": "contract", - "documentation": "@title VoteInOrganizationScheme.\r\n@dev A scheme to allow an organization to vote in a proposal.\r", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 8954, - 2797, - 5155, - 7229, - 7259, - 9140 - ], - "name": "VoteInOrganizationScheme", - "scope": 8955 - }, - "children": [ - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "UniversalScheme", - "referencedDeclaration": 7229, - "type": "contract UniversalScheme" - }, - "id": 8613, - "name": "UserDefinedTypeName", - "src": "304:15:26" - } - ], - "id": 8614, - "name": "InheritanceSpecifier", - "src": "304:15:26" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ExecutableInterface", - "referencedDeclaration": 5155, - "type": "contract ExecutableInterface" - }, - "id": 8615, - "name": "UserDefinedTypeName", - "src": "321:19:26" - } - ], - "id": 8616, - "name": "InheritanceSpecifier", - "src": "321:19:26" - }, - { - "attributes": { - "arguments": [ - null - ] - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "ActionInterface", - "referencedDeclaration": 2797, - "type": "contract ActionInterface" - }, - "id": 8617, - "name": "UserDefinedTypeName", - "src": "342:15:26" - } - ], - "id": 8618, - "name": "InheritanceSpecifier", - "src": "342:15:26" - }, - { - "attributes": { - "anonymous": false, - "name": "NewVoteProposal" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 8632, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8619, - "name": "ElementaryTypeName", - "src": "397:7:26" - } - ], - "id": 8620, - "name": "VariableDeclaration", - "src": "397:23:26" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 8632, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8621, - "name": "ElementaryTypeName", - "src": "431:7:26" - } - ], - "id": 8622, - "name": "VariableDeclaration", - "src": "431:27:26" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_intVoteInterface", - "scope": 8632, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8623, - "name": "ElementaryTypeName", - "src": "469:7:26" - } - ], - "id": 8624, - "name": "VariableDeclaration", - "src": "469:33:26" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_originalIntVote", - "scope": 8632, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 8625, - "name": "UserDefinedTypeName", - "src": "513:16:26" - } - ], - "id": 8626, - "name": "VariableDeclaration", - "src": "513:33:26" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_originalProposalId", - "scope": 8632, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8627, - "name": "ElementaryTypeName", - "src": "557:7:26" - } - ], - "id": 8628, - "name": "VariableDeclaration", - "src": "557:27:26" - }, - { - "attributes": { - "constant": false, - "indexed": false, - "name": "_originalNumOfChoices", - "scope": 8632, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8629, - "name": "ElementaryTypeName", - "src": "595:4:26" - } - ], - "id": 8630, - "name": "VariableDeclaration", - "src": "595:26:26" - } - ], - "id": 8631, - "name": "ParameterList", - "src": "386:242:26" - } - ], - "id": 8632, - "name": "EventDefinition", - "src": "365:264:26" - }, - { - "attributes": { - "anonymous": false, - "name": "ProposalExecuted" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 8638, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8633, - "name": "ElementaryTypeName", - "src": "658:7:26" - } - ], - "id": 8634, - "name": "VariableDeclaration", - "src": "658:23:26" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 8638, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8635, - "name": "ElementaryTypeName", - "src": "683:7:26" - } - ], - "id": 8636, - "name": "VariableDeclaration", - "src": "683:27:26" - } - ], - "id": 8637, - "name": "ParameterList", - "src": "657:54:26" - } - ], - "id": 8638, - "name": "EventDefinition", - "src": "635:77:26" - }, - { - "attributes": { - "anonymous": false, - "name": "ProposalDeleted" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_avatar", - "scope": 8644, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8639, - "name": "ElementaryTypeName", - "src": "740:7:26" - } - ], - "id": 8640, - "name": "VariableDeclaration", - "src": "740:23:26" - }, - { - "attributes": { - "constant": false, - "indexed": true, - "name": "_proposalId", - "scope": 8644, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8641, - "name": "ElementaryTypeName", - "src": "765:7:26" - } - ], - "id": 8642, - "name": "VariableDeclaration", - "src": "765:27:26" - } - ], - "id": 8643, - "name": "ParameterList", - "src": "739:54:26" - } - ], - "id": 8644, - "name": "EventDefinition", - "src": "718:76:26" - }, - { - "attributes": { - "canonicalName": "VoteInOrganizationScheme.VoteProposal", - "name": "VoteProposal", - "scope": 8954, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "originalIntVote", - "scope": 8651, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 8645, - "name": "UserDefinedTypeName", - "src": "871:16:26" - } - ], - "id": 8646, - "name": "VariableDeclaration", - "src": "871:32:26" - }, - { - "attributes": { - "constant": false, - "name": "originalProposalId", - "scope": 8651, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8647, - "name": "ElementaryTypeName", - "src": "914:7:26" - } - ], - "id": 8648, - "name": "VariableDeclaration", - "src": "914:26:26" - }, - { - "attributes": { - "constant": false, - "name": "originalNumOfChoices", - "scope": 8651, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8649, - "name": "ElementaryTypeName", - "src": "951:4:26" - } - ], - "id": 8650, - "name": "VariableDeclaration", - "src": "951:25:26" - } - ], - "id": 8651, - "name": "StructDefinition", - "src": "840:144:26" - }, - { - "attributes": { - "constant": false, - "name": "organizationsData", - "scope": 8954, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(address => mapping(bytes32 => struct VoteInOrganizationScheme.VoteProposal storage ref))", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(address => mapping(bytes32 => struct VoteInOrganizationScheme.VoteProposal storage ref))" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8652, - "name": "ElementaryTypeName", - "src": "1096:7:26" - }, - { - "attributes": { - "type": "mapping(bytes32 => struct VoteInOrganizationScheme.VoteProposal storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8653, - "name": "ElementaryTypeName", - "src": "1113:7:26" - }, - { - "attributes": { - "contractScope": null, - "name": "VoteProposal", - "referencedDeclaration": 8651, - "type": "struct VoteInOrganizationScheme.VoteProposal storage pointer" - }, - "id": 8654, - "name": "UserDefinedTypeName", - "src": "1122:12:26" - } - ], - "id": 8655, - "name": "Mapping", - "src": "1105:30:26" - } - ], - "id": 8656, - "name": "Mapping", - "src": "1088:48:26" - } - ], - "id": 8657, - "name": "VariableDeclaration", - "src": "1088:73:26" - }, - { - "attributes": { - "canonicalName": "VoteInOrganizationScheme.Parameters", - "name": "Parameters", - "scope": 8954, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 8662, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 8658, - "name": "UserDefinedTypeName", - "src": "1201:16:26" - } - ], - "id": 8659, - "name": "VariableDeclaration", - "src": "1201:24:26" - }, - { - "attributes": { - "constant": false, - "name": "voteParams", - "scope": 8662, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8660, - "name": "ElementaryTypeName", - "src": "1236:7:26" - } - ], - "id": 8661, - "name": "VariableDeclaration", - "src": "1236:18:26" - } - ], - "id": 8662, - "name": "StructDefinition", - "src": "1172:90:26" - }, - { - "attributes": { - "constant": false, - "name": "parameters", - "scope": 8954, - "stateVariable": true, - "storageLocation": "default", - "type": "mapping(bytes32 => struct VoteInOrganizationScheme.Parameters storage ref)", - "value": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "type": "mapping(bytes32 => struct VoteInOrganizationScheme.Parameters storage ref)" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8663, - "name": "ElementaryTypeName", - "src": "1382:7:26" - }, - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 8662, - "type": "struct VoteInOrganizationScheme.Parameters storage pointer" - }, - "id": 8664, - "name": "UserDefinedTypeName", - "src": "1391:10:26" - } - ], - "id": 8665, - "name": "Mapping", - "src": "1374:28:26" - } - ], - "id": 8666, - "name": "VariableDeclaration", - "src": "1374:46:26" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "VoteInOrganizationScheme", - "payable": false, - "scope": 8954, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_nativeToken", - "scope": 8685, - "stateVariable": false, - "storageLocation": "default", - "type": "contract StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "StandardToken", - "referencedDeclaration": 9700, - "type": "contract StandardToken" - }, - "id": 8667, - "name": "UserDefinedTypeName", - "src": "1714:13:26" - } - ], - "id": 8668, - "name": "VariableDeclaration", - "src": "1714:26:26" - }, - { - "attributes": { - "constant": false, - "name": "_fee", - "scope": 8685, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8669, - "name": "ElementaryTypeName", - "src": "1742:4:26" - } - ], - "id": 8670, - "name": "VariableDeclaration", - "src": "1742:9:26" - }, - { - "attributes": { - "constant": false, - "name": "_beneficiary", - "scope": 8685, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8671, - "name": "ElementaryTypeName", - "src": "1753:7:26" - } - ], - "id": 8672, - "name": "VariableDeclaration", - "src": "1753:20:26" - } - ], - "id": 8673, - "name": "ParameterList", - "src": "1713:61:26" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 8674, - "name": "ParameterList", - "src": "1782:0:26" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StandardToken_$9700", - "typeString": "contract StandardToken" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - 7207 - ], - "referencedDeclaration": 7207, - "type": "function (contract StandardToken,uint256,address,bytes32)", - "value": "updateParameters" - }, - "id": 8675, - "name": "Identifier", - "src": "1793:16:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8668, - "type": "contract StandardToken", - "value": "_nativeToken" - }, - "id": 8676, - "name": "Identifier", - "src": "1810:12:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8670, - "type": "uint256", - "value": "_fee" - }, - "id": 8677, - "name": "Identifier", - "src": "1824:4:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8672, - "type": "address", - "value": "_beneficiary" - }, - "id": 8678, - "name": "Identifier", - "src": "1830:12:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 8679, - "name": "ElementaryTypeNameExpression", - "src": "1844:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 8680, - "name": "Literal", - "src": "1852:1:26" - } - ], - "id": 8681, - "name": "FunctionCall", - "src": "1844:10:26" - } - ], - "id": 8682, - "name": "FunctionCall", - "src": "1793:62:26" - } - ], - "id": 8683, - "name": "ExpressionStatement", - "src": "1793:62:26" - } - ], - "id": 8684, - "name": "Block", - "src": "1782:81:26" - } - ], - "id": 8685, - "name": "FunctionDefinition", - "src": "1680:183:26" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "setParameters", - "payable": false, - "scope": 8954, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_voteParams", - "scope": 8718, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8686, - "name": "ElementaryTypeName", - "src": "2146:7:26" - } - ], - "id": 8687, - "name": "VariableDeclaration", - "src": "2146:19:26" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 8718, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 8688, - "name": "UserDefinedTypeName", - "src": "2176:16:26" - } - ], - "id": 8689, - "name": "VariableDeclaration", - "src": "2176:25:26" - } - ], - "id": 8690, - "name": "ParameterList", - "src": "2135:73:26" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 8718, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8691, - "name": "ElementaryTypeName", - "src": "2224:7:26" - } - ], - "id": 8692, - "name": "VariableDeclaration", - "src": "2224:7:26" - } - ], - "id": 8693, - "name": "ParameterList", - "src": "2223:9:26" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 8695 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "paramsHash", - "scope": 8718, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8694, - "name": "ElementaryTypeName", - "src": "2249:7:26" - } - ], - "id": 8695, - "name": "VariableDeclaration", - "src": "2249:18:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8733, - "type": "function (bytes32,contract IntVoteInterface) pure returns (bytes32)", - "value": "getParametersHash" - }, - "id": 8696, - "name": "Identifier", - "src": "2270:17:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8687, - "type": "bytes32", - "value": "_voteParams" - }, - "id": 8697, - "name": "Identifier", - "src": "2288:11:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8689, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 8698, - "name": "Identifier", - "src": "2301:8:26" - } - ], - "id": 8699, - "name": "FunctionCall", - "src": "2270:40:26" - } - ], - "id": 8700, - "name": "VariableDeclarationStatement", - "src": "2249:61:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "voteParams", - "referencedDeclaration": 8661, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VoteInOrganizationScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8666, - "type": "mapping(bytes32 => struct VoteInOrganizationScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 8701, - "name": "Identifier", - "src": "2321:10:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8695, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 8702, - "name": "Identifier", - "src": "2332:10:26" - } - ], - "id": 8703, - "name": "IndexAccess", - "src": "2321:22:26" - } - ], - "id": 8704, - "name": "MemberAccess", - "src": "2321:33:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8687, - "type": "bytes32", - "value": "_voteParams" - }, - "id": 8705, - "name": "Identifier", - "src": "2357:11:26" - } - ], - "id": 8706, - "name": "Assignment", - "src": "2321:47:26" - } - ], - "id": 8707, - "name": "ExpressionStatement", - "src": "2321:47:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "member_name": "intVote", - "referencedDeclaration": 8659, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VoteInOrganizationScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8666, - "type": "mapping(bytes32 => struct VoteInOrganizationScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 8708, - "name": "Identifier", - "src": "2379:10:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8695, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 8709, - "name": "Identifier", - "src": "2390:10:26" - } - ], - "id": 8710, - "name": "IndexAccess", - "src": "2379:22:26" - } - ], - "id": 8711, - "name": "MemberAccess", - "src": "2379:30:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8689, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 8712, - "name": "Identifier", - "src": "2412:8:26" - } - ], - "id": 8713, - "name": "Assignment", - "src": "2379:41:26" - } - ], - "id": 8714, - "name": "ExpressionStatement", - "src": "2379:41:26" - }, - { - "attributes": { - "functionReturnParameters": 8693 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8695, - "type": "bytes32", - "value": "paramsHash" - }, - "id": 8715, - "name": "Identifier", - "src": "2438:10:26" - } - ], - "id": 8716, - "name": "Return", - "src": "2431:17:26" - } - ], - "id": 8717, - "name": "Block", - "src": "2238:218:26" - } - ], - "id": 8718, - "name": "FunctionDefinition", - "src": "2113:343:26" - }, - { - "attributes": { - "constant": true, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getParametersHash", - "payable": false, - "scope": 8954, - "stateMutability": "pure", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_voteParams", - "scope": 8733, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8719, - "name": "ElementaryTypeName", - "src": "2718:7:26" - } - ], - "id": 8720, - "name": "VariableDeclaration", - "src": "2718:19:26" - }, - { - "attributes": { - "constant": false, - "name": "_intVote", - "scope": 8733, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 8721, - "name": "UserDefinedTypeName", - "src": "2748:16:26" - } - ], - "id": 8722, - "name": "VariableDeclaration", - "src": "2748:25:26" - } - ], - "id": 8723, - "name": "ParameterList", - "src": "2707:73:26" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 8733, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8724, - "name": "ElementaryTypeName", - "src": "2801:7:26" - } - ], - "id": 8725, - "name": "VariableDeclaration", - "src": "2801:7:26" - } - ], - "id": 8726, - "name": "ParameterList", - "src": "2800:9:26" - }, - { - "children": [ - { - "attributes": { - "functionReturnParameters": 8726 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9730, - "type": "function () pure returns (bytes32)", - "value": "keccak256" - }, - "id": 8727, - "name": "Identifier", - "src": "2833:9:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8720, - "type": "bytes32", - "value": "_voteParams" - }, - "id": 8728, - "name": "Identifier", - "src": "2843:11:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8722, - "type": "contract IntVoteInterface", - "value": "_intVote" - }, - "id": 8729, - "name": "Identifier", - "src": "2856:8:26" - } - ], - "id": 8730, - "name": "FunctionCall", - "src": "2833:32:26" - } - ], - "id": 8731, - "name": "Return", - "src": "2826:39:26" - } - ], - "id": 8732, - "name": "Block", - "src": "2815:58:26" - } - ], - "id": 8733, - "name": "FunctionDefinition", - "src": "2681:192:26" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "name": "proposeVote", - "payable": false, - "scope": 8954, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 8807, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Avatar", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Avatar", - "referencedDeclaration": 3072, - "type": "contract Avatar" - }, - "id": 8734, - "name": "UserDefinedTypeName", - "src": "3262:6:26" - } - ], - "id": 8735, - "name": "VariableDeclaration", - "src": "3262:14:26" - }, - { - "attributes": { - "constant": false, - "name": "_originalIntVote", - "scope": 8807, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 8736, - "name": "UserDefinedTypeName", - "src": "3278:16:26" - } - ], - "id": 8737, - "name": "VariableDeclaration", - "src": "3278:33:26" - }, - { - "attributes": { - "constant": false, - "name": "_originalProposalId", - "scope": 8807, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8738, - "name": "ElementaryTypeName", - "src": "3313:7:26" - } - ], - "id": 8739, - "name": "VariableDeclaration", - "src": "3313:27:26" - } - ], - "id": 8740, - "name": "ParameterList", - "src": "3261:80:26" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 8807, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8744, - "name": "ElementaryTypeName", - "src": "3408:7:26" - } - ], - "id": 8745, - "name": "VariableDeclaration", - "src": "3408:7:26" - } - ], - "id": 8746, - "name": "ParameterList", - "src": "3407:9:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 7129, - "type": "modifier (address)", - "value": "onlyRegisteredOrganization" - }, - "id": 8741, - "name": "Identifier", - "src": "3359:26:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8735, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8742, - "name": "Identifier", - "src": "3386:7:26" - } - ], - "id": 8743, - "name": "ModifierInvocation", - "src": "3359:35:26" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 8748 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "numOfChoices", - "scope": 8807, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 8747, - "name": "ElementaryTypeName", - "src": "3433:4:26" - } - ], - "id": 8748, - "name": "VariableDeclaration", - "src": "3433:17:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "getNumberOfChoices", - "referencedDeclaration": 2650, - "type": "function (bytes32) view external returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8737, - "type": "contract IntVoteInterface", - "value": "_originalIntVote" - }, - "id": 8749, - "name": "Identifier", - "src": "3453:16:26" - } - ], - "id": 8750, - "name": "MemberAccess", - "src": "3453:35:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8739, - "type": "bytes32", - "value": "_originalProposalId" - }, - "id": 8751, - "name": "Identifier", - "src": "3489:19:26" - } - ], - "id": 8752, - "name": "FunctionCall", - "src": "3453:56:26" - } - ], - "id": 8753, - "name": "VariableDeclarationStatement", - "src": "3433:76:26" - }, - { - "attributes": { - "assignments": [ - 8755 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "params", - "scope": 8807, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct VoteInOrganizationScheme.Parameters memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Parameters", - "referencedDeclaration": 8662, - "type": "struct VoteInOrganizationScheme.Parameters storage pointer" - }, - "id": 8754, - "name": "UserDefinedTypeName", - "src": "3520:10:26" - } - ], - "id": 8755, - "name": "VariableDeclaration", - "src": "3520:24:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VoteInOrganizationScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8666, - "type": "mapping(bytes32 => struct VoteInOrganizationScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 8756, - "name": "Identifier", - "src": "3547:10:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 8757, - "name": "Identifier", - "src": "3558:27:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8735, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8758, - "name": "Identifier", - "src": "3586:7:26" - } - ], - "id": 8759, - "name": "FunctionCall", - "src": "3558:36:26" - } - ], - "id": 8760, - "name": "IndexAccess", - "src": "3547:48:26" - } - ], - "id": 8761, - "name": "VariableDeclarationStatement", - "src": "3520:75:26" - }, - { - "attributes": { - "assignments": [ - 8763 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 8807, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 8762, - "name": "UserDefinedTypeName", - "src": "3606:16:26" - } - ], - "id": 8763, - "name": "VariableDeclaration", - "src": "3606:24:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 8659, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8755, - "type": "struct VoteInOrganizationScheme.Parameters memory", - "value": "params" - }, - "id": 8764, - "name": "Identifier", - "src": "3633:6:26" - } - ], - "id": 8765, - "name": "MemberAccess", - "src": "3633:14:26" - } - ], - "id": 8766, - "name": "VariableDeclarationStatement", - "src": "3606:41:26" - }, - { - "attributes": { - "assignments": [ - 8768 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposalId", - "scope": 8807, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8767, - "name": "ElementaryTypeName", - "src": "3658:7:26" - } - ], - "id": 8768, - "name": "VariableDeclaration", - "src": "3658:18:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_contract$_ExecutableInterface_$5155", - "typeString": "contract ExecutableInterface" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "propose", - "referencedDeclaration": 2570, - "type": "function (uint256,bytes32,address,contract ExecutableInterface) external returns (bytes32)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8763, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 8769, - "name": "Identifier", - "src": "3679:7:26" - } - ], - "id": 8770, - "name": "MemberAccess", - "src": "3679:15:26" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "+", - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8748, - "type": "uint256", - "value": "numOfChoices" - }, - "id": 8771, - "name": "Identifier", - "src": "3695:12:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 8772, - "name": "Literal", - "src": "3708:1:26" - } - ], - "id": 8773, - "name": "BinaryOperation", - "src": "3695:14:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "voteParams", - "referencedDeclaration": 8661, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8755, - "type": "struct VoteInOrganizationScheme.Parameters memory", - "value": "params" - }, - "id": 8774, - "name": "Identifier", - "src": "3711:6:26" - } - ], - "id": 8775, - "name": "MemberAccess", - "src": "3711:17:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8735, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8776, - "name": "Identifier", - "src": "3730:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract ExecutableInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_VoteInOrganizationScheme_$8954", - "typeString": "contract VoteInOrganizationScheme" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 5155, - "type": "type(contract ExecutableInterface)", - "value": "ExecutableInterface" - }, - "id": 8777, - "name": "Identifier", - "src": "3739:19:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9823, - "type": "contract VoteInOrganizationScheme", - "value": "this" - }, - "id": 8778, - "name": "Identifier", - "src": "3759:4:26" - } - ], - "id": 8779, - "name": "FunctionCall", - "src": "3739:25:26" - } - ], - "id": 8780, - "name": "FunctionCall", - "src": "3679:86:26" - } - ], - "id": 8781, - "name": "VariableDeclarationStatement", - "src": "3658:107:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "struct VoteInOrganizationScheme.VoteProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct VoteInOrganizationScheme.VoteProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VoteInOrganizationScheme.VoteProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8657, - "type": "mapping(address => mapping(bytes32 => struct VoteInOrganizationScheme.VoteProposal storage ref))", - "value": "organizationsData" - }, - "id": 8782, - "name": "Identifier", - "src": "3778:17:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8735, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8783, - "name": "Identifier", - "src": "3796:7:26" - } - ], - "id": 8785, - "name": "IndexAccess", - "src": "3778:26:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8768, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8784, - "name": "Identifier", - "src": "3805:10:26" - } - ], - "id": 8786, - "name": "IndexAccess", - "src": "3778:38:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": true, - "lValueRequested": false, - "names": [ - "originalIntVote", - "originalProposalId", - "originalNumOfChoices" - ], - "type": "struct VoteInOrganizationScheme.VoteProposal memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8651, - "type": "type(struct VoteInOrganizationScheme.VoteProposal storage pointer)", - "value": "VoteProposal" - }, - "id": 8787, - "name": "Identifier", - "src": "3819:12:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8737, - "type": "contract IntVoteInterface", - "value": "_originalIntVote" - }, - "id": 8788, - "name": "Identifier", - "src": "3864:16:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8739, - "type": "bytes32", - "value": "_originalProposalId" - }, - "id": 8789, - "name": "Identifier", - "src": "3915:19:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8748, - "type": "uint256", - "value": "numOfChoices" - }, - "id": 8790, - "name": "Identifier", - "src": "3971:12:26" - } - ], - "id": 8791, - "name": "FunctionCall", - "src": "3819:176:26" - } - ], - "id": 8792, - "name": "Assignment", - "src": "3778:217:26" - } - ], - "id": 8793, - "name": "ExpressionStatement", - "src": "3778:217:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - }, - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8632, - "type": "function (address,bytes32,address,contract IntVoteInterface,bytes32,uint256)", - "value": "NewVoteProposal" - }, - "id": 8794, - "name": "Identifier", - "src": "4006:15:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8735, - "type": "contract Avatar", - "value": "_avatar" - }, - "id": 8795, - "name": "Identifier", - "src": "4036:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8768, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8796, - "name": "Identifier", - "src": "4058:10:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 8659, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8755, - "type": "struct VoteInOrganizationScheme.Parameters memory", - "value": "params" - }, - "id": 8797, - "name": "Identifier", - "src": "4083:6:26" - } - ], - "id": 8798, - "name": "MemberAccess", - "src": "4083:14:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8737, - "type": "contract IntVoteInterface", - "value": "_originalIntVote" - }, - "id": 8799, - "name": "Identifier", - "src": "4112:16:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8739, - "type": "bytes32", - "value": "_originalProposalId" - }, - "id": 8800, - "name": "Identifier", - "src": "4143:19:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8748, - "type": "uint256", - "value": "numOfChoices" - }, - "id": 8801, - "name": "Identifier", - "src": "4177:12:26" - } - ], - "id": 8802, - "name": "FunctionCall", - "src": "4006:194:26" - } - ], - "id": 8803, - "name": "ExpressionStatement", - "src": "4006:194:26" - }, - { - "attributes": { - "functionReturnParameters": 8746 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8768, - "type": "bytes32", - "value": "proposalId" - }, - "id": 8804, - "name": "Identifier", - "src": "4218:10:26" - } - ], - "id": 8805, - "name": "Return", - "src": "4211:17:26" - } - ], - "id": 8806, - "name": "Block", - "src": "3422:814:26" - } - ], - "id": 8807, - "name": "FunctionDefinition", - "src": "3241:995:26" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "execute", - "payable": false, - "scope": 8954, - "stateMutability": "nonpayable", - "superFunction": 5154, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_proposalId", - "scope": 8922, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8808, - "name": "ElementaryTypeName", - "src": "4700:7:26" - } - ], - "id": 8809, - "name": "VariableDeclaration", - "src": "4700:19:26" - }, - { - "attributes": { - "constant": false, - "name": "_avatar", - "scope": 8922, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 8810, - "name": "ElementaryTypeName", - "src": "4721:7:26" - } - ], - "id": 8811, - "name": "VariableDeclaration", - "src": "4721:15:26" - }, - { - "attributes": { - "constant": false, - "name": "_param", - "scope": 8922, - "stateVariable": false, - "storageLocation": "default", - "type": "int256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "int", - "type": "int256" - }, - "id": 8812, - "name": "ElementaryTypeName", - "src": "4738:3:26" - } - ], - "id": 8813, - "name": "VariableDeclaration", - "src": "4738:10:26" - } - ], - "id": 8814, - "name": "ParameterList", - "src": "4699:50:26" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 8922, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 8815, - "name": "ElementaryTypeName", - "src": "4765:4:26" - } - ], - "id": 8816, - "name": "VariableDeclaration", - "src": "4765:4:26" - } - ], - "id": 8817, - "name": "ParameterList", - "src": "4764:6:26" - }, - { - "children": [ - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9739, - "type": "function (bool) pure", - "value": "require" - }, - "id": 8818, - "name": "Identifier", - "src": "4841:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "==", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "intVote", - "referencedDeclaration": 8659, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VoteInOrganizationScheme.Parameters storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8666, - "type": "mapping(bytes32 => struct VoteInOrganizationScheme.Parameters storage ref)", - "value": "parameters" - }, - "id": 8819, - "name": "Identifier", - "src": "4849:10:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_Avatar_$3072", - "typeString": "contract Avatar" - } - ], - "overloadedDeclarations": [ - 7228 - ], - "referencedDeclaration": 7228, - "type": "function (contract Avatar) view returns (bytes32)", - "value": "getParametersFromController" - }, - "id": 8820, - "name": "Identifier", - "src": "4860:27:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 8821, - "name": "Identifier", - "src": "4888:6:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8811, - "type": "address", - "value": "_avatar" - }, - "id": 8822, - "name": "Identifier", - "src": "4895:7:26" - } - ], - "id": 8823, - "name": "FunctionCall", - "src": "4888:15:26" - } - ], - "id": 8824, - "name": "FunctionCall", - "src": "4860:44:26" - } - ], - "id": 8825, - "name": "IndexAccess", - "src": "4849:56:26" - } - ], - "id": 8826, - "name": "MemberAccess", - "src": "4849:64:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "sender", - "referencedDeclaration": null, - "type": "address" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 9736, - "type": "msg", - "value": "msg" - }, - "id": 8827, - "name": "Identifier", - "src": "4917:3:26" - } - ], - "id": 8828, - "name": "MemberAccess", - "src": "4917:10:26" - } - ], - "id": 8829, - "name": "BinaryOperation", - "src": "4849:78:26" - } - ], - "id": 8830, - "name": "FunctionCall", - "src": "4841:87:26" - } - ], - "id": 8831, - "name": "ExpressionStatement", - "src": "4841:87:26" - }, - { - "attributes": { - "assignments": [ - 8833 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "proposal", - "scope": 8922, - "stateVariable": false, - "storageLocation": "memory", - "type": "struct VoteInOrganizationScheme.VoteProposal memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "VoteProposal", - "referencedDeclaration": 8651, - "type": "struct VoteInOrganizationScheme.VoteProposal storage pointer" - }, - "id": 8832, - "name": "UserDefinedTypeName", - "src": "5002:12:26" - } - ], - "id": 8833, - "name": "VariableDeclaration", - "src": "5002:28:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "struct VoteInOrganizationScheme.VoteProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VoteInOrganizationScheme.VoteProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8657, - "type": "mapping(address => mapping(bytes32 => struct VoteInOrganizationScheme.VoteProposal storage ref))", - "value": "organizationsData" - }, - "id": 8834, - "name": "Identifier", - "src": "5033:17:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8811, - "type": "address", - "value": "_avatar" - }, - "id": 8835, - "name": "Identifier", - "src": "5051:7:26" - } - ], - "id": 8836, - "name": "IndexAccess", - "src": "5033:26:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8809, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 8837, - "name": "Identifier", - "src": "5060:11:26" - } - ], - "id": 8838, - "name": "IndexAccess", - "src": "5033:39:26" - } - ], - "id": 8839, - "name": "VariableDeclarationStatement", - "src": "5002:70:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "delete", - "prefix": true, - "type": "tuple()" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "struct VoteInOrganizationScheme.VoteProposal storage ref" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "mapping(bytes32 => struct VoteInOrganizationScheme.VoteProposal storage ref)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8657, - "type": "mapping(address => mapping(bytes32 => struct VoteInOrganizationScheme.VoteProposal storage ref))", - "value": "organizationsData" - }, - "id": 8840, - "name": "Identifier", - "src": "5090:17:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8811, - "type": "address", - "value": "_avatar" - }, - "id": 8841, - "name": "Identifier", - "src": "5108:7:26" - } - ], - "id": 8842, - "name": "IndexAccess", - "src": "5090:26:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8809, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 8843, - "name": "Identifier", - "src": "5117:11:26" - } - ], - "id": 8844, - "name": "IndexAccess", - "src": "5090:39:26" - } - ], - "id": 8845, - "name": "UnaryOperation", - "src": "5083:46:26" - } - ], - "id": 8846, - "name": "ExpressionStatement", - "src": "5083:46:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8644, - "type": "function (address,bytes32)", - "value": "ProposalDeleted" - }, - "id": 8847, - "name": "Identifier", - "src": "5140:15:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8811, - "type": "address", - "value": "_avatar" - }, - "id": 8848, - "name": "Identifier", - "src": "5156:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8809, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 8849, - "name": "Identifier", - "src": "5165:11:26" - } - ], - "id": 8850, - "name": "FunctionCall", - "src": "5140:37:26" - } - ], - "id": 8851, - "name": "ExpressionStatement", - "src": "5140:37:26" - }, - { - "attributes": { - "assignments": [ - 8853 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "retVal", - "scope": 8922, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 8852, - "name": "ElementaryTypeName", - "src": "5188:4:26" - } - ], - "id": 8853, - "name": "VariableDeclaration", - "src": "5188:11:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "74727565", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "bool", - "type": "bool", - "value": "true" - }, - "id": 8854, - "name": "Literal", - "src": "5202:4:26" - } - ], - "id": 8855, - "name": "VariableDeclarationStatement", - "src": "5188:18:26" - }, - { - "attributes": { - "falseBody": null - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_int256", - "typeString": "int256" - }, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "!=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8813, - "type": "int256", - "value": "_param" - }, - "id": 8856, - "name": "Identifier", - "src": "5260:6:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 8857, - "name": "Literal", - "src": "5270:1:26" - } - ], - "id": 8858, - "name": "BinaryOperation", - "src": "5260:11:26" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 8860 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "controller", - "scope": 8922, - "stateVariable": false, - "storageLocation": "default", - "type": "contract Controller", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "Controller", - "referencedDeclaration": 4157, - "type": "contract Controller" - }, - "id": 8859, - "name": "UserDefinedTypeName", - "src": "5338:10:26" - } - ], - "id": 8860, - "name": "VariableDeclaration", - "src": "5338:21:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Controller", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 4157, - "type": "type(contract Controller)", - "value": "Controller" - }, - "id": 8861, - "name": "Identifier", - "src": "5362:10:26" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "owner", - "referencedDeclaration": 9088, - "type": "function () view external returns (address)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract Avatar", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 3072, - "type": "type(contract Avatar)", - "value": "Avatar" - }, - "id": 8862, - "name": "Identifier", - "src": "5373:6:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8811, - "type": "address", - "value": "_avatar" - }, - "id": 8863, - "name": "Identifier", - "src": "5380:7:26" - } - ], - "id": 8864, - "name": "FunctionCall", - "src": "5373:15:26" - } - ], - "id": 8865, - "name": "MemberAccess", - "src": "5373:21:26" - } - ], - "id": 8866, - "name": "FunctionCall", - "src": "5373:23:26" - } - ], - "id": 8867, - "name": "FunctionCall", - "src": "5362:35:26" - } - ], - "id": 8868, - "name": "VariableDeclarationStatement", - "src": "5338:59:26" - }, - { - "attributes": { - "assignments": [ - 8872 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "tmp", - "scope": 8922, - "stateVariable": false, - "storageLocation": "memory", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8870, - "name": "ElementaryTypeName", - "src": "5412:7:26" - } - ], - "id": 8871, - "name": "ArrayTypeName", - "src": "5412:9:26" - } - ], - "id": 8872, - "name": "VariableDeclaration", - "src": "5412:20:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32[] memory", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_3_by_1", - "typeString": "int_const 3" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "function (uint256) pure returns (bytes32[] memory)" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8873, - "name": "ElementaryTypeName", - "src": "5439:7:26" - } - ], - "id": 8874, - "name": "ArrayTypeName", - "src": "5439:9:26" - } - ], - "id": 8875, - "name": "NewExpression", - "src": "5435:13:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "33", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 3", - "value": "3" - }, - "id": 8876, - "name": "Literal", - "src": "5449:1:26" - } - ], - "id": 8877, - "name": "FunctionCall", - "src": "5435:16:26" - } - ], - "id": 8878, - "name": "VariableDeclarationStatement", - "src": "5412:39:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8872, - "type": "bytes32[] memory", - "value": "tmp" - }, - "id": 8879, - "name": "Identifier", - "src": "5466:3:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 8880, - "name": "Literal", - "src": "5470:1:26" - } - ], - "id": 8881, - "name": "IndexAccess", - "src": "5466:6:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 8882, - "name": "ElementaryTypeNameExpression", - "src": "5475:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_IntVoteInterface_$2658", - "typeString": "contract IntVoteInterface" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 8883, - "name": "ElementaryTypeNameExpression", - "src": "5483:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "originalIntVote", - "referencedDeclaration": 8646, - "type": "contract IntVoteInterface" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8833, - "type": "struct VoteInOrganizationScheme.VoteProposal memory", - "value": "proposal" - }, - "id": 8884, - "name": "Identifier", - "src": "5491:8:26" - } - ], - "id": 8885, - "name": "MemberAccess", - "src": "5491:24:26" - } - ], - "id": 8886, - "name": "FunctionCall", - "src": "5483:33:26" - } - ], - "id": 8887, - "name": "FunctionCall", - "src": "5475:42:26" - } - ], - "id": 8888, - "name": "Assignment", - "src": "5466:51:26" - } - ], - "id": 8889, - "name": "ExpressionStatement", - "src": "5466:51:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8872, - "type": "bytes32[] memory", - "value": "tmp" - }, - "id": 8890, - "name": "Identifier", - "src": "5532:3:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 8891, - "name": "Literal", - "src": "5536:1:26" - } - ], - "id": 8892, - "name": "IndexAccess", - "src": "5532:6:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "member_name": "originalProposalId", - "referencedDeclaration": 8648, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8833, - "type": "struct VoteInOrganizationScheme.VoteProposal memory", - "value": "proposal" - }, - "id": 8893, - "name": "Identifier", - "src": "5541:8:26" - } - ], - "id": 8894, - "name": "MemberAccess", - "src": "5541:27:26" - } - ], - "id": 8895, - "name": "Assignment", - "src": "5532:36:26" - } - ], - "id": 8896, - "name": "ExpressionStatement", - "src": "5532:36:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8872, - "type": "bytes32[] memory", - "value": "tmp" - }, - "id": 8897, - "name": "Identifier", - "src": "5583:3:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 8898, - "name": "Literal", - "src": "5587:1:26" - } - ], - "id": 8899, - "name": "IndexAccess", - "src": "5583:6:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bytes32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_int256", - "typeString": "int256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(bytes32)", - "value": "bytes32" - }, - "id": 8900, - "name": "ElementaryTypeNameExpression", - "src": "5592:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8813, - "type": "int256", - "value": "_param" - }, - "id": 8901, - "name": "Identifier", - "src": "5600:6:26" - } - ], - "id": 8902, - "name": "FunctionCall", - "src": "5592:15:26" - } - ], - "id": 8903, - "name": "Assignment", - "src": "5583:24:26" - } - ], - "id": 8904, - "name": "ExpressionStatement", - "src": "5583:24:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "bool" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8853, - "type": "bool", - "value": "retVal" - }, - "id": 8905, - "name": "Identifier", - "src": "5622:6:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr", - "typeString": "bytes32[] memory" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "genericAction", - "referencedDeclaration": 3996, - "type": "function (bytes32[] memory) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8860, - "type": "contract Controller", - "value": "controller" - }, - "id": 8906, - "name": "Identifier", - "src": "5631:10:26" - } - ], - "id": 8907, - "name": "MemberAccess", - "src": "5631:24:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8872, - "type": "bytes32[] memory", - "value": "tmp" - }, - "id": 8908, - "name": "Identifier", - "src": "5656:3:26" - } - ], - "id": 8909, - "name": "FunctionCall", - "src": "5631:29:26" - } - ], - "id": 8910, - "name": "Assignment", - "src": "5622:38:26" - } - ], - "id": 8911, - "name": "ExpressionStatement", - "src": "5622:38:26" - } - ], - "id": 8912, - "name": "Block", - "src": "5273:401:26" - } - ], - "id": 8913, - "name": "IfStatement", - "src": "5256:418:26" - }, - { - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "tuple()", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8638, - "type": "function (address,bytes32)", - "value": "ProposalExecuted" - }, - "id": 8914, - "name": "Identifier", - "src": "5684:16:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8811, - "type": "address", - "value": "_avatar" - }, - "id": 8915, - "name": "Identifier", - "src": "5701:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8809, - "type": "bytes32", - "value": "_proposalId" - }, - "id": 8916, - "name": "Identifier", - "src": "5710:11:26" - } - ], - "id": 8917, - "name": "FunctionCall", - "src": "5684:38:26" - } - ], - "id": 8918, - "name": "ExpressionStatement", - "src": "5684:38:26" - }, - { - "attributes": { - "functionReturnParameters": 8817 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8853, - "type": "bool", - "value": "retVal" - }, - "id": 8919, - "name": "Identifier", - "src": "5740:6:26" - } - ], - "id": 8920, - "name": "Return", - "src": "5733:13:26" - } - ], - "id": 8921, - "name": "Block", - "src": "4771:983:26" - } - ], - "id": 8922, - "name": "FunctionDefinition", - "src": "4683:1071:26" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "action", - "payable": false, - "scope": 8954, - "stateMutability": "nonpayable", - "superFunction": 2796, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 8953, - "stateVariable": false, - "storageLocation": "default", - "type": "bytes32[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "bytes32[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "bytes32", - "type": "bytes32" - }, - "id": 8923, - "name": "ElementaryTypeName", - "src": "6213:7:26" - } - ], - "id": 8924, - "name": "ArrayTypeName", - "src": "6213:9:26" - } - ], - "id": 8925, - "name": "VariableDeclaration", - "src": "6213:17:26" - } - ], - "id": 8926, - "name": "ParameterList", - "src": "6212:19:26" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 8953, - "stateVariable": false, - "storageLocation": "default", - "type": "bool", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "bool", - "type": "bool" - }, - "id": 8927, - "name": "ElementaryTypeName", - "src": "6247:4:26" - } - ], - "id": 8928, - "name": "VariableDeclaration", - "src": "6247:4:26" - } - ], - "id": 8929, - "name": "ParameterList", - "src": "6246:6:26" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 8931 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "intVote", - "scope": 8953, - "stateVariable": false, - "storageLocation": "default", - "type": "contract IntVoteInterface", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "IntVoteInterface", - "referencedDeclaration": 2658, - "type": "contract IntVoteInterface" - }, - "id": 8930, - "name": "UserDefinedTypeName", - "src": "6264:16:26" - } - ], - "id": 8931, - "name": "VariableDeclaration", - "src": "6264:24:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract IntVoteInterface", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2658, - "type": "type(contract IntVoteInterface)", - "value": "IntVoteInterface" - }, - "id": 8932, - "name": "Identifier", - "src": "6291:16:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 8933, - "name": "ElementaryTypeNameExpression", - "src": "6308:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8925, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 8934, - "name": "Identifier", - "src": "6316:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 8935, - "name": "Literal", - "src": "6324:1:26" - } - ], - "id": 8936, - "name": "IndexAccess", - "src": "6316:10:26" - } - ], - "id": 8937, - "name": "FunctionCall", - "src": "6308:19:26" - } - ], - "id": 8938, - "name": "FunctionCall", - "src": "6291:37:26" - } - ], - "id": 8939, - "name": "VariableDeclarationStatement", - "src": "6264:64:26" - }, - { - "attributes": { - "functionReturnParameters": 8929 - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "bool", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "vote", - "referencedDeclaration": 2609, - "type": "function (bytes32,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8931, - "type": "contract IntVoteInterface", - "value": "intVote" - }, - "id": 8940, - "name": "Identifier", - "src": "6346:7:26" - } - ], - "id": 8941, - "name": "MemberAccess", - "src": "6346:12:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8925, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 8942, - "name": "Identifier", - "src": "6359:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 8943, - "name": "Literal", - "src": "6367:1:26" - } - ], - "id": 8944, - "name": "IndexAccess", - "src": "6359:10:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint256", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(uint256)", - "value": "uint" - }, - "id": 8945, - "name": "ElementaryTypeNameExpression", - "src": "6371:4:26" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "bytes32" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 8925, - "type": "bytes32[] memory", - "value": "_params" - }, - "id": 8946, - "name": "Identifier", - "src": "6376:7:26" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 8947, - "name": "Literal", - "src": "6384:1:26" - } - ], - "id": 8948, - "name": "IndexAccess", - "src": "6376:10:26" - } - ], - "id": 8949, - "name": "FunctionCall", - "src": "6371:16:26" - } - ], - "id": 8950, - "name": "FunctionCall", - "src": "6346:42:26" - } - ], - "id": 8951, - "name": "Return", - "src": "6339:49:26" - } - ], - "id": 8952, - "name": "Block", - "src": "6253:143:26" - } - ], - "id": 8953, - "name": "FunctionDefinition", - "src": "6197:199:26" - } - ], - "id": 8954, - "name": "ContractDefinition", - "src": "267:6132:26" - } - ], - "id": 8955, - "name": "SourceUnit", - "src": "0:6401:26" - }, - "compiler": { - "name": "solc", - "version": "0.4.18+commit.9cf6e910.Emscripten.clang" - }, - "networks": {}, - "schemaVersion": "1.0.1", - "updatedAt": "2017-12-29T21:23:16.930Z" -} \ No newline at end of file diff --git a/dist/absoluteVote.js b/dist/absoluteVote.js deleted file mode 100644 index 83ba282da..000000000 --- a/dist/absoluteVote.js +++ /dev/null @@ -1,44 +0,0 @@ -"use strict"; -// const dopts = require('default-options'); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.AbsoluteVote = undefined; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _utils = require("./utils.js"); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var SolidityAbsoluteVote = (0, _utils.requireContract)("AbsoluteVote"); - -var AbsoluteVote = exports.AbsoluteVote = function (_ExtendTruffleContrac) { - _inherits(AbsoluteVote, _ExtendTruffleContrac); - - function AbsoluteVote() { - _classCallCheck(this, AbsoluteVote); - - return _possibleConstructorReturn(this, (AbsoluteVote.__proto__ || Object.getPrototypeOf(AbsoluteVote)).apply(this, arguments)); - } - - _createClass(AbsoluteVote, [{ - key: "setParams", - value: async function setParams(params) { - return await this._setParameters(params.reputation, params.votePrec, params.ownerVote); - } - }], [{ - key: "new", - value: async function _new() { - var contract = await SolidityAbsoluteVote.new(); - return new this(contract); - } - }]); - - return AbsoluteVote; -}((0, _utils.ExtendTruffleContract)(SolidityAbsoluteVote)); \ No newline at end of file diff --git a/dist/arc.js b/dist/arc.js deleted file mode 100644 index 276483c29..000000000 --- a/dist/arc.js +++ /dev/null @@ -1,137 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _absoluteVote = require('./absoluteVote.js'); - -Object.keys(_absoluteVote).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _absoluteVote[key]; - } - }); -}); - -var _config = require('./config.js'); - -Object.keys(_config).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _config[key]; - } - }); -}); - -var _contracts = require('./contracts.js'); - -Object.keys(_contracts).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _contracts[key]; - } - }); -}); - -var _contributionreward = require('./contributionreward.js'); - -Object.keys(_contributionreward).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _contributionreward[key]; - } - }); -}); - -var _globalconstraintregistrar = require('./globalconstraintregistrar.js'); - -Object.keys(_globalconstraintregistrar).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _globalconstraintregistrar[key]; - } - }); -}); - -var _organization = require('./organization.js'); - -Object.keys(_organization).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _organization[key]; - } - }); -}); - -var _schemeregistrar = require('./schemeregistrar.js'); - -Object.keys(_schemeregistrar).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _schemeregistrar[key]; - } - }); -}); - -var _tokenCapGC = require('./tokenCapGC.js'); - -Object.keys(_tokenCapGC).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _tokenCapGC[key]; - } - }); -}); - -var _upgradescheme = require('./upgradescheme.js'); - -Object.keys(_upgradescheme).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _upgradescheme[key]; - } - }); -}); - -var _utils = require('./utils.js'); - -Object.keys(_utils).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _utils[key]; - } - }); -}); - -var _wallet = require('./wallet.js'); - -Object.keys(_wallet).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _wallet[key]; - } - }); -}); \ No newline at end of file diff --git a/dist/config.js b/dist/config.js deleted file mode 100644 index 2543253a6..000000000 --- a/dist/config.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -var _nconf = require('nconf'); - -var _nconf2 = _interopRequireDefault(_nconf); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -// Load configuration -// First look for overrides from the command line or environment variables -_nconf2.default.argv().env(); - -// Then look for overrides from modules that are importing arc-js -var path = _nconf2.default.get('arcConfigFile') || 'arc-js.config.json'; // Path to configuration file in calling module -_nconf2.default.file("external", path); - -// Then load defaults from our configuration file -_nconf2.default.file("defaults", __dirname + '/../config/default.json'); - -module.exports.config = _nconf2.default; \ No newline at end of file diff --git a/dist/contracts.js b/dist/contracts.js deleted file mode 100644 index e33d4a93c..000000000 --- a/dist/contracts.js +++ /dev/null @@ -1,79 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.getDeployedContracts = getDeployedContracts; - -var _utils = require("./utils.js"); - -var _absoluteVote = require("./absoluteVote.js"); - -var _contributionreward = require("./contributionreward.js"); - -var _globalconstraintregistrar = require("./globalconstraintregistrar.js"); - -var _schemeregistrar = require("./schemeregistrar.js"); - -var _upgradescheme = require("./upgradescheme.js"); - -/** - * These are uninitialized instances of ExtendTruffleContract, - * effectively class factories. - */ -var GenesisScheme = (0, _utils.requireContract)("GenesisScheme"); -async function getDeployedContracts() { - /** - * These are deployed contract instances represented by their respective Arc - * javascript wrappers (ExtendTruffleContract). - * - * `deployed()` is a static method on each of those classes. - **/ - var absoluteVote = await _absoluteVote.AbsoluteVote.deployed(); - var contributionReward = await _contributionreward.ContributionReward.deployed(); - var genesisScheme = await GenesisScheme.deployed(); - var globalConstraintRegistrar = await _globalconstraintregistrar.GlobalConstraintRegistrar.deployed(); - var schemeRegistrar = await _schemeregistrar.SchemeRegistrar.deployed(); - var upgradeScheme = await _upgradescheme.UpgradeScheme.deployed(); - - /** - * `contract` here is an uninitialized instance of ExtendTruffleContract, - * basically the class factory. - * Calling contract.at() (a static method on the class) will return a - * the properly initialized instance of ExtendTruffleContract. - */ - var contracts = { - AbsoluteVote: { - contract: _absoluteVote.AbsoluteVote, - address: absoluteVote.address - }, - ContributionReward: { - contract: _contributionreward.ContributionReward, - address: contributionReward.address - }, - GenesisScheme: { - contract: GenesisScheme, - address: genesisScheme.address - }, - GlobalConstraintRegistrar: { - contract: _globalconstraintregistrar.GlobalConstraintRegistrar, - address: globalConstraintRegistrar.address - }, - SchemeRegistrar: { - contract: _schemeregistrar.SchemeRegistrar, - address: schemeRegistrar.address - }, - UpgradeScheme: { - contract: _upgradescheme.UpgradeScheme, - address: upgradeScheme.address - } - }; - - return { - allContracts: contracts, - defaultVotingMachine: contracts.AbsoluteVote, - schemes: [contracts.SchemeRegistrar, contracts.UpgradeScheme, contracts.GlobalConstraintRegistrar, contracts.ContributionReward], - votingMachines: [contracts.AbsoluteVote], - globalConstraints: [] - }; -} \ No newline at end of file diff --git a/dist/contributionreward.js b/dist/contributionreward.js deleted file mode 100644 index c75de1e36..000000000 --- a/dist/contributionreward.js +++ /dev/null @@ -1,185 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ContributionReward = undefined; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _utils = require("./utils.js"); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var dopts = require("default-options"); - -var SolidityContributionReward = (0, _utils.requireContract)("ContributionReward"); -var DAOToken = (0, _utils.requireContract)("DAOToken"); - -var ContributionReward = function (_ExtendTruffleContrac) { - _inherits(ContributionReward, _ExtendTruffleContrac); - - function ContributionReward() { - _classCallCheck(this, ContributionReward); - - return _possibleConstructorReturn(this, (ContributionReward.__proto__ || Object.getPrototypeOf(ContributionReward)).apply(this, arguments)); - } - - _createClass(ContributionReward, [{ - key: "proposeContributionReward", - value: async function proposeContributionReward() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - /** - * Note that explicitly supplying any property with a value of undefined will prevent the property - * from taking on its default value (weird behavior of default-options) - */ - var defaults = { - /** - * avatar address - */ - avatar: undefined, - /** - * description of the constraint - */ - description: undefined, - /** - * reward in the DAO's native token. In Wei. - */ - nativeTokenReward: 0, - /** - * reward in the DAO's native reputation. In Wei. - */ - reputationReward: 0, - /** - * reward in ethers. In Wei. - */ - ethReward: 0, - /** - * the address of an external token (for externalTokenReward) - * Only required when externalTokenReward is non-zero. - */ - externalToken: null, - /** - * reward in the given external token. In Wei. - */ - externalTokenReward: 0, - /** - * beneficiary address - */ - beneficiary: undefined - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - if (!options.avatar) { - throw new Error("avatar address is not defined"); - } - - if (!options.description) { - throw new Error("description is not defined"); - } - - /** - * will thrown Error if not valid numbers - */ - var web3 = (0, _utils.getWeb3)(); - var nativeTokenReward = web3.toBigNumber(options.nativeTokenReward); - var reputationReward = web3.toBigNumber(options.reputationReward); - var ethReward = web3.toBigNumber(options.ethReward); - var externalTokenReward = web3.toBigNumber(options.externalTokenReward); - - if (nativeTokenReward < 0 || reputationReward < 0 || ethReward < 0 || externalTokenReward < 0) { - throw new Error("rewards cannot be less than 0"); - } - - if (!(nativeTokenReward > 0 || reputationReward > 0 || ethReward > 0 || externalTokenReward > 0)) { - throw new Error("no reward amount was given"); - } - - if (externalTokenReward > 0 && !options.externalToken) { - throw new Error("external token reward is proposed but externalToken is not defined"); - } - - if (!options.beneficiary) { - throw new Error("beneficiary is not defined"); - } - - // is the organization registered? - // let msg = `This organization ${options.avatar} is not registered on the current scheme ${this.address}`; - // assert.isOk(await this.isRegistered(options.avatar), msg); - - // TODO: Check if the fees are payable - // check fees; first get the parameters - // const avatarContract = await Avatar.at(options.avatar); - // const controller = await Controller.at(await avatarContract.owner()); - // const paramsHash = await controller.getSchemeParameters(this.address); - // const params = await this.contract.parameters(paramsHash); - // params have these - // uint orgNativeTokenFee; // a fee (in the organization's token) that is to be paid for submitting a contribution - // bytes32 voteApproveParams; - // uint schemeNativeTokenFee; // a fee (in the present schemes token) that is to be paid for submission - // BoolVoteInterface boolVote; - // assert.equal(params[0].toNumber(), 0); - // assert.equal(params[2].toNumber(), 0); - - // console.log(`********* options.avatar ${options.avatar} **********`); - // console.log(`********* options.description ${options.description} **********`); - // console.log(`********* options.nativeTokenReward ${options.nativeTokenReward} **********`); - // console.log(`********* options.reputationReward ${options.reputationReward} **********`); - // console.log(`********* options.ethReward ${options.ethReward} **********`); - // console.log(`********* options.externalToken ${options.externalToken} **********`); - // console.log(`********* options.externalTokenReward ${options.externalTokenReward} **********`); - // console.log(`********* options.beneficiary ${options.beneficiary} **********`); - - var tx = await this.contract.submitContribution(options.avatar, - // web3.utils.soliditySha3(options.description), this is available in web3 1.0 - (0, _utils.SHA3)(options.description), [nativeTokenReward, reputationReward, ethReward, options.externalToken, externalTokenReward], options.externalToken, options.beneficiary); - return tx; - } - }, { - key: "setParams", - value: async function setParams(params) { - return await this._setParameters(params.orgNativeTokenFee, params.schemeNativeTokenFee, params.voteParametersHash, params.votingMachine); - } - }, { - key: "getDefaultPermissions", - value: function getDefaultPermissions(overrideValue) { - return overrideValue || "0x00000001"; - } - }], [{ - key: "new", - value: async function _new() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - // TODO: provide options to use an existing token or specifiy the new token - var defaults = { - tokenAddress: null, // the address of a token to use - fee: 0, // the fee to use this scheme - beneficiary: (0, _utils.getDefaultAccount)() - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - var token = void 0; - if (options.tokenAddress == null) { - token = await DAOToken.new("schemeregistrartoken", "STK"); - // TODO: or is it better to throw an error? - // throw new Error('A tokenAddress must be provided'); - } else { - token = await DAOToken.at(options.tokenAddress); - } - - var contract = await SolidityContributionReward.new(token.address, options.fee, options.beneficiary); - return new this(contract); - } - }]); - - return ContributionReward; -}((0, _utils.ExtendTruffleContract)(SolidityContributionReward)); - -exports.ContributionReward = ContributionReward; \ No newline at end of file diff --git a/dist/globalconstraintregistrar.js b/dist/globalconstraintregistrar.js deleted file mode 100644 index 51b983785..000000000 --- a/dist/globalconstraintregistrar.js +++ /dev/null @@ -1,151 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.GlobalConstraintRegistrar = undefined; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _utils = require("./utils.js"); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var dopts = require("default-options"); - -var SolidityGlobalConstraintRegistrar = (0, _utils.requireContract)("GlobalConstraintRegistrar"); -var DAOToken = (0, _utils.requireContract)("DAOToken"); - -var GlobalConstraintRegistrar = exports.GlobalConstraintRegistrar = function (_ExtendTruffleContrac) { - _inherits(GlobalConstraintRegistrar, _ExtendTruffleContrac); - - function GlobalConstraintRegistrar() { - _classCallCheck(this, GlobalConstraintRegistrar); - - return _possibleConstructorReturn(this, (GlobalConstraintRegistrar.__proto__ || Object.getPrototypeOf(GlobalConstraintRegistrar)).apply(this, arguments)); - } - - _createClass(GlobalConstraintRegistrar, [{ - key: "proposeToAddModifyGlobalConstraint", - value: async function proposeToAddModifyGlobalConstraint() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - var defaults = { - /** - * avatar address - */ - avatar: undefined, - /** - * the address of the global constraint to add - */ - globalConstraint: undefined, - /** - * hash of the parameters of the global contraint - */ - globalConstraintParametersHash: undefined, - /** - * voting machine to use when voting to remove the global constraint - */ - votingMachineHash: undefined - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - if (!options.avatar) { - throw new Error("avatar address is not defined"); - } - - if (!options.globalConstraint) { - throw new Error("avatar globalConstraint is not defined"); - } - - if (!options.globalConstraintParametersHash) { - throw new Error("avatar globalConstraintParametersHash is not defined"); - } - - if (!options.votingMachineHash) { - throw new Error("avatar votingMachineHash is not defined"); - } - // console.log(`****** avatar ${options.avatar} ******`); - // console.log(`****** globalConstraint ${options.globalConstraint} ******`); - // console.log(`****** globalConstraintParametersHash ${options.globalConstraintParametersHash} ******`); - // console.log(`****** votingMachineHash ${options.votingMachineHash} ******`); - - var tx = await this.contract.proposeGlobalConstraint(options.avatar, options.globalConstraint, options.globalConstraintParametersHash, options.votingMachineHash); - - return tx; - } - }, { - key: "proposeToRemoveGlobalConstraint", - value: async function proposeToRemoveGlobalConstraint() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - var defaults = { - /** - * avatar address - */ - avatar: undefined, - /** - * the address of the global constraint to remove - */ - globalConstraint: undefined - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - if (!options.avatar) { - throw new Error("avatar address is not defined"); - } - - if (!options.globalConstraint) { - throw new Error("avatar globalConstraint is not defined"); - } - - var tx = await this.contract.proposeToRemoveGC(options.avatar, options.globalConstraint); - - return tx; - } - }, { - key: "setParams", - value: async function setParams(params) { - return await this._setParameters(params.voteParametersHash, params.votingMachine); - } - }, { - key: "getDefaultPermissions", - value: function getDefaultPermissions(overrideValue) { - return overrideValue || "0x00000007"; - } - }], [{ - key: "new", - value: async function _new() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - // TODO: provide options to use an existing token or specify the new token - var defaults = { - fee: 0, // the fee to use this scheme, in Wei - beneficiary: (0, _utils.getDefaultAccount)(), - tokenAddress: null // the address of a token to use - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - var token = void 0; - if (options.tokenAddress == null) { - token = await DAOToken.new("globalconstraintregistrartoken", "GCT"); - // TODO: or is it better to throw an error? - // throw new Error('A tokenAddress must be provided'); - } else { - token = await DAOToken.at(options.tokenAddress); - } - - var contract = await SolidityGlobalConstraintRegistrar.new(token.address, options.fee, options.beneficiary); - return new this(contract); - } - }]); - - return GlobalConstraintRegistrar; -}((0, _utils.ExtendTruffleContract)(SolidityGlobalConstraintRegistrar)); \ No newline at end of file diff --git a/dist/organization.js b/dist/organization.js deleted file mode 100644 index 9d11934f1..000000000 --- a/dist/organization.js +++ /dev/null @@ -1,354 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.Organization = undefined; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _contracts = require("./contracts.js"); - -var _utils = require("./utils.js"); - -var _schemeregistrar = require("./schemeregistrar.js"); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var dopts = require("default-options"); - -var Avatar = (0, _utils.requireContract)("Avatar"); -var Controller = (0, _utils.requireContract)("Controller"); -var DAOToken = (0, _utils.requireContract)("DAOToken"); -var GenesisScheme = (0, _utils.requireContract)("GenesisScheme"); -var Reputation = (0, _utils.requireContract)("Reputation"); -// import { GlobalConstraintRegistrar } from "./globalconstraintregistrar.js"; -var AbsoluteVote = (0, _utils.requireContract)("AbsoluteVote"); -// import { UpgradeScheme } from "./upgradescheme.js"; - - -var CONTRACT_SCHEMEREGISTRAR = "SchemeRegistrar"; -var CONTRACT_UPGRADESCHEME = "UpgradeScheme"; -var CONTRACT_GLOBALCONSTRAINTREGISTRAR = "GlobalConstraintRegistrar"; -// const CONTRACT_ContributionReward = "ContributionReward"; - -var Organization = exports.Organization = function () { - function Organization() { - _classCallCheck(this, Organization); - } - - _createClass(Organization, [{ - key: "schemes", - - - /** - * returns - * @param name linke "SchemeRegistrar" - */ - value: async function schemes(name) { - // return the schemes registered on this controller satisfying the contract spec - // return all schems if contract is not given - var schemes = await this._getSchemes(); - if (name) { - return schemes.filter(function (s) { - return s.name === name; - }); - } else { - return schemes; - } - } - - /** - * returns schemes currently in this Organization as Array - */ - - }, { - key: "_getSchemes", - value: async function _getSchemes() { - var _this = this; - - // private method returns all registered schemes. - // TODO: this is *expensive*, we need to cache the results (and perhaps poll for latest changes if necessary) - var schemesMap = new Map(); // - var controller = this.controller; - var arcTypesMap = new Map(); // - var contracts = await (0, _contracts.getDeployedContracts)(); - - /** - * TODO: This should pull in all known versions of the schemes, names - * and versions in one fell swoop. - */ - for (var name in contracts.allContracts) { - var _contract = contracts.allContracts[name]; - arcTypesMap.set(_contract.address, name); - } - - var registerSchemeEvent = controller.RegisterScheme({}, { fromBlock: 0, toBlock: "latest" }); - - await new Promise(function (resolve) { - registerSchemeEvent.get(function (err, eventsArray) { - return _this._handleSchemeEvent(err, eventsArray, true, arcTypesMap, schemesMap).then(function () { - registerSchemeEvent.stopWatching(); - resolve(); - }); - }); - }); - - var registeredSchemes = []; - - var _iteratorNormalCompletion = true; - var _didIteratorError = false; - var _iteratorError = undefined; - - try { - for (var _iterator = schemesMap.values()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { - var scheme = _step.value; - - if (await this.controller.isSchemeRegistered(scheme.address)) { - registeredSchemes.push(scheme); - } - } - } catch (err) { - _didIteratorError = true; - _iteratorError = err; - } finally { - try { - if (!_iteratorNormalCompletion && _iterator.return) { - _iterator.return(); - } - } finally { - if (_didIteratorError) { - throw _iteratorError; - } - } - } - - return registeredSchemes; - } - }, { - key: "_handleSchemeEvent", - value: async function _handleSchemeEvent(err, eventsArray, adding, arcTypesMap, schemesMap // : Promise - ) { - if (!(eventsArray instanceof Array)) { - eventsArray = [eventsArray]; - } - var count = eventsArray.length; - for (var i = 0; i < count; i++) { - var schemeAddress = eventsArray[i].args._scheme; - // will be all zeros if not registered - var permissions = await this.controller.getSchemePermissions(schemeAddress); - - var schemeInfo = { - address: schemeAddress, - permissions: permissions, - // will be undefined if not a known scheme - name: arcTypesMap.get(schemeAddress) - }; - - schemesMap.set(schemeAddress, schemeInfo); - } - } - - /** - * Returns promise of a scheme as ExtendTruffleScheme, or ? if not found - * @param contract name of scheme, like "SchemeRegistrar" - * @param optional address - */ - - }, { - key: "scheme", - value: async function scheme(contract, address) { - // returns the schemes can be used to register other schemes - // TODO: error handling: throw an error if such a schem does not exist, and also if there is more htan one - var contracts = await (0, _contracts.getDeployedContracts)(); - var contractInfo = contracts.allContracts[contract]; - // check if indeed the registrar is registered as a scheme on the controller - // const isSchemeRegistered = await this.controller.isSchemeRegistered(contractInfo.address); - // assert.equal(isSchemeRegistered, true, `${contract} is not registered with the controller`); - - return contractInfo.contract.at(address ? address : contractInfo.address); - } - }, { - key: "checkSchemeConditions", - value: async function checkSchemeConditions(scheme) { - // check if the scheme if ready for usage - i.e. if the org is registered at the scheme and vice versa - // check if the schems is usable - // const controller = this.controller; - var avatar = this.avatar; - - // check if indeed the registrar is registered as a scheme on the controller - // const isSchemeRegistered = await controller.isSchemeRegistered(scheme.address); - // assert.equal(isSchemeRegistered, true, `${contract} is not registered with the controller`); - - // check if the controller is registered (has paid the fee) - var isControllerRegistered = await scheme.isRegistered(avatar.address); - if (!isControllerRegistered) { - var msg = "The organization is not registered on this schme: " + contract + "; " + contractInfo.address; - throw new Error(msg); - } - return true; - } - }, { - key: "vote", - value: function vote(proposalId, choice, params) { - // vote for the proposal given by proposalId using this.votingMachine - // NB: this will not work for proposals using votingMachine's that are not the default one - return this.votingMachine.vote(proposalId, choice, params); - } - }], [{ - key: "new", - value: async function _new(opts) { - // TODO: optimization: we now have all sequantial awaits: parallelize them if possible - // TODO: estimate gas/ether needed based on given options, check balance of sender, and - // warn if necessary. - // TODO: default options need to be extended), cf. https://github.com/daostack/daostack/issues/43 - // TODO: orgName, tokenName and tokenSymbol should be required - implement this - // QUESTION: should we add options to deploy with existing tokens or rep? - var contracts = await (0, _contracts.getDeployedContracts)(); - - var defaults = { - orgName: null, - tokenName: null, - tokenSymbol: null, - founders: [], - votingMachine: contracts.allContracts.AbsoluteVote.address, - votePrec: 50, - ownerVote: true, - orgNativeTokenFee: 0, // used for ContributionReward - schemeNativeTokenFee: 0, // used for ContributionReward - genesisScheme: contracts.allContracts.GenesisScheme.address, - schemes: [{ - name: CONTRACT_SCHEMEREGISTRAR, - address: contracts.allContracts.SchemeRegistrar.address - }, { - name: CONTRACT_UPGRADESCHEME, - address: contracts.allContracts.UpgradeScheme.address - }, { - name: CONTRACT_GLOBALCONSTRAINTREGISTRAR, - address: contracts.allContracts.GlobalConstraintRegistrar.address - }] - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - var genesisScheme = await GenesisScheme.at(options.genesisScheme); - - var tx = await genesisScheme.forgeOrg(options.orgName, options.tokenName, options.tokenSymbol, options.founders.map(function (x) { - return x.address; - }), options.founders.map(function (x) { - return x.tokens; - }), options.founders.map(function (x) { - return x.reputation; - })); - // get the address of the avatar from the logs - var avatarAddress = (0, _utils.getValueFromLogs)(tx, "_avatar", "NewOrg"); - var org = new Organization(); - - org.avatar = await Avatar.at(avatarAddress); - // console.log(`avatar: ${org.avatar}`); - var controllerAddress = await org.avatar.owner(); - org.controller = await Controller.at(controllerAddress); - - var tokenAddress = await org.controller.nativeToken(); - org.token = await DAOToken.at(tokenAddress); - - var reputationAddress = await org.controller.nativeReputation(); - org.reputation = await Reputation.at(reputationAddress); - - org.votingMachine = await AbsoluteVote.at(options.votingMachine); - await org.votingMachine.setParameters(org.reputation.address, options.votePrec, options.ownerVote); - - var voteParametersHash = await org.votingMachine.getParametersHash(org.reputation.address, options.votePrec, options.ownerVote); - - // TODO: these are specific configuration options that should be settable in the options above - var initialSchemesAddresses = []; - var initialSchemesParams = []; - var initialSchemesTokenAddresses = []; - var initialSchemesFees = []; - var initialSchemesPermissions = []; - - var _iteratorNormalCompletion2 = true; - var _didIteratorError2 = false; - var _iteratorError2 = undefined; - - try { - for (var _iterator2 = options.schemes[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) { - var optionScheme = _step2.value; - - var arcSchemeInfo = contracts.allContracts[optionScheme.name]; - var _scheme = await arcSchemeInfo.contract.at(optionScheme.address || arcSchemeInfo.address); - - var paramsHash = await _scheme.setParams({ - voteParametersHash: voteParametersHash, - votingMachine: org.votingMachine.address, - orgNativeTokenFee: options.orgNativeTokenFee, - schemeNativeTokenFee: options.schemeNativeTokenFee - }); - - initialSchemesAddresses.push(_scheme.address); - initialSchemesParams.push(paramsHash); - initialSchemesTokenAddresses.push((await _scheme.nativeToken())); - initialSchemesFees.push((await _scheme.fee())); - initialSchemesPermissions.push(_scheme.getDefaultPermissions() /* supply options.permissions here? */); - } - - // register the schemes with the organization - } catch (err) { - _didIteratorError2 = true; - _iteratorError2 = err; - } finally { - try { - if (!_iteratorNormalCompletion2 && _iterator2.return) { - _iterator2.return(); - } - } finally { - if (_didIteratorError2) { - throw _iteratorError2; - } - } - } - - await genesisScheme.setSchemes(org.avatar.address, initialSchemesAddresses, initialSchemesParams, initialSchemesTokenAddresses, initialSchemesFees, initialSchemesPermissions); - - // transfer what we need for fees to register the organization at the given schemes - // TODO: check if we have the funds, if not, throw an exception - // fee = await org.schemeRegistrar.fee()) - // we must do this after setSchemes, because that one approves the transactions - // (but that logic shoudl change) - for (var i = 0; i < initialSchemesAddresses.length; i = i + 1) { - var scheme = await _schemeregistrar.SchemeRegistrar.at(initialSchemesAddresses[i]); - var token = await DAOToken.at(initialSchemesTokenAddresses[i]); - var fee = initialSchemesFees[i]; - await token.transfer(org.avatar.address, fee); - await scheme.registerOrganization(org.avatar.address); - } - - return org; - } - }, { - key: "at", - value: async function at(avatarAddress) { - var org = new Organization(); - - org.avatar = await Avatar.at(avatarAddress); - var controllerAddress = await org.avatar.owner(); - org.controller = await Controller.at(controllerAddress); - - var tokenAddress = await org.controller.nativeToken(); - org.token = await DAOToken.at(tokenAddress); - - var reputationAddress = await org.controller.nativeReputation(); - org.reputation = await Reputation.at(reputationAddress); - - // TODO: we now just set the default voting machine, and assume it is used - // throughout, but this assumption is not warranted - var contracts = await (0, _contracts.getDeployedContracts)(); - if (contracts.defaultVotingMachine) { - org.votingMachine = AbsoluteVote.at(contracts.defaultVotingMachine); - } - - return org; - } - }]); - - return Organization; -}(); \ No newline at end of file diff --git a/dist/schemeregistrar.js b/dist/schemeregistrar.js deleted file mode 100644 index 71141d33c..000000000 --- a/dist/schemeregistrar.js +++ /dev/null @@ -1,244 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.SchemeRegistrar = undefined; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _contracts = require("./contracts.js"); - -var _utils = require("./utils.js"); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var dopts = require("default-options"); - -var SoliditySchemeRegistrar = (0, _utils.requireContract)("SchemeRegistrar"); -var DAOToken = (0, _utils.requireContract)("DAOToken"); - -var SchemeRegistrar = exports.SchemeRegistrar = function (_ExtendTruffleContrac) { - _inherits(SchemeRegistrar, _ExtendTruffleContrac); - - function SchemeRegistrar() { - _classCallCheck(this, SchemeRegistrar); - - return _possibleConstructorReturn(this, (SchemeRegistrar.__proto__ || Object.getPrototypeOf(SchemeRegistrar)).apply(this, arguments)); - } - - _createClass(SchemeRegistrar, [{ - key: "proposeToAddModifyScheme", - - - /** - * Note relating to permissions: According rules defined in the Controller, - * this SchemeRegistrar is only capable of registering schemes that have - * either no permissions or have the permission to register other schemes. - * Therefore Arc's SchemeRegistrar is not capable of registering schemes - * that have permissions greater than its own, thus excluding schemes having - * the permission to add/remove global constraints or upgrade the controller. - * The Controller will throw an exception when an attempt is made - * to add or remove schemes having greater permissions than the scheme attempting the change. - */ - value: async function proposeToAddModifyScheme() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - /** - * Note that explicitly supplying any property with a value of undefined will prevent the property - * from taking on its default value (weird behavior of default-options). - * - */ - var defaults = { - /** - * avatar address - */ - avatar: undefined, - /** - * scheme address - */ - scheme: undefined, - /** - * scheme identifier, like "SchemeRegistrar" or "ContributionReward". - * pass null if registering a non-arc scheme - */ - schemeName: null, - /** - * hash of scheme parameters. These must be already registered with the new scheme. - */ - schemeParametersHash: undefined, - /** - * The fee that the scheme charges to register an organization in the scheme. The controller - * will be asked in advance to approve this expenditure. - * - * If schemeName is given but fee is not then we use the amount of the fee of the - * Arc scheme given by scheme and schemeName. - * - * Fee is required when schemeName is not given (non-Arc schemes). - * - * The fee is paid using the token given by tokenAddress. In Wei. - */ - fee: null, - /** - * The token used to pay the fee that the scheme charges to register an organization in the scheme. - * - * If schemeName is given but tokenAddress is not then we use the token address of the - * Arc scheme given by scheme and schemeName. - * - * tokenAddress is required when schemeName is not given (non-Arc schemes). - */ - tokenAddress: null, - /** - * true if the given scheme is able to register/unregister/modify schemes. - * - * isRegistering should only be supplied when schemeName is not given (and thus the scheme is non-Arc). - * Otherwise we determine it's value based on scheme and schemeName. - */ - isRegistering: null - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - if (!options.avatar) { - throw new Error("avatar address is not defined"); - } - - if (!options.scheme) { - throw new Error("scheme is not defined"); - } - - if (!options.schemeParametersHash) { - throw new Error("schemeParametersHash is not defined"); - } - - var feeIsDefined = options.fee !== null && options.fee !== undefined; - var tokenAddressIsDefined = !!options.tokenAddress; - /** - * throws an Error if not valid, yields 0 if null or undefined - */ - var web3 = (0, _utils.getWeb3)(); - var fee = web3.toBigNumber(options.fee); - var tokenAddress = options.tokenAddress; - var isRegistering = void 0; - var autoRegister = void 0; - - if (options.schemeName) { - try { - var contracts = await (0, _contracts.getDeployedContracts)(); - var newScheme = await contracts.allContracts[options.schemeName].contract.at(options.scheme); - autoRegister = true; - - if (!feeIsDefined || !tokenAddressIsDefined) { - if (!feeIsDefined) { - fee = await newScheme.fee(); - } - if (!tokenAddressIsDefined) { - tokenAddress = await newScheme.nativeToken(); - } - } - - // Note that the javascript wrapper "newScheme" we've gotten here is defined in this version of Arc. If newScheme is - // actually coming from a different version of Arc, then theoretically the permissions could be different from this version. - var permissions = Number(newScheme.getDefaultPermissions()); - - if (permissions > this.getDefaultPermissions()) { - throw new Error("SchemeRegistrar cannot work with schemes having greater permissions than its own"); - } - - isRegistering = (permissions & 2) != 0; - } catch (ex) { - throw new Error("Unable to obtain default information from the given scheme address. The address is invalid or the scheme is not an Arc scheme and in that case you must supply fee and tokenAddress. " + ex); - } - } else { - isRegistering = options.isRegistering; - autoRegister = false; // see https://github.com/daostack/daostack/issues/181#issuecomment-353210642 - - if (!feeIsDefined || !tokenAddressIsDefined) { - throw new Error("fee/tokenAddress are not defined; they are required for non-Arc schemes (schemeName is undefined)"); - } - - if (isRegistering === null) { - throw new Error("isRegistering is not defined; it is required for non-Arc schemes (schemeName is undefined)"); - } - - if (fee < 0) { - throw new Error("fee cannot be less than zero"); - } - } - - var tx = await this.contract.proposeScheme(options.avatar, options.scheme, options.schemeParametersHash, isRegistering, tokenAddress, fee, autoRegister); - - return tx; - } - }, { - key: "proposeToRemoveScheme", - value: async function proposeToRemoveScheme() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - var defaults = { - /** - * avatar address - */ - avatar: undefined, - /** - * scheme address - */ - scheme: undefined - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - if (!options.avatar) { - throw new Error("avatar address is not defined"); - } - - if (!options.scheme) { - throw new Error("scheme address is not defined"); - } - - var tx = await this.contract.proposeToRemoveScheme(options.avatar, options.scheme); - - return tx; - } - }, { - key: "setParams", - value: async function setParams(params) { - return await this._setParameters(params.voteParametersHash, params.voteParametersHash, params.votingMachine); - } - }, { - key: "getDefaultPermissions", - value: function getDefaultPermissions(overrideValue) { - return overrideValue || "0x00000003"; - } - }], [{ - key: "new", - value: async function _new() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - // TODO: provide options to use an existing token or specifiy the new token - var defaults = { - fee: 0, // the fee to use this scheme, in Wei - beneficiary: (0, _utils.getDefaultAccount)(), - tokenAddress: null // the address of a token to use - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - var token = void 0; - if (options.tokenAddress == null) { - token = await DAOToken.new("schemeregistrartoken", "SRT"); - } else { - token = await DAOToken.at(options.tokenAddress); - } - - var contract = await SoliditySchemeRegistrar.new(token.address, options.fee, options.beneficiary); - return new this(contract); - } - }]); - - return SchemeRegistrar; -}((0, _utils.ExtendTruffleContract)(SoliditySchemeRegistrar)); \ No newline at end of file diff --git a/dist/tokenCapGC.js b/dist/tokenCapGC.js deleted file mode 100644 index 6b1db6a8e..000000000 --- a/dist/tokenCapGC.js +++ /dev/null @@ -1,44 +0,0 @@ -"use strict"; -// const dopts = require('default-options'); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.TokenCapGC = undefined; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _utils = require("./utils.js"); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var SolidityTokenCapGC = (0, _utils.requireContract)("TokenCapGC"); - -var TokenCapGC = exports.TokenCapGC = function (_ExtendTruffleContrac) { - _inherits(TokenCapGC, _ExtendTruffleContrac); - - function TokenCapGC() { - _classCallCheck(this, TokenCapGC); - - return _possibleConstructorReturn(this, (TokenCapGC.__proto__ || Object.getPrototypeOf(TokenCapGC)).apply(this, arguments)); - } - - _createClass(TokenCapGC, [{ - key: "setParams", - value: async function setParams(params) { - return await this._setParameters(params.token, params.cap); - } - }], [{ - key: "new", - value: async function _new() { - var contract = await SolidityTokenCapGC.new(); - return new this(contract); - } - }]); - - return TokenCapGC; -}((0, _utils.ExtendTruffleContract)(SolidityTokenCapGC)); \ No newline at end of file diff --git a/dist/upgradescheme.js b/dist/upgradescheme.js deleted file mode 100644 index 220e9fa5b..000000000 --- a/dist/upgradescheme.js +++ /dev/null @@ -1,212 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.UpgradeScheme = undefined; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _contracts = require("./contracts.js"); - -var _utils = require("./utils.js"); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var dopts = require("default-options"); - -var SolidityUpgradeScheme = (0, _utils.requireContract)("UpgradeScheme"); -var DAOToken = (0, _utils.requireContract)("DAOToken"); - -var UpgradeScheme = exports.UpgradeScheme = function (_ExtendTruffleContrac) { - _inherits(UpgradeScheme, _ExtendTruffleContrac); - - function UpgradeScheme() { - _classCallCheck(this, UpgradeScheme); - - return _possibleConstructorReturn(this, (UpgradeScheme.__proto__ || Object.getPrototypeOf(UpgradeScheme)).apply(this, arguments)); - } - - _createClass(UpgradeScheme, [{ - key: "proposeController", - - - /******************************************* - * proposeController - */ - value: async function proposeController() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - var defaults = { - /** - * avatar address - */ - avatar: undefined, - /** - * controller address - */ - controller: undefined - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - if (!options.avatar) { - throw new Error("avatar address is not defined"); - } - - if (!options.controller) { - throw new Error("controller address is not defined"); - } - - var tx = await this.contract.proposeUpgrade(options.avatar, options.controller); - - return tx; - } - - /******************************************** - * proposeUpgradingScheme - */ - - }, { - key: "proposeUpgradingScheme", - value: async function proposeUpgradingScheme() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - /** - * Note that explicitly supplying any property with a value of undefined will prevent the property - * from taking on its default value (weird behavior of default-options) - */ - var defaults = { - /** - * avatar address - */ - avatar: undefined, - /** - * upgrading scheme address - */ - scheme: undefined, - /** - * hash of the parameters of the upgrading scheme. These must be already registered with the new scheme. - */ - schemeParametersHash: undefined, - /** - * true to register organization into the scheme when the proposal is approved. - * If false then caller must do it manually via scheme.registerOrganization(avatarAddress). - * Default is true. - * - * [This needs to be implemented] - , autoRegister:true - */ - /** - * The fee that the scheme charges to register an organization in the new upgrade scheme. - * The controller will be asked in advance to approve this expenditure. - * - * If the new UpgradeScheme is an Arc scheme, you may omit fee and we will - * obtain the values directly from the submitted scheme. - * Otherwise fee is required. - * - * The fee is paid using the token given by tokenAddress. In Wei. - */ - fee: null, - /** - * address of token that will be used when paying the fee. - * - * If the new UpgradeScheme is an Arc scheme, you may omit tokenAddress and we will - * obtain the values directly from the submitted scheme. - * Otherwise tokenAddress is required. - */ - tokenAddress: null - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - if (!options.avatar) { - throw new Error("avatar address is not defined"); - } - - if (!options.scheme) { - throw new Error("scheme is not defined"); - } - - if (!options.schemeParametersHash) { - throw new Error("schemeParametersHash is not defined"); - } - - var feeIsDefined = options.fee !== null && options.fee !== undefined; - var tokenAddressIsDefined = !!options.tokenAddress; - - /** - * throws an Error if not valid, yields 0 if null or undefined - */ - var web3 = (0, _utils.getWeb3)(); - var fee = web3.toBigNumber(options.fee); - var tokenAddress = options.tokenAddress; - - if (!feeIsDefined || !tokenAddressIsDefined) { - try { - var contracts = await (0, _contracts.getDeployedContracts)(); - var newScheme = await contracts.allContracts.UpgradeScheme.contract.at(options.scheme); - - if (!feeIsDefined) { - fee = await newScheme.fee(); - } - if (!tokenAddressIsDefined) { - tokenAddress = await newScheme.nativeToken(); - } - } catch (ex) { - throw new Error("Unable to obtain default information from the given scheme address. The address is invalid or the scheme is not an Arc scheme and in that case you must supply fee and tokenAddress. " + ex); - } - } - - if (fee < 0) { - throw new Error("fee cannot be less than 0"); - } - - var tx = await this.contract.proposeChangeUpgradingScheme(options.avatar, options.scheme, options.schemeParametersHash, tokenAddress, fee); - - return tx; - } - }, { - key: "setParams", - value: async function setParams(params) { - return await this._setParameters(params.voteParametersHash, params.votingMachine); - } - }, { - key: "getDefaultPermissions", - value: function getDefaultPermissions(overrideValue) { - return overrideValue || "0x0000000b"; - } - }], [{ - key: "new", - value: async function _new() { - var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - // TODO: provide options to use an existing token or specifiy the new token - var defaults = { - fee: 0, // the fee to use this scheme - beneficiary: (0, _utils.getDefaultAccount)(), - tokenAddress: null // the address of a token to use - }; - - var options = dopts(opts, defaults, { allowUnknown: true }); - - var token = void 0; - if (options.tokenAddress == null) { - token = await DAOToken.new("schemeregistrartoken", "SRT"); - // TODO: or is it better to throw an error? - // throw new Error('A tokenAddress must be provided'); - } else { - token = await DAOToken.at(options.tokenAddress); - } - - var contract = await SolidityUpgradeScheme.new(token.address, options.fee, options.beneficiary); - return new this(contract); - } - }]); - - return UpgradeScheme; -}((0, _utils.ExtendTruffleContract)(SolidityUpgradeScheme)); \ No newline at end of file diff --git a/dist/utils.js b/dist/utils.js deleted file mode 100644 index 8e5cd15d6..000000000 --- a/dist/utils.js +++ /dev/null @@ -1,283 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ExtendTruffleContract = exports.NULL_HASH = exports.NULL_ADDRESS = undefined; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); // some utility functions - - -exports.requireContract = requireContract; -exports.getWeb3 = getWeb3; -exports.getValueFromLogs = getValueFromLogs; -exports.getDefaultAccount = getDefaultAccount; -exports.SHA3 = SHA3; - -var _config = require('./config.js'); - -var _web = require('web3'); - -var _web2 = _interopRequireDefault(_web); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var TruffleContract = require('truffle-contract'); - -var abi = require("ethereumjs-abi"); - -var NULL_ADDRESS = exports.NULL_ADDRESS = "0x0000000000000000000000000000000000000000"; -var NULL_HASH = exports.NULL_HASH = "0x0000000000000000000000000000000000000000000000000000000000000000"; - -/** - * Returns TruffleContract given the name of the contract (like "SchemeRegistrar"), or undefined - * if not found or any other error occurs. - * - * This is not an Arc javascript wrapper, rather it is the straight TruffleContract - * that one references in the Arc javascript wrapper as ".contract". - * - * Side effect: It initializes (and uses) `web3` if a global `web3` is not already present, which - * happens when running in the context of an application (as opposed to tests or migration). - * - * @param contractName - */ -function requireContract(contractName) { - try { - var myWeb3 = getWeb3(); - - var artifact = require('../contracts/' + contractName + '.json'); - var contract = new TruffleContract(artifact); - - contract.setProvider(myWeb3.currentProvider); - contract.defaults({ - from: getDefaultAccount(), - gas: _config.config.get('gasLimit') - }); - return contract; - } catch (ex) { - return undefined; - } -} - -var _web3 = void 0; -var alreadyTriedAndFailed = false; - -/** - * throws an exception when web3 cannot be initialized or there is no default client - */ -function getWeb3() { - if (typeof web3 !== "undefined") { - return web3; // e.g. set by truffle in test and migration environments - } else if (_web3) { - return _web3; - } else if (alreadyTriedAndFailed) { - // then avoid time-consuming and futile retry - throw new Error("already tried and failed"); - } - - var preWeb3 = void 0; - - // already defined under `window`? - if (typeof window !== "undefined" && typeof window.web3 !== "undefined") { - // console.log(`Connecting via currentProvider`) - preWeb3 = new _web2.default(windowWeb3.currentProvider); - } else { - // console.log(`Connecting via http://localhost:8545`) - preWeb3 = new _web2.default(new _web2.default.providers.HttpProvider(_config.config.get('daostack.providerUrl'))); - } - - if (!preWeb3) { - alreadyTriedAndFailed = true; - throw new Error("web3 not found"); - } - - return _web3 = preWeb3; -} - -/** - * @param tx The transaction - * @param argName The name of the property whose value we wish to return, from the args object: tx.logs[index].args[argName] - * @param eventName Overrides index, identifies which log, where tx.logs[n].event === eventName - * @param index Identifies which log, when eventName is not given - */ -function getValueFromLogs(tx, arg, eventName) { - var index = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0; - - /** - * - * tx is an object with the following values: - * - * tx.tx => transaction hash, string - * tx.logs => array of decoded events that were triggered within this transaction - * tx.receipt => transaction receipt object, which includes gas used - * - * tx.logs look like this: - * - * [ { logIndex: 13, - * transactionIndex: 0, - * transactionHash: '0x999e51b4124371412924d73b60a0ae1008462eb367db45f8452b134e5a8d56c8', - * blockHash: '0xe35f7c374475a6933a500f48d4dfe5dce5b3072ad316f64fbf830728c6fe6fc9', - * blockNumber: 294, - * address: '0xd6a2a42b97ba20ee8655a80a842c2a723d7d488d', - * type: 'mined', - * event: 'NewOrg', - * args: { _avatar: '0xcc05f0cde8c3e4b6c41c9b963031829496107bbb' } } ] - */ - if (!tx.logs || !tx.logs.length) { - throw new Error("getValueFromLogs: Transaction has no logs"); - } - - if (eventName !== undefined) { - for (var i = 0; i < tx.logs.length; i++) { - if (tx.logs[i].event === eventName) { - index = i; - break; - } - } - if (index === undefined) { - var msg = 'getValueFromLogs: There is no event logged with eventName ' + eventName; - throw new Error(msg); - } - } else if (index === undefined) { - index = tx.logs.length - 1; - } - if (tx.logs[index].type !== "mined") { - var _msg = 'getValueFromLogs: transaction has not been mined: ' + tx.logs[index].event; - throw new Error(_msg); - } - var result = tx.logs[index].args[arg]; - - if (!result) { - var _msg2 = 'getValueFromLogs: This log does not seem to have a field "' + arg + '": ' + tx.logs[index].args; - throw new Error(_msg2); - } - return result; -} - -/** - * side-effect is to set web3.eth.defaultAccount. - * throws an exception on failure. - */ -function getDefaultAccount() { - var web3 = getWeb3(); - var defaultAccount = web3.eth.defaultAccount = web3.eth.defaultAccount || web3.eth.accounts[0]; - - if (!defaultAccount) { - throw new Error("eth.accounts[0] is not set"); - } - - // TODO: this should be the default sender account that signs the transactions - return defaultAccount; -} - -/** - * Hash a string the same way solidity does, and to a format that will be properly translated into a bytes32 that solidity expects - * @param str a string - */ -function SHA3(str) { - var result = '0x' + abi.soliditySHA3(["string"], [str]).toString("hex"); - // console.log("SHA3: " + result); - return result; -} - -var ExtendTruffleContract = exports.ExtendTruffleContract = function ExtendTruffleContract(superclass) { - return function () { - function _class(contract) { - _classCallCheck(this, _class); - - this.contract = contract; - for (var i in this.contract) { - if (this[i] === undefined) { - this[i] = this.contract[i]; - } - } - // for (var prop in this.contract) { - // if (!this.hasOwnProperty(prop)) { - // this[prop] = superclass[prop]; - // } - // } - } - - _createClass(_class, [{ - key: 'setParams', - - - /** - * Call setParameters on this scheme. - * Returns promise of parameters hash. - * If there are any parameters, then this function must be overridden by the subclass to provide them. - * @param overrides -- object with properties whose names are expected by the scheme to correspond to parameters. Overrides the defaults. - * - * Should have the following properties: - * - * for all: - * voteParametersHash - * votingMachine -- address - * - * for ContributionReward: - * orgNativeTokenFee -- number - * schemeNativeTokenFee -- number - */ - value: async function setParams(params) { - params; // avoid lint error - return await ""; - } - }, { - key: '_setParameters', - value: async function _setParameters() { - var _contract, _contract2; - - var parametersHash = await (_contract = this.contract).getParametersHash.apply(_contract, arguments); - await (_contract2 = this.contract).setParameters.apply(_contract2, arguments); - return parametersHash; - } - - /** - * The subclass must override this for there to be any permissions at all, unless caller provides a value. - */ - - }, { - key: 'getDefaultPermissions', - value: function getDefaultPermissions(overrideValue) { - return overrideValue || "0x00000000"; - } - }], [{ - key: 'new', - value: async function _new() { - var _this = this; - - return superclass.new().then(function (contract) { - return new _this(contract); - }, function (ex) { - throw ex; - }); - } - }, { - key: 'at', - value: async function at(address) { - var _this2 = this; - - return superclass.at(address).then(function (contract) { - return new _this2(contract); - }, function (ex) { - throw ex; - }); - } - }, { - key: 'deployed', - value: async function deployed() { - var _this3 = this; - - return superclass.deployed().then(function (contract) { - return new _this3(contract); - }, function (ex) { - throw ex; - }); - } - }]); - - return _class; - }(); -}; \ No newline at end of file diff --git a/dist/wallet.js b/dist/wallet.js deleted file mode 100644 index c07fa7fba..000000000 --- a/dist/wallet.js +++ /dev/null @@ -1,164 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.Wallet = undefined; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _config = require('./config.js'); - -var _ethers = require('ethers'); - -var ethers = _interopRequireWildcard(_ethers); - -var _utils = require('./utils.js'); - -var _organization = require('./organization.js'); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -var bip39 = require('bip39'); - - -var provider = void 0; -if (_config.config.get('providerUrl').indexOf('infura') !== -1) { - provider = new ethers.providers.InfuraProvider(ethNetwork, _config.config.get('apiToken')); -} else if (_config.config.get('providerUrl').indexOf('etherscan') !== -1) { - provider = new ethers.providers.EtherscanProvider(ethNetwork, _config.config.get('apiToken')); -} else { - provider = new ethers.providers.JsonRpcProvider(_config.config.get('providerUrl'), _config.config.get('network')); -} - -var web3 = (0, _utils.getWeb3)(); - -// This class is used to create new wallets, encrypt and unencrypt them, and send signed transactions using the privateKey -// It is particularly useful in e.g. a server side app, where the app manually handles unencrypting the wallet itself - -var Wallet = exports.Wallet = function () { - function Wallet() { - _classCallCheck(this, Wallet); - } - - // Create a new wallet, generated deterministically from a mnemonic created using bip39 - - - _createClass(Wallet, [{ - key: 'encrypt', - - - // Encrypt a wallet and return the Secret Storage JSON - value: async function encrypt(password, progressCallback) { - return await this.wallet.encrypt(password, progressCallback); - } - - // Return amount of ether in the wallet. - // If inWei = false then return num Ether as a string. - // See details on units here http://ethdocs.org/en/latest/ether.html - - }, { - key: 'getEtherBalance', - value: async function getEtherBalance(inWei) { - inWei = inWei || false; - var wei = await web3.eth.getBalance(this.getPublicAddress()); - return inWei ? wei : Number(web3.fromWei(wei, "ether")); - } - }, { - key: 'getMnemonic', - value: function getMnemonic() { - return this.mnemonic; - } - - // Return amount of an organization's token in the wallet. - // If inWei = false then return num Ether as a formated string with one decimal place - // See details on units here http://ethdocs.org/en/latest/ether.html - - }, { - key: 'getOrgTokenBalance', - value: async function getOrgTokenBalance(organizationAvatarAddress, inWei) { - inWei = inWei || false; - var org = await _organization.Organization.at(organizationAvatarAddress); - var balance = await org.token.balanceOf(this.getPublicAddress()); - return inWei ? web3.toWei(balance.valueOf(), "ether") : balance.valueOf(); - } - }, { - key: 'getProvider', - value: function getProvider() { - return this.wallet.provider; - } - }, { - key: 'getPublicAddress', - value: function getPublicAddress() { - return this.wallet.address; - } - }, { - key: 'sendEther', - value: async function sendEther(toAccountAddress, numEther) { - return await this.wallet.send(toAccountAddress, ethers.utils.parseEther(numEther.toString())); - } - }, { - key: 'sendOrgTokens', - value: async function sendOrgTokens(organizationAvatarAddress, toAccountAddress, numTokens) { - var org = await _organization.Organization.at(organizationAvatarAddress); - - // Get raw transaction data so we can sign ourselves - var transactionData = org.token.transfer.request(toAccountAddress, numTokens, { from: this.getPublicAddress() }).params[0].data; - - var transaction = { - to: org.token.address, - value: 0, - data: transactionData, - // This ensures the transaction cannot be replayed on different networks - chainId: ethers.providers.Provider.chainId[ethNetwork] - }; - - var transactionHash = await this.wallet.sendTransaction(transaction); - return transactionHash; - } - }], [{ - key: 'new', - value: function _new() { - var wallet = new Wallet(); - wallet.mnemonic = bip39.generateMnemonic(); - wallet.wallet = ethers.Wallet.fromMnemonic(wallet.mnemonic); - wallet.wallet.provider = provider; - return wallet; - } - }, { - key: 'fromPrivateKey', - value: function fromPrivateKey(privateKey) { - var wallet = new Wallet(); - wallet.wallet = new ethers.Wallet(privateKey, provider); - return wallet; - } - - // Unencrypt an encrypted Secret Storage JSON Wallet - - }, { - key: 'fromEncrypted', - value: async function fromEncrypted(encryptedJSON, password, progressCallback) { - var wallet = new Wallet(); - wallet.wallet = await ethers.Wallet.fromEncryptedWallet(encryptedJSON, password, progressCallback); - wallet.wallet.provider = provider; - return wallet; - } - - // Recover a wallet from a mnemonic - // TODO: what happens with an invalid mnemonic? - - }, { - key: 'fromMnemonic', - value: function fromMnemonic(mnemonic) { - var wallet = new Wallet(); - wallet.wallet = ethers.Wallet.fromMnemonic(mnemonic); - wallet.mnemonic = mnemonic; - wallet.wallet.provider = provider; - return wallet; - } - }]); - - return Wallet; -}(); \ No newline at end of file diff --git a/docs/README.md b/docs/README.md index fb7af1da7..b3b8f215f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -81,7 +81,7 @@ Now we can vote for the scheme: Once it is accepted, it should show up in `organization.schemes()`, and we can start adding contributions, for example, we'd like 101 organization tokens for writing documentation: - const contributionId = contributionReward.submitContribution({ + const contributionId = contributionReward.proposeContributionReward({ organization: organization, description: 'Documentation for daostack', nativeTokenReward: 101, diff --git a/images/dao-icon.png b/images/dao-icon.png deleted file mode 100644 index 23df17023e70875990a9c931e6f9752a98f4b645..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17913 zcmb5VWmKEb^FEA2ad$~^3GPtbr4%Q)7i)1!ahDW#cPTCI4#nLmlw!r9SaFB{ozM4o zp7+m-oSft&_wLT@%_rYH9Lr!H@z?Wq1au9bdr}yrj z=C0Oo&gOQG?i`NR?jSx6E)H%U86<}zI5;^wC0Qx$&nCyK`pJ$u9-RMHM0p0Ow!~K= z9um{u>`XMjVa7|4Rdu)z?FZ!q(w5~9!^_Izp$)@Jm%Gn?`B9J{69)oOO5q|ED}1n( zJ&+aBD10^Jci7xnKly#&yNJ%7uj$Xlaq=yR>$QtzpJQW(i7QjL$)8WUiylx}T5fH= zFxZ>o|Gzh=>C<1m7rNPcr0`eK$A5k8h&XR*MECPU zynRpH@(wv#w-Zl#P-z~o?ynBl38xx|nG$RZSX5PUsyfa`PwMlYJ~SUzwSRg!=X{y{ z*nZr!YWlom`YGVrCSc*|r|FZ<4O755)2hVFg@otJZQRSRM7~?TDh3>YK+Pj~YyN{m%t9hrs+3jmzyQ<2y`tkJRxA|4ap4jPuamA_c zo+xM9mUD~6jt>D87|siKW#{CmdEI|C@A)9_T2g@Bl_kh_lX9fyJ>1#jfa#;$O{`}} z(X!{dU%Qj<7KO1Am)#D%GGMxqJ`B!|8hgNef1iOhwZsj8Vh3-<$mO53p#PA!KC4ka$>{@;^ZOY2E)p z5LX4mh`v8K8y7=`F*1U3rsHAt^rUIc`|uVNSClIlXDbM$Oa^dEGGw#5(w6rL8 z9B=SH8z8wUgIZ3bISg`Jtu$b8w3zJ@{9eyW7Y7D7lkNY=LMW6<$W;p*R${jOgD&AN%oWG;nz^+HkV>@6_L6 z`ZHVia(&*5vyd>q`ydJYnyLY%Jq7W?-6qff{=g5p+9wbZh`37_{+{E--Nu_j+WdXWKl52lWKv&!Az%2cpTLGm zV|PsriVr;XPQALEt<2B>EXBpj6*&aLrf7am)Q^V|j@koh(gNK!%&8sXYHB~LaCW+1 zn@qjNkPVXD6hRvh)<^P6&;}!aw;6G>kd!j2_zuf`c?4-A{2>HEK;9xp>y;9ZmAIdY zQxn?=CGeKUJCfsL^^M08)~rdpri*)X?p;h!i+`}{ce7e=g?NHf_^J@S^}&ME@zl-z z*z;6gNc6Zt%X5&-<}!(?v#7ypHcS}_*v{ugpOQ8WkejYgh4-@O^qg0RYM-DjDv;M! zKBt|YHb<)3-u?I~oehb(K<3tIl9Qqb6C(xJ#492tjud10W1PFhxUV>8xH4n*Bv-*!=677(SIAKUFp36G{jH1I!$S^a#bTu|ps&N=C#BD9vFy=G1sM zyQVK!rVqKrW!u&w*4{f_AhZHs;uVK9rFG}i&YSBZp8vP*yxm-X)weu6#zZw#d* zz-Bm8Um8W%)2;gLQO5QO$xe(8+il4@?MgS4ff!dA$!b6`9((Nl%hS#27Og&%U@Nqg ztCnxR7D~>~k{nv^|8y_7#10n(glrFpte~0lvOqy$jfjAo8Yq0Ol{eDq*G+&|_{#H0J!sleiIp0pO zw@>e17ed6^=wQk6A62rM14mZMIYaxIfn)@xV%UJ2 zm11SMBXzcMcRT`(=twiK(4UbmdS~cX8vI;!8KQDqp-0j(4qJ63N@M(X#CvW-l%#R(~U54a{w7O3&$~$-)H?{?dCejxR@3t z#M$Dr#O7T;llTl-wq9&q<*Q=%jK@?CEsK?DLPp~7QIj@hAg&Pw?Itq$S0_bJSK8&! zP+CE$E&dP7>uY|05NY;@`XErpF6!^H7Mj3+1SH?kE0)lcFuw}_>9T0-d9`JZi{XjZ zDnydD!Sm|6&fZ;b2pe9pw8;z~swAV8{wpxk$l&w&2-7Ja=STzmmKlV7lS@(lG*Kwp z@u(<&-i$1Kf zq1yC`5B(gpwf-2I8;sCC=Q!LrYd*bdlN`fXdi)ofx8|EMxQ4>dw_7%-D+8Z_)Az@B zZssXU#;F=ea4|&I`c%_yl^#DS7T7NE3pTB{n^6xZ_RFcxF_)BbHH+z_i!{&wA|6&z za8+7lE6+IC^=Y{eY|&AncY~3#)+>-~i-IrTG}9d4Vofa^a9(zu8}E`WUCjiF!W)O; zv#lJo#X2B0yr0Ni8YoZ(Uw#D6rf&h4Ateqqr909s2ZQFF=c8;+F+}KT-(`w^&rB0y zV^EZDTbGJ(DzTzlTlOP)81NT!n~I<>t3@eLy2#Q5Nb#)DawM5BEXHnfeWGCAV;H!= zNU*eUmD)3C)BBt0Rx2t)J3cP)@_6yU9txz&;ggy^?8CS!4_eYR>kb{NLyRX@r4oNs zF-nG6JM;+njP>s;mGBOg56Z)~k(eG8c`R%`%#ucnH*Lhcco8$kAHRiHHvP8$6vEeE zSf06T<(K}>@2}P>aEF(;*bnD3D0`{y-!3Ro+3|SgczfKuzDDJ_;?l|R;ioLuBr7?e z0#DHp6;=*c3NlMd{hh;nF^_%QA|W<8Pe1`e;BN!3gOapQb+%2xwN}B=0>pBZ{db<- z534rm>DJ`nsF=>7Q;*lb{QLiU=+^R54^q;*kZ@?a>x;fjM~Kh2E1BB~-#c0f=0&Ba z`;LEgE3k=WT&zpvH$ju#LY^srbAP*nQ&G0IJ)7#_bPYBL)TSLC#F9;Rn z6<=6icy!#jx{}PK?7ZLO0H=R#GkLU3?F1U+t6X?JpVhNt`|-k3mSX-jaGyW*w2F4u ze%3WlM%sD;Zp%&`wRykF$_;8r3iieDLkbANWXq$uUb`8qI03hPW21X2Y~PX>>-sN2 z;NzCk^#u_A;auR1u?Vq?_EmtrEp}Syz(B7FOz< z&dlZ`3Bv4wJmoF-eviCzqw6CIE$Y>PfG!dcc`xU+-W^l>9Mvw4y6=tIhD~YK={4}- zeYwn5$gCiBA)P}xLQxktEj4_RC`n{EP^B3~uij{&!p>QM&|=PM?^BSl42O5jUj#bz z)9DUddv=SMe-3NYBrwQMTjyehZSS_al*LWj$4Q_dX>TUC>QYUv<(}1*XNzRU+@(*| z!$luSNC`|_`ydD=8A5Q3hfIE|Dv2Whz z*c`Ht;iWo}LYNk3(VikV55R45)hUs9Ds^<**D@77>Z>m!cPn${at-}3-{(sxbws1; zdVJU*AGx46g%#mq!TO0Fs*&id$5eu7S{J*w#lO8l3qdw0;1jeaKiG{q;IfG3c!U-t zLzjg3Ityp#0v(<(7;C`-92{2SP9?v=TxP4m98@MDIN}&%P5GYi?R5Ws0X?aLiv+RA zll{RFNXiLo=-*nIA$hBY!+vJ3RM82R_w|y^l-8NfeIhgMMXEGkI(6`qSYMrs4 zNYM!lynQsouT4AQ~*o%!SU# z+7TUo{*yVUA_8@`_oL$DD~lWq6nA)CTOnT?^Z|$`X0+8MpqO)7e;^3W2W?XR=j2(m zG?v*&;(?1;#xngkD{!Jn1XUVd(HFP7^x6HIX5g`c2x<}0Kgnw;B4S`$vxFFwpTFme z?85}ZLS(i7I0ZZ`i(P~h(IpYf&}U(sTJ(CKGG``3&rqoZ@gb4|?gl&69xjmSLnQh3 zMHS^}^vquKAI|=WTU=aGmcoiCxG^`cDe4>M43sd*E6{=xT|e7QOa(KZ7@J) z@}HZ4`;d@rWDMzA+%X>JOJj;%pCn zX5Y9nDg@<5)%bi8sJHV?i{9I_lMkCYTg;k6^~L=?_r55=uX-h7KjeD<{U%x|(dVIg z_8Oc8qAbQO<8>ET?0eEEs~U61!&Diq%c-q$HYSyld|e#}9g+J8pS)<@H*a5D$fl2( zXz0kKMK^mOlv5lKOa2R#JN+<_7=I>&=ZL$Exf(0<)oqBas-@5~%Xg1ipzQ4i7cRWH z!&ekCaG3h8OwNXjESE+)I_qwbdNFe(sa!^AV%aOEX>vOUsmAHo<+29XNIeiq3HiUX zq9STIud5Dh_9d1Ee~8pg*0>eLmSC;X8TVU1#?}O$LOtx{V?F>&LL3pwT>WAc&0k|y zuPTjV#XhT#i6{4-O~{T#@!tnRaH08I{n0t{^2ib$P-EQ=58fR7y}E$FrQ}kCcmp|Y zr>dTbmv!@$_`{`@Sp-6;B#k~7xnzGJu5{di4TL#(FsjzxV$x*4!98d04pfun*k-qz zB;cEM>WH_kT*yMnSIA=+`S>3y^atlTf9fA76O<*AL?Xj?lAuNyO6L`?R=i;ZPoZsH zZitMBzTH7jbgtomhu z1?cS*oLHP>z1wT}a>Z~Cg)K4%v^c=u=2GFmbO%Jf4$j-c(-IU+Zl_j+OS|PE#7JXp zqPuD^qi7^J_(8PLa5j=h!;A=LEeJWdmn4}BP-oCyU1w&i1RSKk>UCGzu_@>eRgT&U zICd~SRHcnQag>$STRmJFNQ`;V=bp`<^G^GWbb0>+5$DLW8hq8*U?r~uL4mC>p>uk*KSpl>sekir>g(lAc?7R3K^go> z_xy@%b;EjM?A|CM zpwj*KdwJWc=Xz%vaxF^-vlWkV;zIdIW5`zmYX%XsM z@;i7xv9LA&+VF(Mw)|q=lt!ycV<0BGQ z*I)qc-tYM??S9b+XT>U(bEulkT8Z&T+!8Dizpx^%uLEq%Z9FQi7O!Q z8j;7Mcdzukld36mm($EuPgX>Y$GS)xSGM+C^;jG)a(X-==O;@^HMHQvyH_7Av~W%0 zQ(h^aW>c8Xe@)e98I|N+z8w}AnhSt4hCr>=;rKP@)8AK2!^*#B%H)d_Nchv8{4cV6 zqDK5LQwyo|RN7gLu$gT$c5Nwxr7`E!!|9Sish}V(W8)C%bJ2`+91^?LHV-F=bp@Ex z5`6bo#7}6b zyuQ|Al~lq-FQG?8qID+e)Q~cny;573Jn`EU9AEz|pibP?;NYrMr|$*UCJQlxv;~(F z-!A;I`qwtIEWt}-Uj!$OGZv}VWhtnpFmtrcr1-;;Ni8!e zkL6DgB@b@@7R{j-+BvIIF+JtEi*~4zTse3+nM`csz1!Pfg9Tf;{IusFZr<7yrQ&9m z1=;C45!)^Syro^Un8i zEFZI0=k){(m9!%O@Xl&|5}Zn&lKG~EVeWQW;6LdBJ#W^K*J{Bp!>H_tRbFLGj{~&Nitq7rNMzLKY*nZ6D2vp+G9uj@wD3FZ1^ceuo8j`RGBnASK;QmrxfbrW|)ontzMVH73b4f=m3u zf=jl`&PgEmaQ~n8^{p`@(rprU{d0t|=!E^!8OBZ8?BGkEN8M7IN);oY?%SB3JNiP& zypNxhSz;|&!>GTHakPK^gS3x!_iF`&8_!28b_V`m501a{ry^fSB$B<@ z66uQJ-(Fv&o!pp%@s_{ZTIuOg0OodrTiOul%=~qM%e&M_%VO^86etCReGb9J@dbPs zEFPPJ>caZj)^g=+9X^HlhnToibAIEiI^uZy9#$zL`x<&T@!-M^3yYvY5)bxVN43?qrO? z;-fc9O4coT`TGc}Py0*@3oZgK8Q_o}0A&6k`OV$n-L`oK9O5%`l^HFF{7Z~2Cdr~} zT`;CK=Ull))=vfj{y##{vdT1K@N>TiHyn0GpsOU`DDnX*g(cTYjNqD(&8|NNg^#Jl z88AP$8P|`OvXNsD^{BXaP`sEwg}E5pmIM5?@by1iO-nXuYhqeezwKkRbDEDh>#$=w z7FPY>D3_!A(YdogUiIg9nQ4*B7`N_d!HJ?GCN%)9Au99O;)RS9fJsVQbhQLoX1P&9 z9OOo@j0MGde_-I!xcmhFe4V@JF+`xsR{2S zPon+#tlP$pPiGjpf}aIIaNH!1*UpyA-psUK+DKcxs_To01DWPKwi+xQZtve9@QlvO ze=?Y!WiL+=P4VNfKj*jJ0m{i!R4vz-ZFUFzk$(O};lE`?_m8=89S&X@rx#*L5Fj%9 zQIbcAl_5!zUO4OPffC#l1Y!wTY04FF@UKYSDv@Zfz9h4MV!a+TSDOadk(Fw^K5yA= zMLF@Y3y^!efI(DQ_JeMlf?^l_eZMn+POU}8;34P_BS#;PD=pzgrAyguIDf_T5G43z zrCyY9c!}@!+6k}TBYfMu-@HY&DnV$`?%}xk^x_gm)p3%CwsrjdhEy3|l*%B016cE- z=jZIbiSOBfpRatje7%s^eQaQP)KC#IYGwQJ9?|HF_=fO)WC{o3#8|XST{u$=mn}|)bW8Qj{DMY zWk(INMHIN`6roOED)S|LMRWe}bzyBX*pvLu#3J z^r6R^okUb6niz&a7U*Oku;P&@m9s&<1=oCtkD2*aL6xGwb+=y>cXCMyJ zGHVcWfZcS~h^tAZMT(;By{_+nsEKB+)nm`PUL<%BN}#rH$m7^v%1IgBdFS3!P9_sap^>ySWBye2(W^c}v60t~G+AadqT znH580x^{fOS_bhhHWG~!ik%pCKTKVi;96l_4~6VL;Xw=G`pjnH>o-ig*f4M!QihNkwA!|VCEQzMpFfhm!kD5`PTjXpg%?Zw zJS~HBJhYDaoi?nICvV*AjshJ1#=fPS9yQcXM`jMCzYG_nJPczbI05I`=I-C!R6tkW zFAaPx7@n&JJ{~%yL&&C&=5l~u5lhLdT2w0 z`N99T?M^=JH)djE&gLhxi85c-Qn!>OA8VCZXQsdC#3^+Z*)G&X+D8g$Z8PJnU7nx6 z-t3Ei!UAJB9A#2Xv_*P0f@w~f*U7qDNub9-{(ZXfiSQhFh{seJY@w4SnPM6QpjeB$ z{Bt>V?H%xlG!9X-6pm_(HhfARQGT!e-2i6`U2dF*bFU7IG4ZMT86IXiLdLg0-k&H- zqK30YQF^4};m0h2b2jJ7>+j{5!%LQ@uxrxz1^Nvdt|~6$jk?*&i$g2wRN8h5sS|(< zr-Uf$8#2D9I{d54?Q#4)ot2eMMotbTve({~Re}dPN=>g@dO+QylVXx7#Tdyp8wNt$ z#z)#(1%ppzFunVgEud?)HMW?AZaC5yW8)fn9vzD_?pQ_MVu&8p^n)-a@-AOGl|A6j zuwmb&!9H)GUPpBS8DCvPA5oFERG2d0@$88-=`#mww}T7G;kGO#J?O1fa7(;uhs%5hlnicm@2L(%T%7VRDub(Ee75vMiS~AVpojzYxfqGcs<0>+g~J=y8<9St zKFjL7S!=JZF#lNAP=S^5D;cHV%#Baf)jKw<=KY|Kw0tBoRQBJ`&Z-`#?O5}Pekb@- zKGc&hk{Qd_*+o`{_R^kD?+`}#&0$L?nN*N%WgiXG#bwu{5haHv5l?Ibf(kIFcEug5UO%gLe_Pm1^p9`1 zF`r+#O2SFuvkGYbvWQ~8*JwmzslXtT7%uW8A*2!D*r;g z5I$O+NQXhRE=(3|<^`g0<=OtzMjsEvg6D$f%9f|XO@BKs1sRCmF;OVy0C|U2n*sOz z$C+`P8HPcaE};WAMH{(uC)Kd64_mZ?i5w{yE*$F=y;oX!G69p8Afi^!>#kFg9%|JF z1nD3~iD3!Cp=Q@^ro%nEpCLd}hqfc*84=gl%45#585hmkE2)wIZoM_@`h|UmOk%_p zK^P9Ni&JvqY@`|2Lo*=Z(Lz*v@iQnn_ z6+k5eL=5S>`6_5`8L==Xek6khZ|o*7o={VT+?^QzZv7yB5-cmPNeaC;RG6CP3Nq`r z>KJPk!V)eY{LvdGe_vX{D+VL*!@M7%heI?0zG7pAjNwu;M&U#uW-V&@B=+T%O@9|E z^m%Q@RpHKx`FV|DKM!f^l^+l|7pRCb?}h7fPU|g{53L-CVf@)Hy0 zp_$MlAKrkC$xv&8AVVHHFH||%*_f8-HKq`Rl7LwyrU~Csif+OGi3l*P`o4SJAAAMw z^L;ty9w20Tg4!%8gEu?*V#R$Pb;Pbue*eep&%^(8)<6ouQ__B{vB$;Qgs$87{vrfb z)z}tKp*MLOzxWT@h8h+^La7@83%jWXCvrl%36N0E02zV{81=Z)u(`@~ zHz*9xVYo&l9!olMYgdxI_Cu(r(E9tVkM~$Ni`AwtrT?G20K&5&F6YbW&kKpQEJ1+1obRvI230Gfy1dRr z#1=C9#1tZn0PLLYzyV7?6J4xcDXzg;G;BH)S*chssI9E1U1YdlOp4V%O)Z`{YB1Pv zSoL=W*=ZHxJoG>gxGRGp;=GCo=8*;I&Lcmi2(5+@H$@b`(v$B=aanD!4t)0u{_)8y z66@HNLyH#J$&9EPOY9{hU!>5CnD?Zp6^j@%YYgIF&6+p1TvO=B<0YDp)TAF3eZ+A& zE%)icpNj$PtuHBn(6{iFJ080g1O?&A%7hyQf0iaj+9H1?+!n4F!CpF_@8`LAi9G94RHU%Srx8Te8twKC=1!p3y3@~K;wWzJNxa;hc3uB==$^Y5!^L|4 zZQUc+Nv%^K;1$`BGxY1;>^uWXxND#4uKT~IAz0H!Y-PIgKH_XWyRV_|YaohDBMCTu z*sE1n?a>oR@B>#u1wctYKOS=y0K=v|j~f@SeNg>&dGijM5tag8p8gXqnkKAIM(X<2 zdx;^i8nfbBNMS)yC!MWAkd$I$lEIa?5zad6NFs#O9LdQH@N%DM{DAu#@)n zrxRXlZ+$WWEG51WxeUFjHy7iLX(rxwo-i`!)c>aaVPIgpeqdm~-tF#b(zB~RZRype z*s0gMo7yP>mhem1i-rjRLo_Zo_LUpg)^eFnww=x+Lml)Ymt-s`g)rNvk z3l^hZQxLx?BgwspK8JMsKV=ouh*agug@^+My_S&T_}66gLEQ=-+#csR!qD-7O|$km zkuAeWX>Bwxtzr8bAYn#P-TE8V&qdAen_BU@6jF@~sT zo3QOVX{5>U-4bMZNzwkm=wUIIX&Vu>uQ_u*3d|m@$WzRy^fF)d|5*t6i(XF4_|&n; z5O}0pXam#>enIkhE7yTz=hcG$+~=^sO6$yVFh=MHZsZN>Fx>v_-@+JB>x=)imTUS= zd|ajuT*r!qOTNwyFvQIfCYYm8L&94SctToq?<|>P*cXV(QwwpMqAUNk5@*7eG=1>R zJtx>)Mni7x1}K}wBgb|Uym-XG8S0Ka3rcJk4j{HE5%~%mKu&s?VM^lVtK!>NR`<*d zg1)z7zF+{ID0(IYy}=|I;rGKiheRK4=k6EGa?!E3RcTnSDmnp(DQ|Vo16Gl){M(Iu zJfdZZfCYVqJ$IU=27aAs&76c`{SFbYp{AkXx)(amX~SiI%@gVGPXC+tBb! zt-O0}nxuj#cP_LrlW_mJ<$-XN(O=m87qjON3V<9HDu|6(GkSIo5ICTf4tv+@*!SKVUW{ zqM~%i-8SX(m!y%=eG#CUC$Qcy%8b>p2@I22=WIW!%UFEbrAVIA#(&Fv0HEz{o*i3M zeuKk525?7qr8m&9Da^^x6LcpY0SCCJ%bS&j--1>RF%v#;#K(F!00)r=`Q`MP#^I4I zpznaM0|aw*IPr4uVAPq<5y3EJh>dvB(?=*4EUx&B&bPDHAKy36sfk|Q$)Bc%*cM`w zNj<_OpTx4f_SW-+*og8knLMEUfzkZoF)2Ru<#z4d`z(AXS^SC8AmoCtN=2nfbnev) zLsE1`eAK;RBqqOZBnJdz5_i^s|I%(D)DuE>W!1}5y!rzF)M#W@I;nh+1pX_9Ech-i ziyF&L1qT(&gPB}Q%GR0yiPuB62)7DInT~*HHJgD1ART4<>^FyKTVc{$we=+K%)12H zdb{aEH$b#_MMb4?W_T}T`#G)X21b?e=JAwl+5V6$RN-i~NELA}#(Zx-0RW`OI)S zni)IEQXt43!Uz3tx}O1DLQfw>nhP>usCKB{qPsQ|CU=cdvA+8UW7p#E`J3YBVpkEHXH(YR6RgdE?mwHp{h zx=@&*To?qv9`%B3I=*CtR$4YIT=}?^MRmy-$SLdTiiLIsRSj1!@A8IKoqb^vu*24w zzcUk^l`3gG6i>d6hCWBzeqqMc?L>35g;X?pqV4XG^ow9&E1<6ziTU>BUH1U3A?!Ig=_5}t zrH)9K&Ac=s5YGjH>1mAq8b<+)Ec>aBZ zM?HN}Pw7o1$wTgV_-d%Rzd2UZHXm?|G+T>s<0pF#C4D?5XHVd-^DMLEip)}Hh}lnP^GgJcKe~fh z2Rd!`@|;^xVB`8{nXZHL|t(*85NXA0i(H^cURlzbg? z-h8zOM*Ej#2cH0ihAjMnMeG?$Wi$of?HC>bx*VvPW*!h1^Is?(pXTV&&vf9ilWYS3 z_krh1zDi`6$qYYt&%S<%Q$a*uuNZkV&GJ(GBr2FYg7X0?cv!DW#A`OMQ*GhplBo?IrU06#L}IHFF@- zn(xmG9TX?MPm96oEPPjxhZb?t8ljeWhxKY?uH`!0Cpg_mG`y>Q@ig`Xr&CWNIqIPT zLS|Sk+ZtV10t7pTb^Moi-wN5lk$-A}Jb0Fz7|RmI{xB!M8{S`FHNxBw_I)M_n;ilueXfLSFMJ@6YQ#fJnJ}9EoL^qC=*U5+<*x%ZUlkiWqQjWH` z;{(qB$GJv^{6hb`G1J@$buyLBZ2jM{CH>-Pqo#|MSB2o|ZjxMtge#Sz4ouVT0M>fu&KyaGav zOPxeAd-;eGzQ!t89XECybCDIDf09Ugg#fv_M2h&D#eWmZl$$0{QUFdkOCAKfI%eG{ zs*o3e(Y;_*IrNL`#G)wCL6bj)rz*uv16b>YCTcrE;&HY0O=wm8{^mW1HMQ zRofgy|M*b6mFXiR(dS+2Ai3+c=Pq=fJ?2WLGFnV8Hz&(e959~105wbb+zbZG) z@p6|TFL7+Rq{5x#Uo@KYlvEs>ZMr0@RixQB-|xJNICxEEZQgwOtGy#@ZRqql?XJtb z1g2!cV6hv^vvM&Cc)IEgK9t@z(C|mvrX=H5aO%3-^?wYsvHFnHTBXu!*9h08uo19L zM{{5pYb(~`I!V+a=8bvF+jcuZV%iYBl+DNZYHnY|#YvUs7N+;rbH!4HaFg?SZS3E# zxJ~7(lJQ(t%E5tFbxpk17G!oAYh42yrMo{W$nL>9ajr!i;~nPl*8jd)6EzjS?JPNj zDcK;*(ERaY&8q2O%1!EwF$)&DqaEHIuYA>jE(DeyF==`OGImvnrul5$hj<+6+04em zr=&nTI`ULj!QU?qyN#BR>F0npkXrBe7!#!wq4WIlsInC+Yea*!t&R@t$W{pU{PL>3H{VMO{hk|jFnuOys!gEs*jIkN*pvxq9j2B#i3Qm z0Alu7(+-CA2Fc=&9UJ!2}iOy=P$O6-BpM3k8+vfIqy+!v~gXbgS zmOP&|^}?M#e(dKF!LGBIE^tatuAIV)P4c(fXl#^PJVddv27CGgFxK0Rh9bs1Sef({ zXn$xp-H;XlQ*@%R(lV4ZB+qw=3?iqjZtSENNHW{uPyE?f9(6(v((BRDjS|X|ryHzs zP6KCFQ^tTio%A_oXFtz}3VZ^o2fye-cMY5gj^88k`}`&TSrIqQvmatVMY zTdTpn_l57*=xf1`abiWRA&*K=yDY%*D|15Q!yiQ-iR`SEm#U5v!Ym)Ee_kX`h>vky ziUEY^cG8vVgbmuI=bo-(L7D93VZ|MU0zU}9wy>6+jP8F!L$2cfqAcntJ9kf9P zoP`T3Q&IPn&{nj5@R{%33%fSQS=E9Q^lpYwjgDE}ILJP%F!1U&(gu*-8i>6^xjefn z%1SmQB1)O1SoH$HnehxX!7rqOh0xRg^p(6ZVTPfq+g|QE4sgRiYCsa@yHv ztFI7ayJ@^5I;K4Jh1=oxr<#PR$hGErD@+;5=kO5H*^DE~4i6>( zG?lU>N9={p41%eQ%V5CP(f;PFvLLAdwr)H&UhcQ#6@?7K`xnP0*=r>R1VBf8p z7uz%iaj|de%PvNa=bG06JX8QcQD!xCkt$1F_=zpz%#YESyh|HuSR=gHQ!CMC zCAAaewRyS^Xsg+_Ygk8=A$-q6!-#ed>sxJ%r2k@I*uc9#B|Dqh7!-Y2zJiNQsxl_> zzk!YxfFOIL%$tj#z@V)kEzKV{XlrqjOe{F)SVoDaU|kzt*JG71DNXzqDy8=s!V)!D z``k?@k-!SV@@dIh;yjfUcTH0zk=$%D7C6v#GF4*c=WbW))rWP$l~@*xGTqv8<>~4U z=s+`WG=%#dwsslPr$4ED7T%%8MRn+y3%4Jz&gatg> zJmhF}9Xjx^ z5`F>~=@Ud;1}Bd>Q7_yu?ZU{$H>tC%v{~w|h_~($S-eDIno=UH1Q~AaypYE-H3tZU zrSMf^0_Q@1OfBaI;~jA*fmeym6z0Qlz&hdjPg<*P>O+NfmZCEk* zn8M0RnBfpIW8r?LIn2%qFGq;lA3RiDQMe!zY&u z2gz9~bty)_7$+*nfFd)QRZ$un(So75+0J0V)>P$VNm9|lr<-t{iRw083C<-(EtglhxV%wX9#=+ z%~{qjzUr{L!n9&bNEf@~sir+SdFQLU1)<;8-u=dJhiZM z68OlmpRewc+KyJcn0WPRm%a9gHs>y~q_GTQ!3Q9^sWfPeiYSG%w3Ou!-?AYTi61P~7PyBf=Lpi#sfjUz;gRV4{?xsuRVYSW^8`xKsSFwI zL`XbS-I*iD(pQP6gJ&_ROz)MBA$~oj5Bq@j`gFWM);(CYn4q5_kB9V)2>{QIMU_eB z*EJc~BUz|tj+Tv)jhc{Iy-u|hMh{sj#@p63P@TooCNlCHGhCaM-~_s?kZWbzB7Zoc z1%sbiUW9uh>M9I4rvgLJ-g-OLV;O5HTVeodF1O3Pru>+~D`Dm8>Ifd8i!Tc5fz2 z5H4j2)NGS7IC3TA4aBf{#dR!uW*lf_(TPp&rMjr_48D!l`3J)nmOQ+-NP!licFS$8 zF$WxZS!XkrZ1=yt;58HyFu?4fk;)5@{Ue4y-8cp6elx+;+AW_o;ydK}oP>3X0`Rb&Y zKP?i{Xl#s0RzKL!LRgD?zMqTJefiizoOK$egEZ4#+-{I2FgE_8ku>i6;$+bQxLckC ztu(qdP%P42#VrgXs7PjSoenEMv$bC^gm!16X;^G4L$^aHtN2ca5@?4 zTXF8gs@G!P^x1mDeFylwC}KcYmELMW@DP5fhF;shIRCt!4?;bOx*?)8l&}-r5BA)k zT5}lf|J~@YSCL>;NIycKI|A!)rIJN<*XAB`U{;t&UEQpRfJwBO;6r=QC6N@FszT@m zP-nmVsdGrhqOBjLO5^Avao<91O=dpTS4<@}g&9zaDo!6=^@l8+Vps}ZrzT!E8Pbew z1!~Z1o`Wy1$Y!E%A&}vc=%L%Z(OMb)U|GZN|FN}~>bh_CtOwYA97oTXOEHk}khu4$ zq|wpLajOVi6U0>*(G;dqKiblGZ6_>lwdX(6jIQG+!MH1bb(aJcZ8NtJRSMgLK9B}J z@gejlVZUXSF05%6AkawPCF=$YE0!?us)9&Q5%w(j5N3>;Z*%|GNX!&$OIdkU*xMXw z9*>r2z7!hW{yyc6rH?Wj8+RvQ$t`H)R3LTU{sJ{)%iBog8BorC7|-6Qm9o_Oc{~0b zj4;h*X5))uMA^e4h(sO%4w-26CLUA#w=mA{)=a#4`@hSmFqpg;ILj#Yg)I1*Qj`{1 z;DHN)0|5|jovOs69WI^mYbFS-;VM% z73%2Djz~FW=goBZkqO(C&edB^Bx_EPJ7fhMNBOlj_))Zsa3^pN_Y9pWt8d7EVTzMFYWqph}(Mh|8DN79~VvA3W>Orji=(HCHU?C ze0W{9=82o4z>OHo5hJ(hl$>yN_9v$^oX8-w*O7W#09F zHuJ~Xz3Zksxplq-?w_5ZqtIYf7Zhz;D0iKEV(a~9zxPfJtDFl?6ek^DN?q-+;CiIt zxlm>HukA|}I>B?foi0fefEkP0RKbh7*Z&!<>yPrA*Q^B|?!v&}>FVdQ&MBb@0JqaA A*8l(j diff --git a/lib/arc.d.ts b/lib/arc.d.ts index 26c6b03fc..5af1adbf1 100644 --- a/lib/arc.d.ts +++ b/lib/arc.d.ts @@ -33,12 +33,12 @@ declare module "daostack-arc-js" { AbsoluteVote: ArcContractInfo; } -/** - * ArcDeployedContractNames, and those contracts organized by type. - * Call it.at(it.address) to get javascript wrapper - */ -export interface ArcDeployedContracts { - allContracts : ArcDeployedContractNames; + /** + * ArcDeployedContractNames, and those contracts organized by type. + * Call it.at(it.address) to get javascript wrapper + */ + export interface ArcDeployedContracts { + allContracts: ArcDeployedContractNames; defaultVotingMachine: ArcContractInfo; /** @@ -55,19 +55,19 @@ export interface ArcDeployedContracts { globalConstraints: Array; } -/******************************** - * config.js - */ -export var config : any; + /******************************** + * config.js + */ + export var config: any; -/******************************** - * contracts.js - */ -export function getDeployedContracts() : ArcDeployedContracts; + /******************************** + * contracts.js + */ + export function getDeployedContracts(): ArcDeployedContracts; -/******************************** - * Utils - */ + /******************************** + * Utils + */ export interface TransactionLog { address: string; blockHash: string; @@ -160,9 +160,6 @@ export function getDeployedContracts() : ArcDeployedContracts; } export interface StandardNewSchemeParams { - fee?: BigNumber.BigNumber | string; // the fee to use this scheme, in Wei - beneficiary?: string; // default is default account, - tokenAddress?: string; // the address of a token to use } export interface StandardSchemeParams { @@ -188,7 +185,7 @@ export function getDeployedContracts() : ArcDeployedContracts; } /******************************** - * Organization + * Returned from Organization.schemes */ export interface OrganizationSchemeInfo { name: string; @@ -196,6 +193,9 @@ export function getDeployedContracts() : ArcDeployedContracts; permissions: string; } + /******************************** + * Organization + */ export class Organization { /** * includes static `new` and `at` @@ -269,10 +269,10 @@ export function getDeployedContracts() : ArcDeployedContracts; * GlobalConstraintRegistrar */ export interface GlobalConstraintRegistrarNewParams - extends StandardNewSchemeParams {} + extends StandardNewSchemeParams { } export interface GlobalConstraintRegistrarParams - extends StandardSchemeParams {} + extends StandardSchemeParams { } export interface ProposeToAddModifyGlobalConstraintParams { /** @@ -332,9 +332,9 @@ export function getDeployedContracts() : ArcDeployedContracts; /******************************** * SchemeRegistrar */ - export interface SchemeRegistrarNewParams extends StandardNewSchemeParams {} + export interface SchemeRegistrarNewParams extends StandardNewSchemeParams { } - export interface SchemeRegistrarParams extends StandardSchemeParams {} + export interface SchemeRegistrarParams extends StandardSchemeParams { } export interface ProposeToAddModifySchemeParams { /** @@ -354,40 +354,13 @@ export function getDeployedContracts() : ArcDeployedContracts; * hash of scheme parameters. These must be already registered with the new scheme. */ schemeParametersHash: string; - /** - * The fee that the scheme charges to register an organization in the scheme. The controller - * will be asked in advance to approve this expenditure. - * - * If schemeName is given but fee is not then we use the amount of the fee of the - * Arc scheme given by scheme and schemeName. - * - * Fee is required when schemeName is not given (non-Arc schemes). - * - * The fee is paid using the token given by tokenAddress. In Wei. - */ - fee?: BigNumber.BigNumber | string | null; - /** - * The token used to pay the fee that the scheme charges to register an organization in the scheme. - * - * If schemeName is given but tokenAddress is not then we use the token address of the - * Arc scheme given by scheme and schemeName. - * - * tokenAddress is required when schemeName is not given (non-Arc schemes). - */ - tokenAddress?: string | null; /** * true if the given scheme is able to register/unregister/modify schemes. * * isRegistering should only be supplied when schemeName is not given (and thus the scheme is non-Arc). - * Otherwise we determine it's value based on scheme and schemeName. + * Otherwise we determine its value based on scheme and schemeName. */ isRegistering?: boolean | null; - /** - * true to register organization into the scheme when the proposal is approved. - * If false then caller must do it manually via scheme.registerOrganization(avatarAddress). - * Default is true. - */ - autoRegister?: boolean; } export interface ProposeToRemoveSchemeParams { @@ -425,9 +398,9 @@ export function getDeployedContracts() : ArcDeployedContracts; /******************************** * UpgradeScheme */ - export interface UpgradeSchemeNewParams extends StandardNewSchemeParams {} + export interface UpgradeSchemeNewParams extends StandardNewSchemeParams { } - export interface UpgradeSchemeParams extends StandardSchemeParams {} + export interface UpgradeSchemeParams extends StandardSchemeParams { } export interface ProposeUpgradingSchemeParams { /** @@ -442,31 +415,6 @@ export function getDeployedContracts() : ArcDeployedContracts; * hash of the parameters of the upgrading scheme. These must be already registered with the new scheme. */ schemeParametersHash: string; - /** - * true to register organization into the scheme when the proposal is approved. - * If false then caller must do it manually via scheme.registerOrganization(avatarAddress). - * Default is true. - */ - autoRegister: true; - /** - * The fee that the scheme charges to register an organization in the new upgrade scheme. - * The controller will be asked in advance to approve this expenditure. - * - * If the new UpgradeScheme is an Arc scheme, you may omit fee and we will - * obtain the values directly from the submitted scheme. - * Otherwise fee is required. - * - * The fee is paid using the token given by tokenAddress. In Wei. - */ - fee?: BigNumber.BigNumber | string | null; - /** - * address of token that will be used when paying the fee. - * - * If the new UpgradeScheme is an Arc scheme, you may omit tokenAddress and we will - * obtain the values directly from the submitted scheme. - * Otherwise tokenAddress is required. - */ - tokenAddress?: string | null; } export interface ProposeControllerParams { @@ -505,11 +453,10 @@ export function getDeployedContracts() : ArcDeployedContracts; * ContributionReward */ export interface ContributionRewardNewParams - extends StandardNewSchemeParams {} + extends StandardNewSchemeParams { } export interface ContributionRewardParams extends StandardSchemeParams { orgNativeTokenFee: BigNumber.BigNumber | string; - schemeNativeTokenFee: BigNumber.BigNumber | string; } export interface ProposeContributionParams { diff --git a/lib/arc.js b/lib/arc.js index 34690f084..19083cf25 100644 --- a/lib/arc.js +++ b/lib/arc.js @@ -1,11 +1,11 @@ -export * from './absoluteVote.js'; -export * from './config.js'; -export * from './contracts.js'; -export * from './contributionreward.js'; -export * from './globalconstraintregistrar.js'; -export * from './organization.js'; -export * from './schemeregistrar.js'; -export * from './tokenCapGC.js'; -export * from './upgradescheme.js'; -export * from './utils.js'; -export * from './wallet.js'; \ No newline at end of file +export * from "./absoluteVote.js"; +export * from "./config.js"; +export * from "./contracts.js"; +export * from "./contributionreward.js"; +export * from "./globalconstraintregistrar.js"; +export * from "./organization.js"; +export * from "./schemeregistrar.js"; +export * from "./tokenCapGC.js"; +export * from "./upgradescheme.js"; +export * from "./utils.js"; +export * from "./wallet.js"; \ No newline at end of file diff --git a/lib/config.js b/lib/config.js index 8262c657e..74bb08c9c 100644 --- a/lib/config.js +++ b/lib/config.js @@ -1,14 +1,10 @@ -import nconf from 'nconf'; - -// Load configuration -// First look for overrides from the command line or environment variables -nconf.argv().env(); - -// Then look for overrides from modules that are importing arc-js -const path = nconf.get('arcConfigFile') || 'arc-js.config.json'; // Path to configuration file in calling module -nconf.file("external", path); - -// Then load defaults from our configuration file -nconf.file("defaults", __dirname + '/../config/default.json'); - -module.exports.config = nconf; \ No newline at end of file +const defaults = require("../config/default.json"); + +module.exports.config = { + get(setting) { + return defaults[setting]; + }, + set(name, value) { + defaults[name] = value; + } +}; diff --git a/lib/contracts.js b/lib/contracts.js index bd05f78d1..7ad5de78a 100644 --- a/lib/contracts.js +++ b/lib/contracts.js @@ -4,12 +4,13 @@ import { requireContract } from "./utils.js"; * These are uninitialized instances of ExtendTruffleContract, * effectively class factories. */ -import { AbsoluteVote} from "./absoluteVote.js"; -import { ContributionReward } from './contributionreward.js'; +import { AbsoluteVote } from "./absoluteVote.js"; +import { ContributionReward } from "./contributionreward.js"; const GenesisScheme = requireContract("GenesisScheme"); -import { GlobalConstraintRegistrar } from './globalconstraintregistrar.js'; -import { SchemeRegistrar } from './schemeregistrar.js'; -import { UpgradeScheme } from './upgradescheme.js'; +import { GlobalConstraintRegistrar } from "./globalconstraintregistrar.js"; +import { SchemeRegistrar } from "./schemeregistrar.js"; +import { TokenCapGC } from "./tokenCapGC.js"; +import { UpgradeScheme } from "./upgradescheme.js"; export async function getDeployedContracts() { /** @@ -23,6 +24,7 @@ export async function getDeployedContracts() { const genesisScheme = await GenesisScheme.deployed(); const globalConstraintRegistrar = await GlobalConstraintRegistrar.deployed(); const schemeRegistrar = await SchemeRegistrar.deployed(); + const tokenCapGC = await TokenCapGC.deployed(); const upgradeScheme = await UpgradeScheme.deployed(); /** @@ -52,6 +54,10 @@ export async function getDeployedContracts() { contract: SchemeRegistrar, address: schemeRegistrar.address, }, + TokenCapGC: { + contract: TokenCapGC, + address: tokenCapGC.address, + }, UpgradeScheme: { contract: UpgradeScheme, address: upgradeScheme.address, @@ -59,7 +65,7 @@ export async function getDeployedContracts() { }; return { - allContracts : contracts, + allContracts: contracts, defaultVotingMachine: contracts.AbsoluteVote, schemes: [ contracts.SchemeRegistrar @@ -71,6 +77,7 @@ export async function getDeployedContracts() { contracts.AbsoluteVote ], globalConstraints: [ + contracts.TokenCapGC ] }; -} \ No newline at end of file +} diff --git a/lib/contributionreward.js b/lib/contributionreward.js index 4544076c8..7b3968e6d 100644 --- a/lib/contributionreward.js +++ b/lib/contributionreward.js @@ -3,42 +3,18 @@ const dopts = require("default-options"); import { SHA3, - getDefaultAccount, ExtendTruffleContract, requireContract, getWeb3 } from "./utils.js"; const SolidityContributionReward = requireContract("ContributionReward"); -const DAOToken = requireContract("DAOToken"); class ContributionReward extends ExtendTruffleContract( SolidityContributionReward ) { - static async new(opts = {}) { - // TODO: provide options to use an existing token or specifiy the new token - const defaults = { - tokenAddress: null, // the address of a token to use - fee: 0, // the fee to use this scheme - beneficiary: getDefaultAccount() - }; - - const options = dopts(opts, defaults, { allowUnknown: true }); - - let token; - if (options.tokenAddress == null) { - token = await DAOToken.new("schemeregistrartoken", "STK"); - // TODO: or is it better to throw an error? - // throw new Error('A tokenAddress must be provided'); - } else { - token = await DAOToken.at(options.tokenAddress); - } - - const contract = await SolidityContributionReward.new( - token.address, - options.fee, - options.beneficiary - ); + static async new() { + const contract = await SolidityContributionReward.new(); return new this(contract); } @@ -132,44 +108,11 @@ class ContributionReward extends ExtendTruffleContract( throw new Error("beneficiary is not defined"); } - // is the organization registered? - // let msg = `This organization ${options.avatar} is not registered on the current scheme ${this.address}`; - // assert.isOk(await this.isRegistered(options.avatar), msg); - - // TODO: Check if the fees are payable - // check fees; first get the parameters - // const avatarContract = await Avatar.at(options.avatar); - // const controller = await Controller.at(await avatarContract.owner()); - // const paramsHash = await controller.getSchemeParameters(this.address); - // const params = await this.contract.parameters(paramsHash); - // params have these - // uint orgNativeTokenFee; // a fee (in the organization's token) that is to be paid for submitting a contribution - // bytes32 voteApproveParams; - // uint schemeNativeTokenFee; // a fee (in the present schemes token) that is to be paid for submission - // BoolVoteInterface boolVote; - // assert.equal(params[0].toNumber(), 0); - // assert.equal(params[2].toNumber(), 0); - - // console.log(`********* options.avatar ${options.avatar} **********`); - // console.log(`********* options.description ${options.description} **********`); - // console.log(`********* options.nativeTokenReward ${options.nativeTokenReward} **********`); - // console.log(`********* options.reputationReward ${options.reputationReward} **********`); - // console.log(`********* options.ethReward ${options.ethReward} **********`); - // console.log(`********* options.externalToken ${options.externalToken} **********`); - // console.log(`********* options.externalTokenReward ${options.externalTokenReward} **********`); - // console.log(`********* options.beneficiary ${options.beneficiary} **********`); - - const tx = await this.contract.submitContribution( + + const tx = await this.contract.proposeContributionReward( options.avatar, - // web3.utils.soliditySha3(options.description), this is available in web3 1.0 SHA3(options.description), - [ - nativeTokenReward, - reputationReward, - ethReward, - options.externalToken, - externalTokenReward - ], + [nativeTokenReward, reputationReward, ethReward, externalTokenReward], options.externalToken, options.beneficiary ); @@ -179,7 +122,6 @@ class ContributionReward extends ExtendTruffleContract( async setParams(params) { return await this._setParameters( params.orgNativeTokenFee, - params.schemeNativeTokenFee, params.voteParametersHash, params.votingMachine ); diff --git a/lib/globalconstraintregistrar.js b/lib/globalconstraintregistrar.js index 521bec3cd..85d59fd3f 100644 --- a/lib/globalconstraintregistrar.js +++ b/lib/globalconstraintregistrar.js @@ -2,7 +2,6 @@ const dopts = require("default-options"); import { - getDefaultAccount, ExtendTruffleContract, requireContract } from "./utils.js"; @@ -10,35 +9,12 @@ import { const SolidityGlobalConstraintRegistrar = requireContract( "GlobalConstraintRegistrar" ); -const DAOToken = requireContract("DAOToken"); export class GlobalConstraintRegistrar extends ExtendTruffleContract( SolidityGlobalConstraintRegistrar ) { - static async new(opts = {}) { - // TODO: provide options to use an existing token or specify the new token - const defaults = { - fee: 0, // the fee to use this scheme, in Wei - beneficiary: getDefaultAccount(), - tokenAddress: null // the address of a token to use - }; - - const options = dopts(opts, defaults, { allowUnknown: true }); - - let token; - if (options.tokenAddress == null) { - token = await DAOToken.new("globalconstraintregistrartoken", "GCT"); - // TODO: or is it better to throw an error? - // throw new Error('A tokenAddress must be provided'); - } else { - token = await DAOToken.at(options.tokenAddress); - } - - const contract = await SolidityGlobalConstraintRegistrar.new( - token.address, - options.fee, - options.beneficiary - ); + static async new() { + const contract = await SolidityGlobalConstraintRegistrar.new(); return new this(contract); } diff --git a/lib/organization.js b/lib/organization.js index 79de5fdfc..3a3bf1a82 100644 --- a/lib/organization.js +++ b/lib/organization.js @@ -2,24 +2,16 @@ const dopts = require("default-options"); import { getDeployedContracts } from "./contracts.js"; -import { getValueFromLogs, requireContract } from "./utils.js"; +import { getValueFromLogs, requireContract, NULL_ADDRESS } from "./utils.js"; const Avatar = requireContract("Avatar"); const Controller = requireContract("Controller"); const DAOToken = requireContract("DAOToken"); const GenesisScheme = requireContract("GenesisScheme"); const Reputation = requireContract("Reputation"); -// import { GlobalConstraintRegistrar } from "./globalconstraintregistrar.js"; const AbsoluteVote = requireContract("AbsoluteVote"); -// import { UpgradeScheme } from "./upgradescheme.js"; -import { SchemeRegistrar } from "./schemeregistrar.js"; - -const CONTRACT_SCHEMEREGISTRAR = "SchemeRegistrar"; -const CONTRACT_UPGRADESCHEME = "UpgradeScheme"; -const CONTRACT_GLOBALCONSTRAINTREGISTRAR = "GlobalConstraintRegistrar"; -// const CONTRACT_ContributionReward = "ContributionReward"; export class Organization { - constructor() {} + constructor() { } static async new(opts) { // TODO: optimization: we now have all sequantial awaits: parallelize them if possible @@ -41,20 +33,7 @@ export class Organization { orgNativeTokenFee: 0, // used for ContributionReward schemeNativeTokenFee: 0, // used for ContributionReward genesisScheme: contracts.allContracts.GenesisScheme.address, - schemes: [ - { - name: CONTRACT_SCHEMEREGISTRAR, - address: contracts.allContracts.SchemeRegistrar.address, - }, - { - name: CONTRACT_UPGRADESCHEME, - address: contracts.allContracts.UpgradeScheme.address, - }, - { - name: CONTRACT_GLOBALCONSTRAINTREGISTRAR, - address: contracts.allContracts.GlobalConstraintRegistrar.address, - }, - ], + schemes: [] }; const options = dopts(opts, defaults, { allowUnknown: true }); @@ -66,14 +45,14 @@ export class Organization { options.tokenSymbol, options.founders.map(x => x.address), options.founders.map(x => x.tokens), - options.founders.map(x => x.reputation) + options.founders.map(x => x.reputation), + NULL_ADDRESS ); // get the address of the avatar from the logs const avatarAddress = getValueFromLogs(tx, "_avatar", "NewOrg"); const org = new Organization(); org.avatar = await Avatar.at(avatarAddress); - // console.log(`avatar: ${org.avatar}`); const controllerAddress = await org.avatar.owner(); org.controller = await Controller.at(controllerAddress); @@ -97,14 +76,22 @@ export class Organization { ); // TODO: these are specific configuration options that should be settable in the options above - const initialSchemesAddresses = []; + const initialSchemesSchemes = []; const initialSchemesParams = []; - const initialSchemesTokenAddresses = []; - const initialSchemesFees = []; const initialSchemesPermissions = []; for (const optionScheme of options.schemes) { + /** + * TODO: -dkent + * Note that at the moment this is only allowing Arc schemes, no non-Arc schemes. + * Can this change? + */ const arcSchemeInfo = contracts.allContracts[optionScheme.name]; + if (!arcSchemeInfo) { + throw new Error( + "Non-arc schemes are not currently supported here. You can add them later in your workflow." + ); + } const scheme = await arcSchemeInfo.contract.at( optionScheme.address || arcSchemeInfo.address ); @@ -116,38 +103,21 @@ export class Organization { schemeNativeTokenFee: options.schemeNativeTokenFee }); - initialSchemesAddresses.push(scheme.address); + initialSchemesSchemes.push(scheme.address); initialSchemesParams.push(paramsHash); - initialSchemesTokenAddresses.push(await scheme.nativeToken()); - initialSchemesFees.push(await scheme.fee()); initialSchemesPermissions.push( - scheme.getDefaultPermissions(/* supply options.permissions here? */) + scheme.getDefaultPermissions(/* TODO: supply options.permissions here? */) ); } // register the schemes with the organization await genesisScheme.setSchemes( org.avatar.address, - initialSchemesAddresses, + initialSchemesSchemes, initialSchemesParams, - initialSchemesTokenAddresses, - initialSchemesFees, initialSchemesPermissions ); - // transfer what we need for fees to register the organization at the given schemes - // TODO: check if we have the funds, if not, throw an exception - // fee = await org.schemeRegistrar.fee()) - // we must do this after setSchemes, because that one approves the transactions - // (but that logic shoudl change) - for (let i = 0; i < initialSchemesAddresses.length; i = i + 1) { - const scheme = await SchemeRegistrar.at(initialSchemesAddresses[i]); - const token = await DAOToken.at(initialSchemesTokenAddresses[i]); - const fee = initialSchemesFees[i]; - await token.transfer(org.avatar.address, fee); - await scheme.registerOrganization(org.avatar.address); - } - return org; } @@ -168,7 +138,7 @@ export class Organization { // throughout, but this assumption is not warranted const contracts = await getDeployedContracts(); if (contracts.defaultVotingMachine) { - org.votingMachine = AbsoluteVote.at(contracts.defaultVotingMachine); + org.votingMachine = AbsoluteVote.at(contracts.defaultVotingMachine.address); } return org; @@ -199,6 +169,7 @@ export class Organization { // TODO: this is *expensive*, we need to cache the results (and perhaps poll for latest changes if necessary) const schemesMap = new Map(); // const controller = this.controller; + const avatar = this.avatar; const arcTypesMap = new Map(); // const contracts = await getDeployedContracts(); @@ -206,7 +177,7 @@ export class Organization { * TODO: This should pull in all known versions of the schemes, names * and versions in one fell swoop. */ - for(const name in contracts.allContracts) { + for (const name in contracts.allContracts) { const contract = contracts.allContracts[name]; arcTypesMap.set(contract.address, name); } @@ -234,7 +205,7 @@ export class Organization { const registeredSchemes = []; for (const scheme of schemesMap.values()) { - if (await this.controller.isSchemeRegistered(scheme.address)) { + if (await controller.isSchemeRegistered(scheme.address, avatar.address)) { registeredSchemes.push(scheme); } } @@ -256,9 +227,7 @@ export class Organization { for (let i = 0; i < count; i++) { const schemeAddress = eventsArray[i].args._scheme; // will be all zeros if not registered - const permissions = await this.controller.getSchemePermissions( - schemeAddress - ); + const permissions = await this.controller.getSchemePermissions(schemeAddress, this.avatar.address); const schemeInfo = { address: schemeAddress, @@ -277,29 +246,17 @@ export class Organization { * @param optional address */ async scheme(contract, address) { - // returns the schemes can be used to register other schemes - // TODO: error handling: throw an error if such a schem does not exist, and also if there is more htan one const contracts = await getDeployedContracts(); const contractInfo = contracts.allContracts[contract]; - // check if indeed the registrar is registered as a scheme on the controller - // const isSchemeRegistered = await this.controller.isSchemeRegistered(contractInfo.address); - // assert.equal(isSchemeRegistered, true, `${contract} is not registered with the controller`); - return contractInfo.contract.at(address ? address : contractInfo.address); } async checkSchemeConditions(scheme) { // check if the scheme if ready for usage - i.e. if the org is registered at the scheme and vice versa - // check if the schems is usable - // const controller = this.controller; const avatar = this.avatar; - // check if indeed the registrar is registered as a scheme on the controller - // const isSchemeRegistered = await controller.isSchemeRegistered(scheme.address); - // assert.equal(isSchemeRegistered, true, `${contract} is not registered with the controller`); - - // check if the controller is registered (has paid the fee) - const isControllerRegistered = await scheme.isRegistered(avatar.address); + // check if the controller is registered + const isControllerRegistered = await this.controller.isSchemeRegistered(scheme.address, avatar.address); if (!isControllerRegistered) { const msg = "The organization is not registered on this schme: " + diff --git a/lib/schemeregistrar.js b/lib/schemeregistrar.js index b51c9d761..148759a56 100644 --- a/lib/schemeregistrar.js +++ b/lib/schemeregistrar.js @@ -1,42 +1,19 @@ "use strict"; const dopts = require("default-options"); -import { getDeployedContracts } from './contracts.js'; +import { getDeployedContracts } from "./contracts.js"; import { - getDefaultAccount, ExtendTruffleContract, - requireContract, - getWeb3 + requireContract } from "./utils.js"; const SoliditySchemeRegistrar = requireContract("SchemeRegistrar"); -const DAOToken = requireContract("DAOToken"); export class SchemeRegistrar extends ExtendTruffleContract( SoliditySchemeRegistrar ) { - static async new(opts = {}) { - // TODO: provide options to use an existing token or specifiy the new token - const defaults = { - fee: 0, // the fee to use this scheme, in Wei - beneficiary: getDefaultAccount(), - tokenAddress: null // the address of a token to use - }; - - const options = dopts(opts, defaults, { allowUnknown: true }); - - let token; - if (options.tokenAddress == null) { - token = await DAOToken.new("schemeregistrartoken", "SRT"); - } else { - token = await DAOToken.at(options.tokenAddress); - } - - const contract = await SoliditySchemeRegistrar.new( - token.address, - options.fee, - options.beneficiary - ); + static async new() { + const contract = await SoliditySchemeRegistrar.new(); return new this(contract); } @@ -74,27 +51,6 @@ export class SchemeRegistrar extends ExtendTruffleContract( * hash of scheme parameters. These must be already registered with the new scheme. */ schemeParametersHash: undefined, - /** - * The fee that the scheme charges to register an organization in the scheme. The controller - * will be asked in advance to approve this expenditure. - * - * If schemeName is given but fee is not then we use the amount of the fee of the - * Arc scheme given by scheme and schemeName. - * - * Fee is required when schemeName is not given (non-Arc schemes). - * - * The fee is paid using the token given by tokenAddress. In Wei. - */ - fee: null, - /** - * The token used to pay the fee that the scheme charges to register an organization in the scheme. - * - * If schemeName is given but tokenAddress is not then we use the token address of the - * Arc scheme given by scheme and schemeName. - * - * tokenAddress is required when schemeName is not given (non-Arc schemes). - */ - tokenAddress: null, /** * true if the given scheme is able to register/unregister/modify schemes. * @@ -118,16 +74,10 @@ export class SchemeRegistrar extends ExtendTruffleContract( throw new Error("schemeParametersHash is not defined"); } - const feeIsDefined = options.fee !== null && options.fee !== undefined; - const tokenAddressIsDefined = !!options.tokenAddress; /** * throws an Error if not valid, yields 0 if null or undefined */ - const web3 = getWeb3(); - let fee = web3.toBigNumber(options.fee); - let tokenAddress = options.tokenAddress; let isRegistering; - let autoRegister; if (options.schemeName) { try { @@ -135,16 +85,6 @@ export class SchemeRegistrar extends ExtendTruffleContract( const newScheme = await contracts.allContracts[ options.schemeName ].contract.at(options.scheme); - autoRegister = true; - - if (!feeIsDefined || !tokenAddressIsDefined) { - if (!feeIsDefined) { - fee = await newScheme.fee(); - } - if (!tokenAddressIsDefined) { - tokenAddress = await newScheme.nativeToken(); - } - } // Note that the javascript wrapper "newScheme" we've gotten here is defined in this version of Arc. If newScheme is // actually coming from a different version of Arc, then theoretically the permissions could be different from this version. @@ -164,33 +104,19 @@ export class SchemeRegistrar extends ExtendTruffleContract( } } else { isRegistering = options.isRegistering; - autoRegister = false; // see https://github.com/daostack/daostack/issues/181#issuecomment-353210642 - - if (!feeIsDefined || !tokenAddressIsDefined) { - throw new Error( - "fee/tokenAddress are not defined; they are required for non-Arc schemes (schemeName is undefined)" - ); - } if (isRegistering === null) { throw new Error( "isRegistering is not defined; it is required for non-Arc schemes (schemeName is undefined)" ); } - - if (fee < 0) { - throw new Error("fee cannot be less than zero"); - } } const tx = await this.contract.proposeScheme( options.avatar, options.scheme, options.schemeParametersHash, - isRegistering, - tokenAddress, - fee, - autoRegister + isRegistering ); return tx; diff --git a/lib/upgradescheme.js b/lib/upgradescheme.js index d014b2b69..0f7cb5066 100644 --- a/lib/upgradescheme.js +++ b/lib/upgradescheme.js @@ -1,44 +1,18 @@ "use strict"; const dopts = require("default-options"); -import { getDeployedContracts } from './contracts.js'; import { - getDefaultAccount, ExtendTruffleContract, requireContract, - getWeb3 } from "./utils.js"; const SolidityUpgradeScheme = requireContract("UpgradeScheme"); -const DAOToken = requireContract("DAOToken"); export class UpgradeScheme extends ExtendTruffleContract( SolidityUpgradeScheme ) { - static async new(opts = {}) { - // TODO: provide options to use an existing token or specifiy the new token - const defaults = { - fee: 0, // the fee to use this scheme - beneficiary: getDefaultAccount(), - tokenAddress: null // the address of a token to use - }; - - const options = dopts(opts, defaults, { allowUnknown: true }); - - let token; - if (options.tokenAddress == null) { - token = await DAOToken.new("schemeregistrartoken", "SRT"); - // TODO: or is it better to throw an error? - // throw new Error('A tokenAddress must be provided'); - } else { - token = await DAOToken.at(options.tokenAddress); - } - - const contract = await SolidityUpgradeScheme.new( - token.address, - options.fee, - options.beneficiary - ); + static async new() { + const contract = await SolidityUpgradeScheme.new(); return new this(contract); } @@ -96,33 +70,6 @@ export class UpgradeScheme extends ExtendTruffleContract( * hash of the parameters of the upgrading scheme. These must be already registered with the new scheme. */ schemeParametersHash: undefined, - /** - * true to register organization into the scheme when the proposal is approved. - * If false then caller must do it manually via scheme.registerOrganization(avatarAddress). - * Default is true. - * - * [This needs to be implemented] - , autoRegister:true - */ - /** - * The fee that the scheme charges to register an organization in the new upgrade scheme. - * The controller will be asked in advance to approve this expenditure. - * - * If the new UpgradeScheme is an Arc scheme, you may omit fee and we will - * obtain the values directly from the submitted scheme. - * Otherwise fee is required. - * - * The fee is paid using the token given by tokenAddress. In Wei. - */ - fee: null, - /** - * address of token that will be used when paying the fee. - * - * If the new UpgradeScheme is an Arc scheme, you may omit tokenAddress and we will - * obtain the values directly from the submitted scheme. - * Otherwise tokenAddress is required. - */ - tokenAddress: null }; const options = dopts(opts, defaults, { allowUnknown: true }); @@ -139,46 +86,10 @@ export class UpgradeScheme extends ExtendTruffleContract( throw new Error("schemeParametersHash is not defined"); } - const feeIsDefined = options.fee !== null && options.fee !== undefined; - const tokenAddressIsDefined = !!options.tokenAddress; - - /** - * throws an Error if not valid, yields 0 if null or undefined - */ - const web3 = getWeb3(); - let fee = web3.toBigNumber(options.fee); - let tokenAddress = options.tokenAddress; - - if (!feeIsDefined || !tokenAddressIsDefined) { - try { - const contracts = await getDeployedContracts(); - const newScheme = await contracts.allContracts.UpgradeScheme.contract.at( - options.scheme - ); - - if (!feeIsDefined) { - fee = await newScheme.fee(); - } - if (!tokenAddressIsDefined) { - tokenAddress = await newScheme.nativeToken(); - } - } catch (ex) { - throw new Error( - `Unable to obtain default information from the given scheme address. The address is invalid or the scheme is not an Arc scheme and in that case you must supply fee and tokenAddress. ${ex}` - ); - } - } - - if (fee < 0) { - throw new Error("fee cannot be less than 0"); - } - const tx = await this.contract.proposeChangeUpgradingScheme( options.avatar, options.scheme, - options.schemeParametersHash, - tokenAddress, - fee + options.schemeParametersHash ); return tx; diff --git a/lib/utils.js b/lib/utils.js index 06dbf2649..9e1325f01 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,6 +1,6 @@ // some utility functions -import { config } from './config.js'; -const TruffleContract = require('truffle-contract'); +import { config } from "./config.js"; +const TruffleContract = require("truffle-contract"); import Web3 from "web3"; const abi = require("ethereumjs-abi"); @@ -25,13 +25,13 @@ export function requireContract(contractName) { try { const myWeb3 = getWeb3(); - const artifact = require(`../contracts/${contractName}.json`); + const artifact = require(`../migrated_contracts/${contractName}.json`); const contract = new TruffleContract(artifact); contract.setProvider(myWeb3.currentProvider); contract.defaults({ from: getDefaultAccount(), - gas: config.get('gasLimit') + gas: config.get("gasLimit") }); return contract; } catch (ex) { @@ -59,12 +59,10 @@ export function getWeb3() { // already defined under `window`? if (typeof window !== "undefined" && typeof window.web3 !== "undefined") { - // console.log(`Connecting via currentProvider`) preWeb3 = new Web3(windowWeb3.currentProvider); } else { - // console.log(`Connecting via http://localhost:8545`) preWeb3 = new Web3( - new Web3.providers.HttpProvider(config.get('daostack.providerUrl')) + new Web3.providers.HttpProvider(config.get("daostack.providerUrl")) ); } @@ -95,13 +93,13 @@ export function getValueFromLogs(tx, arg, eventName, index = 0) { * * [ { logIndex: 13, * transactionIndex: 0, - * transactionHash: '0x999e51b4124371412924d73b60a0ae1008462eb367db45f8452b134e5a8d56c8', - * blockHash: '0xe35f7c374475a6933a500f48d4dfe5dce5b3072ad316f64fbf830728c6fe6fc9', + * transactionHash: "0x999e51b4124371412924d73b60a0ae1008462eb367db45f8452b134e5a8d56c8", + * blockHash: "0xe35f7c374475a6933a500f48d4dfe5dce5b3072ad316f64fbf830728c6fe6fc9", * blockNumber: 294, - * address: '0xd6a2a42b97ba20ee8655a80a842c2a723d7d488d', - * type: 'mined', - * event: 'NewOrg', - * args: { _avatar: '0xcc05f0cde8c3e4b6c41c9b963031829496107bbb' } } ] + * address: "0xd6a2a42b97ba20ee8655a80a842c2a723d7d488d", + * type: "mined", + * event: "NewOrg", + * args: { _avatar: "0xcc05f0cde8c3e4b6c41c9b963031829496107bbb" } } ] */ if (!tx.logs || !tx.logs.length) { throw new Error("getValueFromLogs: Transaction has no logs"); @@ -122,17 +120,13 @@ export function getValueFromLogs(tx, arg, eventName, index = 0) { index = tx.logs.length - 1; } if (tx.logs[index].type !== "mined") { - const msg = `getValueFromLogs: transaction has not been mined: ${ - tx.logs[index].event - }`; + const msg = `getValueFromLogs: transaction has not been mined: ${tx.logs[index].event}`; throw new Error(msg); } const result = tx.logs[index].args[arg]; if (!result) { - const msg = `getValueFromLogs: This log does not seem to have a field "${arg}": ${ - tx.logs[index].args - }`; + const msg = `getValueFromLogs: This log does not seem to have a field "${arg}": ${tx.logs[index].args}`; throw new Error(msg); } return result; @@ -161,7 +155,6 @@ export function getDefaultAccount() { */ export function SHA3(str) { const result = `0x${abi.soliditySHA3(["string"], [str]).toString("hex")}`; - // console.log("SHA3: " + result); return result; } @@ -174,11 +167,6 @@ export const ExtendTruffleContract = superclass => this[i] = this.contract[i]; } } - // for (var prop in this.contract) { - // if (!this.hasOwnProperty(prop)) { - // this[prop] = superclass[prop]; - // } - // } } static async new() { diff --git a/lib/wallet.js b/lib/wallet.js index 4c3b63e81..3c6b04ee2 100644 --- a/lib/wallet.js +++ b/lib/wallet.js @@ -1,17 +1,23 @@ -import { config } from './config.js'; -import * as ethers from 'ethers'; -const bip39 = require('bip39'); -import { getWeb3 } from './utils.js'; +import { config } from "./config.js"; +import * as ethers from "ethers"; +const bip39 = require("bip39"); +import { getWeb3 } from "./utils.js"; import { Organization } from "./organization.js"; let provider; -if (config.get('providerUrl').indexOf('infura') !== -1) { - provider = new ethers.providers.InfuraProvider(ethNetwork, config.get('apiToken')); -} else if (config.get('providerUrl').indexOf('etherscan') !== -1) { - provider = new ethers.providers.EtherscanProvider(ethNetwork, config.get('apiToken')); + +function getNetwork() { + const network = config.get("network"); + return (network && (network != "ganache")) ? "network" : null; +} + +if (config.get("providerUrl").indexOf("infura") !== -1) { + provider = new ethers.providers.InfuraProvider(getNetwork(), config.get("apiToken")); +} else if (config.get("providerUrl").indexOf("etherscan") !== -1) { + provider = new ethers.providers.EtherscanProvider(getNetwork(), config.get("apiToken")); } else { - provider = new ethers.providers.JsonRpcProvider(config.get('providerUrl'), config.get('network')); + provider = new ethers.providers.JsonRpcProvider(config.get("providerUrl"), getNetwork()); } const web3 = getWeb3(); @@ -76,7 +82,7 @@ export class Wallet { return this.mnemonic; } - // Return amount of an organization's token in the wallet. + // Return amount of an organization"s token in the wallet. // If inWei = false then return num Ether as a formated string with one decimal place // See details on units here http://ethdocs.org/en/latest/ether.html async getOrgTokenBalance(organizationAvatarAddress, inWei) { @@ -116,7 +122,7 @@ export class Wallet { value: 0, data: transactionData, // This ensures the transaction cannot be replayed on different networks - chainId: ethers.providers.Provider.chainId[ethNetwork] + chainId: ethers.providers.Provider.chainId[getNetwork()] }; const transactionHash = await this.wallet.sendTransaction(transaction); diff --git a/migrations/1_initial_migration.js b/migrations/1_initial_migration.js new file mode 100644 index 000000000..16a7ba52f --- /dev/null +++ b/migrations/1_initial_migration.js @@ -0,0 +1,5 @@ +const Migrations = artifacts.require("Migrations"); + +module.exports = function (deployer) { + deployer.deploy(Migrations); +}; diff --git a/migrations/2_deploy_organization.js b/migrations/2_deploy_organization.js new file mode 100644 index 000000000..48e737f81 --- /dev/null +++ b/migrations/2_deploy_organization.js @@ -0,0 +1,97 @@ +// Imports: +const Avatar = artifacts.require("Avatar.sol"); +const Controller = artifacts.require("Controller.sol"); + +const GlobalConstraintRegistrar = artifacts.require("GlobalConstraintRegistrar.sol"); +const TokenCapGC = artifacts.require("TokenCapGC.sol"); + +const GenesisScheme = artifacts.require("GenesisScheme.sol"); +const SchemeRegistrar = artifacts.require("SchemeRegistrar.sol"); +const ContributionReward = artifacts.require("ContributionReward.sol"); +const UpgradeScheme = artifacts.require("UpgradeScheme.sol"); +const SimpleICO = artifacts.require("SimpleICO.sol"); + +const AbsoluteVote = artifacts.require("AbsoluteVote.sol"); + +// Instances: +let AbsoluteVoteInst; +let schemeRegistrarInst; +let globalConstraintRegistrarInst; +let upgradeSchemeInst; +let ControllerInst; +let AvatarInst; + +// DAOstack ORG parameters: +const orgName = "Genesis"; +const tokenName = "Genes"; +const tokenSymbol = "GEN"; +const founders = [web3.eth.accounts[0]]; +const initRep = 10; +const initRepInWei = [web3.toWei(initRep)]; +const initToken = 1000; +const initTokenInWei = [web3.toWei(initToken)]; +let reputationAddress; +let controllerAddress; + +// DAOstack parameters for universal schemes: +let voteParametersHash; +const votePrec = 50; +let schemeRegisterParams; +let schemeGCRegisterParams; +let schemeUpgradeParams; + +module.exports = async function (deployer) { + // Deploy GenesisScheme: + // apparently we must wrap the first deploy call in a then to avoid + // what seem to be race conditions during deployment + // await deployer.deploy(GenesisScheme) + deployer.deploy(GenesisScheme, { gas: 6015000 }).then(async () => { + genesisSchemeInst = await GenesisScheme.deployed(); + // Create Genesis (DAOstack): + returnedParams = await genesisSchemeInst.forgeOrg(orgName, tokenName, tokenSymbol, founders, + initTokenInWei, initRepInWei, 0); + AvatarInst = await Avatar.at(returnedParams.logs[0].args._avatar); + controllerAddress = await AvatarInst.owner(); + ControllerInst = await Controller.at(controllerAddress); + reputationAddress = await ControllerInst.nativeReputation(); + await deployer.deploy(AbsoluteVote); + // Deploy AbsoluteVote: + AbsoluteVoteInst = await AbsoluteVote.deployed(); + // Deploy SchemeRegistrar: + await deployer.deploy(SchemeRegistrar); + schemeRegistrarInst = await SchemeRegistrar.deployed(); + // Deploy UniversalUpgrade: + await deployer.deploy(UpgradeScheme); + upgradeSchemeInst = await UpgradeScheme.deployed(); + // Deploy UniversalGCScheme register: + await deployer.deploy(GlobalConstraintRegistrar); + globalConstraintRegistrarInst = await GlobalConstraintRegistrar.deployed(); + + // Voting parameters and schemes params: + voteParametersHash = await AbsoluteVoteInst.getParametersHash(reputationAddress, votePrec, true); + + await schemeRegistrarInst.setParameters(voteParametersHash, voteParametersHash, AbsoluteVoteInst.address); + schemeRegisterParams = await schemeRegistrarInst.getParametersHash(voteParametersHash, voteParametersHash, AbsoluteVoteInst.address); + + await globalConstraintRegistrarInst.setParameters(reputationAddress, votePrec); + schemeGCRegisterParams = await globalConstraintRegistrarInst.getParametersHash(reputationAddress, votePrec); + + await upgradeSchemeInst.setParameters(voteParametersHash, AbsoluteVoteInst.address); + schemeUpgradeParams = await upgradeSchemeInst.getParametersHash(voteParametersHash, AbsoluteVoteInst.address); + + const schemesArray = [schemeRegistrarInst.address, globalConstraintRegistrarInst.address, upgradeSchemeInst.address]; + const paramsArray = [schemeRegisterParams, schemeGCRegisterParams, schemeUpgradeParams]; + const permissionArray = ["0x00000003", "0x00000005", "0x00000009"]; + + // set DAOstack initial schmes: + await genesisSchemeInst.setSchemes( + AvatarInst.address, + schemesArray, + paramsArray, + permissionArray); + + await deployer.deploy(SimpleICO); + await deployer.deploy(ContributionReward); + await deployer.deploy(TokenCapGC); + }); +}; diff --git a/package-lock.json b/package-lock.json index 53f3e378a..3f619bd24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,51 +1,32 @@ { "name": "daostack-arc-js", - "version": "0.0.0-alpha.9", + "version": "0.0.0-alpha.11", "lockfileVersion": 1, - "requires": true, "dependencies": { "@types/bignumber.js": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/@types/bignumber.js/-/bignumber.js-4.0.3.tgz", - "integrity": "sha512-KoJPKjhlWBry4fk8qcIufXFOU+zcZBfkHQWKbnAMQTMoe2GDeLpjSQHS+22gv+dg7gKdTP2WCjSeCVnfj8e+Gw==", - "dev": true + "integrity": "sha512-KoJPKjhlWBry4fk8qcIufXFOU+zcZBfkHQWKbnAMQTMoe2GDeLpjSQHS+22gv+dg7gKdTP2WCjSeCVnfj8e+Gw==" }, "@types/nconf": { "version": "0.0.36", "resolved": "https://registry.npmjs.org/@types/nconf/-/nconf-0.0.36.tgz", - "integrity": "sha512-K01v5ei7oJwXYa/vbpZCt8D2HYwvczUwZ09qPOtZ2Jio+/bF71isVfV6gvSDn83cu36lAVT2xs6MK9a8FznDiA==", - "dev": true - }, - "accepts": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.4.tgz", - "integrity": "sha1-hiRnWMfdbSGmR0/whKR0DsBesh8=", - "dev": true, - "requires": { - "mime-types": "2.1.17", - "negotiator": "0.6.1" - } + "integrity": "sha512-K01v5ei7oJwXYa/vbpZCt8D2HYwvczUwZ09qPOtZ2Jio+/bF71isVfV6gvSDn83cu36lAVT2xs6MK9a8FznDiA==" }, "acorn": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.2.1.tgz", - "integrity": "sha512-jG0u7c4Ly+3QkkW18V+NRDN+4bWHdln30NL1ZL2AvFZZmQe/BfopYCtghCKKVBUSetZ4QKcyA0pY6/4Gw8Pv8w==", - "dev": true + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.3.0.tgz", + "integrity": "sha512-Yej+zOJ1Dm/IMZzzj78OntP/r3zHEaKcyNoU2lAaxPtrseM6rF0xwqoz5Q5ysAiED9hTjI2hgtvLXitlCN1/Ug==" }, "acorn-dynamic-import": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz", "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", - "dev": true, - "requires": { - "acorn": "4.0.13" - }, "dependencies": { "acorn": { "version": "4.0.13", "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", - "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", - "dev": true + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=" } } }, @@ -53,16 +34,11 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-3.1.0.tgz", "integrity": "sha1-/YJw9x+7SZawBPqIDuXUZXOnMb8=", - "dev": true, - "requires": { - "acorn": "4.0.13" - }, "dependencies": { "acorn": { "version": "4.0.13", "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", - "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", - "dev": true + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=" } } }, @@ -70,78 +46,58 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", - "dev": true, - "requires": { - "acorn": "3.3.0" - }, "dependencies": { "acorn": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", - "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", - "dev": true + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=" } } }, + "adm-zip": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.7.tgz", + "integrity": "sha1-hgbCy/HEJs6MjsABdER/1Jtur8E=" + }, "aes-js": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=" }, "ajv": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.1.tgz", - "integrity": "sha1-s4u4h22ehr7plJVqBOch6IskjrI=", - "requires": { - "co": "4.6.0", - "fast-deep-equal": "1.0.0", - "fast-json-stable-stringify": "2.0.0", - "json-schema-traverse": "0.3.1" - } + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=" }, "ajv-keywords": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz", - "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=", - "dev": true + "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=" }, "align-text": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", - "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", - "dev": true, - "requires": { - "kind-of": "3.2.2", - "longest": "1.0.1", - "repeat-string": "1.6.1" - } + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=" }, "amdefine": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", - "dev": true + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" }, "amp": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/amp/-/amp-0.3.1.tgz", - "integrity": "sha1-at+NWKdPNh6CwfqNOJwHnhOfxH0=", - "dev": true + "integrity": "sha1-at+NWKdPNh6CwfqNOJwHnhOfxH0=" }, "amp-message": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/amp-message/-/amp-message-0.1.2.tgz", - "integrity": "sha1-p48cmJlQh602GSpBKY5NtJ49/EU=", - "dev": true, - "requires": { - "amp": "0.3.1" - } + "integrity": "sha1-p48cmJlQh602GSpBKY5NtJ49/EU=" }, "ansi-escapes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.0.0.tgz", - "integrity": "sha512-O/klc27mWNUigtv0F8NJWbLF00OcegQalkqKURWdosW08YZKi4m6CnSUSvIZG1otNJbTWhN01Hhz389DW7mvDQ==", - "dev": true + "integrity": "sha512-O/klc27mWNUigtv0F8NJWbLF00OcegQalkqKURWdosW08YZKi4m6CnSUSvIZG1otNJbTWhN01Hhz389DW7mvDQ==" }, "ansi-regex": { "version": "2.1.1", @@ -151,830 +107,459 @@ "ansi-styles": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" }, "any-shell-escape": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/any-shell-escape/-/any-shell-escape-0.1.1.tgz", - "integrity": "sha1-1Vq5ciRMcaml4asIefML8RCAaVk=", - "dev": true + "integrity": "sha1-1Vq5ciRMcaml4asIefML8RCAaVk=" }, "anymatch": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", - "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", - "dev": true, - "requires": { - "micromatch": "2.3.11", - "normalize-path": "2.1.1" - } + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==" }, "archiver": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/archiver/-/archiver-2.1.0.tgz", - "integrity": "sha1-0t8ujVdzqCwdzOklzMQUUOqZmv0=", - "dev": true, - "requires": { - "archiver-utils": "1.3.0", - "async": "2.6.0", - "buffer-crc32": "0.2.13", - "glob": "7.1.2", - "lodash": "4.17.4", - "readable-stream": "2.3.3", - "tar-stream": "1.5.5", - "zip-stream": "1.2.0" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/archiver/-/archiver-2.1.1.tgz", + "integrity": "sha1-/2YrSnggFJSj7lRNOjP+dJZQnrw=", + "dependencies": { + "async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", + "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==" + } } }, "archiver-utils": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-1.3.0.tgz", - "integrity": "sha1-5QtMCccL89aA4y/xt5lOn52JUXQ=", - "dev": true, - "requires": { - "glob": "7.1.2", - "graceful-fs": "4.1.11", - "lazystream": "1.0.0", - "lodash": "4.17.4", - "normalize-path": "2.1.1", - "readable-stream": "2.3.3" - } + "integrity": "sha1-5QtMCccL89aA4y/xt5lOn52JUXQ=" }, "argparse": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz", - "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=", - "dev": true, - "requires": { - "sprintf-js": "1.0.3" - } + "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=" }, "arr-diff": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dev": true, - "requires": { - "arr-flatten": "1.1.0" - } + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=" }, "arr-flatten": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==" }, "array-find-index": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", - "dev": true - }, - "array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", - "dev": true + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=" }, "array-includes": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", - "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", - "dev": true, - "requires": { - "define-properties": "1.1.2", - "es-abstract": "1.10.0" - } + "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=" }, "array-union": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "dev": true, - "requires": { - "array-uniq": "1.0.3" - } + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=" }, "array-uniq": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "dev": true + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=" }, "array-unique": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "dev": true + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=" }, "arrify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", - "dev": true + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=" }, "asap": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", - "dev": true + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" }, "asn1": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=", - "dev": true + "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" }, "asn1.js": { "version": "4.9.2", "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.9.2.tgz", - "integrity": "sha512-b/OsSjvWEo8Pi8H0zsDd2P6Uqo2TK2pH8gNLSJtNLM2Db0v2QaAZ0pBQJXVjAn4gBuugeVDr7s63ZogpUIwWDg==", - "dev": true, - "requires": { - "bn.js": "4.11.8", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0" - } + "integrity": "sha512-b/OsSjvWEo8Pi8H0zsDd2P6Uqo2TK2pH8gNLSJtNLM2Db0v2QaAZ0pBQJXVjAn4gBuugeVDr7s63ZogpUIwWDg==" }, "assert": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", - "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", - "dev": true, - "requires": { - "util": "0.10.3" - } + "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=" }, "assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" }, "assertion-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.0.2.tgz", - "integrity": "sha1-E8pRXYYgbaC6xm6DTdOX2HWBCUw=", - "dev": true + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" }, "async": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", - "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==", - "dev": true, - "requires": { - "lodash": "4.17.4" - } + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=" }, "async-each": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", - "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", - "dev": true - }, - "async-limiter": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", - "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==", - "dev": true + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=" }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" }, "aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "dev": true + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz", - "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=", - "dev": true + "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=" }, "babel-cli": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-cli/-/babel-cli-6.26.0.tgz", - "integrity": "sha1-UCq1SHTX24itALiHoGODzgPQAvE=", - "dev": true, - "requires": { - "babel-core": "6.26.0", - "babel-polyfill": "6.26.0", - "babel-register": "6.26.0", - "babel-runtime": "6.26.0", - "chokidar": "1.7.0", - "commander": "2.12.2", - "convert-source-map": "1.5.1", - "fs-readdir-recursive": "1.1.0", - "glob": "7.1.2", - "lodash": "4.17.4", - "output-file-sync": "1.1.2", - "path-is-absolute": "1.0.1", - "slash": "1.0.0", - "source-map": "0.5.7", - "v8flags": "2.1.1" - } + "integrity": "sha1-UCq1SHTX24itALiHoGODzgPQAvE=" }, "babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", - "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", - "dev": true, - "requires": { - "chalk": "1.1.3", - "esutils": "2.0.2", - "js-tokens": "3.0.2" - } + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=" }, "babel-core": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz", - "integrity": "sha1-rzL3izGm/O8RnIew/Y2XU/A6C7g=", - "dev": true, - "requires": { - "babel-code-frame": "6.26.0", - "babel-generator": "6.26.0", - "babel-helpers": "6.24.1", - "babel-messages": "6.23.0", - "babel-register": "6.26.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "convert-source-map": "1.5.1", - "debug": "2.6.9", - "json5": "0.5.1", - "lodash": "4.17.4", - "minimatch": "3.0.4", - "path-is-absolute": "1.0.1", - "private": "0.1.8", - "slash": "1.0.0", - "source-map": "0.5.7" - } + "integrity": "sha1-rzL3izGm/O8RnIew/Y2XU/A6C7g=" }, "babel-eslint": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-7.2.3.tgz", - "integrity": "sha1-sv4tgBJkcPXBlELcdXJTqJdxCCc=", - "dev": true, - "requires": { - "babel-code-frame": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0" - } + "integrity": "sha1-sv4tgBJkcPXBlELcdXJTqJdxCCc=" }, "babel-generator": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.0.tgz", - "integrity": "sha1-rBriAHC3n248odMmlhMFN3TyDcU=", - "dev": true, - "requires": { - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "detect-indent": "4.0.0", - "jsesc": "1.3.0", - "lodash": "4.17.4", - "source-map": "0.5.7", - "trim-right": "1.0.1" - } + "integrity": "sha1-rBriAHC3n248odMmlhMFN3TyDcU=" + }, + "babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", + "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=" }, "babel-helper-call-delegate": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", - "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", - "dev": true, - "requires": { - "babel-helper-hoist-variables": "6.24.1", - "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=" }, "babel-helper-define-map": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", - "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", - "dev": true, - "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "lodash": "4.17.4" - } + "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=" + }, + "babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", + "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=" }, "babel-helper-function-name": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", - "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", - "dev": true, - "requires": { - "babel-helper-get-function-arity": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=" }, "babel-helper-get-function-arity": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", - "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=" }, "babel-helper-hoist-variables": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", - "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=" }, "babel-helper-optimise-call-expression": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", - "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=" }, "babel-helper-regex": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", - "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "lodash": "4.17.4" - } + "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=" + }, + "babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", + "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=" }, "babel-helper-replace-supers": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", - "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", - "dev": true, - "requires": { - "babel-helper-optimise-call-expression": "6.24.1", - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=" }, "babel-helpers": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", - "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=" }, "babel-messages": { "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", - "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=" }, "babel-plugin-check-es2015-constants": { "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", - "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=" }, "babel-plugin-syntax-async-functions": { "version": "6.13.0", "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", - "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", - "dev": true + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=" + }, + "babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=" + }, + "babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", + "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=" + }, + "babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", + "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=" }, "babel-plugin-transform-es2015-arrow-functions": { "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", - "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=" }, "babel-plugin-transform-es2015-block-scoped-functions": { "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", - "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=" }, "babel-plugin-transform-es2015-block-scoping": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", - "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "lodash": "4.17.4" - } + "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=" }, "babel-plugin-transform-es2015-classes": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", - "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", - "dev": true, - "requires": { - "babel-helper-define-map": "6.26.0", - "babel-helper-function-name": "6.24.1", - "babel-helper-optimise-call-expression": "6.24.1", - "babel-helper-replace-supers": "6.24.1", - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=" }, "babel-plugin-transform-es2015-computed-properties": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", - "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } + "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=" }, "babel-plugin-transform-es2015-destructuring": { "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", - "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=" }, "babel-plugin-transform-es2015-duplicate-keys": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", - "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=" }, "babel-plugin-transform-es2015-for-of": { "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", - "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=" }, "babel-plugin-transform-es2015-function-name": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", - "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", - "dev": true, - "requires": { - "babel-helper-function-name": "6.24.1", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=" }, "babel-plugin-transform-es2015-literals": { "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", - "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=" }, "babel-plugin-transform-es2015-modules-amd": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", - "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", - "dev": true, - "requires": { - "babel-plugin-transform-es2015-modules-commonjs": "6.26.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } + "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=" }, "babel-plugin-transform-es2015-modules-commonjs": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz", - "integrity": "sha1-DYOUApt9xqvhqX7xgeAHWN0uXYo=", - "dev": true, - "requires": { - "babel-plugin-transform-strict-mode": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-DYOUApt9xqvhqX7xgeAHWN0uXYo=" }, "babel-plugin-transform-es2015-modules-systemjs": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", - "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", - "dev": true, - "requires": { - "babel-helper-hoist-variables": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } + "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=" }, "babel-plugin-transform-es2015-modules-umd": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", - "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", - "dev": true, - "requires": { - "babel-plugin-transform-es2015-modules-amd": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } + "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=" }, "babel-plugin-transform-es2015-object-super": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", - "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", - "dev": true, - "requires": { - "babel-helper-replace-supers": "6.24.1", - "babel-runtime": "6.26.0" - } + "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=" }, "babel-plugin-transform-es2015-parameters": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", - "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", - "dev": true, - "requires": { - "babel-helper-call-delegate": "6.24.1", - "babel-helper-get-function-arity": "6.24.1", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=" }, "babel-plugin-transform-es2015-shorthand-properties": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", - "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=" }, "babel-plugin-transform-es2015-spread": { "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", - "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=" }, "babel-plugin-transform-es2015-sticky-regex": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", - "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", - "dev": true, - "requires": { - "babel-helper-regex": "6.26.0", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=" }, "babel-plugin-transform-es2015-template-literals": { "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", - "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=" }, "babel-plugin-transform-es2015-typeof-symbol": { "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", - "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=" }, "babel-plugin-transform-es2015-unicode-regex": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", - "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", - "dev": true, - "requires": { - "babel-helper-regex": "6.26.0", - "babel-runtime": "6.26.0", - "regexpu-core": "2.0.0" - } + "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=" + }, + "babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", + "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=" }, "babel-plugin-transform-regenerator": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", - "dev": true, - "requires": { - "regenerator-transform": "0.10.1" + "dependencies": { + "regenerator-transform": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", + "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==" + } } }, + "babel-plugin-transform-runtime": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz", + "integrity": "sha1-iEkNRGUC6puOfvsP4J7E2ZR5se4=" + }, "babel-plugin-transform-strict-mode": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", - "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0" - } + "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=" }, "babel-polyfill": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "core-js": "2.5.2", - "regenerator-runtime": "0.10.5" - }, "dependencies": { "regenerator-runtime": { "version": "0.10.5", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", - "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=", - "dev": true + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=" } } }, + "babel-preset-env": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.6.1.tgz", + "integrity": "sha512-W6VIyA6Ch9ePMI7VptNn2wBM6dbG0eSz25HEiL40nQXCsXGTGZSTZu1Iap+cj3Q0S5a7T9+529l/5Bkvd+afNA==" + }, "babel-preset-es2015": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz", - "integrity": "sha1-1EBQ1rwsn+6nAqrzjXJ6AhBTiTk=", - "dev": true, - "requires": { - "babel-plugin-check-es2015-constants": "6.22.0", - "babel-plugin-transform-es2015-arrow-functions": "6.22.0", - "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", - "babel-plugin-transform-es2015-block-scoping": "6.26.0", - "babel-plugin-transform-es2015-classes": "6.24.1", - "babel-plugin-transform-es2015-computed-properties": "6.24.1", - "babel-plugin-transform-es2015-destructuring": "6.23.0", - "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", - "babel-plugin-transform-es2015-for-of": "6.23.0", - "babel-plugin-transform-es2015-function-name": "6.24.1", - "babel-plugin-transform-es2015-literals": "6.22.0", - "babel-plugin-transform-es2015-modules-amd": "6.24.1", - "babel-plugin-transform-es2015-modules-commonjs": "6.26.0", - "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", - "babel-plugin-transform-es2015-modules-umd": "6.24.1", - "babel-plugin-transform-es2015-object-super": "6.24.1", - "babel-plugin-transform-es2015-parameters": "6.24.1", - "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", - "babel-plugin-transform-es2015-spread": "6.22.0", - "babel-plugin-transform-es2015-sticky-regex": "6.24.1", - "babel-plugin-transform-es2015-template-literals": "6.22.0", - "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", - "babel-plugin-transform-es2015-unicode-regex": "6.24.1", - "babel-plugin-transform-regenerator": "6.26.0" - } + "integrity": "sha1-1EBQ1rwsn+6nAqrzjXJ6AhBTiTk=" }, "babel-register": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", - "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", - "dev": true, - "requires": { - "babel-core": "6.26.0", - "babel-runtime": "6.26.0", - "core-js": "2.5.2", - "home-or-tmp": "2.0.0", - "lodash": "4.17.4", - "mkdirp": "0.5.1", - "source-map-support": "0.4.18" - } + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=" }, "babel-runtime": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "dev": true, - "requires": { - "core-js": "2.5.2", - "regenerator-runtime": "0.11.1" - } + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=" }, "babel-template": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", - "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "lodash": "4.17.4" - } + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=" }, "babel-traverse": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", - "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", - "dev": true, - "requires": { - "babel-code-frame": "6.26.0", - "babel-messages": "6.23.0", - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "babylon": "6.18.0", - "debug": "2.6.9", - "globals": "9.18.0", - "invariant": "2.2.2", - "lodash": "4.17.4" - } + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=" }, "babel-types": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", - "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "esutils": "2.0.2", - "lodash": "4.17.4", - "to-fast-properties": "1.0.3" - } + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=" }, "babylon": { "version": "6.18.0", "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", - "dev": true + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==" }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" }, "base64-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz", - "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==", - "dev": true + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", + "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" }, "bcrypt-pbkdf": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", - "dev": true, - "optional": true, - "requires": { - "tweetnacl": "0.14.5" - } + "optional": true }, "big.js": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", - "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==", - "dev": true + "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==" }, "bignumber.js": { "version": "4.1.0", @@ -984,8 +569,7 @@ "binary-extensions": { "version": "1.11.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.11.0.tgz", - "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=", - "dev": true + "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=" }, "bindings": { "version": "1.3.0", @@ -993,86 +577,44 @@ "integrity": "sha512-DpLh5EzMR2kzvX1KIlVC0VkC3iZtHKTgdtZ0a3pglBZdaQFjt5S9g9xd1lE+YvXyfd6mtCeRnrUfOLYiTMlNSw==" }, "bip39": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/bip39/-/bip39-2.4.0.tgz", - "integrity": "sha512-1++HywqIyPtWDo7gm4v0ylYbwkLvHkuwVSKbBlZBbTCP/mnkyrlARBny906VLAwxJbC5xw9EvuJasHFIZaIFMQ==", - "requires": { - "create-hash": "1.1.3", - "pbkdf2": "3.0.14", - "randombytes": "2.0.5", - "safe-buffer": "5.1.1", - "unorm": "1.4.1" - } + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/bip39/-/bip39-2.5.0.tgz", + "integrity": "sha512-xwIx/8JKoT2+IPJpFEfXoWdYwP7UVAoUxxLNfGCfVowaJE7yg1Y5B1BVPqlUNsBq5/nGwmFkwRJ8xDW4sX8OdA==" }, "bip66": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", - "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", - "requires": { - "safe-buffer": "5.1.1" - } + "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=" }, "bl": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.1.tgz", - "integrity": "sha1-ysMo977kVzDUBLaSID/LWQ4XLV4=", - "dev": true, - "requires": { - "readable-stream": "2.3.3" - } + "integrity": "sha1-ysMo977kVzDUBLaSID/LWQ4XLV4=" + }, + "bluebird": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", + "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" }, "bn.js": { "version": "4.11.8", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" }, - "body-parser": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz", - "integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=", - "dev": true, - "requires": { - "bytes": "3.0.0", - "content-type": "1.0.4", - "debug": "2.6.9", - "depd": "1.1.1", - "http-errors": "1.6.2", - "iconv-lite": "0.4.19", - "on-finished": "2.3.0", - "qs": "6.5.1", - "raw-body": "2.3.2", - "type-is": "1.6.15" - } - }, "boom": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/boom/-/boom-4.3.1.tgz", - "integrity": "sha1-T4owBctKfjiJ90kDD9JbluAdLjE=", - "dev": true, - "requires": { - "hoek": "4.2.0" - } + "integrity": "sha1-T4owBctKfjiJ90kDD9JbluAdLjE=" }, "brace-expansion": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", - "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", - "dev": true, - "requires": { - "balanced-match": "1.0.0", - "concat-map": "0.0.1" - } + "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=" }, "braces": { "version": "1.8.5", "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dev": true, - "requires": { - "expand-range": "1.8.2", - "preserve": "0.2.0", - "repeat-element": "1.1.2" - } + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=" }, "brorand": { "version": "1.1.0", @@ -1082,118 +624,57 @@ "browser-stdout": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.0.tgz", - "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=", - "dev": true + "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=" }, "browserify-aes": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.1.1.tgz", - "integrity": "sha512-UGnTYAnB2a3YuYKIRy1/4FB2HdM866E0qC46JXvVTYKlBlZlnvfpSfY6OKfXZAkv70eJ2a1SqzpAo5CRhZGDFg==", - "requires": { - "buffer-xor": "1.0.3", - "cipher-base": "1.0.4", - "create-hash": "1.1.3", - "evp_bytestokey": "1.0.3", - "inherits": "2.0.3", - "safe-buffer": "5.1.1" - } + "integrity": "sha512-UGnTYAnB2a3YuYKIRy1/4FB2HdM866E0qC46JXvVTYKlBlZlnvfpSfY6OKfXZAkv70eJ2a1SqzpAo5CRhZGDFg==" }, "browserify-cipher": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.0.tgz", - "integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=", - "dev": true, - "requires": { - "browserify-aes": "1.1.1", - "browserify-des": "1.0.0", - "evp_bytestokey": "1.0.3" - } + "integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=" }, "browserify-des": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.0.tgz", - "integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=", - "dev": true, - "requires": { - "cipher-base": "1.0.4", - "des.js": "1.0.0", - "inherits": "2.0.3" - } + "integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=" }, "browserify-rsa": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", - "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", - "dev": true, - "requires": { - "bn.js": "4.11.8", - "randombytes": "2.0.5" - } + "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=" }, "browserify-sha3": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/browserify-sha3/-/browserify-sha3-0.0.1.tgz", - "integrity": "sha1-P/NKMAbvFcD7NWflQbkaI0ASPRE=", - "requires": { - "js-sha3": "0.3.1" - }, - "dependencies": { - "js-sha3": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.3.1.tgz", - "integrity": "sha1-hhIoAhQvCChQKg0d7h2V4lO7AkM=" - } - } + "integrity": "sha1-P/NKMAbvFcD7NWflQbkaI0ASPRE=" }, "browserify-sign": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", - "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", - "dev": true, - "requires": { - "bn.js": "4.11.8", - "browserify-rsa": "4.0.1", - "create-hash": "1.1.3", - "create-hmac": "1.1.6", - "elliptic": "6.3.3", - "inherits": "2.0.3", - "parse-asn1": "5.1.0" - } + "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=" }, "browserify-zlib": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", - "dev": true, - "requires": { - "pako": "1.0.6" - } + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==" + }, + "browserslist": { + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.11.1.tgz", + "integrity": "sha512-Gp4oJOQOby5TpOJJuUtCrGE0KSJOUYVa/I+/3eD/TRWEK8jqZuJPAK1t+VuG6jp0keudrqtxlH4MbYbmylun9g==" }, "buffer": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", - "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", - "dev": true, - "requires": { - "base64-js": "1.2.1", - "ieee754": "1.1.8", - "isarray": "1.0.0" - } + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-3.6.0.tgz", + "integrity": "sha1-pyyTb3e5a/UvX357RnGAYoVR3vs=" }, "buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", - "dev": true - }, - "buffer-to-arraybuffer": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.2.tgz", - "integrity": "sha1-0NgFZNwxhmoZdlFUh7OrYg23yEk=", - "dev": true, - "requires": { - "tape": "3.6.1" - } + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=" }, "buffer-xor": { "version": "1.0.3", @@ -1203,35 +684,22 @@ "builtin-modules": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", - "dev": true + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=" }, "builtin-status-codes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", - "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", - "dev": true - }, - "bytes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", - "dev": true + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=" }, "caller-path": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", - "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", - "dev": true, - "requires": { - "callsites": "0.2.0" - } + "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=" }, "callsites": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", - "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", - "dev": true + "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=" }, "camelcase": { "version": "2.1.1", @@ -1241,206 +709,104 @@ "camelcase-keys": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", - "dev": true, - "requires": { - "camelcase": "2.1.1", - "map-obj": "1.0.1" - }, - "dependencies": { - "camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", - "dev": true - } - } + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=" + }, + "caniuse-lite": { + "version": "1.0.30000791", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000791.tgz", + "integrity": "sha1-jjV0Xv1IOj4ju301CZAybSMZ/BY=" }, "caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", - "dev": true + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" }, "center-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", - "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", - "dev": true, - "requires": { - "align-text": "0.1.4", - "lazy-cache": "1.0.4" - } + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=" }, "chai": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chai/-/chai-4.1.2.tgz", - "integrity": "sha1-D2RYS6ZC8PKs4oBiefTwbKI61zw=", - "dev": true, - "requires": { - "assertion-error": "1.0.2", - "check-error": "1.0.2", - "deep-eql": "3.0.1", - "get-func-name": "2.0.0", - "pathval": "1.1.0", - "type-detect": "4.0.5" - } + "integrity": "sha1-D2RYS6ZC8PKs4oBiefTwbKI61zw=" }, "chalk": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "dev": true, - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=" }, "character-parser": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/character-parser/-/character-parser-2.2.0.tgz", - "integrity": "sha1-x84o821LzZdE5f/CxfzeHHMmH8A=", - "dev": true, - "requires": { - "is-regex": "1.0.4" - } + "integrity": "sha1-x84o821LzZdE5f/CxfzeHHMmH8A=" }, "chardet": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", - "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", - "dev": true + "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=" }, "charm": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/charm/-/charm-0.1.2.tgz", - "integrity": "sha1-BsIe7RobBq62dVPNxT4jJ0usIpY=", - "dev": true + "integrity": "sha1-BsIe7RobBq62dVPNxT4jJ0usIpY=" }, "check-error": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", - "dev": true + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" }, "chokidar": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", - "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", - "dev": true, - "requires": { - "anymatch": "1.3.2", - "async-each": "1.0.1", - "fsevents": "1.1.3", - "glob-parent": "2.0.0", - "inherits": "2.0.3", - "is-binary-path": "1.0.1", - "is-glob": "2.0.1", - "path-is-absolute": "1.0.1", - "readdirp": "2.1.0" - } + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=" }, "cipher-base": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "requires": { - "inherits": "2.0.3", - "safe-buffer": "5.1.1" - } + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==" }, "circular-json": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", - "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", - "dev": true + "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==" }, "clean-css": { "version": "3.4.28", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-3.4.28.tgz", "integrity": "sha1-vxlF6C/ICPVWlebd6uwBQA79A/8=", - "dev": true, - "requires": { - "commander": "2.8.1", - "source-map": "0.4.4" - }, "dependencies": { "commander": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", - "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=", - "dev": true, - "requires": { - "graceful-readlink": "1.0.1" - } + "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=" }, "source-map": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", - "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", - "dev": true, - "requires": { - "amdefine": "1.0.1" - } + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=" } } }, "cli-cursor": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", - "dev": true, - "requires": { - "restore-cursor": "2.0.0" - } + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=" }, "cli-table": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz", - "integrity": "sha1-9TsFJmqLGguTSz0IIebi3FkUriM=", - "dev": true, - "requires": { - "colors": "1.0.3" - } + "integrity": "sha1-9TsFJmqLGguTSz0IIebi3FkUriM=" }, "cli-width": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", - "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", - "dev": true + "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=" }, "cliui": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", - "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wrap-ansi": "2.1.0" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "requires": { - "number-is-nan": "1.0.1" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" - } - } - } + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=" }, "co": { "version": "4.6.0", @@ -1455,456 +821,267 @@ "coffee-script": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.10.0.tgz", - "integrity": "sha1-EpOLz5vhlI+gBvkuDEyegXBRCMA=", - "dev": true + "integrity": "sha1-EpOLz5vhlI+gBvkuDEyegXBRCMA=" }, "color-convert": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", - "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } + "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==" }, "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "colors": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", - "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=", - "dev": true + "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=" }, "combined-stream": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", - "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=", - "dev": true, - "requires": { - "delayed-stream": "1.0.0" - } + "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=" }, "commander": { - "version": "2.12.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.12.2.tgz", - "integrity": "sha512-BFnaq5ZOGcDN7FlrtBT4xxkgIToalIIxwjxLWVJ8bGTpe1LroqMiqQXdA7ygc7CRvaYS+9zfPGFnJqFSayx+AA==", - "dev": true + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", + "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==" }, "common-tags": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.5.1.tgz", - "integrity": "sha512-NrUYGY5TApAk9KB+IZXkR3GR4tA3g26HDsoiGt4kCMHZ727gOGkC+UNfq0Z22jE15bLkc/6RV5Jw1RBW6Usg6A==", - "dev": true, - "requires": { - "babel-runtime": "6.26.0" - } + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.7.2.tgz", + "integrity": "sha512-joj9ZlUOjCrwdbmiLqafeUSgkUM74NqhLsZtSqDmhKudaIY197zTrb8JMl31fMnCUuxwFT23eC/oWvrZzDLRJQ==" }, "compress-commons": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-1.2.2.tgz", - "integrity": "sha1-UkqfEJA/OoEzibAiXSfEi7dRiQ8=", - "dev": true, - "requires": { - "buffer-crc32": "0.2.13", - "crc32-stream": "2.0.0", - "normalize-path": "2.1.1", - "readable-stream": "2.3.3" - } + "integrity": "sha1-UkqfEJA/OoEzibAiXSfEi7dRiQ8=" }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "concat-stream": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz", - "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", - "dev": true, - "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.3", - "typedarray": "0.0.6" - } + "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=" }, "concurrently": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-3.5.1.tgz", "integrity": "sha512-689HrwGw8Rbk1xtV9C4dY6TPJAvIYZbRbnKSAtfJ7tHqICFGoZ0PCWYjxfmerRyxBG0o3sbG3pe7N8vqPwIHuQ==", - "dev": true, - "requires": { - "chalk": "0.5.1", - "commander": "2.6.0", - "date-fns": "1.29.0", - "lodash": "4.17.4", - "rx": "2.3.24", - "spawn-command": "0.0.2-1", - "supports-color": "3.2.3", - "tree-kill": "1.2.0" - }, "dependencies": { "ansi-regex": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz", - "integrity": "sha1-DY6UaWej2BQ/k+JOKYUl/BsiNfk=", - "dev": true + "integrity": "sha1-DY6UaWej2BQ/k+JOKYUl/BsiNfk=" }, "ansi-styles": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.1.0.tgz", - "integrity": "sha1-6uy/Zs1waIJ2Cy9GkVgrj1XXp94=", - "dev": true + "integrity": "sha1-6uy/Zs1waIJ2Cy9GkVgrj1XXp94=" }, "chalk": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-0.5.1.tgz", "integrity": "sha1-Zjs6ZItotV0EaQ1JFnqoN4WPIXQ=", - "dev": true, - "requires": { - "ansi-styles": "1.1.0", - "escape-string-regexp": "1.0.5", - "has-ansi": "0.1.0", - "strip-ansi": "0.3.0", - "supports-color": "0.2.0" - }, "dependencies": { "supports-color": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-0.2.0.tgz", - "integrity": "sha1-2S3iaU6z9nMjlz1649i1W0wiGQo=", - "dev": true + "integrity": "sha1-2S3iaU6z9nMjlz1649i1W0wiGQo=" } } }, "commander": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.6.0.tgz", - "integrity": "sha1-nfflL7Kgyw+4kFjugMMQQiXzfh0=", - "dev": true + "integrity": "sha1-nfflL7Kgyw+4kFjugMMQQiXzfh0=" }, "has-ansi": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-0.1.0.tgz", - "integrity": "sha1-hPJlqujA5qiKEtcCKJS3VoiUxi4=", - "dev": true, - "requires": { - "ansi-regex": "0.2.1" - } + "integrity": "sha1-hPJlqujA5qiKEtcCKJS3VoiUxi4=" }, "has-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", - "dev": true + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" }, "strip-ansi": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz", - "integrity": "sha1-JfSOoiynkYfzF0pNuHWTR7sSYiA=", - "dev": true, - "requires": { - "ansi-regex": "0.2.1" - } + "integrity": "sha1-JfSOoiynkYfzF0pNuHWTR7sSYiA=" }, "supports-color": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "dev": true, - "requires": { - "has-flag": "1.0.0" - } + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=" } } }, "configurable": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/configurable/-/configurable-0.0.1.tgz", - "integrity": "sha1-R9dbcntRtOuEwdra/j+CQDE4M7E=", - "dev": true + "integrity": "sha1-R9dbcntRtOuEwdra/j+CQDE4M7E=" }, "console-browserify": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", - "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", - "dev": true, - "requires": { - "date-now": "0.1.4" - } + "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=" }, "constantinople": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/constantinople/-/constantinople-3.1.0.tgz", "integrity": "sha1-dWnKqKo/jVk11i4fqW+fcCzYHHk=", - "dev": true, - "requires": { - "acorn": "3.3.0", - "is-expression": "2.1.0" - }, "dependencies": { "acorn": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", - "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", - "dev": true + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=" } } }, "constants-browserify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", - "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", - "dev": true + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=" }, "contains-path": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", - "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", - "dev": true - }, - "content-disposition": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", - "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=", - "dev": true - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "dev": true + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=" }, "convert-source-map": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", - "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", - "dev": true - }, - "cookie": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", - "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", - "dev": true - }, - "cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", - "dev": true + "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=" }, "core-js": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.2.tgz", - "integrity": "sha1-vEZIZW59ydyA19PHu8Fy2W50TmM=", - "dev": true + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.3.tgz", + "integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=" }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true - }, - "cors": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.4.tgz", - "integrity": "sha1-K9OB8usgECAQXNUOpZ2mMJBpRoY=", - "dev": true, - "requires": { - "object-assign": "4.1.1", - "vary": "1.1.2" - } + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "cp-file": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/cp-file/-/cp-file-3.2.0.tgz", - "integrity": "sha1-b4NhYlRiTwrViqSqjQdvAmvn4Yg=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "mkdirp": "0.5.1", - "nested-error-stacks": "1.0.2", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "readable-stream": "2.3.3" + "integrity": "sha1-b4NhYlRiTwrViqSqjQdvAmvn4Yg=" + }, + "cpr": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/cpr/-/cpr-0.4.3.tgz", + "integrity": "sha1-CiPktuwj87jMekBey1z9x3j33iU=", + "dependencies": { + "glob": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", + "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=" + }, + "rimraf": { + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.4.5.tgz", + "integrity": "sha1-7nEM5dk6j9uFb7Xqj/Di11k0sto=" + } } }, "cpy": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/cpy/-/cpy-4.0.1.tgz", "integrity": "sha1-tnJn66LzlgugalphrJQDNCKDNCQ=", - "dev": true, - "requires": { - "cp-file": "3.2.0", - "globby": "4.1.0", - "meow": "3.7.0", - "nested-error-stacks": "1.0.2", - "object-assign": "4.1.1", - "pinkie-promise": "2.0.1" - }, "dependencies": { "glob": { "version": "6.0.4", "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", - "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=", - "dev": true, - "requires": { - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } + "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=" }, "globby": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-4.1.0.tgz", - "integrity": "sha1-CA9UVJ7BuCpsYOYx/ILhIR2+lfg=", - "dev": true, - "requires": { - "array-union": "1.0.2", - "arrify": "1.0.1", - "glob": "6.0.4", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" - } + "integrity": "sha1-CA9UVJ7BuCpsYOYx/ILhIR2+lfg=" } } }, "cpy-cli": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cpy-cli/-/cpy-cli-1.0.1.tgz", - "integrity": "sha1-Z/taSi3sKMqKv/N13kuecfanVhw=", - "dev": true, - "requires": { - "cpy": "4.0.1", - "meow": "3.7.0" - } + "integrity": "sha1-Z/taSi3sKMqKv/N13kuecfanVhw=" }, "crc": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/crc/-/crc-3.5.0.tgz", - "integrity": "sha1-mLi6fUiWZbo5efWbITgTdBAaGWQ=", - "dev": true + "integrity": "sha1-mLi6fUiWZbo5efWbITgTdBAaGWQ=" }, "crc32-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-2.0.0.tgz", - "integrity": "sha1-483TtN8xaN10494/u8t7KX/pCPQ=", - "dev": true, - "requires": { - "crc": "3.5.0", - "readable-stream": "2.3.3" - } + "integrity": "sha1-483TtN8xaN10494/u8t7KX/pCPQ=" }, "create-ecdh": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz", - "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=", - "dev": true, - "requires": { - "bn.js": "4.11.8", - "elliptic": "6.3.3" - } + "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=" }, "create-hash": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.1.3.tgz", - "integrity": "sha1-YGBCrIuSYnUPSDyt2rD1gZFy2P0=", - "requires": { - "cipher-base": "1.0.4", - "inherits": "2.0.3", - "ripemd160": "2.0.1", - "sha.js": "2.4.9" - } + "integrity": "sha1-YGBCrIuSYnUPSDyt2rD1gZFy2P0=" }, "create-hmac": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.6.tgz", - "integrity": "sha1-rLniIaThe9sHbpBlfEK5PjcmzwY=", - "requires": { - "cipher-base": "1.0.4", - "create-hash": "1.1.3", - "inherits": "2.0.3", - "ripemd160": "2.0.1", - "safe-buffer": "5.1.1", - "sha.js": "2.4.9" - } + "integrity": "sha1-rLniIaThe9sHbpBlfEK5PjcmzwY=" }, "cron": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/cron/-/cron-1.1.0.tgz", - "integrity": "sha1-YehoxvGPmOi8uIvNern7j66QlFM=", - "dev": true, - "requires": { - "moment-timezone": "0.3.1" - } + "integrity": "sha1-YehoxvGPmOi8uIvNern7j66QlFM=" + }, + "cross-conf-env": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/cross-conf-env/-/cross-conf-env-1.1.2.tgz", + "integrity": "sha1-7dlr//SOTO2w90HMpSeI9ks65kA=", + "dev": true }, "cross-env": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-3.2.4.tgz", "integrity": "sha1-ngWF8neGTtQhznVvgamA/w1piro=", - "dev": true, - "requires": { - "cross-spawn": "5.1.0", - "is-windows": "1.0.1" - } - }, + "dependencies": { + "is-windows": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.1.tgz", + "integrity": "sha1-MQ23D3QtJZoWo2kgK1GvhCMzENk=" + } + } + }, "cross-spawn": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", - "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", - "dev": true, - "requires": { - "lru-cache": "4.1.1", - "shebang-command": "1.2.0", - "which": "1.3.0" - } + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=" }, "cryptiles": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-3.1.2.tgz", "integrity": "sha1-qJ+7Ig9c4l7FboxKqKT9e1sNKf4=", - "dev": true, - "requires": { - "boom": "5.2.0" - }, "dependencies": { "boom": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/boom/-/boom-5.2.0.tgz", - "integrity": "sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw==", - "dev": true, - "requires": { - "hoek": "4.2.0" - } + "integrity": "sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw==" } } }, "crypto-browserify": { "version": "3.12.0", "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", - "dev": true, - "requires": { - "browserify-cipher": "1.0.0", - "browserify-sign": "4.0.4", - "create-ecdh": "4.0.0", - "create-hash": "1.1.3", - "create-hmac": "1.1.6", - "diffie-hellman": "5.0.2", - "inherits": "2.0.3", - "pbkdf2": "3.0.14", - "public-encrypt": "4.0.0", - "randombytes": "2.0.5", - "randomfill": "1.0.3" - } + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==" }, "crypto-js": { "version": "3.1.8", @@ -1914,76 +1091,43 @@ "currently-unhandled": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", - "dev": true, - "requires": { - "array-find-index": "1.0.2" - } + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=" }, "cwd": { "version": "0.10.0", "resolved": "https://registry.npmjs.org/cwd/-/cwd-0.10.0.tgz", - "integrity": "sha1-FyQAaUBXwioTsM8WFix+S3p/5Wc=", - "dev": true, - "requires": { - "find-pkg": "0.1.2", - "fs-exists-sync": "0.1.0" - } + "integrity": "sha1-FyQAaUBXwioTsM8WFix+S3p/5Wc=" }, "d": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", - "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", - "dev": true, - "requires": { - "es5-ext": "0.10.37" - } + "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=" }, "daostack-arc": { - "version": "0.0.0-alpha.19", - "resolved": "https://registry.npmjs.org/daostack-arc/-/daostack-arc-0.0.0-alpha.19.tgz", - "integrity": "sha1-DNF9udb/el4ToRCrvvYjnoJuOg8=", - "dev": true, - "requires": { - "@types/bignumber.js": "4.0.3", - "bip39": "2.4.0", - "default-options": "1.0.0", - "ethers": "2.1.3", - "promisify": "0.0.3", - "truffle-contract": "3.0.1", - "web3-typescript-typings": "0.7.2", - "web3-utils": "1.0.0-beta.27" - } + "version": "0.0.0-alpha.27", + "resolved": "https://registry.npmjs.org/daostack-arc/-/daostack-arc-0.0.0-alpha.27.tgz", + "integrity": "sha512-C/M8L3yRtKJDJZOxU89lMmynjVBeIDDtFH62ZWuEzclR1SPe5ep29Zjbk68qqkzKmj7X9aqHa+fRMNRz4YwP2w==", + "dev": true }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "dev": true, - "requires": { - "assert-plus": "1.0.0" - } + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=" }, "date-fns": { "version": "1.29.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.29.0.tgz", - "integrity": "sha512-lbTXWZ6M20cWH8N9S6afb0SBm6tMk+uUg6z3MqHPKE9atmsY3kJkTm8vKe93izJ2B2+q5MV990sM2CHgtAZaOw==", - "dev": true + "integrity": "sha512-lbTXWZ6M20cWH8N9S6afb0SBm6tMk+uUg6z3MqHPKE9atmsY3kJkTm8vKe93izJ2B2+q5MV990sM2CHgtAZaOw==" }, "date-now": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", - "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", - "dev": true + "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=" }, "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==" }, "decamelize": { "version": "1.2.0", @@ -1993,641 +1137,339 @@ "decompress": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/decompress/-/decompress-4.2.0.tgz", - "integrity": "sha1-eu3YVCflqS2s/lVnSnxQXpbQH50=", - "dev": true, - "requires": { - "decompress-tar": "4.1.1", - "decompress-tarbz2": "4.1.1", - "decompress-targz": "4.1.1", - "decompress-unzip": "4.0.1", - "graceful-fs": "4.1.11", - "make-dir": "1.1.0", - "pify": "2.3.0", - "strip-dirs": "2.1.0" - } + "integrity": "sha1-eu3YVCflqS2s/lVnSnxQXpbQH50=" }, "decompress-tar": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz", - "integrity": "sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==", - "dev": true, - "requires": { - "file-type": "5.2.0", - "is-stream": "1.1.0", - "tar-stream": "1.5.5" - }, - "dependencies": { - "file-type": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz", - "integrity": "sha1-LdvqfHP/42No365J3DOMBYwritY=", - "dev": true - } - } + "integrity": "sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==" }, "decompress-tarbz2": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz", "integrity": "sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A==", - "dev": true, - "requires": { - "decompress-tar": "4.1.1", - "file-type": "6.2.0", - "is-stream": "1.1.0", - "seek-bzip": "1.0.5", - "unbzip2-stream": "1.2.5" - }, "dependencies": { "file-type": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/file-type/-/file-type-6.2.0.tgz", - "integrity": "sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg==", - "dev": true + "integrity": "sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg==" } } }, "decompress-targz": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/decompress-targz/-/decompress-targz-4.1.1.tgz", - "integrity": "sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w==", - "dev": true, - "requires": { - "decompress-tar": "4.1.1", - "file-type": "5.2.0", - "is-stream": "1.1.0" - }, - "dependencies": { - "file-type": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz", - "integrity": "sha1-LdvqfHP/42No365J3DOMBYwritY=", - "dev": true - } - } + "integrity": "sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w==" }, "decompress-unzip": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-4.0.1.tgz", "integrity": "sha1-3qrM39FK6vhVePczroIQ+bSEj2k=", - "dev": true, - "requires": { - "file-type": "3.9.0", - "get-stream": "2.3.1", - "pify": "2.3.0", - "yauzl": "2.9.1" - }, "dependencies": { - "get-stream": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz", - "integrity": "sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4=", - "dev": true, - "requires": { - "object-assign": "4.1.1", - "pinkie-promise": "2.0.1" - } + "file-type": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", + "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=" } } }, "deep-eql": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "dev": true, - "requires": { - "type-detect": "4.0.5" - } - }, - "deep-equal": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-0.2.2.tgz", - "integrity": "sha1-hLdFiW80xoTpjyzg5Cq69Du6AX0=", - "dev": true + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==" }, "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" }, "default-options": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/default-options/-/default-options-1.0.0.tgz", - "integrity": "sha1-ZiRmWprA0JiCr3Tm5Eyx2sWMqyo=", - "requires": { - "lodash": "4.17.4" - } + "integrity": "sha1-ZiRmWprA0JiCr3Tm5Eyx2sWMqyo=" }, "define-properties": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", - "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", - "dev": true, - "requires": { - "foreach": "2.0.5", - "object-keys": "1.0.11" - } - }, - "defined": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-0.0.0.tgz", - "integrity": "sha1-817qfXBekzuvE7LwOz+D2SFAOz4=", - "dev": true + "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=" }, "del": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", - "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", - "dev": true, - "requires": { - "globby": "5.0.0", - "is-path-cwd": "1.0.0", - "is-path-in-cwd": "1.0.0", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "rimraf": "2.6.2" - } + "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=" }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" }, "depd": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", - "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=", - "dev": true + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" }, "des.js": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", - "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", - "dev": true, - "requires": { - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0" - } + "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=" }, "destroy": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", - "dev": true + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" }, "detect-indent": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", - "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", - "dev": true, - "requires": { - "repeating": "2.0.1" - } + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=" }, "diff": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/diff/-/diff-3.3.1.tgz", - "integrity": "sha512-MKPHZDMB0o6yHyDryUOScqZibp914ksXwAMYMTHj6KO8UeKsRYNJD3oNCKjTqZon+V488P7N/HzXF8t7ZR95ww==", - "dev": true + "integrity": "sha512-MKPHZDMB0o6yHyDryUOScqZibp914ksXwAMYMTHj6KO8UeKsRYNJD3oNCKjTqZon+V488P7N/HzXF8t7ZR95ww==" }, "diffie-hellman": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.2.tgz", - "integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=", - "dev": true, - "requires": { - "bn.js": "4.11.8", - "miller-rabin": "4.0.1", - "randombytes": "2.0.5" - } + "integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=" }, "doctrine": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.0.2.tgz", - "integrity": "sha512-y0tm5Pq6ywp3qSTZ1vPgVdAnbDEoeoc5wlOHXoY1c4Wug/a7JvqHIl7BTvwodaHmejWkK/9dSb3sCYfyo/om8A==", - "dev": true, - "requires": { - "esutils": "2.0.2" - } + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==" }, "doctypes": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/doctypes/-/doctypes-1.1.0.tgz", - "integrity": "sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk=", - "dev": true - }, - "dom-walk": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz", - "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=", - "dev": true + "integrity": "sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk=" }, "domain-browser": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz", - "integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw=", - "dev": true + "integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw=" + }, + "dotenv": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-4.0.0.tgz", + "integrity": "sha1-hk7xN5rO1Vzm+V3r7NzhefegzR0=" }, "drbg.js": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", - "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", - "requires": { - "browserify-aes": "1.1.1", - "create-hash": "1.1.3", - "create-hmac": "1.1.6" - } + "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=" }, "duplexer": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", - "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", - "dev": true + "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=" + }, + "easy-stack": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/easy-stack/-/easy-stack-1.0.0.tgz", + "integrity": "sha1-EskbMIWjfwuqM26UhurEv5Tj54g=" }, "ecc-jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", - "dev": true, - "optional": true, - "requires": { - "jsbn": "0.1.1" - } + "optional": true }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", - "dev": true + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "electron-releases": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/electron-releases/-/electron-releases-2.1.0.tgz", + "integrity": "sha512-cyKFD1bTE/UgULXfaueIN1k5EPFzs+FRc/rvCY5tIynefAPqopQEgjr0EzY+U3Dqrk/G4m9tXSPuZ77v6dL/Rw==" + }, + "electron-to-chromium": { + "version": "1.3.30", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.30.tgz", + "integrity": "sha512-zx1Prv7kYLfc4OA60FhxGbSo4qrEjgSzpo1/37i7l9ltXPYOoQBtjQxY9KmsgfHnBxHlBGXwLlsbt/gub1w5lw==" }, "elliptic": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz", - "integrity": "sha1-VILZZG1UvLif19mU/J4ulWiHbj8=", - "requires": { - "bn.js": "4.11.8", - "brorand": "1.1.0", - "hash.js": "1.1.3", - "inherits": "2.0.3" - } + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz", + "integrity": "sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=" }, "emojis-list": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", - "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", - "dev": true + "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=" }, "encodeurl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.1.tgz", - "integrity": "sha1-eePVhlU0aQn+bw9Fpd5oEDspTSA=", - "dev": true + "integrity": "sha1-eePVhlU0aQn+bw9Fpd5oEDspTSA=" }, "encoding": { "version": "0.1.12", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", - "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", - "dev": true, - "requires": { - "iconv-lite": "0.4.19" - } + "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=" }, "end-of-stream": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.0.tgz", - "integrity": "sha1-epDYM+/abPpurA9JSduw+tOmMgY=", - "dev": true, - "requires": { - "once": "1.4.0" - } + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", + "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==" }, "enhanced-resolve": { "version": "3.4.1", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz", - "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "memory-fs": "0.4.1", - "object-assign": "4.1.1", - "tapable": "0.2.8" - } + "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=" }, "env-variable": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/env-variable/-/env-variable-0.0.3.tgz", - "integrity": "sha1-uGwWQb5WECZ9UG8YBx6nbXBwl8s=", - "dev": true + "integrity": "sha1-uGwWQb5WECZ9UG8YBx6nbXBwl8s=" }, "errno": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.5.tgz", - "integrity": "sha512-tv2H+e3KBnMmNRuoVG24uorOj3XfYo+/nJJd07PUISRr0kaMKQKL5kyD+6ANXk1ZIIsvbORsjvHnCfC4KIc7uQ==", - "dev": true, - "requires": { - "prr": "1.0.1" - } + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.6.tgz", + "integrity": "sha512-IsORQDpaaSwcDP4ZZnHxgE85werpo34VYn1Ud3mq+eUsF593faR8oCZNXrROVkpFu2TsbrNhHin0aUrTsQ9vNw==" }, "error-ex": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", - "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", - "dev": true, - "requires": { - "is-arrayish": "0.2.1" - } + "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=" }, "es-abstract": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.10.0.tgz", - "integrity": "sha512-/uh/DhdqIOSkAWifU+8nG78vlQxdLckUdI/sPgy0VhuXi2qJ7T8czBmqIYtLQVpCIFYafChnsRsB5pyb1JdmCQ==", - "dev": true, - "requires": { - "es-to-primitive": "1.1.1", - "function-bind": "1.1.1", - "has": "1.0.1", - "is-callable": "1.1.3", - "is-regex": "1.0.4" - } + "integrity": "sha512-/uh/DhdqIOSkAWifU+8nG78vlQxdLckUdI/sPgy0VhuXi2qJ7T8czBmqIYtLQVpCIFYafChnsRsB5pyb1JdmCQ==" }, "es-to-primitive": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz", - "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", - "dev": true, - "requires": { - "is-callable": "1.1.3", - "is-date-object": "1.0.1", - "is-symbol": "1.0.1" - } + "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=" }, "es5-ext": { "version": "0.10.37", "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.37.tgz", - "integrity": "sha1-DudB0Ui4AGm6J9AgOTdWryV978M=", - "dev": true, - "requires": { - "es6-iterator": "2.0.3", - "es6-symbol": "3.1.1" - } + "integrity": "sha1-DudB0Ui4AGm6J9AgOTdWryV978M=" }, "es6-iterator": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", - "dev": true, - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37", - "es6-symbol": "3.1.1" - } + "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=" }, "es6-map": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", - "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", - "dev": true, - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37", - "es6-iterator": "2.0.3", - "es6-set": "0.1.5", - "es6-symbol": "3.1.1", - "event-emitter": "0.3.5" - } + "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=" }, "es6-set": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", - "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", - "dev": true, - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37", - "es6-iterator": "2.0.3", - "es6-symbol": "3.1.1", - "event-emitter": "0.3.5" - } + "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=" }, "es6-symbol": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", - "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", - "dev": true, - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37" - } + "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=" }, "es6-weak-map": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", - "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", - "dev": true, - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37", - "es6-iterator": "2.0.3", - "es6-symbol": "3.1.1" - } + "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=" }, "escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", - "dev": true + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" }, "escape-regexp": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/escape-regexp/-/escape-regexp-0.0.1.tgz", - "integrity": "sha1-9EvaEtRbvfnLf4Yu5+SCez3TIlQ=", - "dev": true + "integrity": "sha1-9EvaEtRbvfnLf4Yu5+SCez3TIlQ=" }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "escope": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", - "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", - "dev": true, - "requires": { - "es6-map": "0.1.5", - "es6-weak-map": "2.0.2", - "esrecurse": "4.2.0", - "estraverse": "4.2.0" - } + "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=" }, "eslint": { - "version": "4.13.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-4.13.0.tgz", - "integrity": "sha512-1l2aVrEz9yiWsEQdL3XZEzTovHQJFZaTeIhOOilKQRiYNn1dVALoYOtn06iPoxhEwFukBPX4Ff8WoGD4r/7D2A==", - "dev": true, - "requires": { - "ajv": "5.5.1", - "babel-code-frame": "6.26.0", - "chalk": "2.3.0", - "concat-stream": "1.6.0", - "cross-spawn": "5.1.0", - "debug": "3.1.0", - "doctrine": "2.0.2", - "eslint-scope": "3.7.1", - "espree": "3.5.2", - "esquery": "1.0.0", - "estraverse": "4.2.0", - "esutils": "2.0.2", - "file-entry-cache": "2.0.0", - "functional-red-black-tree": "1.0.1", - "glob": "7.1.2", - "globals": "11.1.0", - "ignore": "3.3.7", - "imurmurhash": "0.1.4", - "inquirer": "3.3.0", - "is-resolvable": "1.0.0", - "js-yaml": "3.10.0", - "json-stable-stringify-without-jsonify": "1.0.1", - "levn": "0.3.0", - "lodash": "4.17.4", - "minimatch": "3.0.4", - "mkdirp": "0.5.1", - "natural-compare": "1.4.0", - "optionator": "0.8.2", - "path-is-inside": "1.0.2", - "pluralize": "7.0.0", - "progress": "2.0.0", - "require-uncached": "1.0.3", - "semver": "5.4.1", - "strip-ansi": "4.0.0", - "strip-json-comments": "2.0.1", - "table": "4.0.2", - "text-table": "0.2.0" - }, + "version": "4.15.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-4.15.0.tgz", + "integrity": "sha512-zEO/Z1ZUxIQ+MhDVKkVTUYpIPDTEJLXGMrkID+5v1NeQHtCz6FZikWuFRgxE1Q/RV2V4zVl1u3xmpPADHhMZ6A==", "dependencies": { "ansi-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" }, "ansi-styles": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", - "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", - "dev": true, - "requires": { - "color-convert": "1.9.1" - } + "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==" }, "chalk": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz", - "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==", - "dev": true, - "requires": { - "ansi-styles": "3.2.0", - "escape-string-regexp": "1.0.5", - "supports-color": "4.5.0" - } + "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==" }, "debug": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dev": true, - "requires": { - "ms": "2.0.0" - } + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==" }, "globals": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.1.0.tgz", - "integrity": "sha512-uEuWt9mqTlPDwSqi+sHjD4nWU/1N+q0fiWI9T1mZpD2UENqX20CFD5T/ziLZvztPaBKl7ZylUi1q6Qfm7E2CiQ==", - "dev": true + "integrity": "sha512-uEuWt9mqTlPDwSqi+sHjD4nWU/1N+q0fiWI9T1mZpD2UENqX20CFD5T/ziLZvztPaBKl7ZylUi1q6Qfm7E2CiQ==" + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" }, "strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "3.0.0" - } + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=" }, "supports-color": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", - "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", - "dev": true, - "requires": { - "has-flag": "2.0.0" - } + "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=" } } }, "eslint-config-defaults": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/eslint-config-defaults/-/eslint-config-defaults-9.0.0.tgz", - "integrity": "sha1-oJCtwTspNeP0OzzQSKknAWVOWtU=", - "dev": true + "integrity": "sha1-oJCtwTspNeP0OzzQSKknAWVOWtU=" }, "eslint-config-standard": { "version": "10.2.1", "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-10.2.1.tgz", - "integrity": "sha1-wGHk0GbzedwXzVYsZOgZtN1FRZE=", - "dev": true + "integrity": "sha1-wGHk0GbzedwXzVYsZOgZtN1FRZE=" }, "eslint-import-resolver-node": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.1.tgz", - "integrity": "sha512-yUtXS15gIcij68NmXmP9Ni77AQuCN0itXbCc/jWd8C6/yKZaSNXicpC8cgvjnxVdmfsosIXrjpzFq7GcDryb6A==", - "dev": true, - "requires": { - "debug": "2.6.9", - "resolve": "1.5.0" - } + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", + "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==" }, "eslint-module-utils": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.1.1.tgz", - "integrity": "sha512-jDI/X5l/6D1rRD/3T43q8Qgbls2nq5km5KSqiwlyUbGo5+04fXhMKdCPhjwbqAa6HXWaMxj8Q4hQDIh7IadJQw==", - "dev": true, - "requires": { - "debug": "2.6.9", - "pkg-dir": "1.0.0" - } + "integrity": "sha512-jDI/X5l/6D1rRD/3T43q8Qgbls2nq5km5KSqiwlyUbGo5+04fXhMKdCPhjwbqAa6HXWaMxj8Q4hQDIh7IadJQw==" }, "eslint-plugin-import": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.8.0.tgz", "integrity": "sha512-Rf7dfKJxZ16QuTgVv1OYNxkZcsu/hULFnC+e+w0Gzi6jMC3guQoWQgxYxc54IDRinlb6/0v5z/PxxIKmVctN+g==", - "dev": true, - "requires": { - "builtin-modules": "1.1.1", - "contains-path": "0.1.0", - "debug": "2.6.9", - "doctrine": "1.5.0", - "eslint-import-resolver-node": "0.3.1", - "eslint-module-utils": "2.1.1", - "has": "1.0.1", - "lodash.cond": "4.5.2", - "minimatch": "3.0.4", - "read-pkg-up": "2.0.0" - }, "dependencies": { "doctrine": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", - "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", - "dev": true, - "requires": { - "esutils": "2.0.2", - "isarray": "1.0.0" - } + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=" } } }, @@ -2635,199 +1477,103 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-5.2.1.tgz", "integrity": "sha512-xhPXrh0Vl/b7870uEbaumb2Q+LxaEcOQ3kS1jtIXanBAwpMre1l5q/l2l/hESYJGEFKuI78bp6Uw50hlpr7B+g==", - "dev": true, - "requires": { - "ignore": "3.3.7", - "minimatch": "3.0.4", - "resolve": "1.5.0", - "semver": "5.3.0" - }, "dependencies": { "semver": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", - "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", - "dev": true + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=" } } }, "eslint-plugin-promise": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-3.6.0.tgz", - "integrity": "sha512-YQzM6TLTlApAr7Li8vWKR+K3WghjwKcYzY0d2roWap4SLK+kzuagJX/leTetIDWsFcTFnKNJXWupDCD6aZkP2Q==", - "dev": true + "integrity": "sha512-YQzM6TLTlApAr7Li8vWKR+K3WghjwKcYzY0d2roWap4SLK+kzuagJX/leTetIDWsFcTFnKNJXWupDCD6aZkP2Q==" }, "eslint-plugin-react": { "version": "7.5.1", "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.5.1.tgz", - "integrity": "sha512-YGSjB9Qu6QbVTroUZi66pYky3DfoIPLdHQ/wmrBGyBRnwxQsBXAov9j2rpXt/55i8nyMv6IRWJv2s4d4YnduzQ==", - "dev": true, - "requires": { - "doctrine": "2.0.2", - "has": "1.0.1", - "jsx-ast-utils": "2.0.1", - "prop-types": "15.6.0" - } + "integrity": "sha512-YGSjB9Qu6QbVTroUZi66pYky3DfoIPLdHQ/wmrBGyBRnwxQsBXAov9j2rpXt/55i8nyMv6IRWJv2s4d4YnduzQ==" }, "eslint-plugin-standard": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-3.0.1.tgz", - "integrity": "sha1-NNDJFbRe3G8BA5PH7vOCOwhWXPI=", - "dev": true + "integrity": "sha1-NNDJFbRe3G8BA5PH7vOCOwhWXPI=" }, "eslint-scope": { "version": "3.7.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.1.tgz", - "integrity": "sha1-PWPD7f2gLgbgGkUq2IyqzHzctug=", - "dev": true, - "requires": { - "esrecurse": "4.2.0", - "estraverse": "4.2.0" - } + "integrity": "sha1-PWPD7f2gLgbgGkUq2IyqzHzctug=" + }, + "eslint-visitor-keys": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", + "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==" }, "espree": { "version": "3.5.2", "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.2.tgz", - "integrity": "sha512-sadKeYwaR/aJ3stC2CdvgXu1T16TdYN+qwCpcWbMnGJ8s0zNWemzrvb2GbD4OhmJ/fwpJjudThAlLobGbWZbCQ==", - "dev": true, - "requires": { - "acorn": "5.2.1", - "acorn-jsx": "3.0.1" - } + "integrity": "sha512-sadKeYwaR/aJ3stC2CdvgXu1T16TdYN+qwCpcWbMnGJ8s0zNWemzrvb2GbD4OhmJ/fwpJjudThAlLobGbWZbCQ==" }, "esprima": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", - "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==", - "dev": true + "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" }, "esquery": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.0.tgz", - "integrity": "sha1-z7qLV9f7qT8XKYqKAGoEzaE9gPo=", - "dev": true, - "requires": { - "estraverse": "4.2.0" - } + "integrity": "sha1-z7qLV9f7qT8XKYqKAGoEzaE9gPo=" }, "esrecurse": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.0.tgz", - "integrity": "sha1-+pVo2Y04I/mkHZHpAtyrnqblsWM=", - "dev": true, - "requires": { - "estraverse": "4.2.0", - "object-assign": "4.1.1" - } + "integrity": "sha1-+pVo2Y04I/mkHZHpAtyrnqblsWM=" }, "estraverse": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", - "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", - "dev": true + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=" }, "esutils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", - "dev": true + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=" }, "etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "dev": true - }, - "eth-lib": { - "version": "0.1.27", - "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.27.tgz", - "integrity": "sha512-B8czsfkJYzn2UIEMwjc7Mbj+Cy72V+/OXH/tb44LV8jhrjizQJJ325xMOMyk3+ETa6r6oi0jsUY14+om8mQMWA==", - "dev": true, - "requires": { - "bn.js": "4.11.8", - "elliptic": "6.4.0", - "keccakjs": "0.2.1", - "nano-json-stream-parser": "0.1.2", - "servify": "0.1.12", - "ws": "3.3.3", - "xhr-request-promise": "0.1.2" - }, - "dependencies": { - "elliptic": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz", - "integrity": "sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=", - "dev": true, - "requires": { - "bn.js": "4.11.8", - "brorand": "1.1.0", - "hash.js": "1.1.3", - "hmac-drbg": "1.0.1", - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0", - "minimalistic-crypto-utils": "1.0.1" - } - } - } + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" }, "ethereumjs-abi": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.5.tgz", - "integrity": "sha1-WmN+8Wq0NHP6cqKa2QhxQFs/UkE=", - "requires": { - "bn.js": "4.11.8", - "ethereumjs-util": "4.5.0" - } + "integrity": "sha1-WmN+8Wq0NHP6cqKa2QhxQFs/UkE=" }, "ethereumjs-testrpc": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/ethereumjs-testrpc/-/ethereumjs-testrpc-6.0.3.tgz", - "integrity": "sha512-lAxxsxDKK69Wuwqym2K49VpXtBvLEsXr1sryNG4AkvL5DomMdeCBbu3D87UEevKenLHBiT8GTjARwN6Yj039gA==", - "dev": true, - "requires": { - "webpack": "3.10.0" - } + "integrity": "sha512-lAxxsxDKK69Wuwqym2K49VpXtBvLEsXr1sryNG4AkvL5DomMdeCBbu3D87UEevKenLHBiT8GTjARwN6Yj039gA==" }, "ethereumjs-util": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-4.5.0.tgz", - "integrity": "sha1-PpQosxfuvaPXJg2FT93alUsfG8Y=", - "requires": { - "bn.js": "4.11.8", - "create-hash": "1.1.3", - "keccakjs": "0.2.1", - "rlp": "2.0.0", - "secp256k1": "3.4.0" - } + "integrity": "sha1-PpQosxfuvaPXJg2FT93alUsfG8Y=" }, "ethers": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-2.1.3.tgz", - "integrity": "sha512-9vjce4+nLQCNT7bI07rGEIWGmZvZCw+SzV7Ek/H3Los7hC+ZK0L73zp8gaORE+dYuxP1YRRZrRQP+ocuhnJk9w==", - "requires": { - "ethers-contracts": "2.1.8", - "ethers-providers": "2.1.14", - "ethers-utils": "2.1.8", - "ethers-wallet": "2.1.6" - } + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-2.2.0.tgz", + "integrity": "sha512-PGwpOI66qqAQMewV5CXFkgRLwQ6PedNt7sxrqk8LrQPyHft0WxHmAQzyZRuHOMA0OsF2lNhd1ybk16AVlhmxlQ==" }, "ethers-contracts": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/ethers-contracts/-/ethers-contracts-2.1.8.tgz", - "integrity": "sha512-litnoma4leRYzTXIdjw2Ehi8GaN2WZBY3AUZbEMgFma6qOrajtVl7j4rNyyCjFv8IIropq69EHlFTy/RSqflYg==", - "requires": { - "ethers-utils": "2.1.8" - } + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ethers-contracts/-/ethers-contracts-2.2.0.tgz", + "integrity": "sha512-ri4mneY1W1Jl2T3k48mqfdPKpcnorcZ8wAlRrCXB77NMB1zq7lmehRxvRRKmaHHNsOg1ylFjS54FBZBJtaxrOg==" }, "ethers-providers": { - "version": "2.1.14", - "resolved": "https://registry.npmjs.org/ethers-providers/-/ethers-providers-2.1.14.tgz", - "integrity": "sha512-q2tijonGll2lnzHk3aTxIxPGP9t1vKetKywKzBXCOH/lksaM5hyUgNRkuNPD+YZvK4jGR9qQIxQETGw+X1J/aw==", - "requires": { - "ethers-utils": "2.1.8", - "inherits": "2.0.1", - "xmlhttprequest": "1.8.0" - }, + "version": "2.1.16", + "resolved": "https://registry.npmjs.org/ethers-providers/-/ethers-providers-2.1.16.tgz", + "integrity": "sha512-E+Bbke0+msce2C52BdmVMgiJCFjf7hRht1eOSw7iygLz3TaLiA5NBpDAZgVIXVN2lGiv0b0XhXGBwhs7H06ydQ==", "dependencies": { "inherits": { "version": "2.0.1", @@ -2837,38 +1583,33 @@ } }, "ethers-utils": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/ethers-utils/-/ethers-utils-2.1.8.tgz", - "integrity": "sha512-hpB/aZvKWSqDGtarlfApj5u21YMqATxG0lkzz/v08XxT0lP9S6x/aDc9/x2rAVsCjSm/jIpPZxoP0LDJyss0nA==", - "requires": { - "bn.js": "4.11.8", - "hash.js": "1.1.3", - "js-sha3": "0.5.7", - "xmlhttprequest": "1.8.0" + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/ethers-utils/-/ethers-utils-2.1.9.tgz", + "integrity": "sha512-74xzi0CY/1WXDYRfiXLBrIIMwhELTAcd8wvjvXLJSTghvFQoaDq8vvtw6dg4kMliIC9+He8lEm8AXz+rZXkxyg==", + "dependencies": { + "js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" + } } }, "ethers-wallet": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/ethers-wallet/-/ethers-wallet-2.1.6.tgz", - "integrity": "sha512-fwmh/xbo5zwJ2FHLVQYIcnV48dXqiSlS54UqHX4x1TEUVUUNSFn8ppJ2FValohBN6PAK/VDcHNzbxPhOysCcGw==", - "requires": { - "aes-js": "3.0.0", - "elliptic": "6.3.3", - "ethers-utils": "2.1.8", - "scrypt-js": "2.0.3", - "setimmediate": "1.0.4", - "uuid": "2.0.1" + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/ethers-wallet/-/ethers-wallet-2.1.7.tgz", + "integrity": "sha512-aHDfUwZruRrcLS0WE0J2ayQJhnSJfEAZn8E6fR4TnUUR7OqEFJ0enlmtCwEvtie6E66Q9naQ3R3M4bmfMCHqPw==", + "dependencies": { + "elliptic": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz", + "integrity": "sha1-VILZZG1UvLif19mU/J4ulWiHbj8=" + } } }, "ethjs-abi": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/ethjs-abi/-/ethjs-abi-0.1.8.tgz", "integrity": "sha1-zSiFg+1ijN+tr4re+juh28vKbBg=", - "requires": { - "bn.js": "4.11.6", - "js-sha3": "0.5.5", - "number-to-bn": "1.7.0" - }, "dependencies": { "bn.js": { "version": "4.11.6", @@ -2882,195 +1623,208 @@ } } }, - "ethjs-unit": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz", - "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=", - "dev": true, - "requires": { - "bn.js": "4.11.6", - "number-to-bn": "1.7.0" - }, + "ethpm": { + "version": "0.0.15", + "resolved": "https://registry.npmjs.org/ethpm/-/ethpm-0.0.15.tgz", + "integrity": "sha512-nf6Im5HIN8WGqmpaxLnIQl73C5aY2K6foz6PDi0WoSaMd00TapeH8O5y608YICudOGDLCGGyRd1wqf078LoZJA==", "dependencies": { - "bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", - "dev": true + "async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", + "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==" + }, + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=" + } + } + }, + "ethpm-registry": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/ethpm-registry/-/ethpm-registry-0.0.10.tgz", + "integrity": "sha512-VXrC26KUL18pC0TPe2ZP9BeihXz/Ewy8qJjDVUatxiK9bKJcEuuIjRUJ8eFHvFxCGLhTq0US0CDnjWQJfac4hA==", + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934" + }, + "crypto-js": { + "version": "3.1.9-1", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.9-1.tgz", + "integrity": "sha1-/aGedh/Ad+Af+/3G6f38WeiAbNg=" + }, + "fs-extra": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", + "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=" + }, + "truffle-artifactor": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/truffle-artifactor/-/truffle-artifactor-2.1.5.tgz", + "integrity": "sha1-k51sszOYS1ZSmFDgPD3aykkAaHA=", + "dependencies": { + "crypto-js": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.8.tgz", + "integrity": "sha1-cV8HC/YBTyrpkqmLOSkli3E/CNU=" + }, + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=" + }, + "truffle-contract": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/truffle-contract/-/truffle-contract-2.0.5.tgz", + "integrity": "sha512-ItnN85wh4qVYPg6T4CpubI40c8dWEArtUcWcDoZ7xzj9DL7cwxqstJ0yRxyQIh4u8SRSlrOtm1dh0B7R8jtG+w==" + }, + "web3": { + "version": "0.20.3", + "resolved": "https://registry.npmjs.org/web3/-/web3-0.20.3.tgz", + "integrity": "sha1-yqRDc9yIFayHZ73ba6cwc5ZMqos=" + } + } + }, + "truffle-contract": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/truffle-contract/-/truffle-contract-1.1.11.tgz", + "integrity": "sha1-zh+nh/eXdYr/Vy9F6LEXRSf27ao=", + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" + }, + "crypto-js": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.8.tgz", + "integrity": "sha1-cV8HC/YBTyrpkqmLOSkli3E/CNU=" + }, + "truffle-blockchain-utils": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/truffle-blockchain-utils/-/truffle-blockchain-utils-0.0.1.tgz", + "integrity": "sha1-B6WOVbsFVaZCCMkRnAsE/+FGSqQ=", + "dependencies": { + "web3": { + "version": "0.18.4", + "resolved": "https://registry.npmjs.org/web3/-/web3-0.18.4.tgz", + "integrity": "sha1-gewXhBRUkfLqqJVbMcBgSeB8Xn0=" + } + } + }, + "web3": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/web3/-/web3-0.16.0.tgz", + "integrity": "sha1-pFVBdc1GKUMDWx8dOUMvdBxrYBk=", + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/debris/bignumber.js.git#c7a38de919ed75e6fb6ba38051986e294b328df9" + } + } + } + } + }, + "truffle-contract-schema": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/truffle-contract-schema/-/truffle-contract-schema-0.0.5.tgz", + "integrity": "sha1-Xp0gvQvyon/pQxB0gknUhO7kmWE=" + }, + "web3": { + "version": "0.18.4", + "resolved": "https://registry.npmjs.org/web3/-/web3-0.18.4.tgz", + "integrity": "sha1-gewXhBRUkfLqqJVbMcBgSeB8Xn0=", + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" + }, + "crypto-js": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.8.tgz", + "integrity": "sha1-cV8HC/YBTyrpkqmLOSkli3E/CNU=" + } + } } } }, + "ethpm-spec": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ethpm-spec/-/ethpm-spec-1.0.1.tgz", + "integrity": "sha1-rTwJrgSSrT0+x7lLf1/YBX1N65E=" + }, "event-emitter": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", - "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", - "dev": true, - "requires": { - "d": "1.0.0", - "es5-ext": "0.10.37" - } + "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=" + }, + "event-pubsub": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/event-pubsub/-/event-pubsub-4.3.0.tgz", + "integrity": "sha512-z7IyloorXvKbFx9Bpie2+vMJKKx1fH1EN5yiTfp8CiLOTptSYy1g8H4yDpGlEdshL1PBiFtBHepF2cNsqeEeFQ==" }, "event-stream": { "version": "3.3.4", "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz", - "integrity": "sha1-SrTJoPWlTbkzi0w02Gv86PSzVXE=", - "dev": true, - "requires": { - "duplexer": "0.1.1", - "from": "0.1.7", - "map-stream": "0.1.0", - "pause-stream": "0.0.11", - "split": "0.3.3", - "stream-combiner": "0.0.4", - "through": "2.3.8" - } + "integrity": "sha1-SrTJoPWlTbkzi0w02Gv86PSzVXE=" }, "eventemitter2": { "version": "0.4.14", "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz", - "integrity": "sha1-j2G3XN4BKy6esoTUVFWDtWQ7Yas=", - "dev": true + "integrity": "sha1-j2G3XN4BKy6esoTUVFWDtWQ7Yas=" }, "events": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", - "dev": true + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" }, "evp_bytestokey": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "requires": { - "md5.js": "1.3.4", - "safe-buffer": "5.1.1" - } + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==" }, "execa": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", - "dev": true, - "requires": { - "cross-spawn": "5.1.0", - "get-stream": "3.0.0", - "is-stream": "1.1.0", - "npm-run-path": "2.0.2", - "p-finally": "1.0.0", - "signal-exit": "3.0.2", - "strip-eof": "1.0.0" + "dependencies": { + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=" + } } }, "expand-brackets": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dev": true, - "requires": { - "is-posix-bracket": "0.1.1" - } + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=" }, "expand-range": { "version": "1.8.2", "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", - "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", - "dev": true, - "requires": { - "fill-range": "2.2.3" - } + "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=" }, "expand-tilde": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-1.2.2.tgz", - "integrity": "sha1-C4HrqJflo9MdHD0QL48BRB5VlEk=", - "dev": true, - "requires": { - "os-homedir": "1.0.2" - } - }, - "express": { - "version": "4.16.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.16.2.tgz", - "integrity": "sha1-41xt/i1kt9ygpc1PIXgb4ymeB2w=", - "dev": true, - "requires": { - "accepts": "1.3.4", - "array-flatten": "1.1.1", - "body-parser": "1.18.2", - "content-disposition": "0.5.2", - "content-type": "1.0.4", - "cookie": "0.3.1", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "1.1.1", - "encodeurl": "1.0.1", - "escape-html": "1.0.3", - "etag": "1.8.1", - "finalhandler": "1.1.0", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "1.1.2", - "on-finished": "2.3.0", - "parseurl": "1.3.2", - "path-to-regexp": "0.1.7", - "proxy-addr": "2.0.2", - "qs": "6.5.1", - "range-parser": "1.2.0", - "safe-buffer": "5.1.1", - "send": "0.16.1", - "serve-static": "1.13.1", - "setprototypeof": "1.1.0", - "statuses": "1.3.1", - "type-is": "1.6.15", - "utils-merge": "1.0.1", - "vary": "1.1.2" - }, - "dependencies": { - "setprototypeof": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", - "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", - "dev": true - }, - "statuses": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", - "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", - "dev": true - } - } + "integrity": "sha1-C4HrqJflo9MdHD0QL48BRB5VlEk=" }, "extend": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=", - "dev": true + "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" }, "external-editor": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.1.0.tgz", - "integrity": "sha512-E44iT5QVOUJBKij4IIV3uvxuNlbKS38Tw1HiupxEIHPv9qtC2PrDYohbXV5U+1jnfIXttny8gUhj+oZvflFlzA==", - "dev": true, - "requires": { - "chardet": "0.4.2", - "iconv-lite": "0.4.19", - "tmp": "0.0.33" - } + "integrity": "sha512-E44iT5QVOUJBKij4IIV3uvxuNlbKS38Tw1HiupxEIHPv9qtC2PrDYohbXV5U+1jnfIXttny8gUhj+oZvflFlzA==" }, "extglob": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dev": true, - "requires": { - "is-extglob": "1.0.0" - } + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=" }, "extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "dev": true + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" }, "fast-deep-equal": { "version": "1.0.0", @@ -3085,427 +1839,269 @@ "fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" }, "fbjs": { "version": "0.8.16", "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz", "integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=", - "dev": true, - "requires": { - "core-js": "1.2.7", - "isomorphic-fetch": "2.2.1", - "loose-envify": "1.3.1", - "object-assign": "4.1.1", - "promise": "7.3.1", - "setimmediate": "1.0.5", - "ua-parser-js": "0.7.17" - }, "dependencies": { "core-js": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", - "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=", - "dev": true + "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" }, "setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", - "dev": true + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" } } }, "fd-slicer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz", - "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=", - "dev": true, - "requires": { - "pend": "1.2.0" - } + "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=" }, "figures": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", - "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", - "dev": true, - "requires": { - "escape-string-regexp": "1.0.5" - } + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=" }, "file-entry-cache": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", - "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", - "dev": true, - "requires": { - "flat-cache": "1.3.0", - "object-assign": "4.1.1" - } + "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=" }, "file-type": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", - "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=", - "dev": true + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz", + "integrity": "sha1-LdvqfHP/42No365J3DOMBYwritY=" }, "filename-regex": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", - "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", - "dev": true + "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=" }, "fill-range": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", - "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", - "dev": true, - "requires": { - "is-number": "2.1.0", - "isobject": "2.1.0", - "randomatic": "1.1.7", - "repeat-element": "1.1.2", - "repeat-string": "1.6.1" - } + "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=" }, "finalhandler": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", - "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", - "dev": true, - "requires": { - "debug": "2.6.9", - "encodeurl": "1.0.1", - "escape-html": "1.0.3", - "on-finished": "2.3.0", - "parseurl": "1.3.2", - "statuses": "1.3.1", - "unpipe": "1.0.0" - }, + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-0.4.1.tgz", + "integrity": "sha1-haF8bFmpRxfSYtYSMNSw6+PUoU0=", "dependencies": { - "statuses": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", - "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", - "dev": true + "debug": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=" + }, + "ms": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=" } } }, "find-file-up": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/find-file-up/-/find-file-up-0.1.3.tgz", - "integrity": "sha1-z2gJG8+fMApA2kEbN9pczlovvqA=", - "dev": true, - "requires": { - "fs-exists-sync": "0.1.0", - "resolve-dir": "0.1.1" - } + "integrity": "sha1-z2gJG8+fMApA2kEbN9pczlovvqA=" }, "find-pkg": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/find-pkg/-/find-pkg-0.1.2.tgz", - "integrity": "sha1-G9wiwG42NlUy4qJIBGhUuXiNpVc=", - "dev": true, - "requires": { - "find-file-up": "0.1.3" - } + "integrity": "sha1-G9wiwG42NlUy4qJIBGhUuXiNpVc=" }, "find-up": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", - "dev": true, - "requires": { - "path-exists": "2.1.0", - "pinkie-promise": "2.0.1" - } + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=" }, "flat-cache": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz", - "integrity": "sha1-0wMLMrOBVPTjt+nHCfSQ9++XxIE=", - "dev": true, - "requires": { - "circular-json": "0.3.3", - "del": "2.2.2", - "graceful-fs": "4.1.11", - "write": "0.2.1" - } - }, - "for-each": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.2.tgz", - "integrity": "sha1-LEBFC5NI6X8oEyJZO6lnBLmr1NQ=", - "dev": true, - "requires": { - "is-function": "1.0.1" - } + "integrity": "sha1-0wMLMrOBVPTjt+nHCfSQ9++XxIE=" }, "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=" }, "for-own": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", - "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", - "dev": true, - "requires": { - "for-in": "1.0.2" - } + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=" }, "foreach": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", - "dev": true + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" }, "forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "dev": true + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" }, "form-data": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.1.tgz", - "integrity": "sha1-b7lPvXGIUwbXPRXMSX/kzE7NRL8=", - "dev": true, - "requires": { - "asynckit": "0.4.0", - "combined-stream": "1.0.5", - "mime-types": "2.1.17" - } - }, - "forwarded": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", - "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", - "dev": true + "integrity": "sha1-b7lPvXGIUwbXPRXMSX/kzE7NRL8=" }, "fresh": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", - "dev": true + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" }, "from": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", - "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", - "dev": true - }, - "fs": { - "version": "0.0.1-security", - "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", - "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=", - "dev": true + "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=" }, "fs-exists-sync": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz", - "integrity": "sha1-mC1ok6+RjnLQjeyehnP/K1qNat0=", - "dev": true + "integrity": "sha1-mC1ok6+RjnLQjeyehnP/K1qNat0=" + }, + "fs-extra": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", + "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=" }, "fs-readdir-recursive": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", - "dev": true + "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==" }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "fsevents": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.3.tgz", "integrity": "sha512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q==", - "dev": true, "optional": true, - "requires": { - "nan": "2.8.0", - "node-pre-gyp": "0.6.39" - }, "dependencies": { "abbrev": { "version": "1.1.0", "bundled": true, - "dev": true, "optional": true }, "ajv": { "version": "4.11.8", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "co": "4.6.0", - "json-stable-stringify": "1.0.1" - } + "optional": true }, "ansi-regex": { "version": "2.1.1", - "bundled": true, - "dev": true + "bundled": true }, "aproba": { "version": "1.1.1", "bundled": true, - "dev": true, "optional": true }, "are-we-there-yet": { "version": "1.1.4", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "delegates": "1.0.0", - "readable-stream": "2.2.9" - } + "optional": true }, "asn1": { "version": "0.2.3", "bundled": true, - "dev": true, "optional": true }, "assert-plus": { "version": "0.2.0", "bundled": true, - "dev": true, "optional": true }, "asynckit": { "version": "0.4.0", "bundled": true, - "dev": true, "optional": true }, "aws-sign2": { "version": "0.6.0", "bundled": true, - "dev": true, "optional": true }, "aws4": { "version": "1.6.0", "bundled": true, - "dev": true, "optional": true }, "balanced-match": { "version": "0.4.2", - "bundled": true, - "dev": true + "bundled": true }, "bcrypt-pbkdf": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "tweetnacl": "0.14.5" - } + "optional": true }, "block-stream": { "version": "0.0.9", - "bundled": true, - "dev": true, - "requires": { - "inherits": "2.0.3" - } + "bundled": true }, "boom": { "version": "2.10.1", - "bundled": true, - "dev": true, - "requires": { - "hoek": "2.16.3" - } + "bundled": true }, "brace-expansion": { "version": "1.1.7", - "bundled": true, - "dev": true, - "requires": { - "balanced-match": "0.4.2", - "concat-map": "0.0.1" - } + "bundled": true }, "buffer-shims": { "version": "1.0.0", - "bundled": true, - "dev": true + "bundled": true }, "caseless": { "version": "0.12.0", "bundled": true, - "dev": true, "optional": true }, "co": { "version": "4.6.0", "bundled": true, - "dev": true, "optional": true }, "code-point-at": { "version": "1.1.0", - "bundled": true, - "dev": true + "bundled": true }, "combined-stream": { "version": "1.0.5", - "bundled": true, - "dev": true, - "requires": { - "delayed-stream": "1.0.0" - } + "bundled": true }, "concat-map": { "version": "0.0.1", - "bundled": true, - "dev": true + "bundled": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true, - "dev": true + "bundled": true }, "core-util-is": { "version": "1.0.2", - "bundled": true, - "dev": true + "bundled": true }, "cryptiles": { "version": "2.0.5", - "bundled": true, - "dev": true, - "requires": { - "boom": "2.10.1" - } + "bundled": true }, "dashdash": { "version": "1.14.1", "bundled": true, - "dev": true, "optional": true, - "requires": { - "assert-plus": "1.0.0" - }, "dependencies": { "assert-plus": { "version": "1.0.0", "bundled": true, - "dev": true, "optional": true } } @@ -3513,1091 +2109,664 @@ "debug": { "version": "2.6.8", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "ms": "2.0.0" - } + "optional": true }, "deep-extend": { "version": "0.4.2", "bundled": true, - "dev": true, "optional": true }, "delayed-stream": { "version": "1.0.0", - "bundled": true, - "dev": true + "bundled": true }, "delegates": { "version": "1.0.0", "bundled": true, - "dev": true, "optional": true }, "detect-libc": { "version": "1.0.2", "bundled": true, - "dev": true, "optional": true }, "ecc-jsbn": { "version": "0.1.1", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "jsbn": "0.1.1" - } + "optional": true }, "extend": { "version": "3.0.1", "bundled": true, - "dev": true, "optional": true }, "extsprintf": { "version": "1.0.2", - "bundled": true, - "dev": true + "bundled": true }, "forever-agent": { "version": "0.6.1", "bundled": true, - "dev": true, "optional": true }, "form-data": { "version": "2.1.4", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "asynckit": "0.4.0", - "combined-stream": "1.0.5", - "mime-types": "2.1.15" - } + "optional": true }, "fs.realpath": { "version": "1.0.0", - "bundled": true, - "dev": true + "bundled": true }, "fstream": { "version": "1.0.11", - "bundled": true, - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "inherits": "2.0.3", - "mkdirp": "0.5.1", - "rimraf": "2.6.1" - } + "bundled": true }, "fstream-ignore": { "version": "1.0.5", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "fstream": "1.0.11", - "inherits": "2.0.3", - "minimatch": "3.0.4" - } + "optional": true }, "gauge": { "version": "2.7.4", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "aproba": "1.1.1", - "console-control-strings": "1.1.0", - "has-unicode": "2.0.1", - "object-assign": "4.1.1", - "signal-exit": "3.0.2", - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wide-align": "1.1.2" - } + "optional": true }, "getpass": { "version": "0.1.7", "bundled": true, - "dev": true, "optional": true, - "requires": { - "assert-plus": "1.0.0" - }, "dependencies": { "assert-plus": { "version": "1.0.0", "bundled": true, - "dev": true, "optional": true } } }, "glob": { "version": "7.1.2", - "bundled": true, - "dev": true, - "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } + "bundled": true }, "graceful-fs": { "version": "4.1.11", - "bundled": true, - "dev": true + "bundled": true }, "har-schema": { "version": "1.0.5", "bundled": true, - "dev": true, "optional": true }, "har-validator": { "version": "4.2.1", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "ajv": "4.11.8", - "har-schema": "1.0.5" - } + "optional": true }, "has-unicode": { "version": "2.0.1", "bundled": true, - "dev": true, "optional": true }, "hawk": { "version": "3.1.3", - "bundled": true, - "dev": true, - "requires": { - "boom": "2.10.1", - "cryptiles": "2.0.5", - "hoek": "2.16.3", - "sntp": "1.0.9" - } + "bundled": true }, "hoek": { "version": "2.16.3", - "bundled": true, - "dev": true + "bundled": true }, "http-signature": { "version": "1.1.1", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "assert-plus": "0.2.0", - "jsprim": "1.4.0", - "sshpk": "1.13.0" - } + "optional": true }, "inflight": { "version": "1.0.6", - "bundled": true, - "dev": true, - "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" - } + "bundled": true }, "inherits": { "version": "2.0.3", - "bundled": true, - "dev": true + "bundled": true }, "ini": { "version": "1.3.4", "bundled": true, - "dev": true, "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", - "bundled": true, - "dev": true, - "requires": { - "number-is-nan": "1.0.1" - } + "bundled": true }, "is-typedarray": { "version": "1.0.0", "bundled": true, - "dev": true, "optional": true }, "isarray": { "version": "1.0.0", - "bundled": true, - "dev": true + "bundled": true }, "isstream": { "version": "0.1.2", "bundled": true, - "dev": true, "optional": true }, "jodid25519": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "jsbn": "0.1.1" - } + "optional": true }, "jsbn": { "version": "0.1.1", "bundled": true, - "dev": true, "optional": true }, "json-schema": { "version": "0.2.3", "bundled": true, - "dev": true, "optional": true }, "json-stable-stringify": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "jsonify": "0.0.0" - } + "optional": true }, "json-stringify-safe": { "version": "5.0.1", "bundled": true, - "dev": true, "optional": true }, "jsonify": { "version": "0.0.0", "bundled": true, - "dev": true, "optional": true }, "jsprim": { "version": "1.4.0", "bundled": true, - "dev": true, "optional": true, - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.0.2", - "json-schema": "0.2.3", - "verror": "1.3.6" - }, "dependencies": { "assert-plus": { "version": "1.0.0", "bundled": true, - "dev": true, "optional": true } } }, "mime-db": { "version": "1.27.0", - "bundled": true, - "dev": true + "bundled": true }, "mime-types": { "version": "2.1.15", - "bundled": true, - "dev": true, - "requires": { - "mime-db": "1.27.0" - } + "bundled": true }, "minimatch": { "version": "3.0.4", - "bundled": true, - "dev": true, - "requires": { - "brace-expansion": "1.1.7" - } + "bundled": true }, "minimist": { "version": "0.0.8", - "bundled": true, - "dev": true + "bundled": true }, "mkdirp": { "version": "0.5.1", - "bundled": true, - "dev": true, - "requires": { - "minimist": "0.0.8" - } + "bundled": true }, "ms": { "version": "2.0.0", "bundled": true, - "dev": true, "optional": true }, "node-pre-gyp": { "version": "0.6.39", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "detect-libc": "1.0.2", - "hawk": "3.1.3", - "mkdirp": "0.5.1", - "nopt": "4.0.1", - "npmlog": "4.1.0", - "rc": "1.2.1", - "request": "2.81.0", - "rimraf": "2.6.1", - "semver": "5.3.0", - "tar": "2.2.1", - "tar-pack": "3.4.0" - } + "optional": true }, "nopt": { "version": "4.0.1", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "abbrev": "1.1.0", - "osenv": "0.1.4" - } + "optional": true }, "npmlog": { "version": "4.1.0", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "are-we-there-yet": "1.1.4", - "console-control-strings": "1.1.0", - "gauge": "2.7.4", - "set-blocking": "2.0.0" - } + "optional": true }, "number-is-nan": { "version": "1.0.1", - "bundled": true, - "dev": true + "bundled": true }, "oauth-sign": { "version": "0.8.2", "bundled": true, - "dev": true, "optional": true }, "object-assign": { "version": "4.1.1", "bundled": true, - "dev": true, "optional": true }, "once": { "version": "1.4.0", - "bundled": true, - "dev": true, - "requires": { - "wrappy": "1.0.2" - } + "bundled": true }, "os-homedir": { "version": "1.0.2", "bundled": true, - "dev": true, "optional": true }, "os-tmpdir": { "version": "1.0.2", "bundled": true, - "dev": true, "optional": true }, "osenv": { "version": "0.1.4", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" - } + "optional": true }, "path-is-absolute": { "version": "1.0.1", - "bundled": true, - "dev": true + "bundled": true }, "performance-now": { "version": "0.2.0", "bundled": true, - "dev": true, "optional": true }, "process-nextick-args": { "version": "1.0.7", - "bundled": true, - "dev": true + "bundled": true }, "punycode": { "version": "1.4.1", "bundled": true, - "dev": true, "optional": true }, "qs": { "version": "6.4.0", "bundled": true, - "dev": true, "optional": true }, "rc": { "version": "1.2.1", "bundled": true, - "dev": true, "optional": true, - "requires": { - "deep-extend": "0.4.2", - "ini": "1.3.4", - "minimist": "1.2.0", - "strip-json-comments": "2.0.1" - }, "dependencies": { "minimist": { "version": "1.2.0", "bundled": true, - "dev": true, "optional": true } } }, "readable-stream": { "version": "2.2.9", - "bundled": true, - "dev": true, - "requires": { - "buffer-shims": "1.0.0", - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "1.0.7", - "string_decoder": "1.0.1", - "util-deprecate": "1.0.2" - } + "bundled": true }, "request": { "version": "2.81.0", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "aws-sign2": "0.6.0", - "aws4": "1.6.0", - "caseless": "0.12.0", - "combined-stream": "1.0.5", - "extend": "3.0.1", - "forever-agent": "0.6.1", - "form-data": "2.1.4", - "har-validator": "4.2.1", - "hawk": "3.1.3", - "http-signature": "1.1.1", - "is-typedarray": "1.0.0", - "isstream": "0.1.2", - "json-stringify-safe": "5.0.1", - "mime-types": "2.1.15", - "oauth-sign": "0.8.2", - "performance-now": "0.2.0", - "qs": "6.4.0", - "safe-buffer": "5.0.1", - "stringstream": "0.0.5", - "tough-cookie": "2.3.2", - "tunnel-agent": "0.6.0", - "uuid": "3.0.1" - } + "optional": true }, "rimraf": { "version": "2.6.1", - "bundled": true, - "dev": true, - "requires": { - "glob": "7.1.2" - } + "bundled": true }, "safe-buffer": { "version": "5.0.1", - "bundled": true, - "dev": true + "bundled": true }, "semver": { "version": "5.3.0", "bundled": true, - "dev": true, "optional": true }, "set-blocking": { "version": "2.0.0", "bundled": true, - "dev": true, "optional": true }, "signal-exit": { "version": "3.0.2", "bundled": true, - "dev": true, "optional": true }, "sntp": { "version": "1.0.9", - "bundled": true, - "dev": true, - "requires": { - "hoek": "2.16.3" - } + "bundled": true }, "sshpk": { "version": "1.13.0", "bundled": true, - "dev": true, "optional": true, - "requires": { - "asn1": "0.2.3", - "assert-plus": "1.0.0", - "bcrypt-pbkdf": "1.0.1", - "dashdash": "1.14.1", - "ecc-jsbn": "0.1.1", - "getpass": "0.1.7", - "jodid25519": "1.0.2", - "jsbn": "0.1.1", - "tweetnacl": "0.14.5" - }, "dependencies": { "assert-plus": { "version": "1.0.0", "bundled": true, - "dev": true, "optional": true } } }, - "string-width": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" - } - }, "string_decoder": { "version": "1.0.1", - "bundled": true, - "dev": true, - "requires": { - "safe-buffer": "5.0.1" - } + "bundled": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true }, "stringstream": { "version": "0.0.5", "bundled": true, - "dev": true, "optional": true }, "strip-ansi": { "version": "3.0.1", - "bundled": true, - "dev": true, - "requires": { - "ansi-regex": "2.1.1" - } + "bundled": true }, "strip-json-comments": { "version": "2.0.1", "bundled": true, - "dev": true, "optional": true }, "tar": { "version": "2.2.1", - "bundled": true, - "dev": true, - "requires": { - "block-stream": "0.0.9", - "fstream": "1.0.11", - "inherits": "2.0.3" - } + "bundled": true }, "tar-pack": { "version": "3.4.0", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "debug": "2.6.8", - "fstream": "1.0.11", - "fstream-ignore": "1.0.5", - "once": "1.4.0", - "readable-stream": "2.2.9", - "rimraf": "2.6.1", - "tar": "2.2.1", - "uid-number": "0.0.6" - } + "optional": true }, "tough-cookie": { "version": "2.3.2", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "punycode": "1.4.1" - } + "optional": true }, "tunnel-agent": { "version": "0.6.0", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "safe-buffer": "5.0.1" - } + "optional": true }, "tweetnacl": { "version": "0.14.5", "bundled": true, - "dev": true, "optional": true }, "uid-number": { "version": "0.0.6", "bundled": true, - "dev": true, "optional": true }, "util-deprecate": { "version": "1.0.2", - "bundled": true, - "dev": true + "bundled": true }, "uuid": { "version": "3.0.1", "bundled": true, - "dev": true, "optional": true }, "verror": { "version": "1.3.6", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "extsprintf": "1.0.2" - } + "optional": true }, "wide-align": { "version": "1.1.2", "bundled": true, - "dev": true, - "optional": true, - "requires": { - "string-width": "1.0.2" - } + "optional": true }, "wrappy": { "version": "1.0.2", - "bundled": true, - "dev": true + "bundled": true } } }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "functional-red-black-tree": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", - "dev": true + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" + }, + "ganache-cli": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/ganache-cli/-/ganache-cli-6.0.3.tgz", + "integrity": "sha512-C7a8su4Zwtootvcy9HtroshTsyUtLC51+aOGUREpy/G4CXbAuLa3nNQri2NyFdqGyOrm/D+jxYP/PWnnrGLyXg==" }, "get-caller-file": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", - "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=", - "dev": true + "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=" }, "get-func-name": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", - "dev": true + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" }, "get-stdin": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", - "dev": true + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=" }, "get-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", - "dev": true + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz", + "integrity": "sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4=" }, "getpass": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "dev": true, - "requires": { - "assert-plus": "1.0.0" + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=" + }, + "github-download": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/github-download/-/github-download-0.5.0.tgz", + "integrity": "sha1-92R6cKrEMm+wkeV4bI9mrhV9pRs=", + "dependencies": { + "fs-extra": { + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.24.0.tgz", + "integrity": "sha1-1OQ0KpZnXLeEZjOmCZJJMytTmVI=" + } } }, "glob": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", - "dev": true, - "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==" }, "glob-base": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", - "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", - "dev": true, - "requires": { - "glob-parent": "2.0.0", - "is-glob": "2.0.1" - } + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=" }, "glob-parent": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", - "dev": true, - "requires": { - "is-glob": "2.0.1" - } + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=" }, - "global": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz", - "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=", - "dev": true, - "requires": { - "min-document": "2.19.0", - "process": "0.5.2" - }, - "dependencies": { - "process": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz", - "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=", - "dev": true - } - } + "glob-to-regexp": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.1.0.tgz", + "integrity": "sha1-4DadQmV4/UVtR9wjsJ3gXB2p6l0=" }, "global-modules": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-0.2.3.tgz", - "integrity": "sha1-6lo77ULG1s6ZWk+KEmm12uIjgo0=", - "dev": true, - "requires": { - "global-prefix": "0.1.5", - "is-windows": "0.2.0" - }, - "dependencies": { - "is-windows": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-0.2.0.tgz", - "integrity": "sha1-3hqm1j6indJIc3tp8f+LgALSEIw=", - "dev": true - } - } + "integrity": "sha1-6lo77ULG1s6ZWk+KEmm12uIjgo0=" }, "global-prefix": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-0.1.5.tgz", - "integrity": "sha1-jTvGuNo8qBEqFg2NSW/wRiv+948=", - "dev": true, - "requires": { - "homedir-polyfill": "1.0.1", - "ini": "1.3.5", - "is-windows": "0.2.0", - "which": "1.3.0" - }, - "dependencies": { - "is-windows": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-0.2.0.tgz", - "integrity": "sha1-3hqm1j6indJIc3tp8f+LgALSEIw=", - "dev": true - } - } + "integrity": "sha1-jTvGuNo8qBEqFg2NSW/wRiv+948=" }, "globals": { "version": "9.18.0", "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", - "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", - "dev": true + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==" }, "globby": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", - "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", - "dev": true, - "requires": { - "array-union": "1.0.2", - "arrify": "1.0.1", - "glob": "7.1.2", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" - } + "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=" }, "graceful-fs": { "version": "4.1.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", - "dev": true + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" }, "graceful-readlink": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", - "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=", - "dev": true + "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=" + }, + "graphlib": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/graphlib/-/graphlib-2.1.5.tgz", + "integrity": "sha512-XvtbqCcw+EM5SqQrIetIKKD+uZVNQtDPD1goIg7K73RuRZtVI5rYMdcCVSHm/AS1sCBZ7vt0p5WgXouucHQaOA==" }, "growl": { "version": "1.10.3", "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.3.tgz", - "integrity": "sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q==", - "dev": true + "integrity": "sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q==" }, "har-schema": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", - "dev": true + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" }, "har-validator": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz", - "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", - "dev": true, - "requires": { - "ajv": "5.5.1", - "har-schema": "2.0.0" - } + "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=" }, "has": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has/-/has-1.0.1.tgz", - "integrity": "sha1-hGFzP1OLCDfJNh45qauelwTcLyg=", - "dev": true, - "requires": { - "function-bind": "1.1.1" - } + "integrity": "sha1-hGFzP1OLCDfJNh45qauelwTcLyg=" }, "has-ansi": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "dev": true, - "requires": { - "ansi-regex": "2.1.1" - } + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=" }, "has-flag": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", - "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", - "dev": true + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "hash-base": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-2.0.2.tgz", - "integrity": "sha1-ZuodhW206KVHDK32/OI65SRO8uE=", - "requires": { - "inherits": "2.0.3" - } + "integrity": "sha1-ZuodhW206KVHDK32/OI65SRO8uE=" }, "hash.js": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", - "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", - "requires": { - "inherits": "2.0.3", - "minimalistic-assert": "1.0.0" - } + "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==" }, "hawk": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/hawk/-/hawk-6.0.2.tgz", - "integrity": "sha512-miowhl2+U7Qle4vdLqDdPt9m09K6yZhkLDTWGoUiUzrQCn+mHHSmfJgAyGaLRZbPmTqfFFjRV1QWCW0VWUJBbQ==", - "dev": true, - "requires": { - "boom": "4.3.1", - "cryptiles": "3.1.2", - "hoek": "4.2.0", - "sntp": "2.1.0" - } + "integrity": "sha512-miowhl2+U7Qle4vdLqDdPt9m09K6yZhkLDTWGoUiUzrQCn+mHHSmfJgAyGaLRZbPmTqfFFjRV1QWCW0VWUJBbQ==" }, "he": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", - "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", - "dev": true + "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=" }, "hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "dev": true, - "requires": { - "hash.js": "1.1.3", - "minimalistic-assert": "1.0.0", - "minimalistic-crypto-utils": "1.0.1" - } + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=" }, "hoek": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.0.tgz", - "integrity": "sha512-v0XCLxICi9nPfYrS9RL8HbYnXi9obYAeLbSP00BmnZwCK9+Ih9WOjoZ8YoHCoav2csqn4FOz4Orldsy2dmDwmQ==", - "dev": true + "integrity": "sha512-v0XCLxICi9nPfYrS9RL8HbYnXi9obYAeLbSP00BmnZwCK9+Ih9WOjoZ8YoHCoav2csqn4FOz4Orldsy2dmDwmQ==" }, "home-or-tmp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", - "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", - "dev": true, - "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" - } + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=" }, "homedir-polyfill": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz", - "integrity": "sha1-TCu8inWJmP7r9e1oWA921GdotLw=", - "dev": true, - "requires": { - "parse-passwd": "1.0.0" - } + "integrity": "sha1-TCu8inWJmP7r9e1oWA921GdotLw=" }, "hosted-git-info": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz", - "integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==", - "dev": true + "integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==" }, "http-errors": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz", "integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=", - "dev": true, - "requires": { - "depd": "1.1.1", - "inherits": "2.0.3", - "setprototypeof": "1.0.3", - "statuses": "1.4.0" + "dependencies": { + "depd": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", + "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=" + } } }, "http-signature": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "dev": true, - "requires": { - "assert-plus": "1.0.0", - "jsprim": "1.4.1", - "sshpk": "1.13.1" - } + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=" }, "https-browserify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", - "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", - "dev": true + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" }, "iconv-lite": { "version": "0.4.19", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", - "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==", - "dev": true + "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==" }, "ieee754": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz", - "integrity": "sha1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q=", - "dev": true + "integrity": "sha1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q=" }, "ignore": { "version": "3.3.7", "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.7.tgz", - "integrity": "sha512-YGG3ejvBNHRqu0559EOxxNFihD0AjpvHlC/pdGKd3X3ofe+CoJkYazwNJYTNebqpPKN+VVQbh4ZFn1DivMNuHA==", - "dev": true + "integrity": "sha512-YGG3ejvBNHRqu0559EOxxNFihD0AjpvHlC/pdGKd3X3ofe+CoJkYazwNJYTNebqpPKN+VVQbh4ZFn1DivMNuHA==" }, "ikt": { "version": "git+http://ikt.pm2.io/ikt.git#3325a3e39a502418dc2e2e4bf21529cbbde96228", - "dev": true, "optional": true }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" }, "indent-string": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", - "dev": true, - "requires": { - "repeating": "2.0.1" - } + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=" }, "indexof": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", - "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", - "dev": true + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=" }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" - } + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=" }, "inherits": { "version": "2.0.3", @@ -4613,212 +2782,145 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", - "dev": true, - "requires": { - "ansi-escapes": "3.0.0", - "chalk": "2.3.0", - "cli-cursor": "2.1.0", - "cli-width": "2.2.0", - "external-editor": "2.1.0", - "figures": "2.0.0", - "lodash": "4.17.4", - "mute-stream": "0.0.7", - "run-async": "2.3.0", - "rx-lite": "4.0.8", - "rx-lite-aggregates": "4.0.8", - "string-width": "2.1.1", - "strip-ansi": "4.0.0", - "through": "2.3.8" - }, "dependencies": { "ansi-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" }, "ansi-styles": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", - "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", - "dev": true, - "requires": { - "color-convert": "1.9.1" - } + "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==" }, "chalk": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz", - "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==", - "dev": true, - "requires": { - "ansi-styles": "3.2.0", - "escape-string-regexp": "1.0.5", - "supports-color": "4.5.0" - } + "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==" + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==" }, "strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "3.0.0" - } + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=" }, "supports-color": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", - "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", - "dev": true, - "requires": { - "has-flag": "2.0.0" - } + "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=" } } }, "interpret": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", - "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", - "dev": true + "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=" }, "invariant": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", - "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=", - "dev": true, - "requires": { - "loose-envify": "1.3.1" - } + "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=" }, "invert-kv": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" }, - "ipaddr.js": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.5.2.tgz", - "integrity": "sha1-1LUFvemUaYfM8PxY2QEP+WB+P6A=", - "dev": true + "ipfs-mini": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/ipfs-mini/-/ipfs-mini-1.1.2.tgz", + "integrity": "sha1-nA+tP6AKgsgsrtGuBLO5ntOz6V0=" }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", - "dev": true + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" }, "is-binary-path": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", - "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", - "dev": true, - "requires": { - "binary-extensions": "1.11.0" - } + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=" }, "is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" }, "is-builtin-module": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", - "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", - "dev": true, - "requires": { - "builtin-modules": "1.1.1" - } + "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=" }, "is-callable": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz", - "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=", - "dev": true + "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=" }, "is-date-object": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", - "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", - "dev": true + "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=" }, "is-dotfile": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", - "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", - "dev": true + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=" }, "is-equal-shallow": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", - "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", - "dev": true, - "requires": { - "is-primitive": "2.0.0" - } + "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=" }, "is-expression": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-expression/-/is-expression-2.1.0.tgz", "integrity": "sha1-kb6dR968/vB3l36XIr5tz7RGXvA=", - "dev": true, - "requires": { - "acorn": "3.3.0", - "object-assign": "4.1.1" - }, "dependencies": { "acorn": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", - "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", - "dev": true + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=" } } }, "is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=" }, "is-extglob": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "dev": true + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" }, "is-finite": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", - "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", - "dev": true, - "requires": { - "number-is-nan": "1.0.1" - } + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=" }, "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "is-function": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.1.tgz", - "integrity": "sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU=", - "dev": true + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=" }, "is-glob": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dev": true, - "requires": { - "is-extglob": "1.0.0" - } + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=" }, "is-hex-prefixed": { "version": "1.0.0", @@ -4828,202 +2930,180 @@ "is-natural-number": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-natural-number/-/is-natural-number-4.0.1.tgz", - "integrity": "sha1-q5124dtM7VHjXeDHLr7PCfc0zeg=", - "dev": true + "integrity": "sha1-q5124dtM7VHjXeDHLr7PCfc0zeg=" }, "is-number": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", - "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - } + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=" }, "is-object": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz", - "integrity": "sha1-iVJojF7C/9awPsyF52ngKQMINHA=", - "dev": true + "integrity": "sha1-iVJojF7C/9awPsyF52ngKQMINHA=" }, "is-path-cwd": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", - "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", - "dev": true + "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=" }, "is-path-in-cwd": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz", - "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=", - "dev": true, - "requires": { - "is-path-inside": "1.0.1" - } + "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=" }, "is-path-inside": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", - "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", - "dev": true, - "requires": { - "path-is-inside": "1.0.2" - } + "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=" }, "is-posix-bracket": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", - "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", - "dev": true + "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=" }, "is-primitive": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", - "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", - "dev": true + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=" }, "is-promise": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", - "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", - "dev": true + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=" }, "is-regex": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", - "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", - "dev": true, - "requires": { - "has": "1.0.1" - } + "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=" }, "is-resolvable": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.0.0.tgz", - "integrity": "sha1-jfV8YeouPFAUCNEA+wE8+NbgzGI=", - "dev": true, - "requires": { - "tryit": "1.0.3" - } + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.0.1.tgz", + "integrity": "sha512-y5CXYbzvB3jTnWAZH1Nl7ykUWb6T3BcTs56HUruwBf8MhF56n1HWqhDWnVFo8GHrUPDgvUUNVhrc2U8W7iqz5g==" }, "is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "dev": true + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" }, "is-symbol": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz", - "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=", - "dev": true + "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=" }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, "is-utf8": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", - "dev": true + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=" }, "is-windows": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.1.tgz", - "integrity": "sha1-MQ23D3QtJZoWo2kgK1GvhCMzENk=", - "dev": true + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-0.2.0.tgz", + "integrity": "sha1-3hqm1j6indJIc3tp8f+LgALSEIw=" }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, "isobject": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "requires": { - "isarray": "1.0.0" - } + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=" }, "isomorphic-fetch": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", - "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", - "dev": true, - "requires": { - "node-fetch": "1.7.3", - "whatwg-fetch": "2.0.3" - } + "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=" }, "isstream": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", - "dev": true - }, - "js-sha3": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", - "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" }, - "js-stringify": { - "version": "1.0.2", + "jade": { + "version": "0.26.3", + "resolved": "https://registry.npmjs.org/jade/-/jade-0.26.3.tgz", + "integrity": "sha1-jxDXl32NefL2/4YqgbBRPMslaGw=", + "dependencies": { + "commander": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-0.6.1.tgz", + "integrity": "sha1-+mihT2qUXVTbvlDYzbMyDp47GgY=" + }, + "mkdirp": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz", + "integrity": "sha1-G79asbqCevI1dRQ0kEJkVfSB/h4=" + } + } + }, + "js-message": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/js-message/-/js-message-1.0.5.tgz", + "integrity": "sha1-IwDSSxrwjondCVvBpMnJz8uJLRU=" + }, + "js-queue": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/js-queue/-/js-queue-2.0.0.tgz", + "integrity": "sha1-NiITz4YPRo8BJfxslqvBdCUx+Ug=" + }, + "js-sha3": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.3.1.tgz", + "integrity": "sha1-hhIoAhQvCChQKg0d7h2V4lO7AkM=" + }, + "js-stringify": { + "version": "1.0.2", "resolved": "https://registry.npmjs.org/js-stringify/-/js-stringify-1.0.2.tgz", - "integrity": "sha1-Fzb939lyTyijaCrcYjCufk6Weds=", - "dev": true + "integrity": "sha1-Fzb939lyTyijaCrcYjCufk6Weds=" }, "js-tokens": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" }, "js-yaml": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.10.0.tgz", - "integrity": "sha512-O2v52ffjLa9VeM43J4XocZE//WT9N0IiwDa3KSHH7Tu8CtH+1qM8SIZvnsTh6v+4yFy5KUY3BHUVwjpfAWsjIA==", - "dev": true, - "requires": { - "argparse": "1.0.9", - "esprima": "4.0.0" - } + "integrity": "sha512-O2v52ffjLa9VeM43J4XocZE//WT9N0IiwDa3KSHH7Tu8CtH+1qM8SIZvnsTh6v+4yFy5KUY3BHUVwjpfAWsjIA==" }, "jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", - "dev": true, "optional": true }, "jsesc": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", - "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", - "dev": true + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=" }, "json-loader": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/json-loader/-/json-loader-0.5.7.tgz", - "integrity": "sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==", - "dev": true + "integrity": "sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==" }, "json-schema": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", - "dev": true + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + }, + "json-schema-to-markdown": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/json-schema-to-markdown/-/json-schema-to-markdown-1.0.3.tgz", + "integrity": "sha1-RBHKIisrZ2DmFmY/C7K9drsm67g=" }, "json-schema-traverse": { "version": "0.3.1", @@ -5033,159 +3113,122 @@ "json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", - "dev": true + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=" }, "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", - "dev": true + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "json3": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", + "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=" }, "json5": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", - "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", - "dev": true + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=" + }, + "jsonschema": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.2.tgz", + "integrity": "sha512-iX5OFQ6yx9NgbHCwse51ohhKgLuLL7Z5cNOeZOPIlDUtAMrxlruHLzVZxbltdHE5mEDXN+75oFOwq6Gn0MZwsA==" }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "dev": true, - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=" }, "jstransformer": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/jstransformer/-/jstransformer-1.0.0.tgz", - "integrity": "sha1-7Yvwkh4vPx7U1cGkT2hwntJHIsM=", - "dev": true, - "requires": { - "is-promise": "2.1.0", - "promise": "7.3.1" - } + "integrity": "sha1-7Yvwkh4vPx7U1cGkT2hwntJHIsM=" }, "jsx-ast-utils": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz", - "integrity": "sha1-6AGxs5mF4g//yHtA43SAgOLcrH8=", - "dev": true, - "requires": { - "array-includes": "3.0.3" - } + "integrity": "sha1-6AGxs5mF4g//yHtA43SAgOLcrH8=" }, "keccakjs": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/keccakjs/-/keccakjs-0.2.1.tgz", - "integrity": "sha1-HWM6+QfvMFu/ny+mFtVsRFYd+k0=", - "requires": { - "browserify-sha3": "0.0.1", - "sha3": "1.2.0" - } + "integrity": "sha1-HWM6+QfvMFu/ny+mFtVsRFYd+k0=" }, "keypress": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/keypress/-/keypress-0.1.0.tgz", - "integrity": "sha1-SjGI1CkbZrT2XtuZ+AaqmuKTWSo=", - "dev": true + "integrity": "sha1-SjGI1CkbZrT2XtuZ+AaqmuKTWSo=" }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=" + }, + "klaw": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", + "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=" }, "lazy": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/lazy/-/lazy-1.0.11.tgz", - "integrity": "sha1-2qBoIGKCVCwIgojpdcKXwa53tpA=", - "dev": true + "integrity": "sha1-2qBoIGKCVCwIgojpdcKXwa53tpA=" }, "lazy-cache": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", - "dev": true + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=" }, "lazystream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz", - "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=", - "dev": true, - "requires": { - "readable-stream": "2.3.3" - } + "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=" }, "lcid": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", - "requires": { - "invert-kv": "1.0.0" - } + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=" + }, + "left-pad": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.2.0.tgz", + "integrity": "sha1-0wpzxrggHY99jnlWupYWCHpo4O4=" }, "levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", - "dev": true, - "requires": { - "prelude-ls": "1.1.2", - "type-check": "0.3.2" - } + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=" }, "load-json-file": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "parse-json": "2.2.0", - "pify": "2.3.0", - "strip-bom": "3.0.0" - } + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=" }, "loader-runner": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.0.tgz", - "integrity": "sha1-9IKuqC1UPgeSFwDVpG7yb9rGuKI=", - "dev": true + "integrity": "sha1-9IKuqC1UPgeSFwDVpG7yb9rGuKI=" }, "loader-utils": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", - "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", - "dev": true, - "requires": { - "big.js": "3.2.0", - "emojis-list": "2.1.0", - "json5": "0.5.1" - } + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=" }, "locate-path": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "2.0.0", - "path-exists": "3.0.0" - }, "dependencies": { "path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" } } }, @@ -5194,285 +3237,201 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=" }, + "lodash._baseassign": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz", + "integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4=" + }, + "lodash._basecopy": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", + "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY=" + }, + "lodash._basecreate": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz", + "integrity": "sha1-G8ZhYU2qf8MRt9A78WgGoCE8+CE=" + }, + "lodash._getnative": { + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz", + "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=" + }, + "lodash._isiterateecall": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz", + "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw=" + }, + "lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=" + }, "lodash.cond": { "version": "4.5.2", "resolved": "https://registry.npmjs.org/lodash.cond/-/lodash.cond-4.5.2.tgz", - "integrity": "sha1-9HGh2khr5g9quVXRcRVSPdHSVdU=", - "dev": true + "integrity": "sha1-9HGh2khr5g9quVXRcRVSPdHSVdU=" + }, + "lodash.create": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lodash.create/-/lodash.create-3.1.1.tgz", + "integrity": "sha1-1/KEnw29p+BGgruM1yqwIkYd6+c=" + }, + "lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=" + }, + "lodash.isarray": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz", + "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=" + }, + "lodash.keys": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", + "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=" }, "longest": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", - "dev": true + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" }, "loose-envify": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "dev": true, - "requires": { - "js-tokens": "3.0.2" - } + "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=" }, "loud-rejection": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", - "dev": true, - "requires": { - "currently-unhandled": "0.4.1", - "signal-exit": "3.0.2" - } + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=" }, "lru-cache": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.1.tgz", - "integrity": "sha512-q4spe4KTfsAS1SUHLO0wz8Qiyf1+vMIAgpRYioFYDMNqKfHQbg+AVDH3i4fvpl71/P1L0dBl+fQi+P37UYf0ew==", - "dev": true, - "requires": { - "pseudomap": "1.0.2", - "yallist": "2.1.2" - } + "integrity": "sha512-q4spe4KTfsAS1SUHLO0wz8Qiyf1+vMIAgpRYioFYDMNqKfHQbg+AVDH3i4fvpl71/P1L0dBl+fQi+P37UYf0ew==" }, "make-dir": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz", "integrity": "sha512-0Pkui4wLJ7rxvmfUvs87skoEaxmu0hCUApF8nonzpl7q//FWp9zu8W61Scz4sd/kUiqDxvUhtoam2efDyiBzcA==", - "dev": true, - "requires": { - "pify": "3.0.0" - }, "dependencies": { "pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" } } }, "manage-path": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/manage-path/-/manage-path-2.0.0.tgz", - "integrity": "sha1-9M+EV7km7u4qg7FzUBQUvHbrlZc=", - "dev": true + "integrity": "sha1-9M+EV7km7u4qg7FzUBQUvHbrlZc=" }, "map-obj": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", - "dev": true + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" }, "map-stream": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.1.0.tgz", - "integrity": "sha1-5WqpTEyAVaFkBKBnS3jyFffI4ZQ=", - "dev": true + "integrity": "sha1-5WqpTEyAVaFkBKBnS3jyFffI4ZQ=" }, "md5.js": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.4.tgz", "integrity": "sha1-6b296UogpawYsENA/Fdk1bCdkB0=", - "requires": { - "hash-base": "3.0.4", - "inherits": "2.0.3" - }, "dependencies": { "hash-base": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz", - "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", - "requires": { - "inherits": "2.0.3", - "safe-buffer": "5.1.1" - } + "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=" } } }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "dev": true - }, "mem": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", - "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", - "dev": true, - "requires": { - "mimic-fn": "1.1.0" - } + "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=" }, "memory-fs": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", - "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", - "dev": true, - "requires": { - "errno": "0.1.5", - "readable-stream": "2.3.3" - } + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=" + }, + "memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=" }, "meow": { "version": "3.7.0", "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", - "dev": true, - "requires": { - "camelcase-keys": "2.1.0", - "decamelize": "1.2.0", - "loud-rejection": "1.6.0", - "map-obj": "1.0.1", - "minimist": "1.2.0", - "normalize-package-data": "2.4.0", - "object-assign": "4.1.1", - "read-pkg-up": "1.0.1", - "redent": "1.0.0", - "trim-newlines": "1.0.0" - }, "dependencies": { "load-json-file": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "parse-json": "2.2.0", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "strip-bom": "2.0.0" - } + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=" }, "minimist": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" }, "path-type": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" - } + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=" }, "read-pkg": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", - "dev": true, - "requires": { - "load-json-file": "1.1.0", - "normalize-package-data": "2.4.0", - "path-type": "1.1.0" - } + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=" }, "read-pkg-up": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", - "dev": true, - "requires": { - "find-up": "1.1.2", - "read-pkg": "1.1.0" - } + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=" }, "strip-bom": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", - "dev": true, - "requires": { - "is-utf8": "0.2.1" - } + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=" } } }, - "merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", - "dev": true - }, - "methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", - "dev": true - }, "micromatch": { "version": "2.3.11", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "dev": true, - "requires": { - "arr-diff": "2.0.0", - "array-unique": "0.2.1", - "braces": "1.8.5", - "expand-brackets": "0.1.5", - "extglob": "0.3.2", - "filename-regex": "2.0.1", - "is-extglob": "1.0.0", - "is-glob": "2.0.1", - "kind-of": "3.2.2", - "normalize-path": "2.1.1", - "object.omit": "2.0.1", - "parse-glob": "3.0.4", - "regex-cache": "0.4.4" - } + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=" }, "miller-rabin": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "dev": true, - "requires": { - "bn.js": "4.11.8", - "brorand": "1.1.0" - } + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==" }, "mime": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", - "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", - "dev": true + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==" }, "mime-db": { "version": "1.30.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz", - "integrity": "sha1-dMZD2i3Z1qRTmZY0ZbJtXKfXHwE=", - "dev": true + "integrity": "sha1-dMZD2i3Z1qRTmZY0ZbJtXKfXHwE=" }, "mime-types": { "version": "2.1.17", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz", - "integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=", - "dev": true, - "requires": { - "mime-db": "1.30.0" - } + "integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=" }, "mimic-fn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz", - "integrity": "sha1-5md4PZLonb00KBi1IwudYqZyrRg=", - "dev": true - }, - "min-document": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", - "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", - "dev": true, - "requires": { - "dom-walk": "0.1.1" - } + "integrity": "sha1-5md4PZLonb00KBi1IwudYqZyrRg=" }, "minimalistic-assert": { "version": "1.0.0", @@ -5482,328 +3441,216 @@ "minimalistic-crypto-utils": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", - "dev": true + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "1.1.8" - } + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==" }, "minimist": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" }, "mkdirp": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "dev": true, - "requires": { - "minimist": "0.0.8" - } + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=" }, "mocha": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-4.0.1.tgz", - "integrity": "sha512-evDmhkoA+cBNiQQQdSKZa2b9+W2mpLoj50367lhy+Klnx9OV8XlCIhigUnn1gaTFLQCa0kdNhEGDr0hCXOQFDw==", - "dev": true, - "requires": { - "browser-stdout": "1.3.0", - "commander": "2.11.0", - "debug": "3.1.0", - "diff": "3.3.1", - "escape-string-regexp": "1.0.5", - "glob": "7.1.2", - "growl": "1.10.3", - "he": "1.1.1", - "mkdirp": "0.5.1", - "supports-color": "4.4.0" - }, + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-4.1.0.tgz", + "integrity": "sha512-0RVnjg1HJsXY2YFDoTNzcc1NKhYuXKRrBAG2gDygmJJA136Cs2QlRliZG1mA0ap7cuaT30mw16luAeln+4RiNA==", "dependencies": { "commander": { "version": "2.11.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", - "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", - "dev": true + "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==" }, "debug": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dev": true, - "requires": { - "ms": "2.0.0" - } + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==" + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" }, "supports-color": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz", - "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==", - "dev": true, - "requires": { - "has-flag": "2.0.0" - } + "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==" } } }, "moment": { - "version": "2.19.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.19.4.tgz", - "integrity": "sha512-1xFTAknSLfc47DIxHDUbnJWC+UwgWxATmymaxIPQpmMh7LBm7ZbwVEsuushqwL2GYZU0jie4xO+TK44hJPjNSQ==", - "dev": true + "version": "2.20.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.20.1.tgz", + "integrity": "sha512-Yh9y73JRljxW5QxN08Fner68eFLxM5ynNOAw2LbIB1YAGeQzZT8QFSUvkAz609Zf+IHhhaUxqZK8dG3W/+HEvg==" }, "moment-timezone": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.3.1.tgz", - "integrity": "sha1-PvR4VrAtU7cYoQpewgI6opnge/U=", - "dev": true, - "requires": { - "moment": "2.19.4" - } + "integrity": "sha1-PvR4VrAtU7cYoQpewgI6opnge/U=" }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "mute-stream": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", - "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", - "dev": true + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=" }, "nan": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/nan/-/nan-2.8.0.tgz", "integrity": "sha1-7XFfP+neArV6XmJS2QqWZ14fCFo=" }, - "nano-json-stream-parser": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz", - "integrity": "sha1-DMj20OK2IrR5xA1JnEbWS3Vcb18=", - "dev": true - }, "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", - "dev": true - }, - "nconf": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/nconf/-/nconf-0.10.0.tgz", - "integrity": "sha512-fKiXMQrpP7CYWJQzKkPPx9hPgmq+YLDyxcG9N8RpiE9FoCkCbzD0NyW0YhE3xn3Aupe7nnDeIx4PFzYehpHT9Q==", - "requires": { - "async": "1.5.2", - "ini": "1.3.5", - "secure-keys": "1.0.0", - "yargs": "3.32.0" - }, - "dependencies": { - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=" - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "requires": { - "number-is-nan": "1.0.1" - } - }, - "os-locale": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", - "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", - "requires": { - "lcid": "1.0.0" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" - } - }, - "yargs": { - "version": "3.32.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz", - "integrity": "sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU=", - "requires": { - "camelcase": "2.1.1", - "cliui": "3.2.0", - "decamelize": "1.2.0", - "os-locale": "1.4.0", - "string-width": "1.0.2", - "window-size": "0.1.4", - "y18n": "3.2.1" - } - } - } + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=" }, "ncp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz", - "integrity": "sha1-GVoh1sRuNh0vsSgbo4uR6d9727M=", - "dev": true - }, - "negotiator": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", - "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", - "dev": true + "integrity": "sha1-GVoh1sRuNh0vsSgbo4uR6d9727M=" }, "nested-error-stacks": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-1.0.2.tgz", - "integrity": "sha1-GfYZWRUZ8JZ2mlupqG5u7sgjw88=", - "dev": true, - "requires": { - "inherits": "2.0.3" - } + "integrity": "sha1-GfYZWRUZ8JZ2mlupqG5u7sgjw88=" + }, + "node-dir": { + "version": "0.1.16", + "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.16.tgz", + "integrity": "sha1-0u9YOqULkNk9uM3Sb86lg1OVf+Q=" }, "node-fetch": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "dev": true, - "requires": { - "encoding": "0.1.12", - "is-stream": "1.1.0" - } + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==" + }, + "node-glob": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/node-glob/-/node-glob-1.2.0.tgz", + "integrity": "sha1-UkD/7e/G1mPOhRXleWpNR6dQwNU=" + }, + "node-ipc": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/node-ipc/-/node-ipc-9.1.1.tgz", + "integrity": "sha512-FAyICv0sIRJxVp3GW5fzgaf9jwwRQxAKDJlmNFUL5hOy+W4X/I5AypyHoq0DXXbo9o/gt79gj++4cMr4jVWE/w==" }, "node-libs-browser": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.1.0.tgz", "integrity": "sha512-5AzFzdoIMb89hBGMZglEegffzgRg+ZFoUmisQ8HI4j1KDdpx13J0taNp2y9xPbur6W61gepGDDotGBVQ7mfUCg==", - "dev": true, - "requires": { - "assert": "1.4.1", - "browserify-zlib": "0.2.0", - "buffer": "4.9.1", - "console-browserify": "1.1.0", - "constants-browserify": "1.0.0", - "crypto-browserify": "3.12.0", - "domain-browser": "1.1.7", - "events": "1.1.1", - "https-browserify": "1.0.0", - "os-browserify": "0.3.0", - "path-browserify": "0.0.0", - "process": "0.11.10", - "punycode": "1.4.1", - "querystring-es3": "0.2.1", - "readable-stream": "2.3.3", - "stream-browserify": "2.0.1", - "stream-http": "2.7.2", - "string_decoder": "1.0.3", - "timers-browserify": "2.0.4", - "tty-browserify": "0.0.0", - "url": "0.11.0", - "util": "0.10.3", - "vm-browserify": "0.0.4" + "dependencies": { + "base64-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz", + "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==" + }, + "buffer": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=" + } } }, + "nodegit-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/nodegit-promise/-/nodegit-promise-4.0.0.tgz", + "integrity": "sha1-VyKxhPLfcycWEGSnkdLoQskWezQ=" + }, "normalize-package-data": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", - "dev": true, - "requires": { - "hosted-git-info": "2.5.0", - "is-builtin-module": "1.0.0", - "semver": "5.4.1", - "validate-npm-package-license": "3.0.1" - } + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==" }, "normalize-path": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dev": true, - "requires": { - "remove-trailing-separator": "1.1.0" - } + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=" + }, + "npm-programmatic": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/npm-programmatic/-/npm-programmatic-0.0.6.tgz", + "integrity": "sha1-PI9NuyEO/WW5nualrHbye01da3g=" }, "npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "dev": true, - "requires": { - "path-key": "2.0.1" - } + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=" }, "nps": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/nps/-/nps-5.7.1.tgz", "integrity": "sha512-pWfkK+mydy/MrXDp8MtVJ9GV7NQYTA+Yb6BGXqE66b57WhCI2eROq3IfKzUTDapgXJNjfAPxqiTTGlnXu36cww==", - "dev": true, - "requires": { - "arrify": "1.0.1", - "chalk": "2.3.0", - "common-tags": "1.5.1", - "find-up": "2.1.0", - "js-yaml": "3.10.0", - "lodash": "4.17.4", - "manage-path": "2.0.0", - "prefix-matches": "1.0.1", - "readline-sync": "1.4.7", - "spawn-command-with-kill": "1.0.0", - "type-detect": "4.0.5", - "yargs": "8.0.2" - }, "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + }, "ansi-styles": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", - "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", - "dev": true, - "requires": { - "color-convert": "1.9.1" - } + "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==" + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" }, "chalk": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz", - "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==", - "dev": true, - "requires": { - "ansi-styles": "3.2.0", - "escape-string-regexp": "1.0.5", - "supports-color": "4.5.0" - } + "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==" }, "find-up": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "2.0.0" - } + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=" + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "os-locale": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==" + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==" + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=" }, "supports-color": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", - "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", - "dev": true, - "requires": { - "has-flag": "2.0.0" - } + "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=" + }, + "yargs": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", + "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=" } } }, @@ -5811,29 +3658,18 @@ "version": "1.5.0", "resolved": "https://registry.npmjs.org/nps-utils/-/nps-utils-1.5.0.tgz", "integrity": "sha1-0gtYSN0gYi1NUclVyLF5A0i1doY=", - "dev": true, - "requires": { - "any-shell-escape": "0.1.1", - "common-tags": "1.5.1", - "concurrently": "3.5.1", - "cpy-cli": "1.0.1", - "cross-env": "3.2.4", - "is-windows": "1.0.1", - "mkdirp": "0.5.1", - "ncp": "2.0.0", - "opn-cli": "3.1.0", - "rimraf": "2.6.2" + "dependencies": { + "is-windows": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.1.tgz", + "integrity": "sha1-MQ23D3QtJZoWo2kgK1GvhCMzENk=" + } } }, "nssocket": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/nssocket/-/nssocket-0.6.0.tgz", - "integrity": "sha1-Wflvb/MhVm8zxw99vu7N/cBxVPo=", - "dev": true, - "requires": { - "eventemitter2": "0.4.14", - "lazy": "1.0.11" - } + "integrity": "sha1-Wflvb/MhVm8zxw99vu7N/cBxVPo=" }, "number-is-nan": { "version": "1.0.1", @@ -5844,10 +3680,6 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/number-to-bn/-/number-to-bn-1.7.0.tgz", "integrity": "sha1-uzYjWS9+X54AMLGXe9QaDFP+HqA=", - "requires": { - "bn.js": "4.11.6", - "strip-hex-prefix": "1.0.0" - }, "dependencies": { "bn.js": { "version": "4.11.6", @@ -5859,479 +3691,284 @@ "oauth-sign": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", - "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=", - "dev": true + "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=" }, "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true - }, - "object-inspect": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-0.4.0.tgz", - "integrity": "sha1-9RV8EWwUVbJDsG7pdwM5LFrYn+w=", - "dev": true + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" }, "object-keys": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", - "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=", - "dev": true + "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=" }, "object.omit": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", - "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", - "dev": true, - "requires": { - "for-own": "0.1.5", - "is-extendable": "0.1.1" - } + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=" }, "on-finished": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "dev": true, - "requires": { - "ee-first": "1.1.1" - } + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=" }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1.0.2" - } + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=" }, "onetime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", - "dev": true, - "requires": { - "mimic-fn": "1.1.0" - } + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=" }, "opn": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/opn/-/opn-4.0.2.tgz", - "integrity": "sha1-erwi5kTf9jsKltWrfyeQwPAavJU=", - "dev": true, - "requires": { - "object-assign": "4.1.1", - "pinkie-promise": "2.0.1" - } + "integrity": "sha1-erwi5kTf9jsKltWrfyeQwPAavJU=" }, "opn-cli": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/opn-cli/-/opn-cli-3.1.0.tgz", "integrity": "sha1-+BmubK4LQRvQFJuFYP5siK2tIPg=", - "dev": true, - "requires": { - "file-type": "3.9.0", - "get-stdin": "5.0.1", - "meow": "3.7.0", - "opn": "4.0.2", - "temp-write": "2.1.0" - }, "dependencies": { + "file-type": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", + "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=" + }, "get-stdin": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", - "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=", - "dev": true + "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=" } } }, "optionator": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", - "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", - "dev": true, - "requires": { - "deep-is": "0.1.3", - "fast-levenshtein": "2.0.6", - "levn": "0.3.0", - "prelude-ls": "1.1.2", - "type-check": "0.3.2", - "wordwrap": "1.0.0" - } + "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=" + }, + "original-require": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/original-require/-/original-require-1.0.1.tgz", + "integrity": "sha1-DxMEcVhM0zURxew4yNWSE/msXiA=" }, "os-browserify": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", - "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", - "dev": true + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=" }, "os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "dev": true + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" }, "os-locale": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", - "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", - "dev": true, - "requires": { - "execa": "0.7.0", - "lcid": "1.0.0", - "mem": "1.1.0" - } + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=" }, "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" }, "output-file-sync": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-1.1.2.tgz", - "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "mkdirp": "0.5.1", - "object-assign": "4.1.1" - } + "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=" }, "p-finally": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" }, "p-limit": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.1.0.tgz", - "integrity": "sha1-sH/y2aXYi+yAYDWJWiurZqJ5iLw=", - "dev": true + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.2.0.tgz", + "integrity": "sha512-Y/OtIaXtUPr4/YpMv1pCL5L5ed0rumAaAeBSj12F+bSlMdys7i8oQF/GUJmfpTS/QoaRrS/k6pma29haJpsMng==" }, "p-locate": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "requires": { - "p-limit": "1.1.0" - } + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=" + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=" }, "pako": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz", - "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==", - "dev": true + "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==" }, "parse-asn1": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.0.tgz", - "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=", - "dev": true, - "requires": { - "asn1.js": "4.9.2", - "browserify-aes": "1.1.1", - "create-hash": "1.1.3", - "evp_bytestokey": "1.0.3", - "pbkdf2": "3.0.14" - } + "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=" }, "parse-glob": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", - "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", - "dev": true, - "requires": { - "glob-base": "0.3.0", - "is-dotfile": "1.0.3", - "is-extglob": "1.0.0", - "is-glob": "2.0.1" - } - }, - "parse-headers": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.1.tgz", - "integrity": "sha1-aug6eqJanZtwCswoaYzR8e1+lTY=", - "dev": true, - "requires": { - "for-each": "0.3.2", - "trim": "0.0.1" - } + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=" }, "parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "dev": true, - "requires": { - "error-ex": "1.3.1" - } + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=" }, "parse-passwd": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", - "dev": true + "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=" }, "parseurl": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", - "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", - "dev": true + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=" }, "path-browserify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", - "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", - "dev": true + "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=" }, "path-exists": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "dev": true, - "requires": { - "pinkie-promise": "2.0.1" - } + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=" }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "path-is-inside": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", - "dev": true + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=" }, "path-key": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "dev": true + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" }, "path-parse": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=", - "dev": true - }, - "path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", - "dev": true + "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=" }, "path-type": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", - "dev": true, - "requires": { - "pify": "2.3.0" - } + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=" }, "path.join": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/path.join/-/path.join-1.0.0.tgz", - "integrity": "sha1-C0Agkr2BEosoGeeAVwxJ3j3fGd4=", - "dev": true + "integrity": "sha1-C0Agkr2BEosoGeeAVwxJ3j3fGd4=" }, "pathval": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz", - "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=", - "dev": true + "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=" }, "pause-stream": { "version": "0.0.11", "resolved": "https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz", - "integrity": "sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=", - "dev": true, - "requires": { - "through": "2.3.8" - } + "integrity": "sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=" }, "pbkdf2": { "version": "3.0.14", "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.14.tgz", - "integrity": "sha512-gjsZW9O34fm0R7PaLHRJmLLVfSoesxztjPjE9o6R+qtVJij90ltg1joIovN9GKrRW3t1PzhDDG3UMEMFfZ+1wA==", - "requires": { - "create-hash": "1.1.3", - "create-hmac": "1.1.6", - "ripemd160": "2.0.1", - "safe-buffer": "5.1.1", - "sha.js": "2.4.9" - } + "integrity": "sha512-gjsZW9O34fm0R7PaLHRJmLLVfSoesxztjPjE9o6R+qtVJij90ltg1joIovN9GKrRW3t1PzhDDG3UMEMFfZ+1wA==" + }, + "pegjs": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/pegjs/-/pegjs-0.10.0.tgz", + "integrity": "sha1-z4uvrm7d/0tafvsYUmnqr0YQ3b0=" }, "pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", - "dev": true + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", - "dev": true + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" }, "pidusage": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pidusage/-/pidusage-1.2.0.tgz", - "integrity": "sha512-OGo+iSOk44HRJ8q15AyG570UYxcm5u+R99DI8Khu8P3tKGkVu5EZX4ywHglWSTMNNXQ274oeGpYrvFEhDIFGPg==", - "dev": true + "integrity": "sha512-OGo+iSOk44HRJ8q15AyG570UYxcm5u+R99DI8Khu8P3tKGkVu5EZX4ywHglWSTMNNXQ274oeGpYrvFEhDIFGPg==" }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" }, "pinkie": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", - "dev": true + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=" }, "pinkie-promise": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "dev": true, - "requires": { - "pinkie": "2.0.4" - } + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=" }, "pkg-dir": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz", - "integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=", - "dev": true, - "requires": { - "find-up": "1.1.2" - } + "integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=" }, "pluralize": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz", - "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", - "dev": true + "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==" }, "pm2": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/pm2/-/pm2-1.1.3.tgz", "integrity": "sha1-EM3D/teC0sDrUs5phVl9463h9k8=", - "dev": true, - "requires": { - "async": "1.5.2", - "chalk": "1.1.1", - "chokidar": "1.4.3", - "cli-table": "0.3.1", - "coffee-script": "1.10.0", - "commander": "2.12.2", - "cron": "1.1.0", - "debug": "2.2.0", - "eventemitter2": "0.4.14", - "ikt": "git+http://ikt.pm2.io/ikt.git#3325a3e39a502418dc2e2e4bf21529cbbde96228", - "mkdirp": "0.5.1", - "moment": "2.19.4", - "nssocket": "0.6.0", - "pidusage": "1.2.0", - "pm2-axon": "2.0.11", - "pm2-axon-rpc": "0.3.6", - "pm2-deploy": "0.2.1", - "pm2-multimeter": "0.1.2", - "pmx": "0.6.8", - "semver": "5.1.1", - "shelljs": "0.6.0", - "source-map-support": "0.4.0", - "vizion": "0.2.13", - "yamljs": "0.2.7" - }, "dependencies": { - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", - "dev": true - }, "chalk": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz", - "integrity": "sha1-UJr7ZwZudJn36zU1x3RFdyri0Bk=", - "dev": true, - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } + "integrity": "sha1-UJr7ZwZudJn36zU1x3RFdyri0Bk=" }, "chokidar": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.4.3.tgz", - "integrity": "sha1-X+czpNmsrqUbJkVLfllVkWPQ27I=", - "dev": true, - "requires": { - "anymatch": "1.3.2", - "async-each": "1.0.1", - "fsevents": "1.1.3", - "glob-parent": "2.0.0", - "inherits": "2.0.3", - "is-binary-path": "1.0.1", - "is-glob": "2.0.1", - "path-is-absolute": "1.0.1", - "readdirp": "2.1.0" - } + "integrity": "sha1-X+czpNmsrqUbJkVLfllVkWPQ27I=" }, "debug": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", - "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=", - "dev": true, - "requires": { - "ms": "0.7.1" - } + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=" }, "ms": { "version": "0.7.1", "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", - "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=", - "dev": true + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=" }, "semver": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/semver/-/semver-5.1.1.tgz", - "integrity": "sha1-oykqNz5vPgeY2gsgZBuanFvEfhk=", - "dev": true + "integrity": "sha1-oykqNz5vPgeY2gsgZBuanFvEfhk=" }, "source-map": { "version": "0.1.32", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz", - "integrity": "sha1-yLbBZ3l7pHQKjqMyUhYv8IWRsmY=", - "dev": true, - "requires": { - "amdefine": "1.0.1" - } + "integrity": "sha1-yLbBZ3l7pHQKjqMyUhYv8IWRsmY=" }, "source-map-support": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.0.tgz", - "integrity": "sha1-y5IpK8BUVc5IaR3lRawmkLscyXY=", - "dev": true, - "requires": { - "source-map": "0.1.32" - } + "integrity": "sha1-y5IpK8BUVc5IaR3lRawmkLscyXY=" } } }, @@ -6339,29 +3976,16 @@ "version": "2.0.11", "resolved": "https://registry.npmjs.org/pm2-axon/-/pm2-axon-2.0.11.tgz", "integrity": "sha1-Ro65v6FXwSxwG2spjXSwbIPzVr8=", - "dev": true, - "requires": { - "amp": "0.3.1", - "amp-message": "0.1.2", - "configurable": "0.0.1", - "debug": "2.2.0", - "escape-regexp": "0.0.1" - }, "dependencies": { "debug": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", - "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=", - "dev": true, - "requires": { - "ms": "0.7.1" - } + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=" }, "ms": { "version": "0.7.1", "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", - "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=", - "dev": true + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=" } } }, @@ -6369,21 +3993,11 @@ "version": "0.3.6", "resolved": "https://registry.npmjs.org/pm2-axon-rpc/-/pm2-axon-rpc-0.3.6.tgz", "integrity": "sha1-Cokx9PbeR783kWM8xnWw5HAPNqA=", - "dev": true, - "requires": { - "commander": "1.0.5", - "debug": "2.6.9", - "json-stringify-safe": "5.0.1" - }, "dependencies": { "commander": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/commander/-/commander-1.0.5.tgz", - "integrity": "sha1-RXKVu5duOI6d0NtS3kMz4knz2Iw=", - "dev": true, - "requires": { - "keypress": "0.1.0" - } + "integrity": "sha1-RXKVu5duOI6d0NtS3kMz4knz2Iw=" } } }, @@ -6391,715 +4005,395 @@ "version": "0.2.1", "resolved": "https://registry.npmjs.org/pm2-deploy/-/pm2-deploy-0.2.1.tgz", "integrity": "sha1-fFmjX7x6BjT+ZzkODt2jTrItAK4=", - "dev": true, - "requires": { - "async": "1.4.2", - "tv4": "1.0.18" - }, "dependencies": { "async": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/async/-/async-1.4.2.tgz", - "integrity": "sha1-bJ7csRztTw3S8tQNsNSaEJwIiqs=", - "dev": true + "integrity": "sha1-bJ7csRztTw3S8tQNsNSaEJwIiqs=" } } }, "pm2-multimeter": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/pm2-multimeter/-/pm2-multimeter-0.1.2.tgz", - "integrity": "sha1-Gh5VFT1BoFU0zqI8/oYKuqDrSs4=", - "dev": true, - "requires": { - "charm": "0.1.2" - } + "integrity": "sha1-Gh5VFT1BoFU0zqI8/oYKuqDrSs4=" }, "pmx": { "version": "0.6.8", "resolved": "https://registry.npmjs.org/pmx/-/pmx-0.6.8.tgz", - "integrity": "sha1-j51ttHB+puxzgwU3R1EDZ80fYzI=", - "dev": true, - "requires": { - "debug": "2.6.9", - "json-stringify-safe": "5.0.1" - } + "integrity": "sha1-j51ttHB+puxzgwU3R1EDZ80fYzI=" }, "prefix-matches": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prefix-matches/-/prefix-matches-1.0.1.tgz", - "integrity": "sha1-AuNM4n8zr0jmi7/OKqwqAEvCt2w=", - "dev": true, - "requires": { - "is-object": "1.0.1", - "starts-with": "1.0.2" - } + "integrity": "sha1-AuNM4n8zr0jmi7/OKqwqAEvCt2w=" }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "dev": true + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" }, "preserve": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", - "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", - "dev": true + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=" }, "private": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", - "dev": true + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==" }, "process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", - "dev": true + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" }, "process-nextick-args": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", - "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", - "dev": true + "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=" }, "progress": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.0.tgz", - "integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=", - "dev": true + "integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=" }, "promise": { "version": "7.3.1", "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "dev": true, - "requires": { - "asap": "2.0.6" - } + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==" }, "promisify": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/promisify/-/promisify-0.0.3.tgz", - "integrity": "sha1-dU22HynuZHarVDxFtGTSH171VoY=", - "requires": { - "when": "3.7.8" - } + "integrity": "sha1-dU22HynuZHarVDxFtGTSH171VoY=" + }, + "promisify-node": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/promisify-node/-/promisify-node-0.4.0.tgz", + "integrity": "sha1-MoA4dOxBF4TkeGwzmQKoeheaRpw=" }, "prop-types": { "version": "15.6.0", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz", - "integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=", - "dev": true, - "requires": { - "fbjs": "0.8.16", - "loose-envify": "1.3.1", - "object-assign": "4.1.1" - } - }, - "proxy-addr": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.2.tgz", - "integrity": "sha1-ZXFQT0e7mI7IGAJT+F3X4UlSvew=", - "dev": true, - "requires": { - "forwarded": "0.1.2", - "ipaddr.js": "1.5.2" - } + "integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=" }, "prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", - "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", - "dev": true + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=" }, "ps-tree": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.1.0.tgz", - "integrity": "sha1-tCGyQUDWID8e08dplrRCewjowBQ=", - "dev": true, - "requires": { - "event-stream": "3.3.4" - } + "integrity": "sha1-tCGyQUDWID8e08dplrRCewjowBQ=" }, "pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", - "dev": true + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" }, "public-encrypt": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.0.tgz", - "integrity": "sha1-OfaZ86RlYN1eusvKaTyvfGXBjMY=", - "dev": true, - "requires": { - "bn.js": "4.11.8", - "browserify-rsa": "4.0.1", - "create-hash": "1.1.3", - "parse-asn1": "5.1.0", - "randombytes": "2.0.5" - } + "integrity": "sha1-OfaZ86RlYN1eusvKaTyvfGXBjMY=" }, "pug": { "version": "2.0.0-rc.4", "resolved": "https://registry.npmjs.org/pug/-/pug-2.0.0-rc.4.tgz", - "integrity": "sha512-SL7xovj6E2Loq9N0UgV6ynjMLW4urTFY/L/Fprhvz13Xc5vjzkjZjI1QHKq31200+6PSD8PyU6MqrtCTJj6/XA==", - "dev": true, - "requires": { - "pug-code-gen": "2.0.0", - "pug-filters": "2.1.5", - "pug-lexer": "3.1.0", - "pug-linker": "3.0.3", - "pug-load": "2.0.9", - "pug-parser": "4.0.0", - "pug-runtime": "2.0.3", - "pug-strip-comments": "1.0.2" - } + "integrity": "sha512-SL7xovj6E2Loq9N0UgV6ynjMLW4urTFY/L/Fprhvz13Xc5vjzkjZjI1QHKq31200+6PSD8PyU6MqrtCTJj6/XA==" }, "pug-attrs": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/pug-attrs/-/pug-attrs-2.0.2.tgz", - "integrity": "sha1-i+KyIlVo/6ddG4Zpgr/59BEa/8s=", - "dev": true, - "requires": { - "constantinople": "3.1.0", - "js-stringify": "1.0.2", - "pug-runtime": "2.0.3" - } + "integrity": "sha1-i+KyIlVo/6ddG4Zpgr/59BEa/8s=" }, "pug-code-gen": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/pug-code-gen/-/pug-code-gen-2.0.0.tgz", - "integrity": "sha512-E4oiJT+Jn5tyEIloj8dIJQognbiNNp0i0cAJmYtQTFS0soJ917nlIuFtqVss3IXMEyQKUew3F4gIkBpn18KbVg==", - "dev": true, - "requires": { - "constantinople": "3.1.0", - "doctypes": "1.1.0", - "js-stringify": "1.0.2", - "pug-attrs": "2.0.2", - "pug-error": "1.3.2", - "pug-runtime": "2.0.3", - "void-elements": "2.0.1", - "with": "5.1.1" - } + "integrity": "sha512-E4oiJT+Jn5tyEIloj8dIJQognbiNNp0i0cAJmYtQTFS0soJ917nlIuFtqVss3IXMEyQKUew3F4gIkBpn18KbVg==" }, "pug-error": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/pug-error/-/pug-error-1.3.2.tgz", - "integrity": "sha1-U659nSm7A89WRJOgJhCfVMR/XyY=", - "dev": true + "integrity": "sha1-U659nSm7A89WRJOgJhCfVMR/XyY=" }, "pug-filters": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/pug-filters/-/pug-filters-2.1.5.tgz", - "integrity": "sha512-xkw71KtrC4sxleKiq+cUlQzsiLn8pM5+vCgkChW2E6oNOzaqTSIBKIQ5cl4oheuDzvJYCTSYzRaVinMUrV4YLQ==", - "dev": true, - "requires": { - "clean-css": "3.4.28", - "constantinople": "3.1.0", - "jstransformer": "1.0.0", - "pug-error": "1.3.2", - "pug-walk": "1.1.5", - "resolve": "1.5.0", - "uglify-js": "2.8.29" - } + "integrity": "sha512-xkw71KtrC4sxleKiq+cUlQzsiLn8pM5+vCgkChW2E6oNOzaqTSIBKIQ5cl4oheuDzvJYCTSYzRaVinMUrV4YLQ==" }, "pug-lexer": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/pug-lexer/-/pug-lexer-3.1.0.tgz", "integrity": "sha1-/QhzdtSmdbT1n4/vQiiDQ06VgaI=", - "dev": true, - "requires": { - "character-parser": "2.2.0", - "is-expression": "3.0.0", - "pug-error": "1.3.2" - }, "dependencies": { "acorn": { "version": "4.0.13", "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", - "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", - "dev": true + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=" }, "is-expression": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-expression/-/is-expression-3.0.0.tgz", - "integrity": "sha1-Oayqa+f9HzRx3ELHQW5hwkMXrJ8=", - "dev": true, - "requires": { - "acorn": "4.0.13", - "object-assign": "4.1.1" - } + "integrity": "sha1-Oayqa+f9HzRx3ELHQW5hwkMXrJ8=" } } }, "pug-linker": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/pug-linker/-/pug-linker-3.0.3.tgz", - "integrity": "sha512-DCKczglCXOzJ1lr4xUj/lVHYvS+lGmR2+KTCjZjtIpdwaN7lNOoX2SW6KFX5X4ElvW+6ThwB+acSUg08UJFN5A==", - "dev": true, - "requires": { - "pug-error": "1.3.2", - "pug-walk": "1.1.5" - } + "integrity": "sha512-DCKczglCXOzJ1lr4xUj/lVHYvS+lGmR2+KTCjZjtIpdwaN7lNOoX2SW6KFX5X4ElvW+6ThwB+acSUg08UJFN5A==" }, "pug-load": { "version": "2.0.9", "resolved": "https://registry.npmjs.org/pug-load/-/pug-load-2.0.9.tgz", - "integrity": "sha512-BDdZOCru4mg+1MiZwRQZh25+NTRo/R6/qArrdWIf308rHtWA5N9kpoUskRe4H6FslaQujC+DigH9LqlBA4gf6Q==", - "dev": true, - "requires": { - "object-assign": "4.1.1", - "pug-walk": "1.1.5" - } + "integrity": "sha512-BDdZOCru4mg+1MiZwRQZh25+NTRo/R6/qArrdWIf308rHtWA5N9kpoUskRe4H6FslaQujC+DigH9LqlBA4gf6Q==" }, "pug-parser": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/pug-parser/-/pug-parser-4.0.0.tgz", - "integrity": "sha512-ocEUFPdLG9awwFj0sqi1uiZLNvfoodCMULZzkRqILryIWc/UUlDlxqrKhKjAIIGPX/1SNsvxy63+ayEGocGhQg==", - "dev": true, - "requires": { - "pug-error": "1.3.2", - "token-stream": "0.0.1" - } + "integrity": "sha512-ocEUFPdLG9awwFj0sqi1uiZLNvfoodCMULZzkRqILryIWc/UUlDlxqrKhKjAIIGPX/1SNsvxy63+ayEGocGhQg==" }, "pug-runtime": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/pug-runtime/-/pug-runtime-2.0.3.tgz", - "integrity": "sha1-mBYmB7D86eJU1CfzOYelrucWi9o=", - "dev": true + "integrity": "sha1-mBYmB7D86eJU1CfzOYelrucWi9o=" }, "pug-strip-comments": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pug-strip-comments/-/pug-strip-comments-1.0.2.tgz", - "integrity": "sha1-0xOvoBvMN0mA4TmeI+vy65vchRM=", - "dev": true, - "requires": { - "pug-error": "1.3.2" - } + "integrity": "sha1-0xOvoBvMN0mA4TmeI+vy65vchRM=" }, "pug-walk": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/pug-walk/-/pug-walk-1.1.5.tgz", - "integrity": "sha512-rJlH1lXerCIAtImXBze3dtKq/ykZMA4rpO9FnPcIgsWcxZLOvd8zltaoeOVFyBSSqCkhhJWbEbTMga8UxWUUSA==", - "dev": true + "integrity": "sha512-rJlH1lXerCIAtImXBze3dtKq/ykZMA4rpO9FnPcIgsWcxZLOvd8zltaoeOVFyBSSqCkhhJWbEbTMga8UxWUUSA==" }, "punycode": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", - "dev": true + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" }, "qs": { "version": "6.5.1", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", - "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", - "dev": true - }, - "query-string": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-2.4.2.tgz", - "integrity": "sha1-fbBmZCCAS6qSrp8miWKFWnYUPfs=", - "dev": true, - "requires": { - "strict-uri-encode": "1.1.0" - } + "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==" }, "querystring": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "dev": true + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" }, "querystring-es3": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", - "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", - "dev": true + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=" }, "randomatic": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.7.tgz", "integrity": "sha512-D5JUjPyJbaJDkuAazpVnSfVkLlpeO3wDlPROTMLGKG1zMFNFRgrciKo1ltz/AzNTkqE0HzDx655QOL51N06how==", - "dev": true, - "requires": { - "is-number": "3.0.0", - "kind-of": "4.0.0" - }, "dependencies": { "is-number": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - }, "dependencies": { "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=" } } }, "kind-of": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=" } } }, "randombytes": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.5.tgz", - "integrity": "sha512-8T7Zn1AhMsQ/HI1SjcCfT/t4ii3eAqco3yOcSzS4mozsOz69lHLsoMXmF9nZgnFanYscnSlUSgs8uZyKzpE6kg==", - "requires": { - "safe-buffer": "5.1.1" - } + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz", + "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==" }, "randomfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.3.tgz", - "integrity": "sha512-YL6GrhrWoic0Eq8rXVbMptH7dAxCs0J+mh5Y0euNekPPYaxEmdVGim6GdoxoRzKW2yJoU8tueifS7mYxvcFDEQ==", - "dev": true, - "requires": { - "randombytes": "2.0.5", - "safe-buffer": "5.1.1" - } - }, - "randomhex": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/randomhex/-/randomhex-0.1.5.tgz", - "integrity": "sha1-us7vmCMpCRQA8qKRLGzQLxCU9YU=", - "dev": true + "integrity": "sha512-YL6GrhrWoic0Eq8rXVbMptH7dAxCs0J+mh5Y0euNekPPYaxEmdVGim6GdoxoRzKW2yJoU8tueifS7mYxvcFDEQ==" }, "range-parser": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", - "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=", - "dev": true - }, - "raw-body": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz", - "integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=", - "dev": true, - "requires": { - "bytes": "3.0.0", - "http-errors": "1.6.2", - "iconv-lite": "0.4.19", - "unpipe": "1.0.0" - } + "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=" }, "read-pkg": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", - "dev": true, - "requires": { - "load-json-file": "2.0.0", - "normalize-package-data": "2.4.0", - "path-type": "2.0.0" - } + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=" }, "read-pkg-up": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", - "dev": true, - "requires": { - "find-up": "2.1.0", - "read-pkg": "2.0.0" - }, "dependencies": { "find-up": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "2.0.0" - } + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=" } } }, "readable-stream": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", - "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", - "dev": true, - "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "1.0.7", - "safe-buffer": "5.1.1", - "string_decoder": "1.0.3", - "util-deprecate": "1.0.2" - } + "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==" }, "readdirp": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz", - "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "minimatch": "3.0.4", - "readable-stream": "2.3.3", - "set-immediate-shim": "1.0.1" - } + "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=" }, "readline-sync": { "version": "1.4.7", "resolved": "https://registry.npmjs.org/readline-sync/-/readline-sync-1.4.7.tgz", - "integrity": "sha1-ABv91MBhEMPAhMY798alYCIhPzA=", - "dev": true + "integrity": "sha1-ABv91MBhEMPAhMY798alYCIhPzA=" }, "redent": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", - "dev": true, - "requires": { - "indent-string": "2.1.0", - "strip-indent": "1.0.1" - } + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=" }, "regenerate": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.3.tgz", - "integrity": "sha512-jVpo1GadrDAK59t/0jRx5VxYWQEDkkEKi6+HjE3joFVLfDOh9Xrdh0dF1eSq+BI/SwvTQ44gSscJ8N5zYL61sg==", - "dev": true + "integrity": "sha512-jVpo1GadrDAK59t/0jRx5VxYWQEDkkEKi6+HjE3joFVLfDOh9Xrdh0dF1eSq+BI/SwvTQ44gSscJ8N5zYL61sg==" }, "regenerator-runtime": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", - "dev": true + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" }, "regenerator-transform": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", - "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-types": "6.26.0", - "private": "0.1.8" - } + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.12.3.tgz", + "integrity": "sha512-y2uxO/6u+tVmtEDIKo+tLCtI0GcbQr0OreosKgCd7HP4VypGjtTrw79DezuwT+W5QX0YWuvpeBOgumrepwM1kA==" }, "regex-cache": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", - "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", - "dev": true, - "requires": { - "is-equal-shallow": "0.1.3" - } + "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==" }, "regexpu-core": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", - "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", - "dev": true, - "requires": { - "regenerate": "1.3.3", - "regjsgen": "0.2.0", - "regjsparser": "0.1.5" - } + "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=" }, "regjsgen": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", - "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", - "dev": true + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=" }, "regjsparser": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", - "dev": true, - "requires": { - "jsesc": "0.5.0" - }, "dependencies": { "jsesc": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "dev": true + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=" } } }, "remove-trailing-separator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", - "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", - "dev": true + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=" }, "repeat-element": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz", - "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=", - "dev": true + "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=" }, "repeat-string": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" }, "repeating": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "dev": true, - "requires": { - "is-finite": "1.0.2" - } + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=" }, "request": { "version": "2.83.0", "resolved": "https://registry.npmjs.org/request/-/request-2.83.0.tgz", "integrity": "sha512-lR3gD69osqm6EYLk9wB/G1W/laGWjzH90t1vEa2xuxHD5KUrSzp9pUSfTm+YC5Nxt2T8nMPEvKlhbQayU7bgFw==", - "dev": true, - "requires": { - "aws-sign2": "0.7.0", - "aws4": "1.6.0", - "caseless": "0.12.0", - "combined-stream": "1.0.5", - "extend": "3.0.1", - "forever-agent": "0.6.1", - "form-data": "2.3.1", - "har-validator": "5.0.3", - "hawk": "6.0.2", - "http-signature": "1.2.0", - "is-typedarray": "1.0.0", - "isstream": "0.1.2", - "json-stringify-safe": "5.0.1", - "mime-types": "2.1.17", - "oauth-sign": "0.8.2", - "performance-now": "2.1.0", - "qs": "6.5.1", - "safe-buffer": "5.1.1", - "stringstream": "0.0.5", - "tough-cookie": "2.3.3", - "tunnel-agent": "0.6.0", - "uuid": "3.1.0" - }, "dependencies": { "uuid": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz", - "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==", - "dev": true + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", + "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==" } } }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "dev": true + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "require-from-string": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-1.2.1.tgz", + "integrity": "sha1-UpyczvJzgK3+yaL5ZbZJu+5jZBg=" }, "require-main-filename": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", - "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", - "dev": true + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" }, "require-uncached": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", - "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", - "dev": true, - "requires": { - "caller-path": "0.1.0", - "resolve-from": "1.0.1" - } + "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=" }, "resolve": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.5.0.tgz", - "integrity": "sha512-hgoSGrc3pjzAPHNBg+KnFcK2HwlHTs/YrAGUr6qgTVUZmXv1UEXXl0bZNBKMA9fud6lRYFdPGz0xXxycPzmmiw==", - "dev": true, - "requires": { - "path-parse": "1.0.5" - } + "integrity": "sha512-hgoSGrc3pjzAPHNBg+KnFcK2HwlHTs/YrAGUr6qgTVUZmXv1UEXXl0bZNBKMA9fud6lRYFdPGz0xXxycPzmmiw==" }, "resolve-dir": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-0.1.1.tgz", - "integrity": "sha1-shklmlYC+sXFxJatiUpujMQwJh4=", - "dev": true, - "requires": { - "expand-tilde": "1.2.2", - "global-modules": "0.2.3" - } + "integrity": "sha1-shklmlYC+sXFxJatiUpujMQwJh4=" }, "resolve-from": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", - "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", - "dev": true + "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=" }, "restore-cursor": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", - "dev": true, - "requires": { - "onetime": "2.0.1", - "signal-exit": "3.0.2" - } - }, - "resumer": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", - "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", - "dev": true, - "requires": { - "through": "2.3.8" - } + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=" }, "right-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", - "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", - "dev": true, - "requires": { - "align-text": "0.1.4" - } + "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=" }, "rimraf": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", - "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", - "dev": true, - "requires": { - "glob": "7.1.2" - } + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==" }, "ripemd160": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.1.tgz", - "integrity": "sha1-D0WEKVxTo2KK9+bXmsohzlfRxuc=", - "requires": { - "hash-base": "2.0.2", - "inherits": "2.0.3" - } + "integrity": "sha1-D0WEKVxTo2KK9+bXmsohzlfRxuc=" }, "rlp": { "version": "2.0.0", @@ -7109,32 +4403,22 @@ "run-async": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", - "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", - "dev": true, - "requires": { - "is-promise": "2.1.0" - } + "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=" }, "rx": { "version": "2.3.24", "resolved": "https://registry.npmjs.org/rx/-/rx-2.3.24.tgz", - "integrity": "sha1-FPlQpCF9fjXapxu8vljv9o6ksrc=", - "dev": true + "integrity": "sha1-FPlQpCF9fjXapxu8vljv9o6ksrc=" }, "rx-lite": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", - "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", - "dev": true + "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=" }, "rx-lite-aggregates": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", - "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", - "dev": true, - "requires": { - "rx-lite": "4.0.8" - } + "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=" }, "safe-buffer": { "version": "5.1.1", @@ -7149,114 +4433,44 @@ "secp256k1": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.4.0.tgz", - "integrity": "sha512-eC120ESQ6MB3gMkxj0PVcSjv/9VtSUmm9uPGNc58yTs93iMCUQZ1xeGPidQMY1z1O4psbCtOxRu3vNqpbuck6Q==", - "requires": { - "bindings": "1.3.0", - "bip66": "1.1.5", - "bn.js": "4.11.8", - "create-hash": "1.1.3", - "drbg.js": "1.0.1", - "elliptic": "6.3.3", - "nan": "2.8.0", - "safe-buffer": "5.1.1" - } - }, - "secure-keys": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/secure-keys/-/secure-keys-1.0.0.tgz", - "integrity": "sha1-8MgtmKOxOah3aogIBQuCRDEIf8o=" + "integrity": "sha512-eC120ESQ6MB3gMkxj0PVcSjv/9VtSUmm9uPGNc58yTs93iMCUQZ1xeGPidQMY1z1O4psbCtOxRu3vNqpbuck6Q==" }, "seek-bzip": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz", "integrity": "sha1-z+kXyz0nS8/6x5J1ivUxc+sfq9w=", - "dev": true, - "requires": { - "commander": "2.8.1" - }, "dependencies": { "commander": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", - "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=", - "dev": true, - "requires": { - "graceful-readlink": "1.0.1" - } + "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=" } } }, "semver": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz", - "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==", - "dev": true + "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==" }, "send": { "version": "0.16.1", "resolved": "https://registry.npmjs.org/send/-/send-0.16.1.tgz", - "integrity": "sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A==", - "dev": true, - "requires": { - "debug": "2.6.9", - "depd": "1.1.1", - "destroy": "1.0.4", - "encodeurl": "1.0.1", - "escape-html": "1.0.3", - "etag": "1.8.1", - "fresh": "0.5.2", - "http-errors": "1.6.2", - "mime": "1.4.1", - "ms": "2.0.0", - "on-finished": "2.3.0", - "range-parser": "1.2.0", - "statuses": "1.3.1" - }, - "dependencies": { - "statuses": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", - "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", - "dev": true - } - } + "integrity": "sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A==" }, "serve-static": { "version": "1.13.1", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.1.tgz", - "integrity": "sha512-hSMUZrsPa/I09VYFJwa627JJkNs0NrfL1Uzuup+GqHfToR2KcsXFymXSV90hoyw3M+msjFuQly+YzIH/q0MGlQ==", - "dev": true, - "requires": { - "encodeurl": "1.0.1", - "escape-html": "1.0.3", - "parseurl": "1.3.2", - "send": "0.16.1" - } - }, - "servify": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz", - "integrity": "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==", - "dev": true, - "requires": { - "body-parser": "1.18.2", - "cors": "2.8.4", - "express": "4.16.2", - "request": "2.83.0", - "xhr": "2.4.1" - } + "integrity": "sha512-hSMUZrsPa/I09VYFJwa627JJkNs0NrfL1Uzuup+GqHfToR2KcsXFymXSV90hoyw3M+msjFuQly+YzIH/q0MGlQ==" }, "set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "dev": true + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" }, "set-immediate-shim": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", - "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", - "dev": true + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=" }, "setimmediate": { "version": "1.0.4", @@ -7266,567 +4480,662 @@ "setprototypeof": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz", - "integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=", - "dev": true + "integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=" }, "sha.js": { "version": "2.4.9", "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.9.tgz", - "integrity": "sha512-G8zektVqbiPHrylgew9Zg1VRB1L/DtXNUVAM6q4QLy8NE3qtHlFXTf8VLL4k1Yl6c7NMjtZUTdXV+X44nFaT6A==", - "requires": { - "inherits": "2.0.3", - "safe-buffer": "5.1.1" - } + "integrity": "sha512-G8zektVqbiPHrylgew9Zg1VRB1L/DtXNUVAM6q4QLy8NE3qtHlFXTf8VLL4k1Yl6c7NMjtZUTdXV+X44nFaT6A==" }, "sha3": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/sha3/-/sha3-1.2.0.tgz", - "integrity": "sha1-aYnxtwpJhwWHajc+LGKs6WqpOZo=", - "requires": { - "nan": "2.8.0" - } + "integrity": "sha1-aYnxtwpJhwWHajc+LGKs6WqpOZo=" }, "shebang-command": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "dev": true, - "requires": { - "shebang-regex": "1.0.0" - } + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=" }, "shebang-regex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "dev": true + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" }, "shelljs": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.6.0.tgz", - "integrity": "sha1-zh7YN7Sw5Vtew9q4QlGrnb3Ax+w=", - "dev": true + "integrity": "sha1-zh7YN7Sw5Vtew9q4QlGrnb3Ax+w=" }, "sigmund": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", - "integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=", - "dev": true + "integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=" }, "signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", - "dev": true - }, - "simple-get": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-1.4.3.tgz", - "integrity": "sha1-6XVe2kB+ltpAxeUVjJ6jezO+y+s=", - "dev": true, - "requires": { - "once": "1.4.0", - "unzip-response": "1.0.2", - "xtend": "4.0.1" - } + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" }, "slash": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", - "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", - "dev": true + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=" }, "slice-ansi": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "2.0.0" + "dependencies": { + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + } } }, "sntp": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/sntp/-/sntp-2.1.0.tgz", - "integrity": "sha512-FL1b58BDrqS3A11lJ0zEdnJ3UOKqVxawAkF3k7F0CVN7VQ34aZrV+G8BZ1WC9ZL7NyrwsW0oviwsWDgRuVYtJg==", - "dev": true, - "requires": { - "hoek": "4.2.0" + "integrity": "sha512-FL1b58BDrqS3A11lJ0zEdnJ3UOKqVxawAkF3k7F0CVN7VQ34aZrV+G8BZ1WC9ZL7NyrwsW0oviwsWDgRuVYtJg==" + }, + "solc": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.4.18.tgz", + "integrity": "sha512-Kq+O3PNF9Pfq7fB+lDYAuoqRdghLmZyfngsg0h1Hj38NKAeVHeGPOGeZasn5KqdPeCzbMFvaGyTySxzGv6aXCg==", + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=" + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=" + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=" + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=" + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=" + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=" + }, + "window-size": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz", + "integrity": "sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU=" + }, + "yargs": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", + "integrity": "sha1-wMQpJMpKqmsObaFznfshZDn53cA=" + }, + "yargs-parser": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz", + "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=" + } + } + }, + "solidity-parser": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/solidity-parser/-/solidity-parser-0.3.0.tgz", + "integrity": "sha1-yrBPjkBr3B88FlEu7GqoehBy+Lk=", + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" + }, + "commander": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz", + "integrity": "sha1-/UMOiJgy7DU7ms0d4hfBHLPu+HM=" + }, + "debug": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=" + }, + "diff": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz", + "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=" + }, + "escape-string-regexp": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz", + "integrity": "sha1-Tbwv5nTnGUnK8/smlc5/LcHZqNE=" + }, + "glob": { + "version": "3.2.11", + "resolved": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz", + "integrity": "sha1-Spc/Y1uRkPcV0QmH1cAP0oFevj0=" + }, + "growl": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz", + "integrity": "sha1-Dqd0NxXbjY3ixe3hd14bRayFwC8=" + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=" + }, + "lru-cache": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz", + "integrity": "sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=" + }, + "minimatch": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz", + "integrity": "sha1-J12O2qxPG7MyZHIInnlJyDlGmd0=" + }, + "mocha": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-2.5.3.tgz", + "integrity": "sha1-FhvlvetJZ3HrmzV0UFC2IrWu/Fg=" + }, + "ms": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=" + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=" + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=" + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=" + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=" + }, + "supports-color": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-1.2.0.tgz", + "integrity": "sha1-/x7R5hFp0Gs88tWI4YixjYhH4X4=" + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=" + }, + "window-size": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz", + "integrity": "sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU=" + }, + "yargs": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", + "integrity": "sha1-wMQpJMpKqmsObaFznfshZDn53cA=" + }, + "yargs-parser": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz", + "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=" + } + } + }, + "solidity-sha3": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/solidity-sha3/-/solidity-sha3-0.4.1.tgz", + "integrity": "sha1-F1d+k/bP1YSJxOx/LaMEdTAynsE=", + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/debris/bignumber.js.git#c7a38de919ed75e6fb6ba38051986e294b328df9" + }, + "web3": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/web3/-/web3-0.16.0.tgz", + "integrity": "sha1-pFVBdc1GKUMDWx8dOUMvdBxrYBk=" + } } }, "source-list-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", - "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==", - "dev": true + "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==" }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" }, "source-map-support": { "version": "0.4.18", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", - "dev": true, - "requires": { - "source-map": "0.5.7" - } + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==" + }, + "spawn-args": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/spawn-args/-/spawn-args-0.1.0.tgz", + "integrity": "sha1-PgIyoFcbOHkH+LP1RKpTHGIkhIw=" }, "spawn-command": { "version": "0.0.2-1", "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", - "integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=", - "dev": true + "integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=" }, "spawn-command-with-kill": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/spawn-command-with-kill/-/spawn-command-with-kill-1.0.0.tgz", - "integrity": "sha1-gDrXny9W5E3ZJhg3aKrC+ux9DOY=", - "dev": true, - "requires": { - "ps-tree": "1.1.0", - "spawn-command": "0.0.2-1" - } + "integrity": "sha1-gDrXny9W5E3ZJhg3aKrC+ux9DOY=" }, "spdx-correct": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", - "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", - "dev": true, - "requires": { - "spdx-license-ids": "1.2.2" - } + "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=" }, "spdx-expression-parse": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz", - "integrity": "sha1-m98vIOH0DtRH++JzJmGR/O1RYmw=", - "dev": true + "integrity": "sha1-m98vIOH0DtRH++JzJmGR/O1RYmw=" }, "spdx-license-ids": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", - "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=", - "dev": true + "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=" }, "split": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/split/-/split-0.3.3.tgz", - "integrity": "sha1-zQ7qXmOiEd//frDwkcQTPi0N0o8=", - "dev": true, - "requires": { - "through": "2.3.8" - } + "integrity": "sha1-zQ7qXmOiEd//frDwkcQTPi0N0o8=" }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", - "dev": true + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, "sshpk": { "version": "1.13.1", "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz", - "integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=", - "dev": true, - "requires": { - "asn1": "0.2.3", - "assert-plus": "1.0.0", - "bcrypt-pbkdf": "1.0.1", - "dashdash": "1.14.1", - "ecc-jsbn": "0.1.1", - "getpass": "0.1.7", - "jsbn": "0.1.1", - "tweetnacl": "0.14.5" - } + "integrity": "sha1-US322mKHFEMW3EwY/hzx2UBzm+M=" }, "starts-with": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/starts-with/-/starts-with-1.0.2.tgz", - "integrity": "sha1-Fnk6cp2J1M89T7LtovkIrjV/GW8=", - "dev": true + "integrity": "sha1-Fnk6cp2J1M89T7LtovkIrjV/GW8=" }, "statuses": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", - "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", - "dev": true + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", + "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=" }, "stream-browserify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", - "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", - "dev": true, - "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.3" - } + "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=" }, "stream-combiner": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz", - "integrity": "sha1-TV5DPBhSYd3mI8o/RMWGvPXErRQ=", - "dev": true, - "requires": { - "duplexer": "0.1.1" - } + "integrity": "sha1-TV5DPBhSYd3mI8o/RMWGvPXErRQ=" }, "stream-http": { "version": "2.7.2", "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.7.2.tgz", - "integrity": "sha512-c0yTD2rbQzXtSsFSVhtpvY/vS6u066PcXOX9kBB3mSO76RiUQzL340uJkGBWnlBg4/HZzqiUXtaVA7wcRcJgEw==", - "dev": true, - "requires": { - "builtin-status-codes": "3.0.0", - "inherits": "2.0.3", - "readable-stream": "2.3.3", - "to-arraybuffer": "1.0.1", - "xtend": "4.0.1" - } - }, - "strict-uri-encode": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", - "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=", - "dev": true - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "2.0.0", - "strip-ansi": "4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "3.0.0" - } - } - } + "integrity": "sha512-c0yTD2rbQzXtSsFSVhtpvY/vS6u066PcXOX9kBB3mSO76RiUQzL340uJkGBWnlBg4/HZzqiUXtaVA7wcRcJgEw==" }, "string_decoder": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" - } + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==" + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=" }, "stringstream": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", - "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=", - "dev": true + "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=" }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "2.1.1" - } + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=" }, "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "dev": true + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" }, "strip-dirs": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz", - "integrity": "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==", - "dev": true, - "requires": { - "is-natural-number": "4.0.1" - } + "integrity": "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==" }, "strip-eof": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", - "dev": true + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" }, "strip-hex-prefix": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz", - "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=", - "requires": { - "is-hex-prefixed": "1.0.0" - } + "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=" }, "strip-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", - "dev": true, - "requires": { - "get-stdin": "4.0.1" - } + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=" }, "strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", - "dev": true + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" }, "supports-color": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "dev": true + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" }, "table": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/table/-/table-4.0.2.tgz", "integrity": "sha512-UUkEAPdSGxtRpiV9ozJ5cMTtYiqz7Ni1OGqLXRCynrvzdtR1p+cfOWe2RJLwvUG8hNanaSRjecIqwOjqeatDsA==", - "dev": true, - "requires": { - "ajv": "5.5.1", - "ajv-keywords": "2.1.1", - "chalk": "2.3.0", - "lodash": "4.17.4", - "slice-ansi": "1.0.0", - "string-width": "2.1.1" - }, "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + }, "ansi-styles": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", - "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", - "dev": true, - "requires": { - "color-convert": "1.9.1" - } + "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==" }, "chalk": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.0.tgz", - "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==", - "dev": true, - "requires": { - "ansi-styles": "3.2.0", - "escape-string-regexp": "1.0.5", - "supports-color": "4.5.0" - } + "integrity": "sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==" + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==" + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=" }, "supports-color": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", - "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", - "dev": true, - "requires": { - "has-flag": "2.0.0" - } + "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=" } } }, "tapable": { "version": "0.2.8", "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.8.tgz", - "integrity": "sha1-mTcqXJmb8t8WCvwNdL7U9HlIzSI=", - "dev": true - }, - "tape": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/tape/-/tape-3.6.1.tgz", - "integrity": "sha1-SJPdU+KApfWMDOswwsDrs7zVHh8=", - "dev": true, - "requires": { - "deep-equal": "0.2.2", - "defined": "0.0.0", - "glob": "3.2.11", - "inherits": "2.0.3", - "object-inspect": "0.4.0", - "resumer": "0.0.0", - "through": "2.3.8" - }, - "dependencies": { - "glob": { - "version": "3.2.11", - "resolved": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz", - "integrity": "sha1-Spc/Y1uRkPcV0QmH1cAP0oFevj0=", - "dev": true, - "requires": { - "inherits": "2.0.3", - "minimatch": "0.3.0" - } - }, - "lru-cache": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz", - "integrity": "sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=", - "dev": true - }, - "minimatch": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz", - "integrity": "sha1-J12O2qxPG7MyZHIInnlJyDlGmd0=", - "dev": true, - "requires": { - "lru-cache": "2.7.3", - "sigmund": "1.0.1" - } - } - } + "integrity": "sha1-mTcqXJmb8t8WCvwNdL7U9HlIzSI=" }, "tar-stream": { "version": "1.5.5", "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.5.5.tgz", - "integrity": "sha512-mQdgLPc/Vjfr3VWqWbfxW8yQNiJCbAZ+Gf6GDu1Cy0bdb33ofyiNGBtAY96jHFhDuivCwgW1H9DgTON+INiXgg==", - "dev": true, - "requires": { - "bl": "1.2.1", - "end-of-stream": "1.4.0", - "readable-stream": "2.3.3", - "xtend": "4.0.1" + "integrity": "sha512-mQdgLPc/Vjfr3VWqWbfxW8yQNiJCbAZ+Gf6GDu1Cy0bdb33ofyiNGBtAY96jHFhDuivCwgW1H9DgTON+INiXgg==" + }, + "temp": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/temp/-/temp-0.8.3.tgz", + "integrity": "sha1-4Ma8TSa5AxJEEOT+2BEDAU38H1k=", + "dependencies": { + "rimraf": { + "version": "2.2.8", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz", + "integrity": "sha1-5Dm+Kq7jJzIZUnMPmaiSnk/FBYI=" + } } }, "temp-write": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/temp-write/-/temp-write-2.1.0.tgz", - "integrity": "sha1-WYkJGODvCdVIqqNC9L00CdhATpY=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "mkdirp": "0.5.1", - "os-tmpdir": "1.0.2", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "uuid": "2.0.1" - } + "integrity": "sha1-WYkJGODvCdVIqqNC9L00CdhATpY=" }, "text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", - "dev": true + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=" }, "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", - "dev": true - }, - "timed-out": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-2.0.0.tgz", - "integrity": "sha1-84sK6B03R9YoAB9B2vxlKs5nHAo=", - "dev": true + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, "timers-browserify": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.4.tgz", - "integrity": "sha512-uZYhyU3EX8O7HQP+J9fTVYwsq90Vr68xPEFo7yrVImIxYvHgukBEgOB/SgGoorWVTzGM/3Z+wUNnboA4M8jWrg==", - "dev": true, - "requires": { - "setimmediate": "1.0.4" - } + "integrity": "sha512-uZYhyU3EX8O7HQP+J9fTVYwsq90Vr68xPEFo7yrVImIxYvHgukBEgOB/SgGoorWVTzGM/3Z+wUNnboA4M8jWrg==" }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, - "requires": { - "os-tmpdir": "1.0.2" - } + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==" }, "to-arraybuffer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", - "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", - "dev": true + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=" }, "to-fast-properties": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", - "dev": true + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=" + }, + "to-iso-string": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/to-iso-string/-/to-iso-string-0.0.2.tgz", + "integrity": "sha1-TcGeZk38y+Jb2NtQiwDG2hWCVdE=" }, "token-stream": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/token-stream/-/token-stream-0.0.1.tgz", - "integrity": "sha1-zu78cXp2xDFvEm0LnbqlXX598Bo=", - "dev": true + "integrity": "sha1-zu78cXp2xDFvEm0LnbqlXX598Bo=" }, "tough-cookie": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz", - "integrity": "sha1-C2GKVWW23qkL80JdBNVe3EdadWE=", - "dev": true, - "requires": { - "punycode": "1.4.1" - } + "integrity": "sha1-C2GKVWW23qkL80JdBNVe3EdadWE=" }, "tree-kill": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.0.tgz", - "integrity": "sha512-DlX6dR0lOIRDFxI0mjL9IYg6OTncLm/Zt+JiBhE5OlFcAR8yc9S7FFXU9so0oda47frdM/JFsk7UjNt9vscKcg==", - "dev": true - }, - "trim": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", - "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", - "dev": true + "integrity": "sha512-DlX6dR0lOIRDFxI0mjL9IYg6OTncLm/Zt+JiBhE5OlFcAR8yc9S7FFXU9so0oda47frdM/JFsk7UjNt9vscKcg==" }, "trim-newlines": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", - "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", - "dev": true + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=" }, "trim-right": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", - "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", - "dev": true + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=" + }, + "truffle": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/truffle/-/truffle-4.0.4.tgz", + "integrity": "sha512-keAkRNNfU3W7yUMRDF3YHoqmqdv6TChXY0g+RuPpxnRHfspXVtIKwuN2pV07jzY/RbDsIKShcSyF7VBV7eZUvg==", + "dependencies": { + "commander": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", + "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=" + }, + "debug": { + "version": "2.6.8", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz", + "integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=" + }, + "diff": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.2.0.tgz", + "integrity": "sha1-yc45Okt8vQsFinJck98pkCeGj/k=" + }, + "glob": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.1.tgz", + "integrity": "sha1-gFIR3wT6rxxjo2ADBs31reULLsg=" + }, + "growl": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz", + "integrity": "sha1-Dqd0NxXbjY3ixe3hd14bRayFwC8=" + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + }, + "mocha": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-3.5.3.tgz", + "integrity": "sha512-/6na001MJWEtYxHOV1WLfsmR4YIynkUEhBwzsb+fk2qmQ3iqsi258l/Q2MWHJMImAcNpZ8DEdYAK72NHoIQ9Eg==" + }, + "supports-color": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.1.2.tgz", + "integrity": "sha1-cqJiiU2dQIuVbKBf83su2KbiotU=" + } + } + }, + "truffle-artifactor": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/truffle-artifactor/-/truffle-artifactor-3.0.2.tgz", + "integrity": "sha512-E5I+EQElC7hfiuKQJONlYvwqb90Qdgy4g35gyKll2pExbfI3yGEJmh8KilwmfkFypBxWCRETUHvRdb7/4l5uxg==", + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==" + }, + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=" + } + } }, "truffle-blockchain-utils": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/truffle-blockchain-utils/-/truffle-blockchain-utils-0.0.3.tgz", - "integrity": "sha1-rooRHsEk2WUE8OBCxvIFwLOBfik=", - "requires": { - "web3": "0.20.2" + "integrity": "sha1-rooRHsEk2WUE8OBCxvIFwLOBfik=" + }, + "truffle-box": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/truffle-box/-/truffle-box-1.0.3.tgz", + "integrity": "sha512-gYxNOadLdhGtBY1kRnKb9vRvfgleQBleqRDRk0n/xHqDGLal+Spq2w3helA0Uh66CVaDe4Bzdwfi1RbCLalrVg==", + "dependencies": { + "fs-extra": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-3.0.1.tgz", + "integrity": "sha1-N5TzeMWLNC6n27sjCVEJxLO2IpE=" + }, + "jsonfile": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-3.0.1.tgz", + "integrity": "sha1-pezG9l9T9mLEQVx2daAzHQmS7GY=" + }, + "tmp": { + "version": "0.0.31", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz", + "integrity": "sha1-jzirlDjhcxXl29izZX6L+yd65Kc=" + } + } + }, + "truffle-code-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/truffle-code-utils/-/truffle-code-utils-1.1.0.tgz", + "integrity": "sha512-Ge6AMy06BnudvFtuG7FpbVIIh533us7F2KZo/nj5yVJyV9uA4oT8j+lrvPsuGjoa4+1maQvPbltV8A5y9OvjqQ==" + }, + "truffle-compile": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/truffle-compile/-/truffle-compile-3.0.4.tgz", + "integrity": "sha512-wyfezs9u19Zh8ZqH2NAFbP/qjdrAljAi116/OLQJgukZY95MuRhuCLk7qQny7p6QH2zotWItxx33UsW6KHzzTQ==", + "dependencies": { + "async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", + "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==" + }, + "colors": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=" + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==" + } + } + }, + "truffle-config": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/truffle-config/-/truffle-config-1.0.4.tgz", + "integrity": "sha512-E8pvJNAIjs7LNsjkYeS2dgoOnLoSBrTwb1xF5lJwfvZmGMFpKvVL1sa5jpFxozpf/WkRn/rfxy8zTdb3pq16jA==", + "dependencies": { + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=" + } } }, "truffle-contract": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/truffle-contract/-/truffle-contract-3.0.1.tgz", - "integrity": "sha512-uHavvQfKuPRCxk1v+jjbGuxpng0EgyLOF3wASrIrkHHiv2aUZiZr+z0EHyUOSrq4aAKeA8CqpToUyFrGGHXJNA==", - "requires": { - "ethjs-abi": "0.1.8", - "truffle-blockchain-utils": "0.0.3", - "truffle-contract-schema": "1.0.1", - "web3": "0.20.2" - } + "integrity": "sha512-uHavvQfKuPRCxk1v+jjbGuxpng0EgyLOF3wASrIrkHHiv2aUZiZr+z0EHyUOSrq4aAKeA8CqpToUyFrGGHXJNA==" }, "truffle-contract-schema": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/truffle-contract-schema/-/truffle-contract-schema-1.0.1.tgz", "integrity": "sha512-37ZO9FVvmW/PZz/sh00LAz7HN2U4FHERuxI4mCbUR6h3r2cRgZ4YBfzHuAHOnZlrVzM1qx/Dx/1Ng3UyfWseEA==", - "requires": { - "ajv": "5.5.1", - "crypto-js": "3.1.9-1" - }, "dependencies": { "crypto-js": { "version": "3.1.9-1", @@ -7835,128 +5144,253 @@ } } }, - "tryit": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tryit/-/tryit-1.0.3.tgz", - "integrity": "sha1-OTvnMKlEb9Hq1tpZoBQwjzbCics=", - "dev": true + "truffle-contract-sources": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/truffle-contract-sources/-/truffle-contract-sources-0.0.1.tgz", + "integrity": "sha1-KbYnA2bIYQnLsOswdBj8ayeV1/0=" + }, + "truffle-core-migrate-without-compile": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/truffle-core-migrate-without-compile/-/truffle-core-migrate-without-compile-4.0.7.tgz", + "integrity": "sha512-zHnlpm1Ptr0kgE6uTMCC6DvVeulBx/ctqIHNVx6Mn4jDwjGZwujbUk4niVfLatH0XAxfEQwAwnee9MciHE17bg==", + "dependencies": { + "chai": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-3.5.0.tgz", + "integrity": "sha1-TQJjewZ/6Vi9v906QOxW/vc3Mkc=" + }, + "colors": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=" + }, + "commander": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", + "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=" + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==" + }, + "deep-eql": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz", + "integrity": "sha1-71WKyrjeJSBs1xOQbXTlaTDrafI=", + "dependencies": { + "type-detect": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz", + "integrity": "sha1-C6XsKohWQORw6k6FBZcZANrFiCI=" + } + } + }, + "diff": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz", + "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=" + }, + "fs-extra": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", + "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=" + }, + "glob": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.1.tgz", + "integrity": "sha1-gFIR3wT6rxxjo2ADBs31reULLsg=" + }, + "growl": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz", + "integrity": "sha1-Dqd0NxXbjY3ixe3hd14bRayFwC8=" + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + }, + "mocha": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-3.5.3.tgz", + "integrity": "sha512-/6na001MJWEtYxHOV1WLfsmR4YIynkUEhBwzsb+fk2qmQ3iqsi258l/Q2MWHJMImAcNpZ8DEdYAK72NHoIQ9Eg==", + "dependencies": { + "debug": { + "version": "2.6.8", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz", + "integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=" + }, + "diff": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.2.0.tgz", + "integrity": "sha1-yc45Okt8vQsFinJck98pkCeGj/k=" + } + } + }, + "supports-color": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.1.2.tgz", + "integrity": "sha1-cqJiiU2dQIuVbKBf83su2KbiotU=" + }, + "type-detect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-1.0.0.tgz", + "integrity": "sha1-diIXzAbbJY7EiQihKY6LlRIejqI=" + } + } + }, + "truffle-debugger": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/truffle-debugger/-/truffle-debugger-1.1.0.tgz", + "integrity": "sha512-XhBNgqqOfBQImpi+KTNtv7J4y+iFaGo5P2v3PrsN/B1P0A+XDmOShaiaDGxDDehK0sUYUW+W5kHPnZ2IHBJ7hw==" + }, + "truffle-deployer": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/truffle-deployer/-/truffle-deployer-2.0.1.tgz", + "integrity": "sha512-1XKY2psef3MZiESX83DfACT919gut5y4Gke8eSbiU5PTuy60+Pa8msPlVKIExG9rc01cCFU+nafCYDdDJPuJBQ==" + }, + "truffle-error": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/truffle-error/-/truffle-error-0.0.2.tgz", + "integrity": "sha1-AbGJt4UFVmrhaJwjnHyi3RIc/kw=" + }, + "truffle-expect": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/truffle-expect/-/truffle-expect-0.0.3.tgz", + "integrity": "sha1-m3XO80O9WW5+XbyHj18bLjGKlEw=" + }, + "truffle-init": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/truffle-init/-/truffle-init-1.0.7.tgz", + "integrity": "sha1-w95X+936d66TZCrgJfQcEVfeK6c=", + "dependencies": { + "fs-extra": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", + "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=" + } + } + }, + "truffle-migrate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/truffle-migrate/-/truffle-migrate-2.0.1.tgz", + "integrity": "sha512-xkWbaAMwOTLe0Rq+QMyDOih1aTWq2cuGK3a+xdVj0bof3ZcGdEwJuCbyquACN8JbDjATZBXxKCXq8ziUwNY2sA==", + "dependencies": { + "async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", + "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==" + } + } + }, + "truffle-provider": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/truffle-provider/-/truffle-provider-0.0.4.tgz", + "integrity": "sha512-yVxxjocxnJcFspQ0T4Rjq/1wvvm3iLxidb6oa1EAX5LsnSQLPG8wAM5+JLlJ4FDBsqJdZLGOq1RR5Ln/w7x5JA==" + }, + "truffle-provisioner": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/truffle-provisioner/-/truffle-provisioner-0.1.0.tgz", + "integrity": "sha1-Ap5SScEBUwBzhTXgT97ZMaU8T2I=" + }, + "truffle-require": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/truffle-require/-/truffle-require-1.0.5.tgz", + "integrity": "sha512-17RymhvR1K5gJUXCn2i3fDARAc3oxkblGkK93bsPaVebTi8QAoy8QcyGVchI7DoYXiGPPxUFE0hIWYK0BMWaXw==" + }, + "truffle-resolver-fix-relative-path-issue": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/truffle-resolver-fix-relative-path-issue/-/truffle-resolver-fix-relative-path-issue-4.0.1.tgz", + "integrity": "sha512-eZfR2JUoKD3oFbMdMEqNutccd9ftADAVdj/ymGD1Y5y6jITLfo761ku1LSSihjqdgzsaeFZ0N78fWMueNbXcMw==", + "dependencies": { + "async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", + "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==" + } + } + }, + "truffle-solidity-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/truffle-solidity-utils/-/truffle-solidity-utils-1.1.0.tgz", + "integrity": "sha512-tbCj6a3HfwgmtnfhTG02HrbPAjPyoLej9GI3x7vAJyyvwBHVNxh2rHfGA1VncnKOIL8+O0xN+RwpHlt8Kh+Yow==" }, "tty-browserify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", - "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", - "dev": true + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=" + }, + "tunnel": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.2.tgz", + "integrity": "sha1-8jvNi3p7ioZCYbIIT2b5MZM5YzQ=" }, "tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" - } + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=" }, "tv4": { "version": "1.0.18", "resolved": "https://registry.npmjs.org/tv4/-/tv4-1.0.18.tgz", - "integrity": "sha1-c5d2nwA1jjO/Uo3FyHZMYbbegkU=", - "dev": true + "integrity": "sha1-c5d2nwA1jjO/Uo3FyHZMYbbegkU=" }, "tweetnacl": { "version": "0.14.5", "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", - "dev": true, "optional": true }, "type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", - "dev": true, - "requires": { - "prelude-ls": "1.1.2" - } + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=" }, "type-detect": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.5.tgz", - "integrity": "sha512-N9IvkQslUGYGC24RkJk1ba99foK6TkwC2FHAEBlQFBP0RxQZS8ZpJuAZcwiY/w9ZJHFQb1aOXBI60OdxhTrwEQ==", - "dev": true - }, - "type-is": { - "version": "1.6.15", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.15.tgz", - "integrity": "sha1-yrEPtJCeRByChC6v4a1kbIGARBA=", - "dev": true, - "requires": { - "media-typer": "0.3.0", - "mime-types": "2.1.17" - } + "integrity": "sha512-N9IvkQslUGYGC24RkJk1ba99foK6TkwC2FHAEBlQFBP0RxQZS8ZpJuAZcwiY/w9ZJHFQb1aOXBI60OdxhTrwEQ==" }, "typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", - "dev": true + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, "ua-parser-js": { "version": "0.7.17", "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.17.tgz", - "integrity": "sha512-uRdSdu1oA1rncCQL7sCj8vSyZkgtL7faaw9Tc9rZ3mGgraQ7+Pdx7w5mnOSF3gw9ZNG6oc+KXfkon3bKuROm0g==", - "dev": true + "integrity": "sha512-uRdSdu1oA1rncCQL7sCj8vSyZkgtL7faaw9Tc9rZ3mGgraQ7+Pdx7w5mnOSF3gw9ZNG6oc+KXfkon3bKuROm0g==" }, "uglify-js": { "version": "2.8.29", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", - "dev": true, - "requires": { - "source-map": "0.5.7", - "uglify-to-browserify": "1.0.2", - "yargs": "3.10.0" - }, "dependencies": { "camelcase": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", - "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", - "dev": true + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=" }, "cliui": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", - "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", - "dev": true, - "requires": { - "center-align": "0.1.3", - "right-align": "0.1.3", - "wordwrap": "0.0.2" - } + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=" }, "window-size": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", - "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", - "dev": true + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=" }, "wordwrap": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", - "dev": true + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=" }, "yargs": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", - "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", - "dev": true, - "requires": { - "camelcase": "1.2.1", - "cliui": "2.1.0", - "decamelize": "1.2.0", - "window-size": "0.1.0" - } + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=" } } }, @@ -7964,72 +5398,37 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", - "dev": true, "optional": true }, "uglifyjs-webpack-plugin": { "version": "0.4.6", "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz", - "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=", - "dev": true, - "requires": { - "source-map": "0.5.7", - "uglify-js": "2.8.29", - "webpack-sources": "1.1.0" - } + "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=" }, "uint32": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/uint32/-/uint32-0.2.1.tgz", - "integrity": "sha1-5hjYAtf//Si3CPzOzHMVYIusR/I=", - "dev": true - }, - "ultron": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz", - "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==", - "dev": true + "integrity": "sha1-5hjYAtf//Si3CPzOzHMVYIusR/I=" }, "unbzip2-stream": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.2.5.tgz", - "integrity": "sha512-izD3jxT8xkzwtXRUZjtmRwKnZoeECrfZ8ra/ketwOcusbZEp4mjULMnJOCfTDZBgGQAAY1AJ/IgxcwkavcX9Og==", - "dev": true, - "requires": { - "buffer": "3.6.0", - "through": "2.3.8" - }, - "dependencies": { - "base64-js": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", - "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=", - "dev": true - }, - "buffer": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-3.6.0.tgz", - "integrity": "sha1-pyyTb3e5a/UvX357RnGAYoVR3vs=", - "dev": true, - "requires": { - "base64-js": "0.0.8", - "ieee754": "1.1.8", - "isarray": "1.0.0" - } - } - } + "integrity": "sha512-izD3jxT8xkzwtXRUZjtmRwKnZoeECrfZ8ra/ketwOcusbZEp4mjULMnJOCfTDZBgGQAAY1AJ/IgxcwkavcX9Og==" }, "underscore": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", - "dev": true + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.7.0.tgz", + "integrity": "sha1-a7rwh3UA02vjTsqlhODbn+8DUgk=" }, "underscore.string": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-2.4.0.tgz", - "integrity": "sha1-jN2PusTi0uoefi6Al8QvRCKA+Fs=", - "dev": true + "integrity": "sha1-jN2PusTi0uoefi6Al8QvRCKA+Fs=" + }, + "universalify": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz", + "integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=" }, "unorm": { "version": "1.4.1", @@ -8039,44 +5438,24 @@ "unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "dev": true - }, - "unzip-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-1.0.2.tgz", - "integrity": "sha1-uYTwh3/AqJwsdzzB73tbIytbBv4=", - "dev": true + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" }, "url": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "dev": true, - "requires": { - "punycode": "1.3.2", - "querystring": "0.2.0" - }, "dependencies": { "punycode": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", - "dev": true + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" } } }, - "url-set-query": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/url-set-query/-/url-set-query-1.0.0.tgz", - "integrity": "sha1-AW6M/Xwg7gXK/neV6JK9BwL6ozk=", - "dev": true - }, "user-home": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz", - "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=", - "dev": true + "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=" }, "utf8": { "version": "2.1.2", @@ -8087,30 +5466,18 @@ "version": "0.10.3", "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "dev": true, - "requires": { - "inherits": "2.0.1" - }, "dependencies": { "inherits": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", - "dev": true + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=" } } }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "dev": true - }, - "utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "dev": true + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, "uuid": { "version": "2.0.1", @@ -8120,93 +5487,54 @@ "v8flags": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz", - "integrity": "sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ=", - "dev": true, - "requires": { - "user-home": "1.1.1" - } + "integrity": "sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ=" }, "validate-npm-package-license": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", - "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", - "dev": true, - "requires": { - "spdx-correct": "1.0.2", - "spdx-expression-parse": "1.0.4" - } + "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=" }, - "vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "dev": true + "vcsurl": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/vcsurl/-/vcsurl-0.1.1.tgz", + "integrity": "sha1-XgChCec4G1W11FuJJTPI7DXJMgw=" }, "verror": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "dev": true, - "requires": { - "assert-plus": "1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "1.3.0" - } + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=" }, "vizion": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/vizion/-/vizion-0.2.13.tgz", - "integrity": "sha1-ExTN7is0EW+fWxJIU2+V2/zW718=", - "dev": true, - "requires": { - "async": "1.5.2" - }, - "dependencies": { - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", - "dev": true - } - } + "integrity": "sha1-ExTN7is0EW+fWxJIU2+V2/zW718=" }, "vm-browserify": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", - "integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=", - "dev": true, - "requires": { - "indexof": "0.0.1" - } + "integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=" }, "void-elements": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", - "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=", - "dev": true + "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=" }, "watchpack": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.4.0.tgz", "integrity": "sha1-ShRyvLuVK9Cpu0A2gB+VTfs5+qw=", - "dev": true, - "requires": { - "async": "2.6.0", - "chokidar": "1.7.0", - "graceful-fs": "4.1.11" + "dependencies": { + "async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", + "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==" + } } }, "web3": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/web3/-/web3-0.20.2.tgz", - "integrity": "sha1-xU2sX8DjdzmcBMGm7LsS5FEyeNY=", - "requires": { - "bignumber.js": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", - "crypto-js": "3.1.8", - "utf8": "2.1.2", - "xhr2": "0.1.4", - "xmlhttprequest": "1.8.0" - }, + "version": "0.20.3", + "resolved": "https://registry.npmjs.org/web3/-/web3-0.20.3.tgz", + "integrity": "sha1-yqRDc9yIFayHZ73ba6cwc5ZMqos=", "dependencies": { "bignumber.js": { "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934" @@ -8216,78 +5544,62 @@ "web3-typescript-typings": { "version": "0.7.2", "resolved": "https://registry.npmjs.org/web3-typescript-typings/-/web3-typescript-typings-0.7.2.tgz", - "integrity": "sha512-6lBSipWCX6wNZYWs+12RR9HkQtcOvtMa8rmV+XIHdYFqAsN/DaSp8Dbj0VyMdL+TbOs/PR549Ot/pFa4ef1ihA==", - "requires": { - "bignumber.js": "4.1.0" - } - }, - "web3-utils": { - "version": "1.0.0-beta.27", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.27.tgz", - "integrity": "sha1-0JfVwzaha59sqbYK9o3RXAZDIUs=", - "dev": true, - "requires": { - "bn.js": "4.11.6", - "eth-lib": "0.1.27", - "ethjs-unit": "0.1.6", - "number-to-bn": "1.7.0", - "randomhex": "0.1.5", - "underscore": "1.8.3", - "utf8": "2.1.1" - }, - "dependencies": { - "bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", - "dev": true - }, - "utf8": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=", - "dev": true - } - } + "integrity": "sha512-6lBSipWCX6wNZYWs+12RR9HkQtcOvtMa8rmV+XIHdYFqAsN/DaSp8Dbj0VyMdL+TbOs/PR549Ot/pFa4ef1ihA==" }, "webpack": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.10.0.tgz", "integrity": "sha512-fxxKXoicjdXNUMY7LIdY89tkJJJ0m1Oo8PQutZ5rLgWbV5QVKI15Cn7+/IHnRTd3vfKfiwBx6SBqlorAuNA8LA==", - "dev": true, - "requires": { - "acorn": "5.2.1", - "acorn-dynamic-import": "2.0.2", - "ajv": "5.5.1", - "ajv-keywords": "2.1.1", - "async": "2.6.0", - "enhanced-resolve": "3.4.1", - "escope": "3.6.0", - "interpret": "1.1.0", - "json-loader": "0.5.7", - "json5": "0.5.1", - "loader-runner": "2.3.0", - "loader-utils": "1.1.0", - "memory-fs": "0.4.1", - "mkdirp": "0.5.1", - "node-libs-browser": "2.1.0", - "source-map": "0.5.7", - "supports-color": "4.5.0", - "tapable": "0.2.8", - "uglifyjs-webpack-plugin": "0.4.6", - "watchpack": "1.4.0", - "webpack-sources": "1.1.0", - "yargs": "8.0.2" - }, "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + }, + "async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", + "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==" + }, + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=" + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "os-locale": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==" + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==" + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=" + }, "supports-color": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", - "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", - "dev": true, - "requires": { - "has-flag": "2.0.0" - } + "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=" + }, + "yargs": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", + "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=" } } }, @@ -8295,25 +5607,30 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz", "integrity": "sha512-aqYp18kPphgoO5c/+NaUvEeACtZjMESmDChuD3NBciVpah3XpMEU9VAAtIaB1BsfJWWTSdv8Vv1m3T0aRk2dUw==", - "dev": true, - "requires": { - "source-list-map": "2.0.0", - "source-map": "0.6.1" - }, "dependencies": { "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + } + } + }, + "wget-improved": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/wget-improved/-/wget-improved-1.5.0.tgz", + "integrity": "sha512-t+G+g9SQSy2h2+dg7h54r9adllfdI0fHHtshbl1V4jwIIBj1c10SmHwjP8vFx9fn1dr9QuF27uC7xoZr9YwEmg==", + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" } } }, "whatwg-fetch": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz", - "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ=", - "dev": true + "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ=" }, "when": { "version": "3.7.8", @@ -8323,145 +5640,44 @@ "which": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", - "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", - "dev": true, - "requires": { - "isexe": "2.0.0" - } + "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==" }, "which-module": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", - "dev": true - }, - "window-size": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz", - "integrity": "sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY=" + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" }, "with": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/with/-/with-5.1.1.tgz", "integrity": "sha1-+k2qktrzLE6pTtRTyB8EaGtXXf4=", - "dev": true, - "requires": { - "acorn": "3.3.0", - "acorn-globals": "3.1.0" - }, "dependencies": { "acorn": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", - "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", - "dev": true + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=" } } }, "wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", - "dev": true + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" }, "wrap-ansi": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "requires": { - "number-is-nan": "1.0.1" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" - } - } - } + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=" }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "write": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", - "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", - "dev": true, - "requires": { - "mkdirp": "0.5.1" - } - }, - "ws": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", - "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", - "dev": true, - "requires": { - "async-limiter": "1.0.0", - "safe-buffer": "5.1.1", - "ultron": "1.1.1" - } - }, - "xhr": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.4.1.tgz", - "integrity": "sha512-pAIU5vBr9Hiy5cpFIbPnwf0C18ZF86DBsZKrlsf87N5De/JbA6RJ83UP/cv+aljl4S40iRVMqP4pr4sF9Dnj0A==", - "dev": true, - "requires": { - "global": "4.3.2", - "is-function": "1.0.1", - "parse-headers": "2.0.1", - "xtend": "4.0.1" - } - }, - "xhr-request": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/xhr-request/-/xhr-request-1.0.1.tgz", - "integrity": "sha1-g/CKSyC+7Geowcco6BAvTJ7svdo=", - "dev": true, - "requires": { - "buffer-to-arraybuffer": "0.0.2", - "object-assign": "3.0.0", - "query-string": "2.4.2", - "simple-get": "1.4.3", - "timed-out": "2.0.0", - "url-set-query": "1.0.0", - "xhr": "2.4.1" - }, - "dependencies": { - "object-assign": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz", - "integrity": "sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I=", - "dev": true - } - } - }, - "xhr-request-promise": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.2.tgz", - "integrity": "sha1-NDxE0e53JrhkgGloLQ+EDIO0Jh0=", - "dev": true, - "requires": { - "xhr-request": "1.0.1" - } + "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=" }, "xhr2": { "version": "0.1.4", @@ -8476,8 +5692,7 @@ "xtend": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", - "dev": true + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" }, "y18n": { "version": "3.2.1", @@ -8487,111 +5702,74 @@ "yallist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", - "dev": true + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=" }, "yamljs": { "version": "0.2.7", "resolved": "https://registry.npmjs.org/yamljs/-/yamljs-0.2.7.tgz", "integrity": "sha1-hMfiDHkOPbxxFpf++BFbYoWErQw=", - "dev": true, - "requires": { - "argparse": "0.1.16", - "glob": "4.5.3" - }, "dependencies": { "argparse": { "version": "0.1.16", "resolved": "https://registry.npmjs.org/argparse/-/argparse-0.1.16.tgz", - "integrity": "sha1-z9AeD7uj1srtBJ+9dY1A9lGW9Xw=", - "dev": true, - "requires": { - "underscore": "1.8.3", - "underscore.string": "2.4.0" - } + "integrity": "sha1-z9AeD7uj1srtBJ+9dY1A9lGW9Xw=" }, "glob": { "version": "4.5.3", "resolved": "https://registry.npmjs.org/glob/-/glob-4.5.3.tgz", - "integrity": "sha1-xstz0yJsHv7wTePFbQEvAzd+4V8=", - "dev": true, - "requires": { - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "2.0.10", - "once": "1.4.0" - } + "integrity": "sha1-xstz0yJsHv7wTePFbQEvAzd+4V8=" }, "minimatch": { "version": "2.0.10", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz", - "integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=", - "dev": true, - "requires": { - "brace-expansion": "1.1.8" - } + "integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=" } } }, "yargs": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", - "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", - "dev": true, - "requires": { - "camelcase": "4.1.0", - "cliui": "3.2.0", - "decamelize": "1.2.0", - "get-caller-file": "1.0.2", - "os-locale": "2.1.0", - "read-pkg-up": "2.0.0", - "require-directory": "2.1.1", - "require-main-filename": "1.0.1", - "set-blocking": "2.0.0", - "string-width": "2.1.1", - "which-module": "2.0.0", - "y18n": "3.2.1", - "yargs-parser": "7.0.0" - }, + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz", + "integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=", "dependencies": { "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", - "dev": true + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" }, - "cliui": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", - "dev": true, - "requires": { - "string-width": "1.0.2", - "strip-ansi": "3.0.1", - "wrap-ansi": "2.1.0" - }, - "dependencies": { - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dev": true, - "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" - } - } - } + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=" }, - "is-fullwidth-code-point": { + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=" + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=" + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=" + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=" + }, + "which-module": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dev": true, - "requires": { - "number-is-nan": "1.0.1" - } + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=" + }, + "yargs-parser": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz", + "integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=" } } }, @@ -8599,40 +5777,28 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", - "dev": true, - "requires": { - "camelcase": "4.1.0" - }, "dependencies": { "camelcase": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", - "dev": true + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" } } }, "yauzl": { "version": "2.9.1", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.9.1.tgz", - "integrity": "sha1-qBmB6nCleUYTOIPwKcWCGok1mn8=", - "dev": true, - "requires": { - "buffer-crc32": "0.2.13", - "fd-slicer": "1.0.1" - } + "integrity": "sha1-qBmB6nCleUYTOIPwKcWCGok1mn8=" + }, + "zeppelin-solidity": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/zeppelin-solidity/-/zeppelin-solidity-1.5.0.tgz", + "integrity": "sha512-X4Z7JNarpK71BqiHn/vYrKM1Xul/YeDM9Wr8i2TnTPZSmsUWFy4R4vRxyMk3td58UKvApidWejtgHOC7rkSSew==" }, "zip-stream": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-1.2.0.tgz", - "integrity": "sha1-qLxF9MG0lpnGuQGYuqyqzbzUugQ=", - "dev": true, - "requires": { - "archiver-utils": "1.3.0", - "compress-commons": "1.2.2", - "lodash": "4.17.4", - "readable-stream": "2.3.3" - } + "integrity": "sha1-qLxF9MG0lpnGuQGYuqyqzbzUugQ=" } } } diff --git a/package-scripts.js b/package-scripts.js index 40ecc2f79..548f06874 100644 --- a/package-scripts.js +++ b/package-scripts.js @@ -1,3 +1,5 @@ +/* eslint-disable quotes */ + const { series, // crossEnv, @@ -11,26 +13,26 @@ const { const env = require("env-variable")(); const joinPath = require("path.join"); const cwd = require("cwd")(); -const config = require('./dist/config.js').config; +const config = require('./lib/config.js').config; /** * environment variables you can use to configure stuff like migrateContracts */ -const pathArcJs = env.pathArcJs || cwd; -const pathArcJsContracts = env.pathArcJsContracts || "./contracts"; -const pathDaostackArcRepo = env.pathDaostackArcRepo || "../daostack"; -const pathDaostackArcRepoContracts = - env.pathDaostackArcRepoContracts || - joinPath(pathDaostackArcRepo, "build/contracts"); -const pathDaostackArcTestrpcDb = "./testrpcDb"; -const pathDaostackArcTestrpcDbZip = "./testrpcDb.zip"; -const network = config.get('network'); +const pathArcJsRoot = env.pathArcJsRoot || cwd; + +const pathArcJsContracts = + env.pathArcJsContracts || joinPath(pathArcJsRoot, "migrated_contracts"); + +const pathDaostackArcRepo = + env.pathDaostackArcRepo || + joinPath(pathArcJsRoot, "node_modules/daostack-arc"); + +const pathDaostackArcGanacheDb = joinPath(pathArcJsRoot, "ganacheDb"); +const pathDaostackArcGanacheDbZip = joinPath(pathArcJsRoot, "ganacheDb.zip"); -// "console.log(`cwd: ${cwd}`)" -// console.log(`network: ${network ? network: "testrpc"}`) -// console.log(`pathArcJs: ${pathArcJs}`) -// console.log(`pathDaostackArcRepo: ${pathDaostackArcRepo}`) -// console.log(`pathArcJsContracts: ${pathArcJsContracts}`), -// console.log(`pathDaostackArcRepoContracts: ${pathDaostackArcRepoContracts}`), +const network = env.network || config.get('network'); + +// this is needed to force travis to use our modified version of truffle (dunno why it issn't anyway) +const truffleCommand = `node ${joinPath("node_modules", "truffle-core-migrate-without-compile", "cli")}`; module.exports = { scripts: { @@ -40,76 +42,68 @@ module.exports = { }, test: { default: series("nps lint", "nps test.automated"), - automated: - "mocha --require babel-register --require chai --timeout 15000", + automated: { + default: "mocha --require babel-register --require chai --timeout 15000", + bail: 'nps "test.automated --bail"' + }, watch: 'nps "test.automated --watch"', - debug: 'nps "test.automated --debug"', - bail: 'nps "test.automated --bail"', - testrpc: { - /** the same command as is used by default by daostack-arc */ - run: `testrpc -l ${config.get('gasLimit')} --account="0x0191ecbd1b150b8a3c27c27010ba51b45521689611e669109e034fd66ae69621,9999999999999999999999999999999999999999999" --account="0x00f360233e89c65970a41d4a85990ec6669526b2230e867c352130151453180d,9999999999999999999999999999999999999999999" --account="0x987a26abca7432016104ce2f24ce639340e25afe06ac69f68791399e7a5d1028,9999999999999999999999999999999999999999999" --account="0x89af34b1b7347834048b99423dad174a14bf14540d720d72c16ae92e94b987cb,9999999999999999999999999999999999999999999" --account="0xc867be647eb2bc51e4c0d61066859875cf3634fe949b6f5f85c69ab90e485b37,9999999999999999999999999999999999999999999" --account="0xefabcc2377dee5e51b5a9e65a3854aec85fbbec3cb584d8ad4f9679869fb33c6,9999999999999999999999999999999999999999999"` + bail: 'nps test.automated.bail', + ganache: { + run: `ganache-cli -l ${config.get("gasLimit")} --account="0x0191ecbd1b150b8a3c27c27010ba51b45521689611e669109e034fd66ae69621,9999999999999999999999999999999999999999999" --account="0x00f360233e89c65970a41d4a85990ec6669526b2230e867c352130151453180d,9999999999999999999999999999999999999999999" --account="0x987a26abca7432016104ce2f24ce639340e25afe06ac69f68791399e7a5d1028,9999999999999999999999999999999999999999999" --account="0x89af34b1b7347834048b99423dad174a14bf14540d720d72c16ae92e94b987cb,9999999999999999999999999999999999999999999" --account="0xc867be647eb2bc51e4c0d61066859875cf3634fe949b6f5f85c69ab90e485b37,9999999999999999999999999999999999999999999" --account="0xefabcc2377dee5e51b5a9e65a3854aec85fbbec3cb584d8ad4f9679869fb33c6,9999999999999999999999999999999999999999999"`, + runAsync: runInNewWindow("npm start test.ganache.run") }, - testrpcDb: { + ganacheDb: { /** - * Full workflow to create custom contracts. This can take a long time as there may - * be thousands of files to delete. + * ganacheDb scripts are handy for doing development against ganache, enabling you to + * take a snapshot (the database of the chain at any point, such as right after migration, + * and easily reuse it. * - * npm start test.testrpcDb.clean + * Follow these steps to set up the database: * - * The following will open a window with testrpc running in it. + * This can take a long time as there may be thousands of files to delete: * - * npm start test.testrpcDb.runAsync + * npm start test.ganacheDb.clean * - * This will go into the daostack-arc repo, at pathDaostackArcRepo, and do a truffle migrate for the - * network given by the network config variable. + * The following will open a window with ganache running in it: * - * npm start test.testrpcDb.create + * npm start test.ganacheDb.runAsync * - * If the contracts haven't for practical purposes changed, you can skip the next two steps. - * Otherwise we must regenerate this testrpc database so that Travis tests will be running against - * the correct contracts. + * This will migrate the contracts and pull them into the project where they need to be: * - * Kill the window in which testrpc is running. (You have to do that yourself, in your OS.) + * npm start migrateContracts * - * Zip up the virgin testrpc database that was just created, before anything changes. - * The zip will fail in any case if testrpc is still running against it. The zip is used by - * Travis automated tests when you commit the changes. + * Now zip database for later reuse. + * But first you must close the window in which ganache is running. + * (You must do this yourself, in your OS.) * - * npm start test.testrpcDb.zip + * npm start test.ganacheDb.zip * - * Now we are ready to build daostack-arc-js using the newly-deployed contracts: + * Now you can restart ganache against the new database: * - * npm start build (or deploy.pack or deploy.publish) + * npm start test.ganacheDb.runAsync * - * If you want you can run the tests: + * And run tests or your application: * - * npm start test.testrpcDb.runAsync * npm start test - * - * (Note that Travis will use test.testrpcDb.run when it runs the tests.) */ - run: `testrpc --db ${pathDaostackArcTestrpcDb} --networkId 1512051714758 --mnemonic "behave pipe turkey animal voyage dial relief menu blush match jeans general"`, + run: `ganache-cli --db ${pathDaostackArcGanacheDb} -l ${config.get("gasLimit")} --networkId 1512051714758 --mnemonic "behave pipe turkey animal voyage dial relief menu blush match jeans general"`, runAsync: series( - mkdirp(pathDaostackArcTestrpcDb), - runInNewWindow(`npm start test.testrpcDb.run`) - ), - create: series( - "nps migrateContracts.cleanDaoStackRepoContracts", - "nps migrateContracts.andFetch" + mkdirp(pathDaostackArcGanacheDb), + runInNewWindow("npm start test.ganacheDb.run") ), - clean: rimraf(pathDaostackArcTestrpcDb), - zip: `node ./package-scripts/archiveTestrpcDb.js ${pathDaostackArcTestrpcDbZip} ${pathDaostackArcTestrpcDb}`, - unzip: `node ./package-scripts/unArchiveTestrpcDb.js ${pathDaostackArcTestrpcDbZip} ${pathArcJs}`, + clean: rimraf(pathDaostackArcGanacheDb), + zip: `node ./package-scripts/archiveGanacheDb.js ${pathDaostackArcGanacheDbZip} ${pathDaostackArcGanacheDb}`, + unzip: `node ./package-scripts/unArchiveGanacheDb.js ${pathDaostackArcGanacheDbZip} ${pathArcJsRoot}`, restoreFromZip: series( - "nps test.testrpcDb.clean", - "nps test.testrpcDb.unzip" + "nps test.ganacheDb.clean", + "nps test.ganacheDb.unzip" ) } }, build: { default: series( rimraf("dist"), - "babel lib --presets babel-preset-es2015 --out-dir dist" + "babel lib --presets babel-preset-es2015 --out-dir dist --source-maps" ) }, deploy: { @@ -117,43 +111,75 @@ module.exports = { publish: series("nps build", "npm publish") }, /** - * migrateContracts requires that you have installed the daostack-arc repo, or equivalent, - * wherein the .sol and deploy*.js files can be found in the folder structure - * that truffle expects. * - * It will look in pathDaostackArcRepo for the daostack repo, pathArcJs for daostack-arc-js (this library) + * Typical workflow for migrating to ganache (Ganache): + * + * You only need to ever call this once: + * + * npm start migrateContracts.initialize + * + * Then fire up ganache (Ganache) in a separate window. + * + * npm start test.ganache.runAsync + * + * If the window didn't fire up in your OS, then run this + * in a separate window of your own creation: + * + * npm start test.ganache.run + * + * Then run the migrations: + * + * npm start migrateContracts * - * It will delete and replace all the contract js files in pathDaostackArcRepoContracts + * And you're ready to run arc-js tests or your application against arc-js. * - * The final output goes to the local contracts folder after running migrateContracts.fetchContractsFromDaoStackRepo. + * Notes: + * + * If you want to migrate to another network, kovan for example: + * + * Set the "network" config value to "kovan" (see "Arc Configuration" in the root readme.md) + * Start a local network node listening at http://127.0.0.1:8584 + * Run: npm start migrateContracts + * + * To deploy to the mainnet, Set the "network" config value to "live" and proceed as above. + * (see "Arc Configuration" in the root readme.md) */ migrateContracts: { - default: series( - `cd ${pathDaostackArcRepo}`, - `truffle migrate ${network ? `--network ${network}` : ""}`, - `cd ${pathArcJs}` - ), - cleanDaoStackRepoContracts: rimraf( - joinPath(pathDaostackArcRepoContracts, "*") - ), - cleanArcContracts: rimraf(joinPath(pathArcJsContracts, "*")), /** - * Fetch the newly-compiled contract .json files from the daostack-arc repo into the local - * contracts folder which is where the code expects to find them. + * If you want to do migrations, run migrateContracts.initialize first. + * Same goes for applications that are depending on this. + * You only need to call it once. Thereafter you can run + * migrateContracts all you want without calling migrateContracts.initialize again. */ - fetchContractsFromDaoStackRepo: series( - "nps migrateContracts.cleanArcContracts", - copy( - `${joinPath( - pathDaostackArcRepoContracts, - "*" - )} ${pathArcJsContracts}` - ) + initialize: series( + "npm install daostack-arc --save-dev", // only needed for applications, and only to pull in its contract json files + "nps migrateContracts.clean", + "nps migrateContracts.fetchFromArc" ), - andFetch: series( - "nps migrateContracts", - "nps migrateContracts.fetchContractsFromDaoStackRepo" - ) + /** + * Migrate contracts. + * + * Assumes you have at some previous time run migrationContracts.initialize. + * + * Truffle will merge this migration with whatever previous ones are already present in the contract json files. + */ + default: `${truffleCommand} migrate --contracts_build_directory ${pathArcJsContracts} --without-compile ${network ? `--network ${network}` : "ganache"}`, + /** + * Clean the outputted contract json files, optionally andMigrate. + * + * IMPORTANT! Only do this if you aren't worried about losing + * previously-performed migrations to other networks. By cleaning, you'll lose them, starting + * from scratch. Otherwise, truffle will merge your migrations into whatever previous + * ones exist. + */ + clean: { + default: rimraf(joinPath(pathArcJsContracts, "*")), + andMigrate: series("nps migrateContracts.clean", "nps migrateContracts.fetchFromArc", "nps migrateContracts") + }, + /** + * fetch the unmigrated contract json files from DAOstack-Arc + */ + fetchFromArc: copy(`${joinPath(pathDaostackArcRepo, "build", "contracts", "*")} ${pathArcJsContracts}`) } } }; diff --git a/package-scripts/archiveGanacheDb.js b/package-scripts/archiveGanacheDb.js new file mode 100644 index 000000000..8c6e844c5 --- /dev/null +++ b/package-scripts/archiveGanacheDb.js @@ -0,0 +1,14 @@ +const archiver = require("archiver"); +const fs = require("fs"); + +const pathDaostackArcGanacheDbZip = process.argv[2]; +const pathDaostackArcGanacheDb = process.argv[3]; +const _archiver = archiver("zip", { + zlib: { level: 9 } /* Sets the compression level. */ +}); + +const stream = fs.createWriteStream(pathDaostackArcGanacheDbZip); + +_archiver.pipe(stream); + +_archiver.directory(pathDaostackArcGanacheDb, "GanacheDb").finalize(); diff --git a/package-scripts/archiveTestrpcDb.js b/package-scripts/archiveTestrpcDb.js deleted file mode 100644 index 79850b75c..000000000 --- a/package-scripts/archiveTestrpcDb.js +++ /dev/null @@ -1,26 +0,0 @@ -const archiver = require("archiver"); -const fs = require("fs"); - -const pathDaostackArcTestrpcDbZip = process.argv[2]; -const pathDaostackArcTestrpcDb = process.argv[3]; -const _archiver = archiver("zip", { - zlib: { level: 9 } /* Sets the compression level. */ -}); - -// console.log(`archiveTestrpcDb(${pathDaostackArcTestrpcDbZip}, ${pathDaostackArcTestrpcDb}`); - -const stream = fs.createWriteStream(pathDaostackArcTestrpcDbZip); - -// stream.on('end', function() { -// console.log('stream end'); -// }); -// stream.on('close', function() { -// console.log('stream close'); -// }); -// stream.on('finish', function() { -// console.log('stream finish'); -// }); - -_archiver.pipe(stream); - -_archiver.directory(pathDaostackArcTestrpcDb, "testrpcDb").finalize(); diff --git a/package-scripts/unArchiveGanacheDb.js b/package-scripts/unArchiveGanacheDb.js new file mode 100644 index 000000000..067964e2f --- /dev/null +++ b/package-scripts/unArchiveGanacheDb.js @@ -0,0 +1,5 @@ +const decompress = require("decompress"); +const pathDaostackArcGanacheDbZip = process.argv[2]; +const pathDaostackArcGanacheDb = process.argv[3]; +// console.log(`unArchiveGanacheDb(${pathDaostackArcGanacheDbZip}, ${pathDaostackArcGanacheDb}`); +decompress(pathDaostackArcGanacheDbZip, pathDaostackArcGanacheDb); diff --git a/package-scripts/unArchiveTestrpcDb.js b/package-scripts/unArchiveTestrpcDb.js deleted file mode 100644 index e705bb762..000000000 --- a/package-scripts/unArchiveTestrpcDb.js +++ /dev/null @@ -1,5 +0,0 @@ -const decompress = require("decompress"); -const pathDaostackArcTestrpcDbZip = process.argv[2]; -const pathDaostackArcTestrpcDb = process.argv[3]; -// console.log(`unArchiveTestrpcDb(${pathDaostackArcTestrpcDbZip}, ${pathDaostackArcTestrpcDb}`); -decompress(pathDaostackArcTestrpcDbZip, pathDaostackArcTestrpcDb); diff --git a/package.json b/package.json index 410b7ad59..aa1a8e9a3 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,24 @@ { "name": "daostack-arc-js", - "version": "0.0.0-alpha.9", - "description": "Javascript library providing access to DAOStack Arc ethereum smart contracts (daostack-arc)", + "version": "0.0.0-alpha.11", + "description": "A JavaScript library for interacting with daostack-arc ethereum smart contracts", "main": "dist/arc.js", "types": "lib/arc.d.ts", - "directories": { - "lib": "./lib", - "doc": "./docs", - "contracts": "./contracts" - }, "files": [ "dist/", "lib/", "docs/", - "contracts/" + "test/", + "migrations/", + "migrated_contracts/", + "config/", + "package-scripts.js", + "package-scripts/", + "truffle.js", + ".babelrc", + ".eslintignore", + ".eslintignore", + ".eslintrc" ], "scripts": { "start": "nps", @@ -26,7 +31,8 @@ }, "keywords": [ "Arc", - "DAOStack", + "DAOstack", + "Genesis", "Ethereum", "DAO", "javascript", @@ -40,31 +46,44 @@ }, "homepage": "https://github.com/daostack/arc.js#readme", "dependencies": { - "bip39": "^2.4.0", - "default-options": "^1.0.0", - "ethereumjs-abi": "^0.6.5", - "ethers": "^2.1.3", - "nconf": "^0.10.0", - "promisify": "0.0.3", - "truffle-contract": "^3.0.1", - "web3-typescript-typings": "^0.7.2" - }, - "devDependencies": { - "@types/bignumber.js": "^4.0.3", - "@types/nconf": "^0.0.36", "archiver": "^2.1.0", "babel-cli": "^6.26.0", "babel-eslint": "^7.2.3", "babel-plugin-syntax-async-functions": "^6.1.4", - "babel-polyfill": "^6.23.0", + "babel-plugin-transform-runtime": "^6.23.0", + "babel-polyfill": "^6.26.0", + "babel-preset-env": "^1.6.1", "babel-preset-es2015": "^6.6.0", "babel-register": "^6.24.1", "bignumber.js": "^4.1.0", - "chai": "^4.1.2", + "bip39": "^2.4.0", + "color-convert": "^1.9.1", "cwd": "^0.10.0", - "daostack-arc": "0.0.0-alpha.25", "decompress": "^4.2.0", + "default-options": "^1.0.0", "env-variable": "0.0.3", + "ethereumjs-abi": "^0.6.5", + "ethereumjs-testrpc": "^6.0.3", + "ethers": "^2.1.3", + "ganache-cli": "^6.0.3", + "has-flag": "^3.0.0", + "locate-path": "^2.0.0", + "node-glob": "^1.2.0", + "nps": "^5.7.1", + "nps-utils": "^1.5.0", + "path.join": "^1.0.0", + "pm2": "^1.1.3", + "promisify": "0.0.3", + "pug": "^2.0.0-rc.1", + "regenerator-transform": "^0.12.3", + "truffle-contract": "^3.0.1", + "truffle-core-migrate-without-compile": "^4.0.7", + "uint32": "^0.2.1", + "web3-typescript-typings": "^0.7.2", + "zeppelin-solidity": "^1.5.0", + "@types/bignumber.js": "^4.0.3", + "@types/nconf": "^0.0.36", + "chai": "^4.1.2", "eslint": "^4.10.0", "eslint-config-defaults": "^9.0.0", "eslint-config-standard": "^10.2.1", @@ -73,14 +92,9 @@ "eslint-plugin-promise": "^3.5.0", "eslint-plugin-react": "^7.4.0", "eslint-plugin-standard": "^3.0.1", - "ethereumjs-testrpc": "^6.0.3", - "fs": "0.0.1-security", - "mocha": "^4.0.1", - "nps": "^5.7.1", - "nps-utils": "^1.5.0", - "path.join": "^1.0.0", - "pm2": "^1.1.3", - "pug": "^2.0.0-rc.1", - "uint32": "^0.2.1" + "mocha": "^4.0.1" + }, + "devDependencies": { + "daostack-arc": "0.0.0-alpha.27" } } diff --git a/test/contributionreward.js b/test/contributionreward.js index 44b46d4bd..5db6a3c3c 100644 --- a/test/contributionreward.js +++ b/test/contributionreward.js @@ -1,53 +1,47 @@ -import * as helpers from "./helpers"; +import { forgeOrganization, SOME_HASH, SOME_ADDRESS } from "./helpers"; import { SHA3, getValueFromLogs, requireContract } from "../lib/utils.js"; -const DAOToken = requireContract("DAOToken"); const ContributionReward = requireContract("ContributionReward"); -export async function proposeContributionReward(org, accounts) { +export async function proposeContributionReward(org) { const schemeRegistrar = await org.scheme("SchemeRegistrar"); - const ContributionReward = await org.scheme("ContributionReward"); - - const votingMachineHash = await org.votingMachine.getParametersHash( - org.reputation.address, - 50, - true - ); - await org.votingMachine.setParameters(org.reputation.address, 50, true); + const contributionReward = await org.scheme("ContributionReward"); + const votingMachineHash = await org.votingMachine.configHash__; const votingMachineAddress = org.votingMachine.address; - const schemeParametersHash = await ContributionReward.setParams({ + const schemeParametersHash = await contributionReward.setParams({ orgNativeTokenFee: 0, - schemeNativeTokenFee: 0, voteParametersHash: votingMachineHash, votingMachine: votingMachineAddress }); const tx = await schemeRegistrar.proposeToAddModifyScheme({ avatar: org.avatar.address, - scheme: ContributionReward.address, + scheme: contributionReward.address, schemeName: "ContributionReward", - schemeParametersHash: schemeParametersHash, - autoRegister: true + schemeParametersHash: schemeParametersHash }); const proposalId = getValueFromLogs(tx, "_proposalId"); org.vote(proposalId, 1, { from: accounts[2] }); - return ContributionReward; + return contributionReward; } describe("ContributionReward scheme", () => { let params, paramsHash, tx, proposal; it("submit and accept a contribution - complete workflow", async () => { - const organization = await helpers.forgeOrganization(); - const scheme = await proposeContributionReward(organization, accounts); + + /* note this will give accounts[0,1,2] enough tokens to register some schemes */ + const org = await forgeOrganization(); + + const scheme = await proposeContributionReward(org); tx = await scheme.proposeContributionReward({ - avatar: organization.avatar.address, // Avatar _avatar, + avatar: org.avatar.address, // Avatar _avatar, description: "A new contribution", // string _contributionDesciption, beneficiary: accounts[1], // address _beneficiary nativeTokenReward: 1 @@ -56,7 +50,7 @@ describe("ContributionReward scheme", () => { const proposalId = getValueFromLogs(tx, "_proposalId"); // now vote with a majority account and accept this contribution - organization.vote(proposalId, 1, { from: accounts[2] }); + org.vote(proposalId, 1, { from: accounts[2] }); // TODO: check that the proposal is indeed accepted }); @@ -79,27 +73,13 @@ describe("ContributionReward scheme", () => { } ]; - const org = await helpers.forgeOrganization({ founders }); + const org = await forgeOrganization({ founders }); const avatar = org.avatar; const controller = org.controller; - // we creaet a ContributionReward - const tokenAddress = await controller.nativeToken(); - const votingMachine = org.votingMachine; - - // create a contribution Scheme - const contributionReward = await ContributionReward.new( - tokenAddress, - 0, // register with 0 fee - accounts[0] - ); - - // check if we have the fee to register the contribution - const contributionRewardRegisterFee = await contributionReward.fee(); - // console.log('contributionRewardRegisterFee: ' + contributionRewardRegisterFee); - // our fee is 0, so that's easy (TODO: write a test with non-zero fees) - assert.equal(contributionRewardRegisterFee, 0); + const votingMachine = org.votingMachine; // create a contribution Scheme + const contributionReward = await ContributionReward.new(); const votingMachineHash = await votingMachine.getParametersHash( org.reputation.address, @@ -109,18 +89,13 @@ describe("ContributionReward scheme", () => { await votingMachine.setParameters(org.reputation.address, 50, true); const votingMachineAddress = votingMachine.address; - // console.log(`****** votingMachineHash ${votingMachineHash} ******`); - // console.log(`****** votingMachineAddress ${votingMachineAddress} ******`); - const schemeParametersHash = await contributionReward.getParametersHash( - 0, 0, votingMachineHash, votingMachineAddress ); await contributionReward.setParameters( - 0, 0, votingMachineHash, votingMachineAddress @@ -132,8 +107,7 @@ describe("ContributionReward scheme", () => { avatar: avatar.address, scheme: contributionReward.address, schemeName: "ContributionReward", - schemeParametersHash: schemeParametersHash, - autoRegister: true + schemeParametersHash: schemeParametersHash }); const proposalId = getValueFromLogs(tx, "_proposalId"); @@ -149,24 +123,20 @@ describe("ContributionReward scheme", () => { assert.equal(schemeFromController[1], "0x00000001"); // is the organization registered? - const orgFromContributionScheme = await contributionReward.organizations( - avatar.address - ); - // console.log('orgFromContributionScheme after registering'); + const orgFromContributionScheme = await org.controller.isSchemeRegistered(contributionReward.address, org.avatar.address); + assert.equal(orgFromContributionScheme, true); // check the configuration for proposing new contributions - paramsHash = await controller.getSchemeParameters( - contributionReward.address - ); - // console.log(`****** paramsHash ${paramsHash} ******`); + paramsHash = await controller.getSchemeParameters(contributionReward.address, org.avatar.address); + // params are: uint orgNativeTokenFee; bytes32 voteApproveParams; uint schemeNativeTokenFee; BoolVoteInterface boolVote; params = await contributionReward.parameters(paramsHash); // check if they are not trivial - the 4th item should be a valid boolVote address - assert.notEqual(params[3], "0x0000000000000000000000000000000000000000"); - assert.equal(params[3], votingMachine.address); + assert.notEqual(params[2], "0x0000000000000000000000000000000000000000"); + assert.equal(params[2], votingMachine.address); // now we can propose a contribution - tx = await contributionReward.submitContribution( + tx = await contributionReward.proposeContributionReward( avatar.address, // Avatar _avatar, // web3.utils.soliditySha3('a fair play'), this is available in web3 1.0 SHA3("a fair play"), @@ -180,7 +150,6 @@ describe("ContributionReward scheme", () => { accounts[2] // address _beneficiary ); - // console.log(tx.logs); const contributionId = tx.logs[0].args._proposalId; // let us vote for it (is there a way to get the votingmachine from the contributionReward?) // this is a minority vote for 'yes' @@ -207,7 +176,7 @@ describe("ContributionReward scheme", () => { // TODO: check if proposal was deleted from contribution Scheme // proposal = await contributionReward.proposals(contributionId); - // assert.equal(proposal[0], helpers.NULL_HASH); + // assert.equal(proposal[0], NULL_HASH); // check if proposal was deleted from voting machine proposal = await votingMachine.proposals(contributionId); @@ -220,35 +189,23 @@ describe("ContributionReward scheme", () => { it("Can set and get parameters", async () => { let params; - const token = await DAOToken.new(); - // create a contribution Scheme - const contributionReward = await ContributionReward.new({ - tokenAddress: token.address, - fee: 0, // register with 0 fee - beneficiary: accounts[1] - }); + const contributionReward = await ContributionReward.new(); const contributionRewardParamsHash = await contributionReward.getParametersHash( 0, - 0, - helpers.SOME_HASH, - helpers.SOME_ADDRESS + SOME_HASH, + SOME_ADDRESS ); // these parameters are not registered yet at this point params = await contributionReward.parameters(contributionRewardParamsHash); - assert.equal(params[3], "0x0000000000000000000000000000000000000000"); + assert.equal(params[2], "0x0000000000000000000000000000000000000000"); // register the parameters are registers in the contribution scheme - await contributionReward.setParameters( - 0, - 0, - helpers.SOME_HASH, - helpers.SOME_ADDRESS - ); + await contributionReward.setParameters(0, SOME_HASH, SOME_ADDRESS); params = await contributionReward.parameters(contributionRewardParamsHash); - assert.notEqual(params[3], "0x0000000000000000000000000000000000000000"); + assert.notEqual(params[2], "0x0000000000000000000000000000000000000000"); }); }); diff --git a/test/globalconstraintregistrar.js b/test/globalconstraintregistrar.js index 3ad1f9f26..74245fa8f 100644 --- a/test/globalconstraintregistrar.js +++ b/test/globalconstraintregistrar.js @@ -1,9 +1,6 @@ const helpers = require("./helpers"); import { getValueFromLogs, requireContract } from "../lib/utils.js"; -import { GlobalConstraintRegistrar } from "../lib/globalconstraintregistrar.js"; - -const DAOToken = requireContract("DAOToken"); const TokenCapGC = requireContract("TokenCapGC"); describe("GlobalConstraintRegistrar", () => { @@ -85,9 +82,7 @@ describe("GlobalConstraintRegistrar", () => { true ); - const globalConstraintRegistrar = (await organization.scheme( - "GlobalConstraintRegistrar" - )).contract; + const globalConstraintRegistrar = (await organization.scheme("GlobalConstraintRegistrar")).contract; const tx = await globalConstraintRegistrar.proposeGlobalConstraint( organization.avatar.address, @@ -115,69 +110,45 @@ describe("GlobalConstraintRegistrar", () => { }); it("should satisfy a number of basic checks", async () => { - const organization = await helpers.forgeOrganization(); + const org = await helpers.forgeOrganization(); // do some sanity checks on the globalconstriantregistrar - const gcr = (await organization.scheme("GlobalConstraintRegistrar")) - .contract; - // check if our organization is registered on the gcr - assert.equal(await gcr.isRegistered(organization.avatar.address), true); + const gcr = (await org.scheme("GlobalConstraintRegistrar")).contract; // check if indeed the registrar is registered as a scheme on the controller - assert.equal( - await organization.controller.isSchemeRegistered(gcr.address), - true - ); + assert.equal(await org.controller.isSchemeRegistered(gcr.address, org.avatar.address), true); // Organization.new standardly registers no global constraints - assert.equal( - (await organization.controller.globalConstraintsCount()).toNumber(), - 0 - ); + assert.equal((await org.controller.globalConstraintsCount(org.avatar.address)).toNumber(), 0); // create a new global constraint - a TokenCapGC instance const tokenCapGC = await TokenCapGC.new(); // register paramets for setting a cap on the nativeToken of our organization of 21 million - await tokenCapGC.setParameters(organization.token.address, 21e9); - const tokenCapGCParamsHash = await tokenCapGC.getParametersHash( - organization.token.address, - 21e9 - ); + await tokenCapGC.setParameters(org.token.address, 21e9); + const tokenCapGCParamsHash = await tokenCapGC.getParametersHash(org.token.address, 21e9); // next line needs some real hash for the conditions for removing this scheme const votingMachineHash = tokenCapGCParamsHash; // to propose a global constraint we need to make sure the relevant hashes are registered // in the right places: - const parametersForGCR = await organization.controller.getSchemeParameters( - gcr.address - ); + const parametersForGCR = await org.controller.getSchemeParameters(gcr.address, org.avatar.address); // parametersForVotingInGCR are (voteRegisterParams (a hash) and boolVote) const parametersForVotingInGCR = await gcr.parameters(parametersForGCR); // the info we just got consists of paramsHash and permissions - const gcrPermissionsOnOrg = await organization.controller.getSchemePermissions( - gcr.address - ); + const gcrPermissionsOnOrg = await org.controller.getSchemePermissions(gcr.address, org.avatar.address); assert.equal(gcrPermissionsOnOrg, "0x00000007"); // the voting machine used in this GCR is the same as the voting machine of the organization - assert.equal( - organization.votingMachine.address, - parametersForVotingInGCR[1] - ); + assert.equal(org.votingMachine.address, parametersForVotingInGCR[1]); // while the voteRegisterParams are known on the voting machine // and consist of [reputationSystem address, treshold percentage] - const voteRegisterParams = await organization.votingMachine.parameters( - parametersForVotingInGCR[0] - ); + const voteRegisterParams = await org.votingMachine.parameters(parametersForVotingInGCR[0]); const msg = "These parameters are not known the voting machine..."; - assert.notEqual( - voteRegisterParams[0], - "0x0000000000000000000000000000000000000000", - msg - ); + assert.notEqual(voteRegisterParams[0], "0x0000000000000000000000000000000000000000", msg); + tx = await gcr.proposeGlobalConstraint( - organization.avatar.address, + org.avatar.address, tokenCapGC.address, tokenCapGCParamsHash, votingMachineHash @@ -191,21 +162,14 @@ describe("GlobalConstraintRegistrar", () => { // assert.equal(proposal[0], tokenCapGC.address); // TODO: the voting machine should be taken from the address at parametersForVotingInGCR[1] - const votingMachine = organization.votingMachine; + const votingMachine = org.votingMachine; // first vote (minority) tx = await votingMachine.vote(proposalId, 1, { from: web3.eth.accounts[1] }); - // and this is the majority vote (which will also call execute on the executable - tx = await votingMachine.vote(proposalId, 1, { - from: web3.eth.accounts[2] - }); // at this point, our global constrait has been registered at the organization - assert.equal( - (await organization.controller.globalConstraintsCount()).toNumber(), - 1 - ); + assert.equal((await org.controller.globalConstraintsCount(org.avatar.address)).toNumber(), 1); return; // // get the first global constraint // const gc = await organization.controller.globalConstraints(0); @@ -215,36 +179,6 @@ describe("GlobalConstraintRegistrar", () => { // assert.equal(params, tokenCapGCParamsHash); }); - it("the GlobalConstraintRegistrar.new() function should work as expected with the default parameters", async () => { - // create a schemeRegistrar - const registrar = await GlobalConstraintRegistrar.new(); - - const tokenAddress = await registrar.nativeToken(); - assert.isOk(tokenAddress); - const fee = await registrar.fee(); - assert.equal(fee, 0); - // the sender is the beneficiary - const beneficiary = await registrar.beneficiary(); - assert.equal(beneficiary, accounts[0]); - }); - - it("the GlobalConstraintRegistrar.new() function should work as expected with specific parameters", async () => { - // create a schemeRegistrar, passing some options - const token = await DAOToken.new(); - - const registrar = await GlobalConstraintRegistrar.new({ - tokenAddress: token.address, - fee: 3e18, - beneficiary: accounts[1] - }); - - const tokenAddress = await registrar.nativeToken(); - assert.equal(tokenAddress, token.address); - const fee = await registrar.fee(); - assert.equal(fee, 3e18); - const beneficiary = await registrar.beneficiary(); - assert.equal(beneficiary, accounts[1]); - }); it("organisation.proposalGlobalConstraint() should accept different parameters [TODO]", async () => { const organization = await helpers.forgeOrganization(); diff --git a/test/helpers.js b/test/helpers.js index 081f322fb..21d4d5a71 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -1,7 +1,7 @@ /** helpers for tests */ -import { getWeb3 } from "../lib/utils.js"; +import { getWeb3, requireContract } from "../lib/utils.js"; import { assert } from "chai"; beforeEach(async () => { @@ -11,8 +11,14 @@ beforeEach(async () => { await etherForEveryone(); }); -import { Organization } from '../lib/organization.js'; -import { getDeployedContracts } from '../lib/contracts.js'; +import { Organization } from "../lib/organization.js"; +import { getDeployedContracts } from "../lib/contracts.js"; +const GenesisScheme = requireContract("GenesisScheme"); +const Avatar = requireContract("Avatar"); +const DAOToken = requireContract("DAOToken"); +const Reputation = requireContract("Reputation"); +const AbsoluteVote = requireContract("AbsoluteVote"); +const Controller = requireContract("Controller"); export const NULL_HASH = "0x0000000000000000000000000000000000000000000000000000000000000000"; @@ -21,10 +27,18 @@ export const SOME_HASH = export const NULL_ADDRESS = "0x0000000000000000000000000000000000000000"; export const SOME_ADDRESS = "0x1000000000000000000000000000000000000000"; -export function getProposalAddress(tx) { +beforeEach(async () => { + global.web3 = getWeb3(); + global.assert = assert; + global.accounts = []; + await etherForEveryone(); +}); + +function getProposalAddress(tx) { // helper function that returns a proposal object from the ProposalCreated event // in the logs of tx - assert.equal(tx.logs[0].event, "ProposalCreated"); + + ual(tx.logs[0].event, "ProposalCreated"); const proposalAddress = tx.logs[0].args.proposaladdress; return proposalAddress; } @@ -33,7 +47,7 @@ export async function getProposal(tx) { return await Proposal.at(getProposalAddress(tx)); } -export async function etherForEveryone() { +async function etherForEveryone() { // give all web3.eth.accounts some ether accounts = web3.eth.accounts; const count = accounts.length; @@ -46,34 +60,130 @@ export async function etherForEveryone() { } } +async function setupAbsoluteVote( + avatar, + isOwnedVote = true, + precReq = 50, + reputations = [] +) { + const votingMachine = await AbsoluteVote.at((await AbsoluteVote.deployed()).address); + + // set up a reputation system + const reputation = await Reputation.at(await avatar.nativeReputation()); + + + for (const r of reputations) { + await reputation.mint(r.address, r.reputation); + } + + // register some parameters + await votingMachine.setParameters(reputation.address, precReq, isOwnedVote); + const configHash = await votingMachine.getParametersHash( + reputation.address, + precReq, + isOwnedVote + ); + votingMachine.configHash__ = configHash; // for reuse by tests + return votingMachine; +} + +async function setupOrganization(founders) { + const org = new Organization(); + const genesisScheme = await GenesisScheme.deployed(); + + const tx = await genesisScheme.forgeOrg( + "testOrg", + "TEST", + "TST", + founders.map(x => x.address), + founders.map(x => x.tokens), + founders.map(x => x.reputation), + NULL_ADDRESS + ); + assert.equal(tx.logs.length, 1); + assert.equal(tx.logs[0].event, "NewOrg"); + const avatarAddress = tx.logs[0].args._avatar; + org.avatar = await Avatar.at(avatarAddress); + const tokenAddress = await org.avatar.nativeToken(); + org.token = await DAOToken.at(tokenAddress); + const reputationAddress = await org.avatar.nativeReputation(); + org.reputation = await Reputation.at(reputationAddress); + const controllerAddress = await org.avatar.owner(); + org.controller = await Controller.at(controllerAddress); + + org.votingMachine = await setupAbsoluteVote(org.avatar); + + const contracts = await getDeployedContracts(); + + const defaultSchemes = []; + + for (const name of [ + "SchemeRegistrar", + "UpgradeScheme", + "GlobalConstraintRegistrar" + ]) { + await contracts.allContracts[name].contract + .at(contracts.allContracts[name].address) + .then(scheme => { + defaultSchemes.push(scheme); + }); + } + + const params = []; + + for (const scheme of defaultSchemes) { + // yes, this set of schemes all have the same params + // when that changes we can improve this + await scheme + .setParams({ + voteParametersHash: org.votingMachine.configHash__, + votingMachine: org.votingMachine.address + }) + .then(hash => { + params.push(hash); + }); + } + + await genesisScheme.setSchemes( + org.avatar.address, + defaultSchemes.map(s => s.address), + params, + defaultSchemes.map(s => s.getDefaultPermissions()) + ); + + return org; +} + export async function forgeOrganization(opts = {}) { - const founders = [ - { - address: web3.eth.accounts[0], - reputation: 1, - tokens: 1 - }, - { - address: web3.eth.accounts[1], - reputation: 29, - tokens: 2 - }, - { - address: web3.eth.accounts[2], - reputation: 70, - tokens: 3 - } - ]; - const defaults = { - orgName: "something", - tokenName: "token name", - tokenSymbol: "TST", - founders - }; - - const options = Object.assign(defaults, opts); - // add this there to eat some dog food - return Organization.new(options); + const founders = + opts && opts.founders + ? opts.founders + : [ + { + address: accounts[0], + reputation: 1000, + tokens: web3.toWei(40) + }, + { + address: accounts[1], + reputation: 1000, + tokens: web3.toWei(40) + }, + { + address: accounts[2], + reputation: 1000, + tokens: web3.toWei(40) + } + ]; + + return await setupOrganization(founders); +} + +export async function transferTokensToAvatar(avatar, amount, fromAddress) { + const tokenAddress = await avatar.nativeToken(); + const schemeToken = await DAOToken.at(tokenAddress); + await schemeToken.transfer(avatar.address, amount, { from: fromAddress }); + return tokenAddress; } export const outOfGasMessage = @@ -86,7 +196,7 @@ export function assertJumpOrOutOfGas(error) { assert.isTrue( condition, "Expected an out-of-gas error or an invalid JUMP error, got this instead: " + - error.message + error.message ); } @@ -114,7 +224,6 @@ export function assertJump(error) { ); } -export function contractsForTest() { - // return settings used for testing - return getDeployedContracts(); +export async function contractsForTest() { + return await getDeployedContracts(); } diff --git a/test/organization.js b/test/organization.js index a76840a36..486aa9e0c 100644 --- a/test/organization.js +++ b/test/organization.js @@ -52,19 +52,19 @@ describe("Organization", () => { const contracts = await helpers.contractsForTest(); // a new organization comes with three known schemes assert.equal((await organization.schemes()).length, 3); - let scheme = await organization.scheme('GlobalConstraintRegistrar'); + let scheme = await organization.scheme("GlobalConstraintRegistrar"); assert.equal( scheme.address, contracts.allContracts.GlobalConstraintRegistrar.address ); assert.isTrue(!!scheme.contract, "contract must be set"); - scheme = await organization.scheme('SchemeRegistrar'); + scheme = await organization.scheme("SchemeRegistrar"); assert.equal( scheme.address, contracts.allContracts.SchemeRegistrar.address ); assert.isTrue(!!scheme.contract, "contract must be set"); - scheme = await organization.scheme('UpgradeScheme'); + scheme = await organization.scheme("UpgradeScheme"); assert.equal( scheme.address, contracts.allContracts.UpgradeScheme.address @@ -72,56 +72,8 @@ describe("Organization", () => { assert.isTrue(!!scheme.contract, "contract must be set"); // now we add another known scheme - await proposeContributionReward(organization, accounts); + await proposeContributionReward(organization); assert.equal((await organization.schemes()).length, 4); - // TODO: the organizaiton must be registered with the scheme before the next works - // assert.equal((await organization.scheme('ContributionReward')).address, contracts.allContracts.ContributionScheme.address); }); - - // it("has a working proposeScheme function for SimpleICO", async function(){ - - // organization = await Organization.new({ - // orgName: 'Skynet', - // tokenName: 'Tokens of skynet', - // tokenSymbol: 'SNT' - // }); - - // proposalId = await organization.proposeScheme({ - // contract: 'SimpleICO', - // params: { - // cap: 100, // uint cap; // Cap in Eth - // price: .001, // uint price; // Price represents Tokens per 1 Eth - // startBlock: 5, // uint startBlock; - // endBlock: 10, // uint endBlock; - // admin: accounts[3], // address admin; // The admin can halt or resume ICO. - // beneficiary: accounts[4], // address beneficiary; // all funds received will be transffered to this address. - // } - // }); - // // - // assert.isOk(proposalId); - // assert.notEqual(proposalId, helpers.NULL_HASH); - - // }); - - // it("has a working proposeScheme function for ContributionScheme [IN PROGRESS]", async function(){ - // organization = await Organization.new({ - // orgName: 'Skynet', - // tokenName: 'Tokens of skynet', - // tokenSymbol: 'SNT' - // }); - - // proposalId = await organization.proposeScheme({ - // contract: 'ContributionReward', - // }); - // // - // assert.isOk(proposalId); - // assert.notEqual(proposalId, helpers.NULL_HASH); - - // // TODO: test with non-default settings - - // }); - - // it("has a working proposeScheme function for UpgradeScheme [TODO]", async function(){ - // }); }); diff --git a/test/schemeregistrar.js b/test/schemeregistrar.js index b33c58bbc..e09b801ff 100644 --- a/test/schemeregistrar.js +++ b/test/schemeregistrar.js @@ -1,141 +1,88 @@ -import { SchemeRegistrar } from '../lib/schemeregistrar.js'; -import { NULL_HASH, getValueFromLogs, requireContract } from '../lib/utils'; -import { forgeOrganization, contractsForTest } from './helpers'; - -const DAOToken = requireContract("DAOToken"); +import { NULL_HASH, getValueFromLogs } from "../lib/utils"; +import { forgeOrganization, contractsForTest } from "./helpers"; describe("SchemeRegistrar", () => { it("proposeToAddModifyScheme javascript wrapper should add new scheme", async () => { - const organization = await forgeOrganization(); + const org = await forgeOrganization(); const contracts = await contractsForTest(); - const schemeRegistrar = await organization.scheme("SchemeRegistrar"); - const ContributionReward = await organization.schemes("ContributionReward"); + const schemeRegistrar = await org.scheme("SchemeRegistrar"); + const ContributionReward = await org.schemes("ContributionReward"); assert.equal(ContributionReward.length, 0, "scheme is already present"); - const ContributionRewardAddress = + const contributionRewardAddress = contracts.allContracts.ContributionReward.address; assert.isFalse( - await organization.controller.isSchemeRegistered( - ContributionRewardAddress - ), + await org.controller.isSchemeRegistered(contributionRewardAddress, org.avatar.address), "scheme is registered into the controller" ); const tx = await schemeRegistrar.proposeToAddModifyScheme({ - avatar: organization.avatar.address, - scheme: ContributionRewardAddress, + avatar: org.avatar.address, + scheme: contributionRewardAddress, schemeName: "ContributionReward", - schemeParametersHash: NULL_HASH, - autoRegister: true + schemeParametersHash: NULL_HASH }); const proposalId = getValueFromLogs(tx, "_proposalId"); - organization.vote(proposalId, 1, { from: accounts[2] }); + org.vote(proposalId, 1, { from: accounts[2] }); assert.isTrue( - await organization.controller.isSchemeRegistered( - ContributionRewardAddress - ), + await org.controller.isSchemeRegistered(contributionRewardAddress, org.avatar.address), "scheme is not registered into the controller" ); }); it("proposeToAddModifyScheme javascript wrapper should modify existing scheme", async () => { - const organization = await forgeOrganization(); + const org = await forgeOrganization(); - const schemeRegistrar = await organization.scheme("SchemeRegistrar"); - const upgradeScheme = await organization.schemes("SchemeRegistrar"); + const schemeRegistrar = await org.scheme("SchemeRegistrar"); + const upgradeScheme = await org.schemes("SchemeRegistrar"); assert.equal(upgradeScheme.length, 1, "scheme is not present"); const modifiedSchemeAddress = upgradeScheme[0].address; const tx = await schemeRegistrar.proposeToAddModifyScheme({ - avatar: organization.avatar.address, + avatar: org.avatar.address, scheme: modifiedSchemeAddress, schemeName: "SchemeRegistrar", - schemeParametersHash: NULL_HASH, - autoRegister: true + schemeParametersHash: NULL_HASH }); const proposalId = getValueFromLogs(tx, "_proposalId"); - organization.vote(proposalId, 1, { from: accounts[2] }); + org.vote(proposalId, 1, { from: accounts[2] }); assert.isTrue( - await organization.controller.isSchemeRegistered(modifiedSchemeAddress), + await org.controller.isSchemeRegistered(modifiedSchemeAddress, org.avatar.address), "scheme is not registered into the controller" ); - const paramsHash = await organization.controller.getSchemeParameters( - modifiedSchemeAddress - ); + const paramsHash = await org.controller.getSchemeParameters(modifiedSchemeAddress, org.avatar.address); assert.equal(paramsHash, NULL_HASH, "parameters hash is not correct"); }); it("proposeToRemoveScheme javascript wrapper should remove scheme", async () => { - const organization = await forgeOrganization(); + const org = await forgeOrganization(); - const schemeRegistrar = await organization.scheme("SchemeRegistrar"); + const schemeRegistrar = await org.scheme("SchemeRegistrar"); const removedScheme = schemeRegistrar; const tx = await schemeRegistrar.proposeToRemoveScheme({ - avatar: organization.avatar.address, + avatar: org.avatar.address, scheme: removedScheme.address }); const proposalId = getValueFromLogs(tx, "_proposalId"); - organization.vote(proposalId, 1, { from: accounts[2] }); + org.vote(proposalId, 1, { from: accounts[2] }); assert.isFalse( - await organization.controller.isSchemeRegistered(removedScheme.address), + await org.controller.isSchemeRegistered(removedScheme.address, org.avatar.address), "scheme is still registered into the controller" ); }); - - it("schemeRegistrar.new should work as expected with default values", async () => { - // create a schemeRegistrar - const registrar = await SchemeRegistrar.new({ - fee: undefined, - beneficiary: undefined, - tokenAddress: undefined - }); - - // because the registrar is constructed without a token address, it should have - // created a new DAOToken - we check if it works as expected - const tokenAddress = await registrar.nativeToken(); - const token = await DAOToken.at(tokenAddress); - const accounts = web3.eth.accounts; - let balance; - balance = await token.balanceOf(accounts[0]); - assert.equal(balance.valueOf(), 0); - await token.mint(web3.eth.accounts[0], 1000 * Math.pow(10, 18)); - balance = await token.balanceOf(accounts[0]); - assert.equal(balance.valueOf(), 1000 * Math.pow(10, 18)); - }); - - it("schemeRegistrar.new should work as expected with non-default values", async () => { - // create a schemeRegistrar, passing some options - const token = await DAOToken.new(); - - const registrar = await SchemeRegistrar.new({ - tokenAddress: token.address, - fee: 3e18, - beneficiary: accounts[1] - }); - - // check if registrar indeed uses the specified token - const tokenAddress = await registrar.nativeToken(); - assert.equal(tokenAddress, token.address); - // check if the fee is as specified - const fee = await registrar.fee(); - assert.equal(fee, 3e18); - // check if the beneficiary is as specified - const beneficiary = await registrar.beneficiary(); - assert.equal(beneficiary, accounts[1]); - }); }); diff --git a/test/upgradescheme.js b/test/upgradescheme.js index acfc871ef..888fbf6c8 100644 --- a/test/upgradescheme.js +++ b/test/upgradescheme.js @@ -1,19 +1,18 @@ -import { Organization } from "../lib/organization.js"; import { getValueFromLogs, requireContract } from "../lib/utils.js"; const Controller = requireContract("Controller"); -const AbsoluteVote = requireContract('AbsoluteVote'); -const DAOToken = requireContract('DAOToken'); -const Avatar = requireContract('Avatar'); -const Reputation = requireContract('Reputation'); -const UpgradeScheme = requireContract('UpgradeScheme'); +const AbsoluteVote = requireContract("AbsoluteVote"); +const DAOToken = requireContract("DAOToken"); +const Avatar = requireContract("Avatar"); +const Reputation = requireContract("Reputation"); +const UpgradeScheme = requireContract("UpgradeScheme"); import { forgeOrganization, contractsForTest, SOME_HASH, NULL_ADDRESS -} from './helpers'; +} from "./helpers"; -describe('UpgradeScheme', () => { +describe("UpgradeScheme", () => { let avatar; beforeEach(async () => { @@ -25,19 +24,19 @@ describe('UpgradeScheme', () => { }); it("proposeController javascript wrapper should change controller", async () => { - const org = await forgeOrganization(); + const organization = await forgeOrganization(); - const upgradeScheme = await org.scheme("UpgradeScheme"); - const newController = await Controller.new(avatar.address, [], [], []); + const upgradeScheme = await organization.scheme("UpgradeScheme"); + const newController = await Controller.new(avatar.address); assert.equal( - await org.controller.newController(), + await organization.controller.newController(), NULL_ADDRESS, - "there is already a new contoller" + "there is already a new controller" ); const tx = await upgradeScheme.proposeController({ - avatar: org.avatar.address, + avatar: organization.avatar.address, controller: newController.address }); @@ -45,46 +44,31 @@ describe('UpgradeScheme', () => { const proposalId = getValueFromLogs(tx, "_proposalId"); - org.vote(proposalId, 1, { from: accounts[2] }); + organization.vote(proposalId, 1, { from: accounts[2] }); // now the ugprade should have been executed - assert.equal(await org.controller.newController(), newController.address); + assert.equal(await organization.controller.newController(), newController.address); // avatar, token and reputation ownership shold have been transferred to the new controller - assert.equal(await org.token.owner(), newController.address); - assert.equal(await org.reputation.owner(), newController.address); - assert.equal(await org.avatar.owner(), newController.address); + assert.equal(await organization.token.owner(), newController.address); + assert.equal(await organization.reputation.owner(), newController.address); + assert.equal(await organization.avatar.owner(), newController.address); }); it("controller upgrade should work as expected", async () => { - const founders = [ - { - address: accounts[0], - reputation: 30, - tokens: 30 - }, - { - address: accounts[1], - reputation: 70, - tokens: 70 - } - ]; - const organization = await Organization.new({ - orgName: "Skynet", - tokenName: "Tokens of skynet", - tokenSymbol: "SNT", - founders - }); - const upgradeScheme = await organization.scheme('UpgradeScheme'); - const settings = await contractsForTest(); - const votingMachine = await AbsoluteVote.at(settings.votingMachine); + const organization = await forgeOrganization(); + + const upgradeScheme = await organization.scheme("UpgradeScheme"); + const contracts = await contractsForTest(); + const votingMachine = await AbsoluteVote.at(contracts.defaultVotingMachine.address); // the organization has not bene upgraded yet, so newController is the NULL address assert.equal(await organization.controller.newController(), NULL_ADDRESS); // we create a new controller to which to upgrade - const newController = await Controller.new(avatar.address, [], [], []); + const newController = await Controller.new(avatar.address); + let tx = await upgradeScheme.proposeUpgrade( organization.avatar.address, newController.address @@ -109,61 +93,51 @@ describe('UpgradeScheme', () => { }); it("proposeUpgradingScheme javascript wrapper should change upgrade scheme", async () => { - const organization = await forgeOrganization(); + const org = await forgeOrganization(); - const upgradeScheme = await organization.scheme("UpgradeScheme"); + const upgradeScheme = await org.scheme("UpgradeScheme"); - const newUpgradeScheme = await UpgradeScheme.new( - organization.token.address, - 0, - accounts[0] - ); + const newUpgradeScheme = await UpgradeScheme.new(); assert.isFalse( - await organization.controller.isSchemeRegistered( - newUpgradeScheme.address - ), + await org.controller.isSchemeRegistered(newUpgradeScheme.address, org.avatar.address), "new scheme is already registered into the controller" ); assert.isTrue( - await organization.controller.isSchemeRegistered(upgradeScheme.address), + await org.controller.isSchemeRegistered(upgradeScheme.address, org.avatar.address), "original scheme is not registered into the controller" ); const tx = await upgradeScheme.proposeUpgradingScheme({ - avatar: organization.avatar.address, + avatar: org.avatar.address, scheme: newUpgradeScheme.address, - schemeParametersHash: await organization.controller.getSchemeParameters( - upgradeScheme.address - ) + schemeParametersHash: await org.controller.getSchemeParameters(upgradeScheme.address, org.avatar.address) }); // newUpgradeScheme.registerOrganization(organization.avatar.address); const proposalId = getValueFromLogs(tx, "_proposalId"); - organization.vote(proposalId, 1, { from: accounts[2] }); + org.vote(proposalId, 1, { from: accounts[2] }); assert.isTrue( - await organization.controller.isSchemeRegistered( - newUpgradeScheme.address - ), + await org.controller.isSchemeRegistered(newUpgradeScheme.address, org.avatar.address), "new scheme is not registered into the controller" ); }); it("proposeUpgradingScheme javascript wrapper should modify the modifying scheme", async () => { - const organization = await forgeOrganization(); + const org = await forgeOrganization(); - const upgradeScheme = await organization.scheme("UpgradeScheme"); + const upgradeScheme = await org.scheme("UpgradeScheme"); assert.isTrue( - await organization.controller.isSchemeRegistered(upgradeScheme.address), + await org.controller.isSchemeRegistered(upgradeScheme.address, org.avatar.address), "upgrade scheme is not registered into the controller" ); const tx = await upgradeScheme.proposeUpgradingScheme({ - avatar: organization.avatar.address, + avatar: org.avatar.address, scheme: upgradeScheme.address, schemeParametersHash: SOME_HASH }); @@ -172,15 +146,15 @@ describe('UpgradeScheme', () => { const proposalId = getValueFromLogs(tx, "_proposalId"); - organization.vote(proposalId, 1, { from: accounts[2] }); + org.vote(proposalId, 1, { from: accounts[2] }); assert.isTrue( - await organization.controller.isSchemeRegistered(upgradeScheme.address), + await org.controller.isSchemeRegistered(upgradeScheme.address, org.avatar.address), "upgrade scheme is no longer registered into the controller" ); assert.equal( - await organization.controller.getSchemeParameters(upgradeScheme.address), + await org.controller.getSchemeParameters(upgradeScheme.address, org.avatar.address), SOME_HASH, "parameters were not updated" ); diff --git a/test/utils.js b/test/utils.js index 834a6622f..6166985a2 100644 --- a/test/utils.js +++ b/test/utils.js @@ -4,23 +4,20 @@ import * as helpers from "./helpers"; const ContributionRewardContract = requireContract("ContributionReward"); -class ContributionReward extends ExtendTruffleContract( +class ExtendTruffleContractSubclass extends ExtendTruffleContract( ContributionRewardContract ) { foo() { - // console.log('foo() called'); return "bar"; } - submitContribution() { - // console.log('submitContribution() called'); + proposeContributionReward() { return "abc"; } async setParams(params) { return await this._setParameters( params.orgNativeTokenFee, - params.schemeNativeTokenFee, params.voteParametersHash, params.votingMachine ); @@ -33,38 +30,25 @@ class ContributionReward extends ExtendTruffleContract( describe("ExtendTruffleContract", () => { it("Must have sane inheritance", async () => { - let x; + let scheme; - x = await ContributionReward.new(); - assert.isOk(x.nativeToken()); - assert.equal(x.foo(), "bar"); - assert.equal(x.submitContribution(), "abc"); - assert.equal(await x.nativeToken(), await x.contract.nativeToken()); + scheme = await ExtendTruffleContractSubclass.new(); + assert.equal(scheme.foo(), "bar"); + assert.equal(scheme.proposeContributionReward(), "abc"); assert.equal( - await x.setParams({ + await scheme.setParams({ orgNativeTokenFee: 0, - schemeNativeTokenFee: 0, voteParametersHash: helpers.SOME_HASH, votingMachine: helpers.SOME_ADDRESS }), - "0xb6660b30e997e8e19cd58699fbf81c41450f200dbcb9f6a85c07b08483c86ee9" + "0x59af66fa0cefc060220aa22b6d9420988e6037221ca060f3140baa53883138ba" ); - assert.equal(x.getDefaultPermissions(), "0x00000009"); + assert.equal(scheme.getDefaultPermissions(), "0x00000009"); - x = await ContributionReward.at( + scheme = await ExtendTruffleContractSubclass.at( (await ContributionRewardContract.deployed()).address ); - assert.isOk(x.nativeToken()); - assert.equal(x.foo(), "bar"); - assert.equal(x.submitContribution(), "abc"); - assert.equal(await x.nativeToken(), await x.contract.nativeToken()); - - x = await ContributionReward.at( - (await ContributionRewardContract.deployed()).address - ); - assert.isOk(x.nativeToken()); - assert.equal(x.foo(), "bar"); - assert.equal(x.submitContribution(), "abc"); - assert.equal(await x.nativeToken(), await x.contract.nativeToken()); + assert.equal(scheme.foo(), "bar"); + assert.equal(scheme.proposeContributionReward(), "abc"); }); }); diff --git a/test/wallet.js b/test/wallet.js index 85cf9f418..1f6bb6849 100644 --- a/test/wallet.js +++ b/test/wallet.js @@ -7,7 +7,7 @@ import { Wallet } from "../lib/wallet.js"; import * as helpers from "./helpers"; describe("Wallet", () => { - it("creates a new wallet on the blockchain", async function() { + it("creates a new wallet on the blockchain", async function () { this.timeout(10000); const wallet = Wallet.new(); assert.equal(wallet.getPublicAddress().length, 42); @@ -15,7 +15,7 @@ describe("Wallet", () => { assert.notEqual(wallet.getMnemonic().length, 0); }); - it("can be encrypted and decrypted", async function() { + it("can be encrypted and decrypted", async function () { this.timeout(10000); const wallet = Wallet.new(); console.log("Encrypt wallet"); @@ -34,7 +34,7 @@ describe("Wallet", () => { assert.equal(wallet.getPublicAddress(), wallet2.getPublicAddress()); }); - it("can be recovered from a mnemonic", function() { + it("can be recovered from a mnemonic", function () { this.timeout(10000); const wallet = Wallet.new(); const mnemonic = wallet.getMnemonic(); @@ -42,7 +42,7 @@ describe("Wallet", () => { assert.equal(wallet.wallet.privateKey, wallet2.wallet.privateKey); }); - it("can send and receive ether", async function() { + it("can send and receive ether", async function () { this.timeout(10000); const wallet = Wallet.new(); await web3.eth.sendTransaction({ @@ -61,40 +61,40 @@ describe("Wallet", () => { assert(toBalanceAfter.equals(toBalanceBefore.plus(web3.toWei(1, "ether")))); }); - it("can send and receive org tokens", async function() { + it("can send and receive org tokens", async function () { this.timeout(10000); // TODO: easier way to get the private key from the testrpc accounts? const wallet1 = Wallet.fromPrivateKey( - "0x8d4408014d165ec69d8cc9f091d8f4578ac5564f376f21887e98a6d33a6e3549" - ); + "0x0191ecbd1b150b8a3c27c27010ba51b45521689611e669109e034fd66ae69621" + ); // This is the private key of accounts[0] in the daostack ganache-cli configuration const wallet2 = Wallet.fromPrivateKey( - "0x2215f0a41dd3bb93f03049514949aaafcf136e6965f4a066d6bf42cc9f75a106" + "0x00f360233e89c65970a41d4a85990ec6669526b2230e867c352130151453180d" ); const orgOptions = { founders: [ { address: wallet1.getPublicAddress(), - tokens: 100, + tokens: 100000, reputation: 100 }, { address: wallet2.getPublicAddress(), - tokens: 100, + tokens: 100000, reputation: 100 } ] }; const org = await helpers.forgeOrganization(orgOptions); - assert.equal(await wallet1.getOrgTokenBalance(org.avatar.address), 100); + assert.equal(await wallet1.getOrgTokenBalance(org.avatar.address), 100000); await wallet1.sendOrgTokens( org.avatar.address, wallet2.getPublicAddress(), 10 ); - assert.equal(await wallet1.getOrgTokenBalance(org.avatar.address), 90); - assert.equal(await wallet2.getOrgTokenBalance(org.avatar.address), 110); + assert.equal(await wallet1.getOrgTokenBalance(org.avatar.address), 99990); + assert.equal(await wallet2.getOrgTokenBalance(org.avatar.address), 100010); }); }); diff --git a/testrpcDb.zip b/testrpcDb.zip deleted file mode 100644 index ba3fb4d97076794fb6160598af0f100bf9f1c721..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 257677 zcmb@s1yq#n+BU2ppa>{RE2SVMFv-l&4U!_=Owu6Tps2Kfv`BY%N(qQ`w=_tXGziK! zKF|8U_5S;L_x|4f>=zbm4Fl`C&-*x!IIruTr;3EvsIFYcf8TtbsCebSeCgs}J7OIi z?VqEiQT(hZD_gXsJkr4o>%aG%J`p64W`D^$K5#WEG{=HH_D5wA& zhK7KFH~|zAgoFT~_*YmY5CDaszz{e9g@j;WC^QO#1R{U}7!(u*hoSKQ0L9mfMPa~y zRzl@o!$^p);_Bb81PH`|u~0Y^4-5_p1fc;qG!g;mW!4RT9K(QHw4gQCqfFW2k1OtWx@u-6ZkXRH52g1U!PyrMO zUm+5Y21GyrfdxQOFt7j`f&-$U2rv|d|1$`NfI$%8KPxHXDSiDPf&zsB1hDv9M1YY1 z2oMbW%?vaGiUK1cNF)M^X9oxg2EsuI6cmU?A^->&49^@K4vGMvP+$-MT=AP3B-e)v z{fhqz3hBQ?S{Mw8L18iY8;1iCc+O%002CO2!ot7+I0OO0K(TNK~QB?^PZA6_kIg5->>7TLu~g$BP#M zM4+)CAP`Rs6c7o7V^9JR7z~C%A@ODi1^-zI>)h1gUn}{yFhL?ga4-x{N)Qkt0D@z& zZ~y`gfTLg#Gy)G13XQ)$Q~(46px`Jxd{_Y}3IlW($G~fbdiifZ%xvM&W}8492@U68}B|j29Oef^QrG zgFy;l01yNa1cX6hVDxXzSNtg-nZ%b9e+A{=>JJ740f2ybPvJexrRU^p6& z2m*nx1pFsyeHEH4{zIx@@Q{O%c(vlt7zhd<{ty@tgKvZY3MPQpGTwn(-uG6IcHe*ruhP%so; zDF6@>4MIXO5Ewpwuz1gd2>>84FcJm@pztt42>#Gdue7@Af7l)j1V3#6K`?yU;3qT? z4xh>ZyfW~a3`HRD`h^3bAP58sL4)z>1Hn%$5GY<}zccYS$?>X&{3&I9M-BL2OZm4< z1q;Jl7f=9!0$}iC0SJV{y9ok`!{0ETD*!kW4#Rf~pGSBa!=PBarQz#F;pZwG27zZ4 z2nzla6!OMVhX1fXcx!{eLHJO^`x^!Tg#Df$q4+rx1qFiy1R!u201Lv$G7biYp+I;5 z@s@)p6##Fx_%|RZJeB^G&jaV@L4O71A5Dc8KV|;oaIIu(>c9#F1c&}PdvVn%k^gm} ze?*t&pDy&T*ZIdh{HN>uKkE6P-xzpXyW55lM)otduFrQ->draQ_9L;|7}jSRmXK1y zDWYfB&Q9!yNP<{GR~c-EK7;GtJx2)3$@#A~y1KYK9UZ8~f@hPw;m!IlhRcVyk80}a zy*=!l+)nz!mR4eK-TT(eAo(KSZDeR==+1+_-VN@rFSQK^3N#O2k`I>LiLv-ndDm3e z!)dwcm-=&i>t`jMR+U6WlH?4vbb)!5gTXB2C6R6m>%l~^J)B-8o3ER0ie7G4wjCw+ z_8Z)HFlz7Z^?&0Fc+&z<`fQ@HEfUQ7+>URHLVQwqrGKS{(Fgc_-E=4oG@}JfphKHi zd>qg<#8}hmRSA&wdFpVRuLnBq9XIaz9Idq6Z4R~~5h37~g78<$d#4>isk*i(nqv~8 zI(2R;l+Cz(_Z=eUm_`wL#MIqWmky@j_In`Z_V}Hi>0oIJI{JM(p|7E+zBKZq{&3Ms z^t&;wG)c9)CzHf9snd+vv4LABuy>D}8f!w_+%LD#x-r?T-7_KE;md^B(YtDFYRCoa zpx&1Jch#hsZK&l4ZF&+6hV`O&l{Xp+Y?R1C zx65UYXR8^@S~wo$|E#z)p6Pq=UWL-4`bOpV>utSNZG(dZ5an>we(nKtiVo#%$p(um zEvy$;dK%h$79l1k_^k6-kzA8FKA0Z%?pVhyhuX58wM3#XG6OqW!!E%Eld;h7I`a|x z#58DrI?z^In2sTS`Hz zq(fVAo9${0&F#)BM_Y{HR$f;Pw|MQF_*RAo+UP6hgkJW=;VxsM2_V|@*Ww7J-e`TG z$w*P$zoj8CB&D5V&-bBiQEk{(mc7XA=_nGW^UQIJb*tiQdFXD{U!^I^Zn}d7P9#F3M`-N&}%Z9JQ)w1#<%Ws7>BC% zEw?&*ogN~0H*GwsqwAhk1#f$f{Cu+N<}%SV>sFlI&rjYgp^zE-H9R3EZ|eKdjFz=! z;BZJ9w)Dz-KJ4Q@#6;l zKW1K5^A^1&cEnJ47bX7`n%=>2*C-`;n8-MFNZ>Zi&}q?Q=m!6{#LGe?lTz?w)znDj>hBh2MeBd@#-AIo~uY<-~x7;FtwS}FQwT%qut7Ku7ovtrqTOL@n=_h+8!URbx;-K(0h z`c7QpHOa>@ncT)#*ZK>+s?}#a_g0n~hzlgWK8xXgF9ZuvatuKw5xQRiP&*+RW!X*m zQm@RnY;-p#U0xO8G-=o?eajXw%KR(@N*})!*K*1bHAi)jzyi2rS^j%HbAEmr#J|ah;g8`hKOv(0Vm}N7Z6=26<_}T9_m%3hT*| zFOVz;Q@{SC;-E);?=5SLMY}~|-&L}Reg+G9b8f$$foIOMOk2aM5}#$%h&F#3k| z<8)C2O^f$mX&(`5eb)Mtr#Y#u>_-(FXmlJkW?hxWSOeyWdt#}kXU{-59;Za6^`nWh zwzHFI_aWEJ_VL10Z2lbj&81vHyc&xJj*5kVKpVhs2$4Wg2Y>nu!wa%lXQ8;1dqOT? zbe7u@+v>TS8tK2*l@M$;>s7@5HPROLh-mAnyK2`_KX%shj~05U()#}=f`t8V2@?Ll zwUEGagtE;DkgRQY-`Hj0b710gf{8-{P1;`p$UjL%xwzvh`{H)ao#=^oiA&$sS65w5 zupaPwpX!sN`i9AQdXu`zKDo){&wY4#FZbyqylMn6;ZqNG$SB{0Xtb#5Juan~SS3^c z1WnYHV}EWOnRdh~dxsr+v|z&QL)!8mXv<0;kODJoXzxNe6xd9Q{u5v}FRfKi2w ztGrepS$GCH*Ap2&Qjn;pPRi~TN|CiPQ{p)r9$DsrIH#Z3X zbfY2guM7Gg0|eQQQ?@aHk+tuFHXpM^qkopjp(mWc$6(FraGiK&bepJV}^% zflm2e-&^lC^fcqt<3jylW4CoGc+N-Uqy}+eZw4!5G`e5Je{wcjwOJl~P$y@!lP_jN zf>Y9a&m~y3O+E1dI7fa&acXmw)3dbkwXJKBT?LH|C9q`jzHNrS$N7p= zLVD^}40opBamx-yz_slB_{fs({hakG@TF5y0Q^7WOb!A5Ce04jIL8hLpZ>4sG5tbgm*2u5Yy>9CN+@u$ZT; zX;$vd+0K^m#rOVT{@S(vS2uOr*(7V_A_KZadOpjx+7%`#-pHlz*|jUJ5dMH76uPxO z@~)#kyIT21@W=3;s2e4NCw=0Xjd0!fUqX%#YHMIW#a0NCZqWAjI(FTGKKdkVBUo)D z5qCB{Kr*%_YPSbGKNYT#pGW9n!-7NOZqIA7N>}HdU1_!g(oF>hf9SvGy20N#V=TNT z`2|@v2pj&2UMD1#2pb76ED$Xm%w0s1+X1`f9zL@e?x4 zdtEs(K&&b9L4{F}v^e{rud1{#CFRZy!YUW?lKoe0;`fRn3HjF)iPw@Q>EAlM zJ?g)jLw9EQV8=s*TI(RgI4s?`a8%7wGO;iwD$4V1blIE!EA+aB18N2l3dv*FWSo?C zoyHZ*pPpCbD7a895^n;^Otr|bNi(fUu<`G5HGKi=29e|Fwtg|#ttGy{YFJTR<~b@}<%!<&CRbh-QAEQWu& zx~)-Xb00`{K|9KI$Z}L8C_}34XGp}w85Be`y~E_}^oic@a%P{GPrQp|{91=&TE|tQ z-kuNcl-y-`tsevjxg9QLr-B7Jy#{@59LXe_igxi!s>h|uKW@3I$kIg#{t+(Xa8;^} z{-&9|ul&`J{CKhnJ#kujiWZh{nZ54?&eDn6r^j-;m&y(|O$LY+rD^uVOZ7H8!-FMW zeTe{NgeyOYoTSmFR}SEsdcpKI^V&QK(%5`9z(ap!+uZtGa*aLSq9qO^ynwo)lT;=+{%vtzvDN zkS@=p{p`z=Vb!lpUq_siU6Yk4JdWHV?JYN~BNlSjD-@$X5h8^6zJWaVq6KFJvz=>A zlX|*)>i9>_cbPQ&cg1Yn9LOsymwyueX8tl#x=aZl-E;rH{najs_>*L@YK4I~;Cuh!Rn+4(X5>ATM@cDJ!rCsK~ujoaiUU_~|NPFs13 zOEo!k(=ou1d}09I^t7jBKxwgcw#!k zn24(b^uu?w?V}1L+C;_-#?KF`Un{xzx9%`g9$)?tjeR7gtFM31I&;?lj*@#)Z0lL^ zWfHT9;ji%F{!N?2=tYCi-?9&@)p^z5hAVH#l{DKK6gqNweY&&G@T6D z8f#a)cS@|bb?aPs6Yb`$AKcx$t7>d}tKSDv#DA%_IcxcZJPP(s5BG≯ox_}k6` zfqIqM{ljj8du2H@;vyDXiL(R{Ylefs!p+L-X&+4vWu@1OuwN0CfoW3AFNJ8dm{ZV0 zpHe4$?p>|d(+p(ST-T!*1y#l_gXf#ropjJ88xJKkK9Ex1-Y!|J@sJs_A52QfhMaPd z%fLBQ)VbXh^eMMfW|hsKY{77Xa`zmV<^bbrXYuKj{Q1Torw-{jUTD8IE22zuWO}t3 z{|Xqw@MN`@>>J;Wu8$G>_fY=9TOh_eDdkTJ2xwM*VF&<33$siZMjJlmIZUB-JA<(ZBiScG49q;cEn> zQgvcr9uN|v6dW)hcgc-wA?0! zntbEszXTiky?8Y!UvD=#Iw37YoE<};llm>)dhp?mSgM9@!FlNqk2R@wrM1VDAev%> zkB(PB=W0817lrK!RsPPNXDE)28TFfmAGHh=1#ieC7MA6H)-~uf8zD?LwWwzv1MKawih zYsb_UpHy6=|0=1d{#)||0=Mz^KMf%J$)6+?@FOLohf&axGsu}66izitS5y9~yjY&{ zTT`s)sxOXnfFLo*0`R!gb20raiOF9mGb?*x#jYkhQe{&}Z^!RLvq-qS_;)TjPNTBZ zP|;KZV$K8!hu}`lpgtn06eh2JQkE-G0EPRrWUEgoeh^$&W)t95X3vfZtYK4$qnFXU zW^vV1=@XQuOiIe-8u8aO%Tm8M@~10yD7{19Rc{BK>9V0b=2f>DLiTC~L#Jk@7?+)1 z*BHq+l;!aBb-4LwD#>+T*T-AItyx^br|Y9$gdf=c8SUN^+v zjzk?Tx=SeE4;Fl=qm~os@M6|Qh|6Stt@*hsx8Q8C&)tYy2c8${zCW2SS4wbZ=-u>$ zTbn0}auZ#SqWf8wg<=yc#^!EfOznnT0o3r_{A60|bJKZYtHjDsIVhHK_e3i*;2r3z zpJ<%u?2y8^ROnJ`F!==$&9HE1QP{$IC5`_F{xC6Xp|1{?&l!@nS=u9%HE0vG4bTcV zsz#j}d!k8cXzNB~o0Uj!*2L*bE)69BQt35s>3@a^CLDED8oHs?0^YLeQ%ikkm5!Ko z=$E0APmd5ZXO&O8qf`_4+EVI3kXi9N6T)}3rHT96@=EVr1=4GQg9UdKO%?Tpq)vL3 z9!9vBD?VT4`_O7|U{J*W^Kk3dR>ntyL8rFalJYYfr>M`C@{$vu_t&?0S9X5D3M2HM z7;x%t-I34K<9=H?#>Qz#7&(k%-?~Firz1k0>~%$wz_}IwkRhqYKzfR~-s{I7=X_Nm zGe%nYQ=wSmzrjnuwq~i#Z(h>&Gjayr$^5^(eEMH_Ij5NHAW>c^UPm>G`aqL>%GQ|O zzMxXOZeHVdf9EV?_(y1L-2(1~{}){XTJ4XJf?Q3u@%SYTE~4=Hmu1J?m71I^h6=k+ za)h{Y-AG$MEC_c>7+*2G+niOK`_$^QfkOdMO&P@lw`q0@DWd67T9YJkUh|ML(;%YAAeSAwQGBwb9AvCfc<>Nsaf_}EMQ zoDqe4LR^#Ns;4t%mlUI#ZO6~~sJBSSUXx9>djnxIqERp2{{-DuU~*0Ijt%NX=ebe3 z9~HN|X$=Q8Y~R9}(XV@Pu|xw~pvd~bf{2=bobMzj$li(B}&)NB(Y z^TrvkCmZfh9VY3vvN|wze%FfBthM6L*1tP?G_doH4>cxEH0|Ne{wvF8c3q z4pgYAY&-Sa3q^Ou6-KoCg|SpzJpVlHCx)1RHH@SH!x)iBIA3KIAuNH9asCeCkoN2 z=#7I&}XNf-ZKcH+iF3|+3YCvIpvTZ`if<*rfE(k zR-X9wjZFNc_nJ6U$X&Z`Vef~hV!`;p-nC+8AA;W__0rJ8ADVxcmf&9PQk!%bnK#}F zrGwJ`Z$#U$aFv>}R1r=gGOq9MWG=yD>5eKzs?CTdVr2HxJB+`zU)t^2b;V7!^)4-{ zR5>(UsyH*#!h#P0k9tQ!WEInuB)X=RrEA3(&W(#>%0@pDZaqg7Fcn#mJCocv_G9^UR$;GE0k8{_Zg~a|^ zyxuTlbbQd>i}TSakltIL;Gp58**Q#N13Ci|7kJ{-%~Qq%pRYrH3=CzwHA?lkvQu3) z8@L_&;b!&Uw!`DaYQPzu9q0@P@W$aq`+6>DfWlTH$TJWX4&Pk8FDR zoEZIc=R2N;Vqiwsv-xPlD=kfxo=gv1VXZgMzu%I2v3nQ!cqZ1_r|xq5O!jlv5ARI> z3$f`i%1fWsF<)-)Nr9MS<9F@@SLSsW7f7{N&kQias7JYOpTH_4ttNGgK7z;LlNEJT3gGqy%2EgNDJIQ=91{^Kt4#Yefzsn%@j z3ntI{wa=Mpgmnfsr861sUqiE)-XL}1(0tm@8=ES{#wyN7%7wn84VB56{kmm1@ap`7 zb~05#bV|%L9F~_#1zZY{)qFP?q;5idmsq-pa$sJFpL5XSa2~akVVA{l=szE4+5Mow zBAA#xJ{&i+dSw}4^EKdC;p&_^1TrXCQS{~Y~G9A0+pJbHdGS$k9LSUD|Fkbx<2*H zqK0m|@Pvl?W)`QPXaJa%bLb8#zlBuPH(r^uhA7{D&PeF|39DN79z&l!bAc2~ zB5lcN(UB?l#)!8K^QMdKwf=?K3 z+;T$PimfELgh6fbA=h3*?Y*Lqk>l33ndizLQ@qJ$jSPImF8Sf0AK_{aT{Q7wlgpeP zl$Og%ZRjiF;T?+-nOFV%EE;diYr;I~D1;^_9;RqhKIO3}^Sxsy@g)io$mu$?Mwqfn z`UZ45ao_E_ax>S+^;*I%$W9ziXtB1bf(gc7F)?ng7y44?WyFTwtKXo56k0r4?dc@Ozd}EI*Aq(`wU&UO^0%1WoU@3MxLBo zxjP1}I2Fa%Ste>vZ4Rg0VM|H);Wy*#?3wYVkE?2FJNZMtySEp9Z9+A zhc;#oB@V^zJ9UBrt7-Kk^1N&b1XvRKD|Z~Mcm>7ZW~w&=q@Ujz>uy4f^5u&r9Q3S) zRr#2}gmQ~qpZ7i+9;wO4IlaE~IL)#7E_03D8c=(6ydzaM$V&n6CTB1ps?L!XyV-@- zO?RYrCZ3dgv?Zr4Mf(1(Z@RJnoRuM;{eBaISq=3XlKMa$TqOyLrvm zPFdzFsevZLLmKv0?*qsMvU;9m&{wqW(?s#mbX`vsA~0G@9Zkpj1hG32 zu;GfIs;%F-&~7$M$)8`))*BlXH?7a=G^@LL^|;^4@!4dpPbK<=eNa()qE;kukh~-v zhjpo3eskIF={R+n)jDn`RD`!ig4NL<2PxZTQ8aF;pK3IhMvv_oHCkRr#n!o_w@#J7 ziIP_BA4n)&ZI@z0vJ(ro=ysUEcJOnj^ZwFd=z;C|-YfyVqJRRU9g}7dP*$hlphAmJ zqFF{dhwmD#!9$MTRfXUCL24RSNSNhUgZ11o=e#;WtyN!P?cZz^#`@C_Qu#^kHq+xc zW!>%$n!LLh8rX!o=pHUmtv+{OKlk|UjHD@>@$TS2@MuA3nk%^)C-iE6V#Aq1LZe>* zmw&F_d`R;v^^TXisOX4+Z=sx0QB<`Pj+%8bpEQOz@(2R>$X!-Bev>hV|GD=G?Qb%^ z ztJ(6?;H|=a=mzSciN+Xpq0A`f>jAy14ZNB)w})DpnHq&N!^mE{QoA<;t7*>7E#5_lUPXx=B>5sWOoJ zMgQw5j`xHsN&aDi=+*<8Zr=~%Yl`r?0M@^$?Z|F7rfu5au5)$wR+tfG zYP7N5TWA&Y)^CVO8~zm=+kV6DMQDgZz)z!Qy5TQPBC2IRH<+8E&cau{3+9<`%bJIO zQAo>WFkQbD6t8Tx%N8bq%zVA3W*HV?Ro*M52FIQ{(IN;tae%cx8mQkeP~`MkbR?6xhoRXn0kXv6%b=kI?wE_NHMT4dTsD| zBNH+zg6h>65z||2-FcNi;n(weuoVsC?u(pk5x~eWsZsTAJaF%B@%ZI_$8qR#n}$N} zO_OvXaDrNye8uhH4A=TBR^dEMn)di!X&RZ{SA&Ny%tm|>fdm1IRqc5p=}^uK-G#tU z#L?k`8l5`6in&sy&N*M6I&sxXz1n@sa>@7=^DEj;JiT~K&gv=q){7WU&w_zeoC!;y zCP|uuF>>u`24{3yAR~i=zdPm4?L76YGP;2viH$A63Nm+eC}s5Sp@o_tWF6!CQdBGd zCCrqPx@#yk@)jaHg=dYTvQ#SAkr=(>F>Eu>+Z7l`>=T&EsK+%+`__wAkitE`-Ivdg zLRs2&ysyY^nACE1jnz)uBvPm;^XQ{WxwZSN7$?cSE9<(gFOpxb2*{6%k6KLx;1Z=% z1*@)AIWS?V!WLIqIMpncB2DO!DVpz^1{3mBA;U!{kUC*An!KNW$5T~vQ={gFz5@De zIw`vqRa7Y^mFj6FyN<5Ov zF*>u)dkLQLJGu+C$NQk&J0g{*6}m)hu%ULJF$?7= zfhZ^Y;pUxspVBne;Y_%AZgATkdtU!V%G_~Ya1?an@QO{dMM@;q(@9w|w7RQqcyZC) zncQWY?V3(+R)^#G*V39JtG6zNi6-Flo?peqz0sW(Rplgt54dEPk2nwg?{ugX%bhvW zveS>cJJ+jvBgT)m?o*toO_vBS=yb==1g;OhXv|fQc^yO*(Uglb9|BM3N!XNO2v+Qc8+={53U}>#qZiujT>0a%)~IZU%9NyScG)su$dUO|QiWRz8x8Xe zZ_X~c$X=CP_6je+wT}UNzSBTw7nockW^JCWTNA1vjR||w3ZqN}tZ&Ue+54zeXPyt@ zUk}_1B7Ox`a*8u-b@X3&0ZqzJBKfGEbu{Z=J_SbP?C94qC)OJ4i~)c4y6A3Nv3L2W zyUZT(dcS$QKT_y_ldR5wuCh0`GaocT(()qvfUCN@Kbn|WDJrDs*M6{m zdou2FBp$gK03Lqexk@kPxJuX0rZS<9vDoF}4k&8Q;OOgEUwR+JersbSKr5HCS?$q` z(zesrEcPiPVvfzmC@*EtLgEcN)%QAc)D>NR0wLakS6Z10r%#!!rcHis*pANnJd+HH zIhi<|+b_~Sx^~9PCh6~U4}QO0?}z1(HJIz%>hNn?r-vckaK6Z=BULx7MRJx12!b+fkqZslBDt+XA8Y8{SX!m3=x=q2 z=%dglu{O!P-danjm}J6)lO}aFTDGfa>n*u&-hbF)us9tuX31EaB|!$J@{vEA%<^Q> zZ<=o&Lj+Em7J=pF%{t$ypBSx%>&7lfSUsw}BNjEPAm_+!>Pxq8oBpVwRq<~xU? zy?45|>z7AQDo>)P>f2^lgkBBpp7y0I#P3@5?}^&DG`)#jeJHg(wwxD1p~y2tR*RM& z!XzpNyb#qeEIfIc|Vn*aW3+&A1IyQ3G&#d@c-E+iT zV%^cAOSi)^cmJpuXaCIM3x>Cak7S(k+Eg_23^%}V%_8l(x4d(VmArjc)!LplE5aW2 zvmXq&2dU*U0=yl+%gNF!Mj|$WdG8CWX5B)5xPI%2lQ^;KG-M!gNWh$Kom;g7`TQK~ z_Id9jMgT82y;q3C@>gS8+{Q0O0zOJ*cm2vZ z<_vDhk_eg6{I&#^L&mbOT@Pnq!RmssC(-qAj<_QCY$}<#+ZKbAIVHsc_Lq$bWeLhk zqX(WR=bMxB3@O>|319Sz5XZHKpDk1MC|VA1+q z&npE8WBOWl)EiZ%Gy18Es)&uz0}I|Gp<{xLv$KA_>U@Qt*$r1pWc2A18~NMc1S59V z(1Gf*`8Lz+Egp5#NtX%RcVa%)D^lTji6^Y{QY=dXoQ`oD*Vn zlQ*fV%b+r-&Q00&LsMDrLx+ORhf2jWQvqu9ZbRipmn!#{zWB#X*gmas?ItH(9fNUB zM|Yhy^#AC4^B5RoFj8}uWweG%oEqb|^eJg?&WzGng~`*~E$%x~V@4Uv{D$orUmbO{Irg6=CqDJHsz%RyOtY7`hBOrP zi)Bu^1OyuWG8|t`uy+|ZUwqJ9EJx(_Vsqb|ll|7_%!{8Y#ZHMJ#XC-K?^<)it7R`vFT!*p=@l@^HMC!1V1@>$q>Xj-@GczsVdCIIV1h< zJCeWGc_X`dpR3}!J|`Jbke6qSY;<oI_)cbtw5`4TohzLWr5q)MJ%5_dj@VvOzt|o4b$B%Qd%t2r zA3snDx0z6H8+w(|5f)Zd?6Rw$x4phIGhU~WRYolcRaURZ5tvPB4w<+UX|n2FuP|||_vu)#eS0+WmO1|9BEsmaF*CFAm(SD6 z$`sF(1UWRuU~65z!R#~xgU3wqRVntJl`g9mn!N4b8mhje?N-cptGm0ZEHD4sTR5{- zJ!uI)Aa@#`5`PTC$zDaY=Y_ro!65}&ddg&NFA=B*91~{KB7=}dAR>D zwuhOCS*-C1^78V+*1Lml!)y0s`M^Kchdh|2t93Q({m*2^k%6CL!w1Q`Vza^7uFOsp zl0VNK@Ke_SZWr9V40~-%~6{2p;#4**Bbt`$QK3AQo`1EEM{mrj# z%EC^x!apTO^ShVcuK;uE#~yK22&6rlyI&r@rXt5^{+cyRq$#rUzU#4R^x6#(g{~oh z?Kb_WrLXyFTF@7+mG;$~M9F|nv0DnNMEe0Ify`3cYvmNA_fxCYFP5|04n!Ol<~_yq z)GR?{Uuj(-Rp@npGNJnJ`tng>;+PjT9Q1Jv=Kf~wmCMnmp(l||!uG;T2PnSEG4`eT zI#6Qlw}+()j4DCx`V629p3nR*>pkl&Zt|mx)WwDM+Tx{&KJSH>TF{!^%J(eiium|G z&xs~)G!J4Xn?py-on@n+FUc#LBYv6~2gvc#9cP~*@>%=jV@;V;qZdmvn_e?K`$_seRHuCYgmX#e9O>2st`WrpVCsnVgxv5eG z81JueyO-E3RI69m(7Z9e7vtpd*^jl`CPoDjU>(??#GJR>5fm`g0*88A+zpT^GnEPc z#9`4UxhWfmX{Hq-pZ!!W$v6)EuRHHY=)dS1)J zVoMsM%^2;noj2p+=OtkuqqVb2oNk#1+-r))^{>XEncDhqXiiIvap~(~EwwS}hN>7v z>%o)vuW|2gOG^U0AF^6!Gg`c}Z?2hPR1}#h1u+^T3aWf?)djPv+wE)GeHJOPcXChp z9}l^`3%&jBjCJdS<-JH}r%GFr3Q3##mIQJ;;~k6Y^y%JE>Cj(K9!XEST9e=A^;nzg^-?ogLpmp1-rN!aBxyJF7n&`IP(|)WF_Xte) zDZiVLP>hI5g}q%T5y2*!B{Kf_sv~wxiHKa{s`2}m5}wcp2xB=30Wa^+nv~3aLiWl6 zC6C9PV&OydmGcR*-IvC*(dnOR2)=aKEfd?ch?~@=9dIPYfmimaKW9>gh#^;`LcC+j z1+BX?wy~Hre)?OKGLeafn$neFQ0>RU zCEL$&X{)U_BAj{c?&?l~W1bF*eUYb{bdT(jTI!f$Q&2Aa0NwA26mNL8b>AtV!BL>j z-sS=06`Fl1Ea~e=x!|yoSBQh0 zN5^77CQ38T%;>c9c#kly3LD9*AEGEU)`<%{+OHQbeK;q2Qasz{l#80vY2w4|I)7{{>F4t82-_>B3{pv`+9`&U{g6p>FLJE+Q=-WJ&C9zX9l1s= z0Sy%7BF2=%dXF)&Vm`7OA&qH)s9t5W+-rtx=~3^U?%DSBx##D<6gf41Cl%w#+Zbgp z<%t;K@%Sh~CV(0Dn>(vq%s;l?gC&eYEJ>0MuZ#Cd37JZ;)? z>$)k9?>wL}aUq>`Yuw-`b1|wV8fu`RS3vCDS7gNn)vA6XS%lWNT6=?D5B2ZI;&Koi zq@fItvlF?6Kby2RrG(7R!4n5>L2NKrIfZJRd_*Aq@U1UfguT~$ZOygJY6i0Wr|(nt zKI0)Pevf$mb!Q&qZ$E*g|LJGgcl>;*T6vwM;TcIsaZ`q7S>Uq=&**p^k)4cE{TiYg zqmI=dAFi@SHJJ{R)dpEoD-sDlC~DMuo_pJwc8}kCMtXy8ORA+$a9T&nwCm*O@tdXU z!f`JEZ@=yNC{HsM!)nV~x|uT<&7?VM+p6DuH}~B&)ve9F8}(ed*saI zrp?cg*hxgs>r$D<(DX6RP2}N7eQSE1qoX!Xvvez1%*0q%S*>B~jJ#jk7%i7yurA+e zRGK3B9eBXwS4#Cg*Ab9ak;a8 z{F~S4eOeGvA;X>J<(QWE-bak>v!|aSFZ$mr^+mw66hyh?aV(|53$)YT(Jq~& zO{IvrTOLWYKh53dK=~~nNr=mgy!xqg!r71B;}|tRSDHn7tW@vJ_E#@~=*>7E#ZE~1 z7jThj(>gp)jc2(2x`X+{EeXwR)>xzX14E||>tsA{HtKAfdQNQGgBvbnr}^i8{qZD0W{my6|+L}JR5 z*Mtva^a5YE%Zol;-Qo`UoEX(iv0<{pT}Z$p1S56oZ@lIoW z^yqV5tosw(V~#cFx_;N3ZZx(zU7t9Pr65zQYincB_|(YN-}F!2ja^+muf#ZrqEI}p z9@;R&3t7@>BwgBY15~a)vZ+%z#97q8N&#Xo_sJ^~R?mk@IIob}m(JZ?K|=@IrVMsf zer-bdl3cc*$2EEsEQO^Kz^(Qx4iwb%y9R@a4`MENUth}#Aw)MA;zJ0uf)#e^x({-k z=m=S#Vo1)w^*zDWrUw)c{fdMw*NBOo^3!*Zb|a`aZ6_?-!uRy$f+XGc)LZa}NxX)bI$VYx3;F`tn;4Jt%b^C#yvn2R!uZWvAnVc)FR5dEb;y*5sYxv-h;Bto{ zlNG;;wN4~j`oWpe{&;G*1n1qnT->J&SAdi~CYHI~c+|Ylwb>u9g7{e!Lw zd8@~6SIM1QTs9&NwK3*dkeKP@gz>&j8JfML?uM)6!|0J#7Gu0)PFP)r<3X2E?*x5! zjadM4D&|r5S$(F^T%`T4x+OjahZ5H0PeEd3f4_T=XIK}(BR5!{zT6y=EW+S`H97Gq65?CQ2FM_-)KAywM|E6^!!$E^i_ z#D~r>aUrEgc`qQJu3$-K%S#{#R?Y-yPpy@19YoOrinwr9!x(d4Cx4&5w@NyXR`F$; zdHp>w6mfrL_wHW*=3D1H)D|lA9|rm&!%$!FD@UV%^gq_0|GO*=>;DLFEn4X zaW{8an_X2!5erW6I^5^Z*u6x}<;0G#4MBmIp2(u})Q@&8o^`!vfd1y)0Uw+M7=#+bEwZ=0 z4%9zSeU{ul6mN$<)-Gj5#=9LK{jz{IiZ}T4vpK-y6Q5<6WPZ-|SFGvK;+V&VX~%&U ze-Ev1_T7d!Fv|-w0v#Gg?ziXHsWkx|H%h9XX8}j5HVG>Z`YiV(kV_WPt2~?(EO88Z z&?#6Ee{wOwB6@yCj@Z7kgrqnsl~fSwj`g%*C7_XhP;4gmzU#MDzHT?03ksgxRoZbT ztPVaD(}Dt%S3%={1An=Sz()SrAGMCXjIooRC0+;Xw&S z?#PoXA?EFk}7DwazQ;}F+5?;{O!1mR6I*; z#HFz1m>eT2Y^bTjET)R25yE)g#*kINsL6s4V5hmx!E2z$36v*y!z~->vR@TW4-Z1H zUOfbv7K4(bJMbEX=UKrP)O?w{lL}?0m34P?XG*^HI0hGYf`%zVbt`3HbSZf!$j3Yc zCvu7%<)|s?rimdU`=!f(Xw2F$*o(4t!@tJwzgeTrZjecDaK&K#{Czj=NQI7nnYtLf z*Z2Gt_W1kWJS#se#rTbW-_N1}N^-#l`t?a)|1 zwUfP)1-`Ww1r!oCu>A9Pha9OK z4M|P|9syqr^_vR4D&-k_mdJ44hC;i{a&A(Qh2D4jHs4a;j#s;0tNq`v=3pLlIR8Rb z>HU^jfmIHaoy5k<91hg7SCGy0&S~MKwI;#{?Utn?jIb93bNWWkiOHqDNPqJWTC5KzbwTj!g20ByaawG7-W+m=uIgN14LH&zZ+HPX{ znA0Tc@_l51s6N{4d)QiAG6WJxMGji1sSs8Z-P?X9cHRdJ{;6Pvq zgp7Ij8)5N(TW!*G!}a@kdroZwd#KKNd=46p6HK{b`FOc)`mDeSV94=%r$Bi}_k(?V z_kUmfe0mxilBCh*Bb2v(&#C4CN=~oL6>JKAB*fSGJ?n_6GXd}Z9tnQ_y}P#m$jE_y z-ru#y=DZ42_j!4v;e2_znxbIvdpe%_{O3E7JMk{m<#WccCT$&8Y9%xVgdfhfh4;i$T&?#41DH&b2};ftrRndz67!LYaU`KXZdjndq~I$$v%duYV}8Nzhf0o zM^ULkD6`8FTXgS9)1CXNz|;2`XoJkO-FL37BHzO$h|`^)=T#Mcn~Mu(p4Krx?#_8+ z-OcQts!6C>B1x62%;33;2INm)d*FR`SXYxA8o!xG0`NA6IAghkd@WU8kRO8AiOC_2 zNc}O;E&nbhij>j?`|80=XsUW=6&2x1y7G%7K7 z4j8o{Y^~BJW0dM|1|9H6Q)gB+j4oxGv(lg(Mb9Snwdi>*(m!G@Herfo$su6V3EUsrhJ_D}-Tt{PJ1?!)CP=iN4Ae6ZZI^VZ z3bxm#i30pUt9`yP@GXg1e1?qf(PXHMp2Dj5SbXwtzjow5b~&s?t5m&hLD@*$Yu#cV z_K4Ij#=S7EG;5!~zhdMXTGBaOJ21G`ZEWfKX4UTEDb7yoPW(i0c*QjC%W{C1(fH51 zM>`;80nd7-H|P3k{w(a&#_ra6)+pUhddgLc9!)krL8bubBm(3(OCf`upUk3npI^SN zHc@t}B95-f6Jxz^s{uK%5SFmdNg6HM(ZnJ{IMWWJjdE;!wzB)iC-)LiC7=gV#E{J) z_Y35e!y9lE(XOm|5KeqT^Uf4mOg|qk6(FxRvZ&7@x6Gn)ft_m5PapXP&8FbGg1kqQ zZ@vF0w=NdyqENWd7ADTjzL=B@Wwt)GKlXM=8iYaDiP&(6VbqeWJsN zs_Q~(Ruj>pdE*MxAj3t}r1*)FsFwPcw=Q> z{rVmGu^-_$=n>0b!y9e)d(yd=Qr(iLcJ*W7(`6^su;FX=FbL)%r1_$oEuHJ0j)~9P zi;5%vU`EmEG}g_@Olw3L_;5XGMd6T#d;Q56HcAk7!;^w8K2_CT+Lw%PHd*P@Gjne1 zcX47q`zMKgC%c0paswmjCnc|>8ENoY5;bLrys&Vbl*&Kgax$W#kuz+IbagZntPBQ@ zNI_D)Mc%r#+;d13%g7US^7AH0XEXO8!<;1KU?z7X`A`|1D`${$!@#sh z*SU;W`f*QpKVU>SrN;J-o)L%n`9;2Ay?&;l@TJ6ZurPWjq9nVf_E8*9GDK<7tG|#$ zw;i|M^XH~7Ln#!>qo)VM)6Io8{a(E_%gYRq+jD)F;=5WbYynHL%GENi>2wBQy~$to zPP5~}jmc2NfLgr<&N1H~-}Urs)WG(w_a7j3p0jKaPYK{t)9XpHytEg(mVxB-`D~+% zU+c?1n~v(IoSfK5Ml+NrSwcDNrX&JvDIK7l-{+o)ypvJy*shzXe@V0WxEo=spso5f z#MpKsA2PqUXwx{Oy-88UH!DOn>3KciX4Q~iJwP(7(8t)jqnOb;sbhDgrEiY8wyZ@k z)f2h!W2=|w;b2RGC;MxM-1l9m5eJ zp3ZK4;VrDHe+z|mONYf|>KKqvC+vk@oz#Bz>*fV4G+|MyCAnSWL-`a|m#B*D4?(5a z+pkmR4-W#)81_6_b#YBM!!n8#yJekB2~0?0XPx5*lCz^t*yJKRA~gT_#ws(E^K0_D zr1>y2tj0MR0k%NCU^@)MMaIF+s;P1)-_1XD6T~hl_z1KoE-*<2$^IDBB_4?TnMz_j zwNRgF%Up%0QG1}z#Q0}qp`(|C* zWi%X*SUg1~X`&T${?==B#zsF|M^VXw0!&nsmi6IC9aOPJvDf zWhiLefg@#p=C!q{}^~1Qd6}4U9CV zYh5d}xlOzwZ{&9%6dmjJr=*|OSw;)QfgIC1mQgFTT6<9sb&aA#3W0O!-}Zp&#e`6c zYx&uWk`Mr|3S`;jdGDHHAYNUvaD)1v+YSy(T%$Mu$K4U{3htzdc>4<8D=p=vhqXcx zkT@R57y<9iiiv=UQs<@MqEnZ69 zH_OX$8!FqI=9I7Fby*XLz#bTl5@60_9%rY~`ex76;6I6Zye^Kj02YABEeio6$w|MF znLbi>D+gMK-hn-n?F51?4-khet>@&rtnxrzt2OFS_3x^(dg(9_yxmepmx&CbL#+5o&q!ynkgcy6xpxGHFj13M3B@~Mw0 zQs|~EMchq=YD5qTCu3Asi|o*>XG_CK{yp$Jnp0T%++6A1=YD7`RK&b{umLPD2Koet zIVmP`wzQtz#?)ao@eO~#U}K+JYIB`p1)jT6LcJ~=UNVkA1Xq;fIfQ1@ zaF)k;YVhn?I4r7A(EOEShP(ICQWj0jM%Q8izrt)#_|vY)iN`(|f7}e({oeGDFX5k_ z?GYWJhI34_)7gk-dAY)vT-V5qtu$K1v0P(bN13PnOYc^V*xlPm1Mq^^+o+wMaCe^W z8???SrE<{n{F5l96T5y*W3igL6=#;B2?fbyJPr*+4CnH<`)6n0qqtEgu07X? ztJ{6TR5?%6T%;-mQ4U$R<(+}cbIIj1Ul4pkNE7S%HjQ=|y zMoMdE;?ms}#V*_S+R&bZKdD;E#(%K*ber}+=Nh@ttQ8~yjyS*F$HcG85|)>^U^jvE zDD86h5ZJLkVEqr6LBlZ?{p(YkSuLSmd~FAp3uIQx_PnRJR$3~mpA%A65mT_3T7g3f z;o#qxppk};I1VX)nVitR_693WxH7`K?_tu7g3}R7I5%yB{I0RqJ4N?V2(xQZ`9ZIL zymlro8NEw3awwc~g}gQO$=Nh&4_>|V1#bvmvX+uXVA2^-KOxf3s~B0M2P7UPxF3pn zcYiW@lwpvDg*XrzRc{@r;}=-SFN_)VEa!yoCQ-Q}4%tCf+5Btc)`@1lT#9%T9hm85 zL9R>}KPNE6Wu*l$(%Oi0=Tb&lIqp!fFd^g~L}wUAuz~3lC#28^?rC5Xu>bTl6T4tw zoRwHhb!-b1jhs30vunzF37jE zDuy7=Mj>>x+{iX#yxumrZfU6u6fe__Zn<|phGF5- zV7b|6X`;~w8Qa-J7{W1Eh!-b^;FwQ)PQv!}5U=JHyxw;T+dA zjOq^fkyij1MGTfOj@sy{EFJ@6?w3hwXoLevCC7stQ^#|*>a(<`WdxstN*kYpOaiaE zmc!Wog0ez9F3I6YkP!~{Cl@p z>QkNTmz3T%m2XEa@;U;I}Wqpxsc0#ZH>5N6YGE)~T{#5|niWqvUXILk#UL zPNv8NDP998ekW*7pD&UqYl{X>CPih77mApH4-=z?sy*JJPgP*CocxdqNDKFpsZk^g zHZ@}iuM;af!{iH_wr(^I(fm;^c_qeneqvD--|@een{rDvb^lV{wA--w z7}xbO^Go?dDV+*ui1+BBY`WkT6jn=Q0rT=$EVv+3dnizS6&iOep8J$hdPD0T#8^L@ z&ZOER78}>--+8vOacPK39@SDRM9V7Jt16s=Xi;*}NKB4UtdMhcZ}{#0M_F`+`7 zVdP@gm~(<1&Tnfo*L7m)8J0Bkwhe_gR#>4Os$F|Fi7k0|mpY5PPQ2Nm#3u9I%LVEQ z%KCxAQO{)r7vqbet2VN+un9IxkEq?{6lQ;``p*){EWt5Bh;_5vuYp%+5sReFwPA{_ z==%7}pBr+u2JFaonp+e9LB^Y8d0bIk86PfZ`1Xxj%F5(Kjy!9{hpZO?dO-6`8kyK3 zSS1?0BmwD30(3L7GU--dpj7OxINh}nRRR*?e&?eI8C~OslyH@o0RFAC-A>3)DclIr z(kw)Yo;hBz+Le-^Oi|>%TMa-Xnw5e!vAJuhlzB}l3HO@$ts8{h2E&7_#ar-f$#?J zP8rNhyfY5Hp(DJxkF53RBL%zf6XbZhj+jsj1*1Cn1R`jWgM2a`-41s+jcF2DwwMgb7C|4)2qSus2k_R zpId?qYUu~L7yvstFsc>oL)}S|hrFKaNB(e%A`u7dcb1)m5VoKJL^eF7mh2y=sEZ8Q z!*oI|2-tVD&Td;IqShs5gh^p-UIS+wQ$N+(3&)?dL)$ctkM6Q*O8A|0i zKz=jyM4sNF6*#E3^9LR;pI45$0?m^#3K~mh(E2zs`kMls9Jz`z0<*NV7VNX{^In;+ zgp=UL;xWcJGO#*@U_@waeP(&;n&&y5KX+Xbb-^-4nCDPoT2WY(fk0@Odb&Fr{*iM` zUII?JqEBSRzepG_Oum@U=>X&n_sV+NFSzPXA|Mv}-7Izi(qx{?51)dB2O`qx(2K44O zWa8qDn(syAWxc0hvJLQ~sE#}WpOL4a` zUl9l=^|3!NK-ICWUd@~UJ6B2i!Ew`)m0T9=?{`OGm_fPbQl|??V4h8ceKi-zHAP4y zt1ZVX`rCz!UJ?~c8%pu^))qpV2n6SnE&YKC3{np60Q<9vK`pW!^FwmYPloPygC-93txOwEqZb@MV2! z2s-4fu0UR*ekbs`)(75hiry2_D_NjE;)G9|p_HI%An&jnMa*$GsPqVDRR7CmTgb5i z%#CBs;KTWv^+EYQ6TRK zMLgK1sOC4eXxuvQTcI0F+YQN8V(_C4EIpO1P`~PXnjYwTUc5v2E)B>`i}>Wz z_;xKKAGTSU;_EL@E!?icly<~iNx_EFHhh6uOBnYNla=ihRHq|OcsJ$Q{)Etu|yupJ!-jlIRTb|-Fh?kSIYW7g2E;1i^yLS2% zk1{6!$DM)ZUb|a(`CCv&9lBnE9z9ZZ0s2B4J^AWi&e1_%)~sb`juC!NJI5fm(_gRd z9r2gH9}*jV2C4gajh=ClUSSJ2RqyrK|7)$`1a_2rcd^7q=m0f%BbkJ4biwBGFqurBT6Y8Uu&6MaV6^Oyq!g+#4O{yw8oEfzdf&W^g9wr5`(esDMo-&Yj67^CHi(z7>r2XEEt3iU<7_Yq^ulg1LEcq$ z6B6VoprA99mXmxP@vim1xR4>VOQmWvg(N(I+iz#M$q|>*EW$^E znRjO5yZ*P#y=|lMzLLbBLKw)84*f*!(oBcj`eR&M+Z$=_B66L3K?3lVnT17QPSSGv zgO|PaK@oJ>3j0WGb-$*Q4g|*Zd_*r}(vhy|xnH6A`Eq-139snkxx4GB2W0poS5?h0 zrvhz1WUlp`JQv)@_M=(OOmYW_Cl7B<@ZDSWl){xUt1=w*9cfQB5CNC?GwsU)ybdi? zyINrs4DQ4!CTmm60{tM9b?`>YL!uPjmdDNmYML9aINh>g_a2oxco^>_SN;)|x_z;j zgtwyEYHKacj)Vg{jk(01F*Ck5H`l}W5`qUmE_wTW`m8~QYA;z(^(z9Hk|C^dM|MtO z6PMdhjQX`Io&9EZW@*U3t+Pc|gC=>hC#qXFG`c2eN^zkWZpAb{YBMkIGc6un%8zwV z)hdQZdF-m~XLS2~%XL@*HsutXq$x0LNwJN-a5~^E4iOb&t4DW3tn$@Ym#?uGDSI z0c;*DnC&gmwD4F`*bnBJodeL4JjmP1jf-1B<^{LUKntq2%;iH(MxjaiO{1ksBXnV* z3f~sr%1wS2^&Ii%+ep~^x95pThXF^Wg^shVt{#bfFqVq z#m>URg{NYETk*PUqve84;{Le%eE>pHEiQZUt82g^@m>TVoCml+sxCdiR?Lw> zIC9m(TwDMfwwXv&bvvtYfegf%x)$YP%xLob0pi5Q+6b~6mk_KmXr}(iv>T_OBU{H2 zF@GqB%Srt+QNebcraM}-$ThlquY5FIZr|*gh)3IHId6IzRzF&q+BU`Hoa^HvOi(ll zNplb$wbU44`myLK#EJu6DxC3SzBm#jdGHbyF1UEzWyP_l?f=DW6GutA(AC2r@&~jgc-(q~&(q zs8R4Cyn2e?OUGx9pPI=&&yk+(H^e_O+(|zt^4_>g_PaVrJ{1x_HNKRl;XHHS>cTOj z0bGs5Dc2@sW30j|{4!4DG~jEpObEM!a+o;Cgvxz6Mukd8cRP)tKBFxqju%n+AKyz3 zS`=VDlsQyvy|aGepU+a+%w{;zSg;hrT=wD*QxM&@<%SZ^g9|{GDb0%g8t|v| zx;ocrQW4)i>NMuMyIs|Gt$#(%^J3Yj-t;w33n0=e_SI6!`9Q$w>jldm_xK(&rcnX`(AVT+%VDl@_vP7?S9X0 zXZz>$3{b+mu6EwAIWZVw;f}!XEjhPdGn@fQc$2X=c*9lP6xS8rf&83t7yqVkQ2C}{ zNAGV8yJ!>S3-{K5l#;+}9YiAoBXPVJ0J`g#H}OAq5e4nDKdhNdZVH1;pBZn^JszZ9 zJik-jqB}_aeTL&tcI#>pv<=cy@wsAM!jOYzoxL`VmZcU&6_=5Cw#kYeG~3ICzalvn z?;#k4)5-)0ZI%&&Vr)6H%o^R&dkEU>>@Hf*l5?m|5z~Rt1PCj52Yg)(^JhHr)Z4k8 zxJ>avR%PG_eQ)CWb?+Yu-%2Y7_;NLVKM)JWU!?O$0SaXi%Yfu=weyV}oBF7S^;4^= z!c^8N^+aZT3(2G~yye1+hP?wXKA}FHl4uL~X^U2lZ`#WT+A1&Us;u2CEkVXUllZVh zOSx_v(231lF#r04^o(bpTv9BOYrF^w%48o~Xa#o9CeV|>&MZE<&rvB5uOu4X_3AI} zG9_NK9uVn;v~TMK9ZS~m1w9_QN#f^0`SQI`y55?7rwI z2=NLc_>LH79AU3qY^|1 zj8!@I;@L%fBh_v}O~-PFN@B!8n}coE_%Szsqaao&3|q`+fT!u(CFLULCD{ke0rl6h zc|&$LIr8tHKztn7PG*e99!N-Xp=yCGU868|5@v|48bgH2tmmF0c2=&<6-+|WOoG?? zDLeic)2HNm_<`f-@oSN4Nwe=9+5&6R0OagOnNSvPd^;t3W#eo$ua4KN*c{_5M8gGIbdL(P8 zH`gfDJ_Hu4DSxQXQT)kW{>02!KUuif@-F}_AI2@c>H1VJa&d>Rp5l)yKGym@sCetV zs{~|QxW|en+|z$_biQRL_N>rogZzSccl%$nbS?(h3sd0NYitr>;@V;RDuJjxSW0Wp znIY7@Gwapx_gV$fNy_ahX>vqpPhPt{jf=YM^)qCsqF9Wct-QHk{>jSx0(;UqE#3JD zi8x+7R2$h1)c{GkqDhGRmu)4YkB{vV)q5BR3V=%!6c>}|FRs2NJ!UKZ|T%v zUVd6op{>LZ9f@jH@gH>HS6N*z)&77>oc`Z>S3L0|Nk8Cev%{T^06kd}gX5l%4!D8B zCNz?i^B2c%PJ^Z_gT7CP1|N6Zi%QprZq4a`H)f7n9v*FbXVD6orA=+_v2 z!3d1!{(k?)Gse)!o^`XES=r)V8M<1|z!fLjka8u8#uJhx3yKIf zjnq7KY+9LY$cCVlOWfPIWlCwyl#V`fk`1cNq3<(VB499N}hajWg7StB-|eJ!;80QDQVS znk<{fFt(u>?~0Z|DC%fkikCRnZ}=|9gd(Bp1VW=m(8fDh(-7mDSKAGi1diw;GuO+i zAO7jE521IUKFZs*Q?PB%{vbDLS+UU=3NAWqk)gT)xjM1dUO|Fy{5gB>^g+j}j&1N^t%8E@5om^wb(s?D!=80Adgf9;XOsFUA~w(Kbo+btlWhJ= z6lGskZ15U!lyE;$KK?GW2=nkrRQJkVH7HiXY)*Ym{N7sMicNY)JKq8~n0!B}tw$uQ z9;ZU;8nXWI;lY$huc)zm4uRCnw%C3+p^g0hrHVQq*xp%PCj%mccKENvNWqEA*K#co z9?Dcoi!;lWOnh|Ii+)yqr52-8Rq#-qOOPxXJ&WN5d2cLZ9!qrBm(Z;Bb`&M(EV?_v zbP!Q-xg8uoU5-5u9E!cW+0N(E9=zO3t zQx$G}D|1l4D#E<{u!MSujAegpiz^>7i2hVRz={^+mS3KYukj;nHm968??rF>vIxdL z-s+&Q*fL^sMuXr0z!ZdV*&B>Eez4}w5Lh%lg#fbDKp?V?uVNxvZO96+7FiQD^!0Kq zvylkW9Qxhw^FIq^s)c4o0AJK2_W#jx{lB-;b9_Z(?aBWu8Y_56ESoQW&J+5>2{v#K zV=vbn)E(7<;~j{E^|~o`qOzdA?&kgA2saB6Rk463aeaMV(CY8?)H(RGi{IyQt`GTI z&e!W*)#v$RyA9^P;IXz)I}-s?WZ+k_tYpziG%3DIkL+I|5lmSq*_Px4YYUDL6zb52 ztI*JDrDxT3NYRny6xkxP*ny#cu;{!wx|0K<^w13w(mg-#u;f)yEA0l#je=^kp$-m* zN-zwpQcDD%c3hdNuYn);&(A<6#F_jFMGk@}v*n`J*-9sqii!ymtr8Lp)+K&!LFOD) zb!)zqOplvdg4Zn05ZmR8X4uS&+FO1zeck)P^5-CIud zS~L#YO~DJ?iIvbPuSEwhPkpEMG_1Z}Uu2pB^y}xT|Ls7JGNF$5xPef|M~M_>UFX~L_3iF3hN7ReU)0BYQA+&K%3yYMb!-luIp~l`vQ+Za=8m-BWBB=c z=m~F;GKa{2?e`WJ_rTn(D&h0>)h!D)QRnNB5;hSXpUdZ1>JZPjjfBI(6Q}Ryz%W?W zmzVbW5BIk_U=^2X))39JIi{5{I6;jfQpc`Pp?1$6m>T%c8#pywE|Cv=$ueJt*k66B zCK}NC_A5R->Yg#Pv=6{idT#S1Nl9u`xb6pz?*f-SyQog#fY`uMV+>+u95K8Cp9VoI z7t?p)Se4C#QaJSt);&?Jf(?&BjFSR9izu{f=DsnU1=pBHM&cM1L}T{c!Ad8>0!LX` zV1R~Oj2VX{8PPmR5{q_m@W0x)!}MvX(|LM2Ni&wrC_E0=Qo=k-Aw|RHxVssRNZL-s zQylb}dVfwOhEGiHmslyM$5@|HMNz7XCF?CnL-ouL!=duu-L-;eN)ui*u)6duiWb89 zgVsmPv>T~Zgoc*nO7sP33fN%&vrthym%J{!rOMhaY8o4c22-6&K%|J@7L=#w_?+cw?XJf3|%}X%SN(dGU?hUdJey>RwQ{K>P^mg$ZwarvUk++QCBkuUrH`bab zQ{c;k!)y(2$vldvF+BWzF(usmbH2mQh930x=D&Myi$Crwg+lM@(mE}9+UTipJhw@f z?;-SOSK3?1sM*y`s#-F=nv9NO+@k0iVFei!Y6%K?y+PeT1qkTGcQqU1_1#h_p^**v z#AyjQE-hSMQdc>MSfxmJgsYOyF#4FWk62&g>^N?9`&BBvWvT@QzB+C42rO$qMR)$; ziuO)^f1tf~^5LKZPt$rd^6IC%vukTZL%>x`bvW+HfbRN68veXU)qH?K00Z3ZRqZ^> zB=5-g4rWQ#>>-TNi)jH`rG$Xf=cr6Hdt%f@?V)KJ9a2f71G5LEepjuY3`7xRerWGO zeM;VS4oB(Qpj zFnF&TauL$$w(~wOT~FUu7#l$*_zRXndlWt}-nBi2gHSuRq{bS#tx4iE^vp1&iMm%tWi>wc>3TDWc7zWI^1x_PBEQccf_h4jKSSkXYB0`?XjCUeynY&!~4{u>k=yG?nzQ2phwOMn=KBf}IUF@`#Y#}XG zl@YA)!|nc6yH_2*%v(*C4=FcJ;yvB3G?d!)nk}#yzx&_~FVz}mThxjT)(j*7YI+?X zo*Cu)dGd)NhD>~eP8G<>Nd?mM&4bJ|a75$d`92e+f8cQLFxbRncr{G_9#0?v*}pG! zV7vG#x&_tpd7MyXHX~GUMiBVzf1hJ>rkbL{P5F@tZ)W$qX?SJzE!%spb1Dq-?1%Rv z%+Rlm!!J(FvVUO7mibz4c?Wk>+L=iU5c{L4NVqQRrpQQlhSt%vlBME6^ak;W$IA0KWfW*y@v6RCX&X>A|hDAk5 z-G9UT$p6m8Q^`i*X%l=>g7pxD_D;6aT1xbn%_V7%#?#e2tH1wH##by=(0t3$rI=(B zncv|Y^gArH*MNf8ydjG-&Dkz%)w)=muPp~eIPS8q=Nm4LZOokNu9juL8keX2INfi# zxX@-%ZMpiCVlU`$3mJQ*UllTf4KIz$w|8yKaK%X^I>`x>hU)5Xv5<$vjm#UT#1#+p;_IT`LsYT9WrF zayyp7b>~Z1c#$(U%D0=h`e*922nO?VvKc?^L=xjs-ZU~N>*5>UqiMjo+|1(e&zACkajad@ zD=WV{CS|b!B<6LG7Y+F-7LHa6%VgF&!TY*^Mk{y|%|$Ugm-?VrUCGk{hBGXn4|$W6 zwK?T7atz&7Yo1Sp1NuT>t;Zp+{c2wpy05r-2xllJtM*c`o`dgeUI(N%y*qoWYY0EVBo^Q zWo6h@@#0bMpPF@g`FY%^6@{cRm*$)TE~f@^crB-pP8z0j3H^<6F`#MA$FGO|gbNdc zs^|5y)5m1A@Y~7yQiv|YEXSC~OAcOd`6i=}Zc_eb{NyfgUum{{_0KW&Y&Sc%=0u0Z zpUS+ufywR(I$Q6n)XD(X#jXeuDGv$=?+Kjvp4niz4mu?7%JJ`4lDaRdopTd0%=*g~ zZA7b1pYuTzcz+k=|GJZI8_)W_U=@muC}<*YP-QhBb9(Mwthc29P=VUJn&Z_Pnv96A zXh|6ZzYuIT1&PHh^+-#S{OUG_xf$!?h{*Ch1$FS-dubW?|IQ<7er{RzR$JV-6nM!( zwabzKTDpQQRz3!59XlF4F-Y^b#7O>VikkP%o=mGfMXIkKnzTKLTF#rq{~HkXeqhm0 zZ37zU$wa1RXl}P_eYT0>9`e?CRd{Ul>uSnsB5d8gZS`b+ihgV|9;)g%T72=Lx+yYAw`W``R~zGBb(94CmSvl4q|95Xd9w1rhCD~ZxlkJ>D;^Zq zqNXGeZSI_FtC|)tVC7>?1}agJ~AamWj3(sEGxa{7%N=oPr8&PX$Qv{(Ly~ z`Ja8HyFSv3x^nr*9zB4+i{TxPlhKUFY@h-AwAJ6>yxRQT@FEcCID$UFi~Jxc3Od5_r! zvvRMeySrl^wPuJ~iAO8g*4C^7YI^D%wH`T@6Er&VxtP4G6`bKN%C0lhvIrWuMo%|M zgxRW|E&e_pAFFd6uqJv4(>-F0{ah^@K_aWV^Ah)4=|!Fy`B0LYKN(~L=332Hqu6jc zP&TR3cRor|?MGPseSF^T7(?DaZ(rZy*ydk1F2@dInLhCdMUq0Na#)9iUPB9B{fiHU zHvL;urSrf-&q7`v4>c%a^rCAWP}cmdFtl>~&@>f}m^}|>{PLcjjJ;&W$a60IwG6lL zEB{M_Bki;1yF9eB9_s)0rNOBj{*ML+Jhn$w8A-4Wm=DDI_j1!5_U`=h)WX2!suipH zCSeK`srfElY}ZjBByukcJ3RGg2y!3HqVu;rqHrzG2E2F^3dt<20;;zkRXaUz%zt}u zrkTyhaTfxRf7`05=nUL6|L7_IqYdf8BEnEdo><0<}%bLoBGEL=%lnK;YSpeiA$?F@;*!H;H!)VnMwf-wHqR(?c&Ir{jUm1{w!34U4XN_M~IPH zM@So2$r_pd;$FUlepccFDo!1Luo&GXq=9kKHaajE0HTTgVfoH&CwyPkXwUTu?37_P z$4LWN0IL|27vY0ZZq=Li`Hq@WhTTkU?gg@JyP1@MAnHu27{Kb z5jc0Jd;2NH#_}zOj!ikfI!>FT1&^Dz`te%QcsQucJ{qU&!eK9vpKL~Q@&Hp(O%5vG z+=nq8=bqp={^i$4=gYbWv@=IVr?}iq!hWbZbGp>QL^7hLe#Ic;f}iL*=YaTF+AJgU$agdrfx5KL4>+3#D#X~(4vgw2fpO{-ng6O5N)su z=$>SV=ZJ0Y!-K-&8>+KR^&V5-c#F-AT`OE`>EfAG_H$5Ur}ny?&0 zp%g{LM>YInTC?c5sQNWU^O*|wLYTPT!P1bW^ ztT;-$kvoP&BPAAy+e9}sEo@_GZ|=SGL~++wCM%T6=L4267FLHgRcc#-Mo4WD>Kk&_ z9omW~3oZwnd6~cG8U3Ywm1bN1h!rr`|0N{DNwpW#MA41E@T$~ga>LcETM@zE;IX`L z&4i;%N7o;m;rQ}OW|~vsH}XfJWyPKqppD^8R_5Mq74`P$|C#Mg?clZLDUjCGFUoMz zO;jd5NKi@;OIvCvL;0&QOl7e)%D=F!cM(I|% zk#3L@X_1l!NlB5EZje07`#$5m&vW+s?y=wf?7;`dicfRRYtCQH|GZ`^zR)q9B=0=3 z*?sgmzr&|;;e9xtE%!a<6~V5Xl;WS3afbGlgRDWM1AI-|d0G769@HXchuV@8-q@J?;p3Himq0cuiKk|6~lNc9c7{>rZg6LbnqyV3u zGZV&NkF{QYwmO8K8}%r6Q_KaO$$tXQM%QW2aoio}@xx}%9tI*ctukd?XLGhE-8suz z*}wRts6P_C79k^AT{Gi)e%p=~G zu2KtWg(+pC&L^ppT%ES|mOR?bKaJS8ckAm(p*n1@ z6f9^RUA6K}T#;~dG5u0(D%vFI9H)`<&NQ2}64acg{S_?qDnfTIqjSS8bi$XgeEe&& zJbCEYYDGpGZ&q;K_lXAUjqAn`xnCj~DubY7pU3qLU16z@wu*L&OTltf%;rl+!@^tI z%`4{k1&`wv&S&a@UJg}vs9tPH+Qlxb9A#LD&oEnc+Z3(!oY`AKRyVw{Fr4G>)6=xx zsM@EO>63}(?S?H0+Pg+nUP-gBNED}C!^OeeROO99e6gO&4Y6Q!?c*PO0`)+04;L2w zVbJ1zI(18K4n>gLNTbGp-&p=eNP(t1SM+-fRdkQQ*vQ}``bypZ6Mbc|~DuWEcL%Q^vxP2|D|X&?OZRG+P=#%r*ihVc6yP9ipGv1 zC(=Kj5!fsshWT#Ty|$|(%cm|kUExy17|xcPsD4{+xpT0gx!5MHta{(g@Ee(&4`_1n zhf@jOR8GkAYTlfUBwd|75;^^pd~`IIVI`SjRSl@ye$CrtxsxGdjVazEyf+#(Pe_>oTp`exkk~=YCH#`ZY9sAxDRncPi<2N zlQ0%VI@?7RHD1w9Oo*TD^+uXQB-T}MXRqctF@~_Y`;Bxg!i_WOtxsy6M3VWIs`Fklxz5-pntxxdmw~JQ^m4!~E+_$5qeLQYo$F^Nl=4MhFzwf^!u(9=R ztMuivmfy{O;mrr0)oLRlh2Px3`RJWQ;o6u`Xla%;<>Nk3{47z16~E?^u3IU$zOVtC z`K+Q=)@tKU@BuwAr!6%&kkiqD>co(1O1)4e#+O)BX?rG6a-CS`TM*+MyLq~ll!iMC6%>WDhGnHI zAtUT+@7HiIpOsP%)|x79pMN?Zt6m)p-3vcRsT>fcV)l7I%}I3MG~?CUy^;c!+v=*I zY2J@dd5+$vmj2$tU-VkG+BtCW`?y5h<2UTjHUv6AS?dO#EL02r|0fHuP5mBghI;Y~ znv%*#p)wV#PSkoBa)K_NPxr(eZs|s`bkW==zH%>=KgxH{U14c`ZSzJRI?{@x2|a{6 z=?Tz8oSvNKo$Rg81d1HqigH>6(a#u$kg4f46{_)uc0DSfEI*0S z2o^TeiBej8pz=XBHmQ4tc}q-uIr8w4YJ5t$CJ)5jz#}Y}udHQY(NMJ$1%5xu{YWNq z5=;eo%9~Gg+ZS&O<4|d$3yobF@Wu&Mi6OgGry2dw0Z(&*3l5dTuAM3YNRNRPXtURz?Z_x^TNvMN~40 z^%Xx298z>15lmtB4lA?MTb#e_xqjR0vj9^%)Be}UdYdW3hO?c>vZASOl9{VL4{^CF zxxExkqkdeOS;;8g6sXF-FgQP{6=3eJV9r~NpC==>SO>3<6uX=UYVtx4-SwB>+UrXZ z2ywn$p59O)k2DDA{S5K}9UTn6#ST3aEBfkkqOB=wJC+cwmM3a%=}Yt?c6C90P@6oU z)jLo@@OBK{><6*WI^3F@RQjE&#fv&yxX0--_d@g5%cV;YfLBH_-!*IMx7{a(JfFC* zhKGi2_*Acmel`0+_2$>OEPK~uJ)85`#EY~O#j25{*GYA=G95D6_zgXW%iM`JuN2ak z^h}1ABQ>1X@S919^yISIqO#vYw%qx?3mxo#D&o8itqHTR>fnm!Um$4%u8q<{^p`@Y zI?UP-3gwCVJ+%DTFjo2Sb{3iuLlV06tmo@lxe;m)o%Zts4qN(aBX}O;deJf8XgT)y zsYK-#48s+w64wuD`2n)N3bFiv6>SmO$}Xt>f#*nmZK%3EIJ{Pp+28!meGbKfFeBR^ zVM85|l=W5Jz848uuX*gSy!t;FOnmX zIaLuLeU2ls-94obJ!g6#C4jE}iq#bRdgL|Ed`8|wkz{O1J?$c`q;1X5Hgv3OEB~b~ zj$QZDf_drax}MUEMPHL_&PTV&{38MP>Z+sc*L9UTXftfb@l5}K!_o?$dD*=Jd2eIbzlxSvMog2QL`H#-Z z8|0A6+KgkA11yh;Dv6WhheYo~U(SA~VpUz8T`jMX^cF4Vv@Gi1m%ya#N|%MNLQf<; z)0pfeKL1v6mP?ij-xgMiq2#L?4#=K^zcp+A@aSlA$EAiWzg=NNaXHM0v~-S>&@0sW z@o&;zCcVJicskdtD@>xs8n^QUCxfQ;8BQYi4Z4q5&MMm=iJ6N$-)c6VSb5^gLJ}2H zLI&8U0aLk`4hQ|Kix6AgQ2uY7@U<|v&_=r9sic_&_YUzsvj^H@M~FsFuieLITgHkk zQYGw(xdX1&?Yg8)G1G`w)_K$+IK_=tt2FGGOMB&$S6!7+Dm}do^N+LT&W}aEaK;^1 zO!{fpj=Ub+PPcq;XEQ|Uz<~*4ORsnI*hjGhB5woUf|I!g}Q@8lw z_>ofJ9Y_^9(Jsh3dHfM}8*NI_tKV z6Wo(c7uO7JPB5Yg34pQGR1LRiDDdfEh9#QDD&m7=zeto@#NIEXx%al7;jty_fYFY) z<6dsC{=r*=`z#;ZzySj_5c^LuIu&*?F$F0Zw{OPoy5}bQVj|tl6g!LE9oi-Wk{O)( zSMwdH-yJF2b|k2_#I#U5iZ6LGn|`j2>tsNZ`pz2dMtAbM_TH&fbe$fk<8I5zWxSZ3 zy;9*mAGy3L{KjxBEPby4W>Z}f9KA1)I)NSW}JQ?%AxdTv}-9 zMSVg)kMh~Q%EJ7xe5o-g@xr7qjEl{|NXN|Kby!7WEvh1iOBA0kIS$q$)65vvoGtv|@5sNs8dF@=@I#xjp(u0i{7{$#%J@B~Y%(MRKibMlfc`B|h5%%^E$Vp(v$mHJRK zYp-K7*nLSjpB2O2AHK~TwqxLe{ zzIhB$e@GR`U^{!51j+5zHHumJlB7X(w>192;NGtt zB|rTpkT}jsF?(XP1|wu(hZ9-r7kNYtbj z$+8%&{;7`={#ww#T+o3-5L(LfUl-qB-wQ}7f2n5c@6t2$h4kiV3SADmfRDeHSb$Zo zDuP74kmFU)L$p74Mfm1SjY*t~%~?<5p7#G)nyFwGxkiD9)a(CrY3BdC{{G*$(5wHq zE%YKjrX2}%f(*2m+bkSfE>2ELE(0C+&@{hZ&kMwb{M=_Nz;B@!AJ<*mp9w5;N&o5K z>2aax@%#5yYwBrKW?74c4%MxSkNTVUOt>y_B$>*Znm9Mri7LfDDQLgC^)vssEwdND zw)WANx}?NTU33aL>Xn^8(a-$|Q&j|3ZU|EskpSkdQHq*PX^y5N8~JMOBUJ^r(uZ5L&f~b z#iuRMkgvoh=?e>ry=BKLc)|Qt6Z4IXqBfORsrIsArH~4r(Oc1YL=C*I)lPIf9^Iv2 zZu(qNx1^FV4A(RO89!4gn~TPto*W$P2>9Z~_s(-$K+M_L*8WOl+0`%dmYB`~(r0@n zKYdS5=XRIMj!BQ%G*a#f|CYR1QRHWfv?_kfPPoO)V>;HFM_x$IAiaGed-3J>?#c;$ zyb{w^GsBA?B4)cM2MKas_#O0p?e(Nrr*(BDxf|Z@P3e@Iub({DT5-taedL>@YLZS} z?j6i5KE9O6cM9k5em|%?xC-tW85FsU)Z|S#73H^-M|6;>5U0Neui(5x5+a0GKl2is zZu}no;s1j@U29RqgO{hLC#Bj{v(vz=?fn}`j=fKmV4gR&Co2-a+I=d%7{qn%)Li3x zf5VZuUEy-k+S#68{ZYzxCqwn}=O3Pu+8UyxP3s@n&R%VWC9?_Ae>f=iRlT`Q_VUWw zKiaU%Yr$LZ`*v`%v_gqi)yR^-Q<}J+6h$LL8Wpp9QBB>I4IlgPaJu_jy38%UEG^VC z_0JS8jEb@XbkA)JZ@y0D)-2h4zZTUn;H>^VB(=M}*Uj?h`#Na8c9CI5k|Z|uPAsaj zI!?0BPW5%U7*U3X0j*|O5`H<<7_5V|Fsm@5?MeQR+p!95DFBkfEJ+fcXDsQKp7bLx zLH4`*zVx}oIg4fwCnS|L0t!Xdd8E+Mc~0~?>lWr)+PNKl21YHU{LhP`>GPvhT7}0x zaLBcVbLk5eokmZf6dpFk)H5WpDQB3HC2p-KS<7p`LzdC%JqCW&UO8;r4awTNz8fE&^ojPQ zO&jI%lUDB7@|3vxH7vcGrecz^TqgK5rjylS;3)8ErkqleeM?}5T&8A%?UTbzm(~;8 z?it#KEydr=xz5AMlC&rk-;*62;qlAExSFRvu{k8kD;KjwcAIt!n@yWZ#$~K7MI@(8 z@0<)p8F!8JIUQJ$0gU{vR40dpKV1&xRmX}fJmQ%M_t(sezLfP^EVqf2!4vC>G+J|v z-GaL#o?3Ldw=g*5FHa`$HZMQ!GCsb0-ulntXu{e4SttZA4>x|z$W16~&Hxz$MH!DPQL zEIr@qfAYN5I5D_kDTIRwyofjs)iPQOrg=joC0r{!awOFlZ!ML`P2(7z-Re`yLU#PD z=s zODmWD7-*LdXkETDmp-YawtP}C9B8E8jchC6RD^?Rg;k?OdJA6ue8xILX3!rb+bSm8 zXGV4vs);#uQ*vu|7p*K{3KA2ZkSf{wG}oN53Nf2Wie8Rb-w5NM4yKjiqMNCI@$t3I zXVE)(yfh-#7N5q8V%bFFzT9-?@wdxC&8NwY(m%g$rFDDh0o5JD+v+%hy>%zw4anm{nXEg`_(5M z_P{2Ny4neU$+>fqX@|L+SVUA`Y(J3MG`BKR?>LtFV`|W%)VOrn;uhW1?q~*r_4llF z%@yBGwQ#t-zgEdX!W zgs|#t#&X${2*?c4Q4CV|P3P+sZGfX@Y(p$7GToz#2#&%Szdm%fjn6U@|H;{Zzl<0| zTTiU7JK7va;Iwr}Lng3k{d@iLjq`m*;V_^v8n`JrAQ!qso zy7J2|`+VEgrQ_)%!}CvN<6-F_BRLy*Lj+@}U0$j2$EHCt@b(njlZxgG<+A*;K9!yg zKl7c$2V42oY&V>FBwoar);}~2S7NZv0o;=D1zKKqD{nbQ0v|H&ymzl3Mv*vPjKY6FYsPkwaZlJBwXIXx@! zU$q2@`GzaFV;jZ`QL7r=?gMd|v+4CVp-CT}Se`zA^80)s|6RjeX2)3fuwwAXlZtr% z!p_3DXTgg>6P1aHU%EOg$s}-Qd{1(~t-BrQN}HC4tz!}8TFDa8mI8=={PU@68U&38 zJsqygVO(h-)bXX>VZyPfTG;1>kg+Q9#52*%!HIfwZGc`$o(Yev>LXuxYxn6 zXh7%sA?$nS4=G3C9Y*G40Wq2to)zoe=~24akkBE!vSP!o_YU7W)_Scf!`5s(-tZtE zGjnBce70TLB;tK9^(7@VQZ{R;ez#HZt61{9VI~v|g z!+4Wx%)U7NHRb)+lMnXSS6bg3F3e&#eRn6*8Ne? zo%;-AZyv0*98G|~S*u&AYib@gFTAXy5`FY~l@OTM_Mn;0z$@LA)|#L`C7>v9o?1ny zWZSluuJpEx2~{#~l^k5Ix@K6QF+z4Xr(;6hPAT-148bus5`1HnHAj}EtTlPw`ls)c zd#C-xMiw*z1vJuy!Ri7ri6XByhVICx(QESk$PzvvtMXkRWTkwt=$dku2C-f{XBbyg z{HeRs)p#KI8LQJ~zBDi&^>+HH#x@r#M{iL6*ER+Zq{T*7V9YZzPdmu%2Zkze{;%tB zm7cuePt07{0%OnJxTNQD)w1%*aFG%{3P~!{TOWHTz9Z75R4W!1<;fa;rTJkSj7&75 z?(hG#T-W4kxdOSGwf5B|@bJu)l}~7f(R}|3%G@{G{BzIiNkqMdy>(hQ(?x^)ocMl0 zTvOtUCn1RSSM`xRPjB;mhc3>Z?^5eDoG-#>#nC^g3KN!tUA&1S1smapo~|e6Q==Cf z%*qQIZ8Z7q&z;6x)p*&nCa8^8_T3}tN%XSQo|3+q%*K!q_od`>JY4mF1nG6ao=kV; zjCmDIA^WS%1jpKGrNVrQZ}+O}Jt4XqvcMFcrkh0vqjS(7=%~9UoA{Q{P*6 z>Q_sGx`uQ**Fy^jtt>+-h)1CH;B{gFt6N)*3*oBq!tp)6X=x`eRY$xRi!4!AubtieLVfnhk7As`~i69RH{Hyd(d6k~`WXtsRhPM{^r%bu1cdZtLj4 z0(b?2;6N}TCS z_w0iJ81nP*iHe+sU~Atsodc>YlBZ+r`Cahj7&=1v7*Nb-=-VuxfI@y54!Lc^@O}=8 zP%rp-cw@SBnY)05OE-LfU9eDfB#e_QJB5r&DW*vxebCKDf#OH0>CUL%H@ejDV9VDj z-{)0+v^sOwd1#<$R7RMRy9H<;)8~XX7=3&C^btVoIgzm)k*4C2!;9Ew-0uAiR7cyOQwO^a2sa9dCB5tVxALJHy*HYN@ zi;u=+oW)Dy6o^lz4 z+16XS2HoywtTF|aF!?NcxaEte+h}F3*Un4*57d7#Y;tbuvQ5v3*3y&>N~>kVwlvsR z-sz{S0(*iMuD9@{lYD!TU~XPrfR#;B3?eQlNC^K1By6{yJ10-QxR|`T6uNJ;bA0h# zNk4Z*vL}mNI-n2}L&dipq&ee+zZu#H={aSv!c~^fPlrg&d!Mn&Jk4gRxp~2{NgxzsK z=*!TI4B;v=NhV09M9vTk)PSn6R>oX!S%Z+OWPiW^x9fsDN4Ls%1N3`fq8*F*Azfe+ zP-o+YVvk)E7{VKWjcax6EfF^PXz9)b8xKiY1AJ5m%ckD0`X7mBO#^du!WpR>Wo-A=p>5326G~8M_F$sQ;^xNa!sk1%v;xJDyZEJ+EveTeq;5PRdrx0|GphgbkM?rO zt(EpyObzhsNA8aY35W4_q(FR7Byjq$*F%0dy0ww_O2Oi)YVwCr#)q91g(_Q!gIv>} zVM#XRSGp6-r}M%T*~eFZwKG~qQW4FY*RHX%{ErK(5DtxnBfuyuObCMkArT-n8ifV} zz(64|3W>yGun0I31_j~3U@RJf0wU2M{LzOaaTo*!0fu1#e+p|GfK2A9-HAw?)9a;N z`?oli9??{}pdCZowua|-c=jql96lPzmh&i`S zIVFEEvfevUsqMWGstHWdDbQkEwo1AU;a^EJF}|bq@MDST{_nrWs8ga5K#&L&7>&U|Apk56Cxj8g0?`;89Dolc015`8Fi0p0js^p<00jOG zAOIlL7*%ggDT$9T7IkNI)W%dg!7uDC`AAV;$PAsODK(wmrHciz>|G@Ljn(|qxKr(! zEU$!*pg!I%XWiw8`r^vt52jZr$xH5p`n*pReyqk%_mWt%>X9(L=1nf{59;%r+_a7~ zH?Aq`h)*>oj&7xUTyJRYlo7k2&50vEuZA*X{J7%;q&3&_4G|XC*(JM^3iSb;MYq($ zH9@vE0|7RIk3a6$aR2}OiF|Sn53#G=JSjkYm{CtANmJ_)L1A>Nc3tN@Asg~igeld`b)Uped z5AKfr@_l?}Z>s#uG2!A^wC;m-mC+N6SLZ~3daA-+C#erU6+-Zb?*E(G{7Xm%ip1i< zq!1R0!Qjv^AP4{g{K1M4Gz^Qtq2Vwr3Ijnvkr*WYeK-=0hQaX&1`Pc3O(Y72{QJO3 z;E@c+A@%;pzz8C<)qFDl&0Rj;ir|=Mg9<_3rWJRkB~4Q;ndc&rMrIc5>*i@&1&#M% zzP0S?R8C0>1vkbX+CC%)>n zS#(O|#q#eZKvnEm$-w^xGHcOOzRUjrAOG)bHU6cb!vG*WPyr(lAgmAwhehFV5Eups z1!3SY02+cpqk%xQkPreZgaSc;Ks;E-z%d{I03!qd;-NbXVHMG+d=p6KH@CD#xqi4g znVZG>7ivG+3JB^+rJT!<4|3`JgW6^1%)Dj;4^vj+*4+%3J+1$s_V{bF6CE)PnJ|7F zWm|bX?fa;aHA9)_A??u))Uv@puM@O{Q$MA5_O{$M9qOs3c`t(1Ut8bSWbM_apo-86 zDth-ov7C}3j3eRwK8G10T?{X~=?!DJI#z-DAa4gLLM7^5c5XQm3*$%wrV}=vLgY*o$Z<8msA+LRr7Zu|VOmlUcC9&#T zAFDn)A^4N*3xri;zy2Za|2L2S*WxaO0O1oE4uC*~Ko}4fiNv4~7yulD!a|@}EDQre z;{Zqi7K~4C6cUR9gD^M<1_QxB!3Y=>0bf#Ave5(*p9^j`1j3!0+!hE7KiNHH*nkW0 zI?rjJ&1Pm6UNPEa2)45THl?0HeVm!snq7|#oZ!1!DPU_f9v0N+c|R;smsfC~QZCWGD+C?nP2pc+dEV&gBAa;L=a z#D!1$5mDWcyW6aV4mw=AJ zOU?KYpt37qjKhami1Bh#j89)+uIZZZylZUD9M?k@WX0`5HUqG}vVRJ7*}EdL8=R*8 z_*=t>EeeH$yY3cb!IREu#kNcZrXaWOyvjZr2{FDNI=gcXE4~dn9Coigi#Lu}GdL|- z)7GzVLcPSXXEnJ|N0I?w6a?jyRq-qiMRt+?ZeR-hQ#PxWJ(*!%UVp`WEug4x=^u{o zzZY{X3=GHNa0nCxiAKVOAb2DrghK()Fd-Na2?Jo@ASmn)*~7pgC@d6>Z%|+y2!sC= zhSx=4;LQXjn`9WV&sFFELY`74xN);;vtmlQ^?tUza|=aYP%4Ym(3P05(Gb7VB!T=5 z%3b$zzOJ9+`%y7-Hb?OlGhLJE#xK32W|)&<$@ZciKf>;g2`F+N+`g89C85=lE&p!z zmS=KftxEciY^5P174paOVsqzZ1EjeLQ4?c0R2h1>VycFpP!4*fEx>9V@-b6PKk@5} z8PlFv)pH$ z-amItzUB$9?UV6jG~9VYK&~#z5R|Z19i;uiAi1(b^QA5|epD0)fjn$*D;lXqSq1f2 z=#mpB=+e0okX|$Aq?n~#&wj+Q(b}``u>0b)x$jm3g+NG2j_>1jRzK=Hc^U=gZTe6G z3!7RVIf2V?FLy>mg27deEV*Zaq_!V=$%-@Uif`6%%@)M6(Tt}vzSNSfT(8(Dos#RWHAyKsi;BfDaZ|QGn7$J+hA6%m%R@*c>)$Iv z6zWwbjg>zEDfNWXEse?7U27^jg+y-dHE!+=qhx^e7P2A+DRnW?w8m_jYtmTZw`o$= zqs7QFaCH>-2>EbkLL(*lxp2^{w$KwLR;JyRzAO5r=^nksM|HzH{pJMRIMnWo_;N>O z#$5h=q?O(sQN~>D4}Aif=RGf$+pGo8iYQgZ&u{)|(SSF8=~{R!8czLR>*~MNqLENM zze9tCaQFm)K=JAs{+welD7?4>K>^^vKjjpThfE*{60h_?L2x_-g`!{}5EzO8LZK)j ztH^SET_p~f%h@NfOMw$Ue9-x&!;dy)0-=1MUtm7;EXd_C8gs`Br4xW#ab$kx6mvD^n;hLJ?(Qy|K zHg+ikrY_nElr?K1{N%5V%2tfh*wZrNl6f*KR?;4anGMl(J@b1Oruc&8#HT$0PXH$b z^x};OCt4rWbms0Et-n!NLw*;S`nvub4~^RQM+OA`Rx|+_JqkBCWVlCJ=psLk^V(+I zND`7}y>N3)QSn^)^&1aK$4drw{#G<^&rj27;ks2pkFs0KTtkyj*)!uuRrb5${Kuc4bKiu2Mg=ra1ahn&cHCN3Oww^Z(+d6+1by2% zL=?WSEk;EG&e6Vy61T1GHv&7?ed#dR`bw*hIXTc;5am% zR%7wq3k5^rka#AAXHftM5(|PtAwWFeg5et)29Cg|HxvuPi^zClh7$t7fI?6q49ZIN zFJa?6enjVl+}-Mbhj*i=GuV)|{k|~a?smc>vRgA|I8&U8v{FOLsj?8MxayN;r$`YxLxL6}cUU?cs^>jv}3d%sR+C`4Sp zoa$;hXHMBKEAKgf=X|*WYdq62UT%Wc7`)T6oRQgWH$d{lrNG;xs8DuKaQ8DLHqt*3 z?yfJIBb)|?_mTM|Q)A^9eFnEaxPt72Bt_wxtfJ;%5Hk3eO|Er#~;~#Co(FYxb zpKKTW;BaR{?TvnIk;?r1HSf;K%)cQ&Qu$emtJme;7PKcgFA@8lF%R~{d(zPAM;vbf zF;A_J-lL5E+^=1?6>s;JBszW`s){jYd%b3c;ntx>-Amp?f3Jy-m)MYyB%0ar+6FWV#;1{4n`|^R4b>*jKsqjrBfTg}|A`U-ffh;aVr+D9E&vKjvFZxnm}MiV@9-F;zCG zT9a{pyKU{3$_ZQ>7$cmt`1HHgV?r;JJ7>0kLw@6Wy#*mY>Stfch}zU|gq`oBPg@#x z?2m5GU;edgOwg*{r12jh|G$+>D7-iVLkpqM2pkLtMgcK+dI&+F@VSK%!WTj?5DACi zQw@(pAwVz+jaM=u_#TA=p#VTQ1`C5&y%kaU!`iQUM!Cl#4<{WpC8Xs1xsH&5L5s>E z+p6qs-kn71(vmevLmrh$W#*#$(|Y5rLgMz`>06wi;6gME zssk-p6M|Ix*H2^GYXWXbziGanUK2gCPxb4Z?0DM5t=fdeUi)FDb>8OJ_4!J%b4$Vf zR|ezml@6O17Wzxz?tARj>~EShdqyNE%emHRITznswMF)LVT|XTHB4M*IyRfU|I&mn zY`O{mL#+vK?_h8M01SqM;14eh0fNKP7$m-&BJiRx0D(op@jnUP?Zo_H?r1C$ihqrl zQ~(eJzHteGkXDgEeBA$>;XcL`crE+O=P~}_gusaiBc4f-f?BCqva3|vyKSE_XYPCM zM`s@l@gh}^UE0xzaX|9*QVMm5PYhqws3yR)AVw*KlvoB)8B>`0`nDSVSuc((^!Lwq z0W&63X9a6c`?pq!(s8aA;oY+B9jZWG$|YS62P}9y5zH2s@LpGFMGfWHF2QfBoFv2} zat8F!9Vm|9j+vf+J&7K!yB?VRS|sMMALX0(yf)082z|5!p!~51|_xLThXF4DML1JB*D|Y`_I{z)Ug@$7xXdDOv zhvU673>FCoB0+dZ8HaCLU?DtAzzZip90V`RV}Ve-4v)ZVDo`L?2(KH$@Xja#?{WSg zM8NC3d9p6d^FAZ%DP{fop&e_ye7Udk({q=nWI=DN!EBAN?OZ`HB+4r-PsBoS+3W|; zvqsGo4Wcfp9KS_&sqnkLSU=mdo|1=EN1>FS)udR!lRtG=-|!lin;h z|9+3&xx6^uDcj3yc*?uOby7gFnHxJa)@!HVx%;Bychyqfim!RG+Zecf?D=4zd`mW>nuuUy zKuBTbtv^-pBb$$;Q%$MGCf?ike!#4}M+U^@SRy7gln`t3w3GovTGc60 zR1?vSeCOGqnm29#%zkcX=J(*~FYE4|pEW)sGyct3=3Iw5cE+(~KME+h7ZE^IZ5Z!9DW8bUzdJ!if*l_c21Rs4azWd#%!P%kRQSsnWP}2^w_(t5Mo<XnIL_i+YNUTF4FEM=?KRhRf1_`MbVb+PJxM^jB-*?CbaVM>Xo-YE4); z0E z;Z^)UtO<|a@wQnRW9RI8zRw@@zEL{<|KLkndP8V2QJHC779G!JI)z`GMTZyu*9SHGmiD8WXopiG#%Fq zH7rd34)?A1YGhq!fZ#i~9TN?YfeN$>i%}=UF$5Z@Fb?4$fA80%XNgYr`k&(E3L~}l zt9?p+jJv&NO)c_ZjTbJ)@m>a#O8v=W7WaF^27D98(E}<2z6Ifvvmg(T8-I!+E$555 zKW7z=@BjZpn*;~OyCZn#1B$^<5@69td{c+u2RhJrii*J#PrQT=g5gCe7yyjKj~$@# z|9~hwo<||^#~0tA{+ln^{CM_no2328-+JG}KYAZAFWIe8!&Kf>k?q3GPuh#llVc*q zf@|*&a!$TnW6C;#o65=wC&a*|*}B@Ew@XUg-Xt$xvLk*?;s;dC)hqf{cH|Z7@%w14 zEFdo2#5<3`)H&ff4_{j5+dFJ10EKkkcRdmZfj0K+=;bd3F<(`Q^SG#|BX=^=xwpq- z!9U2?(S7!}IC~%6v==|VHT8>s?$W?!{Z;Z*_}4T`t-xx*p6s|y_}=h-wngih9F#fz zPke*#0nmTw(Lax`KK>j3WmfOMj4}P0U;3XKzB#Ij%IyH+2E{SHjke!*x2X+V%F)Ig zvqd9EEbMJF<{F0tuOMkdy}Flnk-u4H8ih|fei%>RDci;?;E4*#jn`7TrySEiW~hdd zlR77Nrd`*NI-=)?e$NRbtY^u5s;-gm|8(J#NYlx_YsYrzUdPSk3bS6qOV}kB+$Nq; zKxe@1y20|N_xER!3WItpQh|T59$AOBy3cFs{dgv ziC4Vg@zYGM;5E=eX4!i*Ov2?R`}a(VAs4}C<{P`OJWhP6zh5f9Ad!<&d*b!;#3bG8 zY|mgb{qnr)eArLL`}CmZe6!3%TrebD9_T29oBiFhVj}K6F0$HK^Yr3Urp)yq^89%2 z%z0?O z((o>FxrU=5{Glsq~CtV$>*1^=$P-%}lsLWoXj4#Yjb2d;BviKtWebKfSI)efr2+ z;Q&*Xda7Q%SqTm{sKmo3`hnM#$7<^hqpA9xurbEIQHER@r4jD90#Mv+=P$eA(2rl& zb~|bkgmU?pN<*=y+!h4n`KhGkENU_@il?R6#LOn5pPZRh{OoBp(ysi-tc||OjOZVY z-Hu|dE~0dq-Q=E-s1xq3Zcn#UXifYK!k&t-$Hr9#B!7$QPL)`o_ghDI={>m9HJqC# z@*CMb@I-j)z!b`@lO}BRIC4Q4(x}_{W8^`FvrCbl&4mcBvv4V#JtX+sgOZ0`$~Lxl z9;zHVqwM-zaa$G-d-@keic`N$b8}F9{|ISYuo?4tYf@IetCODKfzY{U(%(%p3rw3_ zm_{eIesJ$nKe=93z`5Z{c}h;AtUPg?!cLQ>n`C+DH3rzW&=_9@JFAF*#InoOj^Z2# zRgStVCym+moIXajKrpbLg}@`A+jnusnMC%nHYzI4kQGZYumMK#$oF39TiW?Y4Q0cx z_g5D)Y8~8@egh(E7x`mE49gKB&t_*F#$NKW4L%Rh@3adCpQV;0zq)^RhqK@cv|iBs zcJ9O7>n)*%CS_bJTck&^pXY(RU%j4etG$he#Y5WdzrOy$)jA&T7SNL0Pi4e%gQGg& zbXMu8M#Hk=qgu+HFAJ|Zs-UP(UCi108wWRUM0oE#{$^;=&|OuLz4)}*QT{08we%^; zt@6>_MlGoqQ2ug$I#3~lVYAV@bN+8L?cxA83|+tsZsg%_nr=hGZ3o!9wY@bLm~np7 zif(-DU~Bu$lF0$i?K~a&`2=mP>kH!GiGz(Cl*APHx9q(K(sE+i<9+ zO3mZGv%B5*9l8?P-`tJYc04c{ib>>3h4?40^cDjSDPYvC=RfA8dy~iJM(i6}ujKgU z3T-S9xU=Uy4SJGyk0h(zDB3-~Fe1(l#7pHd8~2Rf`oo+u>Jj}1%l*6?99a$d287R4 z{ugO)*%VjUwQU9n9w4|waCZyPSa5fDcL?t8?kb=%=oyU2&cR-1ef!$T8_PRgT1BrP>yq$Qr4@XZH&J%op6)lMV3%g!?k*C?~ zWw=CpSV7nr?yAobmwbVOmbc;fea!xPs}J%P%t3W=FQ7fvwQ4tS4hkr?h6(4|OId=k zD8DqZcrDuWxWQRBcxGDNklRVjIC3jp^d#u6uR9bwDG}SsEypMJkOJu`hqtf$H{*j% zSJ?C10C&(P5Ys&lNB)kX-Rn5kn0AInJK};EZZtgLt9J;h|9P&ywmJ|Lthh;COp8w( zu4XNNeaNUHhnbl0j$Z-|^T_J2GZJ{=J%otVTqkthX_@QI0Cj8lPsD05GpUd>#8%wX z^+@?#3g=X5XC10=n+D9GtD8XN=~nHs0=(VQ^(^><;5L@eLq@K zZbOkL?WaR%yu+S}qhItMX`>%1G!-^2R(I~aLEVY>if^EH35Rp1P&5VGsz&KEwMLoS znXWI``@BxOqf&FUc7c4S`o+o!)63Ei%CWoI=fQdyZ1Su~+f zNmPJD@X$R*RZHW8n3dbBsnaBEa;iYH?`i<}&Bi^W6=)%-Y+CNA|4ON4M zKsofg|D1}p8WTrleme7!iUNS|&Id3C;$&*7&Rv44yq0fE#xgu&5e<;{AXrc~x7uHQ zJ4XDv5*C2MG08C8{g{rqzu}DNbMEp;pV%Pe&2RyozAp-T#Z6elg=@>&KPxs&vBqTj zjB6De5z5w7dj(xKVtYH6sDfM`17zK8e-%G||K~@8mdjS;Iud`U{g1Gtok`16 zzuE78-DWe>=%aWwdqZZ`vFqG2j19EBQy-6P%yEQ&02i1ml_qs3WBP~c zg&bdLMP`DL^4nnx6F5xQ2Euyb3jz+Ew9-^MH!(@y{7UKlb)n={Pnu9;kq z$MzVPnvYq8%Z3s&&`~Gh&*>Y$pBDZi7p@`-Wjno^i6$%m~`zLc-#$% zACsyj65XdY6E*wkDLiE=cFO#n=BfuqV&CUHos;cv0DLX~yXeN0k%sYoEM*c->`_S1 zk^AKMz|yJ#)EWNP1mPFzJ?`>_dgDD?5!6?a@kc|E5C zix9DH(s{u1{g}5rpv}@WwINf2!CuL?CXkb`rE=fIf|p8jI_LX%ABVZ8fa^f#bb7dHJO?e9)V%N<*}hx1dF z@r;o@-zNY8czAgZxx4_4gmkimGP>^vcXuB^{9`Nalt$+$&o-YHpH3k)q3w>hS4Z{g zg(p)%aAD7yl+e?_orNFD$D-XG5`FKc9CxP1iS&mTR0nVQq=xw@;`suxkW8BGP)IrIbDVqR&OV`|c-(ngrO>Z}d}CUsd$(7#)Z#2sL{bj;h$l7=o=D!|S`J5C>c)n1 zRBd2vX~!53li+Pvwfim<7dM`Ii2x=Bj-!7UKFoh?+%))QQ=ThZ+SRk14w4#av7Nq5 zyR^Cg3nU-lJ{oOQl-okk=8~A!KEwhjYM!$=%>~JcZ47(eGtMG+(Rx+D=4Jr;QbCI! zG3+e)NVsvMVou4>){K9cT^xP}I?sbt-)CNJu_I=`2_CwuUV+#?MLtA*NI63ZuOPFb z=baw2ig)hTGTq%APG3%Tc16c#tZ2OHDofE5hRo>0B1pAO!9^f##**b ze&haIexgxhCEBnR;UmR+GJst|sf!5d1yWpflr=UD$^;ht`^(ecxJ#3EEuI9s{PHSu zI<%BN!Pd{agJN60#?OOl-SKYe=i3wp5M}rK$5FMSfnpCDH%>nA{o*V}*C$C9{F_?x z=d1MQ++6o4pU>IZgo-!aEgk|09x4+FBkyZP5sUNA#m1dCt6ZVQ`RsR2ejDct;W$i{ zjNdkgiLppNd}Gp`al|pqq+-UDs$p{9>k(oFt3+U?_>;#Yren1>`m>Zxx^VGuvA&YJ zFh6X*UFKE2c$T$j{^;_(=xo(mJVCY=9j&y!L_r8e^_bepOCp3;P6E%qOGsHHK9By$=|l@avZLHl2*>gJF(uUoD|CssQO_E>36AM3NbP5?nf; z(>1Q{=_QP`0p}LAlIguFqVc3C;^DKa{8U6SsW7JW9@MfWM&+Gz)q(w5M|73>PPzk#5OdBY^aglDj5WMt>3=}XJNNV zes(CFoo9}iFerhc>ChZmVIC6Rf?5@x#YYy$I}MQc67Y}v$~aG>mRd4ASr$)!yLYeT zF(i9Y)fkKcz%-K>GHdcake3&!6%agAzwnqGSX=}GG^ z?>rq1)KPRV0OyXVm|uK*nc7pykL*6%mUuUS#VDjf69@H_vmU~pWH@QBai_?y9^5{< z$el=vG_cK$aM71AmcKk(aS3}9_We;rSX@hop*yK==^v%wB*x z&|{{Jx5Bk>)pJaZVn#xv4ZHJ9O6v&1Ett6{QJaeesA_juLuwku@>CCh35h+0MNvGu z3z^1!<885TR#~I66yC?H1~Z{?`=cSWR&+pi=kFB#@`K-b%5 z{l@_n%;7C64B{OsGdo{Y(SW(YY{aDO9RW#Z zWq+J$l0e{v28iI@UWmhT0*9ocBr6R$*h7t^>!wmIkR*xMAzfU?2`wX2g@T~4yx#Qt z1-j+S$PBL%G#N$Mhx!inuIRrhia0Y}jWMrYjh}OU;vcw{FBy&B?)q?cK&F+eRf{<0 z>g8a!*lpFc0>D9&T}IBq$Wo!zx&+uTxal~9end@cOqAVp-)q8 zXkEo_Ix2@=*}GrzV2^-io861vfttVaH{x;fHUCRf(fg&TfT;h&^X8dCv8yE?>uXrY zd*F@=i##J;L}4{O1sBj`$-3i%7Z$FMW9t@EKs)0ag>30JqfCcos^Q5M62J=;Zph+Am85D9vN9Hbw*-W{CG5EUD2D?@&F1mEMuV zc=xDrg~dE4U#BiaiPENdV)0jEwGFS$q*7UACo79VRoJ&q<+91rXBELS`eq!k8IN%m zdJ0k3L2(rdmtWKEpOt?H0`V{mvsNZ6T=xJW)>95ocwXj>?(;H#w7BDFv>CbU=v5Pq zm4rSknA=Uf#TJN=9jX<+EEPC3<2VzK^7t(|O`W;yyw^UF_*7F^^35$Qj~ogbGo z6}q%gx7h1tnmOJRTIH){Sh6xC7!x5nJ5f4MtI;2ugod_Q;?+VfW|Ij`qD1r!~1cjJTAuSxKm+}Rj@j#$o7C79m1pK9eYp6N||?+#TR zECl^fj+^~FlpZdFStb_ql*v+LUy_Pf9>qDsA`z;td)NoF`4`QLvJy^7yuA%PHpR2z z)8I?>r~V2n{nR>3t!1_=4zZyeiWcJK-Gh1!`aqb7<~^bSGMbPdF*XJW2amhDc(0DQvojhW z=FvhEhn>#GqkQJkOLjx#ZW0{4aE0?hnjwcvv!Sw9rc<{^tAlFvc269)TM?S3+&J;e zB(r7PR<+WJ(zAtacj0)Rt|#&n(s)c;??<+L8M7h&LCCsn&f1=LZF}0xrR<^OF1O`* zn$O6@5Jl@my?e066^$#<-SAth%Gg7_mB@HLaQPzF~2yL5E#-vqr2%8ecR_M~fo4EGJ)^^J8RTR!TN zPw2nU>l!GriRs~-g;Yte796qv7%IfIiZr|S=Avr=%Vyn#YYw2rFGB@Xj8w4mpF_iS zucEkCLG!)`BgL|+wnRZ`{tb`FPLX~azuu`<9AeILw6eo!2I!KvoaB`gE-UCMY)E#s z7Uy5xAkBQ@FFWMTZN~|j*IZDL_wM15`PIzcbIVgKH_0-01i|U)Hv;vmFm=vOhIaze zY^@=%V>%LvDUwWVAzN;4kDoRyqT`58n~apqqZ4t1B^#CSqnQkp6aNuZoLB|^Uh-JG z)_!U_Y59+!Lgw0S1K|2R`KGxc-(dO?yneJwQmrmn11;NTPhMY_<;x-&#CLb=Hh5x9 zveoF_5dVy!gw(~MJ#H~|`FF}E&tLS@V*->h&|z{<;K4C37)27|{N<-0Gu6Oh3b7eC zW93p1c|334F~kZGbm~cNE7tC5Q>!eNfkfrU|DK4Od}==#K) z*045A73<<2v?C&50p>n88;FMN=MP!3a@>hX&i-yn_?ki-Mc||3^Kmogj>YHmCZAny zUO`7Et=2jq-^}l)nA0k=th>8dQJ&A0ekb^H0G$S5LTX|ALjk}RxJ?ojN~G@+)koea z_SXhy#X-o-nZ>FvGeSDoD&PC%>VFe!lRBvxfUlN;P2&GzhW#%=sw7!S89}BW9b=mH zHTXl~zaikOwq^g&%&43~6A@j?Y|?1g>8ae!sO?oBxN^DcW@A2o*UV1l=PEz< z5_X4dp%SKW`2HEjDw(qaID#9_4ak z>mxRQ$ud5qC2+RfvkYYwqp!#4La3l1G?=Gme`4S5f7W?9sUTvOOLxOK}@SvZM*tvsye8Y=y-+r!tCV1O@7PZ-#xEZj{5KR3&$yVHq_Hgzy z7}29hUhO0K)20)8i)eK_g2kZ&1l7@Sh3BEKtyMPXv~cy-wn`gwI4nRoCEv#F(C337 z5T+gy+L%VQov6Z6c?C^#9p=_VwPOW2iJ{5X6=O|c2lY0acTac@+b$pm(=YT%O+Ndh zmLfn-73QrCF}=FzkxNpNr9Xd=wCd0O)$bW#= z8%4CDL+vUj+;HT7Yfn)dN~Vt#@aHrq6yZ%;UuxH{t7>hjNbQPa&=#Qm>9=b=w>3`3 z^j6G_hCGqAeX44-qyj50D|(yr)|!zTAwZLP!w)hX zoM&sK5VG>nI;nv@7$CgF=`2HQ*>yjgK|$cBj=Z;JD$jYW53k8orixL&Fxx{VIrw-L zFv1zx^}eWSvPTG8{_*f8gM^)hpKEoX7HIdQNIoSK-t^b;z1*6ivzVn&vBYyxQtz?^ z5pu>6=#<;3Lx#faN0+(2wP%yYL-!EqA}VH2yqG&GNiR!dGUz({_fllvue}-bG!xh8 z+VmTRr9SR0JVVILaU!{!YpMM)W}6UHq5Dja$96ASWH0yJ3v@5a_H}9#_#R14prKg5 zx<|vSrJ0FP6g?A=c2MDG#nA02`pa~K>JIh07u8$6aUh%bildaziXpkZU(Jd!><>E( zRptb}iWhI=YU&J zt0O@sWP(YnL)_&_JwYb@pyFTDvcE=C)MS2kw%_K_tJW^W3;TN!OrYI{AnMjgRA>9ewfi;g#L>z@lZ** zrBOHBy+NQJ>#l6>5}4o^`vW(T$0APP`HAWBorp~CP!5$1I7q&#>-JBWk0D%G%2H&amXS}ZAr1JsEJzb7L0#g!{}>L%(})672aM_9_KtJH=LwVjIoSkzgv zZ%9Y=@&?a97ihW+)Y!3j`6SCS7;SF(V)#FyfV~3o68?D0+t%mipm^aNo?Mk^# zsH%+*4P%X@uM?oz>Wp z!Y(KZAB|SAHulfPbq%O134B9oj=(21qRqbA2CT-vBi zMgFEtM-gY94m_{zsW)_c~#PHYwxr;_X{DxI^>#CpLIGrS5gF z#Y3~qLECY!++2bc$WTr%FTmZ0cJXgt4I={pCW+*|U~n2*s|2E>pj1tRBl07`N(9nm zN@kkKz2J7qZp~x)K33X!q83iC6=Mat1xZWn&1tY)G3F*MUqTd5*Z$6E)8E%b}1f{5B;F=T%0CO&d}g(O=C_G8gxMRaY`QF|-_F9CWbbm@Q~} z$(0ps2C!8w#8!RJs|3%ysuUml8DLeJ>#-z1^_QGvcVTf^l}UX_(~`P!q0|W9Sxyu3 z%u-MptklYE3U0fS4LdGAm|d6XExeS9B2M$HAzZxIva)HanbO24O(fsUHwzPZZAN2h zpMCOTvX}Z!(cew)wcF6FsmYTvPam)CzMcWh0N76~Ue|Q;neXJdyySWX$b`4+Z}e<= zd9O5qkzAO=CYV9}+>~2AY_(tx&uK20sUL#h8rD>gA&-$YZaF(Ro4e@kCj*NjNsO4#HY_6wfr0(ss zTRLaycPsW5Y$D773ww&{bih$=?J~K+9zb(;@c`cUe$4I53l!bJafW+8 z3h$L6Z%~Z0aX{a&-9K6ndy7yv(KlRl+AYM})@Fy(_zE=%uL%Vqo!ONXnk#VuSz*2! zKO}<7XvMWc8$8SSlF(nNj{td7GIP(mYo7g_PnD$dstZ^6QgicxK3*{nvJv36`iXOd zG7J*F{y8*e{Ud8-h7-a+=g#=So~=T*egruNNQw-nlxMJBWo6hF!6`IcJ z8D%_LA6aUkeHZO;uJ~kFMe4U_xKna|6$)Gg>OC<>t+Sgz4Ud@)K4}?GSK+UTVc%}c zBCNs1Iz?i|BDI|2KqJFynZ-Ooj;(^;jXJiNhpC+13qfC#O`tVAR7V{v%DPh*mui&pGqoS{V$Ll2*MZDN&mx`e1Q9;NE? zl}#IjL)RLnpQS5$3C^0F+jhJ&)K0yZ6uH(7f9Fc$squlz9#nQuPD~*@`_*?Xj?Yj@+7bAaY)9yAXxgRb`A3k%Xy4Ia z$MtFBw6l<(0A4PK*squ8$z7@uB?7G{RTJgH!qOicxTRFQBuYlG1RP{gFdbM*zw(zd zGxXw0%Fp3ZdD-S#Dc9qaD=48WT#Y8QL)KOYGF;xkk|bSS2Su*G{;x*ELbfJ6io1a1 z_C$Ohs=WOy>|KXP9(laCsJB_a4+Jpd>F_@>N!JwBjc_6&Y$E=iOBxS0YF*3I3;l%O z;qB)Ym?&oz*-WKQ@$s+gMjE1$ImLj3=wpg zzrbVLeBiYiqG3SuX|_VdkRuft=1z88yKlr&%xikmHYiAEbuBK{iUN=Q4LJ%CJm>rv z0mg{5r$E%2M50_dp3@YTT2GKaC*TL{0MopxoZi1i@H|?Xo*eIe%HDb6ljO|Qo>|~P zIg-;3)yAwQ`>m66TlyM>T^;JrbO9-@0V{2OhAW`-Ntl+YBf9*e25Da+CMZ2Sa|&pY~Ay_hW_pAj+@&u{lILr8@0#coQL>^>+d7jB?Xl%-3MaV zeUrM;@RA?gUAyP#>giKn8}$4Cp~SZ-c}w9mULujX zKLSP=v7)32(sJY$0poDSbdt)ve|6=?qJqqULadgh7P~f9XikF`j{*@sxcwQGh7-F{^8{Hox0nz6N)wvO`>hW9xrz_w>cA2OmpS0|T9pT_0X|J( zmAslvF!_MGk7#%~!CnLoK3ZTB@i?>kX zV|Jc|5|K4UX0Ne^>gn`f=50W>QCwchUQlfl{I$x7h?0hp%X@vqtATCm_h1LoC1wmN zc8Z4+pOM-FG-=F%%mg=c!&KL=LK!tGGOK}AOe?aZPc@6XBAlYZx8EvIXhraeN8_Pd zkmQKB`}{>?_Jn9|_$cBLe!O%&36M}VZHn@jy$(mYk+IwHmgd6<6U~bU=53qf=Bho+ z2}tFJ=yxfXR|YC1V2G*XkIrDzO28ocC_=rIe>>-kdwH*G!!LEpP?Wagayt+w;wJTL z=cA}T11zVzHRo7cwu7w2$bFzjU?9Z8MV;5!4M&KbEpB1u*r8_^k)=DYqu2ZNV9RMU z?UEPKt|ZM~?V-k#H3X;DQ5=+gO>cGo9zFshfVYSnb7|-CGFHRn=)d9;0h3z9viVM& z=tSTavGlu#q0}>wlGIF32_(-6mz^NbsHyw# z`lzb1>=RCeK4#Im{z^w{ZwK7In|sOyB2gyg|IVmOByhr&z!H2xDmE+l_T{6Xe8`iF zmB;AmmY5t4F?tLZL|ajKln>bcNpeV;2}z5QI%76U;!xqC_2f!Sc)w4jHJvfM;ui$d zn1$meM|^n-QQyoeDSs1Rmt%>4sZm&d&Z8*zEo``)ZDgwo22<{ge*wcscv&L_u9r8# zoKYl$XQezTq4s;k_?%y~>~T+fXePHD+(EjGj2m7zS{5rnClem9Up*tP zq<&dt&o|_DOXAJno<$r!N9$)lnURy_8>qnL9V?&XkBfe3otzeqlA{z75dR_J$NDo( zO16L8`Uz#yZ8OTN=_n2rKBErdwtX#8G?`0FHc`AKbT*1DZ0r}@Ex8b`mB_b1p+`3C z`fqjXR4Di?OEV7r^P#`nn&%hXqcRb!oDw^P?0|Hl4IpRh#*MwPkoCum z=(Yu{S{#;?1dD*dakS$FWEv=enCQif8L(S(o?!hALOo0TKTRDct2#RcCarnOR#)o# zZ#b)03x7mA<*RD-RL79l70+-r>+KdppI10XzK4&Zc>Y*D{KHw~YoDn41F{ZAiIei! z7q1mdHxojBuXK+HDV>@>R;fCLQ=0OYjKrf6Tz-QuC2ga3tAvPNIFjp#N>ew4hmPu4^qNrVl)f_RL6SQ~+XB-f*s1*D zCo77>aeX4Tbhn+*i@^WGtWy35fTwZLJmTSBX&a)r`fU#=-)swmiOhn~vT>Y7l^f*m zOrc^>xQ)&*ILW&p!r44ZQ{OP^aHV_PSH&y<{Ta3>y1+RM-w(}87pDcdlNT1ka7oa_gw(d zCJCOf`4e@R;-v?#L%kwTLfoa{#(0yxUbYf0Pv^kF_CxfK)D!8pl>}fQI-@Dzz)Bf= z9HUmMqOJ@9&`3_bQ#*cq*q1eH-U>9h0s?Rh&p8D-^^)ScxIx6go$4`r_%%SNaA&{8 z%lv0^eKW50qo=(L88KlwG29(^;^3!J_WNuE<%8lo*ejjT+?oonY`vee`Ao>t)y_Aw z?g}zri#Ok3qA)diuC$ko{5EvFI7q8kML<>$Q=4&xb#-dvKxn1c`@K>*{zo+hqJbPo z9@YadP6Df{OKiQJ&Ro~XtOPwza=+oldBP2iWEd3}(S3c~GvZ2kVo~NY1xc-DHrh*L zJ5a&pG*9JW^zS`dOnFk{4+>Q>|1z-hIC8*A2dM#WL_zi9)lk_U#EuBD>~bf%Um`>l`6GQ`@%c#hAwe) zJ$*G9f6-|>g<@>(c}}ZN8uP5Tnni{>-~3zhahA_`>O(Q2-iYkSRQ!y0olfS_MyGh+ z1y{YLK;OuYOwhwkDHY10G0tTL!EP493%pqi-Mi*?mZIt>3tW3^h|Ap2 zC{qfmSVCNi;xb$a#~R@~ay(_&9>rH=Hbvind`k6uKI+E#Hd&7}4*ejj=V;<u-c74R0`nr%BI<`hCf+<@}z}iF!1C#Hsj{o8sy7oZVm(MYq04QViB0HwFXD zt=RT_6F~s{q&L_EV#&29G#~<;{+d?84s~jmcdTMpy=H=!%3FfA`qjL)gDE%xW*)2m zLrur)Z}A$5WMJ7}{8zVu$`Vbc`7Wdmw+IhMy)KG9?NBm0*;Uus#}I_tfIE!7`KewvuisF3jNh4)sdy--owtx~a)m?ovAvs2gs{;AYvq@k`f+4D|K zXFRrK^x393;=@Z%r&wrqq9HW=8aPY5c_P2Dz=ay$EeA<-D3MedWk+T?ZwuIPQv2yC zlOq#!z7Qs+T#IHTiQfm>9Ird@4Lm7m%>{Pp%1-c8;asu^*H&CiFVNuJn28V$`7a=S^# zWzlJ;^1!IuJIfgv_M`JV=p;hX9CqSFL10Rxd*&81};`uO>_ z)F13-DX2;L;lh&9;2rW}3~VrDjwMO26>O9Kw#pr=o1L=ajwuc8lWQiT_MP!MapYIzHEBdCmMrWS2!^ngf z`{AEtV70Y_{tox>pw>S8M^MD>)ySY$9dmpXvg2Vz`n4D0as^jH=1AeWy%)Dz2YFC* z!)tIxNOA6LhI5-0zMXuUQ`ehkHpD2hF<2ZC4;D z!?qVRK?dSze(C1f1{K}-l-r25_Gg-dt@MWvF5+tb9CNLUGse!L%qGQ-PyA+6m=a{S zR|ppgjYPR4%R9?q7Vt*%0tm^tfo&n_d;Xp+(Y~d%wfL`slGhd6 zDx3_0>g2gjga|DcCa)mRvuRS)kVQcb@;TNqZyWI-kaThp2vkBk6XM9IORLN>x$dvZ z=+jQ=yuB;P5|~@eF%;13vp-r&PwxzYCDWSc*dx1DWn%XvVS8P%prELaOWr2^iiG;!4q6-G^KD%O~X`R%a@qa z%N)1LXIY{*JM2(=wI>K$I=NsWJmW63m+spGv>JS7vi%NJEp?VCE-9XRpcoF}Omv$q zU&6fwkQuJh84-AQQ&!n>>2D?Zj~#0)<1cHZ{`GH@Yz+J=p^Q#|2^cnT?8;d!HU`J! z$$~Df4>?DJqjE$d;mv{EsHMS4!BvqZSlY6-8= zT(3&|e`!;Qk&zads=Ly|`*LVdGvtd^?1$d5`S{`nxi z@jcUgJ?)P^ZHu0v4pnO)QF-5HFK}@Y6CR1f+2rrYrGV4M*gU6U+)zR+hI-o28Oo`Y zz;)kCkR1_paBtNSM}e!`p9_zJ=`EN>q{}>Sv<+sEodu!6C%6USN^=QP0It0}Ayi(g z`qvNsVu;_*dpumWxtsFy>>z8Tsw+{mR#TM{jibh3CAoLy1Tx>86%cy+#_7U?x=;S% z%2DhxGeg(X8LrXp<119eIq#waVPo?G0s3*6^Ajbhy2A~y@!%=-$6}qC`WwP&B02AI30SM{t7wLFE`|1bxRTj+U%A)PI&pi{B~XR(RvYFs$5q(mK0vn>xaPruj*Da zll&n;81))q?ih+j^u#LI~t#o$rN5?Rov4?|bp?|Va6J~ckK zp@bj}zTJ>+X~I!m&~5Q6XN{O#aeIiPIAveHp7g9rf35O8mvDbA%D1hT0MHuYDK`|8 z8m6a=(ND4ve}B_FEO*Plrg4l81YlahzkaHR$H5kQv}I-5sYlxJeO`h77f>sHVVZMI z^zBn9zUI;SU;%v)dTlhkdmNtS98Xc%R?P9570zEXZ6lS;caSgV z0@nT2t;QQQL$4&I3_-cW3%Nlaswsm^lH)J3Pz|zhJmFlVR>Jzz7#niY3Cl*2%XQ{? zIC;OIryz+#gsxX6udm=CU;2YWiH~zTI_fyFqRWp~$!uk5H$qMl)k2|guR@4%ojoUZ&!ow^ zByV>o<5MI)`;)Bi-yZTF+{kBkH!s54I}}e#0c(q!Kpf`)m#oGUJiq|N3sf9f79WEEMqTTN28y<1H9uiEihM}SL2#S~}0o2J#O ztUyfXS*4cw1hmIhBMmpFZsBCL$4*giOLES3ZQDpG+o-Q=#iyq0#pMNj_pKGsT`d#i zmB-NEToN2ZrL|^%$5sfsRj+cTt@r}Jl_&bE3tdaYt@eX4xBK68vcj{>P27!u^gbE~ zL2*4fqLa}YFU~I>o(UMbb8{6lM)QtCk-vH!M3phTfi_o<|3Yoi z`Pyo9HwSNS_d_C`I8b(X;tk;ZBW-;gn$0Qb%vst91@c_CPP!IX4qF)TQrHnx^yg4C zI5pg6xnELX>~ir3xo40HZQHy@p3>+A6u=);`>A#IL^ESyD<1B{Q~z8!bU3aOuve`#WcUCK4RVf z1AVK8I!OVrnS#Q6(ZDC-9{8p!TwcDv((wxv`(yx!2Q=Ov9vZVldDSD;TKtx4D5 znMTy+MfU|8&dKQaC_e#E=A2JQcyWuitFz(}{2eTj;cxr4p)!?fG3C+fq&0j(0d-@% zi)D)tUEf-!=QJ1VZnEq%IKwxMia)ekaU@us1npw-rSjT+_0329O9wf5^(lq1gLUZc zi9RQ^TZBf?BWy3q%}5 z!h@cj`vLD2>5j#7p0p(*Q@y19>$SY?tF`@_LfOdq?FLbY#OAzx2C<4oG(3DCx@Y63 z>hfn7OLMhm(D{3-NQjm|h89!rPv@L0Q4M<(}Udt{P+&90g@kO4yEKl7{P3s%Ynnh1yrP`|B zk2aMi8ozIObXFnscKmhsbW;9BwW8`v1mHA6GmQrT^uf< zJ2E6){arQ;JK9Y$<_Uux9uSXKfq@Q4Y`>D@926Lvwa$|ZgX#Djn#Ui^8{=*+$F22q zwMU-yx^MSy3fNnX^V-p8$_mu~0YmE?HyvgT8R0AKFFMdXHtdN^ObfN6VpdxhWKg{p zyrM5cG3EQKP)On=5ft^R9Ifs$jdoZqYu-Fvb|G{)Eme!A%iAe?Tsl1^a*-)OE0)~V5!2LX$3g?CtjLXsA|^GgDn ztF;=8)p5-KKHf>;Y7kG&E5{gQ+gFE#y)Ea)}q^)9I^|29i{ShAnHU7q2? zC%sps57gtpy_IR>8=A}RnmLq-SvB$Vnhtn;pdq|lm75p8Zn zeFWPhGA&d+we#sr9hS9bnQYta>4@X!L4b$Oj8v0H$7ot7*t44_6mQsN{_4&>xL~~b z2NPUB2nq^tzv-19(HxbrB{(5y;fpaM_1KIu{_N4{Y4HI$^g4e5gN+#5f0_kS%(nVk zE{O)SoM@c{8x9B5{ol-zho1Oc>K!$8=((YhP8TG7Oz?;_7yW-P15Y&vH2yB_JL`TF zB_PKy*s9%UwM&AYb{y&gH*h5<+#s{odW51Ut^Y>Cz14r8lJ)xSCd;qI3wXFW&J1Z( zb>lod!;|G?;mEYBUy}0sP}Yl)s+G}j9oc9d7>`6bP22B|7y{hrvkk+BtLbnGAn$#C z7xs+j^toRFwoZ2@ZnmYFf;Xg5Kr#kcRSCPj#h6b4u6)n@+$I5{$O{8hFhaYS#c+=4 z#WYal3N|gAI4?|YBxLRIk7!gT$sT@VN9}nRcw)Vb0?uP`XS490OX;2QxEW#oHmx@_ zY(iDT*1SUHijXtUn@GIhTQ}cgJ2Ca&iMfgc9IoD; zfLz%${gez|F&`c>UR-Alt~-NQn#NxL&TiJ^z9YSDDt9imzak*<_W5pU+p(5;MP@r< z?Ipd=)9i7Ah^tt5LAu**DJqqO_t5hTh*U`@WU*n`ph#r``~cizFY6yz4SyGN%AM%e z;&AEFT`e{LP3Qd?VoYRuoM~qr2ax39!!RjH2JL!OVMR?RoW@#*C_%i!r`Y-KwD*2z z$k3x1U4p1;X24eBKwRK)44D);TMs=Wkxf-9PxU1iD}*vVhsiZByTQ<<5&4ndIZ*tf zjTB)M(%IH`eO-ZHS4EbJmlQGCDhFrNF>o2B6Oa?nd8Wh`7ac!(G8dkryA(ESduHJI zaZ96%scg=Xg~Jnx0R`0+7=BPLV5;n3rkueX{*U)Ru=23o{JO_QQOKf5RB95*V*}1x zf3`@FSSTPUQnM6%RFh;I@wYUcLzueP>(u|Y`_&b>>O+0$sG0vq9rgc93jDt;@pqE> zKXdng4Jc&(SMHvnQb@Cu4hGiFMMw7prTQ@cX8g$>fKQiv1liS-QhXpyUw!leR7iz- z!usZNWbCu7%Mqesc~GPyi|ZmqYm+Wqz7(7JkEeX5VKJT?I)y0Da#wMa@A67@*FFhB zcKRECfR7C#(}gltXjn9(Y zl$AoP9%osqO|vvzV`*H5zMZbmDeu=0v(7xj&=#4H9h^$hntU>t?{)%7Y8-CtPls9L zPn^j>-Tx4}MD&&xoBxjzq5qFr`~R}vzEEi`8udR+IPaa_kR81z1k(GTDl0N)nnvxw zueK|h_$-VfK!qN$G;_3rr|0fXOyAf^VME^#gcqOZZ%^@*siVC$4iDT8OFy#tx@}4{WK=o7l}Sn& zXqs9T%VMQuwrAu2gS7Vmin3eQg%wZ`5d=k1l86L}lLJwa92Ln3IFTfhvj~FZBuI{u zktl-XC{Z$!b54?Tmizkc^WSs#J$28&&;F)r3TmpRYI?2ir=Nb-db_W|jeo>M!ovw` z@Ni12Hl4y_rRb!d^teUwFviUCL8FE2DbMjBT#WBJMb9cN_O8%nq(}yqDdb0YhvFRO z%2VbUiD6;Yedp9MF4Z#jwX)n%XBsDK*N&Uffehe$hHNWImf0zRv79i^=8KNx_;l3P zQ}y+{^C8A>D2Fpmm$59qPtq+paX-B361=IOlL|*&HxnXbyV6Vdls;7ZwzHa+DESaVFIY75V1`pE1g!hF8?ghk3aiqd3tx|))ooYqMYR<#E%xrb zFy!(0oHp?yKX1{b2eMfo&8ZWb?RkxXAPfZ>M{|1^Z*|89Ht-($ev?GoOvG5Q*4 z>w6aIvQVdt<(g)6n7VBh-7Q}fKH~o2`gy12&*j(lx{o#+0_-?v8%kzp@inZkH(rn0 zIk?EVbd=#7LFb}AX=rSliONnfTG|StO z(=C$vLujx0`e`Qjq)E&aKKOcPLUFxN)SFA_mjsmc0Rz4I~T6iCa znO4)i?`N4aJrwDL=~sbs~dou@o{k zUHpcvLGUuqQi55^BVhr-oR8$MTkL{L1hU06Oev+)--S!ev zd&+u3IFPRlaDq57D#OIv9lP+BDA8zwT$?9CAv{`{uYB)giE@(R>t0KTO*5Q7k^((p+sgS7;^w zgN6SkCc9gQ78CD+_{3&UeGT4ngx=XOdYEc4G8r}9HWE9&OX;dAxt6eUSmD1jb6LhA z%K1VmUWCry&Z#0GJ}6}Mq_fSTJ$-BI8ViZFwYrv+9$#rZ*F`tg*wNHWZaPkZ;TBjo z=w}aP+M{3^XllDcPeYQ%u_pr z^qhXmL0yarW~Eu>Ppmb=wi)MuSR+#W`|8)~eP6Kd{k#ZPL3#X7DsUV>$PA{>tg#mG9c21UKt#h{56s zc$xt>RB<~ zxy-QcUh%#P*}2BSS}k?h`-h45#;zrlthlYzFYaHc78oQ&c9Wn%r5qbSbQe`WNlT?< z!fme&Rj#>5mg`X~)6<0m{&m%zlT76%9jF{9cPlPH?|yU%->fO$_3|RIoX4BXi+{md zd+5c4*}waM+us~;(x~>osf{d?E8U-^Mky--j})3*m5>;V-~FcN{vpB05MB%|#_Il# zE3U}hTehTRWmBT*^=C;qSn=ngBu*zhLCGWx#O_%J-J@;%cu*Rb4|-8|$kSwNv%4_C>;=R7V5A%uHbdkd zCCeM33oLSnApM=`>fO&7pZQX__YNZeM8Pla_YZCW&mDsPPR9A0jpS{Cr#=583gVh9 znf`3e;SFeb)aO3xKeQ9VO!U><7o2 z9Lrd4^QEPZ?w12+gEvUM;E^xFeQvx|Z_8VK$t~|Tmw1U}u`B#j6XTc1SkNb=4aEsGIWMoF*d#M7C~aR|OC1`s z2D6pGOqWDpT*E5fM3Loz&k>Zgz5#0A3t!q4kdzhOO8?-zqZ4jOaxlUDC1CqONcul$ zr-BxV&E$Wfo&U4M{&#z<_vxJA65f86usHV zZ^vvOmETEs>h6i(mFc-n(JHjz_k1_0q`wzxIlX!$GDcg=bxIyVY<|lt+GbH#kt4je zfV+3)gL4=lw5!N^HGA15a|x-u?Nxj$b0GDC!)ht<7<;=%dzBSAx-I-Qg z6#2|Q7bShmBsNa{xt<*Y)W5{pH(-LOzne6|(??y`_*0UmN$IUOOKvRpX$FAV z=Ikf;TUPoWi%aWwjo({)4LgvmZ8(thuG`bI7#oN>n#t(*lyl`@>|$fJWz3gkTOk^M zU~~;zXkGNd#YkO!;kCuVx7y*e@ztL!^~MeomPej>4dfm8 z|Eg?TyQZOFD7C+&=T2|_Lnb+*Bt&|E%)5Y0G-PIcywg(KhyKWS@Q$YS)=kZ=LhC^8 zbGFe(Adx(2K9RP7LO=1&?W3RW(x02PlU!QdrTLrtKkHkPw5CO0CHqOv{!wQiW0_i_ z$YJuHkR2K~aABds=eZCgAPsYoI_T%QUrkj2)nU03ahyG}oJoIJ97vyia z^;#M4{CT97WDLkn%lu8r8{G%uk_vRaK4!0^J5yeG=h%G|+)m}VJvu2o?1hJ}Y8OrV z3vsVSQ=7PElFs+V40i;EXJ4g$xGa76GvtjM;T*j;qq23bFL=0{tY696wWoUZkXXoB zb(p9n*df}haFG9t5LR(FEZe+^tW-j^T`T-0r`ONggpB)!{Y4~qxP_DTP0Qw!g^Yi6 z%a!OfT^F}M{!o4Pc(NqQhc@upn_p40Ue$xgW|CX^;}Wu4KltCr=~sHvyHdxyWy=;d z9>)3z_A`n_E@?c7Dfl6|Om#s{cARSY#+XQSEZ0C|ia^7FnMG=iwkP^?6tU}ZzBc%S zM!j2zAFHT#rFBk%uDrwE4~^Vh!6n;rt&cYLpUKB9F*I4uRNBLrbJi6?m#o{<3u)V% z6&w8YHSOf+^yV*Q`VI<1qwG$B_Npy&&S-Ya$Fv9BUF^ob3w*V^BdHOC3A6Ly!Qsvt zQTj&Ob7gH9Y)ASByPy@FlJ?~VAL&>+QVkwi%TPvn;@0yM2friV;0!gEBb0b#u(7UH zOQ}slLv@4n_wMW1#n5`T+9Ark=mF~j@I1y#<>9O~FD{koxI0PbBRyG;4Jr37SaM}| z`t4({j*3ibo5KR})C{$Q^}tc4RVyY%j~7J&`Fg_TX*yKoTP<7BeCjUHGgXS!CR z(J9LHxTR{bsK1=tcr2%T*SXZ<-4)`oh^Z0giK_Q8w`N|jL}k)^Y|QdN&`)T7pl_w3 zNaPy5*&Ow-#y9m38i|^^*~!leJAEggEq>t76Ows-K-o4#*-+Tgj^rcUh1)pmUW~S}cRdl}6ir;TrWf9dG!4dp%bww4HiJv+qbg zp|kv0w%Ng0pgR3CvH6A)JfDR)y6{zH3W-T7*FR1WyZ4}^2 z)+bj$$$FFf-;q43-l)FsTC!J7vvBnLn|ak&mjJ#cer~(jW4()->NPaxmsC=v=|sRA zhCw$J(rYSxit5GdgK7J5sZ#ulVbuK#F5`~tc=6nf;?v;mH1)zd`@#H_6Yn#!p{M3? zC*q5}a@k*<8A7ThXqKpDEwAt~n3{U@bnAFE$@(_kk*3taF^BFfrEB@TJ)FtC>QWdy zYVx~h(yY>*@i}t;lT=e$n*&OC)b*9V&*%M*zptkS)sz&Pxgc5O4_{K1Y%HK|(DW^6 z9>X6V38Go#uN+&R|5mGtXWv+m8jFr=G0Myizv;S?Jm?^mxp&h%VY}nGo_eDQ^0%8c z0qME-)n4B_fYq#2eE^u>s2QlvcBtmp|H0&&*dXRxUKL5xYM+FXR=Q3*(d%3_7@xl2W+>8WiHc-=6Wh!CY1V@pjLT|5x!&S}`q z$jF(<@W5ZHAe(yE8?#-4r}s7(nDlnh^Vpi-$rlmG3SH;FIBfJbj9BnNYH#^9lSV_X zyFiN3iyejE$No8wNw29##z-?1U+|hXQ$XTuKVP~u+#DW*A@H6tqHDgkJsAFzquaIa_!N~i=9pP8f=${yPkOxNJG&hLby5#D2+`J#d;5$-gvt1Rb|@EG1xDkDWT zmJ5UaO{o-=bGbe?k*OjG)+W8%BalCup zlfIW&;&(Vl6G(CSsK=q--Q!cvP993iz)44R{KoChgu(hd7vFq$eQ9j7>b$J&b#-FC zs`r)H<Tp(~gHp z8tiJMS$3oF=RH#&@9u!A+NeezB3>y8FQLSWT@jQ@D-5CWP8*% z;(xQ8kR)B1*+`!h^iWDQE#)%L^J_*)8h`jAMZeoq-Rxm1)Azs9Z!)|4r}^3iB+}7{ z>L8zKKr!3Gs;l5IzP`B^*Mn~e>fF!vjyGo``0y`({_*TIY=(c?sHIa!Dg~9$ow$qE zFtQN|*z(K!;JzbSE}=(NXmwGDwe-T(=4eme7z35{m}*P=?c?k0hZG-iI-~3~3G2}{ zZa4jm7Hxh`eV}ROGP0@UqDcd5Y@KMQhGh0IM2eJWWzM7T?&aZ^GYz;wd%RY0sYUlW zxU)y4PfS7x#Im-2lbRQ662Wnpu+1+odRun~Z;&6Rt)OfZq6dW%uiL*Xi{&*{r{*)V#(A4R)J8wG9xr?P zl0|2+bCZ_0K&9wziB7YSRodQ4=|#BLNcH%*jLVJQ_oMCakB(YzEj@4%rX0x@3Wtvk z)KjJZK;kd?yge!Az5R72^HoX8o0>3EtBD}L%?PHaKlj&i1kgPQMaAnaNOWNq$1i^U zW%>e(iGmkDXhXW;NARN`;M=&S2sAK8v~ao-8fnd0q$8Kmv>5ZdM#mR&&)`m{pA8`; zRx?g!aZhZ*g39Sj{h0BM8R}pGS>F4BrU<#H9G&Yv30q}G?pw^i3M6GFV<)$uQ9pBz z>G(OkBMiGfy-F~8EdhC7sS!9{|CZ}_hZnT!WoGIv79U~B3ZD-)6F=#+`-VJ=V{fb! zO^#@kiJo^hNfa}Yaz&RFug>sN_TR}mKT0OakGhXoFj|mkb@)m>o}2kf$^?JAXje-8 zcEy(t!;W5!tpJ6~Qs=d$FIi|^q9ACQRp$Wuc5T$G8{vJ>DD4gQE^SMS@vh95<3hW` zom=0BF`Cnwl^E>`zazGdTV(gu)xK66v7U{Gb`_Q=(%gPiUj(o26jHv&Yt^7-|ID<7 z8hrVN-wM-X77mH-(+H{WP4^=-Z@Ln%K7HV4sIRT)bkX!uqpXxp&TWIDiA|N9MRf#QSeJHPf3WLfni;2Z!(^EAk)LWXo zZH^xj(QfREo3Ma@D5wpUbnoXK?g@CSJ8mf5q=#9$L4)+-TPAk(n*&+YjhegFeqS9W z=T;7=C8l4SE%uX#wW3ESE91{0*galspl}1v#yoxg0I7Zl*Ll$1hZMWLC!3;Hiz$S_ z?>Tp4WS;83<*#s`qhHR`)~_1!%$L+jFR)jRsR@Kyb}U2*-mvd@|AMeE{G(}&N!quw z>^M`gvgspz*g~0F<3#qxnu z>8J_2kfXB1Aj?5kpG3ENl{z3UX=iPkh3Z<-tI5*9vsefIqUN{WbWjf65igKH2Ip9` zl250-d0KpQk0b^B=~oLZkK`b0)AlS>$ZZQZIPxlTgs+HfroPZGe<{o|J%PexZB?`V zN&p%&xyV~l8E+12ttMhuZL8A`xIRnj`mcRkRhp){*`e4r)a>mLNb~E$Y&R5bXw6xd z&NecCMk8~4u~E80%6xT0$4)iku-K0EieQtoM%SjE*C7=fANyXOctF62r2qCC*~xDQ zilO!R_KO^gKKd7K`a7AJSL_^;?zU9b{^H7@y4!j^~eev9s z*L#Ku1N=j!@WRo^^4-{M(M*a;aw%?prv0Q5)OxTTeR1aT@9HtX%T*`&t4$V>`H34p z_`-Q3&OgUT>vw!)>Wy`|I=#3Y*k$D_j(anZdJk)lEQD>Nw>0_!QWD&`g6P}Dci zwR1ncd=p^(am;xPIV_~koGSr5)iGW}Pok;5Wrn$IeV%_E_^mHDa(6#krFc;P>;Bk+ z{iJnpOv2%Jqa(SlYY)>cG6wAqI@yU$6LT`{JzlW=0Y}TKGpm{19?gs&Rucu2_4iez z&{Rjgc8OD#Vq7tWZiN>T1tc5puiFHDm25g=KH*R(|Gwjv5bqZk)pDg(D%k&SGQ}oP z6nVV9_V6b2PT$7C_({*jaa>J(u&c58`86|zrs3pE>(%J|_epFG37H|5Jb2wYc(0QH zB3-0?^C6+qe2DZPHBmd~^)Tv-&(jquy^rju-}O&+o~Wo)5k-}ff0a0Jo@SuPUM8OB z7gcI~&Zuwk&twz)FkJ7`Cr_pZRed4xDrmU`!Emi`xqHc6i?Uw!v1y-OXG$!V?fBjB zUB_S9nj6oCQzr58>@t-OCH_3+1&sXLof}=F-lV_Ry6Y)=jx1fNcgD7v*qV-mDDvMU zE!$`|>}xZ*_QSPehz8cDXTA6HF30w=Ws$tG;?EG?etX`1VpSC<$Y*b9A8BuI zTbTDLA_jo#qGE!IJ=!|OD{4@b#z;_JgCGvHrDI47O$}xn|iyzs5A0_=UjMS zU7~djcULBE?s;8j1j*gwsb3fC?h=`gOrjU85vbWeEq)P@Z}4`0#XTOX^CPS0>@Nl^ z_x(}-cxjAF_NO-PyOT#8t|y+8pM`?5BxFP*=~`RhlC^5a$9gP^x#4e7>QJmTbd#B`xpoBxy5g{m94l=mJPJgiM}o-8~#D{lRbK?Y*=#$P}k>P0j!pqK~%*7=*v2f>Bo4IKOOI?^~uv)N)yuTWY~1W;I!hG|SJv ztWWH7o^|FBl`D6GKCWa4T^j>rwahqfd~xONcFRZ;fvvVHRtC(ZWw{Hj%5`#jJH{y? zs+ zvvW>K<7r(O(MUd;-HA=@`2|~_@7`Cp;=KwXH>A4g6-1V}t=5s|>3vrP$>`OD$}0Ny z6{;d%*OzkKRt!w7cl*qC{Xp(VhjMHDfv7vpSIT&7gNE*V&I)rM$pnr8<)D>#!M25a z<8@|y)+LQ&-s2kY8Q*B>4bSl0l3v?+z$rj4ZT5ESEO(qrJxH+T4T>Wz2BysKDAE7O z_S1cpsOQ2BA0;!{i{owt_K9`o7+pX2SDRaKQrNF_t}6VjE;&fOubR!Z-o<;fDh!cZ zW;9*inLqUXqYwCfXiwo)B4fkFF>8x*tAg2dFXyTW^iONko`|1!XXTrlM1z+_%PtSZ zQgYrhxmZdS*7{;@aeQRX-fq97OoCh<#B)%6`^O`$aZ!73G26x1G~?dkkQ$baX@QAv zH3JScADbxK%D5@(^z35EH7^H z(UmyPR8h?Nlu9NT6*SJmNeujwyU#vyQhidhv9ad)tpv1Q#Z%>!mUYp&BKGqBXFQ?awcOt?G@s}^ z{5J8?VB+hoe>$i)=ndyyS6b| zrF?6Ha9cAv+17q-Z6Cc8B;(^3cg;seY>wPvioD`<3L##JcS+uAI1cNuUP-h`e4MMi zk9ix;UsH^Jah$Wa8owj3b`|C7P}OJI023zNUSTroKcDA+5Soo*Iv!&{CONTQ$qZxB zB`7?-m>4r3%CmSQq__B`G^0XL5F@tD*6!2ob#le7xA!kl(lPObig&y@dH1~N{hoJ1 z^4fwYPM!WCSx5eHyYYkYTB7HQ-1orq*|purrAJ#Y^6ACx%T3HP^_zVg9aJ@0bq$Ot zA`aqd6NV?ZQZO{_5Rk148JSx~GzJnhPS zh80O}>S=9L@C-V%itr>hWrfT6&iSCeMn`}D(Oh`_5y9w{NE%i1Ruj&e>7h{bK&PXP zL9Hr75?QDJTi;*0WG=fMO)d*YH}mgUI-Tcz6ktz?3sak|UXhctollD2(cY_26N?UV zOenMK`jIZ4Wu3R1QSSwfIGTEjW zs=oGKueAmA=NC~>Z;Kr*7gvjf{Y;kg^Z0N%B=w0v>==!R#~u60bEX}WuuV|@sxe1_ zlYEcM7ml~rjjNqGLM-PBBDU2JpYUTk8X{kluA9^@D2>J6ea$>g+8+IUXAh>`BdOwV z*J3qIES0&&@M3Pxuaj|3hTic@JAC2hb85ua$0%>Jg5v8!i?991`q9sITF@5xuOzZx znih19wwe_N{MvXEYWyuC3K*bMYq`jLm-prKIvw5i&g8|6;WwM443+JN7f4xhaRcAT zB2(T`Tu8b}eRKVp1Jk{)PZr)xbt?V7w1hmHOl*xbC_Z02D%T4TOms~c^mJw~7LEEd zK_~3;7=_i>vd%~0!;pdSXG}Fa&wn5HzR8ey<)Q0^0tMf4q)Qor1jaDk{OFXV`g}zZ z%FJ++baDre1zi)kBvx~_So4RDjd&=KkpqI{mk0kR9s8eMm;AfKlG9Y$%<4f@o>mUpj;uJr1)xs%S4DW2PD1OPB zC))WUDz4;6#K4}5mR789}=js=g}*6x)VI+GYg?gTL!dAeVzEM#;pRO6*EUJ6kgy7^@1mh{4dQR6P7 zHwAjiZ-$|CMA%ciuV-BpO5yYDuiaP2Y|D$5j9_3oXCDJI3udD=c#$&a*?mu$Kty;X2;`;%ftF-LuAAbN2r@Un)gfVxR&<6 zR4pAH6`k11b1gHGSR{(9?N_v!N#uUBvK4IBW#!>}w2b4i!$pwvby&tIT0CcY;5*ph zU0pRfm{0sAWgf#pskGNAa-H}7XT$x~nP)I=SS?pFlK%a7rST^GT`jpU8VH{LhN;A# zVy3#oUOF-0e!QISP>9CYPW^x)i3*Yl^8*eQSKxwaNXG2%^lNY2Zn{%-{xJU7biquY zG?rJzK*ZRVpuczObRPPM%J$JRON>&JMD#5j%&_axbDuK(C}mU2f=r%ontZJ~RK**t zf4p0DGg_S#xcu_Zjko`2w=(|j^xL!#U}XE_^FG74mI(#=OjS6e z^;fhDzuPE);uvDs-`}XZ#wCxr@-ENB-=TMLaP&}Jv1)0}lCU27JW3{4%k+6ySlIf- zyZkV}E}i(IK@!DZ2+opc1$%xi0~c~fU5~b#pGC|1r)52Ay7tjo$0!&k8%Hv5^QsGZ z>%Ng_dR11I}LkM5L=ofbh{@D*0zZ8K2*pE%%{r?_H{NG=H#r@66 z;lLGm)hCZBfY$RBZtsq!?!0ig^pasGOHnmkvW=&$LfEm3kMN{dsrQXw#?B9%qdssM z$x&xw_t;7MoFQk-#P{+SUcnX1Dl^K(xUJ5K&e0cfBy7+W;6k3wrH#*i+pA$BB#ug2copgR!r*YDwIfem^w+r4gzz)!N<|&~z^f`5DgC5k*wZI&cH}&2MhEl!?`r z#sxDXEZ%uhv9~S}v(uzs&(5H!Q9+$*E_}UtForE{q@s_zKo0m!B zDu*uV7oB_<=Rg-b(e zO49 znGtK3{q+^@I#g)t&XCxpE5%=Y#6B|6*2Mq*Qi^xOh57+s$I#PbV<9NDhz0#8B}bkm zJ@bv+8~2auk=S6^F1QZP0ETZhr?jNU?>z# zL<4pMp^HU8Q3MPTMnFRl7!Vc#!$8nzG=zx662LeR9v=L|jO-Bwne{M5X|M%@mv7xP zW7`P1s%v@qVQrUx0|^P{r5Uv7Bj%S4lqHpZ9$YT4Q5+`L+SW+hbg^zm+o=Wlh{OQHni`(>`+@aDeu^r#e(z=hb)^ZI!xT4akr-9T@|)xtGos& z|3LCj%PN^)00-guZxiPK+ezSHG#m~`pa}qefk9w60fQmp5d>g~5J;dBKx5z#2nYfN zd>oG^z|l}B2noj`;DGm_5J)ukkCTvr{~&qFr!wETNA6zXHAjOfVyB#ecfy4}I?mOb5m+b@ zgCl~0fIy*`1i*A65)Or9pl}diHKDzLwgE_9wfZmW;J1M?+g z1#T<-`Yuq1lKzMdGtTByQz@MNXjdCZYW}&hm2P48!0GoNLuX$%%Mk%Xv;GMH{`H&% zY!eZRgAid5V3!dv5Eud?KnO4_1`I`m05re@1`&WnhJ+)CPz0KY!NBnVlmj^pSRpV} z{XfHjA@9!jcbBmihZBi}y$bn$*5l#ZTyln`N0r1_L2sXb2Dsz_#O%SR@(^0^9(C2IH^<0tN!c z5n*s3y)qkH%x+C=3dZMuO2qj?mG-M{E?5&cl=rDf1U3uIc`^D%`3!`d~@D zLt0~fk(o4ghLdq(>V5Zhb>_IZmgaVj&-7t2+KZxKm2ehW&t{g77XvM`o@_Q=tvd44 z|1=XaOLXWI-N8?Zkc#w7*wsC5p);FdJ~S}MSkD;cII;@jP1x??1d5Pqho$J z-f!l;vGUNf;6i5+#d3_PU09TW(NE{W!zk1sqGrpFUugEeb2O)wrcorhWY@r+Vv%k9 ztn7$|tvy{Eok*|mGvCm75$C{@Z6dF+-6LuEqRaEjo2yS@+|ho;$-91w^P23v>d2T# z(VwafzM}%8b+6y6+AwAfT5x)MLfrhktH_C=BD$SKT+G9+St7hZTxWAE8~9cYOcRZ z0zUg}tvPsy5v;~GX7obq`Sy~)E4h{BjvwW?`;nyLu7A8_hDfcN0)XWz@ZitCLw|te zj|AaSNGKYL0)f#`G#rCR!LV338jVGuVL*0;VK6u_42wWwiBJLo3s4^5D+DkSg+?QY z*8=52$iUYdN~zp!#=U0CL42oc`4Vhrneff~tS+%=sb&HC>RuyxD&+~&y>d64WUSDuIElriBDvL- zQ6cak2kS;^o|OgWrtI^)+mfBjW%;DZ%*PE|Cx4-6Q!?R}ClD=t{{$}oIt|1CiIac? z5r|kc7~m9G2*7(mC@|1%gMh(9pcp(7iwC1|I3g4V!eapD1oR0a0zwcDz*r&*nWpY* z`2bAO-blMi@!)$8W4)*Ar{S)`{k$&ZEKi{GGtz6ateY}y6J!#UAGBysX(;71^dq_K zEmrM=3rVg%P$TeVf||H}jGcdkUgd^bB_}72mz7!P4B3_*xte<1iQtX8War)w09NyoZkF)d*V( z7}TfF;PSY+#Wy{Rs#^|(4JagcKar+82B|Igzh)_5oa+3va=Yv&w@lun&{hs}^RW}8 ztWe>rwY?G1(5OV-xvIQpX(^*4hc`!mlv_y7Iq4nqyiF60{s9)czj^3xtX>~VHS4Tw zVBY(y<#mKl`xG?j&R#@D%SQpvYQIkod->0zx(wLP4Faexo%Sy(PRwI0H1~2%9?Yki zV7MywQw?2eGIic{qlb2Q%t-JnGd>KQb79A|@K5Pd97!B)ZIEa4&sJi_LRl{==*BVL z$g@5|T@BAa`(Qp&;tQQud z<4EW}4PtOy;4CxUZ{wli9X@l=`=n#=$=0GvAk^jbulx~9^|&Y)K!xIedK~ayj|eOX z21Oy!C;|!!BI4lymB!<7K(PqNKp;d21_uL*0~82^13^I;FoX#3QWO#kfk6M14tONe zwnKp)pi-Bf3Fc0D8a$%Dn4C1P!Wi{DTW6en!&cAt7dM2p-Z;ifqB0egx?D;wf1Hj_ zd-H@DuB4s10lHNc8;}wD?!- zC-oQY8v=3v&&1+?U@07r2N4k{H~<15Kmq^^LBb(e7?44M!Vln1C?p1f1pT2?K&1pj z5r85Dg2i9}8jb)+d0O4Yi?#Ov1|^`dDUy7hTn)naTVi#+Zd5GlkeBW1&&aaiPj@t* zqq~f-tB)KDJ}ldPB^pI7>qw2HPa;}({_0$&B$Gz>2r%K_Esk(-Fcbw8=R_1x89|6R z2nY=);?ZCT0tP4GfKnCFe~0$3;tf&oe>7zl*}s(KIt4#MIwYXAu(1$b|*el-d8 zJ2$HbN!inF_Un{P4v0w^{fG-%R$74{ikS*C-!D|Agl9u9^C0gvdJNsD()CEPD^x8$ z&g0O(&|gk`?5$vM+oZ9FWnkiiKe!&(OD(qud6kgHZLfPiZSNIk-u2gpjSpNBG6k&V z`=_M!uNOuD-9-cL2LgUS8lZznA|4EZqX6oHMIewk(4RUN3kP-y4uztKcqjx=Z~)p1 zP(=724~224{;;eCQLJ*%Td=oYd~YIqRQGYKK0=1i`K)&1>Z9iO8BCugJvw9(+M&M9 zwl1d+=I?#?Ef#r~bNc~Bybu<)z9&C4%I>sE`BQzV`(5+m^>>)et?QPab?=19GTiXM zG)!$*-KldqhPbjAq`$|C_G20<@U2IwE3=o643)mMkFdW3$aG_U6^=YiWbZ%Kh3(c2!k*B|HK@=Y_|1gj6&W`sEOScXbAFse4M9F z6!}?=x#hkadD*;Oz62A#wyOQ`J4k9>)Y(0-R7_a`y(ku_HxF6w)R1Z;L3Vf;ilpwo zqLCGJ%<-wTTWG9YyVqJ}T4cU4u>Yb;d*OD3$FS{p^Rx1AlbW}>kHr2^8xyjpeL{CK zV|_Ye*M1B{_`aY%J^d>vq#yfXQvVCL`5(9m5sQT)2sk1H_6NiW7#IQ2JcvjP?oY`C zgbWUhfWm;{0R*TaK!FI*U_1tkM1T=k7#Ih+)}cTP$aQ!g)Hhox_*=dbYZiajhw%^ZWF-1Iql3&~!fsc;-8KwP{H0N~-^_Q+ z_jxNZA)=xFv*L>IH753vpUr^QC!pi~53TRx>CsK45)Vd|caZt&KU$wN*FB*mO{T=Z zgpIX!&Pq^RF)h9;oz?5HO%wVt{fNKy0A=LlcM)G!~$GNC*s$A%Gz;3=WP5 ziboh6LIffU2S)*X2L#9A3D-L0fMuW}0|`id*`g;8Qlavk{0&c`sa_$fFzijqe8G(t z4{x(b_GI6;JZ$k=f~L8CSMi{qHELW)}M2y+(dC%GHMS zdbQwWC1!+j(hY7ix_Zk|h4#Ir&b8FM@~Q9KAJSh;OGfT2NDE7j!sljo{*u9Tmh!s( z>oWZ7C{G0J!~hBa3J%8-flUU40Vt5kfV2gaLr^pVi${Sm0JTLx@xTJWaS$-jg8vV& zAfO;T5oX(3Mhk$(r5^nk7u^MetjMU~rEi3-7KS(1qz+00o-;mQeRTL)O-veeA?6`e zVu*j;RD|sl_T=ratfI{p)h_`if@$<+*(22X{P`>y=Xrktp@yr!)-zyhy@2vzw ziRbt*7zijtPkj``>*?CEx5xa(F&^b-__?`U)9boPTR1}wL47gO;O`pc*m@Owc>rk@AP{YzOzfSljYisLY2h@;qE?* za)q2BbA9bO0_2TB)!&2m&ysqMopdv~sH}#K>P^=(&IWFl>M+l1wXp-I*Pkw_*ox_h zvt$%`>AojfeDSj4d!B7p?kSx(^-~t^&7VUPZ0J0+-o9WKJO5KQ{bafNejix$ ztbfv({$*zZ17#5)gagom24MkWfW{zEL?Q|(5|B_N1__kg2nZn7Ay80unDRZDM;iGb7fhITnxv*l#6aiMAt z!UyLr-8osFlfEGK6(+4CU(T?UTMo_~+8~^9^NAj|5BHwlKKGWHX*y=OWSm^*0#&}_ z(=t>$?EL!%h4N&D*dKcl&yx^lfW7}_#s!0MFo5)6!9Ya7fv_MzzyJe;0*W~BhXBY6 z1PBt30wgCQkqG&7YJ!CTpP~>b92$cF1iAkcL&RoleFgtN3}IZ?yktw8I<#dr`Ks!6 zm!C{df<5gbr{U6Tqm-HNij%t^a6H^@K`UFTYTO@g<7_iC9?ac}H7>0LnY zqz9I!LPW#h*&g2yzR2o{SqqhAQ>TJ1r^fbOU0`>#G9d30T3xRD2U8SM6EFI&81gU2 z8yEt?<8S~dU;!Bsf%~(Yfcym1e_$98QA7d?g8&E!9*lya;Ya{&pnwXC0gwiWI2;m; zL(#YO&;v}7v{o<9%}sug4NF`)bg4RL+@G-E4O3#q2+rGf=J4B`1pVSO4*fLa+rP?V zeeV|LoZfMX;jdIsl21J@3T&g|zlRsVrV$WG;P?uG!2=8l1nB5MsS5|ga2PZoi4uqy z0RC_QE`pGNe-n`e0^*Nu3LF4oiC{1mLI5R zPd!NlV^Yph?{=5&ahV-)ntPR&SI<73yW&C7q{TD#%)g(CRCrrI@ zSUa#yBF0Q;z_iT&qGr{tUsSezYl#M3f3?_9xLB)f^e009$<%*6LLq=O2#C8#EcQ=1 z4-k6<7!V9$fM@~6A)#0R?*SzP3Mj#NBo2wg5OGi>0tE)X1Ovoiz^6k;L)^e*o`9)7 zx?vtq>mzD@d&i65rQNN?-cH#weE`*VoH5&ck)}1}nfG&!TdK2lS<+bVnSQ*mdzS|- zC|&IsaQnAPttjl$C6bSCxt=QIQ}1hhtVFCf9V*I2jXb)+M!x5_oV|LXwU1)`?%*|6 zA?naYQO)vJ>Am}+`XSPWsL*iv`?j7o+K+ZuYZ811@|>>)!%A0OvM1Lk%rOCV+tw*`FM*#Q$1Zi68V7VSO+mgdt_W zz(?)xU-boXu+8o*B(QN^P%g+0wW^hZoVtEp#af(HIzE~s;(}y?vKxX7YfV3M*^`Gt zr|$Dw^7y{eEQP^0CUL=K^q^=wkIk^;&oLGy>4G{bYi<94FK<%kW)%ynJ57aAZ*2S~ zMGr-DgP6C@KHYO%jCanB zB?4zy2s{qR>1Z$(a8^LQB%*+$D;x?$grI;r2ZBHnp%54ZD39Pk!2UVc0%TE)(jPq- z^p`W+u+GbVeNi95>PkmOcJVFhp7>_fwAQ10R5>`WfjjBST(c57&x(62%M4R@Rapdr zK-3hsx_)xH9wkzOh+mHP9uD{O$JtmnRmrL2jlWU`7zc?K!lp^SGAm9PD08_}=nlNQ zsmF46qAg~9;WOl2FvUuxs(&6rc*s+7V`wtD>#yYyGIKlmQ~v$>Hys{^1TG4|5I_#X zfRRWf4h-ZS9KdxkAOdjOhXZg33>@qc0Hqhe06^CwLV>geLE`~U7>7U*0_!gRIpzbZ zSk4Qg3_jMV4|RtI)Ao^-TklUL*l~3CjOBP1huh^Ilc&tE&>*950Nz zS4cH7SoyupvjYpwWkUGJ&SWj=*|6-Pkl->R#!lXx>5%mb+H|Hc7T3Fo3Z;Hut%&V+ zUwjv(#|>{hX+^C)OG$-aVJ=swEXmM(Ikcik{llz!^Fwk=*>-8w*Z}A!ZJ%}WV~%Oa z4&tV5iK!g38bz2~pOHt5ZhY!bT-8AR18BAipIQ=Uz-N?c9%UT1wiuol2w^5TvbW^K zvs`ojROii`zy3UIPMmAvbmztRC*3zsj=M$Tf=f*t59f1VS)!JbRFdzBxEA%73D)qw zUq?+-4i}F-IW(oe!2Q2idk?6d|NeitXm2H@AxcUqpFNUx(a_XT#Ai~ZrJ*6AsX-dj zLXyyuN)#np(lAn5+LTI4OLRZqx$f)wIp6>PJ}$reIGw|nbH1PV=lvSb=VLunGq%>D zy=E_Lr`hvP@3u_jfBbDyE<+R9XSlDzQlhZWMt`ey{`}GdUKK}U(wG1j5XnqD5jYqc z9tR{cmO_O#2?zu7VKbAJvqdEz>pJiNk^jL^)u|r@|{^fP+3_F@mdMJrRPg~1uM;>-iHsz=@EWqEdjsN0d znN$W1M?eG84d)0IZap*;L=Yf)AfYI999)rTDxHYN!JlvxI+=hjp|JcqPUCeS)(-=?;HmYTMMjQ#T0p7)^wEJWYfn4*sg3F{ z9^K}?OUI44TKFT6f2Sx)+(slyTKZkl(atZ|3v;-xlvNCKwyipXR_ni7xl4FRUveqq z?e%b@w~MLy8I-!FvepA%=?X%2T{>rO4GRY*2$=Fu_I&cvO%|@QYS#a}K}~>YR?3_F zg%~idCuV3;qxLE;Ww(`kHg4mvOLw`LoE0;2L}0%AdjTE&KIPdhy(UAy?@^tflxMn9 zS#~N$RqAANkEga`>rRZBt~ydRff1O!+$vH;Kj=CsZILK>p?}SyrNG*;JaZ;rvEPHp zdkMi8dKex;3DhLkvVb+sH}8ooS-tzP6vy7dv3=uRhr2p~A67LU{E zW}UTr&VJAv{>myMGLdQSZ57%pCRZ?e;Kg9dYkEd>{AQXJWgK5fmwMZyS!(2My3N^# zP#gd4O60bke$6@suSd)6$nhhxy&>6&Di?da9JgzfzkMH29lw}+=f&aR{VXvGb5r^; zw%sY;6*)dhG0y(l6>D|u25-WS_)FphO+*2!3e_)k$(JwaPZ0;L58?Nwj30vc91-u*z*z9yxg3#HWB3*94Y)oX1Op6Z0y z*~|^5Get5({3C^xa;_(9x$OE_XE<*y)3NW`hE8{5;f&=2j>wAdF%8^o04pBhkpH5G zL=%Bk1>Tg3!Vm$|#nM1qfF_|yfTE#r04d@@C4?bBEf2RQje)`f&q_u^2}uUnkU=D3 z;NJK*`uRaloYMl(PbCEX^jxDUf84ISu&7eJ;{L9a$K#4s-hFbCa2C?yJsBr^<3ZW; zsRs)I$P*k^xSg&EpZ@oYn80H}dy09S*2<9Il!7#L_nfceB? zXmF>{=vY8Q(F_zC3ye4!%iwR~PC$@qApK8Qj>PG59kE;JL`dG0De0}^wMakwbA2L|h4_{ZcNYtKvRhw^G^45l3ge{h3NAtw`@nXB- z^bjljN_$xuR#2z~AOCmw`p+MMMuSS60$3CdN2W6X@09|>o7J@a)|;B`1D z*sCX`P%^nei~S_?tzBAA>7sa8a!$_Cv3oBLyg1hWI!Eo<60Un8ZQ1`Z@*ZE0Y->0J zUqbtD@A1!p*fjcG1Z1BR0?1$;dW8SLwCIZf8+DUx%yP ze060LJdbgAY#Q)%ezD{81MUTxiH_m>1xY*XB}FbCEiuHNyH??0x!I*C)++>T>#HLoYpSQ3b`iIFu-mfjGI<(%UmAst z-1%DJ9pkEyTGjeFZQ)}Js>V%EExMx!w@UT7%1-E2ZBn^({EjL9%Y|FjLBF6`iN!Ax z2zK{-&Hi6}5k$}&5qf!fLk9~z zEfET2Du2T+*2-Vd><4#uDUxHA`Fw7V-^U68{#P~+xV4K{8qgdMl9N8a+E>vpV0UlzY@lPj9{EGSRig{0&rTF7SXr?CP#g!4+R zIRuXw^V_Qa^QxXn1*9E?0ZkGK2iq3MKx64pH&KC61R)a0bm(*~kenH0cQ z&?E|)4xj@DL(#ujAI%2UBUJSd(0weS;#-!!mD{La(0Xa{BY2WyBlS!p=E%Wmp6z0U z^Dpmvv~N2edFQ%M>&Z6*UC#!ugmi4JaQ~nwT<${a(0vn|aM$7T=I4p2HXm8_zqYsu z>8swY_A!VSUN5)l@SXr~PlRT972J|!c-Q_*`Sbtp!hf^=MbDv6vmOrByLXv4M{p#Z zd(qfw{-!%m-phQG`4)>ze&^#}aYnJ<>;*41-qo-(54nQ6*?+f8$t{vqMr`1{;%kdU z;+e+xpK>UIxOumsw}CS93$a5fLFvkpC(gU>mbs!ZB9~{s;nYcG2PpxK>y!H0z5)No z%3o&f;AJ)cx+HXN$jS5r`v~)Gnr6SmAvP|V0%WLh{u1@Wpipq>19!l{!v+MXj}B-v zpvnwjLxEr;?OG^O)4yAB7a>K>uD4Mcd4=BgG1eg#`$7g zCr?&Co>Q%sj@693a?0tr>IbPujq)Qg$E%+@=MgIkE~S}c%I~c)ir7$>bH3|7Z3#J9 z%PaZR^=tk5TQ1plAufg!5kVG5DEnY z`wyUU3>CC>}gpi}- zc+zC_bc?gtZGCfJ_pjHMuif3mo_S<$u`#nf4O{S3!R>DKp7IBN+qcGD@}DuOsrmAY zw!t0D+Uy4p|CiMbVCH~WA{QJPO-3_(VVwUCU>mJnMIN;Z=Nrqc$v>{Sodjgx@oQ1Tre)3b!bcA*@fL{?_F7) zMZCX#m|FpOSj_9`$ZhvK5&6eg0bp-%*HJ-l4n!jm_<#*Sy^6<@a73Ww5DNkp&>hG+ z0NoXl4ANZ?s-tLdpwJM^0jj)cGMEndDj!I#%3lr{5YzoIvW2nt_Js}ecaI*tnH+w8 zwW4T=?p<$@uT=bGjm5UfsS~YUlrY|)aAq=J$*YA3-?#G}G=)2QIzDN32E9tU%o{?*vxSD3%*M)}-qe_Q&t9Hh#n=seTYS zkJhaZokYHfe)#!M%k}3g0*8gRkPI9GtXa^q0vgQ(6*nH1F$Js#XaXAKXBZqE1HV9h zh6DcvjReA14CwHnWx-itZtcdK;&7O&LgJDVTUp^VaB|J^o-k*GA z&anhg{(wLj4V?vrfQ2napa6Y{hGq~NL%6NU0GHE1S4$*efpi4Gj*9Ny$DJsr0Kwm; zEL_1PfwA=-OS{AGye|%#DqKd;Q3`#5Qp58o~yhyzFcizG+)csu+V<6 zyz1y`!M$yN%Sh`p7}FXnDZy=6b8OC{ z*e!Fr^L5k0TV9og@`d4?;d`Rk%k>NW#SV7g(pf)hys&oTp$pmV)yE7yUN;jim#aIU z4y@l^S7@7>Y8?7(G$7rCDp1e&pquIPq>Fj&AbE6LN^BGQ<hpSAwv}Bl^_YtG zC`}1iI-gQ_>|0k?W9h!LJL~ytU!z@z(lG~4J~+DzHPk5gRykH!x23xq)yFdElnnQzeq6@r=o|OQslcjMiWXczbY8- zAT&2uBz)}{P<`6tU7c=bG2g~99n+|mp58Psr*hu^LcwBmVn9Rfbk4d`zqP$h*?vDS zZeSn#PD=2!^r zFA#pk86E%rTqM&%hGZUhxuW+)SmHJ%RzIWbo#KSup*&A!#AU2bRcNk$o6~WB@S>~8 zj%K|b#efGwnocBTtOZ-1UBC9Oi=Iz{lP$NG z3+*-kG}xV6(mT3SpL~DttCd`H>0-_`h2}~9$UQ1+xJADWu2p*;o>{`R=eVX&#A*5T zl1+I&=7}#WPH@H+?q7|Wqr{5zvC5b)1r9(4!^N1b^a&(`VfshrN(O_SMrxep9*OM4 z)8=?{>05OQjX4MU4Q1b~acGJ#aF#i2g9~5QSMr!H&q~Y3>&Un`i?+H9Dtxg)QW$I% z{kFQ;d$vCPA$7O?>7HleI`v1Wg6H}Bzx;ouFbu0)9^JF;&6yF5xsvC_-lSq~Q}58) z{nvQq#S^}Fou``>)C;lf?$$2Cx$u0+^c6Il(vUwe^>gEE&*O^@0b!HN(x>Jd7WD?se%qST+}8Umg2Clfg4~msl?aC94j;bvVs1aboXi;r zckIXFEvW9sAM8_#U5t#1h7o{V9$FYaBH^0t@AE%-Aw_BCf;Uu}h>@~QL_ zZ+pxuVnoinTiNzPPQyo)-W_u4MNbB9+TPC?&Zhk*r{Rzlt8k`zXE(c>IjPH@#uLe* zcJ${<(}^j8wCLl$s0#Iqi&4$7muDH8N!UQGsQs_LpE`bC%r!R`pCpiyU#2~98k-Up zqVdl92zB-?^=zAGA1hH%d{b8Aq{Di-q4u!zZ*>U-39(GP^y^g1Qx6>)yfuA-#PFYd z+g>L7PA$|zOhftgnzu+yL*D$o7dlwl+lCu@_he&^F>ktko!T}S_645qHE$%dg^pD_JQE6eEbSt)U&4Gud-4t#rL{VS!x2T~e>?m$XI4x}^$ zLQ2CAj*KebTlg8%1>zjqE8vRYm8pyp#ahD@$75Ajc%KCEmh^I|AFGO+y>As(@;qDY zKweqE4hn8@*+H_H@G8vi;KGXP(TZIQe8Hk zXzE^9cE|JP{R^HS96Qe0ROCKaD@f>Mw*8EKvQjHh(gR0xI9XVXHvP}~<jgDcK~ZC=p>jZ8t}5vJC?c)W_e9d9xw2_<_xG-DI7L;N$cA8O1_crwNtCt-dD3MQ*ybw4m~eI zi^S2KqQ-3D-`}s`j{ZiC2NCT1*k2Z6P=VqBXaJQ4R8v^shT%hFK|KpX4 zAPvv&Xzrgc4+?;|6d-JAXgauw=%A(~<3UYGf`KP=28v7rMGz>-F<{Gs3YQ6*OAuZ| zxeKd>439~aj~jCbCi)z3Xd4BuNom~z4lN~0^MrcR_rxL2Q?;zyIWCxMg!wj`?z;nw zkNVKT?H+Yd7H4@zPtFQlHXDHuHzFr}k@FilMH$T3^dmtDhCr+2d7PbgK} z{~fAX-1scoO1V`jcu`#dvJ9B z+rbw13+j_)aa)6)%l#5(yi!Tf8|C@*khQgF(r=6Xqej&YPHr7P3Yh5k{}N|74k!g` z$I>}J)bDF1V{-F7@@PFHW5+)q6XPEiKbwZv3KM)>YMJMG;fJ2q?Ok1lJIw=1L*Bdi zj^S-x_9q2jFt{u=<6L<3EDvu#w*as@TRBC_TA~x zQ(C)Tc*{P<9q~%;;Yd08VD7*PLzndJ1|R$xW%b1DCLe<3`%n9<0(!4-6|7yAx^bW0 zNZGizp-i0g(Tm!(yV0r7gXM?Dhuq|NT>4Y8M;~!MKl%Uh9DrGlJrKNl0JP1< zJ^QcUmj52kdv^jI6}-87Rt_sC+*WrXDm~l=<*%zs+;3MM7=I||RexULo24B7Yq=*s z`|aPKU?U^qi4`y`&>@;7t8N?(norYhD1Eo`yiMqrO8*qm{dwC5yBb9X$qE)W0g(!F zbPODhpsvExK#0nKV+90C7(5kFQqbsv$q3kVCOCVspwMDqP^ACa_Wk>`iCCmI{Il)* z^Unk-C?eRXX+&^Nf^HH10M1z|jtUSg4aa0s;9#dRP_T*7(4k_H*8@BZP!mkBkdsh! zM&o~&m+j9a1cZgE&rN=PX+7aH$vOGp?z3?|?{5uio(}CW)lk%~NZ>W|ApYGXQS6(j zwc5ja%p<8~Vb6!s?`zH-qT~f`alW{{&YSNR&m--qC@D1yw9Tug(eERR0W0Tf^!oOx zf07P={-ogRprb(NH z>I`$zr1MIW`W2yrat`ZI$J;(@$j()o-SaF?TRuwKBWK2@-JCmS<+@>`L2YSy#=Gqj zZ7%mX1dUI8Q5lP@GjZP8LjFZpv&vlJ^@lV0Z(%eVBKx6$cLm-h=rW+WC!>g9pQS2>Rb{vB4W|`dN@GS;Jgv~v9b*aw)dv4%#3PC=zw@AH?L( zj|wJYXa~_Eod%dRoTgb|;PcOXhHQe^W zt?Fg25k=6Dzi)2-7X&&b{$=K$5a@sL@Q}~}9$h&3!14l{j|y5h3?2NA6KLYr!M@rOp68B5-bGB&rIuy+D5uL1PH%0Sp{)TL3>J$tfT(#F9aH$^hyP z;9e|&3h*^j#KE;@9rFnAO8{~qG-X>?rj&QE#Qw+4-h&o5wKC5;uBNqw-ROStI{D0k zc~t{PPPBtmS@Tt!$c~FC4FYSYeK%x}O2_>eTe@^2lR@`Badp4Ho`|%3Z+j}$?9}=| z-23(8t0ym;Yz;o|Sz6MaxLLRfE$c7l$0zQxbu;^>ODx%63|xuhm-icc>nx_WzWUxa zv_?5Jme#8hye63(d?xplL71At+n3YFZsHI2a?Heg8l5$7%c6YI{ADgX_RK-e3!b|M ze*WU9!D6UnV1?k3K-^9R;2upt^lc#b!k{QX#ek%T3ZXe*7lwEs4CoV>@O=Pak4C5^ zNK^nTohV|ZYjw<9wXTYF$Za=NC8adm50$R{3rXd6tFAJfUv^#GWLfa~3RCaptsbsj zE??WZ^s#BCmY&<}>(xu_%UN!ZKjeM5f7bn)P1FRVlQ?*&yKkyxxM)Y`7dLy0iMF6V zpL6k(c`NhocFWexA??ra9N!;<@*p+VXhK_`O5Xn+KW zL4wu@mOOZ8z(GU-yEvRZkU_G?qCOg~MZ`-dVI^>we``=$Z=|5`l}myFbE+J5+s@j^ z7?SL}l+FLt0eALv5W8*X^5bEb2D_MsbHIm3RzMp~M) zD!Xqhy^b%x^+8eOmLsQ!n)2?f;Wz0LHx(W)KGoUcTqz|=i?$9<;j=p|IO4YfM3-w% zn6BT6`y8@Lvgt_oApgCCBC*SlZQkWv>daDod3IXVYLDm9o+#n7=Z6<%d33m)bKLQo zVmdnw9_So4UKIXm%FV(vXUlWXtfzwhLOlE2$<2yi`7{>hE;g^UPyu4XH<2lXf2p~I zxECtiyKumhFkmu=!<_=U2cVG9H~`z>_h7LlBQQM^7!n%DK%nJ@{fS6=8Nm55qw5`5 z|0U-Aut~XwHG!{2Q?6^tG}Ga7+9@6*P6cBx{+@c>W3(rRNgBCFZj!buM{Bk3^Bv>y zBD1e=Tj{MIvAQp6!NU66(-KdFei|GERMgPrqP#ufb`p z4J$E@|4!<3l?LY1h_zcSam$A{_(h*hON~?V-K*CSAkb#B zd1%$$H(`Ob8!|`LOe>rX48z&#?uC4}{%MR+7*33Sk?V5NtAcc2;my^N>G&5GXN<>U zLgc=0=5Ty8uCUV;xdAMD%x9h9L4Usi{Cp&QCbT}WOJcPGN zB$A;|0RJQtVXl}=@Q2W_(8xBai}jhRKGw=ZttzB%?h z?Ix@5&uX7gdDrokXX&xDOf!VH@wZ0;C>8L?QB4IA9GK9lfVzQh6Zm~ZLjqA$p`*{er`Xi9n%$3FOsyKIHB1W=;CE}qx^V;= zdgNMJee66L#t^!B(o;9$l5I6##o-IJE=44-hxT60g|bVVoS^iW_^72azGgkc15Ej* z-HO_7qo}B2yB!DDe}%!yK0bjfy_%#*rj*nFV&#$Gt_2|+lCeR7J_W?5Ovo<-H79_K zP)E{1-iZd}4oZ87CjikL1vyOsW&}+DiArJeH*vCpPpMK%HMTN_D3yOmaVhll37Mt5 z7i=yX|yCrd``NW`b`acRrl%pyXy}%&lcA^OFMB}Y+pT0axr-i zKz?xP7lR77S59^&T=E@74o0e1TqGGC+CQaE)~S+`c~#$4QRNf-j5|iECMH*S@|`ng zd;Zz0{rSFw4jbBQ3K__M2J|xoIui*W#KE=#Miz3wFo-S;#9)AqfJBT+M$u6ys67xU z6NCe(tSW9%IQ-e6-k+EKvQZ$6j`|teo*Y8--bU!#E;gb^K8770y>Ci*BzNQEhMbnX zJ!HeN6^pI5ml%csugw>J{&PD1dC3SAGAJBCIE;o)6a4mcECG#V4S-J{IW>UWhOl}h zMgrv0WF{hMfoL-dlC}ucGKRqaa$mF_nvdN=HTpx1!!eR0m2Y)WkL#!1->Q2b?&Hc_ zeTwb-vDy*?*$eMy>~^>;n!8w(eSXN-zS{YOf@Pd$F3VTr=H_(&+Yb2gYOq}2no3Jg zoUhK|8cXGf0XrpaKv*rJZ4+9mwBlKp_FVVYD-*oO%U$>0?E0jaG}bmu(yPS}_5YGO z2%p|_EDXMd-=z-!#Ww*5BSeoe;QfI02Ks8i7Z9@ztXFuq5YUE)P(kS201ZM8O-LUE z?FR(A0q6`J8$PQ>8!;P0w`0MQB*jXmuaZ!D@~tIs{6co1pVDCdp}V&a{2V{sXxDM0 z<89r#uqmYyp{A*oiEAA)#Af3E;vE9CO@ZSZoUH_qb78O;@Iu46PbUNLOu!*R43I8R zK!FRJlS%<8I1%t%DjLM76iAvNS~u3SuF_t~Lu8q+#Pt>6(Bh9b6!%m(&h*ey&mGNb zGPtAhwcT(bl&4JCN|-Y0vTnq0&EOWjTMK=UB9nEW#I3tjw7XfJE_mKxdzR3HINl_) zwG!pNvJZ^*;=Aix(La`V%q*@PGRLAg75)hb{rNUSY%EY(F#yiT0lGy32Otf!76dfN zQy}^Syem*{K|UgAY~dh<%m7%%3?}IN381NFGOZgsxOFYK^jjS*gR8xicIDf{<#1MO zV`^{FEN{w|&g3vhmhHat~RRKg8`veo2YX}ZJjSQp5 z!re2eCXy279#fqsf1SAlAHKgu5c|>JHt&D&bs+hWR6L#uH$Ff^;C#W+L5c#$D=4v% z5HTtiymerkBtkI&78%Hs1hfIN_Miaw8 zWp;IoQ>3oh`eM0Hk#RgeDWs!~CYbX158v;*ICqDAG<0|~yRv$B$jVRu6J_}G3m=Fa zV4a{whGa8n%Mqa!NUFf744oVrAU+b@lxPC9HF#LyfOtaG6^(!c!zVle2#u^`>Mhve zlJr{;B~7hM8W?}8wNM#BIgw}}v-ouS(q`T*X39MP*`iJh80S6Hkbi{bLF!6Xefe7#|VZg2o*@!eW5zSzNK#9)Z$Q}GE3-QiX z!_%jw9QhTNZ?e4+3_AL%iSve`yS>f5b6<8lC5B79?{phT+2nNhXyZoRs|xhO^lij9 z+t)vLW?pOMx3$tZSJ$HyK zwh=H}&4W!ped;{(E@-Z0S1K}^V^i5Il#VWEZD zUw4Xt*y!hf(yV`cwBXEc#4~jUB*e)N5_dl1ex554!qFZ3XLMxSmvZ z97$L7K6GP$VV=?Fc)Iw=P|}^wZG~gIT!dcTk14d2>5tSJaghzJOMF?iRn&AeC3zt5 z)+fGQ6H1?aT08=rc?kX#r@*jpY>%#ZTiXV7{i3;YPpwz^=SuwJeF)7gtSk~jGDBwz zW=R|dLYPRPaRe_1tVOt4!O4n3ASEO~0Mc4;SR%Yl1~kGbxL;Rj9|C4K&IG_$f0>(OKW@wX5&j?empYNB8Z(Zlb<RWFfJ=QKZ&2loyY3^Rw z^RBovZc7GLS<&*aMOOIcycX-x#dv{zS8uJoXM`mkxrt9mEYq2&Ruj2-e|^F_wIghg za!#Zu$8$*DWKkNoDq^;*mW;{jF_HFLwPXJ)D_^m_YKzR0`#E0a+b>+bXWhzo@0{Se z_C(3fprptf5kd0~9>RL3BFmYEM#~K|u~Qv%SGiBRKTq69D(r}BJX53<+luwQcyDeY za`SzOucEo=rM&aSpKhN2_Ve+bQ3DH#)Yy?#L90%t2e=eGoVv zR!=PlnBlnm1iRPF+`e`AS=fnu>)7HSeBI^mp7egpzTimk+^!;)IHY5ESa2#&^GlrP z&+(YH)05@H50fk>t@#35V=l-uYqGPpM!mR=?!t%D-kq)-B#Cyk8%i0@$W6LjeU&ie zHlR?nG0yINT!8)lZCbrIqu*VB5U)A7dX}v==cH@KVu9KCBX4o3{5t!)-yMGRYx^mc zO)vQS9<_d0IyhZ1a5R8zL3-r%w_{GO)0_tf!bkkO=iOWhNnT|FOT5Q&THe&w>~3@S zeh`9Ao!X48eB>~tc+j0AZ)}H$NBO>(2WU3kk@r$)DeU&5Alc)`_Kx-ZAU&r^PWYzQ zgk_(a)g4DQjkT!)q22lp|AD398ngdL3e$jsdbQ8dL^>{GW`e7{(4q&~^=(~j)q!M(c*>z%y% zEgq`*8?-nUCgw|x>w1}c#I&FVqyiG%yjXhgq!M)8PRZxwN$p&%kGdR6XuxOB<;22^XphQh>q{AXIw z0lg*h2WokEvzo-saU%jU?E$-1$p%NUHBG#FK&ouO7WZLy%z7HU+hDVK@w`1Hvp0O~ zt5rzWy70N?5yb$r=9Bx9=T1hHnqnt;dmcuV@`_bI)qk#_Z%`F_^7?ZD?&@{M0*yT1 zK2KYvhkNR4uZpQ(j33*xSx=9coL-=jDq^^-1&A9Eu9<7Q{Wp}pS29O3$HJwKPbBx3_{!dj%+ zYl64#O3zW!iwy^Ke5|&da!lEIi9>Bv-hX#Uzjx;`ew~HU;elb3tcG@DtlaPwt`>)^ z(bPy+{QU`!J8Oh0YSjlkJkHss(!D%5R|Sss^4OZxQP6G4p})^Se{fQ%=;(0RUTIaj9c1$(cc15t_saVBCvGn%}&6*xm zoMXi3#5GZL!lmV)>+3fZD`$*V|4dn5K3-~c@$tM$_e^tNz3Uf;VrxR}F|65}H#0w4&paIONe>DT;TX5KEr0q=1?AB^CCou zGUcsKFQ5-y=xg2c*`ma3&jaIZY{Fh4GZW=Cex2{FLe%&3(Qm!+U5C20{RREtwj440 zgxitL#jUmdI(3`Mm|erEF8tM{$u{m%Dy?_b{26=V3*ztWJQ23Odejf)OuW-IB9)uH z_49_}6E}SI?w~G{cltRPK6Nzo_FfybZscvrc6Z0_*{w~}OD6UPQ$`^nvNn&tHWsEl z>MT@JZF<=3IMJ0LM{*l9P2c)_-P)qvkBb_wOiU*zrSZhh&TeI_`_Z5BAPA*7$}>mK z+{>s@YYA>qOA-iT)i&KPLy(4-SNN4O{Qj&Gm^cl3o4LROL2G=!g?}eo5>ps18Ic@e0k%@mpw7ZMLh@hR~;N;kcNg{sN?)+ z%Q6@TJ4cf~AFT*%)JV4V*xZyn!c<)fJrTM!X-?wlhOs-BpA>|j>(d_+%O7)2FOFNz zX&9(_sfvx5-_QO4+jI4`sXDtxkHJ2yn){DkdnfZ zq%@#53F1TBk7UG-mj#VgG5OCbT)LKaVL{v{!-+m&{@!h8NBr$Oszc@?=5rfp`D+Rt zu72^%3*FtM6mq+4ppV5%<_%`Yfw1up9C(VYHzvgVVE+@!r`?&inrZ_ke0Jil+eLwaJt zZ10!4p!|iPqRa21dT5iOez)8QTk^Q}KOQtOmK$z~ULQRX6Mu2%cb9qbnh)mE1z8hL zVg;%;V>wn;Z04M-L!ns@Q>Q&|&fRT^+n()XPgfs*bg*&%C&%2gYxT7!sTtD^W4RsO z%l2FICavFf|JX^36IXX*1nnAV`_{iSCgP}(@FLs0+jjQhB%kMO0ctpWZS?+e>-oWp z?aq#_GlNo7u}#+&&DA`_%k(OAJRI#sWfnQ)*MwC%w|iYw8Yg)045m3!9#~wkKizX5 zw@F{`>LFHVf?xjGh?fVKSHPb6M4PWCxLH_k{w7)d^Rf>Oeij_i^mK^8qpz6%$zU^u zC;&+Q1EmPWb3srfodDV^CX+_Q1EP+@gH#b2B>*(<|HydV!V>nhR{P5@lYHHag5>L8 z%^G+Z+LR833Z;)D)Q;8LKZPp$920q`Q#e%fHTvYC54w%N*o>U=U1{1-x*{me-&E>= z!T<&X={l9mbOBCqKDTMYWqt*UD#_x9z$U9Rk<_1 zhiciRUf;6M>}i~k*fGL>%jV^phgN+LY2vvzp8JUOO({)d~C$qCU>&O z<|#;17)L@%?v!cIeP2PB6~b*#1i+*JE@ArfMgFB4`6o6|nJiphKBB9EA2l=Zpo{IAS0Be_i8kGNETP;*+DCcYev^b!=a^ z!Dh|-h?;Y2ba-WWkDbrlebK`sn)`00skL(V&Y0d+KL^fWn}Ur|pRn6XITJk|6>C*& z)2Yjn6<+6b`Giq%(diUD>7Tzi#v2SFZ^l15ls|t?04val_zs?k2zGGD+5r&;31m)S z7F-Fu1v;Jzv@h7QKpu$XT*3SbB%%_sZz0Tszo}!59>D*t`yJVmq^sA&gJpW^$=KeY z`8^U?C9f^tHhTnb9(UV7G2X`V?;#dX?B3*UKW?&E{Hpw_{R{sLj=JRR&yg_d#6Z(h zI$onnwt{p#wg0vBg&I7JI`Kh9oqR6M^nO*s@mLeVs)WKu(eCifcYj;jf4)7z<_`vU z*rXtC0xBEC;=r(i^%DRq0F}Y>3Y!zUXka4&#sZ->jDLW%1Q73m{Dh35Wm$H*KikL$ zDumr1gB3Z0b2bg_IDCMPfC`hu3 zXLIE(qZSq$^YyZmN=k3FBK8fR(GYO{c9rmmPfYWO4CjHO*!BGaY6ounwxR5-QpM$` zt}H%jd8srN&9hT9!MAl*`I@qg?a~&3FZ3frO)Y-vtvH{FX9Xdb8gq{g>+wmf!rRTz zzxo~iTAW;S=~G@VyWptu=cJ#bxKu{;aJE4nugH(PB8RW-;}w*#pD%ISGF2Pslinw{ zykA7);m@}+2M;h?<;-IaA2R-Snf#fLl)$3yfm(Gh+U^89xxpfTI?-Ug(zSp-+OCSn zlS1v&`q|n)YE7D5-kMeKJ69yH8Yxyz)}Ui}wfgUlERdBVXBMRE zGKn-A0Bj)hg$X{8lLOEjIIaO{1Y03EnCUQP3G9$~K!YG^9H?bbIM7M|b7;^1d9oJQ zzGu6pqZir!f19keQ%ObdpF?~8d?f>V4x#BF@?FV_1YQ{j+GZT^KLD=M5l{tET7kL+ zXc|&HAk758bpV6l>;{b~NEib_HU;BYp7|NFpROtx(&EG4Sn^~iesBGFE%0MX3rUsj zthaw{mT=Lz;mhNJ;^ejW#tTTv=j648UmiKSnZITQ$6AkZqNO!Ozs?JbN&6|9cMAvxokV&T_oq-hbKbm8H2?%7JC7g`{Rz`%K|0 zDf6^}z=Nv?8yyJ!mJKIbXYHipA6Ll+lD0TbeV5uzdhLZU*b~(FhZ@TJRK$Rq2TRxLqYqak1)G6b3=*->eJ2HYESIz8r*d1 zmtmpbB2VCdk(+_U!a{&LnhX{Mknh6D4D29;;=u<-(mrTVS z^loJN9?T)$Sr?h}wxDKyrS6XkT!YbqSMfWC^2dZARLH>J5+DN%(ypLdfU*hLOJIM9 zkc|!TGB7g$bTe46V1RiIRLDR{z(gb{vp@tyfe2^)i!YG)8D0Nmo_Uc5)>U|ug%onG zNBG)7am}C)k66S1Bvw+ByQie^^QO^Sqc#%u-l3zsDgpnzW;i3Grb7;}SFRg>E_~svozcWaVxu?aST>M(&`_7gR)d{w9@hhd4h@nr%bDuh0q2W7q5vIuDsWFm_E=cQJE9^X~53H zGs4MEzS*?lE5qa{CEeCGkzeEcyHCF&UTIcXwH>gDeix_y`N@N*U@$P83daNy2?5w= zBxo7ThcxH_fT{$l3sN2hw!&}9p~R-^k&l!J3Z=q|3l$4j7Sc53yq+0ze=Z_D>d?QiDsI}~2X zB6~n4A0;hOUmus8URdouQv9@tE$^O5@+sw0@t0TK|JY+^ATr`ORo8ipoDlrk#lG%! z&g=9G)3ZJ0Nl5nStFPxKQl8x&!e0M1>7m5^2{P%y&{t5!dvRsb!)G4%{c>-c2iLW` z?H&~F_C)&*ZJ4>IwM~B?eNj1+zmh-prPR!0x$gb%*u@ue+)kGjpX0wADQlUY&CUFT zQudq13>kcQU(q(-ZBAOJ-9$`4lk<+L;E@TK{2QwAi!l03bnWiWt91T%jf;$qrCdj!4wI;|*!OKH|DR@YfDGE_>zz{S7 zfAlU^HVCyY+qSCoL8ZGPN@{7^_R2+#`JI{~I;d_&pGB_D(q2wc)aZ#=`My4vqWv>v zTvv5r| z?+c5&_HH8|b-cjIX`7M#>V0JIiXv6!{Lc0NWEcO7rw8pRaQ5Iwpu+y3LvjbGQ=trj z%shzqgOeKzLs5WQh0YM}ZJ2Nc^8yG+x(vjr!D-I_q64f6y)L#r=`cxc@Zjh7i& z?Bxr1By9io*y~yLNFfdbcZ1017D;|_MLcf<-F}QuH<_Ow_#Tqs>SwelVh z36vh(1xNLM`1udK@#jZ10|~+b3I1oAugAAZIV4{godO(Q{ z3UzooxNktA1Nu&K^oxHxMB1eav`wF0yY|(AJ8c=K?qgDG#+^C*(#z(X%O!&clL2vLFf{@Xc|QrAi;(J;2;xO!A}jkFIIjyu%JA&W?8FYV(O$_J($12 zyWaSCOXszF;hzqUIcKTlb+n77UR>qW8IyU3X+pdASh7}YkK*R`akNI)uQ!jtcG z;VJ$SXaaT@2vHb+48t*Cd?Zx$Fm@H@DMI`dgr^fg%!WhshY;rmg)R}8Z4iI~hYd9@ zk-)&?$m1_pq^7W@_OhB0BM5HG-E6$iCZN+5% zgy9CI0X`KgoN%zE!uUUpnSZ?Ufb7PAq8?0^5DE$bP4EV(U`d7I1|-{%K1Bf;5fP?L zLd*?fkOR;K{sV;$)G;0MkMY?5Arn5WYyL|nY{t4UoV+3v<}tQZXSr=1b=o^gP4&%X zhdT}@wFMS0YixhN<&#PE^R!5}(xtHcf6Ih14+I7fnegqut38pCM{v+#U@|Od)`%bk zrXu4^pk0Aek%Z`iLC1zn>;geL0o(&17Xf)9auz~o4vGXY)r#tXskYMb6uZ52iFM59 zV&|&?;W?*I6BpFKj;>{qH(A@>KY-{|=2+Iw!uBA>m$D~TOGuGuYpAf`Ke?fQ&4&84P-!Om$8q#xToQtk%PertFUORBhvAN z2ujESh2i&u18Hxp1yrL}IW>5lsUz>4{B-(A*ar7sp;F2*Q5ZyW+7CbfIX?gRB7heU zqc+e)0tBSOLxM~k1-&OEy+bn&3P%Pcze8OFdLn4p5X2iWHN-^%Ll9tQ3AFNiV!HWZ zkadl>`zq4J2l24jjP+6n_u$ZhE>|=@lHbk0($wxYkgy-_Ag*-^B-Q)v@P07TD==vzZ#w`~1O(FXZ1TOeoN^E&u zT%;tXUJykkc~xE@i4T4keZ^rG$M73=iD>&;Z#MKxb5wpR`5JP5{iU1{4R`7V-tr*yI~+=M1g3#AEF;_m6o z9r_%7AorH9bJj%5xg`u`@vA#ei0m}Qbn3b>Yb%rgRbqkLw*yZptSW8F!yB%fg-I=) zzAB^sJ@<}y&y8PofkahsWFS2MU!vuB7>fqOq2cz2VRkUZ6A}(lpfg6n%o@lQ#lVt) z$aZKwVg4Je0LVrLECYNVz$8GF9;AHzUosC_*#9u|kZ6mOR)>#o@|UX_;6acVlfY*J zFA$72AbCT~8&o8e1Kb)w(SY{}raM5+2zYA{{0Ta3kd`Cl4V}nDjxjLWz%jO;^*l*q zX!n`is-Yb|>;g+$GLp*otvYo6L(ED0Bg0=?!Z*A)W|ZIAFnw++hwK;DJ<15Lxhc54 z-2q&9Ui#We#<9G`U!Aufb*($3@3-N-{HLza>PMnO$G^iV_NDG$$pAen3J(8^fp&0b zQejL3o`E=fA^R3w*>Ft3D?-{G7^?$1Waz2EMg=n-AnOC(C3L6|B>=}B;yp!qfjPEX z3-L->RPrlxu4^%0hz@R~ZJ2lAQure9>BKBG>-qKgV?zDwoHwOvn?@==aemz5eLQ4S z#ORrm)TeP}kHfmZx=T1y$O+b^2?E=rB&w5sHE=IezIWQdEBwp!S4cWUzyK61Dx~58 zvJDz-kYa+rh5>ea(EP(a1crRrl2{1$g|WjRcmr$=_94`+RDARcV^%;ze~n<%^jO8p zpYSB1z%zq$^4zS=(+r!?_H(;8x?OE6WUd^+*sAL;DLf)=SA>6LRpd71PD-}kAV_An zs3}%#4izPsHWt@+y1vTwaJwc7Lu5r@h%9-8L(lc&n%ZAR?YRy4^~h^{_P2``JlSyh zf_e{*6hIe1X9^r0xak2Uf#LNqR1U;|Bqqc>KuH0m1k4Qr$vGL~{pet}M+Zh30`?05 zhiii;SDQ+8it_}WKeWp%dZzNxHQz%HjAwgKDoFAgtlvpfFWgywp(x(@fcVmx*A*@S ziL0Kl^$T*k{V=_(d?_GbOHI4y42PlUfjyQvEq=<3yvh-5?rmvP>&joxSvSO;_fLlE z&#PPl8cPEr63Pp3JcH8%-WzhG0(Jr=28O@{Yy}aa0_;sk&@K`kCf9??5SB0+Phg(kH8Vcers9v2eD_eBu>&%^r+W|LTZajAazi~P2M+S2ymd=Bt zSsrP^p_VdJG4}C4cNImMp$~0XetC`>cT~l0_ttZ_R7UPSNk}N<3$jX$(XY$te$(?7d31vx(!G4|U$@6g!>P>5zi<+B43* zrufy2>g>xsimpHVn$Wf6ykx~t>FKu2=QgP_%2e{5tFuLs1*z6s^Y?vvpE4PLvu7eU zer}BOqSNN{-;2kSkM4S;TG+ejU%TzF)Ut}W7|+(&*nLda<=4Ah%y6bv>$y1dN-CI# zLqxwRTqWkN<>(!WQJ!7Qer#2Hbdn@-*45rlG9%aK$CIh$z<~kZS59v?N3xB*@lgGL zNPEkuthcW1n-ow&Is}mrknWO{6a+*{T3YEwBvepDx|Nm^B&AEb8v*G~>68}UdAgtH ze(yc5FZ;Rn2exCd9gg$-$69mEc^to^`G|?jKm?onW@5}UzZJ?Hat;^K(U9#O)U7-x z+x-Gh_KC?lNj`(8M8bEU%PwJ|zqH4_T$to=$}fD@SIIMS)y`Fq#YeCGcyUs(b+El{ zk8wzpny)oGAA7`mqiE{pE(luH_X_3(J)?-1%t&r#wEv}nZnCZz zx}f78Pps;|lWJNSET8sp+vdT59IxGNxl`#vt8g~Z zjVOn2``mfs_K^2S1ge$u!TOT}-d-(MF=QTtdIhTUT-D}xRMC4=cSd+>S(Bep^85-q!wcZc9-cwVdFEXqvuUG5cT1eWZEwVz z{`dT=*7ab+UB2lVX`=wUJsK}#N%AkWTW=o!$|0jXvPz6z&&02w61U0K5oa6S9h3up zSL}X>wi4d2M4bgXBeNye`$ZBzoHk$Sd@2uX&3fVEt#+Bey;bTs?^qD6W#KX9_Pm18 zK%V+r`LRVYBUjSHG20{hz{t#Bt||eSyP}d<6GzfzV)h)(Rv2QE(?bObZik1;mZm*9 zi9^GNoAh}^a=9y9>O*4F+IeW~ymXi1saYZ^Ooom^ss~%0fmM2yM$5gOS_D%!yPULM zGN7fWJcD#PaEIt3bu)u@yW1lGLxA?r4 zLV+aXYPy{TUt7}`ZfL|@mQA0^^5H3!zssJmSZr9ioDaE`fo6=$cYptxb;NHCQr2+A zmRt0#t3BG(AF)lbCR~$Rx{-68Qs2k4CaXUB{Zgv+jjTh9n#$;?2kjfx)j`$JkJnN5 z3Umju)|fV`3(!@O?kAUz_;4iWx7@3(CP|yo4~#4jHP}b$AsY+qVQiW&4vdtvD|4N> zh);bvSG8c!xaOIn*}$;){$e6a*YM6mLtK9o*Kb`mgO<4+L(CW~iCS@a^E|1;W7ZE( zIV^miHXrU{^3nbNX$AwAV=4>HtS=K3|u+N$YYY*)EpaT2Ft z?`Gj5iowC}^h#SSp{F6xQS=={xC6t(XD@xu#RnS#-HZGZt8sKsFyx||TSj%BNm^N# zVGc+tJGWPmhLjS%w-~U_*lvm4iz}%3SXc2pFYsDa6nc`tu2N4|K3@Tz{TFwyD32bi zC2>ot*Xvy_XkUF@{9g_W2h|z83#Ox2S0PShsV*8KP?S3)u~0=vW}4(56?;Q?9;~iy zau#;{p}$J!Vab@3L`(!lVr=xLGogj7{fD7o+Jy0z$RFNfwk(j$1uc4%A&Jc;PK=>(R3o{H6)$d9 z_F1pe>qeeCy!XNspCbr6QOa8xOX=)#K z_WaE5G@nGBSgwEYE3?mnOxL=caYv}}@o%A=(4-s-^fN#6!3N%HhL<~LKk$i5c!DbY zJbk2C`DIWhS+8NHd?Hqp3wpajnkw0*E{{doaLYU2ncX2y@`v5A*zYTOuU5-jH3Eh$ z1Xl`N7w^uC@)dkd;T6l{+gB#kdGA6T`y<)JYWtg%djElKsZC1gE4zc=ZTn+O=oiUS zrTU)*BFmx)E57pSY%qHh-te|6G+$HWpzC4Kyju6mf;e6i%k8~0#s`JE|eghSTwWb%{GS#*0zL^2!+K9u4#_vzQuk@h#CiS|w_7(R>@WJo5}RmW_GF z+j(VFX7_z)+2hFl2Ymw6ZA9WUzg@@)Gi#Ha{waZnus@ss-^lYiB^A*2gqN!?io@Zni^z627$m$b$ zRYpyoeaoGp@A3z(+O;)hd@IFELzY3NS901ii*&@I-OALF&&w@N7W7Dzzln;JCuO!! zqBRTr+}eyVeA8`r@S4$ktj+r})YYu1Da)aO)x*)U-CgeN1~Kal?%vphkPAIaOjdz= z0F#1no8yuw(E-!hYaHVpd$)vfc9+4&gsHTzpN#L*Cq}35b~GI|O8(9Z$jSfx{Mt~- z!MqW*X*|Im;|tBoDM#YQE?Kg+h8Am4rFHYEdtayW)46uG2Pg)vJpJGk*;B1}inN-| zjIuSv(;`dE-N*cn5@$>JUW9Q4TIBVWE+2|Gdu7uWw0f<6e&jvjv8VlHaw!Wsp^O9L zfh5153GNaTf8iZaYxc6bJuqFW&unI8l%Eu3WmV+RXR36s^sDfm`Yjbu9on2y43z1_ zMeMlt)Hc|Tq%rM}d49oDtRoGayf58MIYX&46h!+)&Z|t{?T4_YOL-hxqU=>mae}M! zY2iap(?yT)-}Vo4mW1{M*cjm4<4yGWEugkx6o=-39tsE~o9DULbh z#+zU0D~p79MkQB*7z9A)AU8a9ejX(I4yWNBr)%Mf!l8jc4~F(xT~v>`SQGHXrOSC2ZgZ z(c|~*I!)gy_~xnjh<`oyYnp~dk&ORDQU9@0eq+*lnRnHkcl_fu?-4cONfW_vCCbO* zm)XBG=T}!PP`#VA=dHrmQy*bw9icrF&Zq5*tt28Cl>PbmCwU+xav_;rMVkvoT7*5r z3%(YDUO|&WIt<|xJ-Z5qx8`|sFQ#>*&|S2w`*1wUU*7#$cNlMal=C=wr=-JU?^i>+ zZ5rMWxzQGz!Y+E8sB;wKx$SlfToY+m7uiXtldW#TldTQSTCLD5$w}vtl^;c^pD*G= zhlrBHnTyau;|WmF46rG}zFYMwePtTbIDCth9Jj7VwAId{8HK7TlD%x(Wb=ETt?GAb z=WS6D6S^1HN5~HIbKA=`YA^c;D(m~Eqd8WClyXnpRfgoeUu`#k!L5=gb3UGtD9e0o zN)Z^i6==Vq#kD{|>Zx%JzvW(qN}-+nen2Y|g_^^O0R7pDbHZMF{_1F6eK5|xe9;f4 z{r7q8D{7Q%dR_Ga^p@N5U19hoRasxrv3%vpj2z}~b8%d|wb$Ci*+P!Q5q4jZMA9)Q z5SK#5-CSyw&3uzK$!yX#tKYb!>U-X5JchcWbp|!t-63>mLX!vstQYJ;C*5EA$n{4& zv)&}FKC_tp`@W(kh6qiLw*h+dRE~JRIkt$Be#C zn>|eOp3bnJeYiQZLcPI;wXyuBV4}Zd?)y#8t?m3lja-6yXJ>23|e?P ziaCzEwZ~4ng{luso%&|p=SY(09*quSe?3s!uj$io8k?ZCp=CE^6*FXcpeioH!7-EZ z_>@bf&_cB4!$9ymr$qbUqP25NqJ}j7NMe>$u8m`bVlDG$Tt_Z<1&UkcDmmLHsdWyz zC~tOZemO~7doVa%maz5E=7!VV;qG_s2pl2V#DA*^S0OJW%e#RF078*FWz> z?&prSv{o9Z>EKCn?^d{C`F{O(hBzzImp~sD>A%5If zr7$Z(yOq?!n^Lui+C|T!+p8`Y7<95&6GAsgeoQ#r z*%8;z$9P6l`>vE&pvuYg=gn6dJ}p^N(yY&3ogv*u5o3LRAgEkIaOprhR{wC@gPJ$M zc-;#vD!ZVXYkQHQm(e9Eh3SoO$3r5vCd=5A$D4za$|>*WymB;ku~Z{Tn6#wMDTR?gkbwvAAa^#51P3s!>@-Q2#x=R}chL^G( zn5YT?Bb#NL!M6h^zuaMvC>MHI7Gk<4kI?dJ1nkOzpq-?1+^6_DLYN7!?m+=Puv=C+W!_q!xB&F{$&n z&1go1r%DyH%8wpMA`z%+SvAh&W0Ll-Neq%)29%Vt6Q_GIj64bA_t?{7VKl)aiOxi& zq8_cU4obMIesxJlS@}rtLe+6#=eYy>PFNiyFjR=NDih3c8*SoB5lr2f=z%9%*&Rn+lK zB7Egyv`!&AA6FEDROfR^+1FQW)ho)i&6yQmW#MAnzKlkBc8fdq=3=+a5karZbg)<1 zN-W{EOBw;<3sQVTEKU?FP&90-n5EkL^(;?rZy^IUeMsnXGl5FdCIiM8c zqYd2>btyHVvp_YZ(l{wz8o2)#MQOtYqR4_s69*#-Y4k{~sSK6Vz|; zn#V|NhddU-eBoL$9fTXEvd)FQeu1PralL3NK7TV>*|L?mG<223eafgXDl7S6L2yfll7vWJ%FseUin?OdKAhZ0a}HcdjmT{f&|Mlts&-FzoPNyxgd;i_Dv70NT;p%QG+cn$Sn8|x|`lN=v9L@OXLKQ#s zk1K+cCB!Q6x*OtKn3)x-OoBPKZFtU}YFz)dCU(T{P2YTwh?b!AK6BDx(CuqN9<%Ql z?T7b2@+?t9hox_e#0XTK*k?NHY-NtNF^0C1$@N~x$hA%1?yYOLIA1TC9N@=uROP7D z5gWgBJ#Zt?9?GE)8J-r&4n~GzmvPUT8M-Bt>UN1(Xk=N!zav| z57n0auOLwnurHu~Us9(WXAsm3VJg2D5rRpmQMNoT?y(r?^`p8d+dFcOn&2$#g849| zH|Jr1)*ElP80&2>kC>k^ts}h=GQ0kGpQp6BC4av!Hsx4QI}{Ns6;#x0++mH?9Q?9u zkT6|+_Rw$QS5N+1?95kpiHF-VKR@_bZdOtJqTP*u(J*YTY)8DoO-iy%9F(JxyLCmY3Wr7+L8r3ZS?%!$I=?&2Pq$zVQ?VZcG`2r z%nd4ic^QR$WPh9bo4nzNIfE|vho@u39b!B?NIi%iSGvcbw9jepabNg%<1*Wt@<$7F zGZ{;&#U0VQ?V?Un@!ik8vTv|Z4T$$7IV$gFPDYB^h`jM0SuLglBgL3Jtt0P7UT9chs#8T^Lx8ll=LvXuiI*y}^?{^Uf+$QgH za^o_Ur)7q-ByR8s#PRgsryr&``mD|{I(~QbaA|!!9n)@W$zF*?f!NADuj%-<{N34L?&q6}U!H>cJd*)$Eq`tr@+24?*uvE$b+b z!uWXY71Yr@uaiax?NMn?V3r8>zjd+1vJaP0MqdxUSI zSTxG`TcdNo*X|zVHTf($q1Z617br_-2V~r$i)Z21F-;+G;NsQ3G}63Nm(T8WxD@y+ z@ra_ht9c^hBvFX`Ltve_;HFjF%d?UN2hvdHq%}#i46mDnh6=BLX%$9!Zp!?a*}V2S z!Pkbr?744L>7DwoZQfoAP2)0eNTzb_DPOY8A>qs_D_Y=J?BK8)#_e9^ZG4mrIRFChE zw4Hun{Ja*)Bxx)=nrF2|OnTo^|G||TC0*}3Ra;VT%OTkjbt>ZA!=kdx5VHy{p4BBT zD053zB$x_!ZL=QC9%Ju{O`d;!l3s|;_j!9gx3VY-@_^rRq+%WWc;f5j=GjO&ut@|? zJhhOnA;qkqzNa>qnEvDLF#m_ips!q{Md#m2d)~gSdlg*SPI`Eav}LBLRj-J#_KLMZB9?{YoxAyVjG-fnDReotyUTOWvi3eFvg^v}shcO(d5QJC-usTsrI3h~ z^bwESc!GKO#PH~MyE@YK@92@3@4|2zCam8m4|Fu*D|{zi<+v{_1itqGPh7R8IeBmiC%Ib}AO|2}iyv6s?UD3zrm#n?BD#sR;0i+k&`2$LqtXgJ2 zlUrt5&Gd&`4CdyyHh&mI2Jc;rkBE|v>IBj^vrJ_7sYRmwbjw+FJA6P`>quU1QP-^XkhSTZ_u(glEWO z&7G~oH*~|go)?9ik$+-Jq8EyYLbA>H@YZ1=<7yBFp8rlJ*(%0I14@tf%mfdL6(gcw zb@oKJ6st$IauiG5yK}6_@O2WHaLoM!@k7h*h zj0i7ddwuN;U2ez_<=47x_<4Kl=GeMk(x`KMrd+DFv%Wv&6%>%iof_I3w7#E$&wSZ# zS&TB({A>m*=kU(=hW@vccsA<7LMhFRh6Jz3t-8j_rjwq5>}@*L#8iRoux*Wcn>E{dtXY9 zn4K{05k5cEIu>~se}Yv(*L04Sq;OVSS!?5~t?IeMJxZi_g?nJvEch1D7tGZ3RL`&)&Z)DwOK)gHeCB?aIQzny85;3|aOq#NF{L_`FEz^CHKM$i zqOhMoNZKJY?7TA1#h;Z}zCgd#gU-17q&$JQHu1L3?OcPlr`ZEu1qywF9{a8LkzDy+ z&K|DOV;{?ux#<^g<8Gz?{&0xRTBoyLCFUSri6Qo!ON;ZYM!!pI?^?ifkC8Xe4)8Ct z^apM6m<$6`}s@FSw z>VBWvLYBCg8=5LNM`kRKf1a`*B(#-v-~FA<_uAgh>7|b`-&48kNFNrtc<_EZNqMG@ zUQb3M*81&Wh0>E$_gW>4nB%$ra`mxv42>8v*2Y+3`QqEogC2<-#hq!j_mZaxx1z(s zlFa5RS&^one)$$eTNpvtJAs)bL$tS?SdJS1BwNSy*KV+1*IhfD?|u9o7xdyazpku3 zy3Bb}=e3SwNm3u0=0)+7BjNMuT->1Oz@fP((V?NMUFLn6eY!`wj81oPL-V#<<{E+) zUOuTMzq}hYzHHZgS+Cb}Sw9(kITwQcJG3HpPMgwTmB3w<_5S@CdQ#*DeQpK}Y4?N5 z?uYe4f&19p7{u4+Q{H?_Rd0`YWb7@BEB+(#%&mFONH_U;U7PFX<%uliO>6GDTia7n zm%li~-}UN^x%D>oIQ>i@Pm&T5P$QX|ztZ7mR_8Hud5KhbR(MH$Zg+gyaEWs%e#`Mb5Fun^o}k=i;(Qv&?17mUq~+x#Gv74h>VwprMhI@kf$c&C}wT{?!TgV&qiYA z(t!rU@5#vi4JLym`7;Bd14G(P-|8%C8N=AisuDb|OP`X^4V9sH4LFrqc&OhebKyU@ z>mUMo(Hk7Mbo^s8>8%}JeqCt)R+4s#W#UNOBgqpj97QD6;!CX!*Bq@8i{HUI7Rge^ zT^_qN1~an^wgq-yE2i2`r{p$me#xP~NcHj{ipX`_O+MZ8P`+YS{#5(y#t=E+^;&53>5{3`Itd;sVY2 zUx>U3d#jivM)h##d02jGjveiwzMgaotvppQCjag2FA`}Pk5*p4_}zE;M@#(M+$Wy; z77~(w`F|&dLx8Kneg@(h0M&wG2%JcO>ITpc5Y7;CFd!W9BD}L)z#~TF&j1J32J5h9xi@vQ(;JaAQNVsynQ_Uvqs*^+c;57 zNl#ZVr8-55g7kAd0|AlXM~KwVBLy( zdP5WA?Y2>Pt><*?{Hj=3D-ZZ;c|L{?ed*cOjQ=|1JM+g^TQVf+^cK`8|0RbKq>!MD z0VK zOaZT04>@-XFA9})Xm-zJiActYa#jBz$cF!vElU^cb((?AYu3#kneq8M_^Bn0q1%?2 zxsluc9Z|JhnimDgZu_0L2rU*m7Q6y#3@Ti)6R%52CK@dozb_TqOB~$S$p1r4O;)*$ z`V_wE-@#7*T>l6nN62P^AY#ypgK8OgxDXt`4R_WAn1A4q1__{eGPt~d z7v%kO%@25WP2g&Qqz6(#0jY-o3jje7p=gIl5h1V}z=s3RBbNyx90ndGK1iwn>MJk! zM8Tr%5?l`PDcDkOyJ+16ZAJhePNw*9)KBB-Ia_`7m>NZkl>X_`{Wx_c%zck*ZzaB> zWn6t_6ONM5h~agf^j^ul^vyw@sMk%KaXLZGPKTrqc&}+ABxuTyj(+xQxSzj>!P<@E zqxh7m`3vjb(udZ9I#W5L)p6aPloS$@zV=*AM*}iGzq10dKOWGVw~I;r;ZhvH&;PHq z{pXrvA&4o5yec7t6c3?q0~{K}p9w(bFzD70uMZg6Art`Iyufk={hu(Bum9K7?B0VhgH!qDYT+gQb@?o%1W|9G*xCp@cHVeo(j=>BY`EQ0ahDQ zWB6`I1ll0nS8l6l=UfY~8hD(~2{gh9IvUzUE2xjXkbi!hZ1lS z%kP38@^Bd!6VsfC2OcF!S}|ZRS4R3ICQ|(PAgsFE?!Y6$*lXo(KaQjl653KmTy)Q4 z4C5kM<(c{IyMeyz+6`1>#;mX8N7{Bi;s!68c628eHhte89{kIFb=J7S#D&iK*o};u zaHV=ayhZ}yz8WbBTUquwq3xZha_4AUPFj!`zFuWWki+tPnrN8~9C+nzcW;G){YpDv z-&$|c`Kxsuz9icXHvY=t{tP12-_zKl*>nMKYzQblgi=_!e@El%?NX(H{c3{l$g%Vq z=bqXel2bJS|JQgm>CSy;QL?SvX&fBMXV}X`f~;*>N6|fpzgrSn7N$R6{qS~jtFU>7 zpNuJI7{5E@t}*4-iNvCp6`I3{j6olYno{*Z@clUPT?2m?$*rCcU9+4>r^jv6do?Yt zMC%S2I1SnQFYd4Dr88B{RmQUwyWR_Cq1WAHi)*V)CdKSTlYfEN$3$_hb50X#^Y zph)Hgg&>&rOki6!GU0~6417djM!i8T3hwLcO9^kX=DOUru2MedpOKqZMwUpK*-5ct zuA;NGz`ZBa!Q)Y|xEo;h?PIAKOCYg)Q>mBbBazpdISE))>@NB`JR!qh_k8q%$Zu9} zI+qLJRO1n^+MeUp@vxp8{*@zjc!RX-KOG1E{H-uDg?t*2Y;r@+3t%fi&520j0m>?@ zb71iYK{bTdKo|g6(Rc(+LEH&uV8{$GGXjnU*h|2Z7!HzFX{T6BK{S7RBuQ+-3+~b- zJYDvmn&QXxZj}9;uV@yh+^$n#MZTjioF+7T=^Fo9uSxFrovEGdgKO`m>$5 NSY@ zR#60RZ4%79Ie6bR2HNvBdtnM}; z6Ac!fjukk(_>KNapPn4y(-pQ zFUs;QQcKqjq{cR^S{bTL5IK=@~SK9GGZpz>XrYntqX`kn^)*L?ni}wP- zlLh%blpkQifyV;&NI@>J;XuGS1bhP;;14{&j2Gapkc|nUL9lcp80mkqxA}Nvg1c~< z9%7<-IH1=r=;D$=3}Ty*^zep5iBp3`;?$hVJ?Q~v{z&9FbmKc}J!?FBk+(w_SXac} zCmrzy=0uPgb(i43LCfTOpWbECv2FaLoWZNi{tHfEq{Q@L*DrL0`9{Aoz~2xyhyRiV z0aRCGfD!R=K^zqrEFl00kzfaSQ$WD;11|vhN{Gz^-VQThi1Kg)))X9j+$Lb90@1gC z(Ep06JWgS1o5fdAXw9CMBNkNT_PB`m%^LPlbpyTV(e{ zo>8CX%uiyBu|&;fn1!7G$jaC^E_B>Ft~-GF^?H4j>A@z>UMy-Hk74}};&Q=x%6os6 zDifh|3J6*U!U^;Lmn#2!u>$%652QhW1|4jbi0lAJ4B#{|{)3K!-$9BytVzH~;s##~ z7sUGU!&3^5el8;rb3+Ky?T`r@u)m`rLY($lF*t|9_7)Ut!!$QGJZCLxIA5bQ6zgz3 zbsx)re`AEm?U{jS?}7#P1ddeIx#g{5L(_T(d--;BPXEcrk>8F39($G=b`NQ8%P@~V zqox-AX83N}QZ1$RLkgDs$4%1X#a-p;CiBbz);mF55uxvX9w&X~x{_UBU?1)f9vY6(6A&2vcOc*Da~u*b%zZ zg~nFwK*le-D#VMYN;qB@+_XZ9crnt6!_~Pi|2vVL5=SF#0ZloxHTkhb;;r8_;qfV zdO0Oas$Bco)&4+<^y&}5P={Je{`}=Wn%6+2SkqMcjm=IeJ>k_Sw?%Aof{TJre|e-f z9dsxDlgs?iYkDw9fguAvC@&a)%%DmI(!UWbOr{9XJHSkU>R}ECL)gIK!Qg}R6n-FD zm>^QVfL1Ih__y#!G?Ye3R;~xfhu<~w#cCAApSPK!Z&>>9ezKYw6p9S^XdEINsIY&~ zD#-HeruYzTxM4=7I{C%5?oIv#O$NbhPMdcP0<9&>j3hKhag5)z_5a%Y9>FhG_A>vk zR4;Lta@K!yIy8eoB?z@L2i!MgEWr5>4kr-h1LX+VOn{XJ)^H;e;Qn&MdC?fMe0ace z!*6V61m{P%YuvXVO+-JT!CW_Eo(+yd^#=?@SE8tQ7Sr{J^ZM;;5^ZQnMn^fH%g>ln z6SpGdhi22WEJhydWk23%MK<>yJ2%8a(J<3$n{I9ib{Jwh_9yEAeGsO4s)3D}ihJ_rz2(`H&tvDn5zsw{ zO7`jZ8Y9mK31{Xq)8<`Yuubg-?)adc_Wl4i$MfypjrvC!P7jK3mADnm6?B7L6Km5$cuz5!l^S!A3KuflN-mlFZ z_r*-OZT>n+(7C!`{iIIgl?P@&(nM6seX5GTOx5oQAE52eQ~mVRZPsey-${}&mqKk( z!YG%!$#SCRo2awOzhU~_(Ur*PBkjz$ng#_u>d$WzoMukVT*7w?T!`5SM}>WfZlnem z+;jZut*MKpUgR-kNaOsI%<_VRt^E_vVK@QN!;dy+`j;uF{yG=idL&A)zm0 zJ^gc`6!i~D;18|pXD@Bvf06|L`N0msl!IVmaQZ^fB-mnssRkA^1TY_r&pcqK6ok+> zNPGhG3$R!Pm5A49X`m(WJUi~aXr$p6z90b(_Hl?DG; ziv+-MWD3PLU=88K4!9ZE%b?T%N)sXy0P;w<0VWU7EmMHgK(~xnBdjePLfvGb^zdiu zq#2&w(-PaVH}!r&eY~|vSYM3xC@;qL*@Ns_{J1MO?!TRG9PkK|?Y3*f>V#0YCiT?JB2RwUYp9g&A9NXg7(HoJKq;@o1UO(T<`Tvi`~F*)el!O$JO~Q-WfY#wE@+ zpI;oQYPTs{u2c!CD1T6*@5y_{6M(bD^+6yUkBIsXSN7)-pTf2s)-+oOLyov*qkMAf z%DZj%amycR>5s&Bv|n;b3Vvp{Ok4YL-Lap|HQ#1baarkhl!WG&XScsl8R69C6005Ty?3t=mTh7>2@G&vzU7#KznO~B191YIfEU=RW30FZ)UI(V(Xz{u;O zREaq9Z7eZM_?J^&e+U7IlzKnMOf6Y7E)2#z3S)IDm~1s|MKWA)J91!cznQ00ACxAqeCGx(cum z5N%Xr0cd$47y|q_y~uxpLL@mdpUB^Ouqc6q!*Mwx;c~enP*PP@A8w+*6L=Vu(8ENy zYJ;2{ZTFewi$&H|8kChv<^4p-Mt=H3N_SIE_YAn@&Rqf3sShjW26e)?cYFs6E9b8b zm_@q^+Mb;Tjf{N@O&zaxdZ{>hh@0#dWOi@q;^NPn>;Hv#{9jn5!6DCwusj2I5{On{ zU_?L)A&DFcA!um`LQI7jAnhQ~9)N^kriO+l6cBJ+fV4OOb8>Pj^+Lr9R`GuQEwr#5 zN(_|l{@r+mJoS@4>Nf9LzRyp0l3&@PW8L{RND?6zzx#^c{Sn%o+#N?THu~ZBca6Ef zlm}5=GEa~+PqM#glvEmaPSV@pYtWbs>ERO|zJfJ3`Mf34jC|jt`1CnVHVUuJaH^T^ zR<+`5UnlE>$>$$jn&KX#zu|Uz&(bgFK8>hv9cm?ugW-w(FRk-%dV_5M8h?TiH3^w1 zuw+61hKmOh{vfW)3^*U)K8A(|Fmu7B4SyNNCJ+)R1b@O&f}ank`#Z8U7uuhYLm$i~ zdl?+vi{+Qgo(DIylxgQVbth}L6!3R>c}qTZvHudSaTJ`y+WAUlVO@8vU?uN9w{Yo; zs%+&uQ!%~~^f;VP?n&yzxNwRriK_gRv#Twn`O6)T$Jg@Y34F!>@>~RsDj?xNdNcrJ zp&vgw6RzC1Z|y zlUR4EN$AxX-ne<+$Zc&IQv0B%2xi1jG==zP`^iHBC($aWyI*qHD|TGKv235(Q;HzeW!PYcpMOaY$+Z-M|1f+foZ12U+BVe5jh97uhH ziiZo*W&pMW7Xp$$fc+xCi_?u^)GUEu>W0>@i_AVZW;&NeI`FOA7od4yi5H?*Z5iDMs?Ko2sYg&}Kxq{IB8I^toE!f97ic<0=VG#6WoA z0*)-0?jalr4#|*%1mhw>6GTQlWSzlG44!Yu)&{UJ!r_ca-WEbEf$%)=^8K%s+g{>i z5y^@V@-11lpBF4KoU2vHCC!rI%8OGB(@pSKa(}^-QjF*|Rjo$4C(5%Gy)iud>(A14 z^LjXy1U$!o$J_n$rCX2>T1P+$Fo!H7DEQ1_%YmB-X-0rcfI%N3G94x`kc`M_1j8eU zm4$$Nz`{U}!p+z-!1pQ{)?a(%8j`0 zACOwbi8tpQ5r}SfAA5DUhas0Hg~|$Tg|4r3s9^o*&uf~-PKog^+Bk?%bi~ONu{k4# zOJKZ*W&$+SAZ-@-C4f2uOc7)%!NLX1Z$2AxVf2CjgNIh27+8pWi7Xh+PF5DqMazi0}xSKwcZ9a0viU38n*3QNREi*a$#h z1VW2BK)--u1h7%a=Mofx=awI*IS?NW;MNU#{3sWAO_EV$?B~UwUx=M5#S!6GV!zA9 zU2wf>%(Y5o!N20wLR;{VuSg!sNF)_={dn}@ z$bO`>?e&Yx3&iG`xNtgR@Go{2BR&8RK?en1Js}9^DFQHV$vM{BUUq%oQG9Uingj#NKV#KajGX9^gJc$q<{LdSC zg8L8N$iJAe+=pd(|K^Q^rizJ?88>Vdz#f7CB|vLIz!bnWp%~_cSv-`+FggVa9Rx86 z2?C=Y!s>t!0aOzNm0yrAY{Ui)ga^=g#8e!0^yjPa-0mp4E-sI{e_Y>p+Jbanu@qmA zuJqSuSs$q{^vp6p*=+E?r)4~_CQnd*9fagcRZILN#}Spsh>`kJZ2Jn)>4yVi!q~DY zADS95QKOBA&VBb>>$6{EOiUNe4%%f4^reRo)Qb6cgp65TrMdnhJduP^dtKDZ~ZaHaCb=;HUu*I%Aw3IUH2Z z>mWOl{90=(SnEf#6L~4W-{97?aW##79@Eu&f?s#5WiZt!&jL|Za+?aI<2$5ee{_+( zT8^>viQnPyxP$qJ#Y?CvKU}?h#(Vn;<96u_{d%rcB`SX9l>LX}^nQe8%H1vXD%jM6IKTJH6Oi2NIc>gQqv*D&Uoft@-|o-53N_Fb?A45#)pk7Yr6)49aT)tz|^O zE$qFp+ygEc!96xXY{)P{g_QzIY@j;Au*i(>fAz=fBUB`DAEu`4dGyAgv7UwqPeu4} zqF;aawrM;xTcK)uZipSF&Gk4ZL(k?bkBFkvdhIK`Jju9KV2~O{OWA0Bg#{d*a2H+20|HyU5)hrK#7DqMxeyMekp~62(h} z?yOI@TxDtkWVtJPoG4+;dUMjP&nmy;%8lO+Y1scW=XTF)m>TwT|%B8`6q*5^G<~9#ceGcGtvRaf)1PCX5kyIs}gC z`HYR%Ny_eXJ9X^GDTsMCc5VSBOF`uB(H@-R2WNI}A$PT-CaMW@~!4Hw}?U9|9jKrz>3JGNt}e#B=uh zn7jP*Hx+ZjDHFpRa--!x-tR{k*q^LMM;5sFHqB9+L<6byH+KUqQ<8NiY zO>&vXCk@-o$YsWtpKi%yhEm5hpg z@&*I3yq*&ctzMrS*{5CbAU0*e?d>$%i?)IRmHVYGC`2T2+&Zty`jA|LRqXw=)iS>Z z6}l%0TjKGQRiq97DUok-b0YtXCYAt*JE0u`c{m8tBdk3_aDEpwG82S@y*Vco7@$>y zv;}}g!qN;yGUQha!IT&J;s^wnkq|(Pb^#+66b_tnv3T!kWnE_bAwOlJPlI+p3*kFbPg>F?Cbf4t8??*bsWaOQzU)fkYE zKo*1k3#1zH!YKzju5e!9g7zIh;)H{c62c4{L|bq)0u3lIv;TL`(VhiXSfamrj&oEl zttzkAM?1)MP5kp%B1HJOm=Bfu{N2aEc$BhPFVW?b#N_duE_c~w+q0_yl?_V z6g$urhQ=F+1k9i~guHvitQ|y!km&=8Ia4#(HDT}qT}ePVLJta*2C$+ig?8YhK&F5b z4a$t1U|Aa>>Rd53lR}1F`GL<7P8-UYrnSALoOn^D@a!IL*rGG%t(+6|&)GLz9@>3< z)nbXSQ~&ZRr}CDAcsM`wDDT;~P&%2}Ikx0}cKhUlny%L<8V<{=MP$kKaB47!?>J&I!iA zH-sc3D2w4>#|7!D{IHw?MHnUuuyL9T335Z23T!VBKmh?FKspEBIlPv9k2)M+ecilG z{EAgUC>Ih#cJRpYLV~{Gc+a|FhxJRgg-h5nS`L3%9dxzbl|mM5b-hN}zW666y7<_pKuTg{)uDs{*=CGgjJ6HTg? zq}n9r)nfc#TnXYgZskrXk$j<17e&>bKqd7CS(HOyH{cm1sQE~kV=8R`!FIHS=%zT>z7u=rk z%ai!tF<0!~^wKj8YfIW>k^fTzLIl0XdtUx}PKl4FH2GF!1I)PRrm!J>;OyS-`#VEl22W<^A z0#FPfv33v$g-J;*l@kbGKHHn*(qBp@>fc)y&N*$RXTsGMSWS@{5{}YDjTfP5ZErmM zShI1av-zhAxF@kbh$wFV%U%;q06@S7%|SEJg+g8pKlH@@s9r%kU;+sjP~t&YE=*5B z9Sf@u5JgRepjSJ-l2wi33^TJ%KU^ekLnIKb=MGBPYtdY_p)oBZlu(9W2{JP0^ zM-tJ+6&@g0y)i(DLC=b4XUw|tu}$kfznv5)Enqb5TmJQ+?3ZX;c#O(V@B6v=v$5>m z)v4;FeSQusb&~gU2+jLbm*cONKGxJ%`!hlpKEmLjjEIh%b|?F0k2-=Y_4ppJ_@nUk z9GXm~Fn-s@RL_f(K3V+kV%Ag4VubTK)j!IDx52i^?v_5?w z$2Q&G&GHCmm?iZI#W>aKyU3_KKV44-%57RZ(oQ3gypce0gu zn?gzul!OSyJ&zd|#ES5lLEe)&aNPNf;LYHJJ{)wJ1vvFXD;>}{u@OLK&Gh3e%33)2 z&j|9~qbKv+DbD}RF1fQY8{%rp*H-#bA6<^85R=O7Y1Pjvy|yNC>EZ`|Iw$AvkF$4+ z+mtomzu6KtB==H3c9q*Zon7?M`HoI`dpyc$>6ixzog3zIoS|#DW0=%-9_lc=i%qSI6%OZ7bbl$`~~DbWX+pF;S953L@W~Y zlOYQRI&<7`1cZYw^kfkOLfF#bmmmQ&hgXV=OF#HeU|oF$B}&2N+XYgo*%bye_3W^l z$GKL9vLF2eQJIL#q;g#e_l)_rTUA-Ncb&hx7`?mp(%(E5yKLa({qrBkVe!Z` zDpsRG?hN8W{B&d^_WKtX0x}nQfw{~DF<-p!_26oNfE)zDu#W-C))aDu0FKWCsv#MDyq4BOQbV`qG&m zA5%9@(HOP`sYl91&SsAj-=jp0V7Xym*J+LAq*u!Jwf^`|v(>uTMui_f^z*-c@PA$= z8iUdgt}SRZfhr7^5vU7+R}cDAFl<1L1>Xz)hY+ytL6-pi2w2+9K)?-9VMtYgM$Bfn z5V4dbHku?mbwg0Te#7^hjZcnUts!#v;-|a+mzRYFlMU45ennz$ZfhjKNF2Lkt4vGsSOrIeEi@Ng0fjZ^6_qcLdekL;UI}xaTP`OTt5~$Am{3gcUzOYGjYN`pUH75`UWl6nwo%+nOu#Cw!Z= zuMSt|-VQKu)qiy{&X>B_qIZc#B@IGJzcYeEyK*o&ft*V9qUHbSGZ-T_{y*N{0xGM0 zfAX^{{RR6ta^yAc%-6r{ULx;qu54N6kFm6n$7E@`AYL{j2>U)TSfz4u-B+~HVz zjJw8Wue}_5jP<_EIe+sT&+~b1{k>uT^9!#JIB5W!gTC#rwKk$p(1o@R z0Q2gyLBc6`;t*VLeYl$u;Ti@|f3V>6U?N=xFBA*&-7f{(3qRw~7R0YD_-$h)(4*@j zxp>fxbuwVg4GR$Y6_n8Lk`n1LONjXRmv&B=xZS<$_crO-LxblU9~3FOHThiRaM8HW z^07^>eSB@6=jPbSGgRbZ<#MoiB>dyEFpAsV{GpFm^#^SOwl2h{{#pjLkLk)%JURsEAdCnsAsvJzY?#lnBS6x5K!a0h6Z|EB}#)D0sYOvNVKIDJ!YwzTD z@%iSM6yxvf{69aw4507TgHfp=7p!`rEo9M0gyp~-2WaUqS%o|tcv@hF3@3pBEG|H* z4Pp?)8D|KCOGDOluq*vc9YE%D{65Ab9vkU`@kLn;qtIkaq#~GpjC#M*}9o*PFlHeLMx2w6<-TNXHI+ zV>iAy{GgS2LZSOjp|6xr*)8aL7}|P2554}t#C4jlp~CaO&8Qy&gdBO{v#b5XV;Fph zi18RAnil5yx?J$_U}~?ANFzqPOyKp0h_Qlv9(cpRk_cRiAUEKF6)rD?!0H(gL9oqV z7eMiIgu3iF4P1aOFXBWYO!+Icg`0$3+-zm`YNPRz+6qDO*8Aq~E4p0mh*N_wyrl82 zMy_Czb?Lf~{I(~?2a?tyWQB@9d< z*NTWlVL{00VO*&9I};K@B01SX52vR`8xAa7$hCtx;E`V^5+d5t`Q1Av*VKM=Pp&J3 zD>o&S$SKuSch||7IB7MbMtKZ;TMHX^O_VkG?_MQAwZ44$YRPNCRS8S74_wne#XdsF zKIQG=nPeH4@JUNkL-J4V&yqW1ON%sYe7PA}8qFf0K#FNl^A41Mrd8h~Q!|9i~L^5p-=G4p|1 zyush!T7P^{fnE}%Rj@w+StPuK3?Td%hLCKKdY}h`$lrD>vFS!0tuF7usa3m z1}mhxfDMt2-65ok2(iV7oguzg2fN2ZO z_Mw)V^>PtHR4T&Hab}F+Au9Qg2kFnRIS5OjM1h10u$e%E1X|qR-9JQf@IveX8z`%O zN7ca67&d-ztyv(f3v#5uV_=Bb`-isG!)b=F%;n8uVB0B&Wew>ZKgJwe#+{UX`8^5K z#!{Jty232-lpm?ZqwHSeX-O99!o2R3!CSM@yw7C6Z(GUw+;<}I@&Dm806G>!P!+R- zGlmCpK%t3)tu{Ldsz9j#zECjP!&47C1BfMqy$M7m!Q2Y0_>d0D0*5sx*S{|-F(HgR z_2qwXW?3v#iL1@pEIB zNLz142RHs`cY_fm>AiODnyx2*RT1@_ltc*01!6AuPtH2%z<4-~pf1wY19b&Vh+$a= z!UPbuLLCkI8ZMY}K&b)IDq!=Y@)S)f5Gu?PHO_-2VFxPM5T`GP*b7S~%U@Nuj#+3oZ zl|G-=WqcpqtX+JYm-RmUD4E^{+k644zm9w^-mvi4aas|hj~4q<{*Ut&OC~_lw#XpE zc*Aau8@1 z4Y;A(g)lf6%Y%jxUiIJLM9MZfXfem_RXrV!346A?WUBEZR0R)2dR&~TE z0JV?ljtEjSPqgx@<{7??(*#kuIEKD7FA+mQdWoTz)O|U}-Ktw-0bodg#i_s%&wgr}}IBlO^PUBRUJ#P@kD&{$*dG}(n z*l}j$DGiAg^_wys`W1n<9HK<{%G{Gh*ZwCL*F^a07ZJD)|Md9QLuf3FbYb5DncdJT z!;FfXoeO4A;2D9Tj1lDWfH4XRYRD6Vn;B>-@ayL=gotMl9D??wcOn!t&ky>wSL;g<77x{Tq!-N5+gEo zc>>=_w*ACFA6swj$4BO46?x&p^*m*Ft2K)DS1ewHk)mx{MZX~=EU8HI`8f>&b<6sQ2XmpK}{@u-9YiGfJm9%wAKr2476jFdW#(mnGCkx zpwc$FnaI)Klg+SEcbw1v#jOhwb1ZD!y3i>?-)IPA2hdT1;*x_y*ATLspw9#W3p+yY z!43LC7(IY&0C7)1wZaRwO9KR)gI$gz`C3|x8YvC=_3NahVvn$pC!b>e?(#lJsHBm@ zr?ZEjf4#5%{J}yM>iS#6KBa-_%SMk|+sTha!|}*p-Ecx$2TE5}2{R z{bV{N<0^5?!=WQ3KOHizQ|%=q6{)H*qFLnL$j{HqXI)ik9e=u<&e=?yijz9bL>%3qqNYnrdzVfr?1+plKE(tZ(x7;q@w05UR`7Ma6J2q35}i7&yga@A1lOp z?`%|(IQPDpNvm;?pRf-|-Ny(}Y+PrM7*us0`c*N@7Ol)S$|o5jOzMYLvrfv}+ZsU^ zxbMgDdh@Or?e_b;-17QLzH=GoPd>^)NMcr1wmuP`>*jhf+mg%g$IRw^^YEp}Q;eIT zcSs%#R;{$7P^j&9bIKqP(dLz%n*IrUx&mA;n{N)m>(XfN6 z`K{NE9s@^^tNi6NU;SK4#{6n@+L38fbQf9zpFAA_!B$OT{MPr0q$fO5A}s<%(W)^% z`cW)d>vnDQvDx8+`eF6=uDU&=$Hg4Mwj2+Y)F{TZ9WZ?}nOJa(ysV2AtyPd>{Sh`{ zON`Mlo$-504xH!no)k7t+15j^AD<@YHEwSzRFm`${~Y(T+%atuT+g~nqEdQ*?Lv|t zG*u{J+p62(#@PHg&MH~G?bce`#Y2OyB{_wed9j3-WNE|}ae0RZE-&8^Q0@*<&yKkn z(hi9+L8>WTSch+;tGlzh2x^v+{Z6HAi{%#3f+u%wmk)3CwztnrT*%7Ca|%Qf7BCX3 zrx^aMVRR`=EFZhdDq!1cYb>3}x}HunMs(XQDWP8M8b-tS1m?69q9(_XQjYwJ4u zQ@aPMOox5%kHyn*#y+Qiaj(qvW@_5_V|6K=jIwJ_&I!9@xwcs*r1QG*u|fvpAMv=O z7Ei>vkd6i{|jy*w9^4 zt6keG?n`)HM}vz3r~3I$`>z=d?TgIHcCsSfht;kJqlJ?NhWZXINlsC(WV#O1id5BP z^N*hriSo5bZQ{PdCSG7UPjPxEoOdn?P z6Z7~=f!i|4CcCn#{YAGX$~}(0wtELkw_FzHkX2s~;e4?EWXSBclEjtygMQC@&V{2W zRl`E?=|%aTXx5b}-vG{nYlRfON8OzFk4eQW#;g1>w>OuGpKxnAsr*o6-wagBQuk?l zJg>ssiH^Fh{JwlG{#E|AioCD&T9Bo_;+hm*adhf)+^QRQ8|hp1;>~L>(~_7y=KM7o z-%s(?t-Wu`|lYlUGfdStlyjJj3Q(Dd(PbdAvqvipt=c#4uZI zQKDBTXTy7|Th08zn|l_^th&3bX2TrGcybz*IhJdAiUH5Q$)b5I$zWpKL^wE<^TWa6 zSXoQy`NeivDCdaZ=>z@XWj%ch%XMM%7hQRKgISH$Ye)|jjYHW>S*10E8RU}f6NmAp z+)Z$9SiN$1mc)9KHJ9{;sJ+ocWbEe_YkEt8|4+89jE)GVijC#qd}71Jiq$VLu(+7PZRhCSB>b zEcmZvj23BF>>}^0X3WyB6^}3Zo#d4*8h9v8aOL;@$TUCy98JW$6`!{yIJPmV9sXH| zP@SJ4aCA@!D?t`t$3*cWB+;c|UA3iV)5&!+GN%H!Q=zWBlBKYM;MQxj+C)ErhwYt# zN6`*}6J}KhZWqh}?g67t@wY161vm9Bm+OS%a1{3!DJY*}QFQUH9yeVKB42C^&t05F zA9;DLT%4I+$l;yVQJp7ktST^7D5;9sr7(j`5jqt9FB0~xq$`OKW%rq*w` zm{tp3bi1rF+YSVH-s6oQ7sp;j_Pn=rLUa((NBK>hZ7WSMZR)(&4DXHghv*YyGQLk< zVYLhj#fc`keYr74j?*5|(v|5gCd1vYR~~W^61y6_DiF?C&b!HNBPRT7WKZF{-}2qn za^4&jSu?rA03)uN{Kf7UYIoC^Qp%skJaJJQJTOPqi9*ejPq)tJm|ni5yms%0iI&ah zaXWQdrMtYoR;So@)o4+eQAXHJ@f0?9@bi$v_)`=U2aza|)ot6IO@zwuFY%sqGX|hv zKi>JOP<>B#%L~%RE*RJNPpxboo|hjLpO^brTy)>llp_~7{94yjFI8x4$6~&ak~Jw{ zEi1$=`-53o_NY>ADKai+AKhJ(Q`<&JbkzA;(y09p_sh}-u0o>GBTlq!2|e`~>N5Q_ z_bU`5XcDL#Dg4<;kkn1Nl&-M4<%A>?e|d-bO+~DfrRmv)OT^24jR4Ey_$ORkJ?s9p z=99-+JQx$*ew4?OB@FsU4f)(D$@BV0Npe1uc@^oNuH)IC z-V>~tx;u^yBZdC@bwiS4%ZY!%;KZV(P;RT0^2gT*&pVWA*^gFTGYnGnmtKdhGI9lm zY4$P;_S4)r^SQGs;r8UiOiu$7(d)ae9ytSPVnSUx^$)R9W1hQ6|)s|ubm4iGZVb6=u4G9M9e}= zYa);i9uIgq|lo$>5aX7>tSKQteHO<1Ny!AL}~PZbd;Bkom0bO8M_4d z1-t#bnk${WWt$a)$d1baY)gyL= zJg@!O@9deiy{*?ZjhL-)-|lm{rxQe8u2hNYUS)WAp0yX~=Lx^O@SaV0wVqQQrJf1z z7$07!+#Wok#$vB2!?V)ttW;GD(G|EC!}EoHdbH`8mT1b*O%y%8ciHVrExS*3H4C{E zsUPZ{yHa_cO;>oe3JE+lL1)XDIO*j-`0f*QacMeW|8%r&64y_-WBYRbV}9&W$UDV+hwz`~A&C#u0;Mb*|KaLzJNQ zpxY0ZUa9$X-R*T@d@tkU;dg{g^@J17`}t#~Z{*G+3lV1W6dRHrw}ZIl`aF-9`n)j5 zGp%>do<*d1@sDR}2zwu>dNdz4eip&4r9vwbK0afKFg=0)dRrAAS~+{vznS>N!b%Vo zCtPkPtjgHG%&XU2SpL@XCrJjRhVDhL>UU9F{1$%lo?_1JpMu7xgSBfvS=kag9eet9 zZwi%8df2~l6}fK1{DT9+%S^@iy9}) zNVq`+qQ?f-6zH_sbh&&MEjAT{-3M#A%jTnm*)c)# zWviDndW>b6dSxz)JmpdNzUMX`zZb$KGJRh)VAk;u*<&zh1E~-gAOX_@dLecoph6@# z=w0;LVMm70Ie>4QlLe3yV1@(^EDLNZKrIUs67ZdY&C2j!)Ir~Q5!dIq1Fy+6YQ@nL zyASI#?Nof)`R!2@Q9PP>&9=p<iG0zT`bsn%pf^-bNFhJvA{tUxrJ#cHoR|T6LfJYGIB7N``=^?zWFlejhVqXuL*f9MC z3>AzQ!H;eP9w}Z>nEo3i?h?uwABHE|Jag05D}e^a2a8GXQ(4;T6+vdl&^1@kK`Zm1 zN|Kws-rQWf{4?^+YV(PZ-QV|GvI;?j2z>ni6d(NgR{)g(XciG8Qh54doDXCu76d5T z2&VdA1A=iIFtl`m_6pw&{!EVr=*k>mb7W!Dg~g@Ozhikp9n0~U9ZFQ##4=hlDmYepa$xL_{|{xTjO&^Lh>f*Zl(L`-sxK>7rC3@D%gamA?*%6kK# zU$X(41wkU@H3Fwc`oC@yjPzCNO#5WrA9Q+7$lExP4NbzRTI^pnb4^qW+6L#s(y`oH zLf<`ovtfK^;yP~8mtA}HwWHtPp@b^RR`hSb=Rd#IVaE;IGtdpd=8y|`nTEW2K%0Q4 z94z;sS3(?7@Sr2q?|N*YR|60q7$5;H1BzrGR(<_pRjjD_EZnKiJn!&Jg%m8GU#XrC zqFZ@FyLF8JRr9myRM-D$5%88CRhmOsX4pE+<@A;|D(I!;Pm z;ocXOVC3QTu6P^)|At11wJIs`LTV(&2Wd88q2Cxwin6ceN)ZfZb<3K@7VFaM=6=j6 z;f*v>;CImp+Z0WYn-Rl|kXY;1cwnx+i(D-=^;5k3o{mN3mF-li0P=jdp)rAld)?ny z75A^JQpsmgAaSI=T&qVra9dUpOk=oCCSAL(fb%9P1!Lkx|KoTI4nxTy=O9|mWcH|S zpLVqNgxHqU_Ox4Z->HgKC*+EsdH0ezIQH}Bw{4m>yV&EBT1doBtxiTfK`TYWL3ebTIE`h3F8|3V{Q|0&*B=#`yRhY+np zIXW-H*PNzGFCWJr`vw>(a-~w~MquKjKF%V`)1o4HXZ_p(!?7Uqak%)!SH@ZX*sVT~ z*1Dt*s20Z^m~VF@AI2#AdMfW3k%=E8`8x^GuRX5Si5ck=Sh4)<$v$*z`t*wj-Hx>+ zs+L?b=fH=RZGG7=il-k{%p1$nrnUF4QxkmOon?{cpgF`{u^KiP;5MIaRULJpN#hn1 zm__g4$#wA#Tcc`x$r(<`%=P5G0R#46fJqWXV7@j(U`oa=F&=MmwM601yTsJ{R@&F= z#ww#voYb)m8b6yiIeylz{?&I9G!;14X*_+S=&5b*J7#YGS<34sw4Pi6$*QI*`iYuP zsPoD0T4}NOvap$2Djf7|r16T>JfI}FZkWK`I~m98u`%{`hW*0Eh}>bjqUSnin6#^E zxkUa__kNg$>4D~gW5_;%XhFim1t!;9>SeYw9we%I9^7wezh}1D3g*9=@JUJ@K8@zA z6lc;_EbUEI$hDKHyU3GEA?Fr)ts`{Ow00Ovu9UQTHq~K6-Xz-iO6ZDg1ab0(52wt9 z$9DM92$gS*oEL@^@8TD{E$oM#6h9g`yQU-;5q{j$3k)~CtWVnLJDX6D92gR);0Rf{eWhX zNGG(f4I4@NRn-%7_Xdgm8e~rw6Gij4EQbaIJgIohb%uA`%Boa8jz5{d>|{P3UMHc- z@>cHo(d0*IimQe)7rM$){4adwUwaciciB4nl@h&uv)lO_Bj`1OqwbvLGs z#!-PdX^N}vNS0{rmi}OG+#tnQYd&#xI-{#kx(kuH zc@yHluP)?W(%PJ@KCIxMdC#aaws;oC{&l*8{o$8}WGbiA53?CzruqljVTPa7?NkLf zf5v{HnsxY;%R}SRb)#;?eF-bcbv(GNEwHVE_g7S$=iqdPM|Us90iXOYbrm|~?^CMi z>h)(!V-soN79;GGn{pznVF`uOt+g*j%_9$2l-K9JXy+@g$6FZogg4yR>LvL`CUkpx ze|$7?FC&-j{>>fX@R0o21%rwvctr&%e+D1sjom+M?9-E9t*oJSKifA%QL z6mY&pk$mi-yu&O!MJhDaWO2zeOr3=!>!N?cb^LYb^1DORPq&yP7mAE!qeRqQzP&K1 z-Iqst{qmULbx8lAQfnLS{`Ud2+8t^0=&N*k#7e*B)k?zM-2_SMx<9n`3_Z4rbro9P z6l5=aFF@5Bys;L0?ZlPLWq37oA;+*u+*2{Jt()c}8r}%zav=(Rv;j@Xe!y z^K8{l*Zd5}QynX*cSeMC0JmIt!~G?a%vOuBu;Z52RHYVw^8V)TorXN8C1a&>HrkEp zx4S0dkvGKcv-?_I2v>-kgDE>|Bbr*?dOz(8`=)_SjxsK;w=8XZe1o*|!wOZpQG55X zXlTs6bM3#9NC<5%@}FT`x|B%$j~Yo3FhJL+5Asfsr2|P4YFq$ffLzJ|flfmdG_bG* z?l3#}G{Geg(g?7~fX5d2S_oArt71qY5#Yj`9otc6P*^Bi(ay22U)VMi9S%JTWfH(9 z_xbwD$x?1NexRifCE!GYfoa~{S3c(hk4Yw4(>CqWbUOW_+p)1Y&(%__NN<(*3@rj( z;*Xvi7r3(PL=k6(FV!@L*}r{v#;-|*(6wQIpkp?J0`8yoD!`=y`wzmnsSnU$P@F>? z08nK)K*Irbvn~i;If0W2z6mfFgGUGi2;j^GMJYhx*}w^c(~U`hz$t^z?Q3ry#W(L) z@4T{!`|!?)GajrJQP^6NYG>XgemAje$-YDwP%Spxc3DdGt^DL07Y)MZ2NhrA6^i^w z;`m3<=IkHbWqACpRy3eESL=xEu;)h3@cX~0-dWK4=)hMDgP(s52L8Mk0I>>iGZ8>X z(D^_F2UODlQ3kOlTrwW;Ik7?z1pERF!Q2N{1n?ICZW*EzKurOQcn;Q3@UnP=l@A63 z-W9v}%dI#4b~$~Wq6I8i7wLjJVlz{U#LK?=?N|zb`y#p`MV|Jdb-_3_vh!6@%l*!3 zEyP7KYah=0`(WUY)hnR9F#r++xVAy22M!Tlkg_05r@&o-`wbiupwS8{;b9SCc9Ec zwIo_ZV?NFwTK13PU%}-wBEc6)HR_@Gv}Cerl7l{ki(a^yRo(kjZ0MF=Hp6PgZ^XpR zYn)buv*cbZRpcP2=Awd8Pq1+$@1t1v@ zsN8{Z1u!-MZt_5ufQ|Pp41cgHOg`lGRT1yNyD)IyA#FZ$JocH1_6|d*TwJG-@RXrl zVP$y~<1C;>Z0?Zk8sl~m9K9nm%bFF=!hivrCmAepie}JPVet(^3k%~9M?KBfqKv? zIN+*+FY#1di|*Xy;q%0a7shKeMdhZq+U6CV^ zda^sAKN+o>nwIpcJg6v9lP9ZruCpMbu;+%RTd(D35~YQ!Q(t1L7bzJS#K(P#1X{JP ziw2Xw>PGn=E^)O>J|^bU$XhO*`$3QB5-CY_iTz*FY8|PbFD>f$UK7j>`yAfR>%mvy zZ9Fr>yri|aBJKCQp;~KzvG(2#4#SRH1!{?&$HS^VpU1g=vj3VtNzG5{t)}3X8bu>b zDzqri(0QZDIZG-yj&{@a#<(#%&&@ZZjcp-kmR7NvbVDyx%N;$G-FarpA3VpnPVZAR z(k?M2fdCV;w@EM|{Y7Wc6gSQOd&0(_pEg!)}5BO?dA+xBW93Wjtkq zw26wwDEG!&*5CWzzhP8e^wfVzZ8Jrv26V0=BfChwrW75^)6G2C;s)j0C@^VXkQ%2#ewa*QD7h?U$ScB;B0kQJIF zcxVv0R;&#i9npPiE(D#CKxuo1;uoVlg3c)Lp6m7ZFPpSWSN@02$Z`d2Ty_XLqc*?9 z#D078U+)^akY4M*(;5H#cz`bh;UeI<-~_M(AUO3v&!q?KQJ`^v(FOP_FzW>8A=s_~ z$BL*Nz;X+Y9+;YehlGa}Y+R8jzgc3b-t;?f2ydFG98aLF4Tql-8xQ!;-kj*EAX~(} z6Ks~y@N{&aBTv5GT~`vj^10>c5up%`oTXB}yx~bvpaFjV$>9!0 zHNfiwAP(T{P(}gK56qPSiQwV_MIAd(!oUmxZau_PMC^YV%CHoPN2eaJ%6t>%*Q?zl%0P6BjEK)+8WFLCR8oT2PmPS4?+Q8jl5rbTfrjd8)&&!&mtGE8Wz#aXciQ}Hxt2hM z^PI9Ed$*C8TKbigGjCG0ihntajLRAG49(lcr)nNgw2y1C>ufL4h37TT7KT0eh!_5@ zyiG?(%ZB0!Qb=jnmx`Mms&kzR`}q#9#|fv;^xG|VUlBQ768Q4m6pN}^h_@DUR_Ms_ z-V`?e^^~a32~ht1bo}$D!~l^?1&0AVEWnWhcp8{JL3s;jCeRglp%?(Ck^vjMX#qJ1 zC5<6GGB7U(o-YVGfp@$a@>l+l+wm116tVYyC__7o>V@>yvtzNr2L~U^6E2~=jvS?| zbuUX0Z_eW#OHtstTrSl9vl0(C0b6?8*epZ(TQLka5aeYXY42Rpd#!MC%i zuY>C{rwdOB2px%Y1-A<}9#K59A>GI=3jDg-r}^Y=+Cye~!|od#ziZIUj^Upo@D=`{ z{1|ZI2rL8`cl3bE19cfRNWgx9E`S9F)i6W{h$pO}xPZ(H77RG-!1M&Cy&f;5s(~Jv z!y&kx2$oaLu$=PxhSqWYD?&LRY}YyXY~W?@7d0y}lSe6+YfaqNBL_WCijF7csv7=q*9A-sY@`tGbT;x-ZB?>iTYq-H+=oK zSloB-?hi!r#D98y{`}=_1m+j0IidDv15zCXvLK8y038KDD+1L6>|sa=f>#<3#0ap# zYK{e><$&kI&I`vJ7`Fkji*#A!_a;%Nu~pZIrB=)P*VjX_WlX}5AH){f#A!8wlDF_* zh_0gP@TXlV#3K0W?Qi(O$K6o8sGWDenx{#Wh@|`2KD7N#r#q#6m24rCygpsi>+fz= z_^SN9>3cgzFD#>mNrw4z?Mqtm6{JY+N}W@EUH%PaI`mewb%F2xPfu`IG3tVWA2yMk z+z8_g8<3e`p#``T@H`qJ#OJIWK(&GQJS?%;!S3}}XeZS3EV|&JAnK_=g60egSg-geOwF5ouFRn?Z@>FO z->7*U7#yNQ_ML?ekN*R0zg`#mBd1)kK9a2W#U1hVb}4Q{?_(XG7RZ@~6~@^cIF>Q9 zU`KN^zDhb}yb!QLyq}RRqGkV!%_Lk|1TFw90=&GShiB0@Lga|TrcWQhHHa5B2OLvi z+y!19f-en`F$j(k97h1@0z0yx zMSNztr4jK$<4vJ>cqO^mDYGP~^KM(gm?UrtRXz_JfK=01o*wDt$tWp_T0um2Q z>V!Z2UbwS~pxs1l2-p7Oy8rQe2tWg{OGiA-+$<~r$3tXta>Ky|fskCf29U!F)&bbV z0pAMNf-oU4fL;~;--cigfTLND6_8dIs3KqnIwtyzt>VWK)ZDU}yEQ zet@(MaSoxiA{XF8KB>Ra;DYFYZ%GanShGeIBR+7UtjfX57@AG8D%y|?vciT|=cTxHUEltNb zoi9DlcmB3f;KXf$e`3)1v6ZOW@x)g7}Qh^Nbo;9B3@4?j-gKA8`R;BF}_ zN2@!ctKa+f>FKTG9n}0+%{=RZ=s}H=5;wXCZ5wAGSVf%I&L+K;c0j?;H$HACaGTwJjtIJBtGnzBL z(;OiF!YS9O?daBee=YRaTP;Uclad}A^T3IjTX(+L6h?jjbS+egBlWSa@dJXg517iU z@9j0UQ=K)#y9(P?3a{ob;a}H}=J??6(2jjR(6Xr&r@&k8$2Cmg^XaMoQXuCW>ISBR zPO&0iPBRy;QSfH0NqXuETE-F2H_^YX#Hgs%u5MCH8Y+m{f47vR_PoYXg{nMivYa?< zP<-Fi?0al08m14A{#j^14sZX!8RH!Ujnv{fS0`vUQA~-KNbn2KaoIy?Ey6j|@3a;@NgSh6Y2H(nstcWq z8lU%@#AFZt6Zd)5sCSCt469S~&Q1=QrI8CQl2~+AtvO7sih?tr$owy^?+QF0$v4K_ z6<*qC%oDLp8nGzboJCeRyL3nqe%w&tm5fZ}HMA>u9-d+w-8l06%EKp*W!bl%x##xn zZp}?sRh1Lb|71Qay`%e*Tfgg3{yHwh!X2z`k6WyUd-$YMHlpV}iXG5Q-%nZVdXh#m zn!gpk{yt-Yp6d45P|th*I=-led3MY7p_s5b8^+Rltk zbGK~HR^D4PT3)3p8P67fzc@@XT`gGZ!CDnV@5sGU?07|3zvQq6ztTEAE^)ppShPyi zey727>aN}!@7%BAr;I-v0u`moHC2{<6HB* zkG4pwY3aL|>c&y8{nX;!)PJ!Nrk)*pCVg!;4_C@-`O@C;E7J12O<`S;vF@9n?}80B zhiDcO%^GC4>=X1lJH$Wpu_Loyt1P|!-RV3hENk@GJmn>}PvJQO-E5>+p4|h%>|O?T zwO~=^s37-pl-r&Lk9!zAdW9Z5qCpEym6gm99bJ(qCYV&_z#6Ql!u~|Haq7aEZ1&l5 zq@g5zlxSW3`CA;)b#(WR?kHKJ;(WQtpk15ixG_Gg_VVpWsGY-x&u=&1dV2#+Pv+-j zEBWx(=*R1AAA=b74r{qxw6n!of3Qv)enUP_I9?g_IAcij_?Y=d`)-Hoxlp^t%sBb+ z!d8k?s!i)7eMz!Zmad&!-+5-A^i{O@_^hq;FE^F?G+mA(RkKabO&q>uY|~*A#XyIO z!#5SY(s!LOJG`zJCw@e$t28`D-rV^h6o2u0Im<;1mUwM!-2%-zQ^L|cg_nFr)y9#D zEisAK?;f}-pLGs!tqrbm(;Z_l+o+d%KB7nU2rnH}%`S6#r)JuMe&De3AuuGFPYjn! ze}?wa{53OT!5cM!I5%$pNTw6sCO0kYD>YB6@MG7wxA8EQ$zOvKbYG%WW`b8c#|(Xl0rYWHJXB?}QrW3-nxi#KDNtun~jIN``qo+Gae9$dRJ@lk1pOwWr8hpI>o~6v$p*Zm8KABDWYpECWPX4wc8stro{d#eafZ_S;(+i;YH+Zf;be+%|JYWz6a3$5c>tMLQpP&`w}Ni zl}LgWqq$lDwR|H|;jRhk@!&-~4V5RMls|SXW`)l;m6p=RPoy!oy^%}9I6IY}+ zvtQ+>SxL4gV9}uF$Jiw6HF#T0y<*x5qhLmSiO2bD7JoNx|9L$El?UYefkYCFxiDDe zL@+HOk_<`{u*3p<1VWEk^f;g;g{>?Q&;Y0l)u$een<1hBjI)N2(bgyea6%hYJ~qCN zH;&4Hu=%#bJ{x}1x!>ushW`PV@T?7M(zhbj6>5vijaS1$Hx*0685N#w4@4>E$t+y| z`IIAt3;9)l#~mf+bO+fVoAhs#eB)Jo=o0zHp3L`kqxWwwC$0bPz3oS7oBy8C_U9K2 z)QS)gz>cs0gJcfqRuF6nDrPRA)5CN~pOq7&%q)m7D_A)Jj1cU=5Jdt1fs{ZPz8eyC zw?{%W3`)NSg=q1Wm&h1;)<^Rdqh9;w#i>i&4?>JnjzeO6`nfLCEwsJ7*)tbRIca^)z$Hu6H(g_ed?>{W~KVbSky zDrw9~yq}I7s2=HK-{oG#UZQp|+e01FQdz72Yd*NOXcqhm?%aPE4g=$Ippf$z!bq6g z0Kj*EVgxb?B6$J`yL!-@v$22&9`b#l1A*bX0W5YwObbF=c0e;hfSp6r?{OIlAP2tO zxXg}w*GT15_3Pm-S?$%^iC;4+61C%27a0neJPZta(kY6bnfb;Y{O%Sk>sDDf;d9Ht z&p(+XK*kuPaKQ%$+!e%CA##{Nzp1CI3%C(I=nB{kU=pqeczSM_F#y&XvbcV`x*;_M zR<-*7CY*J~zcx4P{J+zcb=B}s75ZA=_{8IgJNVmuucr|5t3>r{P(O-~Qsv{4 zi5?YlyfS_XJ6mJr8ZLYH#SXvU;Q#b@%#wnnWY7>Lg4Og7myv)Wg~Szr z2y)_Giv@0 zevP!ONFi}65{hx#t^(FuTGg_Ro@$x52i2C@Ay4z`h?ns8j5$ts?|d@}aU#GzW0$^i zuaea(WwoS5MPa4frrtTQ|2nyh#5}>*PIg8b4vFxo$oQvOm-OYOLtICW*1j6GZB)w-tBXD0e#eyS_N3`2oZIN2vl^Jz;w*{G5~Xp*0rE1F4p zk4Q!~Fg?hAM3Vn1XNWbuEyHm@gfIs=cW6oNZarN(-_y0ClDSt-QaB1hxc784pYt=x zz7Dt{?UZF@XZnMm%~7WGE@wc5m?2j3b?K}gah)2cvSCTXj;HEB$_sP?Pp_$x7CmTn zEJI81!5%ZfuM+1lREtRqswR^&Px(%t(kIlWoEH3@i|K0=A&H2r?YL^i+}Y-WWg*^H zPj355{M!u+F*7$_2echFXy2B)DTTqMj?siJ7;Io)X^gkXIo-DRApKS%yXj580!y@f zPdQ1Cd#Xa~B==>`awz2FT_dlCly}PhGKzdT`isQM{OpGXiEG*yYLB~k>zsA57m`cf zLhhjo%MY9__Q;o*FrD_gM}`LD@^NzGmk%c@GL`vL=-qf-F7OOWr;}z@$j`L&+~AdHxnma4mY+rE6m=c2j9Qpb8AnWr({!emQLwvk_y>Y>GWLs$ftRfcldpzO& zC%&&gPrTka?jT;E@u<5JCFhW{jp2r8hw@Il?TWX}g?$!D(Lm1JVXj`?dt|AxPhv+> zxLGb2_N>wIDoI0DPxNN48E~2pxmDi2#x6Qd{iRVk>QuF0?9-TBkBUrSz8jmFWmSJI zVJ9kP4QJ5c&zi*T*0Ewk#Ku7m?e^`CZT4 z=4Li|iX$ZCXf`{L?E+pO*_LgX#xky*O7U+zcH!HyFmHHsFcM z+k+gxN2O1^$)lsGYg6aDd96&-6mzCG3x5jj#~9P@?G@{`9rc>;;Q2Vx-5$9jQJj@h zYnF66Rooj~E`v9EB59)TF1XI)SNrUCOF*zjqoarn({LZH@9oDN@y8vvO^pedt)6=k zV_DPW7;C9wi`wNWv3_`?wEjI{gnYNfwLi^iggSxUNz!nSgxEOfgt(q)L0 zShAk=R8Ot+2AX`XD5_A{8*H+D~g75H=losqPu8uY{(Kn?>kBS61?&tm8JMqBvD9b(ntEc1(!`p$N*K}keT}2`p0E` z2knEkqM0#zr_K7Qh50b?&=_T*$GD5O<(5d-^7#&le4FS{Vzq8z*p9Ya1QG~~WBdA$ zHzniD%nRO9>wM?AJEn}b;2AEkJ{gIkKK->1e|xXx1A9if=FPgFgMk6(B4;Qi4d#(7 z1ZRdqF?K%6#5AFnQTkiTZbA%4u|!$ywS{6%+j%?w=&RHMS#AO%5oXvt{8ye7ea&TX zPpIR-dwP1r$o-3xo1W3{WT$IR-Qm7NMgq~$$e0x;-J@>IR-u`r{na1ItS6PK`c}X4 zYlNlK$JH#X9Jn6vTXSILKc!0AsT49n*0|Ywt&5oEV+PXM$!R$C+4JTUctYm3mFVu7 zySsUX_~Xsj#8jOWT$)zISeJ5J!F!g&HJsupT(ZsQdZ+XI6f85pfQTSzHxp2)5b+t!q3gJ3v=bOq>d$J?2=zyuAAYkPkFDq>Uf=Y z3tDwr)7ceLskuiwPpvb!^;K7QixuqIx-1y>1ce{>REUl8O+K;;md!OD>DlV}o@e~- z;(zh>7EoDcZNE4jQX+yNDJclj@z5biNP~1f@E{UOx1<6}DF}jq0uo9pEz$xKqNsF8 zhja-d>bY(_-}k=rpR@kQZ{D@eti`Nx)~q$$_rCYu*LD5sy!ZTennMKziEv})IXlzn zXf`o2+S>NMa^^*Wc#iGk+}|<9@%_5*4C}kABF7R}SFk&GRF~@Z4Xh2;u(kCkrtMC= z4!R%w?A*9v+eOn482({^ygQfjC0=d}!xPEy5Xul{=ChG-aGND;qG$n*k!WzjrdFGC*9S1 z!l|MjHb1mAG5#Lnv>#9XGQ4S(Cq7}L7Fe>WoM=iJneygE*}JFJ_b@nnc#-jIrsiqC&$2pln?dWnRUBqjk4R^KSwmG zGDm+b2dwpN#q!7Gj_r&k2jF0Gx6aCun=a#6}vm0M8sX4G6H$!?y z=Kk#U747e+<^X92(+&B$ko5B`{j5_<4EC`xgH+$CIh5`PHT7yKYhT*Io6GLtAaldJ z;9${amvZwg1LO9m_0QwqH?hY98gm})_c{L}aXB}=Qi#9QfN%7nETPQ7)h0RD&%2O7_o7FjvHkea;i}(H&t=h3#}f{X{lZi0 z181-<9yWg1x|*A*eU3l-R=vEBHg4^G)hC$jh)b2I=4)owyb*b=_ZoG1F0pYrsg35w ztUV))34fpF`{kh#bD_}OWNYX1%#OC!lZIY1KBh^X>+26&Lk~Y^Ra4q_fB(raUpwa! zA;BzV=qnmzQhm5}gD}0eQ*Lt7<>wh6w~llwt4B0yVnZ3^ZZrvrPBPI zsn5Ma=NxP6m)u1x@N4r(DY^2~E}e@Q3+oEkzjqsdOl-9Q$|STE5Y7zjNkpA12r=6N z&~`xKEdq@a01<#kL--^@F9TOT@Z*Pp3^-LnH4Yt>y-QCg0O|YY`4yzMnch?-%IuO+o7>D%|1g!2HWbgd6$UFiYF$dB?|4Da`0mo{HzyszN zgope_7{LV@eCPl*1OHI){|3`%XnR3lDUPrXp!5dd3@{Z4o&?|-?hQzq16uhK9`SM6 z8EGOUv${*Xd&?oHtL4S$Z@dL{jx=Zk|2G3kb(1Y<4FlnJ-hJF+C)`-M=RD$%C zhBj6hiz-v(XW^ZFDVAbm@1&vOwFaX)H$EbQ(B{b;s~xk>3B}O+s;?wl7ZSg=%b>WvK0JShQ?JyeMkma9smCnMovy^*R4;#y)8*s0<0HxQ zO4TXvuNIh%j3p1yRz$X#`KJ#&`*>cQo9de5g85a~QNsC$uKf22rib+$%_Pl9pR&eq z#EOr1mQy^cqDZ%m%JPrj&(N#QQkZZ||LD;vtP*SUHNobs#vNS)?zd}^`O@kiMVzjA z-RiNKT)Bsi#*!{fx!KsAlx`n7NXMy`#Q5zJK5P2<^StR??%~qxEpGknY-#Zv_-(r+ zW*>u%-PyI1S;T1AXZJmx4Ey3(`Hfdoz3JVIAjJ_Z;81_ltXq#&Y_d5 zvElg-q3HO~7j|S7({$EnGA8mD&96^o5TSkJ1iS-}WfaL=Ota}&k{ak1y+JW>*|2#q zmU%|%Dxt(d+2Mov4x7?Sr)v%}PC;G2%<`E&&&`LrQsCTAbjiE%HtJpAew4jvOgUL* zaMW#@;Ht>3@4^9s8M^Zl{JJX9k1BQY;!VvPB)n`A?hTa|YiXV%+ApWY(1Zo9Fo{D$wmNTjSx@j|tk9cBu&){jBiMnCMw1GO>)3C7W z?Y>1}LATlc>=VW3wJTFC1m2Ced@NbY(KG5dee$*NKDhzGOJDQdYnKlXeibl}d5yo9 z;6cq$(D+%&?7b`;s@6*X@+qerlOZX=-4RoGT*i|0`<3rIt4g$-YBY) zu06~g%g^%jSj3^I=He1~&CldN`a|j$UZ-V)(u+;}dp~Q$oG#ie_9PpY=__BvileIE zeU_h{(e2O^{Kk6fplR}sNi;D-(E73SVR=4QKAtpl4F^MFvI5!~OSg7Csxj61$&F_? z2r;Y`&T_0T0`XcJMotR8)Aujg%_HIWxiW-tAM~B&GZ5RNxWV!Kb}`%6&gTxiw2O&h zsTjAp_cd;eN%Z$V7W*{STGIT`nFa;&@c`HKh6j4!d*kc28}%TrHn5~%HA8bUvgl)Q zf)~R&*qEZj4!FQVKL2+_Xv~GpQH;Uh8l(Vo-Xwl78(p)7Qk= zl00^rgj*)XRly5O9&P%BS<7b+csJIlhA8l{igR`Et)4O&DI#taF0a~Ym%X8MyZk#! z-K$|O@ybXirq`;UE60id3y$*7^@As~0uj_E?lJge2KjL&{SJKRdGyQaO7$>Tnc^>Z zs@vL=hU`sr%f+cd9CaX5fM?b%Aa^awV-V3Q?7qE`i5gMs+S>^B>ARLWN8@wwX25d zBC#?^8=AM{z3e&~1em4o1w$P_!3~jB0rNKu)zroX@#oHd}B4afc*-e?Fry`1}Jgl}hjdor#j?v^c5Kl8r*8CliXX9u`)PSM!uY1yqc{uc%hM3`#0 z=E|-!R?H7XE#5sL`GhVhABPzG6Ilb*<8v#asbz`$EUBt{G$Z1U-Cfefb@(2yUHlb0 zAIE*Zxe`MCT>azjhsUGqJefXvD&!6I;W?4-9ejABt$2d!DqW&~s=YR2s(xwQ!g4=O zMB2U1MOWWC+v{eaD8GZ&+eGiQFM(CTR<3GfqT6oi^zx@Kae5V2@{-F?ob|A?)*gS; zp_*A*Ie7Ceb8Pd%QTr0$?p$H8 zgWTwKo)pR~TEojf*RqoY-8DQ)m};leO*07k=B|&iOE&&+Ix5Lbd;%UIVxE5(^8it8 zVBRkb9`=AQ0R0Q1&`|bZ3oQVk6U47b2qVE15UvU1dJNz#0+8efL{DJFfk8TupfFxB z-3X@@p~D4M@FtaqJOy?SioN)h6%z~Tpw0-s^Dc9x-UONTkxW| zKg$*zv04>8d(vVh+zoeSTQryhcy3CMJ--xg5rQrA{YT)5#ByT#5c@ANCoUIC#dDoB zc#-kbt^SDa`0T@-Bh%R~c=UfTsQ#wJ}uQ!R&j%1PQ~uoutNjruq9%CZtY((7Z4I#dGNu`9%4;f4iB~=Q`gf z&33;cMel8D68aOkd%j;0bj{^kynBVP$^YK??%}-zhnH+8hKK6y8=`hbB1hvSBT9-e z-t#JG#h{DxH@J4>w=9S&zZakBPgm1T2~ALWK)Q4Fg=6?JlIczH7y3hW=88(?LM&ai zbWF=dRu9#aO!TT!Pxl^+y9P!aiYIp#2zb`VXQik4?oqEl**Lhw^nj49uVibhw6Vd_ zm|3rU=IWdjIe!FJhZ;?vuPZ-|<5c@<<(tP@kMdyIN^%bOEd61mLc+MpvkU^<`xzKYy=_RLn0Ff z+ssq2dQ!EM&?t$AOQ?h`pXOFG=u)R5qa znZ~X#4dP)u?`3X^&K)T8zvP!t8#wMVJpMD?%}0-Nt-WzWswH{d;u_Mt7)U+%h-jGp z%JutW=nGI}dtq?35d;S!ls)9zK}Z5vIRsHsKOBQ z2V6(E7j1kw z(wKdOq|YJG{)f5O(eGbzrC$8+)hpy`9=)E0u`z>pt^61I?13vUH{jcmZFAI@`dLb3t47PuYu zJ+;W-1gpui1V=t9pJC#3NnkwgMX=He^;yksZVb6}EyTWc%$sMg0DF%lJ5=n(#@RPS z5t~9Y#_kO2eFJ*mWT*}EMd}n$FB7g4))>@jZt2;%e&Hn_#Iw@7pqHC7&Gzkok4=~+ z4HEti=Kb-A2;{&(z6XN3fB-1BVe5fMI>^rjfDHj=Xplr${t05GTZ; zdPD4Yg{}B;b2*VEy}OwHKE2~bkFDv=o){SZy~E9HHb&uj7eAe?T?YaVKOe%5#Hu=+&cU8^a!$z?0p zQw~>e5!eL1=AQJ~gst6F@(L#daWbF#raQP!@c%5eanX@ExF~Q=cjz8w4EpYOaFAz}; zS|sY@_c-eaqTVc^z^BsQ<&_1%h2b;STW~!azR; zX)Wk-KuUI`Ed+rE%$|Uk4UsiyVc=hbcmXo)!S4@-ZlFy9E{QOb6$c8-HviOPED=^H ze(bA5TRvLniUX_WB4w$1A9Ih_YZ~U2@9PwnIaF|^EC?k_zwF(o+0tlO;>%y&#-HEOz(^NHGQ|;vJS1Bp zA`KK&sxVW9$_;EO&=3>>kwlQo35jtaPJ$?P&~iW;0_0GEjTnA&G$Jg64E1ytf^eZY z3K%K|3~q3U$E1zCQN3yLSW$PGpm3YvPRyGyOXz zF<-gC-$;T{85~k<;ZcE2 zmw?tye&rL}efBBwj|ws$w$2gG*))89=U=O`de8hq?(VQlS-Mx)&nF8<@(La1h%#h& z`q%aR^W7;SCTI)wln4~wKuLj)9Q45g0?=Y1X@8)jhLsiswms-;!NKw;Q zIP6o=)t)+PMTOr=q?FIBb4@s+#tpU9w7#5=2-nGu>rS)UYV9&Io;%-GHFP_dtd%;c z*O;12ta0Y?t?D=23FlAHT<9Kg3o|B_xiz=Z%{MX-aR%jTS?J^AqW|=RDS|5H=WFMO0HjwIec}7tKb$oNtaIU z{%+UO@ggBhd>!%%Z;^a@W`#3BBs?4sA3U?5e%6;eXI!Y0MbfXhR#mB4fFkZUSrFFF zizg$fe8QxMop+j=ppyE&x{u;+c=)@Q7bDGVcMJ zmD$Ow^jpcrCk51IE1wZpj(jQi5gJHq_8B!0eEd)+pQ)-CGnzqt^{k?cr2pB6D{tGI zt5XZq84r|i9;b-O1eSoWs}) z{UjZ4b&ql7+d=gtR+Sr~iKXKA_q96j)TvwY+z30@@x>?T?u`jGky`P9Dc7X$CRzu} z7cBc|yTW_#Y@My#7BjW-qyN?OaF2|G|Da+r^N@wkl|MxS zrcK!Q)lBSSJ{plutKEc;^fD|5MK_ece`~sz*OK$-Ntu7*a993U8WUR+hrPpoEqCv3 z=R4Oo-j3w9c~#vk9Vl57`A+j|eXyjtv>ffbK^cp>YIaeu6O&@5I)OtSQ6Yd{#fYj*PUZ`Hf>Untqmqq>}6wbaDJIUohP9oTJTHI!4L5Da!gv z!A~3)6o_gl$H&piRi&yThCKx^0iPM!A2uVnyEO>^S!x3h8 zEkURHUIr~63!94di@D{bPj56l3Eh2?86BF_?(3*_s^LD=(Gs6K=_yokzH`mb@B_yL zrB$0q^@o`EE$Zcp;R@)C8EO-*wfh6wazx2f7(%uo9*JkVmZn_H%f8>{tBbtMI?)5F zg7}AZKgpdEIr#j9TPQv*HuMD*qkD$Wr>BrpT%OuE@qxiH^HA%j#x36s@|leN$Paa; zj|S*cugs>>QL1^WoIH0rC$%8D%z^VKQ+e143Kh9%OYImg?l?)+Cs|&Ox?MuMXvfdp zVr(b|k?M-bD7lNO=`gxW9aQ zc21g^l9*xX+UpN(cjVvG`729(tIyUK9?Tiw%RVu4h9D_pQ?Sxhdl$bc{Lz|4ceBqM zmv)|mgp3tbfN0W{{ae#?4ymtwus?oCz&DF^y3t~ATgX%9;-db~#EeTNSGf50QldDS z%O51`{vg1jZ!r39{IVxVt|@$8R-%D+buFrwaup+8L$OEtGhZfu!~0z%A6j;a!h=o! zdH!wjjK^oKPrY-q3h14c;%Ho`=2d;UFj_Wm_CC5YM}+`ql4leb6S%@lH-#?co0=S0 zxh%+8^!c>)uQW=QvR$tsrW|AAFX*^cKD|ArvmTA|- zrmMJa_KrBbVl$tSrOj@sRW+j8k&&`p@X3h}GEM${Gpfjjx!+sB~Rl z-#Tjr4r*N$;*A@nBI4z{U)a{AqpmP*Q%K6S8FbMu^B;FERy(Y8&k)72*XT;G(&)MK z_Vq1_TDsNS2LjEf%~;Z0lx|-Pq?cJbb(W4MNxC$YT2@0Y;Vz$JiLqaaS&PF^YU~ee zsdBINvc&anpAnj|u&3L)S?Zo`uAUL?nrRm$ybZs%xn$n7(#q)xY9{UM<1xffMo zIUPN>z3qjNZ3A>}={vg@vi)_aYW@0$8ov7LF9&zm#`wOq1RE@T$?dHSF6foXz|*fz*WTS#N4CMboa&n;p{)}qa^p2T>@H)@nxbp&-^ z>vCkR-b;?8bUk*bLKSfoYuF~J>r+qK0A+98%b87aP zXQsSYFn(3@4aHD&k5l6#*?822S5M|Yev`bSK~sqT{WOZRW?lOQ*7wIueUff|ulv(Z zMf(^D6gG_fBVd@^7aJ(BZHRFxx>9P%jA!)KC@DhHPCHhx-f<&^be#FTxG>4 zo2u|CaeaBsc--fL8;<~5yN|Y~0kwy@)7st;skpG`QtGaS>c5Q_-16?$z}Ph16_<+p z=}IC^IN9PY{ja}mN{l|q)NG%n^hxI;5`U2BAp4;C`rv->fI_kFRKYB_eGXT=Cx!GQ zBcTs6{7$LAHh3R@e)P-yYMpCOqYTOQtl`HR6`%WS*6d@YdY^x?>`SBYAzsV3$b9r` z%zG)W!JLA@_T4h+ z=by%m&UQI+hA87E9O9XNufyB++osmQJlXcZnGP!-tdCybC|6(V-+digXg46cJ2zD7 zAv@PQcD>_mK`PFSq4kA4b1t@5J8ROmo+`vYE**UC40q9b*A$X_`EJfT&fYff@!bOg z<(Osqlbf0ghacY^^xkyMttd|2)Cv)s(ZpV15wBMEJBW9A=ldCZH#Df%H=gxbWHn3K ziD2JC`TR|9<3e+ZxjVwB;5Cx&Ll+B1;-jPg*JO#u%gH1 z6_g(@_U*#;VGJB)N@YQyQ>-m{V_^D6mQQAUC9uiKKLC}_soy@%xmDm^!$Yf^XHW? z@Q?w869b7ksBcAK&>@5d9}Pez#KCtO{5GJB1h0Al@Dqau4=CHfUq+HCLBRyn2|)pi zI20x5@|$WHa7usOoH?a5xxi^}@a!(revy-vN?CpPiKxC$&uCga2L+U$rm&K-a$0y= z3{AB#XPa<_7kl1dwG_Sab*Pi)?t2TaKA3AH8)A&&JTrMSH+H=VY;8rwOB zL7$ri=SPgWyzgUE$6!4W-;nUQJ`rE7c^H$IX-UZ4Qh8^}u z&bvLh$Jm132n_u|Qv!x7g2?z8eAFQx9%k-BV6G1u4M9-a17QdtIAM#JQ8FbMbO2vS z8i%l54F_rMzZ)4QA38KH%GkVe?7GY^{&9&{_ETO=jEei2Hk0iK>CJjA9B=C9US14) z6fqsS9_v|!_S5Wb^OB-;InS>6a^&jCN^QUFjVmmaYtr;jDRy3&~(te!x1_fp!Ir8tcT+&mVBTINkC0_UNz z-mR>=o@8gHQ+JP6Yk5~XR329ApEiPER0y6h5MB=u0#KX4*9epa$fyFoN@xo~Vh5H+ zXviG42L~f?fCH}-2p$Gk0Sssk#6`eLf=o$)R1u5@P_#JuwN`6+KK`oim10&jVarxSdJJG!KlZxSHypnyaI4I=o54 zVXZ1MV^r`;ES%hQs^pV?{e>c>H>Lbe=cW3CtQVrkLVNoR-Hbj7v0JffE*evGxRd&d z-x)(UD*u*XXc)DmBd_AGbBsS4512;uZFKizv`TCD_p8LBG+W+A3;j0BT z5vWKdkOWV#69TOwm?hc6z#1S{m`?(l3^@eg|1XZ9tPm{>02?67Xqa%=*}23ayhhSi z|KVd-GzN6z&JO}|_APSXUBGvvHqX4$#zspqU;3q%_M~`# z-*BT%e-5lp3#q0zuZ?qN2o~0p>@XT0H}xyJb#K;wH&!JSbTp+H58*$?5I}`xbKz}o zUy-bMU6Q$>a@!O8<=oz4$({L9XNSr!UL70pzsFj;KldtQ;d9u4pMM?ee}0xB_J-hv z2(UVQ2Oui~u^aF_Q2^4215LmlY-Rv|2X{oUk`lp)z>x+h(i%& zBfvKDE&PPZkEdp>q;Teyg6VJDRXxnGqg@_&c&#Pn^s{K3cz1y+C1<4wEgj0P7iuzR zVzxeP(eJe{?Va4n(&^mG!(AVhG5*fJe2k)+rdYyR%=F!DQA7X6X$hZMpLj!xvy?CM zPNE5vsD{|w_P38n2JffwGZ06mrhoeEXh={-d`uCL5DjDkL@oy!R%D0==oKW7+Y1Y$ zMZrA^@EME%Og16!1;O9o@&oF`YL6PV5?pBt{8rckMefD~5F3!5!xH&Q)<F_~%1%nz3n*$>tIs=n1Ytb5&038RZT>pc`}3tn!<7uSZgyxm!vQI@YbtjuwU^p_?6^X+bj1T#Zw2g0U+Q6D@dXsl5Jz*L4ACgKzYKph-@f)J?!cR2#AfOt?0 zjfQU<1$N71Z`A;mB*haruUxjtC?RW0dh_#7(Hx2fdW;cm5aq?PcizrUvzAZ9WCpYz z${Ls%oT)p58%@&x)iQ@V&l8Kd@{~jTqc4{=zoTh_yq|79%1nOU3LGns(-JBbx$#FF ztH{^aTLz+Q`M+&*r@0b}XX4m*Whl&=TRx;Zp7H)<$HLL6_n?H~a|FDCe<<69stht0#jyiEH)yei#3k(DDnL+jz}3Y7R)@dC+W;SJ5ZBuQh6$()+??QhYG;3B>nA|; z8jQ0k2+-}%o8^?+wLf6OPNJxv* zdYwt+vk89f6t`k!Z)$dH-=M!_h4Ozy#>#(V}pxBcK#U6pk`D|3z$}PJzQ+7>+hOIOV{13)sRx=v=J-xVaU65O%WIPF_!WHycCou`?BEzdSG(A~}# zfu9rk8mo06+V9@sfup1_x%74F$C`dTix$_`i>X-r6*U+#`H}D6+cOY55*GfiRr{as zd3)dniGgjQpdebn4zMQJ*Wd#PE(2l^ZH)%n1TaWMp@@SQ0baKttc8CMg+7$CUW4?bi!7pJSZ4>{DQ0jvj60^2RlnqI{`3O6Sub)14I=l2f`xYgNs1Z0H0!j zGzD4mKr{p{JQx9khF<~&R6{YK$p`~xY4Kad08NV+&haQV2KnQyx2}C#aDN+c5bEQc z(|iqk{MZTiPlbH!8Ug4~u>g0xb4437b*9EeRNS^gwQB8Mzbg9Y2z99+r&cjps<`iV z;gdInzfauAR4?Nkz*b3(etvGl$nOa6*pMRnKUC^}zS7WN*oXqg2!)*uVo?cRuL58& zfdYG1fHT0?7PR;P8-q!?9i*=T`47U$P@swz1c(;6{|I#q>;Vyj*Zt9?@Nb{W=9mlh zpWvY|D}Jqn4KpExxTKSlF%6w3ix(g3+dRcqj`1Fgz^}b7aQEyvN7d0djHpUegR3{u zWrKpoah=fHMr(qt0Y9`loA_{F_2s{v3Q3Tuh<>^83vXXRI^C;XIm2|a-zoN4#dAaJ znyhHjyBv-VTPTTBF;@p)PVMn3N_M<0IguDH`^DvWvGT!kuW$_cUzz@z-}+-$ZU5Y_15o=C3QOSrM|-o4mW`Il}Xqp~I(ZaNJz+ z4T+M`4T5mQ+qu{C(PF;$CNI92Q&rF{z>FC#wncbuZkO zqPK|L^B)tMBGSv|Klas_Z$>s?*8RRMS@?D4^jCr!I^tV*txjJNx|ir-5*L47TK)dp z)ES!-4TdtDoX@`z+;t^)99}P4)xh54#?>lYqqdl@_}qH=O^RzFxn%ptJLs&CpLQm3 zBH3GDs<4N?6GeOBl;W8H4v~B7)%gTj1wkCH^1R zKuAd|Chyv!<8v$55TD) z8I-yI#mpLxPDl9U)q8&1%|0Kabf1<#&3MBb@M_6ndkFiwjjWo6Lcfc5khrqT;q@8* z4s{QCueiM+a1FgS9HqhiQTdm)m(Bsfot>!%zHOyaEU|)*$DUjhiZu8%k)jjeXoUOd z=o7!uYF33fc`Y5&q*VJ-8r$%d@ zUNaU?(f&zZih$|pJCuxfY;-;Osqyd_tW0bx#tqT8;UG_;DC4oaduNja-EWv5wAYeg zf9ahYc}>y_ognMC)0g+>cUwPPb21UKM@L+SNHztDr5KIk1#AE_0L=S\x}fdm#m(DH(L5s>smz<~k^LTLBEZ4~$n z(D{LcPB#10akpGHTCRSLVWl%)aK=IwKK4YYu^u`S9?gN9E`5me^z{}rBLy3 z$k|4#Uy`Bo4SUPyv7YHKtYv<5vNK2QBIVExWfgc3^MCk>i-PqMG;6|8)1bg31LPu5 zu)`3?))qO`fhiANDll^(9}?zrV1Q{4!8kDGf~l7f_=bpb+#8LR|83{)du}d7p3Lm0 zd-}G=dD<0Q+BqowA&1G#^A_79hqO086u)PL zEDrm~P`UiL%jOuqyvClay`ja`u937dJM1*3Zk6?97+V$9ou2dYGXH|aJh#=$+K7$w zq!ytXBu(rQhGsnRMD`1(6Xq!$J`iQ5GiG^NNtc>V%oMRTy~$}I_g;xM3x9f+wT+R? z_>o9z_h6zId$YdB+0l-}+n4i1VjBBjTJ4#<8jQ5?)iiJS3J+!d_+9a0WWb~QC60XC z!$j_JC9Yq0pEmA?l-ctprJF`!*^`g*7N4f#d_%xw)>czGXtJ#NntkAQS&hGDtEHxo z>rY=Uo6C_pKZv7OYA?(%l~5{;cM7^fF&XTZ=V5pAKFnuOTV{-HiRIrq{-J-w zFghd5dTva5p&o5k&96LsS7Y_E>Mm=q$4YzM1!vZb0{e4@5~>`N!rW|3Zw-}*aOqE{ z-Defs{n0z&*dLU1iLBzkB= z2HiRt&YW$`ykCMMV7OTJ=EP3)VtN-Y`r1OmG&5896i<5a(%;d5V< z5KPaIk~uWb$jj0iHcua!(dxC_a#rQ7w0opP7SSj`7cLIdSkL zf_VYx>)>X9$p}$pK4s<%|{I!d6S&etmz_gFR>3y7ZL7_Bg1CbE>j{mFW_zN&=FYWmH~ z()WWO?^y>Py#6{)Qb5(Q{D6LSM=(H1Hi7!B8fx`ps-ZHP)a>VvqjhA|z`ytRb^P<2 z9!A%2sRM;o9O4mRy^u*RY-<>00#6Z$e#p=pjzbJYAb_wR!YyD71P};Bq5yh_5rhce zBj5^2PxBy-WKbm}yKhA~Zm~t4k;^IPxOU-%D|6v-ypWHp!smzL6D6G`W=(%bjjMg0 z>=%P|^M#*(vj0GC57?OvPwM`u4yeZ6mFZ&;8dm!c+{M{r_q6l{!4jq71fedaBQV2+S6Sjjf zJUp}jn1w;UGT8J%*afU01m1y;5mXg6=-Ad!N+biW%t8`-D4$|R=ZUaHL!9-R&@Ad4 zi(KwT;bY0v?GH;+-O{6uUax&3&wO}Aa@_Tkd6si0J+EENQB|3p-1A8umg}!o<)0s! z@IgUQiAYsZ2%;zi^K`g%(SRtxqzUjP7`Om!8deZy?V=b_3fPLiR)R#q)8`~7c2T@gcBPYha{Ld-R>l}3UnM1^xcY+3;y2Q{SQ_Ggb85Q0?9n$A^>uM zbs*w7ixvme78Di$d_l08EyypxHyG|~XoMhDLkJ@0p>IVdVivLgN2X2!!ql2xmv?>B6QQS&1V>>~Nvl45i}vl`A4YQ(UQqPOFjo1@^J?&}9kYaA z>19vsSM*~^XL9YNu{mOkuA2`g{9lMVsX5zE5dqrdU)J)^Z$3bHKz;>M4IzN>AukmC zFyYgKei7VQ5sDHB&Y+qT1XvRSRG=*cmti0Q*Z}kilpd4_Sqm{D#6$Y@>r?T7@?~v} z4*!^}%Zk)FQ+|dqiU@s3toQo-CRUzB3REq9rgg5AM`Vj=m4WS$hUy>9|;k0 zs7(chL_|d4h=s8?e7FDuAT9~8_yB+aFk~kH1SMn~NY<+c^UR~iEgQQ)o`5{=FX{R4 z^*q5GeINa6tQ0j%Ox^jtv-jnj4>|bocVkSxG2a>4ZVlHA9!R73w6On)F(ln@G_$5c zh`RlJVfY7eV>|MWJEMUPI6}Sz6%Q|Qc&J{y_CxBbc(KUFZ;9cuKFRXm58ppuVLKFn zb07-?z7@Ej!Uhz9>jW)~5`k?B;i9l%LD?^21NJ`f2O+T46a$F^8V!$(L_XQ+3l*rA z3sjX|5*B%k_vC>YEjv9O9W5ae&e73MqREAH61WAyfbV?*_H?2!0@{YkdO z+mv&5m-g?H@g>LY<&cK0IuPn`bK8q)jQOu}i#qg9<(AQKX|%Jxq`D-|*pD-<7-EnfkiV zYSUE6d`F-0Slm+9BDs5CGy!L3XT~5^FPAOIE^v_#o#*z>bHGBE+3w-=Imgv6%lwCB zpMFJ|46mjR3sZd#ZW+2^E+{!J=x_CT5;b?&yvA6oM=h4p=4;2OovLLiTP_#$#^lkY zL$No_hr=Ez5!@z8R6!V1>Ns&+CS?eH58?7Y-fnbx*BxKFUArBzw0mM#yj5yU6FJ4;0|fx7l4URCQ45^`~R^N;B@_&nBmeJZVSf9}-X9^d$> z;qA&s!Pa+`6z0KM%=`u8IdQ>~HRoNfhep;C%4=k?#a_v;UKmEvClz zXCx?$Vl_3@TN5rE!>Obg_OeSDsj`%uV#ZC|Bzx&d#=N2HPRSUwto6`gjrT42IZOXF zM%OQ+MV8kunc2Xh$A9#>s-x+G5#Ib#_aq(ix@}uv&xQ%YjWcn}s zpAuW52K z*gx4h1zJ8{k z{K)K})YC!+^BN?Qm6&y5C;b<8AGyr*{%>H)Q|Hk-(lh;)ob$)aY=;aV0bqi|A1W~z zvK%cS;0yK$3J2IV@Re*(Ft7%@L0DlZY0wfvP|bnw34jb@qW^Am^zAn=g%}d42ofYc+|is*xIOay#8v*)tCPP+OCLB>(*A==1%XkaX$5oyI$EF@fn^1h)W9(X zlu;PkTp*tT?MOrbZbJYb!0QPVxA62rV!*WnR{@l$PKOJNAn8gQwLql1>fL8kU2=S+ z=!V4L$o_-)DJ6EV7)o?Wka0h3Bm3$Q5XzVcvL5x>7}Vp9H>G;ha*tM;8+ z%CZe&8_AKEJ`LmA+;}ZfT76|NGbo>9J@v-5AF^AKkA5L_MoY6`*L(PauKs0M`NwT2 zz|ufaf=v%q1h`-z(eR?bdvI_IfdQs1^j&b7!_5uw2)uK!j|YYiBoPP!$OCC|{})oa z&HqbMIzi%zp}&*T|F|fGSAj(M!q@~1IYE>RrzO-XklqWlUSK=JbpSq{&>F#Y0FjDt zOTbVCXh7iL0Hi-)YyX>M*H`}d^kY?m8UEL61eV`t@unW(nQn8kT6paVb)C0yC6@cH zK6F0c&Vuu12veS4VN^d}zsHer|~vIB!LOZaB}js3Yx zq1$15FKt>fNWFJ^OX}I2G4~5_#EQB-ho0{p{Fu*<>nkpd|_^VXUan6^vWoy(81eK94 zdaGX}Yx~Ljo2A|SF)9jK&A+m=|NLkKuQM2K0aXnx3g84lGw@d6^annVAOQ2W(BFs& z!z54~vfV@wgHj1d$bo}Y9R2``b7A}5=a73ziq{PGUA$%kKisvd3~=X^RGLOT!-A&9 zcN7k}Xs4sAK1OQLKeH*(=}Eqs!R5F%z;HwVMV(4QGAd+>>{tV@aaU^0m9f%}o}2mP z*V5Wz>$58v4WniH4W}{ZZ-+NN96aJCp2tcX_zy07gl+}a|G>fpHwdtE69C9k5Qb!6 zhyZLQQJ^s)qe1B9z~&BS@ennP*p-3X2uM#L3e#RDzVj}yaFsmV@SNYCAb)>6y!DaX z+zSmt3j^&BBooV_#3zX|`)@0pJLkPxqo%2rGH>Wjw;<>&9`kX|2v_+q8!N8$B5_(s z#PAITiD4;wlb)Inyxf-r^oC{@_uW4}!0MNieWDr6AgSiRzWHqBUh$p2H+6H4=wa>6 zn=VR%el5)}#Wp2M7Qg9y@#Gv(lkr8uF~2)9Rbn&umMgw@5Hq$$CuNfHDSe9g`eXOt zXt-@2QEgQQU&lY3?IW{MXrDlsBm(ZNkf{T+4FQN?LrDOMPZ);&c0lq&#%z$30jHmx z5E!+9ONb~y^n!w7B0~ROA5F#mZt;)mqgyAk6up%!S;X0gFtr$&u$|C?Idgs0VK&DgB)Rka3lbS6Y3_|17av} z+yH+Oao8;2ZifM&Bk1;XY$$#a0&57i#|$lz@ZtU=PM0ToFBiqL@~e-NrWri8&aDj^ z;WERPyzI_jID?qMty6q?Hb!Ju+jV*m!=++sxX$Lh{4`(h?D4F55{7I^b&AcY-J>lq zjWP8zgY`^@pMNlZgP3Wk{J=T~Jd@yJf;=c;sC^)Y8itBu0%9=C0s0kGgAxLQFf0Zocm+T^Zr&Q8sAy;{ZY5oE}gusNOyDp z`2{^??3#rUp?&Y)b^YhA8*KLQjQ?;}gJkl;#sv&f941f_Kp%la4Zd4A!~{f+LT>?k zLL*t8F#CsV3Wdn05V{Tq;$7hFa3plN$b+efPbc0Ndxk>aTQSVRcrS^wRU4T1>jiz~ zySoFaOB271_OXQO&^>jeYG2$(IShHd6()kkS#e4l0FqGKjc1ZC~b zz4{p&t8JhL`YJ&vl51XoVv%B9^c6Zct|D>abFJirAC0;B*Apvy>`gYpaoAq|k1Y@N zj$>sNeB^1S&4^Y{U9i_m_$KXG>O_N2CTv#l_~p5PKA8!(C}zS%RRdqg!%SB58?~R9 zx`%>Gu;qf0GU+w5HqS2d-v3f2{rPPI^FSELLsqUhXc{2u9C*J%03-NYKsvF!icAd0^-j9roZ z_H*_66)e+i%IeR&HJe%G?Ar#l37v-i)JwYY?2@f_cZj(@bWPtleO$(DP`K~IyGxrz zObg@h?gyT7krcF?eyf!h)c#{>IB>tiCi(7yssam_g~ckVYZp_|!1Gh)!td(6v`n%- zwvZJW0f+3u3ja=!~{lV-e>6QAi+yu-cWiK~H5 zt#h<%8KLyG1Ep~OxE40<+#^-rDsk(RA>_A7e%pZ+{o8|vcvMd zj-+v6gelLUoF$OrL|&`A6&Ir))!oebtSe7Ec1{QWJeu06OGteC4{Qa&cTOB8i9nYF zQ&|B1!CMmiK|$mSnm%y40pmc>#(<>}Wb~lyP+;N(UkG3T-~t5Am>AsIdYx`qf<((4 z)Ype^xl1^yezRewlaofDDPzAe=|h^(7y5pE=92#{f()Xk*VD#?p7q>1ZLa)@e(S05 z23@Th{>3<#&0lU{sH_S&revIW=|nT<4Ap_k3h_W)V8r)kvIyE&{u9M9-WyGQ&mNc- zEIzPk?7Orexy+(#G)HrFM^Hy?Dn!ZURFHAC(!2YE!V}f{yJs>8qyiGhR24GFcSw^K zCx;zY0;|ZD0)thhgbVE!W{Lh6Z)X7()!OxaOe|Ey7CSM4nPFyZJSGM%aa>d+^T> zMb_RAS(SWV-&1cw4c)8Mp5GwsMyG6T$3&)V9yaCRaHCV_EOo{;GnWonbuHhidakuE zjop=GoGGexmUh8;W>)lRTG>*rO>x(!HCxRXp6O$&)E|!p^{w-Fh?Wb>cZ;1Iz42dcptof%w`+qB=<@ftzg9s<7%nIwHRVb0aymJM z9u6ujjk<6p>53z8pi4vx6DCk=#0S$eB$Eh{l68qnBHWG?=SwfRJ0c{bb8_!i-?krG z@cC7)8E?+ct=79&u|2yj`=_LjejZ?*ytty(bzWHSF5Rc*U;6P`$9-jMo=kcy=c>+G zXFqIQYJH)-<06b{QcTetNZUB+jLJKj|8XNzhJa{~n6c|iUFm+NLe(V)-RouSV;<0T z@PwEH?|vrWJ1P~pr{o0uFWexJqz`RPGJT39n^qUZoD8sFL3j~XB{N4(5f%p$vrvV! zv`R^Ji@&spK0dwNfGl1J)?H5%+-%J0X(iW=o|(7Io3yEhq|E1;VbF1xWQ9syZV@!` z((wstQfFN?eT{pSG9DAgcB&A0boSv|MW?zR3X7;cY*J+UGb5kuA0Aj>bMHT+FVv{B z@^oN&?UN6i(p$#-G0?@DV&b|b!3zeL?030!??-W$njU%DsY}7*w>8gC^<00ek?ldm zw}EfY{gfzkD&oFedjIT`jNeZgMM@JLIWuD@MeCpZfi(f+M!}I18cnd&wW-|F?dt_| z!qdu?O}4G~G9a!5NoLilcs68;^KCW^dyp*DJwa&3S zdqAhd?vdr1_A9pA?NOe!MSC5&F}>CNsPg%@rS*%AkA`zxc{8diukm-&MzAtbI7NyO zB!w&=>=2;E%p`2mBT6L%j)af2s#Av`q(DoTdJtK%iOLZrph<`SGflIfYsP!Ss-%qF ze1yz*y=F+7PdjfNs9C4j_|E?2?#&BGdTH_H=T9@G9g%Hj8n+@@XY^VUTQYS`#g(FOA59i-pTXw>;4jmq1a?q2LVW#+PXGv8IHJZM~r zOZvvX!zVntv8crH@ao%JJ({_>-a_xJhuW4scDd&Ct-js7_UCZzakPy2vPZ9!Jvx`2 z625Q8wmUZq_8I+be@k1}&5Is)`kr@k!%8kc>G>_(;!;T+=5LbpY*5Xu1hm3)(J)dI z0ZFuLy)^&;G?43QP2e7)rY^NhlNtENLMx8}u+#=-%2>Q62&*CW%r0!4}s6 z^?lGXz5Ay+-scZI&T;j@{b0AU-3t|*)bd2(jWz3aGKy+ zg@(@h(MHoGL&|+!7tQds^^80elV@d*Tv-PUbgSNbw%?PjrH*7eW~ub#OZ+9fF8hKf zN)+(74;>H`u{&gZLS48b0Dqt~W*V&JNTD6z12+>gF9d5=geF_6c{22s)g`ewI%<#SR#2Hpi{`HG?wK|ZqXu4&(Rjn7F$QHb% z$ZpsD8`GZ9ufMk?Q-;U28#Zs>v-#fFJ%YA4-*Arg8ri&Kz^EG!U#trLxO?P^-c?%| z?mYR)Jslnpn5sP=_HRb}Hj3+3GER^T3hZoKMAncghCmK=#H=Te2ksGSCiPe?G6H0( z$RB#slusinVMyJmQyo)OPM7S@HbYV@KGxDWdrr=VLyAnT{Ab;2wYZl(KU+4ceC3e0rq}I(@x05#L(c!@Jb*sCsD%NND zi0W5Dw{Cc?3;HyoaP9tEMn(A_U4J|(Ple{k+_!ZO?tgUa-RJ2a?HoSiMZ@zcf|B=` zF=phOd#Q_c+n@A=HOsij1~sA=ZECnQ#562(XqtiNJaqaScYEeK(WGCvtVH0H>izx? zO^HyRBx7fP!$C&!)@t+-)B*~kNUTt*CVeO3pjVal8+-yKTI3o)h9qHxlIk+)KNFwl z>}*_b_;S;I|ARAT4Ej`eclRups!ug<^8admddJXo(6P9F*?QFLIXY^jPf4FM_0rCI zQ#JlKvdn25I$~Sk`#Eo$mu$G; zYU@R}nxt*GJLSp+mr_40{IbI8WSw&N36A+0kG#(s>ivI^3Z^3w-$q`qW0Tqwa3G5~MQ;I0n2ZbO4E`Vy53S3C&o*~G zS~-o9R()?P+Qm<(?&GQHPS*O*>v~JrtI&+T={@c1Ev+ADqQPZd(5`TXP>)`z47V6k&oqO=S&tk@Iaevm814| zELeJNoeZ|KaZ6uSDA{n%xrOy!tV`xGG0Br6??XPAxoy7NMP^>4op-oCA;#y&z5b=2|hSd;79W%&jzA*86=!PBzb% z4?km`?)pLLJM-cHrt$>ZDkc-t!4cY^KtbLq{Ytdu1NSp!j@faXV`>^Y2s!*UBg(i1 z2!gz&cTXBMWR~;46R#T$jb%3w2rSIEWZ32$!v@{eg?4zAf9VXZZ@CGV*N<;s=53}+ zxpVGmxoTq??efB@s}K6RsPWbtQJdfT9}4^9j~PR54S1bnxoQ8Ek{)a8b@o1S*VpZS z^@=_GSLbLsIy&xcO1a)P=u;e$xBa_u4~?X}Cv+mzB$&cYA%mtGMjXqK63#Y&J#A<< zv^8L*(}Hf6@!Zt+eYCX9*$jbo{ZAtgmF~tWx9m4xw|75rZr-w3{hX#*LeeHZJmF4J z_i9DwmW#?_b6!`t4eso{ge8LxxL#gyLE9Ti(9Kg-qUjE$Cj_h$GP-ORV*)^ljsUQJ%%`*4SdX8FoF>@YU5K zTAbUP{y~vdr#ID(D8Dpr&!f?!Vl{_G-1zhv5xL9l+n!l&@g4P2JOAE@8Lmw?r$vTj zZNzbp;5>c{jt1TOkf~RS+j|yWYLcy0_7oRpJ~f_yuz%0y+{>STxqt6tyyDKdI^G85 zP5=9D54MAapoY>Wt>%)?pc&1s2ZfOsfJs(X8yF4c59s|SdNjS@2-37-@IIKq{&?h4t?=sQ#JRsL*Y=O7{Wkwre)CG-7=79INv@I? z#>5`W?BBO?&U3?h&Imu{-mt;IqRV{fP(BzB$Y(j8^?-66e*Y#!pakzg)s~MB@?>MU zIZnd_<%2rx&QcYgW;QgKJn!o#sAFccspYW*0)r-0N^XrqrgNobh?z zcFp%?Kih*AzaO=c--*;Am=VM31G&7UwbqJ^HX4bd@J}dbrEpK;2Opk57L?6Gqpcr~-MH|af0g?2FU5rB(Qcc@u`BFT_1|_=bjj%u0`dk1)q4}06N1p# z&Zb5!2~=ETgSkdtZlmbI#byXJA}m83LrlZj)#$8sCtnwV$K(V1XBl=lWn|0-aM5YY zi`{rR@49oF6(MPU^m?4tFvPE9%kNeFy4RT+n6^**;SZXIZO@SRdF7r*Y?m~nGf!(hV$`gI`t=vnG)RuJOy)AHdPUn> zW$sdLS&EoaX%Ej|;B;IQyW;Ahyr+K#G^bi#@>U`jzr8hR^Z~MwK~l`V73l~v4?sE_ zO|yVEWUoFzH*6P(+|-N!a%@I4^qHkg`xc^N<}7DwBsoNRx^ijXyO(lJjvc=2)y>C4 zTfFL%a_Q2v+w$ZpIw0S-pfP>w`n+45X>1R-n+2<`x-n*Xs&yG-wt4=@yD-nJR=I;( z=9SYvYeehZ(i7Q+KY!yI4g_vN;>ZhKJ1;YoLY)q&Gb7MHw+r5vK31k@fmY#%c?EiS zsB4*+fI-<^W0h<8EN<6R1mBuCB~NoQ=2HF7XM0uJo?%euiQzRLrb=BgENF62$-ZcoUzuplU)_JJ$JA?cr)d41cciH`(>SM9>N(btRhqj$Y84t+;m?h&%5+XS_s-^J zcRc66{U$G%a>%l7@^a(<<_k*aCiM#{=15$SFc4X>k8#B&q(A8O)S(0hMGguL6D$yS z0eLVWXX_=?=4b#(0EJi1xUff_`JiYVq*YRqdlQPv?r-Z_Pf3G3S1`-0|1y+VO2QnV)EItmo13ey| z972m3!7iv@7AxIzGYF7x0I+E zu&j}DpJHPVd0y@}cK3yRchmc3p89M z+IzRRB}*RX5+et6Sk`S<=dD4r78ShMea@InjY6{CUU1xW@7Bl0i*I&mA6IDGu8#Tr z^DbKD(*91=*@5l5lsz(SwtrmHOzX2w)Q?)7c2(%7=b9JiHZ-`9A);l~=I5H`zhr*> zVAIr?`86s$>@wnjwOZ-(lO~+n_hRG1!&AdbzI*sb*4CN-y6Z8l!;yUju3zg__NAKW^`Y=mE)lCkZ&%_4||MjdQN8*=*^NyS}|2)y!X{d8cq|bIZn?m5LN! zl55AY{cSFk3irsZwMFLN)MD|F&zC#)NcB$lePX^16>ofbawhNiV&6l&D_U~x3T-#- zfbMSg3OAfG9!URudmi_xC!dn!Ni%!pr#0@c8@QB?)~BD8G4-pvy&?vb zNjc71W88}>ZQ44ApK`k#TOl^0R_h#{^uZ~7{;GevXYOupU&g&%mwNC0nN8N6c;V8# zY}lSxeQNYNHmqm&^g?&trmM|Y`h49t<5rXO9ut#xEZ#fhdf^H$ zpB%c7zQXC(KedR5=SblqSJl10dE%jsqt$?3t%Vu_(gq~dC>}7N2P&o9Q84AX(na-- zF>(ya!#l*wpV$~KY1Nx2MV`unq6y`M4a2Hcjr6U=B*3>9d>@t{vAB)blhuVz-92;b z*3&iP^ZS*b9_4ZE*@9BnLR;46T8S{M^c`}+fQ(2P3@}h8jUi}6K~HnJ#h7XCd(xkMP+)1% z?CHCvtMo0yA7Od7Pv7LXy2-}9UfM&+UONT7oARY?{dci5^}ZhMM>PEua5>Jh#qw9` zb+OrPjgLo14tNlps%ehRNsBqRC^!G&jwws)=h=JKBWdlOr3>tAarwnwSC5q*qsn)A zS$E~-v6mRslDb*hhkGkNb9j9{?`Vmxj~doouthziXe0f0lf=s$N$2 z{+Egc`4yef*!$g!pwhLqe%i0CoM)}>+oS!=<=tQB-f-`n@3eI7@2;!tZwS0rw`kWR z)rxk#*}KX4X;*ZOuJ*a4tGsY;^;;)mhYYzmt5EvFU0gc3O}^5qxAT?U{W1?;oaNK) zE4G%myFAU?C8Bkium=@ihd1vKI;vjD;IXH>1NUYtccstmt<&5G-3}P| z;kthPl&7D)zKq(O>eR}k#lKvw`!uAP^RlTG{knF}H6!oV0TrEhS9!AI$o%IQw%aTiOLl2j@`<{Iz5dME z{I44Albw2H$hGHHH_hbYF^1yzPq=CQDoh^#yhhOumwGN-6gQ(ti_e7~RjGDl#JpM? z-^RR3J+E&68efO`7GGL4!o8}0=7ZlBj=cWv_7u?^rpMv4z}Kh}(^b^1`ctxf7%Czx9nT6e6^ecge8kR4I$Qk);XcGbNc z6H@fZmiC#)p&Q4uMh+gkf0zERjfYq0{@CpLB6Hg_1#YezyJg7z0#%N5x<4S-UQ73B z-*dV*uj4=Hc;LhGH+rw>r2jh1xzxT--wv$tSvf!E8hp*P*ZG^F%XH+^#M-6GYUjAbWcth8YW|OrwKGKD z^NxCbqG?D_$PjbG4b5f+6$!m?a@y))>pRUKo@VBv21^=r+q0%#vF10PO!N-@wCBQ< zSLvPipIbOK$E49t0{AARup?%7f4_sdA#1ilD;O?K= z9NJt*+siHP`JSYO(k3ZaWQb<9e&7I0$)=-%-n5$Ef65Rp|9@i zpL7}Zc59{{Ay3zpKDB&xPN!*en~drEaj)e@X#0)BY$q<~ed)Pp$_xAj=%MIRIaG$()h9ZKEjc=>`mcIRLF$IzK2KGtxp zw{1||yr@UT29Ix1GqWwzo4zJ!$^4d6R z{G&H7H;-L+KJU~uR|XxM?RTwOald)jCx3qU@M*!OXDYl}vL=7$&okS0`d;ARv+t2^ zK2GP4-z#^b^|i9$fkS5xjorBVdbhi-&L2Ogykp!mVrs6~QSO7rH0~9ftYN7&yDoeZ|Zdre(?B|G=Zu$9zXOy>i0;Q~8IjKOBt-v{c!1F3rop zHM*jyr{r97bwTlKy|ygtUjNgJDF-4x4nN*2i_^9d(I2i(EdP4TqwD+5j4kPIYl=)l zi7MeyV*@{=ao4R+8FeD}{%7?+=6?7%@3WpaBi{C1&@=D5 zZ^W^ni7VQD{j>4ah`1z;$F%$2rj9;)@o@c`v&$x|`5Jfr(fC`f3x_W~J$dZYc4?hW z{S00s3LX4-JKL+iEjL>{&z(E?^-76-AJ2rG4++%2h@SOuQ{2^0O+Qr~P$)xIV zTY1Mms2!R+#%*Z2`Y-2YZ4l*=d+*uK(ftpe`srr^QWyRN@Nb)YrfTKZ`$NAsr__S5m0owAVBHD!>jmS}B{PA{qr@wt1W^gf$ z%(QUI;Bt8%b!(&j)celdYrB(;KT~_k=b$@Xe(dX=fA)>MFUG71{&smm*KB)T_8!gq zFzDm9t|&i`qX^oZDjqY zF7>*9e%CZ0!0Y3vN?SH>2;I^)eZ{$RU!Q0eUi@iU)7F5Ejl4!T9^LnXUn?uU#yXx@qh3ZF_$`qhH8)`Jgg2 zdw#mH+NaI)_~PW;=3zf-5Sq36oAIR{F}(O0!(Iep2%zhL$xJYB;BYXa7#xf~4AL(U zOj?Q%m6oLX$to1 zby{^EVjetr{_e2dRr>xhrdX!H9X*bG9BE4)Wcn*)cKRl}uD@?vveUU4xei|3excve z$amovos4g1SBUT4%hlBR`}UF-PCZ)WvG_%@j^&d@*8P(5?X@QG9}|td=L_q*qV+VS`n!B zFuENG+a>aFl4SAoJj*7@*UsJfC__JP4vel5KCud_P8BmmaID#v;2JFaYOSS?iukY z{!e?JOG2^qFG!$-~Z=nFdo<}YJ0z~Pa$q2W?bA_W`@9OTL0n^_7S zD6bELG|*A-)(wu_D$FD*HLVVZB)>4b;Gs)*-@MGUdWhR!dtSZE)4H~AY`Q{QZOgmA zd^34|p~ zNrRp9Z|~EmY~`7`!{WGpqcY{){AAFHhR3Q@tCy>GjiK@Nk>Kn%T?EIHfvf-hYQO)2 zNa$DqpJ@gWl@^pe47>y^AuZV}9q>$BLbjg26qY(AR=S#K1VWKUvR-(dNY*k+IGvMk z=@Ew}cNf|Iv_s!^nRO}ew=1@g40ZZ8@7K6Q-WHdAQ%s!xVr%(g@3g0zU!9jEccw3u zFCIwQEPug;eNQ~9(xvyzNd*=Sh}K@pHZ0e(ITM{46)Kf~XTIze&YiikuK)BLqbz%O zS~~CXXxZ>e7xxTl*3E9xt?RLu@ny0~;jg|a86p3hO)CR-DT#a8tZ=||fXiO+S!s)g zI0Y3HmH_NroD8MoK(cz2%smm)-~cnwMB_Oa2^X2VgLqlcvdSae+qg_?>%8dpsGDud z96oB8I(mDKi)B~29SaPq6<6cJ&Yq3x)X$XU>)mrdYyE|%4 zlKN$j4cIR*>b#p>!=E&)fTOF zRD%U}k_Kcw)NwuVh4nIIegAFT)A&!rF4zLcf>1`-R?j0l>pxMg^b_dNN9K( z;nP7lg@ORN0(Bf3r0KB*G!h<(bW5YF20q5zUPO|q$C@mRI*}?K$g0dfO6r>~d9VCQ zqiYz#PPiqD*`7CJr^~w$Y_^Q;|rao`?W=MrasS12+ z>|XQygJm%XHazLJxVYP=?50Hloz7nlblx}hvGGHR0fX@(&Z#1Xub%c_DngQ^rIKZK zO2z*ZzjA3<#hS@ksigdA&Yz$E@ID!KvI8}OH9ZDilI!K~ODVYgpkPoErV}Puwp@*Emg?ENjjir8VdowZ* z*qu8WKM1;+$P6)D)eLVM{Lweyn1fddXgZj){0C zrD2JUDEHAcLA*rGn8r=Yh3pk7Wg;#BnKhvqa%2s;!rnSwjh(+T1HZyxIWSMDsk1}r z#ezI%<_;9TBqS+_)%*=d8L1*fV8|k9cnD;=1A!Y__leEe_43vT$7WRGzgArhW~I;u z!fOT6R&0ZtAc}tsdSg@=8c*z0+7&oRjMt`t1aiAvQ)B`bT8ZLSOA?wP2li8pXQ<?l)SBU@nRFIUx(-2V@?)k5Q;WNYopin~WHvY>s6T zpD=RV%kHDdy_7%t<~zq`-1(Im5M%V{{Q&P%q18$+I2)FM9$dekTwfeggv~9aD2#7M zH3yyz-QuFgWu=SH)1*th8dbI!D>?os9a8*aHB4w;g2jszxt9D#LT>uTps&(@BmGvi zF5}=3ZZI3nEF5%h8q!hN)iNhi`py!XAtzPoY;)MSz26iY(^^Q zUzkCEiKjQsLolU9d())Ruq1>kd?gyOrQaMa8m;83kdCAS$!IV@Feg>;q7Tl~&V9*h z#1wA5%&{3Weq{!FMj9XP4ftMo1EMGB{W|KqKDbW0Kwv*}?;5%BsO2$?i}nbS>_eKD zVGQskwTV|F#P47y$9p3WfQ{;bW!i%bvx7wsr;ZOnP|74Mew0g$2}oX~v(%HoF+6ny zO%k3$w$?B%1QAR!4Tawr)!uoMV>8zL$_y*(tYLmAX&Wt;T;y6Iz0vIfaKMqpy%Lro zSb#I3s?D$xBS%C8iBT#?=SpG5*{Y5F9e)(>)W28_#H3gV=|W-d6NU4;)jt3PJ`(+mJg2c4#1MB=Q}uIoZ-yyDchy!zKK3PRAdmW}08DhS2Y2 z049}2;n*|LlyHaQGBYe}T(a~)^NF}*q&tfiCOFA-D~LKeeF_@3cH-42&?jiTHCiNKtc5;lDtQn7>F%7*QZ2_~6CU3kWvDEgOia4;5_$htUP29}`E)f1x!iVo{HM zbzJ^!MmD0)pZ`cm+&ZmtHR^P4-z&eDVo4J|Btw4jHGgF+X-4E{|B!jA5Aja?kb(Z$#yEbRJZ@^1C^oD5>%?SMdx$=TqtNc^c8=5HI zB6DenPp~^^@`N8zxdzm6_=F{%4xgYnX2XkxWv=b;38gd+pP)Eo9kwMY(Tz38!7tjc z!(N@kCn%0s+>Cs^Gjg>*Dv|gJovJu|g5rR^SYT>Xk^NlPCGivX*LC;=yW=IBy2^IT zE4P2GgZ-v1Pw6G`@#>Xdu^rOfUpD9853pZ`sf`^zz-~*537rpIS=+OqlhcwTiOy@$`<(`M&u#%mMubj;2Gzq+xEbj{K4G zH^>rVoV4sy2cfsuKnpJ{dMKL~W{AR~2aq%&Q3-ihfpKKdouOP~d~c!riC3o=!>khQ zGnLh0oGC)O8s_+jOdz>EQ>|?bHm2m^!z>nqC$)MIdnwN&2rGp$vU_Gb(aS@rLvd~v z&M>-OaNQ8RKT$9P!ZMRz9)&H_QRiXJ32Ue5~}l>Cr%d zPr$a-F_npY7L1gd8$BhoNqVv<6xIyv8LDsmF98cpcB>;^GB)*&D^DDnQ-1Gnn4_nd z&P)O$$-YcYgvLU19`F=e+HKFB z{d}wdpi29XwPWA!m_wTpZ*D*b8hH#5Ls5ufj115&uo-X}wHcXc4RAyoDaySXE074< zxe&i8_1n2WS)I7i>(4%LxH>-${Ej)mhJgr9FiVxG8nUSoPWHh(@DjK!>=hp`i%`z# zj{!ZQ*H4SRXbV!b5(F#ZRu*$SLq;xX!Zw~n=xx6`y$=44IWRd43{axxf;tGzI_zxl z8Z3Q%XTA{kGi#>_|3nE`p(Fd~!5-y%5UtydiMlrcA2INmz}5x-#$TqtM>K$c$g z5<#y3i08xuvGVJbOJq^#WwuE_YapB4!0rX`LiEB=+@>LnDv^n!%rT~X4sXndq8a57z97@TSR}Y)+#7fXTI}>9 z2X9qe5@ovXYkR=q$qGI38|F|Xp)v-9r$=?gixvVT3GmJgheLnWQy@nqvxUlLMP3#T z8~V!3LI!ih3Bh?&zan8Q^GPZ4EZdUFF|YG|nBfmTaD znHDS>ju(~^YgonipjL)D2}}X{^dW>9(F{#!jvVwF^RA4$;BYI)ocSGdsP|fEri8Wx z4a)`;jHI!Vs6%EhvcGYOC{Buq8`Upn-{37#N<&{39RaFOioH|hY}6pfUb#xt@0dfi z1hOWLpzu~0xC^&WgHj$ciUuF%pHT%z=qjFv<*D^#Iq-_KK@yVDpMs9HA}r2cq+PVE zj)CoL?*=EKhyOpuI~3S#Mw;mHD13@QG{Px*aYGm>>rnR+X%SCCKomU@TkxbnZe!dz zVUOraL0Yl9LdEZlOY3P7zoRtg1^@N`Xbvnv=r2T{^y?6oqHh3yfwBoM5v^(vY+_gZ zHEK4DM}t;?xS*MnZ)P;HnT@3|r@!x@;p|zbAXZ0sNI(CPSh*finPYP#NdBkeuC9%r zWLTTp$tgMMlf50wF8#`me>zxqz0{^>9BZ+~Ik6oV?)=h@e>g0TYBP61d2+Ek1rpm) zHRe}#{L|UOv>rWH#<3~3DE3FHXTP-L9}I-W$JKh?e(9_HPENatr0n;{fakxmmpdv%d89tR(AI z2*K^Y%R~2H+VKwtyRsf9v~P0V$BsZs!uEEI%=;@l{^_vt%=9FSV;!ECR|S4)$3GZP z#^)l%Miz48%z7%mOUpvPvV%DBAC3BJH%l5E?QoxdDEuos{^D={=mT5g%qIPm;)?-Vd#CD7>|4Tdm;n+2KP_yxl zrmrYcKp-fp|(^tTPo~$#UFb=_O|A)?D(hS!a7gt zjdy%*NBI594&b+cGj<&W|vk;9D^ZOaGd)qiR z0@c!!FM8zhJVLT5FcVS*U>)eSh!+sV$8&v6aOFW#5~f#D^c!CJg5MZ^_a1-jO}IrZ z&@M#&uL+1t!D(d{Joy4CB+VgA#iG;R3rZj;57JX~{s5LD2X92-2l+Z8H!qFIasiJe zG(o)ir}e4YwB_gLDol7-SJeatZKB9cvlLpcD69y%T1awqN}=xzEe^F)7@cq^A@I?i zL&F@Y6nu54d<=6*Y(mx?6)RNb=O-#mI9X541Yy7l36qv3e!;>xU}o#tv<7|@sY$R3 z#B3NvBu!kv#$=lawZXmu1LO_5*{beM9PfoG{;DPrmqUny5s4lqi7Wh6z5wYr z;2z9bB$XgolX3&lz~;psEsR=#eI1(DkQNiJf|#)MiT|2^j}x-r3&ZQHngBqCh7Xg1 zFagp(>@Q?vAQZu3hWy09bq)Mp1SKSirM!R;G4MU`x*53GQ(?mE9T~m^@e!0KVn+it z6G#ySH3L}%-K9$os51~w9zTihHIReoTF~sn2Y_blaC-B8s89&h2tXy8DKQe;Lgh~ap%_)s`O8NB!hc*v74gdRJhoSqQmbijEG z=)sDFA3{u+(r$kmSpk{rWd9+iHc~Tz7ebfF8{Q-90hYiR7O-)E4S3GX+@JvnoL<_v zK!0Q$rU_CWM}|X-?Ot|=Que~V!1N7Q@bjXrVsFC1#%d-|BtnkQC>S>{$qa2&Q-GLh zf$)O#4?WOJn0KOwgo+4MSuMx{T06+Tp?swzm>*wm%Q}ixAVp4O!h@!2CUEEkyw#%t z5421L2}O7VShMf|eT-<|;~q>vDKZNY3=>2F?Mxj+Q4~PH=n{SiaZL--`RNZjDu$Dr17uJ3eWtY67(cKx3r5*aKWu`~q!H&{QcVYLRe-3<*mV zmMUsX@L~Q%xIAtqG!9dG*gR2=)gFu%2`3HU%3 zn_fy*oVo!Vdpe)l@n#<%y~R^*4jE17!$>toGeFPe9;3~aZV34viYmjS*n~qPt4>e6K1*^oX z(Bko?bB;|oNk!Umyg&s`2OFF~gn|_Ef5=no1OzoA$}AIt!11YQ0-j6fgHUs&;Dg|s zj7>q!I-v=2D4PzQ(5wNgFq%L1AL5)z%>=+`+%GdMnNr2H8ty<=o1IT*i`k|zqM!;e zj3c02$B#4E(@RVD2OmquBL*ry#DzR*M}FYvWssJ=2`kL1CeYPmlp)L1lo<$4cQ-@I znW86}meiRj%^`(n)yX7EAEwkA5R62%lYgN-m6}-MRq$!F%%>|RC{KjDRmB9f@@cd| zIyI0&KSvJ@S!!S?K~qYiD^!4IZ?11<`QRi`T81tTcOIosTqHFxyBeIFh_a0+6W=@q4?REFX*ri!_)OfC~H1WS#K0t#OQ4zwZBe8aAxmx59@ zi$Ea*fkwN+sH{TmB!}vCkiDQV;i9?;CMq(7=2WL~0Mv|Ro(1I@+P?@>CF~i!blB?ZVL(kG_Ikfg$gx+lf~{(#_xr$!@kP>5T{s$r5#mGV9{x-ks+N_ z)Hs)Dtnrov1N2}syA^_pH#5gY27(?rdbZg!GK7~1nkd80LCY%4f1aj9MSi}g!i3G8 z)J#Az47NPNt;9*RGg)BgGc16TFp7bcr}*xouS}y6%|^UGvYeb6Z;D3ri=*|J@K8$N zrhSviT{swLuF~v&C@Y|h9p9^)fPyz88yVt5GY^GlvMcF~C0}HS z8&gLa*oqjP7i<7hUgWN&Q&hStxJHN}>{dbc!kv193sq+oB$u#15qW~tR)G>WV?IR) zkbOr-20gq436zoP5s{8FdNr71$J|3ANdik9T9I7R+!b`%(9xZ6FUW^zUv%B#O8mTX zJ3dl3ff$}Bo!)Pm;Ee=|_#uc|X!vUhWppInQl7*oQ#z&RjEqLQ-BJ0bu|}`>5bLLA zas9V`fc+}0?V+{`3~pm222I;w>9_~liE;jftManwoHG9vS4>dP&PBmaUap1!e5Grl*<-^jHy{OaDJxOcbAK=>b9@I3Qhv8m8myNi~o_4Fv;@ zD1I~l!OB4;)3(@s2-yo4AC-&@!Gvr4v0sJGz0^#A5~q~c!kjyb=)$|(_((m}WAt!6@?>@|EZ zBf~g+^m?MYZQ~50eL~?_M~ftvINj|Gb))h9CoPO!gR%|O8I#>!5EI6xb$4xt38Lm< z{~;`WR862TjScW~aQSipN&VT1bEG;>uN^bnw3q?6LHsx?;K|=}hjFXv@uiC7zG>GL z>5aH1WzmXg7}3kPG`)H9rWmdY9_#Y;CAGE z(RzuNQGAd>%nCij%$|V4Vq*geSJnoV3{orhB1Os^J_H!Za}%zDnBY|ZlvNI;GNG$E zNX-PE3Dtdx{UyfF>%32^}#QM-u%bxK$bwTtWc+G%`q9J?WLe!Hkv%WspvPM6nTF2A7lZ zpiIUDn6&ebvI-y4j`VZo=at*B1#M}LO@QQt(wQjMk}7iXpn3+#$iz3|6Z*A%n7v6m zDhw#5r4c`XLL+Pg_yP9AMWsmSOp6D{t#x*C^2?vtHN8+Z0e%xpj?4vuUecTmoQG~O zIUVi$MD`?cUR>E+-*^YwKtVM`7hFT?N33VIyQbt&4)i0l^=1LL&3X&R>$6{ihlq4K~7OlX4ag>hfZk&X{#gNdppm{CIz7ACI@6P@f{)Dj3>Xh>%Y zEWs>5JTeaaJ=v{H2gWKNXkG|ZdE4I+V#1^x*Iql0njWZ{K-S7^C{k9iZV(Org{lBu z&0NSRyg)#vs{zRwrorPbko9I*97Q8^zp35O#GZH+lH{F{b|BkPc}<<0q_zrxowRvF zxCBuH__7ijKvN}+W)w2&E`a`MAfj4eF(SPp^D5D85Jzs3P6vaXYm!wszwv%kxvZsN zY9BS7ovda8ghD(Js48ztj)r4m&@1Ht3zagm1_nqht~D|wNUmw}aIQ54 z%JMqxom;Oh9S?pMYOLiUQ2jif#oUGf)>&dGJmxEE4|;J)K*@5Pw#g7tb{f zIt7naaVX0l?$N!9L%%R?s;UVTC#f{B$3@tmzI-4C=Q4l{VFjFkVNG@xxwS?PIOcE3mC3#9bX60W{Ap$&7|^c`FrF)cMjJGr z&^wYaMM}0Zo5ctmM8^b$U1`D*1qU1{?jxZIvK_k|ZCSQACLHIF{dWAJY67Vgw=@VA zp%83#Kz?*w$h84>P<4Z*t-~1_gd9y2g;WE(g;a}J6Ade3nuI3ED%31+{G;5G${_yZ z47F82kP+T0PX}p4a1*w#U>bl4-Xi#~C9OA8&8BoiA>ErK4@pjmo4h30rAC*~1c{mk zWy=&Q3?wDc^Khn`38c;(25u%&{xM1{6G*&f zA)O?E;9Cjkh2o4^aUyoDJAbPoCIs`xelJv-qiO>EWHNeLgnWQ`nPkTmO~ou;gOH*X za;J34K;{Qj;2!0M7I`c>SOU>@G23NR@*x`DssEu9Kd(FyndhpSfHbF<2FXKYEIDX8 zPqZ(Hj;%6!%FAM-{RBZKN)U+Kuo1NYq*P3(Vxg`B&%tgl$cHd@yKu;H9+708nhDI1 zKtvB@7xD%_#ZD(>va(6>#jFVJKwMd(%OMdhLk-C_G+gUeZcOq|JHH^SaHnCzMYUK3 z<#vovH9?Qa5tus&3NK3mfOF5SY=R*tDwuc#20VbVQ4hp-0J1Syo0TD~AseNQC*g^Z zRmkPG!o8!z4>4uF+A7dFqLVX0OOn(8QK-WP=nCB5qGn8KoVEry4fsgvq%bM?Xkada zmg2VUVn;Ed!aM)EjxXzh3)D<7aQ?wqqy~%h8c-q?02&hDN^ns~Ka}*lp@T|B#WKiD z2{tHkH2EG1p^6jX+dG@L53A6RKlUf0|3Xz0(B&aXVSJmOUIiUutis>X@~KHDpj3DZ z$N{oJ_y*n~O;PmIG5M0Hjl|B*JBowOG^}oyG5owTr}SQ=W&)WEA&5*0C1{}j$i!ge zbZAjP`iVVBMkN!KMGy|>O*aL)jwCulJtD*Lw!@mlgzI_r=kyL&q5NW16WH$%H*CBj zxVy-EF}YE48DePqNZ29}dbqO*FXb%2{2{%CWo$9O6r~-OzYIcb3IOL0J*R$KL&VS<;v| z#a_6(L~RuWc*if(p2u|%$eqY6O(9{^OS9cB$B8j-fba{<{yfFgQ=e?v$? z(4WvRh-+$PI9+R;!&TV9>>h{7J*houDzU0rM!0htz&AiLs1kB>qk;{xL;TF7M>DNG z*n)x)*&niaP)>Y684{Wxdm(3um41%>!lC7ACV*~IjexcWT!63?GjR9^l))QaYhXPZ zWbgqx9h(uQR*g4hLP$myy3)|+!%ZhNL0nVl!#-0hvkJ<~Ivkdb<5i&i2L7*OJf4M! z4Q*nedGbmmSn2Ep@gj|+a!;a*-}E8HMe+^G4>T-crrGR1gqV;%Tii3p_`+~#4USD9 zou;7-k#6a`W2ce0Gx`h}OPFm;X++!A6DkdrV(0~w1;tI0^?}AxyCvyMyb2qK(!J2U|WQwl=d#UMHari5>7Ign3en}OEI?Ziogeo>g@==yjf0LGTVm*|ln1qw=N zg6sv`lToYP`4DyZWAC7AQnFGpfw~+-Led#x5K$1Lh1Y<7yB_qNPl11+CWjsz!8OHW z*bZ9yu*q=Yg#ac z$iUK*!4b}blvBW^dgDV&ILsGfZMcS*XQ!gAVnvXBI%+gP~s|raYj`LX9>O#NFy17rmP3xi*N&p>g{4jIT1z21_Te{=atF* zv~6l8-~sV}6oc{7bS^SQ9+Zcosf~Yw^9ZK{n31WgCPF6SX_FiqAv=l^Ic_xJb`%p< z+A{XBIou0Vx2u}K$EDy%H43f(|Ia{%&ysKj0Be!HQ!25@;6$(w(P5_ll=vNu0Ekwc zU&VIJI3~`k2PSM#e29KK)J(t|p*Db%md0dil{iD0N-PcS1nm46c?`|e&|iH3c%+gK z-BO4&u%7hx*OcsqiVGTbY(h45frf7Tz0hT+nh6w~DEP1=NbAW`Ks5>Hf#>nk+{IJ} z*a;k4f^2*@xFnQF3TmJ*WSPtzP5dD$6fafPG5xmcE;SRtm}E1+nnEqYg6{=&gNsYa z7_Uqzgqr{an6d<&w{YM{VH^yDfgKC{Z<6C`CfbAY9>iE_NwE6YxvIRS*+$d^q{t@rlT~N6iGm z+d(kszGjx5z@SjS5$#|HNYqG81ga}sSO&<6=pr!{FpP zm}Re;37j~A5Jh=GI2ty>Vi*&Yps1MRmMmx>P$+{~!(o*24PD}Z0qkHDM2H;{o8UHT z?=iGg9MEr5?^82@?o)xXppb#dQ)pnzb4xJcLulb<>JD(PB$o6dJ^_B>6p+k7x`EX~ z-Ow(flU2CaU{iX>MZ&WC)l3jZ1~C##3>V!5;)SX=C1S!yTA4Wm>`+dkk)TG}!zoh= zC6AIJBt*$>60gF=TfiD0HPe<{NxRE?oNVgmq{@3Kx)I&rfAmJ*=UdTJ4LJr4K)0)F-CLs0+ zPmBbf0j;oSNL(OO;TQ$Pp#FiIhI0n^0k#6{Y=V_8X~>bt#e#}cM7CE+ zkiF2)@69ZU7nIvEC_>c)sf7{{0JXqz7U!t0=oL&6u0|8LAUglt%&@!Y(l9dX3vvZ_0|*3Q2$cf3Bu0gU z-almCGTDksd|~rRH4^|(s4M81wk1yocoWegn2lV}Kn^yTj<_LGK5i_Ds0pJ46NU*2 zMVRY7;fWB}l=JZL@q;lz89|4iQZ<2MBOX9J6euU4n*lVQyjh$Qo01R)zl>AB6(TDR z5E(zEnKCL}5>!kRo1hQS<}Qy3brc^WJW|aBnD{g$;ecpLpd|$63Ike*Tj{|N%8txB zqD0C{!2*S423}A13M6C(H-LEA1#YqmcS;p)>9{#z@M%>Oz%k8$StM%&hd2Y;697L^ zLJ_SNB3NR4_(oE`2X>ZliaQ+yPVyS7-Y#$x6V5L9db24jprlrHKBH;^{CkRhHYtli z6$>?9C3BL6wnl=*?kB(5g+qxJ|(MgRPiCIo>eu0 z?M}|Xx{CiJjpJGd=Kx|x5St*DPy)sPPJ@~$a%{kTq}zE9W_w`6}s!_fuQWbuy=4`f@q=#panh&d=mOBb#{J1?uhS! zAq(>6b8;HHE3se5c}~p)W*MP8!#AhsLr_BB5^6a}=Ws1@Com%o)h-Yf;(BEJH0)8D z>_BArI9{TFpLi8^T=MNTijSZKfcL*tHG%z4bk27dS~I~i1#Ch%LUwpetOa0$RuVY~ z;7l5zo{U2WivotnR&P58EvvA^zi=|gocN=!)J)K`r??a-v=A)C&oYpSIz)$X>Z}y5 z1k++P5;A52JK-kSAk?uT|B;AV6$#zefE8;U#|xWZtC~OuAIY-Nnk-zE)E}tAdh@a{ zutA%^e1X8gS$S=?2VR@bO1ivcGKN%86MhI;g@;3<;V|j1^cqOn2@LN_H1J@;T?bMuc`EJ zRZZ|>`w=Iw(kAj+gyN|`LNX&%fleUoe2gHGVwM233BCj@VaS*S77%}oc2ybi3js?G zN6Mj`uP`CUJ2exGGWLS@K=C``BEYiXHKB3^)+7CFl+)2?1M3p(pHK>1&P%4pcuOm& zR&h;*O$axDaXJX%le||oL1c*dEvDuW8UZeoG70Bbt|Lfq5UZ#a@hO028N|Y+p(T~T zms2-`M4@m^A97_o?Kos9_EF6Qasle$ui z!uSgE3PvnKW4HSda!16hiR={}vV%$u-qOG+b+RIK6&dG@iRoCyCSjW0STm=*Y{Y65^J7$%~P(ux8*L5NJC zz%qeEdc|=PD-E-6wP&|mTh*ub>Bql9MX7vw|SoD$m& zkCrzb*CTTLrD_64j}VO;f~%Unw*8o404v#Fr}~$6wd%2 zt|!7eA~_#3ZSf4fBne8m7sNsPuAOp3K7_I!@g_-9$3PF1XB6WAIly^{M$9ZXqzNeb z+*w33`;z{`1d0o!iy|;6 zWCeIF_&rd6?kd17j)9CQ5+W*8RQ`%`71%3E1(@bzN3)ARl(9t~Ip!~vNv>)FlYrQd zbcLbqN^J`EJ>wAdw8j8VQ}y6pB={Pgphh4H1B53qd!!5^JZzDql;&P9 z#brHqZI&C3bIK>`CO}L$J({S1mzv^IhC3TfChA|K{eJ@NQ9Mrwxyb%_t< zqS!B2+c-RwO){vNfaJAQns_yCB?iGkZGp5whc!)(1awlP1z4c^0P-aQF2Ivij-+FO z#u{ZCpZABbjgI$%PexS}=*odRNNJ9ZM)ZW}HTWJ$9lT>edDtE73$hnl9BJ(#o1h{E zKiY`FFmV+4!sxqABe${&#TA!z1y?l_;$^mJJj)A1ac7DO4xPtGOu1^T7V0 z7tj*U9S*~bP!|3KMP)_QRBm~>?vDLJk4$PNz}A5mAMsr79Ezj z1=>4>r%s)KOTVAOLJ9O}GOL@$&!VI^pJ#X}`DLH0se>sr%0u@970nN2xVOn`td-AFKKq~^hvkhV^` z5|}Iw@`oP)cY?J**+itJXv(0RO3EvW0QhZ_BD3CcboUy^tFR!astLF{CS-HkktNYn zwdDt>pu=<`F2XHyZ4pQ^%R+{vuwMbn8F@>0O(5xva#nTimX9ioXBCvOW9wXMCQxyO z{LeiE-p56WL!{b)YlICf`8@ar#2&yc+F3;59{MBH0sa$38ftlVenIwvQf zo!nJTfNCxGf|(KoBqCffcO;ZxA_&f=ECpO5Z$$lQ^^_nQx&^Ef%GMOG*(3?~f}Dsd zm7iV|@2HHLYUfcifsF{mmX_5*Lwdr#dR3y%*eht5}EA zQi>mpEHinJV+FH}dDTonVSrLJ9a5m5kYr$a|AZYyfCf4RZVFl(X)o|3n}Wg+y+vG> za9=dktL#36tU|vMUgZRRy~iJW@92|X%>*zM!X{!i;zw!#Any!ZW@sy<8jiof%^Dg2 zfTL|tis0a)u*IUG1j44EB{<=SkVE;nXQ?cs9h%@Li+-I z8_<<|%7@=0y%UufXrCZJkX-@VNbw9DLkVEGQ3&M)ae|_(NNfA0$Z)|i0DMH<1kg3! z6zq`#9e_W+h;lfu|sGT7|}*^Wi0Kg;jzwO0aOSXc@d~)B%XgNOcqt;~NY`&xuq^;h@c}d+v1{ zxa}*VY64|S>4E{ziBGS^QPVUjIGmp2f!mU@7+qY99ww}!kc(Ie3q}TppRij6IT6!7 zXHVrgx!+w>%>egSnwIKgs4 z@e9JOf>Fe=6-EtIEIolH^$W7kE7R zvy6fvy+HpYp0+|uIt@g$mB#ZRAx0upLk40OLCc~1&|;z0@u6%_AmuQ8#ROguDwQWr z+8|6GxWABAXid=Q;50CVinNm42HGnj1yxnBVX3QAs6z+9t{5QRu~K7~==OYs9f}Xp zqm-%%u#`YI05d2~l1mX67{R;f2Tv8+P% z!|P{M=I531Ld()>CIF(~lb}&h0^ybf?2V5O;BL_3NckoH*H{3cahVg(0p)Un5GT79 z$DMdP9zLBXi$EL_yxDKZJZ02OV7eKwv-GSX-X|SWI>=>`?i>E#Dg6xBF7XyF=hbAo^%N-M7}v?3o8a9JbV1brIz zeN$q>`!cORoJmjRo_osPgiWd@2+~U{4s}s3Xe#w!2au4-n+O?b^{1sxhoB*haYUn_ z&~P(RM?#c<^0^}szgJUR1=Pc!H6jtkO9JTNjwp~oGe!4S@J^C8b_9(| zup8-|L(-36lBP1MSEw|Y6nR-02!T>6R!x<2tP_T$)^Jg1glGEf_TRX$7YYKz|YrFm@uZM ziU|OFcqZBF1OsGG#6$E)K;mN41GdMHm%?q~qi86EH-Qdkyc{&8QVWom-DNGSu(X-$ z)XMz4vMN)9dCd;JBl#La29!oo(vz+%(Nc`(-9zfaWl@<#09s-t_+_{$O3Iu>83hOe z2W{Q%ni3P{M!b5J-{C5x@l!K_2#uUkyaD?UM@%&s$xjK(=V*3tSp3Dh_T3j%(U+BruYR4afaELpPfQ&1dS#Nkp zNXK*skT{Y(Aftx^hebiaOlJhnfOrjxK0C-rV6RlaO*g-2nNF;N@_hF zVB8mrB5rkQJK~&^+cAu$HPwYmjj16KLv9Ccr6?lqQJ0E#X%P~a)sfaMLg^(KD@0sc zs%6|esfCoz2*n^{s)qSIr~mxEzx~~_CNoW0$$R#9?{~lN^E~gf4Fj1zz(*3@M#@3m z1FEMDovOcyFNGG5I$F7}5aq+_4w*kP7#zNIRe`&?u4Ub^DB55)Bu`(B&`f@!T0!VTE7KlI7ef z)etb?ery9DP-mRIw+S*e#VCjWK_AfHjR|Z5K2j|tE5HUd{jLWcZgadht8n&H-oj-Z%~%V3;1(pAPP*+o zC%4S90wo!6(~-3hIBLY`nWLT>2@lC4E7h_c0s%Jf?8o==j6EBryvos%xVvd86rE%r z-FxB2N1u6bf)L6ge&JEI5JE>$xrd35X%XfDBOy6}wP1l>^-#t$@wX%GR8TaGuxB(L zK>pHU6-E5H@9z3e1ZHJtJ!NV&gh4nt##G1;=iYUJ36OnzT$1i*RJsz4YZ{QxBn5Ps zzg8xkpkZu+J69ox^8IrTIdP5<%I)~YX|)jYy02U#*Y+VE>HgBzqU1>j!ibP{#0nv= zH>)R=lcvi2yBK4e1y_?N z5p5U74dSU2Xu z4*SubBf{p}M6$2fQ@$ap6pJoxw)*4z+Z?0GwxML5dm$gH2`S`&ycT&i8hp_3;qyE^Qnhrju z8iKOiA2wavpkH)D%F&?b?pAy2bzBKbBB#!lJk)g@f-;WVeBdXmu;8+TcQ|A? z=Kd4Ki8!_vf|{L45A~uS+hkhYWywfD9OO-e6tv=u0LI`^Qzq?!p#eoIrxE)GgU2;K zME1hc{wF2w>rKS0y{;;VeH3Yf8+hM>ZVvadQyitoHM=_URMizfpO*K8-OuG zJt!I5j2T6O-tX4FzAexvAz1-Qae7Zl{OZRi95)L$KteuUbXGMTW$*^&UV&6`IU2x}%|kH}MinHIIhD zB-@h&bsflp0Pssl3&dP{mXCGLQtIRi)Om}xrovh>8_v& zku5O&kSPrgk-epX@yL>G0C7+>d0z)gPmJ2R3i%K_zcP391b=-pWHW?wPO65WP$Z|M z7C;wEPgH$6NcPikPP29KD|3qyd6>5hS5Ndf2=-7}spE^=V=CBBa=oPxrEU=W0_h}~Up(OEATd-;v+g7m&qY9W}J zjb4T%13ksJj1>y8w=znJkh!%?Y>}BnO_7JFP`E_fG3d!FIHj~|-+51u3>i=s@!QO< zhJfbETLEwc!w{yr0Y5q^6#=kU=dZ0}sA$+1<``!y%oTkB)eS#h3Z%}xkQ4F7M>DS3 zWt|~Ij@hMqFRXoPEdgYRYn|9JV#?HDTCTv6ymMWiB| zD!4O*^ppc1>~&^)Ubtg!HH2uW6sg{Jp=|S`5jh)A^Z%(RrYTqgxsd{<-vEcB)g?w8 zf$w6!7OSw&RwJfN^&!gU{@QbEA#jW&;bd?U;pty)XuKRC+AWC?L8KxP9oy*PQ`q?i zE=sop?VmEHa}{zZzjE`E`*s~>bZe9D4>9*!)euxcvC#vqI}6@$(7q6LOwDtUK&PT4rRF=|MsG42tIrK@z5bEXILkyl9UEB<#tjZ zjiGqVibJIHg?c*@M4sOiv#bt zjr6X-Sh-45A(}V_kp+8#%w7fj`Am6?s{2Dsntl3$;0q;Nd&0%F5P-kNVzjd$9KhpP zDqnz~DIJ9jKtaI{Z`Whmm1IP|6YeJ7Fihsg8@lTZA*-Mrg@kbJjtjoo-q!B& z-C76=bR1NCMg3UDtV!+jt_*rU1eJPzyf-1!?ZO&#z2+KuMmVpzL?n#PRTw-GdoFmY z-G5=?CAAQkKT!YbRAWsKYCuErK#;OMMruDAvzI6GI-;R91HH5ax(6Pph_i5oogriu z4xRnEo7?lk-ruW*K=^GW3~Zx@>mW-_a#OQjrrGHV8BH}Vw&TmE*aSKKg5 z)#uNSSvI~MiQnP-)ew{>KClB}UdGR=SL8dBcTJ%E+G_4*vDbw6`76~4njVrS)wLsH zo~nBl&Ytzb58HvBRn-s>4lvyyC(0B*8iRZa5zUMF{%GGZ6G9^Oq0Em}MJz&4#)Dm; zORGDCkuQDad+j&n>Pu^@Kn%i>hbjSD;H`?-@TaW>uf>=*hCyhf@qNyu{+6wp%2lCd z@>t!_Rleq$S}^~by?@=Bnx4L_8iGMelx#*3Bm`q2w9X-AV0tt?^c+z4cpfqn3g|Zt zS`1#0t{@+5OS)I#&F6o5Pxiw8MPB&i{Avj51J7N>io$FR^9S9GoXty-wv#E39qRVb zQ|hN2NQ2+Bc>Vl{O%IXtcZcxa7Iz(cvA=$G5yC6g5HRInU5s@`mI05@4bamd&XqTp z)UageI&PK-wgAw>oTqT0UP{iAv)**#j{7D-m#gs36}45+MaI(7h3G!ap>#>gf=URP z2<~sJT{Vy0H&v^OH8`STu|0?YDLsl0anQEs-JV*ZT!lNXtcHO2F`uSvwHNc)4-&Fzo^((>q02|%_!@Rap0dT{krRYa_7Oi`SPQ{V z?!}Zi>8ajQ8yO&WRe6n0E}*8NwKBHCo&^RC`=dgaIh8E7i(f@vSUhK)?H^RWK30^k zCtg(zp(k&UD$r6kx*)VO5u7O_DTs`MWKu#7S2k+%0P+Msc7%JK6bb^?c_Ok3SO3F7 zC#R=e1HI4CBSn-vv~u; zKtm|OSc7XbyFbM1YxbJkz8&wnu^NIOlt#*)!;Pmh*UEu*lxDPVwt`IL$eMZYB}3Gwqbfyqjwwxbw+Ha!+93%xe&l@RdxL5)>S? zhdd74ze+eJNQ1MMLJ9(CO??@_fU9X*V`{IBPyeCj3f6y|X86dHo4iU`eqG=iOQh zArDpKgd%<(rz-SFqC??gpyQz4Afd@Cp$H?xYZ}W~OA+cu3|l&^d8HNXucos*i4ez09I0D?D?AZ=1!EPB6Oj+G z?KU^;*Zv{S{&6jYU9Z9Y+I;h8pcgDV#*z{zP3s z1A<15p*ZYmfPPtpo349y{r0?Y>K(NZ_>jnYP@KFkqc-xrQDMMe&Y#mfVQOx`m0<=R z;5Udi`tS7;k~r$N`6glZ!rOa}sN4~=e^LtpPif8oF_VXRRj;}PB4qzb<*ZaS4xodM z1t{Pn!x5er$!jm3l>r1aq0g+s%)j65!S?s2rv0=Qf*Z#;iq^md90n3`YvkY5GbG%g z4tSo3io66hrak&D(+D~o@?=BUx+(mbA|~%w%8}j{)?c?wo1gW-;Y&jdEiO{i8FyAg@IiYi zRoL@WV$&)>Agw%<9oh?h&6-GCG5GW^sw&9AJ#tGeZqm4^Wyvc1-^?3cZpWIAyQ>z0 z;@#_`))%0_(9%m5IIy_Gm~sWT=9@DEaWvhGPLBE}#;4w%(sUpUIzL46!WCEl=8mYl zO4|H^yK5nsg>%Sy^4O%wenV-BH(n31F7u)j#TjNw;pQHP600m+7N%wlYansS_d7$# zq5Q(!x4*Ej5T+C#;=+Hcg#gn9v;|mZi^D5W$A+&aThQ&Rp0v3df4mF`SW0q7p)VEh zuB*(^6x(sf@n>z(ekc#Rry2rU$UVf1#5KVACy%BFS0y!dK;kgTy*(;8$h7G4)VPUX zE{BXOD7-pXA$#G{-S4`x-S_p>Wwj8py9^Ddsm0C#*SS~`TG?)z75J)5h?B_!GbFM2 zGQGVr(gqd|_@_IBdB-k&seRP@lzXcou($}~=j+qbnKO?aJPyR`UsfQ+66T?wurOMm zAmjtO3V;L1G-~DU5H_5A^5*S##Nzv^AwZCDFMd#3Ax2`kFiovm9OV(rU0Mc3$=(Ka z(CSKj$AJzk{&raF&Jc1UzP#l69kLzEf%lu2*FrE{?r`O`4BODjQz`X}~oM_)hvKrIBUg1(3`ih4}m zky~umjEofB)S@dMdwPPsP-e$ZJXj5Zm7umD zZx{Ib9^G<6@(5ql_{JwGE&&}_D|%O?B?F&4>#NRUpyh#u#)rr%eEzWQm$ozaFVsWe zdJbemJb3sL);u^*Ct;d9*U76D`Hp4`-es974l`|i@HPe&01;y=o!c=dV%NQneYG85 zc;cbzD)>`nKm~)wF%JjeCL9oSgUsZPp!6l_7#vBMK@w^#PQpQYaz&ms82=o7|et{r$W&^YOV$|0r5ZfgS65xtG|_k#<%jEg&Q1D zhpgxh;e=bSxT*c7{J}4(A)xF*J&I`3O2-iJh8fVetJM7G02?ZpI5$a56sa6JC}aID z6S&RyDYFU-fB5drfx%xYR$=-tt0BPlaDg;yJa>o%;yJBcVvQA`QJ+QMI1LI(wILz7 zoH8;+C!Qx1ReYVRki2mIf9-K#TA8wH`r0Ga5b{DQ*$R|{kcc@oT9h#cyDl&%a0%=! zTN_J>(8?{DS5-8V8c&c=>00&rKdtwA`-zzRXe|V|8dQ}wMG_PL5$`#3 z9Mkd;Tue!zPJZU8*i*kTl%d0p$(9hJ^(*j&^R9a3Gu!yR(hqfgB%*urLfoYu}&$ab7{#lQYt?_UiWGHUJaLwU(# z)m1Ro@7rgfHF+P!K;OyZR)6gS0U!8O7_8J+#4ZdJ4GDxs@^FEXmll(|ZT&AFwu65A zJYEYS{ju5Ml!Nl1bR4q>XEZwxhpTEJCW6gVesb2zTO+2vnN^T~YI_)Sc+m13wuAVos&cCCaz%@t?3YwfK&s;VmjWN-Rm5Ju>>b zdoMh>^OaY%=Y`Fltc1WKPDiOjlNxmoc$xfsx(ZHuC@6l^CL`EFE7kaOyUy%M!y&Fv znpD#}-65>FzxUB6oQ85T;IE&mh2V_4cl9YQW%vzVGh!$(^ua%B^0?ShhMhI^X)MBp-;2XEDJA zV2rXu{b<54zK$eT8R*gOtQ&Q z0o1U8#`wk%A%-bNq-wn(lx7$soi|A6jPw#yvSY%i8)9AFln-wE(;&3JK?h~

#6?=NuCzKjz zI@U0J_bUACvpcM6@2oF)xfVjMTuS34BR!P*5jz*)H4_-fNFW@>$dQ0Mm?hNX?%`u# zFd|DP$m$MZ$j)0Y3O7||$MaWJLvZfLAv&UW%$rxFjRD+A$!JEjkby)gbPY0^G>6Ag zx+pOHLl242g>{CI53%L5@0=eWxAKmd|NB}95fTw+FizB}VxmZyT;G{*jUO#OP|vB0 zLtOT1`T1I*sF;@Yn)1mYM`sAh3m5J^p<+Ed<&|0pN|eZ@$XQ&^u0l1G+uK-Y%mq}} zk_J;446@4BaUl9q(!0`3p+>OY9m3>ISC2^bTw>58U#*0I^wccM!Aj_<@m^6%x~J8s zKu0*23dYPL?Vq@GGAM)Kaqu3d9P)KhK`-9o>et$^B$oE9N&c?OFYEP^o2M4DZNHC7@ct+)W+YI9Mt5tE~ds zJ}yD}CRc$R5N0A%=AdAx7qr6+llf<6e%ly8{;7V(t1bjZut_BqXgaT@maf=qRuBC~dxGBP zjcN$`0quKyqk-ZzZ!W`2%+Ivir_@hL3(v$feWI*$d$adW0 z7jxci?<0o2Sqs6JWv@&mWceXYgI3oPgj1@H4LeBq8>&*`B*l-R6xBz198wA+Y~9)M z8{^N|p#7Pnjozw-5Qj^DCchgX3S3*~Jk@NBdW6VyhOR!A>FPM|z8R8{M%A(aNj~KW z)0vG!nGdmK{IKN-p-fF5)k6Rs8AvfGt1fq0hnGQJtETDosqo|J2djrb_{U`Hj)`1l z@X@O`2#fAjSaZ(GUE0NlZ@gVy1w-8oS3QuSSmRCOXXI~@SHCixrGD}kDXId(#(K|K zI#V^$NDu5tWsQ<033|k=t2aK^Dm?F3GeLjw-}MkOioxSp1>mYwy!oA$8ZSy$H=w7a zepApIuFEUq5i?-5Juw2E;pWr53KxB;ufIJneEd!=glHM#3`A1nj|8mbQ70IWDh=4i z-p}l3+KvXG5{}_m*~ln^B|)lj*qy`qwyiK7gqe?bH{()J}3*fr>Y@vWsh`E zxn@eo1T9NjyO5-i<}Y$rDbpZP08ik!Tpb55G;WA&uVyw5WkUGfO{Yz2zbO~|Pi+BUWNyT~e( z^}?d}YatkNo;kx^tZ=8GW6&lABBkNoBwk*zp*19NFj9@fl&#ZW!>aRMVEkGdtB}<6 z$l*`-wU;cn{cj}%T%7k|N#SG8dqbU^$;=Ai9WF`Z z7V|x0pq2t}(Rm`W3d7I3ZdU&Kd44rh(*+;YLQo-PP%Y+~oUx=PGA=H9Dg-7FDtUam zoS|;Oo@?-9)8mmgDyh;* zAJ;;FK$9Ynl1|q=5DmDZX$dINVSzacd6W$XN^53n#K?+|HYoWp+6ad$w&U_qzaKtv zgaNj~CTQf4wb~s?22=rTP)NM;D2Dc0BV!k4-ruvS#K2BJ$3u#2_^`4*Dm#k&m|BUf zx2P8uOj`Q!7p=mS;zPVOq85Uu<$Y`}L8>JWo~4PA7xk<$|MZK@(Jny?$Wj!awx(oMEw*8mc8zY;NF%~lWBDIp8h?BRMGA^7v7*w8_f zdTOBfV(DgC{K`roPV==Ag4OYcC)u(8gPY=)1Z>MVS0gnggwNjl_J{2a-R>LILO|0q z{mJuMVWUyDd^yyK-X_4B(TBqq20btW2&%9F&!Az%dGZFdr~5l+vZbDQfLq&IEOrUuIji)>YFX$vVgG7_8oWdXxKG_stSR8-nDx`dU zVb0}mr(P(lrrS2EtpZZgTq(t?7jwNdq;wn2xk<|wti#(f2vg(;*3jByI>U7h>hW%; zvR)$T3?V1tfw?z+zrCB9y>TrBLN&$$4mzAo2ZIZchaE_5MT9&mHo`XzgtOx99WHxZ iD!4Nk;^D{;o1kIC{m?^}4_!X=os~m|oWIFhe)s=m#(@F= diff --git a/truffle.js b/truffle.js new file mode 100644 index 000000000..8a5983e00 --- /dev/null +++ b/truffle.js @@ -0,0 +1,44 @@ +require("babel-polyfill"); +require("babel-register")({ + "presets": ["es2015"], + "plugins": ["syntax-async-functions", "transform-regenerator"] +}); + +module.exports = { + networks: { + live: { + host: "localhost", + port: 8545, + network_id: "1", + gas: 4543760 + }, + ganache: { + host: "localhost", + port: 8545, + network_id: "*", + gas: 4543760 + }, + ropsten: { + host: "localhost", + port: 8545, + network_id: "3", + gas: 4543760 + }, + kovan: { + host: "localhost", + port: 8545, + network_id: "42", + gas: 4543760 + } + }, + solc: { + optimizer: { + enabled: true, + runs: 200 + } + }, + rpc: { + host: "localhost", + port: 8545 + } +}; diff --git a/yarn.lock b/yarn.lock index 8c045f39d..ba1213b94 100644 --- a/yarn.lock +++ b/yarn.lock @@ -44,6 +44,10 @@ acorn@^5.0.0, acorn@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.2.1.tgz#317ac7821826c22c702d66189ab8359675f135d7" +adm-zip@~0.4.3: + version "0.4.7" + resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.7.tgz#8606c2cbf1c426ce8c8ec00174447fd49b6eafc1" + aes-js@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" @@ -59,7 +63,7 @@ ajv@^4.9.1: co "^4.6.0" json-stable-stringify "^1.0.1" -ajv@^5.1.1, ajv@^5.1.5, ajv@^5.2.3, ajv@^5.3.0: +ajv@^5.1.0, ajv@^5.1.1, ajv@^5.1.5, ajv@^5.2.3, ajv@^5.3.0: version "5.5.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" dependencies: @@ -260,11 +264,11 @@ async@1.4.2: version "1.4.2" resolved "https://registry.yarnpkg.com/async/-/async-1.4.2.tgz#6c9edcb11ced4f0dd2f2d40db0d49a109c088aab" -async@1.5, async@^1.4.0: +async@1.5, async@^1.3.0, async@^1.4.2, async@^1.5.2: version "1.5.2" resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" -async@^2.0.0, async@^2.1.2: +async@^2.0.0, async@^2.1.2, async@^2.1.4: version "2.6.0" resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4" dependencies: @@ -278,11 +282,15 @@ aws-sign2@~0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" -aws4@^1.2.1: +aws-sign2@~0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" + +aws4@^1.2.1, aws4@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" -babel-cli@^6.26.0: +babel-cli@*, babel-cli@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-cli/-/babel-cli-6.26.0.tgz#502ab54874d7db88ad00b887a06383ce03d002f1" dependencies: @@ -357,6 +365,14 @@ babel-generator@^6.26.0: source-map "^0.5.6" trim-right "^1.0.1" +babel-helper-builder-binary-assignment-operator-visitor@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664" + dependencies: + babel-helper-explode-assignable-expression "^6.24.1" + babel-runtime "^6.22.0" + babel-types "^6.24.1" + babel-helper-call-delegate@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz#ece6aacddc76e41c3461f88bfc575bd0daa2df8d" @@ -375,6 +391,14 @@ babel-helper-define-map@^6.24.1: babel-types "^6.26.0" lodash "^4.17.4" +babel-helper-explode-assignable-expression@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz#f25b82cf7dc10433c55f70592d5746400ac22caa" + dependencies: + babel-runtime "^6.22.0" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + babel-helper-function-name@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9" @@ -414,6 +438,16 @@ babel-helper-regex@^6.24.1: babel-types "^6.26.0" lodash "^4.17.4" +babel-helper-remap-async-to-generator@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz#5ec581827ad723fecdd381f1c928390676e4551b" + dependencies: + babel-helper-function-name "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + babel-helper-replace-supers@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz#bf6dbfe43938d17369a213ca8a8bf74b6a90ab1a" @@ -444,10 +478,26 @@ babel-plugin-check-es2015-constants@^6.22.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-syntax-async-functions@^6.1.4: +babel-plugin-syntax-async-functions@^6.1.4, babel-plugin-syntax-async-functions@^6.8.0: version "6.13.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" +babel-plugin-syntax-exponentiation-operator@^6.8.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de" + +babel-plugin-syntax-trailing-function-commas@^6.22.0: + version "6.22.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3" + +babel-plugin-transform-async-to-generator@^6.22.0: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761" + dependencies: + babel-helper-remap-async-to-generator "^6.24.1" + babel-plugin-syntax-async-functions "^6.8.0" + babel-runtime "^6.22.0" + babel-plugin-transform-es2015-arrow-functions@^6.22.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" @@ -460,7 +510,7 @@ babel-plugin-transform-es2015-block-scoped-functions@^6.22.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-block-scoping@^6.24.1: +babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es2015-block-scoping@^6.24.1: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f" dependencies: @@ -470,7 +520,7 @@ babel-plugin-transform-es2015-block-scoping@^6.24.1: babel-types "^6.26.0" lodash "^4.17.4" -babel-plugin-transform-es2015-classes@^6.24.1: +babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-classes@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db" dependencies: @@ -484,33 +534,33 @@ babel-plugin-transform-es2015-classes@^6.24.1: babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-plugin-transform-es2015-computed-properties@^6.24.1: +babel-plugin-transform-es2015-computed-properties@^6.22.0, babel-plugin-transform-es2015-computed-properties@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3" dependencies: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-es2015-destructuring@^6.22.0: +babel-plugin-transform-es2015-destructuring@^6.22.0, babel-plugin-transform-es2015-destructuring@^6.23.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-duplicate-keys@^6.24.1: +babel-plugin-transform-es2015-duplicate-keys@^6.22.0, babel-plugin-transform-es2015-duplicate-keys@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz#73eb3d310ca969e3ef9ec91c53741a6f1576423e" dependencies: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-plugin-transform-es2015-for-of@^6.22.0: +babel-plugin-transform-es2015-for-of@^6.22.0, babel-plugin-transform-es2015-for-of@^6.23.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-function-name@^6.24.1: +babel-plugin-transform-es2015-function-name@^6.22.0, babel-plugin-transform-es2015-function-name@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b" dependencies: @@ -524,7 +574,7 @@ babel-plugin-transform-es2015-literals@^6.22.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-modules-amd@^6.24.1: +babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015-modules-amd@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz#3b3e54017239842d6d19c3011c4bd2f00a00d154" dependencies: @@ -532,7 +582,7 @@ babel-plugin-transform-es2015-modules-amd@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-es2015-modules-commonjs@^6.24.1: +babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz#0d8394029b7dc6abe1a97ef181e00758dd2e5d8a" dependencies: @@ -541,7 +591,7 @@ babel-plugin-transform-es2015-modules-commonjs@^6.24.1: babel-template "^6.26.0" babel-types "^6.26.0" -babel-plugin-transform-es2015-modules-systemjs@^6.24.1: +babel-plugin-transform-es2015-modules-systemjs@^6.23.0, babel-plugin-transform-es2015-modules-systemjs@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz#ff89a142b9119a906195f5f106ecf305d9407d23" dependencies: @@ -549,7 +599,7 @@ babel-plugin-transform-es2015-modules-systemjs@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-es2015-modules-umd@^6.24.1: +babel-plugin-transform-es2015-modules-umd@^6.23.0, babel-plugin-transform-es2015-modules-umd@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz#ac997e6285cd18ed6176adb607d602344ad38468" dependencies: @@ -557,14 +607,14 @@ babel-plugin-transform-es2015-modules-umd@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-plugin-transform-es2015-object-super@^6.24.1: +babel-plugin-transform-es2015-object-super@^6.22.0, babel-plugin-transform-es2015-object-super@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d" dependencies: babel-helper-replace-supers "^6.24.1" babel-runtime "^6.22.0" -babel-plugin-transform-es2015-parameters@^6.24.1: +babel-plugin-transform-es2015-parameters@^6.23.0, babel-plugin-transform-es2015-parameters@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b" dependencies: @@ -575,7 +625,7 @@ babel-plugin-transform-es2015-parameters@^6.24.1: babel-traverse "^6.24.1" babel-types "^6.24.1" -babel-plugin-transform-es2015-shorthand-properties@^6.24.1: +babel-plugin-transform-es2015-shorthand-properties@^6.22.0, babel-plugin-transform-es2015-shorthand-properties@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0" dependencies: @@ -588,7 +638,7 @@ babel-plugin-transform-es2015-spread@^6.22.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-sticky-regex@^6.24.1: +babel-plugin-transform-es2015-sticky-regex@^6.22.0, babel-plugin-transform-es2015-sticky-regex@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz#00c1cdb1aca71112cdf0cf6126c2ed6b457ccdbc" dependencies: @@ -602,13 +652,13 @@ babel-plugin-transform-es2015-template-literals@^6.22.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-typeof-symbol@^6.22.0: +babel-plugin-transform-es2015-typeof-symbol@^6.22.0, babel-plugin-transform-es2015-typeof-symbol@^6.23.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372" dependencies: babel-runtime "^6.22.0" -babel-plugin-transform-es2015-unicode-regex@^6.24.1: +babel-plugin-transform-es2015-unicode-regex@^6.22.0, babel-plugin-transform-es2015-unicode-regex@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz#d38b12f42ea7323f729387f18a7c5ae1faeb35e9" dependencies: @@ -616,12 +666,26 @@ babel-plugin-transform-es2015-unicode-regex@^6.24.1: babel-runtime "^6.22.0" regexpu-core "^2.0.0" -babel-plugin-transform-regenerator@^6.24.1: +babel-plugin-transform-exponentiation-operator@^6.22.0: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e" + dependencies: + babel-helper-builder-binary-assignment-operator-visitor "^6.24.1" + babel-plugin-syntax-exponentiation-operator "^6.8.0" + babel-runtime "^6.22.0" + +babel-plugin-transform-regenerator@^6.22.0, babel-plugin-transform-regenerator@^6.24.1: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz#e0703696fbde27f0a3efcacf8b4dca2f7b3a8f2f" dependencies: regenerator-transform "^0.10.0" +babel-plugin-transform-runtime@^6.23.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz#88490d446502ea9b8e7efb0fe09ec4d99479b1ee" + dependencies: + babel-runtime "^6.22.0" + babel-plugin-transform-strict-mode@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758" @@ -629,7 +693,7 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-polyfill@^6.23.0, babel-polyfill@^6.26.0: +babel-polyfill@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" dependencies: @@ -637,7 +701,42 @@ babel-polyfill@^6.23.0, babel-polyfill@^6.26.0: core-js "^2.5.0" regenerator-runtime "^0.10.5" -babel-preset-es2015@^6.6.0: +babel-preset-env@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.6.1.tgz#a18b564cc9b9afdf4aae57ae3c1b0d99188e6f48" + dependencies: + babel-plugin-check-es2015-constants "^6.22.0" + babel-plugin-syntax-trailing-function-commas "^6.22.0" + babel-plugin-transform-async-to-generator "^6.22.0" + babel-plugin-transform-es2015-arrow-functions "^6.22.0" + babel-plugin-transform-es2015-block-scoped-functions "^6.22.0" + babel-plugin-transform-es2015-block-scoping "^6.23.0" + babel-plugin-transform-es2015-classes "^6.23.0" + babel-plugin-transform-es2015-computed-properties "^6.22.0" + babel-plugin-transform-es2015-destructuring "^6.23.0" + babel-plugin-transform-es2015-duplicate-keys "^6.22.0" + babel-plugin-transform-es2015-for-of "^6.23.0" + babel-plugin-transform-es2015-function-name "^6.22.0" + babel-plugin-transform-es2015-literals "^6.22.0" + babel-plugin-transform-es2015-modules-amd "^6.22.0" + babel-plugin-transform-es2015-modules-commonjs "^6.23.0" + babel-plugin-transform-es2015-modules-systemjs "^6.23.0" + babel-plugin-transform-es2015-modules-umd "^6.23.0" + babel-plugin-transform-es2015-object-super "^6.22.0" + babel-plugin-transform-es2015-parameters "^6.23.0" + babel-plugin-transform-es2015-shorthand-properties "^6.22.0" + babel-plugin-transform-es2015-spread "^6.22.0" + babel-plugin-transform-es2015-sticky-regex "^6.22.0" + babel-plugin-transform-es2015-template-literals "^6.22.0" + babel-plugin-transform-es2015-typeof-symbol "^6.23.0" + babel-plugin-transform-es2015-unicode-regex "^6.22.0" + babel-plugin-transform-exponentiation-operator "^6.22.0" + babel-plugin-transform-regenerator "^6.22.0" + browserslist "^2.1.2" + invariant "^2.2.2" + semver "^5.3.0" + +babel-preset-es2015@*, babel-preset-es2015@^6.6.0: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz#d44050d6bc2c9feea702aaf38d727a0210538939" dependencies: @@ -666,7 +765,7 @@ babel-preset-es2015@^6.6.0: babel-plugin-transform-es2015-unicode-regex "^6.24.1" babel-plugin-transform-regenerator "^6.24.1" -babel-register@^6.24.1, babel-register@^6.26.0: +babel-register@*, babel-register@^6.24.1, babel-register@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" dependencies: @@ -748,6 +847,14 @@ bignumber.js@^4.0.2, bignumber.js@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-4.1.0.tgz#db6f14067c140bd46624815a7916c92d9b6c24b1" +"bignumber.js@git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2": + version "2.0.7" + resolved "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" + +"bignumber.js@git+https://github.com/debris/bignumber.js.git#master": + version "2.0.7" + resolved "git+https://github.com/debris/bignumber.js.git#c7a38de919ed75e6fb6ba38051986e294b328df9" + "bignumber.js@git+https://github.com/frozeman/bignumber.js-nolookahead.git": version "2.0.7" resolved "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934" @@ -788,6 +895,10 @@ block-stream@*: dependencies: inherits "~2.0.0" +bluebird@^3.4.1: + version "3.5.1" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" + bn.js@4.11.6: version "4.11.6" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" @@ -802,6 +913,18 @@ boom@2.x.x: dependencies: hoek "2.x.x" +boom@4.x.x: + version "4.3.1" + resolved "https://registry.yarnpkg.com/boom/-/boom-4.3.1.tgz#4f8a3005cb4a7e3889f749030fd25b96e01d2e31" + dependencies: + hoek "4.x.x" + +boom@5.x.x: + version "5.2.0" + resolved "https://registry.yarnpkg.com/boom/-/boom-5.2.0.tgz#5dd9da6ee3a5f302077436290cb717d3f4a54e02" + dependencies: + hoek "4.x.x" + brace-expansion@^1.0.0, brace-expansion@^1.1.7: version "1.1.8" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" @@ -883,6 +1006,13 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" +browserslist@^2.1.2: + version "2.11.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.3.tgz#fe36167aed1bbcde4827ebfe71347a2cc70b99b2" + dependencies: + caniuse-lite "^1.0.30000792" + electron-to-chromium "^1.3.30" + buffer-crc32@^0.2.1, buffer-crc32@~0.2.3: version "0.2.13" resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" @@ -936,14 +1066,22 @@ camelcase@^1.0.2: version "1.2.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" -camelcase@^2.0.0, camelcase@^2.0.1: +camelcase@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" +camelcase@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" + camelcase@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" +caniuse-lite@^1.0.30000792: + version "1.0.30000792" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000792.tgz#d0cea981f8118f3961471afbb43c9a1e5bbf0332" + caseless@~0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" @@ -955,6 +1093,14 @@ center-align@^0.1.1: align-text "^0.1.3" lazy-cache "^1.0.3" +chai@^3.3.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247" + dependencies: + assertion-error "^1.0.1" + deep-eql "^0.1.3" + type-detect "^1.0.0" + chai@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chai/-/chai-4.1.2.tgz#0f64584ba642f0f2ace2806279f4f06ca23ad73c" @@ -1022,7 +1168,7 @@ check-error@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" -chokidar@^1.6.1, chokidar@^1.7.0: +chokidar@^1.4.2, chokidar@^1.6.1, chokidar@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" dependencies: @@ -1094,7 +1240,7 @@ cliui@^2.1.0: right-align "^0.1.1" wordwrap "0.0.2" -cliui@^3.0.3, cliui@^3.2.0: +cliui@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" dependencies: @@ -1114,7 +1260,7 @@ coffee-script@~1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/coffee-script/-/coffee-script-1.10.0.tgz#12938bcf9be1948fa006f92e0c4c9e81705108c0" -color-convert@^1.9.0: +color-convert@^1.9.0, color-convert@^1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" dependencies: @@ -1128,12 +1274,20 @@ colors@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" +colors@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" + combined-stream@^1.0.5, combined-stream@~1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" dependencies: delayed-stream "~1.0.0" +commander@0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-0.6.1.tgz#fa68a14f6a945d54dbbe50d8cdb3320e9e3b1a06" + commander@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/commander/-/commander-1.0.5.tgz#457295bb976e388e9dd0db52de4333e249f3d88c" @@ -1144,6 +1298,10 @@ commander@2.11.0: version "2.11.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" +commander@2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.3.0.tgz#fd430e889832ec353b9acd1de217c11cb3eef873" + commander@2.6.0: version "2.6.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.6.0.tgz#9df7e52fb2a0cb0fb89058ee80c3104225f37e1d" @@ -1154,6 +1312,12 @@ commander@2.8.x, commander@~2.8.1: dependencies: graceful-readlink ">= 1.0.0" +commander@2.9.0: + version "2.9.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" + dependencies: + graceful-readlink ">= 1.0.0" + commander@^2.11.0, commander@^2.9: version "2.12.2" resolved "https://registry.yarnpkg.com/commander/-/commander-2.12.2.tgz#0f5946c427ed9ec0d91a46bb9def53e54650e555" @@ -1255,6 +1419,14 @@ cp-file@^3.1.0: pinkie-promise "^2.0.0" readable-stream "^2.1.4" +cpr@^0.4.3: + version "0.4.3" + resolved "https://registry.yarnpkg.com/cpr/-/cpr-0.4.3.tgz#0a23e4b6ec23f3b8cc7a405ecb5cfdc778f7de25" + dependencies: + graceful-fs "~4.1.2" + mkdirp "~0.5.0" + rimraf "~2.4.3" + cpy-cli@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/cpy-cli/-/cpy-cli-1.0.1.tgz#67fb5a4a2dec28ca8abff375de4b9e71f6a7561c" @@ -1317,6 +1489,12 @@ cron@1.1.0: dependencies: moment-timezone "~0.3.0" +cross-conf-env@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/cross-conf-env/-/cross-conf-env-1.1.2.tgz#edd96bfff48e4cedb0f741cca52788f64b3ae640" + dependencies: + cross-spawn "^5.0.1" + cross-env@^3.1.4: version "3.2.4" resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-3.2.4.tgz#9e0585f277864ed421ce756f81a980ff0d698aba" @@ -1338,6 +1516,12 @@ cryptiles@2.x.x: dependencies: boom "2.x.x" +cryptiles@3.x.x: + version "3.1.2" + resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-3.1.2.tgz#a89fbb220f5ce25ec56e8c4aa8a4fd7b5b0d29fe" + dependencies: + boom "5.x.x" + crypto-browserify@^3.11.0: version "3.12.0" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" @@ -1381,9 +1565,11 @@ d@1: dependencies: es5-ext "^0.10.9" -daostack-arc@0.0.0-alpha.25: - version "0.0.0-alpha.25" - resolved "https://registry.yarnpkg.com/daostack-arc/-/daostack-arc-0.0.0-alpha.25.tgz#e24ef89e241a50563449b59af49d51985099eb18" +daostack-arc@0.0.0-alpha.27: + version "0.0.0-alpha.27" + resolved "https://registry.yarnpkg.com/daostack-arc/-/daostack-arc-0.0.0-alpha.27.tgz#4c5137a9116d96ee6f06f209ae8500b38c24747e" + dependencies: + cross-conf-env "^1.1.2" dashdash@^1.12.0: version "1.14.1" @@ -1411,7 +1597,13 @@ debug@2.2.0, debug@~2.2.0: dependencies: ms "0.7.1" -debug@^2.2, debug@^2.2.0, debug@^2.6.8: +debug@2.6.8: + version "2.6.8" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" + dependencies: + ms "2.0.0" + +debug@2.6.9, debug@^2.2, debug@^2.2.0, debug@^2.6.8: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" dependencies: @@ -1469,6 +1661,12 @@ decompress@^4.2.0: pify "^2.3.0" strip-dirs "^2.0.0" +deep-eql@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2" + dependencies: + type-detect "0.1.1" + deep-eql@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-3.0.1.tgz#dfc9404400ad1c8fe023e7da1df1c147c4b444df" @@ -1496,7 +1694,7 @@ define-properties@^1.1.2: foreach "^2.0.5" object-keys "^1.0.8" -del@^2.0.2: +del@^2.0.2, del@^2.2.0: version "2.2.2" resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" dependencies: @@ -1516,6 +1714,14 @@ delegates@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" +depd@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359" + +depd@~1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" + des.js@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc" @@ -1523,6 +1729,10 @@ des.js@^1.0.0: inherits "^2.0.1" minimalistic-assert "^1.0.0" +destroy@~1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" + detect-indent@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" @@ -1533,6 +1743,14 @@ detect-libc@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" +diff@1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf" + +diff@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" + diff@3.3.1: version "3.3.1" resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.1.tgz#aa8567a6eed03c531fc89d3f711cd0e5259dec75" @@ -1566,6 +1784,10 @@ domain-browser@^1.1.1: version "1.1.7" resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc" +dotenv@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-4.0.0.tgz#864ef1379aced55ce6f95debecdce179f7a0cd1d" + drbg.js@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/drbg.js/-/drbg.js-1.0.1.tgz#3e36b6c42b37043823cdbc332d58f31e2445480b" @@ -1578,12 +1800,30 @@ duplexer@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" +easy-stack@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/easy-stack/-/easy-stack-1.0.0.tgz#12c91b3085a37f0baa336e9486eac4bf94e3e788" + ecc-jsbn@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" dependencies: jsbn "~0.1.0" +ee-first@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" + +electron-releases@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/electron-releases/-/electron-releases-2.1.0.tgz#c5614bf811f176ce3c836e368a0625782341fd4e" + +electron-to-chromium@^1.3.30: + version "1.3.30" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.30.tgz#9666f532a64586651fc56a72513692e820d06a80" + dependencies: + electron-releases "^2.1.0" + elliptic@6.3.3: version "6.3.3" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.3.3.tgz#5482d9646d54bcb89fd7d994fc9e2e9568876e3f" @@ -1609,6 +1849,10 @@ emojis-list@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" +encodeurl@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.1.tgz#79e3d58655346909fe6f0f45a5de68103b294d20" + encoding@^0.1.11: version "0.1.12" resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" @@ -1716,10 +1960,18 @@ es6-weak-map@^2.0.1: es6-iterator "^2.0.1" es6-symbol "^3.1.1" +escape-html@~1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" + escape-regexp@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/escape-regexp/-/escape-regexp-0.0.1.tgz#f44bda12d45bbdf9cb7f862ee7e4827b3dd32254" +escape-string-regexp@1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz#4dbc2fe674e71949caf3fb2695ce7f2dc1d9a8d1" + escape-string-regexp@1.0.5, escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" @@ -1881,6 +2133,10 @@ esutils@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" +etag@~1.8.1: + version "1.8.1" + resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" + ethereumjs-abi@^0.6.5: version "0.6.5" resolved "https://registry.yarnpkg.com/ethereumjs-abi/-/ethereumjs-abi-0.6.5.tgz#5a637ef16ab43473fa72a29ad90871405b3f5241" @@ -1955,6 +2211,40 @@ ethjs-abi@0.1.8: js-sha3 "0.5.5" number-to-bn "1.7.0" +ethpm-registry@0.0.10: + version "0.0.10" + resolved "https://registry.yarnpkg.com/ethpm-registry/-/ethpm-registry-0.0.10.tgz#54f3c12f9c26588a241b008f696888cf29cac58e" + dependencies: + fs-extra "^2.0.0" + left-pad "^1.1.3" + semver "^5.3.0" + solidity-sha3 "^0.4.1" + truffle-artifactor "^2.1.2" + truffle-contract "^1.1.6" + web3 "^0.18.2" + +ethpm-spec@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/ethpm-spec/-/ethpm-spec-1.0.1.tgz#ad3c09ae0492ad3d3ec7b94b7f5fd8057d4deb91" + dependencies: + json-schema-to-markdown "^1.0.3" + +ethpm@0.0.15: + version "0.0.15" + resolved "https://registry.yarnpkg.com/ethpm/-/ethpm-0.0.15.tgz#ed04dec48fed3e0cf09e699c57f481226e266d3e" + dependencies: + async "^2.1.2" + ethpm-spec "^1.0.1" + fs-extra "^1.0.0" + glob "^7.1.1" + ipfs-mini "^1.1.2" + jsonschema "^1.1.1" + lodash "^4.17.1" + node-dir "^0.1.16" + promisify-node "^0.4.0" + semver "^5.3.0" + wget-improved "^1.4.0" + event-emitter@~0.3.5: version "0.3.5" resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" @@ -1962,6 +2252,10 @@ event-emitter@~0.3.5: d "1" es5-ext "~0.10.14" +event-pubsub@4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/event-pubsub/-/event-pubsub-4.3.0.tgz#f68d816bc29f1ec02c539dc58c8dd40ce72cb36e" + event-stream@~3.3.0: version "3.3.4" resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571" @@ -2019,7 +2313,7 @@ expand-tilde@^1.2.2: dependencies: os-homedir "^1.0.1" -extend@~3.0.0: +extend@~3.0.0, extend@~3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" @@ -2114,6 +2408,15 @@ fill-range@^2.1.0: repeat-element "^1.1.2" repeat-string "^1.5.2" +finalhandler@^0.4.0: + version "0.4.1" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-0.4.1.tgz#85a17c6c59a94717d262d61230d4b0ebe3d4a14d" + dependencies: + debug "~2.2.0" + escape-html "~1.0.3" + on-finished "~2.3.0" + unpipe "~1.0.0" + find-file-up@^0.1.2: version "0.1.3" resolved "https://registry.yarnpkg.com/find-file-up/-/find-file-up-0.1.3.tgz#cf68091bcf9f300a40da411b37da5cce5a2fbea0" @@ -2175,6 +2478,18 @@ form-data@~2.1.1: combined-stream "^1.0.5" mime-types "^2.1.12" +form-data@~2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.1.tgz#6fb94fbd71885306d73d15cc497fe4cc4ecd44bf" + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.5" + mime-types "^2.1.12" + +fresh@0.5.2: + version "0.5.2" + resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" + from@~0: version "0.1.7" resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe" @@ -2183,6 +2498,48 @@ fs-exists-sync@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz#982d6893af918e72d08dec9e8673ff2b5a8d6add" +fs-extra@^0.24.0: + version "0.24.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.24.0.tgz#d4e4342a96675cb7846633a6099249332b539952" + dependencies: + graceful-fs "^4.1.2" + jsonfile "^2.1.0" + path-is-absolute "^1.0.0" + rimraf "^2.2.8" + +fs-extra@^0.30.0: + version "0.30.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0" + dependencies: + graceful-fs "^4.1.2" + jsonfile "^2.1.0" + klaw "^1.0.0" + path-is-absolute "^1.0.0" + rimraf "^2.2.8" + +fs-extra@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950" + dependencies: + graceful-fs "^4.1.2" + jsonfile "^2.1.0" + klaw "^1.0.0" + +fs-extra@^2.0.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-2.1.2.tgz#046c70163cef9aad46b0e4a7fa467fb22d71de35" + dependencies: + graceful-fs "^4.1.2" + jsonfile "^2.1.0" + +fs-extra@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291" + dependencies: + graceful-fs "^4.1.2" + jsonfile "^3.0.0" + universalify "^0.1.0" + fs-readdir-recursive@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27" @@ -2191,10 +2548,6 @@ fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" -fs@0.0.1-security: - version "0.0.1-security" - resolved "https://registry.yarnpkg.com/fs/-/fs-0.0.1-security.tgz#8a7bd37186b6dddf3813f23858b57ecaaf5e41d4" - fsevents@^1.0.0: version "1.1.3" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.3.tgz#11f82318f5fe7bb2cd22965a108e9306208216d8" @@ -2227,6 +2580,12 @@ functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" +ganache-cli@6.0.3, ganache-cli@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/ganache-cli/-/ganache-cli-6.0.3.tgz#8b9da149707daa29c69da26f0582b89c90113b9c" + dependencies: + webpack "^3.0.0" + gauge@~2.7.3: version "2.7.4" resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" @@ -2273,6 +2632,15 @@ getpass@^0.1.1: dependencies: assert-plus "^1.0.0" +github-download@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/github-download/-/github-download-0.5.0.tgz#f7647a70aac4326fb091e5786c8f66ae157da51b" + dependencies: + adm-zip "~0.4.3" + fs-extra "^0.24.0" + request "^2.12.0" + vcsurl "~0.1.0" + glob-base@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" @@ -2286,7 +2654,29 @@ glob-parent@^2.0.0: dependencies: is-glob "^2.0.0" -glob@7.1.2, glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.2: +glob-to-regexp@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.1.0.tgz#e0369d426578fd456d47dc23b09de05c1da9ea5d" + +glob@3.2.11: + version "3.2.11" + resolved "https://registry.yarnpkg.com/glob/-/glob-3.2.11.tgz#4a973f635b9190f715d10987d5c00fd2815ebe3d" + dependencies: + inherits "2" + minimatch "0.3" + +glob@7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.2" + once "^1.3.0" + path-is-absolute "^1.0.0" + +glob@7.1.2, glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2: version "7.1.2" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" dependencies: @@ -2362,7 +2752,7 @@ globby@^5.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" -graceful-fs@^4.1.0, graceful-fs@^4.1.10, graceful-fs@^4.1.2, graceful-fs@^4.1.4: +graceful-fs@^4.1.0, graceful-fs@^4.1.10, graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@~4.1.2: version "4.1.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" @@ -2370,14 +2760,28 @@ graceful-fs@^4.1.0, graceful-fs@^4.1.10, graceful-fs@^4.1.2, graceful-fs@^4.1.4: version "1.0.1" resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" +graphlib@^2.1.1: + version "2.1.5" + resolved "https://registry.yarnpkg.com/graphlib/-/graphlib-2.1.5.tgz#6afe1afcc5148555ec799e499056795bd6938c87" + dependencies: + lodash "^4.11.1" + growl@1.10.3: version "1.10.3" resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.3.tgz#1926ba90cf3edfe2adb4927f5880bc22c66c790f" +growl@1.9.2: + version "1.9.2" + resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" + har-schema@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" +har-schema@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" + har-validator@~4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" @@ -2385,6 +2789,13 @@ har-validator@~4.2.1: ajv "^4.9.1" har-schema "^1.0.5" +har-validator@~5.0.3: + version "5.0.3" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd" + dependencies: + ajv "^5.1.0" + har-schema "^2.0.0" + has-ansi@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-0.1.0.tgz#84f265aae8c0e6a88a12d7022894b7568894c62e" @@ -2405,6 +2816,10 @@ has-flag@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + has-unicode@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" @@ -2444,6 +2859,15 @@ hawk@3.1.3, hawk@~3.1.3: hoek "2.x.x" sntp "1.x.x" +hawk@~6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/hawk/-/hawk-6.0.2.tgz#af4d914eb065f9b5ce4d9d11c1cb2126eecc3038" + dependencies: + boom "4.x.x" + cryptiles "3.x.x" + hoek "4.x.x" + sntp "2.x.x" + he@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" @@ -2460,6 +2884,10 @@ hoek@2.x.x: version "2.16.3" resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" +hoek@4.x.x: + version "4.2.0" + resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.0.tgz#72d9d0754f7fe25ca2d01ad8f8f9a9449a89526d" + home-or-tmp@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" @@ -2477,6 +2905,15 @@ hosted-git-info@^2.1.4: version "2.5.0" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c" +http-errors@~1.6.2: + version "1.6.2" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736" + dependencies: + depd "1.1.1" + inherits "2.0.3" + setprototypeof "1.0.3" + statuses ">= 1.3.1 < 2" + http-signature@~1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" @@ -2485,6 +2922,14 @@ http-signature@~1.1.0: jsprim "^1.2.2" sshpk "^1.7.0" +http-signature@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" + dependencies: + assert-plus "^1.0.0" + jsprim "^1.2.2" + sshpk "^1.7.0" + https-browserify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" @@ -2526,7 +2971,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" @@ -2534,7 +2979,7 @@ inherits@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" -ini@^1.3.0, ini@^1.3.4, ini@~1.3.0: +ini@^1.3.4, ini@~1.3.0: version "1.3.5" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" @@ -2571,6 +3016,12 @@ invert-kv@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" +ipfs-mini@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/ipfs-mini/-/ipfs-mini-1.1.2.tgz#9c0fad3fa00a82c82caed1ae04b3b99ed3b3e95d" + dependencies: + xmlhttprequest "^1.8.0" + is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" @@ -2764,6 +3215,23 @@ isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" +jade@0.26.3: + version "0.26.3" + resolved "https://registry.yarnpkg.com/jade/-/jade-0.26.3.tgz#8f10d7977d8d79f2f6ff862a81b0513ccb25686c" + dependencies: + commander "0.6.1" + mkdirp "0.3.0" + +js-message@1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/js-message/-/js-message-1.0.5.tgz#2300d24b1af08e89dd095bc1a4c9c9cfcb892d15" + +js-queue@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/js-queue/-/js-queue-2.0.0.tgz#362213cf860f468f0125fc6c96abc1742531f948" + dependencies: + easy-stack "^1.0.0" + js-sha3@0.5.5: version "0.5.5" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.5.tgz#baf0c0e8c54ad5903447df96ade7a4a1bca79a4a" @@ -2807,6 +3275,10 @@ json-loader@^0.5.4: version "0.5.7" resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d" +json-schema-to-markdown@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/json-schema-to-markdown/-/json-schema-to-markdown-1.0.3.tgz#4411ca222b2b6760e616663f0bb2bd76bb26ebb8" + json-schema-traverse@^0.3.0: version "0.3.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" @@ -2829,14 +3301,34 @@ json-stringify-safe@*, json-stringify-safe@^5.0, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" +json3@3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" + json5@^0.5.0, json5@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" +jsonfile@^2.1.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" + optionalDependencies: + graceful-fs "^4.1.6" + +jsonfile@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.1.tgz#a5ecc6f65f53f662c4415c7675a0331d0992ec66" + optionalDependencies: + graceful-fs "^4.1.6" + jsonify@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" +jsonschema@^1.1.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/jsonschema/-/jsonschema-1.2.2.tgz#83ab9c63d65bf4d596f91d81195e78772f6452bc" + jsprim@^1.2.2: version "1.4.1" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" @@ -2882,6 +3374,12 @@ kind-of@^4.0.0: dependencies: is-buffer "^1.1.5" +klaw@^1.0.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439" + optionalDependencies: + graceful-fs "^4.1.9" + lazy-cache@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" @@ -2902,6 +3400,10 @@ lcid@^1.0.0: dependencies: invert-kv "^1.0.0" +left-pad@^1.1.1, left-pad@^1.1.3: + version "1.2.0" + resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.2.0.tgz#d30a73c6b8201d8f7d8e7956ba9616087a68e0ee" + levn@^0.3.0, levn@~0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" @@ -2947,11 +3449,62 @@ locate-path@^2.0.0: p-locate "^2.0.0" path-exists "^3.0.0" +lodash._baseassign@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" + dependencies: + lodash._basecopy "^3.0.0" + lodash.keys "^3.0.0" + +lodash._basecopy@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" + +lodash._basecreate@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" + +lodash._getnative@^3.0.0: + version "3.9.1" + resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" + +lodash._isiterateecall@^3.0.0: + version "3.0.9" + resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" + +lodash.assign@^4.0.3, lodash.assign@^4.0.6: + version "4.2.0" + resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" + lodash.cond@^4.3.0: version "4.5.2" resolved "https://registry.yarnpkg.com/lodash.cond/-/lodash.cond-4.5.2.tgz#f471a1da486be60f6ab955d17115523dd1d255d5" -lodash@^4.0.0, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.5.1, lodash@^4.8.0: +lodash.create@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7" + dependencies: + lodash._baseassign "^3.0.0" + lodash._basecreate "^3.0.0" + lodash._isiterateecall "^3.0.0" + +lodash.isarguments@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" + +lodash.isarray@^3.0.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" + +lodash.keys@^3.0.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" + dependencies: + lodash._getnative "^3.0.0" + lodash.isarguments "^3.0.0" + lodash.isarray "^3.0.0" + +lodash@^4.0.0, lodash@^4.11.1, lodash@^4.11.2, lodash@^4.14.0, lodash@^4.17.1, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.5.1, lodash@^4.8.0: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" @@ -2972,6 +3525,10 @@ loud-rejection@^1.0.0: currently-unhandled "^0.4.1" signal-exit "^3.0.0" +lru-cache@2: + version "2.7.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-2.7.3.tgz#6d4524e8b955f95d4f5b58851ce21dd72fb4e952" + lru-cache@^4.0.1: version "4.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55" @@ -3017,7 +3574,11 @@ memory-fs@^0.4.0, memory-fs@~0.4.1: errno "^0.1.3" readable-stream "^2.0.1" -meow@^3.6.0, meow@^3.7.0: +memorystream@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" + +meow@^3.6.0, meow@^3.7.0: version "3.7.0" resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" dependencies: @@ -3061,12 +3622,16 @@ mime-db@~1.30.0: version "1.30.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01" -mime-types@^2.1.12, mime-types@~2.1.7: +mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.7: version "2.1.17" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a" dependencies: mime-db "~1.30.0" +mime@1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" + mimic-fn@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" @@ -3079,6 +3644,13 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" +minimatch@0.3: + version "0.3.0" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-0.3.0.tgz#275d8edaac4f1bb3326472089e7949c8394699dd" + dependencies: + lru-cache "2" + sigmund "~1.0.0" + "minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -3095,16 +3667,52 @@ minimist@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" -minimist@^1.1.3, minimist@^1.2.0: +minimist@1.2.0, minimist@^1.1.3, minimist@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" +mkdirp@0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.3.0.tgz#1bbf5ab1ba827af23575143490426455f481fe1e" + mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" dependencies: minimist "0.0.8" +mocha@^2.4.5: + version "2.5.3" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-2.5.3.tgz#161be5bdeb496771eb9b35745050b622b5aefc58" + dependencies: + commander "2.3.0" + debug "2.2.0" + diff "1.4.0" + escape-string-regexp "1.0.2" + glob "3.2.11" + growl "1.9.2" + jade "0.26.3" + mkdirp "0.5.1" + supports-color "1.2.0" + to-iso-string "0.0.2" + +mocha@^3.2.0, mocha@^3.4.2: + version "3.5.3" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.5.3.tgz#1e0480fe36d2da5858d1eb6acc38418b26eaa20d" + dependencies: + browser-stdout "1.3.0" + commander "2.9.0" + debug "2.6.8" + diff "3.2.0" + escape-string-regexp "1.0.5" + glob "7.1.1" + growl "1.9.2" + he "1.1.1" + json3 "3.3.2" + lodash.create "3.1.1" + mkdirp "0.5.1" + supports-color "3.1.2" + mocha@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/mocha/-/mocha-4.0.1.tgz#0aee5a95cf69a4618820f5e51fa31717117daf1b" @@ -3150,15 +3758,6 @@ natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" -nconf@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/nconf/-/nconf-0.10.0.tgz#da1285ee95d0a922ca6cee75adcf861f48205ad2" - dependencies: - async "^1.4.0" - ini "^1.3.0" - secure-keys "^1.0.0" - yargs "^3.19.0" - ncp@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ncp/-/ncp-2.0.0.tgz#195a21d6c46e361d2fb1281ba38b91e9df7bdbb3" @@ -3169,6 +3768,18 @@ nested-error-stacks@^1.0.0, nested-error-stacks@^1.0.1: dependencies: inherits "~2.0.1" +node-dir@0.1.16: + version "0.1.16" + resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.16.tgz#d2ef583aa50b90d93db8cdd26fcea58353957fe4" + dependencies: + minimatch "^3.0.2" + +node-dir@^0.1.16: + version "0.1.17" + resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.17.tgz#5f5665d93351335caabef8f1c554516cf5f1e4e5" + dependencies: + minimatch "^3.0.2" + node-fetch@^1.0.1: version "1.7.3" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" @@ -3176,6 +3787,21 @@ node-fetch@^1.0.1: encoding "^0.1.11" is-stream "^1.0.1" +node-glob@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/node-glob/-/node-glob-1.2.0.tgz#5240ffedefc6d663ce8515e5796a4d47a750c0d5" + dependencies: + async "^1.3.0" + glob-to-regexp "^0.1.0" + +node-ipc@^9.1.1: + version "9.1.1" + resolved "https://registry.yarnpkg.com/node-ipc/-/node-ipc-9.1.1.tgz#4e245ed6938e65100e595ebc5dc34b16e8dd5d69" + dependencies: + event-pubsub "4.3.0" + js-message "1.0.5" + js-queue "2.0.0" + node-libs-browser@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.1.0.tgz#5f94263d404f6e44767d726901fff05478d600df" @@ -3220,6 +3846,12 @@ node-pre-gyp@^0.6.39: tar "^2.2.1" tar-pack "^3.4.0" +nodegit-promise@~4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/nodegit-promise/-/nodegit-promise-4.0.0.tgz#5722b184f2df7327161064a791d2e842c9167b34" + dependencies: + asap "~2.0.3" + nopt@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" @@ -3242,6 +3874,12 @@ normalize-path@^2.0.0, normalize-path@^2.0.1: dependencies: remove-trailing-separator "^1.0.1" +npm-programmatic@0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/npm-programmatic/-/npm-programmatic-0.0.6.tgz#3c8f4dbb210efd65b99ee6a5ac76f27b4d5d6b78" + dependencies: + bluebird "^3.4.1" + npm-run-path@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" @@ -3307,7 +3945,7 @@ number-to-bn@1.7.0: bn.js "4.11.6" strip-hex-prefix "1.0.0" -oauth-sign@~0.8.1: +oauth-sign@~0.8.1, oauth-sign@~0.8.2: version "0.8.2" resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" @@ -3326,6 +3964,12 @@ object.omit@^2.0.0: for-own "^0.1.4" is-extendable "^0.1.1" +on-finished@~2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" + dependencies: + ee-first "1.1.1" + once@^1.3.0, once@^1.3.3, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -3366,6 +4010,10 @@ optionator@^0.8.2: type-check "~0.3.2" wordwrap "~1.0.0" +original-require@^1.0.0, original-require@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/original-require/-/original-require-1.0.1.tgz#0f130471584cd33511c5ec38c8d59213f9ac5e20" + os-browserify@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" @@ -3388,7 +4036,7 @@ os-locale@^2.0.0: lcid "^1.0.0" mem "^1.1.0" -os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: +os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.1, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -3454,6 +4102,10 @@ parse-passwd@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" +parseurl@~1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" + path-browserify@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" @@ -3522,6 +4174,10 @@ pbkdf2@^3.0.3, pbkdf2@^3.0.9: safe-buffer "^5.0.1" sha.js "^2.4.8" +pegjs@^0.10.0: + version "0.10.0" + resolved "https://registry.yarnpkg.com/pegjs/-/pegjs-0.10.0.tgz#cf8bafae6eddff4b5a7efb185269eaaf4610ddbd" + pend@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" @@ -3530,6 +4186,10 @@ performance-now@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" +performance-now@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" + pidusage@^1.0.1: version "1.2.0" resolved "https://registry.yarnpkg.com/pidusage/-/pidusage-1.2.0.tgz#65ee96ace4e08a4cd3f9240996c85b367171ee92" @@ -3667,6 +4327,13 @@ promise@^7.0.1, promise@^7.1.1: dependencies: asap "~2.0.3" +promisify-node@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/promisify-node/-/promisify-node-0.4.0.tgz#32803874ec411784e4786c339902a87a179a469c" + dependencies: + nodegit-promise "~4.0.0" + object-assign "^4.0.1" + promisify@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/promisify/-/promisify-0.0.3.tgz#754db61f29ee6476ab543c45b464d21f5ef55686" @@ -3810,6 +4477,10 @@ qs@~6.4.0: version "6.4.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" +qs@~6.5.1: + version "6.5.1" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" + querystring-es3@^0.2.0: version "0.2.1" resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" @@ -3838,6 +4509,10 @@ randomfill@^1.0.3: randombytes "^2.0.5" safe-buffer "^5.1.0" +range-parser@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" + rc@^1.1.7: version "1.2.2" resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.2.tgz#d8ce9cb57e8d64d9c7badd9876c7c34cbe3c7077" @@ -3929,6 +4604,12 @@ regenerator-transform@^0.10.0: babel-types "^6.19.0" private "^0.1.6" +regenerator-transform@^0.12.3: + version "0.12.3" + resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.12.3.tgz#459adfb64f6a27164ab991b7873f45ab969eca8b" + dependencies: + private "^0.1.6" + regex-cache@^0.4.2: version "0.4.4" resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" @@ -3998,10 +4679,41 @@ request@2.81.0: tunnel-agent "^0.6.0" uuid "^3.0.0" +request@^2.12.0, request@^2.83.0: + version "2.83.0" + resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356" + dependencies: + aws-sign2 "~0.7.0" + aws4 "^1.6.0" + caseless "~0.12.0" + combined-stream "~1.0.5" + extend "~3.0.1" + forever-agent "~0.6.1" + form-data "~2.3.1" + har-validator "~5.0.3" + hawk "~6.0.2" + http-signature "~1.2.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.17" + oauth-sign "~0.8.2" + performance-now "^2.1.0" + qs "~6.5.1" + safe-buffer "^5.1.1" + stringstream "~0.0.5" + tough-cookie "~2.3.3" + tunnel-agent "^0.6.0" + uuid "^3.1.0" + require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" +require-from-string@^1.1.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-1.2.1.tgz#529c9ccef27380adfec9a2f965b649bbee636418" + require-main-filename@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" @@ -4043,12 +4755,22 @@ right-align@^0.1.1: dependencies: align-text "^0.1.1" -rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.6.1: +rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1: version "2.6.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" dependencies: glob "^7.0.5" +rimraf@~2.2.6: + version "2.2.8" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.2.8.tgz#e439be2aaee327321952730f99a8929e4fc50582" + +rimraf@~2.4.3: + version "2.4.5" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.4.5.tgz#ee710ce5d93a8fdb856fb5ea8ff0e2d75934b2da" + dependencies: + glob "^6.0.1" + ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.1.tgz#0f4584295c53a3628af7e6d79aca21ce57d1c6e7" @@ -4101,10 +4823,6 @@ secp256k1@^3.0.1: nan "^2.2.1" safe-buffer "^5.1.0" -secure-keys@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/secure-keys/-/secure-keys-1.0.0.tgz#f0c82d98a3b139a8776a8808050b824431087fca" - seek-bzip@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/seek-bzip/-/seek-bzip-1.0.5.tgz#cfe917cb3d274bcffac792758af53173eb1fabdc" @@ -4123,6 +4841,33 @@ semver@~5.1.0: version "5.1.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.1.1.tgz#a3292a373e6f3e0798da0b20641b9a9c5bc47e19" +send@0.16.1: + version "0.16.1" + resolved "https://registry.yarnpkg.com/send/-/send-0.16.1.tgz#a70e1ca21d1382c11d0d9f6231deb281080d7ab3" + dependencies: + debug "2.6.9" + depd "~1.1.1" + destroy "~1.0.4" + encodeurl "~1.0.1" + escape-html "~1.0.3" + etag "~1.8.1" + fresh "0.5.2" + http-errors "~1.6.2" + mime "1.4.1" + ms "2.0.0" + on-finished "~2.3.0" + range-parser "~1.2.0" + statuses "~1.3.1" + +serve-static@^1.10.0: + version "1.13.1" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.1.tgz#4c57d53404a761d8f2e7c1e8a18a47dbf278a719" + dependencies: + encodeurl "~1.0.1" + escape-html "~1.0.3" + parseurl "~1.3.2" + send "0.16.1" + set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -4139,6 +4884,10 @@ setimmediate@^1.0.4, setimmediate@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" +setprototypeof@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04" + sha.js@^2.4.0, sha.js@^2.4.8: version "2.4.9" resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.9.tgz#98f64880474b74f4a38b8da9d3c0f2d104633e7d" @@ -4166,6 +4915,10 @@ shelljs@0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.6.0.tgz#ce1ed837b4b0e55b5ec3dab84251ab9dbdc0c7ec" +sigmund@~1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590" + signal-exit@^3.0.0, signal-exit@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" @@ -4186,6 +4939,40 @@ sntp@1.x.x: dependencies: hoek "2.x.x" +sntp@2.x.x: + version "2.1.0" + resolved "https://registry.yarnpkg.com/sntp/-/sntp-2.1.0.tgz#2c6cec14fedc2222739caf9b5c3d85d1cc5a2cc8" + dependencies: + hoek "4.x.x" + +solc@0.4.18: + version "0.4.18" + resolved "https://registry.yarnpkg.com/solc/-/solc-0.4.18.tgz#83ac6d871dd16a9710e67dbb76dad7f614100702" + dependencies: + fs-extra "^0.30.0" + memorystream "^0.3.1" + require-from-string "^1.1.0" + semver "^5.3.0" + yargs "^4.7.1" + +solidity-parser@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/solidity-parser/-/solidity-parser-0.3.0.tgz#cab04f8e406bdc1f3c16512eec6aa87a1072f8b9" + dependencies: + mocha "^2.4.5" + pegjs "^0.10.0" + yargs "^4.6.0" + +solidity-sha3@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/solidity-sha3/-/solidity-sha3-0.4.1.tgz#17577e93f6cfd58489c4ec7f2da3047530329ec1" + dependencies: + babel-cli "*" + babel-preset-es2015 "*" + babel-register "*" + left-pad "^1.1.1" + web3 "^0.16.0" + source-list-map@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085" @@ -4222,6 +5009,10 @@ source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" +spawn-args@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/spawn-args/-/spawn-args-0.1.0.tgz#3e0232a0571b387907f8b3f544aa531c6224848c" + spawn-command-with-kill@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/spawn-command-with-kill/-/spawn-command-with-kill-1.0.0.tgz#803ad79f2f56e44dd926183768aac2faec7d0ce6" @@ -4275,6 +5066,14 @@ starts-with@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/starts-with/-/starts-with-1.0.2.tgz#16793a729d89d4cf3d4fb2eda2f908ae357f196f" +"statuses@>= 1.3.1 < 2": + version "1.4.0" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" + +statuses@~1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e" + stream-browserify@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" @@ -4319,7 +5118,7 @@ string_decoder@^1.0.0, string_decoder@~1.0.3: dependencies: safe-buffer "~5.1.0" -stringstream@~0.0.4: +stringstream@~0.0.4, stringstream@~0.0.5: version "0.0.5" resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" @@ -4377,6 +5176,16 @@ strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" +supports-color@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-1.2.0.tgz#ff1ed1e61169d06b3cf2d588e188b18d8847e17e" + +supports-color@3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" + dependencies: + has-flag "^1.0.0" + supports-color@4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.4.0.tgz#883f7ddabc165142b2a61427f3352ded195d1a3e" @@ -4459,6 +5268,13 @@ temp-write@^2.1.0: pinkie-promise "^2.0.0" uuid "^2.0.1" +temp@^0.8.3: + version "0.8.3" + resolved "https://registry.yarnpkg.com/temp/-/temp-0.8.3.tgz#e0c6bc4d26b903124410e4fed81103014dfc1f59" + dependencies: + os-tmpdir "^1.0.0" + rimraf "~2.2.6" + text-table@~0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" @@ -4473,6 +5289,12 @@ timers-browserify@^2.0.4: dependencies: setimmediate "^1.0.4" +tmp@^0.0.31: + version "0.0.31" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.31.tgz#8f38ab9438e17315e5dbd8b3657e8bfb277ae4a7" + dependencies: + os-tmpdir "~1.0.1" + tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -4487,11 +5309,15 @@ to-fast-properties@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" +to-iso-string@0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/to-iso-string/-/to-iso-string-0.0.2.tgz#4dc19e664dfccbe25bd8db508b00c6da158255d1" + token-stream@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/token-stream/-/token-stream-0.0.1.tgz#ceeefc717a76c4316f126d0b9dbaa55d7e7df01a" -tough-cookie@~2.3.0: +tough-cookie@~2.3.0, tough-cookie@~2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561" dependencies: @@ -4509,12 +5335,84 @@ trim-right@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" +truffle-artifactor@^2.1.2: + version "2.1.5" + resolved "https://registry.yarnpkg.com/truffle-artifactor/-/truffle-artifactor-2.1.5.tgz#939d6cb333984b56529850e03c3ddaca49006870" + dependencies: + async "^1.5.2" + fs-extra "^1.0.0" + lodash "^4.11.2" + truffle-contract "^2.0.3" + truffle-contract-schema "^0.0.5" + +truffle-artifactor@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/truffle-artifactor/-/truffle-artifactor-3.0.2.tgz#18f05cbcd7ee3b657c70dcb1c7ed981dc321c87d" + dependencies: + async "^1.5.2" + debug "^3.1.0" + fs-extra "^1.0.0" + lodash "^4.11.2" + truffle-contract "^3.0.0" + truffle-contract-schema "^1.0.0" + truffle-expect "^0.0.3" + +truffle-blockchain-utils@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/truffle-blockchain-utils/-/truffle-blockchain-utils-0.0.1.tgz#07a58e55bb0555a64208c9119c0b04ffe1464aa4" + dependencies: + web3 "^0.18.0" + truffle-blockchain-utils@^0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/truffle-blockchain-utils/-/truffle-blockchain-utils-0.0.3.tgz#ae8a111ec124d96504f0e042c6f205c0b3817e29" dependencies: web3 "^0.20.1" +truffle-box@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/truffle-box/-/truffle-box-1.0.3.tgz#13d163cd074ada685cdaac6cf6b5a7d8b4a83793" + dependencies: + fs-extra "^3.0.1" + github-download "^0.5.0" + request "^2.83.0" + tmp "^0.0.31" + vcsurl "^0.1.1" + +truffle-code-utils@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/truffle-code-utils/-/truffle-code-utils-1.1.0.tgz#5c5191d788cf7ece08b4f235535a8fdc885d4454" + +truffle-compile@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/truffle-compile/-/truffle-compile-3.0.4.tgz#4855b5f19d9666374462b6bb529d0c3f1a6a7e13" + dependencies: + async "^2.1.4" + colors "^1.1.2" + debug "^3.1.0" + graphlib "^2.1.1" + solc "0.4.18" + truffle-config "^1.0.4" + truffle-contract-sources "^0.0.1" + truffle-error "^0.0.2" + truffle-expect "^0.0.3" + +truffle-config@^1.0.1, truffle-config@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/truffle-config/-/truffle-config-1.0.4.tgz#6f2eaa4203b8248e7e5335163766f913be35b0bf" + dependencies: + find-up "^2.1.0" + lodash "^4.17.4" + original-require "^1.0.0" + truffle-error "^0.0.2" + truffle-provider "^0.0.4" + +truffle-contract-schema@0.0.5, truffle-contract-schema@^0.0.5: + version "0.0.5" + resolved "https://registry.yarnpkg.com/truffle-contract-schema/-/truffle-contract-schema-0.0.5.tgz#5e9d20bd0bf2a27fe94310748249d484eee49961" + dependencies: + crypto-js "^3.1.9-1" + truffle-contract-schema@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/truffle-contract-schema/-/truffle-contract-schema-1.0.1.tgz#08ceaefe71062a8ac9ab881a77a30fda3744176e" @@ -4522,6 +5420,39 @@ truffle-contract-schema@^1.0.0: ajv "^5.1.1" crypto-js "^3.1.9-1" +truffle-contract-sources@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/truffle-contract-sources/-/truffle-contract-sources-0.0.1.tgz#29b6270366c86109cbb0eb307418fc6b2795d7fd" + dependencies: + node-dir "^0.1.16" + +truffle-contract@^1.1.6: + version "1.1.11" + resolved "https://registry.yarnpkg.com/truffle-contract/-/truffle-contract-1.1.11.tgz#ce1fa787f797758aff572f45e8b1174527f6edaa" + dependencies: + ethjs-abi "0.1.8" + truffle-blockchain-utils "0.0.1" + truffle-contract-schema "0.0.5" + web3 "^0.16.0" + +truffle-contract@^2.0.3: + version "2.0.5" + resolved "https://registry.yarnpkg.com/truffle-contract/-/truffle-contract-2.0.5.tgz#3394df90ffa927d106ae3b36b33c6debf9117491" + dependencies: + ethjs-abi "0.1.8" + truffle-blockchain-utils "^0.0.3" + truffle-contract-schema "^0.0.5" + web3 "^0.20.1" + +truffle-contract@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/truffle-contract/-/truffle-contract-3.0.2.tgz#6c703e4872898d8329ab7e3c6e38cd65e6c45894" + dependencies: + ethjs-abi "0.1.8" + truffle-blockchain-utils "^0.0.3" + truffle-contract-schema "^1.0.0" + web3 "^0.20.1" + truffle-contract@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/truffle-contract/-/truffle-contract-3.0.1.tgz#7fd0395571b0c011afb809cbd6441d553e793201" @@ -4531,6 +5462,145 @@ truffle-contract@^3.0.1: truffle-contract-schema "^1.0.0" web3 "^0.20.1" +truffle-core-migrate-without-compile@^4.0.7: + version "4.0.7" + resolved "https://registry.yarnpkg.com/truffle-core-migrate-without-compile/-/truffle-core-migrate-without-compile-4.0.7.tgz#9705a17feff73cbf5d8d1ba83793976ab45ed8eb" + dependencies: + async "^1.4.2" + chai "^3.3.0" + chokidar "^1.4.2" + colors "^1.1.2" + cpr "^0.4.3" + debug "^3.1.0" + del "^2.2.0" + diff "1.4.0" + ethpm "0.0.15" + ethpm-registry "0.0.10" + finalhandler "^0.4.0" + fs-extra "^2.0.0" + ganache-cli "6.0.3" + lodash "^4.5.1" + mkdirp "^0.5.1" + mocha "^3.2.0" + node-dir "0.1.16" + node-ipc "^9.1.1" + original-require "^1.0.0" + serve-static "^1.10.0" + spawn-args "^0.1.0" + temp "^0.8.3" + truffle "^4.0.4" + truffle-artifactor "^3.0.2" + truffle-box "^1.0.3" + truffle-compile "^3.0.4" + truffle-config "^1.0.4" + truffle-contract "^3.0.1" + truffle-contract-sources "^0.0.1" + truffle-debugger "^1.1.0" + truffle-deployer "^2.0.1" + truffle-error "^0.0.2" + truffle-expect "^0.0.3" + truffle-init "^1.0.7" + truffle-migrate "^2.0.1" + truffle-provider "^0.0.4" + truffle-provisioner "^0.1.0" + truffle-require "^1.0.5" + truffle-resolver-fix-relative-path-issue "^4.0.1" + truffle-solidity-utils "^1.1.0" + web3 "^0.20.1" + yargs "^6.6.0" + +truffle-debugger@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/truffle-debugger/-/truffle-debugger-1.1.0.tgz#50d31322d20775b01e55c2264cb8d8263a7a6845" + dependencies: + async "^1.5.2" + node-dir "^0.1.16" + truffle-code-utils "^1.1.0" + truffle-contract "^3.0.0" + truffle-expect "0.0.3" + truffle-solidity-utils "^1.1.0" + web3 "^0.20.1" + +truffle-deployer@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/truffle-deployer/-/truffle-deployer-2.0.1.tgz#0a38729dcbd58784dac5ae6ad8cea34c7a116f96" + dependencies: + truffle-contract "^3.0.0" + truffle-expect "^0.0.3" + +truffle-error@^0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/truffle-error/-/truffle-error-0.0.2.tgz#01b189b78505566ae1689c239c7ca2dd121cfe4c" + +truffle-expect@0.0.3, truffle-expect@^0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/truffle-expect/-/truffle-expect-0.0.3.tgz#9b75cef343bd596e7e5dbc878f5f1b2e318a944c" + +truffle-init@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/truffle-init/-/truffle-init-1.0.7.tgz#c3de57fbddfa77ae93642ae025f41c1157de2ba7" + dependencies: + fs-extra "^2.0.0" + github-download "^0.5.0" + npm-programmatic "0.0.6" + rimraf "^2.5.4" + temp "^0.8.3" + truffle-config "^1.0.1" + +truffle-migrate@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/truffle-migrate/-/truffle-migrate-2.0.1.tgz#72f5c7f7f03578e63e4dbfbd78a7746838b564c2" + dependencies: + async "^2.1.4" + node-dir "^0.1.16" + truffle-deployer "^2.0.1" + truffle-expect "^0.0.3" + truffle-require "^1.0.5" + web3 "^0.20.1" + +truffle-provider@^0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/truffle-provider/-/truffle-provider-0.0.4.tgz#910937a163c47208b65b21befda60ddbd0404a3c" + dependencies: + truffle-error "^0.0.2" + web3 "^0.20.1" + +truffle-provisioner@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/truffle-provisioner/-/truffle-provisioner-0.1.0.tgz#029e5249c1015300738535e04fded931a53c4f62" + +truffle-require@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/truffle-require/-/truffle-require-1.0.5.tgz#7536cfb81e8a6d58ef82f32849a1b242306d347d" + dependencies: + original-require "^1.0.1" + truffle-config "^1.0.4" + truffle-expect "^0.0.3" + web3 "^0.20.1" + +truffle-resolver-fix-relative-path-issue@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/truffle-resolver-fix-relative-path-issue/-/truffle-resolver-fix-relative-path-issue-4.0.1.tgz#db8d72a6c0e4cb0fd2e14e2b67e05db73fc4a9f8" + dependencies: + async "^2.1.4" + truffle-contract "^3.0.0" + truffle-expect "0.0.3" + truffle-provisioner "^0.1.0" + +truffle-solidity-utils@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/truffle-solidity-utils/-/truffle-solidity-utils-1.1.0.tgz#40fb21bfc63082de22e78e66636f31596d5f1d3e" + dependencies: + solidity-parser "^0.3.0" + +truffle@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/truffle/-/truffle-4.0.4.tgz#b447cb3b0469054413b5ff421f6e8baeefddb2be" + dependencies: + mocha "^3.4.2" + original-require "^1.0.1" + solc "0.4.18" + tty-browserify@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" @@ -4541,6 +5611,10 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" +tunnel@0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.2.tgz#f23bcd8b7a7b8a864261b2084f66f93193396334" + tv4@~1.0.18: version "1.0.18" resolved "https://registry.yarnpkg.com/tv4/-/tv4-1.0.18.tgz#7397769f00358e33bf528dc5c8764c61b6de8245" @@ -4555,6 +5629,14 @@ type-check@~0.3.2: dependencies: prelude-ls "~1.1.2" +type-detect@0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822" + +type-detect@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2" + type-detect@^4.0.0, type-detect@^4.0.3: version "4.0.5" resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.5.tgz#d70e5bc81db6de2a381bcaca0c6e0cbdc7635de2" @@ -4611,10 +5693,18 @@ underscore@~1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.7.0.tgz#6bbaf0877500d36be34ecaa584e0db9fef035209" +universalify@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" + unorm@^1.3.3: version "1.4.1" resolved "https://registry.yarnpkg.com/unorm/-/unorm-1.4.1.tgz#364200d5f13646ca8bcd44490271335614792300" +unpipe@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" + url@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" @@ -4652,6 +5742,10 @@ uuid@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" +uuid@^3.1.0: + version "3.2.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" + v8flags@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" @@ -4665,6 +5759,10 @@ validate-npm-package-license@^3.0.1: spdx-correct "~1.0.0" spdx-expression-parse "~1.0.0" +vcsurl@^0.1.1, vcsurl@~0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/vcsurl/-/vcsurl-0.1.1.tgz#5e00a109e7381b55b5d45b892533c8ec35c9320c" + verror@1.10.0: version "1.10.0" resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" @@ -4703,6 +5801,25 @@ web3-typescript-typings@^0.7.2: dependencies: bignumber.js "^4.0.2" +web3@^0.16.0: + version "0.16.0" + resolved "https://registry.yarnpkg.com/web3/-/web3-0.16.0.tgz#a4554175cd462943035b1f1d39432f741c6b6019" + dependencies: + bignumber.js "git+https://github.com/debris/bignumber.js#master" + crypto-js "^3.1.4" + utf8 "^2.1.1" + xmlhttprequest "*" + +web3@^0.18.0, web3@^0.18.2: + version "0.18.4" + resolved "https://registry.yarnpkg.com/web3/-/web3-0.18.4.tgz#81ec1784145491f2eaa8955b31c06049e07c5e7d" + dependencies: + bignumber.js "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" + crypto-js "^3.1.4" + utf8 "^2.1.1" + xhr2 "*" + xmlhttprequest "*" + web3@^0.20.1: version "0.20.3" resolved "https://registry.yarnpkg.com/web3/-/web3-0.20.3.tgz#caa44373dc8815ac8767bddb6ba73073964caa8b" @@ -4747,6 +5864,13 @@ webpack@^3.0.0: webpack-sources "^1.0.1" yargs "^8.0.2" +wget-improved@^1.4.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/wget-improved/-/wget-improved-1.5.0.tgz#fc9e89379f6eba72a5586ccc9d52f5580616f20f" + dependencies: + minimist "1.2.0" + tunnel "0.0.2" + whatwg-fetch@>=0.10.0: version "2.0.3" resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz#9c84ec2dcf68187ff00bc64e1274b442176e1c84" @@ -4755,6 +5879,10 @@ when@: version "3.7.8" resolved "https://registry.yarnpkg.com/when/-/when-3.7.8.tgz#c7130b6a7ea04693e842cdc9e7a1f2aa39a39f82" +which-module@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" + which-module@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" @@ -4775,9 +5903,9 @@ window-size@0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" -window-size@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.4.tgz#f8e1aa1ee5a53ec5bf151ffa09742a6ad7697876" +window-size@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.2.0.tgz#b4315bb4214a3d7058ebeee892e13fa24d98b075" with@^5.0.0: version "5.1.1" @@ -4815,7 +5943,7 @@ xhr2@*: version "0.1.4" resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.4.tgz#7f87658847716db5026323812f818cadab387a5f" -xmlhttprequest@*, xmlhttprequest@1.8.0: +xmlhttprequest@*, xmlhttprequest@1.8.0, xmlhttprequest@^1.8.0: version "1.8.0" resolved "https://registry.yarnpkg.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz#67fe075c5c24fef39f9d65f5f7b7fe75171968fc" @@ -4823,7 +5951,7 @@ xtend@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" -y18n@^3.2.0, y18n@^3.2.1: +y18n@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" @@ -4838,23 +5966,61 @@ yamljs@0.2.7: argparse "^0.1.15" glob "^4.0.0" +yargs-parser@^2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-2.4.1.tgz#85568de3cf150ff49fa51825f03a8c880ddcc5c4" + dependencies: + camelcase "^3.0.0" + lodash.assign "^4.0.6" + +yargs-parser@^4.2.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c" + dependencies: + camelcase "^3.0.0" + yargs-parser@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9" dependencies: camelcase "^4.1.0" -yargs@^3.19.0: - version "3.32.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.32.0.tgz#03088e9ebf9e756b69751611d2a5ef591482c995" +yargs@^4.6.0, yargs@^4.7.1: + version "4.8.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-4.8.1.tgz#c0c42924ca4aaa6b0e6da1739dfb216439f9ddc0" dependencies: - camelcase "^2.0.1" - cliui "^3.0.3" + cliui "^3.2.0" decamelize "^1.1.1" + get-caller-file "^1.0.1" + lodash.assign "^4.0.3" os-locale "^1.4.0" + read-pkg-up "^1.0.1" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" string-width "^1.0.1" - window-size "^0.1.4" - y18n "^3.2.0" + which-module "^1.0.0" + window-size "^0.2.0" + y18n "^3.2.1" + yargs-parser "^2.4.1" + +yargs@^6.6.0: + version "6.6.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208" + dependencies: + camelcase "^3.0.0" + cliui "^3.2.0" + decamelize "^1.1.1" + get-caller-file "^1.0.1" + os-locale "^1.4.0" + read-pkg-up "^1.0.1" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^1.0.2" + which-module "^1.0.0" + y18n "^3.2.1" + yargs-parser "^4.2.0" yargs@^8.0.2: version "8.0.2" @@ -4890,6 +6056,12 @@ yauzl@^2.4.2: buffer-crc32 "~0.2.3" fd-slicer "~1.0.1" +zeppelin-solidity@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/zeppelin-solidity/-/zeppelin-solidity-1.5.0.tgz#ddb6db9a37ac13d730358a74cf0bd94faaf5eb5f" + dependencies: + dotenv "^4.0.0" + zip-stream@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-1.2.0.tgz#a8bc45f4c1b49699c6b90198baacaacdbcd4ba04"