diff --git a/README.md b/README.md index 8b72afb..7f22449 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,20 @@ **This is an Beta version and may still contain bugs. We are not responsible for any losses caused by this version.** +## Now we construct the DAICO implementation based on RICO's Proof of Donation Architecture. + +Discussing on forum: https://ethresear.ch/t/explanation-of-daicos/465 + +## Testnet deploy to use DAICO (ropsten) + +```bash +$ git clone https://github.com/DRI-network/RICO.git +$ cd RICO +$ git checkout daico-pod +$ export MNEMONIC_KEY="your mnemonic key 12 words" +$ truffle exec exec/DAICO/deploy.js --network ropsten +``` + ## Design Concept RICO is a framework which forms a robust boilerplate for decentralized initial coin offerings (ICO). With RICO your ICO will be more responsible and be easier to set up and launch. @@ -78,6 +92,8 @@ $ export LAUNCHER_ADDR=0x40c75eb39c3a06c50b9109d36b1e488d99aadf97 $ truffle exec exec/KickStarter/deploy.js --network ropsten ``` + + ### Mainnet deploy ```bash @@ -169,3 +185,8 @@ $ truffle test ## LICENSE RICO is licensed under the GNU General Public License v3.0. + +## Support + +Ether: 0x4e3e7AFbc460d54eE67B437BEdF79f3c50DFB279 + diff --git a/build/contracts/AbsPoD.json b/build/contracts/AbsPoD.json index 6b84e22..7ddf701 100644 --- a/build/contracts/AbsPoD.json +++ b/build/contracts/AbsPoD.json @@ -122,20 +122,6 @@ "payable": false, "stateMutability": "view", "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" } ], "bytecode": "0x", @@ -379,49 +365,17 @@ }, "children": [ { - "children": [ - { - "attributes": { - "constant": false, - "name": "newOwner", - "scope": 20, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 16, - "name": "ElementaryTypeName", - "src": "343:7:0" - } - ], - "id": 17, - "name": "VariableDeclaration", - "src": "343:16:0" - } - ], - "id": 16, - "name": "ParameterList", - "src": "338:2:0", "attributes": { "parameters": [ null ] - } + }, + "children": [], + "id": 16, + "name": "ParameterList", + "src": "338:2:0" }, { - "attributes": { - "parameters": [ - null - ] - }, "children": [ { "attributes": { @@ -788,72 +742,6 @@ "id": 45, "name": "FunctionDefinition", "src": "616:55:0" - }, - { - "attributes": { - "body": null, - "constant": true, - "implemented": false, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "getEndtime", - "payable": false, - "scope": 51, - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 46, - "name": "ParameterList", - "src": "691:2:0" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 50, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 47, - "name": "ElementaryTypeName", - "src": "718:7:0" - } - ], - "id": 48, - "name": "VariableDeclaration", - "src": "718:7:0" - } - ], - "id": 49, - "name": "ParameterList", - "src": "717:9:0" - } - ], - "id": 50, - "name": "FunctionDefinition", - "src": "672:55:0" } ], "id": 46, @@ -871,5 +759,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T11:02:22.510Z" + "updatedAt": "2018-01-15T16:10:12.635Z" } \ No newline at end of file diff --git a/build/contracts/ContractManager.json b/build/contracts/ContractManager.json index a62bbd4..181af1c 100644 --- a/build/contracts/ContractManager.json +++ b/build/contracts/ContractManager.json @@ -17,24 +17,7 @@ }, { "constant": true, - "inputs": [ - { - "name": "_mode", - "type": "uint256" - }, - { - "name": "_decimals", - "type": "uint8" - }, - { - "name": "_wallet", - "type": "address" - }, - { - "name": "_params", - "type": "uint256[]" - } - ], + "inputs": [], "name": "version", "outputs": [ { @@ -88,18 +71,18 @@ "type": "constructor" } ], - "bytecode": "0x60606040526040805190810160405280600f81526020017f436f6e74726163744d616e6167657200000000000000000000000000000000008152506000908051906020019061004f9291906100ac565b506040805190810160405280600581526020017f302e392e330000000000000000000000000000000000000000000000000000008152506001908051906020019061009b9291906100ac565b5034156100a757600080fd5b610151565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ed57805160ff191683800117855561011b565b8280016001018555821561011b579182015b8281111561011a5782518255916020019190600101906100ff565b5b509050610128919061012c565b5090565b61014e91905b8082111561014a576000816000905550600101610132565b5090565b90565b612cad806101606000396000f300606060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461005c57806354fd4d50146100ea578063a07da88714610178575b600080fd5b341561006757600080fd5b61006f610265565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100af578082015181840152602081019050610094565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156100f557600080fd5b6100fd610303565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561013d578082015181840152602081019050610122565b50505050905090810190601f16801561016a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018357600080fd5b610223600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919050506103a1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102fb5780601f106102d0576101008083540402835291602001916102fb565b820191906000526020600020905b8154815290600101906020018083116102de57829003601f168201915b505050505081565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103995780601f1061036e57610100808354040283529160200191610399565b820191906000526020600020905b81548152906001019060200180831161037c57829003601f168201915b505050505081565b6000806000808714156105b1576103b661079b565b604051809103906000f08015156103cc57600080fd5b91508173ffffffffffffffffffffffffffffffffffffffff1663c7d365b086888760008151811015156103fb57fe5b9060200190602002015188600181518110151561041457fe5b9060200190602002015189600281518110151561042d57fe5b906020019060200201516000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018560ff1660ff16815260200184815260200183815260200182815260200195505050505050602060405180830381600087803b15156104df57600080fd5b6102c65a03f115156104f057600080fd5b50505060405180519050508173ffffffffffffffffffffffffffffffffffffffff1663f2fde38b896040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b151561059557600080fd5b6102c65a03f115156105a657600080fd5b505050819250610790565b600187141561078f576105c26107ab565b604051809103906000f08015156105d857600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff1663a4a2a9f68686600081518110151561060657fe5b9060200190602002015187600181518110151561061f57fe5b906020019060200201516000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019350505050602060405180830381600087803b15156106bd57600080fd5b6102c65a03f115156106ce57600080fd5b50505060405180519050508073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b896040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b151561077357600080fd5b6102c65a03f1151561078457600080fd5b505050809250610790565b5b505095945050505050565b604051611344806107bc83390190565b60405161118280611b00833901905600606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280603081526020017f53696d706c65506f4420737472617465677920746f6b656e207072696365203d81526020017f20636170546f6b656e2f63617057656900000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b6110fe80620002466000396000f30060606040526004361061011d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461012857806309fc93c1146101b6578063112ed3f514610203578063200d2ed214610254578063439f5ac21461028b5780634b94f50e146102b45780634bb278f3146102dd578063521eb273146102f257806354fd4d50146103475780636ccce7a8146103d557806383786f8c146103fe5780638da5cb5b1461044b5780638f85f92c146104a057806397722acf146104cd5780639b3dfce0146104f6578063ba3f5a1214610523578063c7d365b01461054c578063c828371e146105c4578063ed88c68e146105ed578063ef78d4fd1461060f578063f2fde38b14610638575b610125610671565b50005b341561013357600080fd5b61013b6107dc565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561017b578082015181840152602081019050610160565b50505050905090810190601f1680156101a85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c157600080fd5b6101ed600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061087a565b6040518082815260200191505060405180910390f35b341561020e57600080fd5b61023a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108c3565b604051808215151515815260200191505060405180910390f35b341561025f57600080fd5b6102676109a1565b6040518082600281111561027757fe5b60ff16815260200191505060405180910390f35b341561029657600080fd5b61029e6109b4565b6040518082815260200191505060405180910390f35b34156102bf57600080fd5b6102c76109be565b6040518082815260200191505060405180910390f35b34156102e857600080fd5b6102f06109c8565b005b34156102fd57600080fd5b610305610a86565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561035257600080fd5b61035a610aac565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561039a57808201518184015260208101905061037f565b50505050905090810190601f1680156103c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103e057600080fd5b6103e8610b4a565b6040518082815260200191505060405180910390f35b341561040957600080fd5b610435600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b54565b6040518082815260200191505060405180910390f35b341561045657600080fd5b61045e610bae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104ab57600080fd5b6104b3610bd3565b604051808215151515815260200191505060405180910390f35b34156104d857600080fd5b6104e0610c13565b6040518082815260200191505060405180910390f35b341561050157600080fd5b610509610c1d565b604051808215151515815260200191505060405180910390f35b341561052e57600080fd5b610536610c5e565b6040518082815260200191505060405180910390f35b341561055757600080fd5b6105aa600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff16906020019091908035906020019091908035906020019091908035906020019091905050610c64565b604051808215151515815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610dd3565b6040518082815260200191505060405180910390f35b6105f5610671565b604051808215151515815260200191505060405180910390f35b341561061a57600080fd5b610622610ddd565b6040518082815260200191505060405180910390f35b341561064357600080fd5b61066f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de3565b005b60006001600281111561068057fe5b600b60009054906101000a900460ff16600281111561069b57fe5b1415156106a757600080fd5b60045442101515156106b857600080fd5b6412a05f20003a111515156106cc57600080fd5b6000341115156106db57600080fd5b6106e433610f38565b151561074f57426005819055506002600b60006101000a81548160ff0219169083600281111561071057fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6107643460075461109b90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561092057600080fd5b60028081111561092c57fe5b600b60009054906101000a900460ff16600281111561094757fe5b14151561095357600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600160028111156109d557fe5b600b60009054906101000a900460ff1660028111156109f057fe5b1415156109fc57600080fd5b610a13600d5460045461109b90919063ffffffff16565b42111515610a2057600080fd5b426005819055506002600b60006101000a81548160ff02191690836002811115610a4657fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a1565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b425780601f10610b1757610100808354040283529160200191610b42565b820191906000526020600020905b815481529060010190602001808311610b2557829003601f168201915b505050505081565b6000600954905090565b6000600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c5402811515610ba657fe5b049050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610be157fe5b600b60009054906101000a900460ff166002811115610bfc57fe5b1415610c0b5760019050610c10565b600090505b90565b6000600854905090565b600060016002811115610c2c57fe5b600b60009054906101000a900460ff166002811115610c4757fe5b1415610c565760019050610c5b565b600090505b90565b600c5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cc157600080fd5b60006002811115610cce57fe5b600b60009054906101000a900460ff166002811115610ce957fe5b141515610cf557600080fd5b60008673ffffffffffffffffffffffffffffffffffffffff1614151515610d1b57600080fd5b8360048190555085600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460ff16600a0a600c819055508260088190555081600981905550600854600954600c5402811515610d9157fe5b0460068190555062093a80600d819055506001600b60006101000a81548160ff02191690836002811115610dc157fe5b02179055506001905095945050505050565b6000600454905090565b600d5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e3e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610e7a57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080610f52600d5460045461109b90919063ffffffff16565b4211151515610f6057600080fd5b610f776007546009546110b990919063ffffffff16565b9050803411151515610f8857600080fd5b610fda34600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461109b90919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050151561107f57600080fd5b803414156110905760009150611095565b600191505b50919050565b60008082840190508381101515156110af57fe5b8091505092915050565b60008282111515156110c757fe5b8183039050929150505600a165627a7a72305820286bab54ee7ba2808756c1d2ea20abd991c2acaafbff9a9d674aee41381982d70029606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280602c81526020017f546f6b656e4d696e74506f44206d65616e2074686174206d696e74696e67205481526020017f6f6b656e20746f20757365720000000000000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b610f3c80620002466000396000f300606060405260043610610112576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461011d57806309fc93c1146101ab5780630d668087146101f8578063112ed3f514610221578063200d2ed214610272578063439f5ac2146102a95780634b94f50e146102d25780634bb278f3146102fb578063521eb2731461031057806354fd4d50146103655780636ccce7a8146103f357806383786f8c1461041c5780638da5cb5b146104695780638f85f92c146104be57806397722acf146104eb5780639b3dfce014610514578063a4a2a9f614610541578063c828371e146105a4578063ed88c68e146105cd578063f2fde38b146105ef575b61011a610628565b50005b341561012857600080fd5b610130610793565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610170578082015181840152602081019050610155565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b657600080fd5b6101e2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610831565b6040518082815260200191505060405180910390f35b341561020357600080fd5b61020b61087a565b6040518082815260200191505060405180910390f35b341561022c57600080fd5b610258600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610880565b604051808215151515815260200191505060405180910390f35b341561027d57600080fd5b61028561095e565b6040518082600281111561029557fe5b60ff16815260200191505060405180910390f35b34156102b457600080fd5b6102bc610971565b6040518082815260200191505060405180910390f35b34156102dd57600080fd5b6102e561097b565b6040518082815260200191505060405180910390f35b341561030657600080fd5b61030e610985565b005b341561031b57600080fd5b6103236109ab565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037057600080fd5b6103786109d1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103b857808201518184015260208101905061039d565b50505050905090810190601f1680156103e55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103fe57600080fd5b610406610a6f565b6040518082815260200191505060405180910390f35b341561042757600080fd5b610453600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a79565b6040518082815260200191505060405180910390f35b341561047457600080fd5b61047c610b28565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104c957600080fd5b6104d1610b4d565b604051808215151515815260200191505060405180910390f35b34156104f657600080fd5b6104fe610b8d565b6040518082815260200191505060405180910390f35b341561051f57600080fd5b610527610b97565b604051808215151515815260200191505060405180910390f35b341561054c57600080fd5b61058a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091908035906020019091905050610bd8565b604051808215151515815260200191505060405180910390f35b34156105af57600080fd5b6105b7610d31565b6040518082815260200191505060405180910390f35b6105d5610628565b604051808215151515815260200191505060405180910390f35b34156105fa57600080fd5b610626600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d3b565b005b60006001600281111561063757fe5b600b60009054906101000a900460ff16600281111561065257fe5b14151561065e57600080fd5b600454421015151561066f57600080fd5b6412a05f20003a1115151561068357600080fd5b60003411151561069257600080fd5b61069b33610e90565b151561070657426005819055506002600b60006101000a81548160ff021916908360028111156106c757fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b61071b34600754610ebf90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108dd57600080fd5b6002808111156108e957fe5b600b60009054906101000a900460ff16600281111561090457fe5b14151561091057600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b6002600b60006101000a81548160ff021916908360028111156109a457fe5b0217905550565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a675780601f10610a3c57610100808354040283529160200191610a67565b820191906000526020600020905b815481529060010190602001808311610a4a57829003601f168201915b505050505081565b6000600954905090565b6000600d5442111515610a8f5760009050610b23565b610b20600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610edd90919063ffffffff16565b90505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610b5b57fe5b600b60009054906101000a900460ff166002811115610b7657fe5b1415610b855760019050610b8a565b600090505b90565b6000600854905090565b600060016002811115610ba657fe5b600b60009054906101000a900460ff166002811115610bc157fe5b1415610bd05760019050610bd5565b600090505b90565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c3557600080fd5b60006002811115610c4257fe5b600b60009054906101000a900460ff166002811115610c5d57fe5b141515610c6957600080fd5b82600881905550600854600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600d819055506001600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600b60006101000a81548160ff02191690836002811115610d2157fe5b0217905550600190509392505050565b6000600454905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d9657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610dd257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808273ffffffffffffffffffffffffffffffffffffffff16141515610eb657600080fd5b60019050919050565b6000808284019050838110151515610ed357fe5b8091505092915050565b60008082840290506000841480610efe5750828482811515610efb57fe5b04145b1515610f0657fe5b80915050929150505600a165627a7a72305820dfd82a33b2f534f1bb79d33b846c4b2c047d90abbd93c3239fe339e74b5991dd0029a165627a7a72305820739e9651b48478b069785975f3d0163ca20ab2240819bbd169ab9f6f793e789e0029", - "deployedBytecode": "0x606060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461005c57806354fd4d50146100ea578063a07da88714610178575b600080fd5b341561006757600080fd5b61006f610265565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100af578082015181840152602081019050610094565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156100f557600080fd5b6100fd610303565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561013d578082015181840152602081019050610122565b50505050905090810190601f16801561016a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018357600080fd5b610223600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919050506103a1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102fb5780601f106102d0576101008083540402835291602001916102fb565b820191906000526020600020905b8154815290600101906020018083116102de57829003601f168201915b505050505081565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103995780601f1061036e57610100808354040283529160200191610399565b820191906000526020600020905b81548152906001019060200180831161037c57829003601f168201915b505050505081565b6000806000808714156105b1576103b661079b565b604051809103906000f08015156103cc57600080fd5b91508173ffffffffffffffffffffffffffffffffffffffff1663c7d365b086888760008151811015156103fb57fe5b9060200190602002015188600181518110151561041457fe5b9060200190602002015189600281518110151561042d57fe5b906020019060200201516000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018560ff1660ff16815260200184815260200183815260200182815260200195505050505050602060405180830381600087803b15156104df57600080fd5b6102c65a03f115156104f057600080fd5b50505060405180519050508173ffffffffffffffffffffffffffffffffffffffff1663f2fde38b896040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b151561059557600080fd5b6102c65a03f115156105a657600080fd5b505050819250610790565b600187141561078f576105c26107ab565b604051809103906000f08015156105d857600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff1663a4a2a9f68686600081518110151561060657fe5b9060200190602002015187600181518110151561061f57fe5b906020019060200201516000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019350505050602060405180830381600087803b15156106bd57600080fd5b6102c65a03f115156106ce57600080fd5b50505060405180519050508073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b896040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b151561077357600080fd5b6102c65a03f1151561078457600080fd5b505050809250610790565b5b505095945050505050565b604051611344806107bc83390190565b60405161118280611b00833901905600606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280603081526020017f53696d706c65506f4420737472617465677920746f6b656e207072696365203d81526020017f20636170546f6b656e2f63617057656900000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b6110fe80620002466000396000f30060606040526004361061011d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461012857806309fc93c1146101b6578063112ed3f514610203578063200d2ed214610254578063439f5ac21461028b5780634b94f50e146102b45780634bb278f3146102dd578063521eb273146102f257806354fd4d50146103475780636ccce7a8146103d557806383786f8c146103fe5780638da5cb5b1461044b5780638f85f92c146104a057806397722acf146104cd5780639b3dfce0146104f6578063ba3f5a1214610523578063c7d365b01461054c578063c828371e146105c4578063ed88c68e146105ed578063ef78d4fd1461060f578063f2fde38b14610638575b610125610671565b50005b341561013357600080fd5b61013b6107dc565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561017b578082015181840152602081019050610160565b50505050905090810190601f1680156101a85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c157600080fd5b6101ed600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061087a565b6040518082815260200191505060405180910390f35b341561020e57600080fd5b61023a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108c3565b604051808215151515815260200191505060405180910390f35b341561025f57600080fd5b6102676109a1565b6040518082600281111561027757fe5b60ff16815260200191505060405180910390f35b341561029657600080fd5b61029e6109b4565b6040518082815260200191505060405180910390f35b34156102bf57600080fd5b6102c76109be565b6040518082815260200191505060405180910390f35b34156102e857600080fd5b6102f06109c8565b005b34156102fd57600080fd5b610305610a86565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561035257600080fd5b61035a610aac565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561039a57808201518184015260208101905061037f565b50505050905090810190601f1680156103c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103e057600080fd5b6103e8610b4a565b6040518082815260200191505060405180910390f35b341561040957600080fd5b610435600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b54565b6040518082815260200191505060405180910390f35b341561045657600080fd5b61045e610bae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104ab57600080fd5b6104b3610bd3565b604051808215151515815260200191505060405180910390f35b34156104d857600080fd5b6104e0610c13565b6040518082815260200191505060405180910390f35b341561050157600080fd5b610509610c1d565b604051808215151515815260200191505060405180910390f35b341561052e57600080fd5b610536610c5e565b6040518082815260200191505060405180910390f35b341561055757600080fd5b6105aa600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff16906020019091908035906020019091908035906020019091908035906020019091905050610c64565b604051808215151515815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610dd3565b6040518082815260200191505060405180910390f35b6105f5610671565b604051808215151515815260200191505060405180910390f35b341561061a57600080fd5b610622610ddd565b6040518082815260200191505060405180910390f35b341561064357600080fd5b61066f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de3565b005b60006001600281111561068057fe5b600b60009054906101000a900460ff16600281111561069b57fe5b1415156106a757600080fd5b60045442101515156106b857600080fd5b6412a05f20003a111515156106cc57600080fd5b6000341115156106db57600080fd5b6106e433610f38565b151561074f57426005819055506002600b60006101000a81548160ff0219169083600281111561071057fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6107643460075461109b90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561092057600080fd5b60028081111561092c57fe5b600b60009054906101000a900460ff16600281111561094757fe5b14151561095357600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600160028111156109d557fe5b600b60009054906101000a900460ff1660028111156109f057fe5b1415156109fc57600080fd5b610a13600d5460045461109b90919063ffffffff16565b42111515610a2057600080fd5b426005819055506002600b60006101000a81548160ff02191690836002811115610a4657fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a1565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b425780601f10610b1757610100808354040283529160200191610b42565b820191906000526020600020905b815481529060010190602001808311610b2557829003601f168201915b505050505081565b6000600954905090565b6000600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c5402811515610ba657fe5b049050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610be157fe5b600b60009054906101000a900460ff166002811115610bfc57fe5b1415610c0b5760019050610c10565b600090505b90565b6000600854905090565b600060016002811115610c2c57fe5b600b60009054906101000a900460ff166002811115610c4757fe5b1415610c565760019050610c5b565b600090505b90565b600c5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cc157600080fd5b60006002811115610cce57fe5b600b60009054906101000a900460ff166002811115610ce957fe5b141515610cf557600080fd5b60008673ffffffffffffffffffffffffffffffffffffffff1614151515610d1b57600080fd5b8360048190555085600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460ff16600a0a600c819055508260088190555081600981905550600854600954600c5402811515610d9157fe5b0460068190555062093a80600d819055506001600b60006101000a81548160ff02191690836002811115610dc157fe5b02179055506001905095945050505050565b6000600454905090565b600d5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e3e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610e7a57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080610f52600d5460045461109b90919063ffffffff16565b4211151515610f6057600080fd5b610f776007546009546110b990919063ffffffff16565b9050803411151515610f8857600080fd5b610fda34600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461109b90919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050151561107f57600080fd5b803414156110905760009150611095565b600191505b50919050565b60008082840190508381101515156110af57fe5b8091505092915050565b60008282111515156110c757fe5b8183039050929150505600a165627a7a72305820286bab54ee7ba2808756c1d2ea20abd991c2acaafbff9a9d674aee41381982d70029606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280602c81526020017f546f6b656e4d696e74506f44206d65616e2074686174206d696e74696e67205481526020017f6f6b656e20746f20757365720000000000000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b610f3c80620002466000396000f300606060405260043610610112576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461011d57806309fc93c1146101ab5780630d668087146101f8578063112ed3f514610221578063200d2ed214610272578063439f5ac2146102a95780634b94f50e146102d25780634bb278f3146102fb578063521eb2731461031057806354fd4d50146103655780636ccce7a8146103f357806383786f8c1461041c5780638da5cb5b146104695780638f85f92c146104be57806397722acf146104eb5780639b3dfce014610514578063a4a2a9f614610541578063c828371e146105a4578063ed88c68e146105cd578063f2fde38b146105ef575b61011a610628565b50005b341561012857600080fd5b610130610793565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610170578082015181840152602081019050610155565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b657600080fd5b6101e2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610831565b6040518082815260200191505060405180910390f35b341561020357600080fd5b61020b61087a565b6040518082815260200191505060405180910390f35b341561022c57600080fd5b610258600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610880565b604051808215151515815260200191505060405180910390f35b341561027d57600080fd5b61028561095e565b6040518082600281111561029557fe5b60ff16815260200191505060405180910390f35b34156102b457600080fd5b6102bc610971565b6040518082815260200191505060405180910390f35b34156102dd57600080fd5b6102e561097b565b6040518082815260200191505060405180910390f35b341561030657600080fd5b61030e610985565b005b341561031b57600080fd5b6103236109ab565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037057600080fd5b6103786109d1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103b857808201518184015260208101905061039d565b50505050905090810190601f1680156103e55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103fe57600080fd5b610406610a6f565b6040518082815260200191505060405180910390f35b341561042757600080fd5b610453600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a79565b6040518082815260200191505060405180910390f35b341561047457600080fd5b61047c610b28565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104c957600080fd5b6104d1610b4d565b604051808215151515815260200191505060405180910390f35b34156104f657600080fd5b6104fe610b8d565b6040518082815260200191505060405180910390f35b341561051f57600080fd5b610527610b97565b604051808215151515815260200191505060405180910390f35b341561054c57600080fd5b61058a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091908035906020019091905050610bd8565b604051808215151515815260200191505060405180910390f35b34156105af57600080fd5b6105b7610d31565b6040518082815260200191505060405180910390f35b6105d5610628565b604051808215151515815260200191505060405180910390f35b34156105fa57600080fd5b610626600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d3b565b005b60006001600281111561063757fe5b600b60009054906101000a900460ff16600281111561065257fe5b14151561065e57600080fd5b600454421015151561066f57600080fd5b6412a05f20003a1115151561068357600080fd5b60003411151561069257600080fd5b61069b33610e90565b151561070657426005819055506002600b60006101000a81548160ff021916908360028111156106c757fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b61071b34600754610ebf90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108dd57600080fd5b6002808111156108e957fe5b600b60009054906101000a900460ff16600281111561090457fe5b14151561091057600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b6002600b60006101000a81548160ff021916908360028111156109a457fe5b0217905550565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a675780601f10610a3c57610100808354040283529160200191610a67565b820191906000526020600020905b815481529060010190602001808311610a4a57829003601f168201915b505050505081565b6000600954905090565b6000600d5442111515610a8f5760009050610b23565b610b20600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610edd90919063ffffffff16565b90505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610b5b57fe5b600b60009054906101000a900460ff166002811115610b7657fe5b1415610b855760019050610b8a565b600090505b90565b6000600854905090565b600060016002811115610ba657fe5b600b60009054906101000a900460ff166002811115610bc157fe5b1415610bd05760019050610bd5565b600090505b90565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c3557600080fd5b60006002811115610c4257fe5b600b60009054906101000a900460ff166002811115610c5d57fe5b141515610c6957600080fd5b82600881905550600854600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600d819055506001600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600b60006101000a81548160ff02191690836002811115610d2157fe5b0217905550600190509392505050565b6000600454905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d9657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610dd257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808273ffffffffffffffffffffffffffffffffffffffff16141515610eb657600080fd5b60019050919050565b6000808284019050838110151515610ed357fe5b8091505092915050565b60008082840290506000841480610efe5750828482811515610efb57fe5b04145b1515610f0657fe5b80915050929150505600a165627a7a72305820dfd82a33b2f534f1bb79d33b846c4b2c047d90abbd93c3239fe339e74b5991dd0029a165627a7a72305820739e9651b48478b069785975f3d0163ca20ab2240819bbd169ab9f6f793e789e0029", - "sourceMap": "221:1125:1:-;;;276:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;318:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;435:36;;;;;;;;221:1125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "221:1125:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;276:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;318:31:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;794:550:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;276:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;318:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;794:550::-;936:7;978:13;1180:17;967:1;958:5;:10;954:197;;;994:15;;:::i;:::-;;;;;;;;;;;;;;;;;;978:31;;1017:3;:8;;;1026:7;1035:9;1046:7;1054:1;1046:10;;;;;;;;;;;;;;;;;;1058:7;1066:1;1058:10;;;;;;;;;;;;;;;;;;1070:7;1078:1;1070:10;;;;;;;;;;;;;;;;;;1017:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1089:3;:21;;;1111:5;1089:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1140:3;1125:19;;;;954:197;1169:1;1160:5;:10;1156:184;;;1200:18;;:::i;:::-;;;;;;;;;;;;;;;;;;1180:38;;1226:4;:9;;;1236:7;1245;1253:1;1245:10;;;;;;;;;;;;;;;;;;1257:7;1265:1;1257:10;;;;;;;;;;;;;;;;;;1226:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1276:4;:22;;;1299:5;1276:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1328:4;1313:20;;;;1156:184;794:550;;;;;;;;;;:::o;221:1125::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\n\nimport \"./PoDs/SimplePoD.sol\";\nimport \"./PoDs/TokenMintPoD.sol\";\n\n/// @title Launcher - RICO Launcher contract\n/// @author - Yusaku Senga - \n/// license let's see in LICENSE\n\n\ncontract ContractManager {\n\n /**\n * Storage\n */\n string public name = \"ContractManager\";\n string public version = \"0.9.3\";\n /**\n * constructor\n * @dev define owner when this contract deployed.\n */\n\n function ContractManager() public {}\n\n /**\n * @dev deploy contract instance to rico kickstarts.\n * @param _rico address of rico.\n * @param _mode Token name of RICO format.\n * @param _decimals Token decimals of RICO format.\n * @param _wallet Founder's multisig wallet.\n * @param _params parameters of pod.\n */\n\n function deploy( \n address _rico, \n uint _mode,\n uint8 _decimals, \n address _wallet,\n uint256[] _params\n ) \n public returns (address) \n {\n if (_mode == 0) {\n SimplePoD pod = new SimplePoD();\n pod.init(_wallet, _decimals, _params[0], _params[1], _params[2]);\n pod.transferOwnership(_rico);\n return address(pod);\n }\n if (_mode == 1) {\n TokenMintPoD mint = new TokenMintPoD();\n mint.init(_wallet, _params[0], _params[1]);\n mint.transferOwnership(_rico);\n return address(mint);\n }\n }\n}\n\n", + "bytecode": "0x60606040526040805190810160405280600f81526020017f436f6e74726163744d616e6167657200000000000000000000000000000000008152506000908051906020019061004f9291906100ac565b506040805190810160405280600581526020017f302e392e330000000000000000000000000000000000000000000000000000008152506001908051906020019061009b9291906100ac565b5034156100a757600080fd5b610151565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ed57805160ff191683800117855561011b565b8280016001018555821561011b579182015b8281111561011a5782518255916020019190600101906100ff565b5b509050610128919061012c565b5090565b61014e91905b8082111561014a576000816000905550600101610132565b5090565b90565b612cad806101606000396000f300606060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461005c57806354fd4d50146100ea578063a07da88714610178575b600080fd5b341561006757600080fd5b61006f610265565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100af578082015181840152602081019050610094565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156100f557600080fd5b6100fd610303565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561013d578082015181840152602081019050610122565b50505050905090810190601f16801561016a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018357600080fd5b610223600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919050506103a1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102fb5780601f106102d0576101008083540402835291602001916102fb565b820191906000526020600020905b8154815290600101906020018083116102de57829003601f168201915b505050505081565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103995780601f1061036e57610100808354040283529160200191610399565b820191906000526020600020905b81548152906001019060200180831161037c57829003601f168201915b505050505081565b6000806000808714156105b1576103b661079b565b604051809103906000f08015156103cc57600080fd5b91508173ffffffffffffffffffffffffffffffffffffffff1663c7d365b086888760008151811015156103fb57fe5b9060200190602002015188600181518110151561041457fe5b9060200190602002015189600281518110151561042d57fe5b906020019060200201516000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018560ff1660ff16815260200184815260200183815260200182815260200195505050505050602060405180830381600087803b15156104df57600080fd5b6102c65a03f115156104f057600080fd5b50505060405180519050508173ffffffffffffffffffffffffffffffffffffffff1663f2fde38b896040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b151561059557600080fd5b6102c65a03f115156105a657600080fd5b505050819250610790565b600187141561078f576105c26107ab565b604051809103906000f08015156105d857600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff1663a4a2a9f68686600081518110151561060657fe5b9060200190602002015187600181518110151561061f57fe5b906020019060200201516000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019350505050602060405180830381600087803b15156106bd57600080fd5b6102c65a03f115156106ce57600080fd5b50505060405180519050508073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b896040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b151561077357600080fd5b6102c65a03f1151561078457600080fd5b505050809250610790565b5b505095945050505050565b604051611344806107bc83390190565b60405161118280611b00833901905600606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280603081526020017f53696d706c65506f4420737472617465677920746f6b656e207072696365203d81526020017f20636170546f6b656e2f63617057656900000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b6110fe80620002466000396000f30060606040526004361061011d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461012857806309fc93c1146101b6578063112ed3f514610203578063200d2ed214610254578063439f5ac21461028b5780634b94f50e146102b45780634bb278f3146102dd578063521eb273146102f257806354fd4d50146103475780636ccce7a8146103d557806383786f8c146103fe5780638da5cb5b1461044b5780638f85f92c146104a057806397722acf146104cd5780639b3dfce0146104f6578063ba3f5a1214610523578063c7d365b01461054c578063c828371e146105c4578063ed88c68e146105ed578063ef78d4fd1461060f578063f2fde38b14610638575b610125610671565b50005b341561013357600080fd5b61013b6107dc565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561017b578082015181840152602081019050610160565b50505050905090810190601f1680156101a85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c157600080fd5b6101ed600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061087a565b6040518082815260200191505060405180910390f35b341561020e57600080fd5b61023a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108c3565b604051808215151515815260200191505060405180910390f35b341561025f57600080fd5b6102676109a1565b6040518082600281111561027757fe5b60ff16815260200191505060405180910390f35b341561029657600080fd5b61029e6109b4565b6040518082815260200191505060405180910390f35b34156102bf57600080fd5b6102c76109be565b6040518082815260200191505060405180910390f35b34156102e857600080fd5b6102f06109c8565b005b34156102fd57600080fd5b610305610a86565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561035257600080fd5b61035a610aac565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561039a57808201518184015260208101905061037f565b50505050905090810190601f1680156103c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103e057600080fd5b6103e8610b4a565b6040518082815260200191505060405180910390f35b341561040957600080fd5b610435600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b54565b6040518082815260200191505060405180910390f35b341561045657600080fd5b61045e610bae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104ab57600080fd5b6104b3610bd3565b604051808215151515815260200191505060405180910390f35b34156104d857600080fd5b6104e0610c13565b6040518082815260200191505060405180910390f35b341561050157600080fd5b610509610c1d565b604051808215151515815260200191505060405180910390f35b341561052e57600080fd5b610536610c5e565b6040518082815260200191505060405180910390f35b341561055757600080fd5b6105aa600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff16906020019091908035906020019091908035906020019091908035906020019091905050610c64565b604051808215151515815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610dd3565b6040518082815260200191505060405180910390f35b6105f5610671565b604051808215151515815260200191505060405180910390f35b341561061a57600080fd5b610622610ddd565b6040518082815260200191505060405180910390f35b341561064357600080fd5b61066f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de3565b005b60006001600281111561068057fe5b600b60009054906101000a900460ff16600281111561069b57fe5b1415156106a757600080fd5b60045442101515156106b857600080fd5b6412a05f20003a111515156106cc57600080fd5b6000341115156106db57600080fd5b6106e433610f38565b151561074f57426005819055506002600b60006101000a81548160ff0219169083600281111561071057fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6107643460075461109b90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561092057600080fd5b60028081111561092c57fe5b600b60009054906101000a900460ff16600281111561094757fe5b14151561095357600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600160028111156109d557fe5b600b60009054906101000a900460ff1660028111156109f057fe5b1415156109fc57600080fd5b610a13600d5460045461109b90919063ffffffff16565b42111515610a2057600080fd5b426005819055506002600b60006101000a81548160ff02191690836002811115610a4657fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a1565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b425780601f10610b1757610100808354040283529160200191610b42565b820191906000526020600020905b815481529060010190602001808311610b2557829003601f168201915b505050505081565b6000600954905090565b6000600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c5402811515610ba657fe5b049050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610be157fe5b600b60009054906101000a900460ff166002811115610bfc57fe5b1415610c0b5760019050610c10565b600090505b90565b6000600854905090565b600060016002811115610c2c57fe5b600b60009054906101000a900460ff166002811115610c4757fe5b1415610c565760019050610c5b565b600090505b90565b600c5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cc157600080fd5b60006002811115610cce57fe5b600b60009054906101000a900460ff166002811115610ce957fe5b141515610cf557600080fd5b60008673ffffffffffffffffffffffffffffffffffffffff1614151515610d1b57600080fd5b8360048190555085600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460ff16600a0a600c819055508260088190555081600981905550600854600954600c5402811515610d9157fe5b0460068190555062093a80600d819055506001600b60006101000a81548160ff02191690836002811115610dc157fe5b02179055506001905095945050505050565b6000600454905090565b600d5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e3e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610e7a57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080610f52600d5460045461109b90919063ffffffff16565b4211151515610f6057600080fd5b610f776007546009546110b990919063ffffffff16565b9050803411151515610f8857600080fd5b610fda34600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461109b90919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050151561107f57600080fd5b803414156110905760009150611095565b600191505b50919050565b60008082840190508381101515156110af57fe5b8091505092915050565b60008282111515156110c757fe5b8183039050929150505600a165627a7a72305820286bab54ee7ba2808756c1d2ea20abd991c2acaafbff9a9d674aee41381982d70029606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280602c81526020017f546f6b656e4d696e74506f44206d65616e2074686174206d696e74696e67205481526020017f6f6b656e20746f20757365720000000000000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b610f3c80620002466000396000f300606060405260043610610112576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461011d57806309fc93c1146101ab5780630d668087146101f8578063112ed3f514610221578063200d2ed214610272578063439f5ac2146102a95780634b94f50e146102d25780634bb278f3146102fb578063521eb2731461031057806354fd4d50146103655780636ccce7a8146103f357806383786f8c1461041c5780638da5cb5b146104695780638f85f92c146104be57806397722acf146104eb5780639b3dfce014610514578063a4a2a9f614610541578063c828371e146105a4578063ed88c68e146105cd578063f2fde38b146105ef575b61011a610628565b50005b341561012857600080fd5b610130610793565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610170578082015181840152602081019050610155565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b657600080fd5b6101e2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610831565b6040518082815260200191505060405180910390f35b341561020357600080fd5b61020b61087a565b6040518082815260200191505060405180910390f35b341561022c57600080fd5b610258600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610880565b604051808215151515815260200191505060405180910390f35b341561027d57600080fd5b61028561095e565b6040518082600281111561029557fe5b60ff16815260200191505060405180910390f35b34156102b457600080fd5b6102bc610971565b6040518082815260200191505060405180910390f35b34156102dd57600080fd5b6102e561097b565b6040518082815260200191505060405180910390f35b341561030657600080fd5b61030e610985565b005b341561031b57600080fd5b6103236109ab565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037057600080fd5b6103786109d1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103b857808201518184015260208101905061039d565b50505050905090810190601f1680156103e55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103fe57600080fd5b610406610a6f565b6040518082815260200191505060405180910390f35b341561042757600080fd5b610453600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a79565b6040518082815260200191505060405180910390f35b341561047457600080fd5b61047c610b28565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104c957600080fd5b6104d1610b4d565b604051808215151515815260200191505060405180910390f35b34156104f657600080fd5b6104fe610b8d565b6040518082815260200191505060405180910390f35b341561051f57600080fd5b610527610b97565b604051808215151515815260200191505060405180910390f35b341561054c57600080fd5b61058a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091908035906020019091905050610bd8565b604051808215151515815260200191505060405180910390f35b34156105af57600080fd5b6105b7610d31565b6040518082815260200191505060405180910390f35b6105d5610628565b604051808215151515815260200191505060405180910390f35b34156105fa57600080fd5b610626600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d3b565b005b60006001600281111561063757fe5b600b60009054906101000a900460ff16600281111561065257fe5b14151561065e57600080fd5b600454421015151561066f57600080fd5b6412a05f20003a1115151561068357600080fd5b60003411151561069257600080fd5b61069b33610e90565b151561070657426005819055506002600b60006101000a81548160ff021916908360028111156106c757fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b61071b34600754610ebf90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108dd57600080fd5b6002808111156108e957fe5b600b60009054906101000a900460ff16600281111561090457fe5b14151561091057600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b6002600b60006101000a81548160ff021916908360028111156109a457fe5b0217905550565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a675780601f10610a3c57610100808354040283529160200191610a67565b820191906000526020600020905b815481529060010190602001808311610a4a57829003601f168201915b505050505081565b6000600954905090565b6000600d5442111515610a8f5760009050610b23565b610b20600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610edd90919063ffffffff16565b90505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610b5b57fe5b600b60009054906101000a900460ff166002811115610b7657fe5b1415610b855760019050610b8a565b600090505b90565b6000600854905090565b600060016002811115610ba657fe5b600b60009054906101000a900460ff166002811115610bc157fe5b1415610bd05760019050610bd5565b600090505b90565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c3557600080fd5b60006002811115610c4257fe5b600b60009054906101000a900460ff166002811115610c5d57fe5b141515610c6957600080fd5b82600881905550600854600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600d819055506001600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600b60006101000a81548160ff02191690836002811115610d2157fe5b0217905550600190509392505050565b6000600454905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d9657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610dd257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808273ffffffffffffffffffffffffffffffffffffffff16141515610eb657600080fd5b60019050919050565b6000808284019050838110151515610ed357fe5b8091505092915050565b60008082840290506000841480610efe5750828482811515610efb57fe5b04145b1515610f0657fe5b80915050929150505600a165627a7a72305820dfd82a33b2f534f1bb79d33b846c4b2c047d90abbd93c3239fe339e74b5991dd0029a165627a7a7230582024a16fc2ab695841488ba47e14df9dea863fe9a64c704d7f77374b9cbcc5871b0029", + "deployedBytecode": "0x606060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461005c57806354fd4d50146100ea578063a07da88714610178575b600080fd5b341561006757600080fd5b61006f610265565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100af578082015181840152602081019050610094565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156100f557600080fd5b6100fd610303565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561013d578082015181840152602081019050610122565b50505050905090810190601f16801561016a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018357600080fd5b610223600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919050506103a1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102fb5780601f106102d0576101008083540402835291602001916102fb565b820191906000526020600020905b8154815290600101906020018083116102de57829003601f168201915b505050505081565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103995780601f1061036e57610100808354040283529160200191610399565b820191906000526020600020905b81548152906001019060200180831161037c57829003601f168201915b505050505081565b6000806000808714156105b1576103b661079b565b604051809103906000f08015156103cc57600080fd5b91508173ffffffffffffffffffffffffffffffffffffffff1663c7d365b086888760008151811015156103fb57fe5b9060200190602002015188600181518110151561041457fe5b9060200190602002015189600281518110151561042d57fe5b906020019060200201516000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018560ff1660ff16815260200184815260200183815260200182815260200195505050505050602060405180830381600087803b15156104df57600080fd5b6102c65a03f115156104f057600080fd5b50505060405180519050508173ffffffffffffffffffffffffffffffffffffffff1663f2fde38b896040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b151561059557600080fd5b6102c65a03f115156105a657600080fd5b505050819250610790565b600187141561078f576105c26107ab565b604051809103906000f08015156105d857600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff1663a4a2a9f68686600081518110151561060657fe5b9060200190602002015187600181518110151561061f57fe5b906020019060200201516000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019350505050602060405180830381600087803b15156106bd57600080fd5b6102c65a03f115156106ce57600080fd5b50505060405180519050508073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b896040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b151561077357600080fd5b6102c65a03f1151561078457600080fd5b505050809250610790565b5b505095945050505050565b604051611344806107bc83390190565b60405161118280611b00833901905600606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280603081526020017f53696d706c65506f4420737472617465677920746f6b656e207072696365203d81526020017f20636170546f6b656e2f63617057656900000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b6110fe80620002466000396000f30060606040526004361061011d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461012857806309fc93c1146101b6578063112ed3f514610203578063200d2ed214610254578063439f5ac21461028b5780634b94f50e146102b45780634bb278f3146102dd578063521eb273146102f257806354fd4d50146103475780636ccce7a8146103d557806383786f8c146103fe5780638da5cb5b1461044b5780638f85f92c146104a057806397722acf146104cd5780639b3dfce0146104f6578063ba3f5a1214610523578063c7d365b01461054c578063c828371e146105c4578063ed88c68e146105ed578063ef78d4fd1461060f578063f2fde38b14610638575b610125610671565b50005b341561013357600080fd5b61013b6107dc565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561017b578082015181840152602081019050610160565b50505050905090810190601f1680156101a85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c157600080fd5b6101ed600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061087a565b6040518082815260200191505060405180910390f35b341561020e57600080fd5b61023a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108c3565b604051808215151515815260200191505060405180910390f35b341561025f57600080fd5b6102676109a1565b6040518082600281111561027757fe5b60ff16815260200191505060405180910390f35b341561029657600080fd5b61029e6109b4565b6040518082815260200191505060405180910390f35b34156102bf57600080fd5b6102c76109be565b6040518082815260200191505060405180910390f35b34156102e857600080fd5b6102f06109c8565b005b34156102fd57600080fd5b610305610a86565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561035257600080fd5b61035a610aac565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561039a57808201518184015260208101905061037f565b50505050905090810190601f1680156103c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103e057600080fd5b6103e8610b4a565b6040518082815260200191505060405180910390f35b341561040957600080fd5b610435600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b54565b6040518082815260200191505060405180910390f35b341561045657600080fd5b61045e610bae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104ab57600080fd5b6104b3610bd3565b604051808215151515815260200191505060405180910390f35b34156104d857600080fd5b6104e0610c13565b6040518082815260200191505060405180910390f35b341561050157600080fd5b610509610c1d565b604051808215151515815260200191505060405180910390f35b341561052e57600080fd5b610536610c5e565b6040518082815260200191505060405180910390f35b341561055757600080fd5b6105aa600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff16906020019091908035906020019091908035906020019091908035906020019091905050610c64565b604051808215151515815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610dd3565b6040518082815260200191505060405180910390f35b6105f5610671565b604051808215151515815260200191505060405180910390f35b341561061a57600080fd5b610622610ddd565b6040518082815260200191505060405180910390f35b341561064357600080fd5b61066f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de3565b005b60006001600281111561068057fe5b600b60009054906101000a900460ff16600281111561069b57fe5b1415156106a757600080fd5b60045442101515156106b857600080fd5b6412a05f20003a111515156106cc57600080fd5b6000341115156106db57600080fd5b6106e433610f38565b151561074f57426005819055506002600b60006101000a81548160ff0219169083600281111561071057fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6107643460075461109b90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561092057600080fd5b60028081111561092c57fe5b600b60009054906101000a900460ff16600281111561094757fe5b14151561095357600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600160028111156109d557fe5b600b60009054906101000a900460ff1660028111156109f057fe5b1415156109fc57600080fd5b610a13600d5460045461109b90919063ffffffff16565b42111515610a2057600080fd5b426005819055506002600b60006101000a81548160ff02191690836002811115610a4657fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a1565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b425780601f10610b1757610100808354040283529160200191610b42565b820191906000526020600020905b815481529060010190602001808311610b2557829003601f168201915b505050505081565b6000600954905090565b6000600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c5402811515610ba657fe5b049050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610be157fe5b600b60009054906101000a900460ff166002811115610bfc57fe5b1415610c0b5760019050610c10565b600090505b90565b6000600854905090565b600060016002811115610c2c57fe5b600b60009054906101000a900460ff166002811115610c4757fe5b1415610c565760019050610c5b565b600090505b90565b600c5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cc157600080fd5b60006002811115610cce57fe5b600b60009054906101000a900460ff166002811115610ce957fe5b141515610cf557600080fd5b60008673ffffffffffffffffffffffffffffffffffffffff1614151515610d1b57600080fd5b8360048190555085600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460ff16600a0a600c819055508260088190555081600981905550600854600954600c5402811515610d9157fe5b0460068190555062093a80600d819055506001600b60006101000a81548160ff02191690836002811115610dc157fe5b02179055506001905095945050505050565b6000600454905090565b600d5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e3e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610e7a57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080610f52600d5460045461109b90919063ffffffff16565b4211151515610f6057600080fd5b610f776007546009546110b990919063ffffffff16565b9050803411151515610f8857600080fd5b610fda34600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461109b90919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050151561107f57600080fd5b803414156110905760009150611095565b600191505b50919050565b60008082840190508381101515156110af57fe5b8091505092915050565b60008282111515156110c757fe5b8183039050929150505600a165627a7a72305820286bab54ee7ba2808756c1d2ea20abd991c2acaafbff9a9d674aee41381982d70029606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280602c81526020017f546f6b656e4d696e74506f44206d65616e2074686174206d696e74696e67205481526020017f6f6b656e20746f20757365720000000000000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b610f3c80620002466000396000f300606060405260043610610112576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461011d57806309fc93c1146101ab5780630d668087146101f8578063112ed3f514610221578063200d2ed214610272578063439f5ac2146102a95780634b94f50e146102d25780634bb278f3146102fb578063521eb2731461031057806354fd4d50146103655780636ccce7a8146103f357806383786f8c1461041c5780638da5cb5b146104695780638f85f92c146104be57806397722acf146104eb5780639b3dfce014610514578063a4a2a9f614610541578063c828371e146105a4578063ed88c68e146105cd578063f2fde38b146105ef575b61011a610628565b50005b341561012857600080fd5b610130610793565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610170578082015181840152602081019050610155565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b657600080fd5b6101e2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610831565b6040518082815260200191505060405180910390f35b341561020357600080fd5b61020b61087a565b6040518082815260200191505060405180910390f35b341561022c57600080fd5b610258600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610880565b604051808215151515815260200191505060405180910390f35b341561027d57600080fd5b61028561095e565b6040518082600281111561029557fe5b60ff16815260200191505060405180910390f35b34156102b457600080fd5b6102bc610971565b6040518082815260200191505060405180910390f35b34156102dd57600080fd5b6102e561097b565b6040518082815260200191505060405180910390f35b341561030657600080fd5b61030e610985565b005b341561031b57600080fd5b6103236109ab565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037057600080fd5b6103786109d1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103b857808201518184015260208101905061039d565b50505050905090810190601f1680156103e55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103fe57600080fd5b610406610a6f565b6040518082815260200191505060405180910390f35b341561042757600080fd5b610453600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a79565b6040518082815260200191505060405180910390f35b341561047457600080fd5b61047c610b28565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104c957600080fd5b6104d1610b4d565b604051808215151515815260200191505060405180910390f35b34156104f657600080fd5b6104fe610b8d565b6040518082815260200191505060405180910390f35b341561051f57600080fd5b610527610b97565b604051808215151515815260200191505060405180910390f35b341561054c57600080fd5b61058a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091908035906020019091905050610bd8565b604051808215151515815260200191505060405180910390f35b34156105af57600080fd5b6105b7610d31565b6040518082815260200191505060405180910390f35b6105d5610628565b604051808215151515815260200191505060405180910390f35b34156105fa57600080fd5b610626600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d3b565b005b60006001600281111561063757fe5b600b60009054906101000a900460ff16600281111561065257fe5b14151561065e57600080fd5b600454421015151561066f57600080fd5b6412a05f20003a1115151561068357600080fd5b60003411151561069257600080fd5b61069b33610e90565b151561070657426005819055506002600b60006101000a81548160ff021916908360028111156106c757fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b61071b34600754610ebf90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108dd57600080fd5b6002808111156108e957fe5b600b60009054906101000a900460ff16600281111561090457fe5b14151561091057600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b6002600b60006101000a81548160ff021916908360028111156109a457fe5b0217905550565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a675780601f10610a3c57610100808354040283529160200191610a67565b820191906000526020600020905b815481529060010190602001808311610a4a57829003601f168201915b505050505081565b6000600954905090565b6000600d5442111515610a8f5760009050610b23565b610b20600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610edd90919063ffffffff16565b90505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610b5b57fe5b600b60009054906101000a900460ff166002811115610b7657fe5b1415610b855760019050610b8a565b600090505b90565b6000600854905090565b600060016002811115610ba657fe5b600b60009054906101000a900460ff166002811115610bc157fe5b1415610bd05760019050610bd5565b600090505b90565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c3557600080fd5b60006002811115610c4257fe5b600b60009054906101000a900460ff166002811115610c5d57fe5b141515610c6957600080fd5b82600881905550600854600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600d819055506001600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600b60006101000a81548160ff02191690836002811115610d2157fe5b0217905550600190509392505050565b6000600454905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d9657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610dd257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808273ffffffffffffffffffffffffffffffffffffffff16141515610eb657600080fd5b60019050919050565b6000808284019050838110151515610ed357fe5b8091505092915050565b60008082840290506000841480610efe5750828482811515610efb57fe5b04145b1515610f0657fe5b80915050929150505600a165627a7a72305820dfd82a33b2f534f1bb79d33b846c4b2c047d90abbd93c3239fe339e74b5991dd0029a165627a7a7230582024a16fc2ab695841488ba47e14df9dea863fe9a64c704d7f77374b9cbcc5871b0029", + "sourceMap": "221:1112:1:-;;;276:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;318:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;435:36;;;;;;;;221:1112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "221:1112:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;276:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;318:31:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;781:550:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;276:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;318:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;781:550::-;923:7;965:13;1167:17;954:1;945:5;:10;941:197;;;981:15;;:::i;:::-;;;;;;;;;;;;;;;;;;965:31;;1004:3;:8;;;1013:7;1022:9;1033:7;1041:1;1033:10;;;;;;;;;;;;;;;;;;1045:7;1053:1;1045:10;;;;;;;;;;;;;;;;;;1057:7;1065:1;1057:10;;;;;;;;;;;;;;;;;;1004:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1076:3;:21;;;1098:5;1076:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1127:3;1112:19;;;;941:197;1156:1;1147:5;:10;1143:184;;;1187:18;;:::i;:::-;;;;;;;;;;;;;;;;;;1167:38;;1213:4;:9;;;1223:7;1232;1240:1;1232:10;;;;;;;;;;;;;;;;;;1244:7;1252:1;1244:10;;;;;;;;;;;;;;;;;;1213:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1263:4;:22;;;1286:5;1263:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1315:4;1300:20;;;;1143:184;781:550;;;;;;;;;;:::o;221:1112::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o", + "source": "pragma solidity ^0.4.18;\n\nimport \"./PoDs/SimplePoD.sol\";\nimport \"./PoDs/TokenMintPoD.sol\";\n\n/// @title Launcher - RICO Launcher contract\n/// @author - Yusaku Senga - \n/// license let's see in LICENSE\n\n\ncontract ContractManager {\n\n /**\n * Storage\n */\n string public name = \"ContractManager\";\n string public version = \"0.9.3\";\n /**\n * constructor\n * @dev define owner when this contract deployed.\n */\n\n function ContractManager() public {}\n\n /**\n * @dev deploy a new contract instance.\n * @param _rico address of rico.\n * @param _mode Token name of RICO format.\n * @param _decimals Token decimals of RICO format.\n * @param _wallet Founder's multisig wallet.\n * @param _params parameters of pod.\n */\n\n function deploy( \n address _rico, \n uint _mode,\n uint8 _decimals, \n address _wallet,\n uint256[] _params\n ) \n public returns (address) \n {\n if (_mode == 0) {\n SimplePoD pod = new SimplePoD();\n pod.init(_wallet, _decimals, _params[0], _params[1], _params[2]);\n pod.transferOwnership(_rico);\n return address(pod);\n }\n if (_mode == 1) {\n TokenMintPoD mint = new TokenMintPoD();\n mint.init(_wallet, _params[0], _params[1]);\n mint.transferOwnership(_rico);\n return address(mint);\n }\n }\n}\n\n", "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/ContractManager.sol", "ast": { "attributes": { "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/ContractManager.sol", "exportedSymbols": { "ContractManager": [ - 153 + 148 ] } }, @@ -113,74 +96,64 @@ ".18" ] }, - "id": 53, + "id": 48, "name": "PragmaDirective", "src": "0:24:1" }, { "attributes": { - "SourceUnit": 1613, + "SourceUnit": 3960, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/SimplePoD.sol", "file": "./PoDs/SimplePoD.sol", - "scope": 154, + "scope": 149, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 54, + "id": 49, "name": "ImportDirective", "src": "26:30:1" }, { "attributes": { - "SourceUnit": 1734, + "SourceUnit": 4081, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/TokenMintPoD.sol", "file": "./PoDs/TokenMintPoD.sol", - "scope": 154, + "scope": 149, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 55, + "id": 50, "name": "ImportDirective", "src": "57:33:1" }, { "attributes": { - "SourceUnit": 1150, - "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/TokenMintPoD.sol", - "file": "./PoDs/TokenMintPoD.sol", - "scope": 154, - "symbolAliases": [ - null - ], - "unitAlias": "", "baseContracts": [ null ], "contractDependencies": [ - 1612, - 1733 + 3959, + 4080 ], "contractKind": "contract", "documentation": "@title Launcher - RICO Launcher contract\n @author - Yusaku Senga - \n license let's see in LICENSE", "fullyImplemented": true, "linearizedBaseContracts": [ - 153 + 148 ], - "name": "ContractManager" + "name": "ContractManager", + "scope": 149 }, - "id": 153, - "name": "ContractDefinition", - "src": "221:1125:1", "children": [ { "attributes": { "constant": false, "name": "name", - "scope": 153, + "scope": 148, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -192,7 +165,7 @@ "name": "string", "type": "string storage pointer" }, - "id": 56, + "id": 51, "name": "ElementaryTypeName", "src": "276:6:1" }, @@ -209,12 +182,12 @@ "type": "literal_string \"ContractManager\"", "value": "ContractManager" }, - "id": 57, + "id": 52, "name": "Literal", "src": "297:17:1" } ], - "id": 58, + "id": 53, "name": "VariableDeclaration", "src": "276:38:1" }, @@ -222,7 +195,7 @@ "attributes": { "constant": false, "name": "version", - "scope": 153, + "scope": 148, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -234,7 +207,7 @@ "name": "string", "type": "string storage pointer" }, - "id": 59, + "id": 54, "name": "ElementaryTypeName", "src": "318:6:1" }, @@ -251,12 +224,12 @@ "type": "literal_string \"0.9.3\"", "value": "0.9.3" }, - "id": 60, + "id": 55, "name": "Literal", "src": "342:7:1" } ], - "id": 61, + "id": 56, "name": "VariableDeclaration", "src": "318:31:1" }, @@ -270,7 +243,7 @@ ], "name": "ContractManager", "payable": false, - "scope": 153, + "scope": 148, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -283,7 +256,7 @@ ] }, "children": [], - "id": 62, + "id": 57, "name": "ParameterList", "src": "459:2:1" }, @@ -294,7 +267,7 @@ ] }, "children": [], - "id": 63, + "id": 58, "name": "ParameterList", "src": "469:0:1" }, @@ -305,12 +278,12 @@ ] }, "children": [], - "id": 64, + "id": 59, "name": "Block", "src": "469:2:1" } ], - "id": 65, + "id": 60, "name": "FunctionDefinition", "src": "435:36:1" }, @@ -324,7 +297,7 @@ ], "name": "deploy", "payable": false, - "scope": 153, + "scope": 148, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -336,7 +309,7 @@ "attributes": { "constant": false, "name": "_rico", - "scope": 152, + "scope": 147, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -349,20 +322,20 @@ "name": "address", "type": "address" }, - "id": 66, + "id": 61, "name": "ElementaryTypeName", - "src": "816:7:1" + "src": "803:7:1" } ], - "id": 67, + "id": 62, "name": "VariableDeclaration", - "src": "816:13:1" + "src": "803:13:1" }, { "attributes": { "constant": false, "name": "_mode", - "scope": 152, + "scope": 147, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -375,20 +348,20 @@ "name": "uint", "type": "uint256" }, - "id": 68, + "id": 63, "name": "ElementaryTypeName", - "src": "836:4:1" + "src": "823:4:1" } ], - "id": 69, + "id": 64, "name": "VariableDeclaration", - "src": "836:10:1" + "src": "823:10:1" }, { "attributes": { "constant": false, "name": "_decimals", - "scope": 152, + "scope": 147, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -401,20 +374,20 @@ "name": "uint8", "type": "uint8" }, - "id": 70, + "id": 65, "name": "ElementaryTypeName", - "src": "852:5:1" + "src": "839:5:1" } ], - "id": 71, + "id": 66, "name": "VariableDeclaration", - "src": "852:15:1" + "src": "839:15:1" }, { "attributes": { "constant": false, "name": "_wallet", - "scope": 152, + "scope": 147, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -427,20 +400,20 @@ "name": "address", "type": "address" }, - "id": 72, + "id": 67, "name": "ElementaryTypeName", - "src": "874:7:1" + "src": "861:7:1" } ], - "id": 73, + "id": 68, "name": "VariableDeclaration", - "src": "874:15:1" + "src": "861:15:1" }, { "attributes": { "constant": false, "name": "_params", - "scope": 152, + "scope": 147, "stateVariable": false, "storageLocation": "default", "type": "uint256[] memory", @@ -459,24 +432,24 @@ "name": "uint256", "type": "uint256" }, - "id": 74, + "id": 69, "name": "ElementaryTypeName", - "src": "895:7:1" + "src": "882:7:1" } ], - "id": 75, + "id": 70, "name": "ArrayTypeName", - "src": "895:9:1" + "src": "882:9:1" } ], - "id": 76, + "id": 71, "name": "VariableDeclaration", - "src": "895:17:1" + "src": "882:17:1" } ], - "id": 77, + "id": 72, "name": "ParameterList", - "src": "809:107:1" + "src": "796:107:1" }, { "children": [ @@ -484,7 +457,7 @@ "attributes": { "constant": false, "name": "", - "scope": 152, + "scope": 147, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -497,19 +470,19 @@ "name": "address", "type": "address" }, - "id": 78, + "id": 73, "name": "ElementaryTypeName", - "src": "936:7:1" + "src": "923:7:1" } ], - "id": 79, + "id": 74, "name": "VariableDeclaration", - "src": "936:7:1" + "src": "923:7:1" } ], - "id": 80, + "id": 75, "name": "ParameterList", - "src": "935:9:1" + "src": "922:9:1" }, { "children": [ @@ -539,13 +512,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 69, + "referencedDeclaration": 64, "type": "uint256", "value": "_mode" }, - "id": 81, + "id": 76, "name": "Identifier", - "src": "958:5:1" + "src": "945:5:1" }, { "attributes": { @@ -560,21 +533,21 @@ "type": "int_const 0", "value": "0" }, - "id": 82, + "id": 77, "name": "Literal", - "src": "967:1:1" + "src": "954:1:1" } ], - "id": 83, + "id": 78, "name": "BinaryOperation", - "src": "958:10:1" + "src": "945:10:1" }, { "children": [ { "attributes": { "assignments": [ - 85 + 80 ] }, "children": [ @@ -582,7 +555,7 @@ "attributes": { "constant": false, "name": "pod", - "scope": 152, + "scope": 147, "stateVariable": false, "storageLocation": "default", "type": "contract SimplePoD", @@ -594,17 +567,17 @@ "attributes": { "contractScope": null, "name": "SimplePoD", - "referencedDeclaration": 1612, + "referencedDeclaration": 3959, "type": "contract SimplePoD" }, - "id": 84, + "id": 79, "name": "UserDefinedTypeName", - "src": "978:9:1" + "src": "965:9:1" } ], - "id": 85, + "id": 80, "name": "VariableDeclaration", - "src": "978:13:1" + "src": "965:13:1" }, { "attributes": { @@ -640,27 +613,27 @@ "attributes": { "contractScope": null, "name": "SimplePoD", - "referencedDeclaration": 1612, + "referencedDeclaration": 3959, "type": "contract SimplePoD" }, - "id": 86, + "id": 81, "name": "UserDefinedTypeName", - "src": "998:9:1" + "src": "985:9:1" } ], - "id": 87, + "id": 82, "name": "NewExpression", - "src": "994:13:1" + "src": "981:13:1" } ], - "id": 88, + "id": 83, "name": "FunctionCall", - "src": "994:15:1" + "src": "981:15:1" } ], - "id": 89, + "id": 84, "name": "VariableDeclarationStatement", - "src": "978:31:1" + "src": "965:31:1" }, { "children": [ @@ -708,7 +681,7 @@ "isPure": false, "lValueRequested": false, "member_name": "init", - "referencedDeclaration": 1500, + "referencedDeclaration": 3847, "type": "function (address,uint8,uint256,uint256,uint256) external returns (bool)" }, "children": [ @@ -718,18 +691,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 85, + "referencedDeclaration": 80, "type": "contract SimplePoD", "value": "pod" }, - "id": 90, + "id": 85, "name": "Identifier", - "src": "1017:3:1" + "src": "1004:3:1" } ], - "id": 92, + "id": 87, "name": "MemberAccess", - "src": "1017:8:1" + "src": "1004:8:1" }, { "attributes": { @@ -737,13 +710,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 73, + "referencedDeclaration": 68, "type": "address", "value": "_wallet" }, - "id": 93, + "id": 88, "name": "Identifier", - "src": "1026:7:1" + "src": "1013:7:1" }, { "attributes": { @@ -751,13 +724,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 71, + "referencedDeclaration": 66, "type": "uint8", "value": "_decimals" }, - "id": 94, + "id": 89, "name": "Identifier", - "src": "1035:9:1" + "src": "1022:9:1" }, { "attributes": { @@ -775,13 +748,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 76, + "referencedDeclaration": 71, "type": "uint256[] memory", "value": "_params" }, - "id": 95, + "id": 90, "name": "Identifier", - "src": "1046:7:1" + "src": "1033:7:1" }, { "attributes": { @@ -796,14 +769,14 @@ "type": "int_const 0", "value": "0" }, - "id": 96, + "id": 91, "name": "Literal", - "src": "1054:1:1" + "src": "1041:1:1" } ], - "id": 97, + "id": 92, "name": "IndexAccess", - "src": "1046:10:1" + "src": "1033:10:1" }, { "attributes": { @@ -821,13 +794,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 76, + "referencedDeclaration": 71, "type": "uint256[] memory", "value": "_params" }, - "id": 98, + "id": 93, "name": "Identifier", - "src": "1058:7:1" + "src": "1045:7:1" }, { "attributes": { @@ -842,14 +815,14 @@ "type": "int_const 1", "value": "1" }, - "id": 99, + "id": 94, "name": "Literal", - "src": "1066:1:1" + "src": "1053:1:1" } ], - "id": 100, + "id": 95, "name": "IndexAccess", - "src": "1058:10:1" + "src": "1045:10:1" }, { "attributes": { @@ -867,13 +840,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 76, + "referencedDeclaration": 71, "type": "uint256[] memory", "value": "_params" }, - "id": 101, + "id": 96, "name": "Identifier", - "src": "1070:7:1" + "src": "1057:7:1" }, { "attributes": { @@ -888,24 +861,24 @@ "type": "int_const 2", "value": "2" }, - "id": 102, + "id": 97, "name": "Literal", - "src": "1078:1:1" + "src": "1065:1:1" } ], - "id": 103, + "id": 98, "name": "IndexAccess", - "src": "1070:10:1" + "src": "1057:10:1" } ], - "id": 104, + "id": 99, "name": "FunctionCall", - "src": "1017:64:1" + "src": "1004:64:1" } ], - "id": 105, + "id": 100, "name": "ExpressionStatement", - "src": "1017:64:1" + "src": "1004:64:1" }, { "children": [ @@ -937,7 +910,7 @@ "isPure": false, "lValueRequested": false, "member_name": "transferOwnership", - "referencedDeclaration": 872, + "referencedDeclaration": 2083, "type": "function (address) external" }, "children": [ @@ -947,18 +920,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 85, + "referencedDeclaration": 80, "type": "contract SimplePoD", "value": "pod" }, - "id": 106, + "id": 101, "name": "Identifier", - "src": "1089:3:1" + "src": "1076:3:1" } ], - "id": 108, + "id": 103, "name": "MemberAccess", - "src": "1089:21:1" + "src": "1076:21:1" }, { "attributes": { @@ -966,27 +939,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 67, + "referencedDeclaration": 62, "type": "address", "value": "_rico" }, - "id": 109, + "id": 104, "name": "Identifier", - "src": "1111:5:1" + "src": "1098:5:1" } ], - "id": 110, + "id": 105, "name": "FunctionCall", - "src": "1089:28:1" + "src": "1076:28:1" } ], - "id": 111, + "id": 106, "name": "ExpressionStatement", - "src": "1089:28:1" + "src": "1076:28:1" }, { "attributes": { - "functionReturnParameters": 80 + "functionReturnParameters": 75 }, "children": [ { @@ -1008,7 +981,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_SimplePoD_$1612", + "typeIdentifier": "t_contract$_SimplePoD_$3959", "typeString": "contract SimplePoD" } ], @@ -1019,9 +992,9 @@ "type": "type(address)", "value": "address" }, - "id": 112, + "id": 107, "name": "ElementaryTypeNameExpression", - "src": "1132:7:1" + "src": "1119:7:1" }, { "attributes": { @@ -1029,33 +1002,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 85, + "referencedDeclaration": 80, "type": "contract SimplePoD", "value": "pod" }, - "id": 113, + "id": 108, "name": "Identifier", - "src": "1140:3:1" + "src": "1127:3:1" } ], - "id": 114, + "id": 109, "name": "FunctionCall", - "src": "1132:12:1" + "src": "1119:12:1" } ], - "id": 115, + "id": 110, "name": "Return", - "src": "1125:19:1" + "src": "1112:19:1" } ], - "id": 116, + "id": 111, "name": "Block", - "src": "970:181:1" + "src": "957:181:1" } ], - "id": 117, + "id": 112, "name": "IfStatement", - "src": "954:197:1" + "src": "941:197:1" }, { "attributes": { @@ -1083,13 +1056,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 69, + "referencedDeclaration": 64, "type": "uint256", "value": "_mode" }, - "id": 118, + "id": 113, "name": "Identifier", - "src": "1160:5:1" + "src": "1147:5:1" }, { "attributes": { @@ -1104,21 +1077,21 @@ "type": "int_const 1", "value": "1" }, - "id": 119, + "id": 114, "name": "Literal", - "src": "1169:1:1" + "src": "1156:1:1" } ], - "id": 120, + "id": 115, "name": "BinaryOperation", - "src": "1160:10:1" + "src": "1147:10:1" }, { "children": [ { "attributes": { "assignments": [ - 122 + 117 ] }, "children": [ @@ -1126,7 +1099,7 @@ "attributes": { "constant": false, "name": "mint", - "scope": 152, + "scope": 147, "stateVariable": false, "storageLocation": "default", "type": "contract TokenMintPoD", @@ -1138,17 +1111,17 @@ "attributes": { "contractScope": null, "name": "TokenMintPoD", - "referencedDeclaration": 1733, + "referencedDeclaration": 4080, "type": "contract TokenMintPoD" }, - "id": 121, + "id": 116, "name": "UserDefinedTypeName", - "src": "1180:12:1" + "src": "1167:12:1" } ], - "id": 122, + "id": 117, "name": "VariableDeclaration", - "src": "1180:17:1" + "src": "1167:17:1" }, { "attributes": { @@ -1184,27 +1157,27 @@ "attributes": { "contractScope": null, "name": "TokenMintPoD", - "referencedDeclaration": 1733, + "referencedDeclaration": 4080, "type": "contract TokenMintPoD" }, - "id": 123, + "id": 118, "name": "UserDefinedTypeName", - "src": "1204:12:1" + "src": "1191:12:1" } ], - "id": 124, + "id": 119, "name": "NewExpression", - "src": "1200:16:1" + "src": "1187:16:1" } ], - "id": 125, + "id": 120, "name": "FunctionCall", - "src": "1200:18:1" + "src": "1187:18:1" } ], - "id": 126, + "id": 121, "name": "VariableDeclarationStatement", - "src": "1180:38:1" + "src": "1167:38:1" }, { "children": [ @@ -1244,7 +1217,7 @@ "isPure": false, "lValueRequested": false, "member_name": "init", - "referencedDeclaration": 1683, + "referencedDeclaration": 4030, "type": "function (address,uint256,uint256) external returns (bool)" }, "children": [ @@ -1254,18 +1227,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 122, + "referencedDeclaration": 117, "type": "contract TokenMintPoD", "value": "mint" }, - "id": 127, + "id": 122, "name": "Identifier", - "src": "1226:4:1" + "src": "1213:4:1" } ], - "id": 129, + "id": 124, "name": "MemberAccess", - "src": "1226:9:1" + "src": "1213:9:1" }, { "attributes": { @@ -1273,13 +1246,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 73, + "referencedDeclaration": 68, "type": "address", "value": "_wallet" }, - "id": 130, + "id": 125, "name": "Identifier", - "src": "1236:7:1" + "src": "1223:7:1" }, { "attributes": { @@ -1297,13 +1270,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 76, + "referencedDeclaration": 71, "type": "uint256[] memory", "value": "_params" }, - "id": 131, + "id": 126, "name": "Identifier", - "src": "1245:7:1" + "src": "1232:7:1" }, { "attributes": { @@ -1318,14 +1291,14 @@ "type": "int_const 0", "value": "0" }, - "id": 132, + "id": 127, "name": "Literal", - "src": "1253:1:1" + "src": "1240:1:1" } ], - "id": 133, + "id": 128, "name": "IndexAccess", - "src": "1245:10:1" + "src": "1232:10:1" }, { "attributes": { @@ -1343,13 +1316,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 76, + "referencedDeclaration": 71, "type": "uint256[] memory", "value": "_params" }, - "id": 134, + "id": 129, "name": "Identifier", - "src": "1257:7:1" + "src": "1244:7:1" }, { "attributes": { @@ -1364,24 +1337,24 @@ "type": "int_const 1", "value": "1" }, - "id": 135, + "id": 130, "name": "Literal", - "src": "1265:1:1" + "src": "1252:1:1" } ], - "id": 136, + "id": 131, "name": "IndexAccess", - "src": "1257:10:1" + "src": "1244:10:1" } ], - "id": 137, + "id": 132, "name": "FunctionCall", - "src": "1226:42:1" + "src": "1213:42:1" } ], - "id": 138, + "id": 133, "name": "ExpressionStatement", - "src": "1226:42:1" + "src": "1213:42:1" }, { "children": [ @@ -1413,7 +1386,7 @@ "isPure": false, "lValueRequested": false, "member_name": "transferOwnership", - "referencedDeclaration": 872, + "referencedDeclaration": 2083, "type": "function (address) external" }, "children": [ @@ -1423,18 +1396,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 122, + "referencedDeclaration": 117, "type": "contract TokenMintPoD", "value": "mint" }, - "id": 139, + "id": 134, "name": "Identifier", - "src": "1276:4:1" + "src": "1263:4:1" } ], - "id": 141, + "id": 136, "name": "MemberAccess", - "src": "1276:22:1" + "src": "1263:22:1" }, { "attributes": { @@ -1442,27 +1415,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 67, + "referencedDeclaration": 62, "type": "address", "value": "_rico" }, - "id": 142, + "id": 137, "name": "Identifier", - "src": "1299:5:1" + "src": "1286:5:1" } ], - "id": 143, + "id": 138, "name": "FunctionCall", - "src": "1276:29:1" + "src": "1263:29:1" } ], - "id": 144, + "id": 139, "name": "ExpressionStatement", - "src": "1276:29:1" + "src": "1263:29:1" }, { "attributes": { - "functionReturnParameters": 80 + "functionReturnParameters": 75 }, "children": [ { @@ -1484,7 +1457,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_TokenMintPoD_$1733", + "typeIdentifier": "t_contract$_TokenMintPoD_$4080", "typeString": "contract TokenMintPoD" } ], @@ -1495,9 +1468,9 @@ "type": "type(address)", "value": "address" }, - "id": 145, + "id": 140, "name": "ElementaryTypeNameExpression", - "src": "1320:7:1" + "src": "1307:7:1" }, { "attributes": { @@ -1505,2171 +1478,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 122, + "referencedDeclaration": 117, "type": "contract TokenMintPoD", "value": "mint" }, - "id": 146, + "id": 141, "name": "Identifier", - "src": "1328:4:1" + "src": "1315:4:1" } ], - "id": 147, + "id": 142, "name": "FunctionCall", - "src": "1320:13:1" + "src": "1307:13:1" } ], - "id": 148, + "id": 143, "name": "Return", - "src": "1313:20:1" + "src": "1300:20:1" } ], - "id": 149, + "id": 144, "name": "Block", - "src": "1172:168:1" + "src": "1159:168:1" } ], - "id": 150, + "id": 145, "name": "IfStatement", - "src": "1156:184:1" + "src": "1143:184:1" } ], - "id": 151, + "id": 146, "name": "Block", - "src": "948:396:1" + "src": "935:396:1" } ], - "id": 152, + "id": 147, "name": "FunctionDefinition", - "src": "794:550:1" - } - ] - }, - { - "attributes": { - "baseContracts": [ - null - ], - "contractDependencies": [ - 821, - 1028, - 1149 - ], - "contractKind": "contract", - "documentation": "@title Launcher - RICO Launcher contract\n @author - Yusaku Senga - \n license let's see in LICENSE", - "fullyImplemented": true, - "linearizedBaseContracts": [ - 141 - ], - "name": "ContractManager", - "scope": 142 - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "name", - "scope": 141, - "stateVariable": true, - "storageLocation": "default", - "type": "string storage ref", - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "string", - "type": "string storage pointer" - }, - "id": 5, - "name": "ElementaryTypeName", - "src": "313:6:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "436f6e74726163744d616e61676572", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"ContractManager\"", - "value": "ContractManager" - }, - "id": 6, - "name": "Literal", - "src": "334:17:0" - } - ], - "id": 7, - "name": "VariableDeclaration", - "src": "313:38:0" - }, - { - "attributes": { - "constant": false, - "name": "version", - "scope": 141, - "stateVariable": true, - "storageLocation": "default", - "type": "string storage ref", - "visibility": "public" - }, - "children": [ - { - "attributes": { - "name": "string", - "type": "string storage pointer" - }, - "id": 8, - "name": "ElementaryTypeName", - "src": "355:6:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "302e392e33", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "string", - "type": "literal_string \"0.9.3\"", - "value": "0.9.3" - }, - "id": 9, - "name": "Literal", - "src": "379:7:0" - } - ], - "id": 10, - "name": "VariableDeclaration", - "src": "355:31:0" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": true, - "modifiers": [ - null - ], - "name": "ContractManager", - "payable": false, - "scope": 141, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 11, - "name": "ParameterList", - "src": "496:2:0" - }, - { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 12, - "name": "ParameterList", - "src": "506:0:0" - }, - { - "attributes": { - "statements": [ - null - ] - }, - "children": [], - "id": 13, - "name": "Block", - "src": "506:2:0" - } - ], - "id": 14, - "name": "FunctionDefinition", - "src": "472:36:0" - }, - { - "attributes": { - "constant": false, - "implemented": true, - "isConstructor": false, - "modifiers": [ - null - ], - "name": "deploy", - "payable": false, - "scope": 141, - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - "children": [ - { - "children": [ - { - "attributes": { - "constant": false, - "name": "_rico", - "scope": 140, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 15, - "name": "ElementaryTypeName", - "src": "744:7:0" - } - ], - "id": 16, - "name": "VariableDeclaration", - "src": "744:13:0" - }, - { - "attributes": { - "constant": false, - "name": "_mode", - "scope": 140, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 17, - "name": "ElementaryTypeName", - "src": "764:4:0" - } - ], - "id": 18, - "name": "VariableDeclaration", - "src": "764:10:0" - }, - { - "attributes": { - "constant": false, - "name": "_decimals", - "scope": 140, - "stateVariable": false, - "storageLocation": "default", - "type": "uint8", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint8", - "type": "uint8" - }, - "id": 19, - "name": "ElementaryTypeName", - "src": "780:5:0" - } - ], - "id": 20, - "name": "VariableDeclaration", - "src": "780:15:0" - }, - { - "attributes": { - "constant": false, - "name": "_wallet", - "scope": 140, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "address", - "name": "address" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 73, - "name": "ElementaryTypeName", - "src": "804:7:1" - } - ], - "id": 21, - "name": "ElementaryTypeName", - "src": "802:7:0" - } - ], - "id": 22, - "name": "VariableDeclaration", - "src": "802:15:0" - }, - { - "attributes": { - "constant": false, - "name": "_params", - "scope": 140, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256[] memory", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "length": null, - "type": "uint256[] storage pointer" - }, - "children": [ - { - "attributes": { - "name": "uint256", - "type": "uint256" - }, - "id": 23, - "name": "ElementaryTypeName", - "src": "823:7:0" - } - ], - "id": 24, - "name": "ArrayTypeName", - "src": "823:9:0" - } - ], - "id": 25, - "name": "VariableDeclaration", - "src": "823:17:0" - } - ], - "id": 26, - "name": "ParameterList", - "src": "737:107:0" - }, - { - "children": [ - { - "attributes": { - "constant": false, - "name": "", - "scope": 140, - "stateVariable": false, - "storageLocation": "default", - "type": "address", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "address", - "type": "address" - }, - "id": 27, - "name": "ElementaryTypeName", - "src": "864:7:0" - } - ], - "id": 28, - "name": "VariableDeclaration", - "src": "864:7:0" - } - ], - "id": 29, - "name": "ParameterList", - "src": "863:9:0" - }, - { - "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": 18, - "type": "uint256", - "value": "_mode" - }, - "id": 30, - "name": "Identifier", - "src": "886:5:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 31, - "name": "Literal", - "src": "895:1:0" - } - ], - "id": 32, - "name": "BinaryOperation", - "src": "886:10:0" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 34 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "pod", - "scope": 140, - "stateVariable": false, - "storageLocation": "default", - "type": "contract SimplePoD", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SimplePoD", - "referencedDeclaration": 1028, - "type": "contract SimplePoD" - }, - "id": 33, - "name": "UserDefinedTypeName", - "src": "906:9:0" - } - ], - "id": 34, - "name": "VariableDeclaration", - "src": "906:13:0" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract SimplePoD", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "function () returns (contract SimplePoD)" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "SimplePoD", - "referencedDeclaration": 1028, - "type": "contract SimplePoD" - }, - "id": 35, - "name": "UserDefinedTypeName", - "src": "926:9:0" - } - ], - "id": 36, - "name": "NewExpression", - "src": "922:13:0" - } - ], - "id": 37, - "name": "FunctionCall", - "src": "922:15:0" - } - ], - "id": 38, - "name": "VariableDeclarationStatement", - "src": "906:31:0" - }, - { - "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_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "init", - "referencedDeclaration": 916, - "type": "function (address,uint8,uint256,uint256,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 34, - "type": "contract SimplePoD", - "value": "pod" - }, - "id": 39, - "name": "Identifier", - "src": "945:3:0" - } - ], - "id": 41, - "name": "MemberAccess", - "src": "945:8:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 22, - "type": "address", - "value": "_wallet" - }, - "id": 42, - "name": "Identifier", - "src": "954:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 20, - "type": "uint8", - "value": "_decimals" - }, - "id": 43, - "name": "Identifier", - "src": "963:9:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 25, - "type": "uint256[] memory", - "value": "_params" - }, - "id": 44, - "name": "Identifier", - "src": "974:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 45, - "name": "Literal", - "src": "982:1:0" - } - ], - "id": 46, - "name": "IndexAccess", - "src": "974:10:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 25, - "type": "uint256[] memory", - "value": "_params" - }, - "id": 47, - "name": "Identifier", - "src": "986:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 48, - "name": "Literal", - "src": "994:1:0" - } - ], - "id": 49, - "name": "IndexAccess", - "src": "986:10:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 25, - "type": "uint256[] memory", - "value": "_params" - }, - "id": 50, - "name": "Identifier", - "src": "998:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 51, - "name": "Literal", - "src": "1006:1:0" - } - ], - "id": 52, - "name": "IndexAccess", - "src": "998:10:0" - } - ], - "id": 53, - "name": "FunctionCall", - "src": "945:64:0" - } - ], - "id": 54, - "name": "ExpressionStatement", - "src": "945:64:0" - }, - { - "attributes": { - "functionReturnParameters": 81 - }, - "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, - "type": "function (address) external", - "value": "address", - "member_name": "transferOwnership", - "referencedDeclaration": 196 - }, - "id": 57, - "name": "MemberAccess", - "src": "1017:21:0", - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 34, - "type": "contract SimplePoD", - "value": "pod" - }, - "id": 55, - "name": "Identifier", - "src": "1017:3:0" - } - ] - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 16, - "type": "address", - "value": "_rico" - }, - "id": 58, - "name": "Identifier", - "src": "1039:5:0" - } - ], - "id": 59, - "name": "FunctionCall", - "src": "1017:28:0" - } - ], - "id": 60, - "name": "ExpressionStatement", - "src": "1017:28:0" - }, - { - "attributes": { - "functionReturnParameters": 29 - }, - "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$_SimplePoD_$1028", - "typeString": "contract SimplePoD" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 61, - "name": "ElementaryTypeNameExpression", - "src": "1060:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 34, - "type": "contract SimplePoD", - "value": "pod" - }, - "id": 62, - "name": "Identifier", - "src": "1068:3:0" - } - ], - "id": 63, - "name": "FunctionCall", - "src": "1060:12:0" - } - ], - "id": 64, - "name": "Return", - "src": "1053:19:0" - } - ], - "id": 65, - "name": "Block", - "src": "898:181:0" - } - ], - "id": 66, - "name": "IfStatement", - "src": "882:197:0" - }, - { - "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": 18, - "type": "uint256", - "value": "_mode" - }, - "id": 67, - "name": "Identifier", - "src": "1088:5:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 68, - "name": "Literal", - "src": "1097:1:0" - } - ], - "id": 69, - "name": "BinaryOperation", - "src": "1088:10:0" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 71 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "mint", - "scope": 140, - "stateVariable": false, - "storageLocation": "default", - "type": "contract TokenMintPoD", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "TokenMintPoD", - "referencedDeclaration": 1149, - "type": "contract TokenMintPoD" - }, - "id": 70, - "name": "UserDefinedTypeName", - "src": "1108:12:0" - } - ], - "id": 71, - "name": "VariableDeclaration", - "src": "1108:17:0" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract TokenMintPoD", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "function () returns (contract TokenMintPoD)" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "TokenMintPoD", - "referencedDeclaration": 1149, - "type": "contract TokenMintPoD" - }, - "id": 72, - "name": "UserDefinedTypeName", - "src": "1132:12:0" - } - ], - "id": 73, - "name": "NewExpression", - "src": "1128:16:0" - } - ], - "id": 74, - "name": "FunctionCall", - "src": "1128:18:0" - } - ], - "id": 75, - "name": "VariableDeclarationStatement", - "src": "1108:38:0" - }, - { - "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" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "init", - "referencedDeclaration": 1099, - "type": "function (address,uint256,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 71, - "type": "contract TokenMintPoD", - "value": "mint" - }, - "id": 76, - "name": "Identifier", - "src": "1154:4:0" - } - ], - "id": 78, - "name": "MemberAccess", - "src": "1154:9:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 22, - "type": "address", - "value": "_wallet" - }, - "id": 79, - "name": "Identifier", - "src": "1164:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 25, - "type": "uint256[] memory", - "value": "_params" - }, - "id": 80, - "name": "Identifier", - "src": "1173:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 81, - "name": "Literal", - "src": "1181:1:0" - } - ], - "id": 82, - "name": "IndexAccess", - "src": "1173:10:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 25, - "type": "uint256[] memory", - "value": "_params" - }, - "id": 83, - "name": "Identifier", - "src": "1185:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 84, - "name": "Literal", - "src": "1193:1:0" - } - ], - "id": 85, - "name": "IndexAccess", - "src": "1185:10:0" - } - ], - "id": 86, - "name": "FunctionCall", - "src": "1154:42:0" - } - ], - "id": 87, - "name": "ExpressionStatement", - "src": "1154:42:0" - }, - { - "attributes": { - "functionReturnParameters": 81 - }, - "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, - "type": "function (address) external", - "value": "address", - "member_name": "transferOwnership", - "referencedDeclaration": 196 - }, - "id": 90, - "name": "MemberAccess", - "src": "1204:22:0", - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 71, - "type": "contract TokenMintPoD", - "value": "mint" - }, - "id": 88, - "name": "Identifier", - "src": "1204:4:0" - } - ] - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 16, - "type": "address", - "value": "_rico" - }, - "id": 91, - "name": "Identifier", - "src": "1227:5:0" - } - ], - "id": 92, - "name": "FunctionCall", - "src": "1204:29:0" - } - ], - "id": 93, - "name": "ExpressionStatement", - "src": "1204:29:0" - }, - { - "attributes": { - "functionReturnParameters": 29 - }, - "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$_TokenMintPoD_$1149", - "typeString": "contract TokenMintPoD" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 94, - "name": "ElementaryTypeNameExpression", - "src": "1248:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 71, - "type": "contract TokenMintPoD", - "value": "mint" - }, - "id": 95, - "name": "Identifier", - "src": "1256:4:0" - } - ], - "id": 96, - "name": "FunctionCall", - "src": "1248:13:0" - } - ], - "id": 97, - "name": "Return", - "src": "1241:20:0" - } - ], - "id": 98, - "name": "Block", - "src": "1100:168:0" - } - ], - "id": 99, - "name": "IfStatement", - "src": "1084:184:0" - }, - { - "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": 18, - "type": "uint256", - "value": "_mode" - }, - "id": 100, - "name": "Identifier", - "src": "1278:5:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 101, - "name": "Literal", - "src": "1287:1:0" - } - ], - "id": 102, - "name": "BinaryOperation", - "src": "1278:10:0" - }, - { - "children": [ - { - "attributes": { - "assignments": [ - 104 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "auction", - "scope": 140, - "stateVariable": false, - "storageLocation": "default", - "type": "contract DutchAuctionPoD", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "DutchAuctionPoD", - "referencedDeclaration": 821, - "type": "contract DutchAuctionPoD" - }, - "id": 103, - "name": "UserDefinedTypeName", - "src": "1298:15:0" - } - ], - "id": 104, - "name": "VariableDeclaration", - "src": "1298:23:0" - }, - { - "attributes": { - "argumentTypes": null, - "arguments": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract DutchAuctionPoD", - "type_conversion": false - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - null - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "type": "function () returns (contract DutchAuctionPoD)" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "DutchAuctionPoD", - "referencedDeclaration": 821, - "type": "contract DutchAuctionPoD" - }, - "id": 105, - "name": "UserDefinedTypeName", - "src": "1328:15:0" - } - ], - "id": 106, - "name": "NewExpression", - "src": "1324:19:0" - } - ], - "id": 107, - "name": "FunctionCall", - "src": "1324:21:0" - } - ], - "id": 108, - "name": "VariableDeclarationStatement", - "src": "1298:47:0" - }, - { - "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_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint32", - "typeString": "uint32" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "init", - "referencedDeclaration": 624, - "type": "function (address,uint8,uint256,uint256,uint256,uint32,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 104, - "type": "contract DutchAuctionPoD", - "value": "auction" - }, - "id": 109, - "name": "Identifier", - "src": "1353:7:0" - } - ], - "id": 111, - "name": "MemberAccess", - "src": "1353:12:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 22, - "type": "address", - "value": "_wallet" - }, - "id": 112, - "name": "Identifier", - "src": "1366:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 20, - "type": "uint8", - "value": "_decimals" - }, - "id": 113, - "name": "Identifier", - "src": "1375:9:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 25, - "type": "uint256[] memory", - "value": "_params" - }, - "id": 114, - "name": "Identifier", - "src": "1386:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 115, - "name": "Literal", - "src": "1394:1:0" - } - ], - "id": 116, - "name": "IndexAccess", - "src": "1386:10:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 25, - "type": "uint256[] memory", - "value": "_params" - }, - "id": 117, - "name": "Identifier", - "src": "1398:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 1", - "value": "1" - }, - "id": 118, - "name": "Literal", - "src": "1406:1:0" - } - ], - "id": 119, - "name": "IndexAccess", - "src": "1398:10:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 25, - "type": "uint256[] memory", - "value": "_params" - }, - "id": 120, - "name": "Identifier", - "src": "1410:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "32", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 2", - "value": "2" - }, - "id": 121, - "name": "Literal", - "src": "1418:1:0" - } - ], - "id": 122, - "name": "IndexAccess", - "src": "1410:10:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "uint32", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(uint32)", - "value": "uint32" - }, - "id": 123, - "name": "ElementaryTypeNameExpression", - "src": "1422:6:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 25, - "type": "uint256[] memory", - "value": "_params" - }, - "id": 124, - "name": "Identifier", - "src": "1429:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "33", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 3", - "value": "3" - }, - "id": 125, - "name": "Literal", - "src": "1437:1:0" - } - ], - "id": 126, - "name": "IndexAccess", - "src": "1429:10:0" - } - ], - "id": 127, - "name": "FunctionCall", - "src": "1422:18:0" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "type": "uint256" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 25, - "type": "uint256[] memory", - "value": "_params" - }, - "id": 128, - "name": "Identifier", - "src": "1442:7:0" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "34", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 4", - "value": "4" - }, - "id": 129, - "name": "Literal", - "src": "1450:1:0" - } - ], - "id": 130, - "name": "IndexAccess", - "src": "1442:10:0" - } - ], - "id": 131, - "name": "FunctionCall", - "src": "1353:100:0" - } - ], - "id": 132, - "name": "ExpressionStatement", - "src": "1353:100:0" - }, - { - "attributes": { - "functionReturnParameters": 29 - }, - "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$_DutchAuctionPoD_$821", - "typeString": "contract DutchAuctionPoD" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address", - "member_name": "transferOwnership", - "referencedDeclaration": 905 - }, - "id": 133, - "name": "ElementaryTypeNameExpression", - "src": "1468:7:0", - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 156, - "type": "contract DutchAuctionPoD", - "value": "auction" - }, - "id": 185, - "name": "Identifier", - "src": "1461:7:1" - } - ] - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 104, - "type": "contract DutchAuctionPoD", - "value": "auction" - }, - "id": 134, - "name": "Identifier", - "src": "1476:7:0" - } - ], - "id": 135, - "name": "FunctionCall", - "src": "1468:16:0" - } - ], - "id": 136, - "name": "Return", - "src": "1461:23:0" - }, - { - "attributes": { - "functionReturnParameters": 81 - }, - "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$_DutchAuctionPoD_$1530", - "typeString": "contract DutchAuctionPoD" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 191, - "name": "ElementaryTypeNameExpression", - "src": "1508:7:1" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 156, - "type": "contract DutchAuctionPoD", - "value": "auction" - }, - "id": 192, - "name": "Identifier", - "src": "1516:7:1" - } - ], - "id": 193, - "name": "FunctionCall", - "src": "1508:16:1" - } - ], - "id": 194, - "name": "Return", - "src": "1501:23:1" - } - ], - "id": 137, - "name": "Block", - "src": "1290:201:0" - } - ], - "id": 138, - "name": "IfStatement", - "src": "1274:217:0" - } - ], - "id": 139, - "name": "Block", - "src": "876:624:0" - } - ], - "id": 140, - "name": "FunctionDefinition", - "src": "722:778:0" + "src": "781:550:1" } ], - "id": 141, + "id": 148, "name": "ContractDefinition", - "src": "258:1244:0" + "src": "221:1112:1" } ], - "id": 154, + "id": 149, "name": "SourceUnit", - "src": "0:1348:1" + "src": "0:1335:1" }, "compiler": { "name": "solc", "version": "0.4.18+commit.9cf6e910.Emscripten.clang" }, - "networks": { - "3": { - "events": {}, - "links": {}, - "address": "0x5fef80250a20ec9822caefd1649005d056c2dea0" - }, - "1515684702992": { - "events": {}, - "links": {}, - "address": "0x40c4a27c50b49f33ff047344b185f700d1b3caf6" - }, - "1515686685127": { - "events": {}, - "links": {}, - "address": "0x90a5a086f47468f97024390bd71b641c005ff741" - } - }, + "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T11:16:12.126Z" + "updatedAt": "2018-01-15T16:10:12.635Z" } \ No newline at end of file diff --git a/build/contracts/DaicoPoD.json b/build/contracts/DaicoPoD.json new file mode 100644 index 0000000..88296cd --- /dev/null +++ b/build/contracts/DaicoPoD.json @@ -0,0 +1,11890 @@ +{ + "contractName": "DaicoPoD", + "abi": [ + { + "constant": true, + "inputs": [], + "name": "name", + "outputs": [ + { + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_user", + "type": "address" + } + ], + "name": "getBalanceOfWei", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_user", + "type": "address" + } + ], + "name": "resetWeiBalance", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "status", + "outputs": [ + { + "name": "", + "type": "uint8" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_nextOpenTime", + "type": "uint256" + }, + { + "name": "_nextCloseTime", + "type": "uint256" + }, + { + "name": "_nextTapAmount", + "type": "uint256" + }, + { + "name": "_isDestruct", + "type": "bool" + } + ], + "name": "submitProposal", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "withdraw", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "voterCount", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getEndTime", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lastWithdrawn", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getTokenPrice", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_flag", + "type": "bool" + } + ], + "name": "vote", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "withdrawalToken", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "wallet", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "version", + "outputs": [ + { + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "refund", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_amount", + "type": "uint256" + } + ], + "name": "depositToken", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getCapOfWei", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_user", + "type": "address" + } + ], + "name": "getBalanceOfToken", + "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": true, + "inputs": [], + "name": "isPoDEnded", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getCapOfToken", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "isPoDStarted", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "aggregateVotes", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "refundable", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "getStartTime", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_wallet", + "type": "address" + }, + { + "name": "_tokenDecimals", + "type": "uint8" + }, + { + "name": "_token", + "type": "address" + } + ], + "name": "init", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_newTap", + "type": "uint256" + } + ], + "name": "decreaseTap", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "donate", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": true, + "stateMutability": "payable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "token", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "tap", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "payable": true, + "stateMutability": "payable", + "type": "fallback" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "_user", + "type": "address" + }, + { + "indexed": false, + "name": "_flag", + "type": "bool" + } + ], + "name": "Voted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "_user", + "type": "address" + }, + { + "indexed": false, + "name": "_amount", + "type": "uint256" + } + ], + "name": "DepositToken", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "_user", + "type": "address" + }, + { + "indexed": false, + "name": "_amount", + "type": "uint256" + } + ], + "name": "WithdrawalToken", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "_nextOpenTime", + "type": "uint256" + }, + { + "indexed": false, + "name": "_nextCloseTime", + "type": "uint256" + }, + { + "indexed": false, + "name": "_nextTapAmount", + "type": "uint256" + }, + { + "indexed": false, + "name": "_isDestruct", + "type": "bool" + } + ], + "name": "SubmittedProposal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "_tapAmount", + "type": "uint256" + } + ], + "name": "ModifiedTap", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "_user", + "type": "address" + }, + { + "indexed": false, + "name": "_amount", + "type": "uint256" + }, + { + "indexed": false, + "name": "_time", + "type": "uint256" + } + ], + "name": "Withdraw", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "_user", + "type": "address" + }, + { + "indexed": false, + "name": "_amount", + "type": "uint256" + } + ], + "name": "Refund", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "user", + "type": "address" + }, + { + "indexed": false, + "name": "amount", + "type": "uint256" + } + ], + "name": "Donated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "time", + "type": "uint256" + } + ], + "name": "Ended", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + } + ], + "bytecode": "0x606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040805190810160405280602081526020017f446169636f506f4420737472617465677920746f6b656e20776974682064616f815250600190805190602001906200010b929190620001a6565b506040805190810160405280600581526020017f302e392e330000000000000000000000000000000000000000000000000000008152506002908051906020019062000159929190620001a6565b506000600c819055506000600f819055506000601060006101000a81548160ff0219169083151502179055506000601260006101000a81548160ff02191690831515021790555062000255565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001e957805160ff19168380011785556200021a565b828001600101855582156200021a579182015b8281111562000219578251825591602001919060010190620001fc565b5b5090506200022991906200022d565b5090565b6200025291905b808211156200024e57600081600090555060010162000234565b5090565b90565b6123c380620002656000396000f30060606040526004361061018b576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461019657806309fc93c114610224578063112ed3f514610271578063200d2ed2146102c25780632bb7ba5c146102f95780633ccfd60b1461035157806342169e481461037e578063439f5ac2146103a7578063472c9fcc146103d05780634b94f50e146103f95780634b9f5c98146104225780635188875b1461045f578063521eb2731461048c57806354fd4d50146104e1578063590e1ae31461056f5780636215be771461059c5780636ccce7a8146105d757806383786f8c146106005780638da5cb5b1461064d5780638f85f92c146106a257806397722acf146106cf5780639b3dfce0146106f8578063a980ff0e14610725578063bf89662d1461074e578063c828371e1461077b578063d5466801146107a4578063e3e9dba914610820578063ed88c68e1461085b578063f2fde38b1461087d578063fc0c546a146108b6578063fd2210311461090b575b610193610934565b50005b34156101a157600080fd5b6101a9610a9f565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101e95780820151818401526020810190506101ce565b50505050905090810190601f1680156102165780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022f57600080fd5b61025b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b3d565b6040518082815260200191505060405180910390f35b341561027c57600080fd5b6102a8600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b86565b604051808215151515815260200191505060405180910390f35b34156102cd57600080fd5b6102d5610c64565b604051808260028111156102e557fe5b60ff16815260200191505060405180910390f35b341561030457600080fd5b61033760048080359060200190919080359060200190919080359060200190919080351515906020019091905050610c77565b604051808215151515815260200191505060405180910390f35b341561035c57600080fd5b610364610e61565b604051808215151515815260200191505060405180910390f35b341561038957600080fd5b610391610f9c565b6040518082815260200191505060405180910390f35b34156103b257600080fd5b6103ba610fa2565b6040518082815260200191505060405180910390f35b34156103db57600080fd5b6103e3610fac565b6040518082815260200191505060405180910390f35b341561040457600080fd5b61040c610fb2565b6040518082815260200191505060405180910390f35b341561042d57600080fd5b61044560048080351515906020019091905050610fbc565b604051808215151515815260200191505060405180910390f35b341561046a57600080fd5b610472611207565b604051808215151515815260200191505060405180910390f35b341561049757600080fd5b61049f6114dc565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104ec57600080fd5b6104f4611502565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610534578082015181840152602081019050610519565b50505050905090810190601f1680156105615780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561057a57600080fd5b6105826115a0565b604051808215151515815260200191505060405180910390f35b34156105a757600080fd5b6105bd600480803590602001909190505061180a565b604051808215151515815260200191505060405180910390f35b34156105e257600080fd5b6105ea611a74565b6040518082815260200191505060405180910390f35b341561060b57600080fd5b610637600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611a7e565b6040518082815260200191505060405180910390f35b341561065857600080fd5b610660611aae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156106ad57600080fd5b6106b5611ad3565b604051808215151515815260200191505060405180910390f35b34156106da57600080fd5b6106e2611b13565b6040518082815260200191505060405180910390f35b341561070357600080fd5b61070b611b1d565b604051808215151515815260200191505060405180910390f35b341561073057600080fd5b610738611b5e565b6040518082815260200191505060405180910390f35b341561075957600080fd5b610761611d4e565b604051808215151515815260200191505060405180910390f35b341561078657600080fd5b61078e611d61565b6040518082815260200191505060405180910390f35b34156107af57600080fd5b610806600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611d6b565b604051808215151515815260200191505060405180910390f35b341561082b57600080fd5b6108416004808035906020019091905050611fd5565b604051808215151515815260200191505060405180910390f35b610863610934565b604051808215151515815260200191505060405180910390f35b341561088857600080fd5b6108b4600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050612056565b005b34156108c157600080fd5b6108c96121ab565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561091657600080fd5b61091e6121d1565b6040518082815260200191505060405180910390f35b60006001600281111561094357fe5b600b60009054906101000a900460ff16600281111561095e57fe5b14151561096a57600080fd5b600454421015151561097b57600080fd5b6412a05f20003a1115151561098f57600080fd5b60003411151561099e57600080fd5b6109a7336121d7565b1515610a1257426005819055506002600b60006101000a81548160ff021916908360028111156109d357fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b610a273460075461220790919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b355780601f10610b0a57610100808354040283529160200191610b35565b820191906000526020600020905b815481529060010190602001808311610b1857829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610be357600080fd5b600280811115610bef57fe5b600b60009054906101000a900460ff166002811115610c0a57fe5b141515610c1657600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000610c816122e0565b854210151515610c9057600080fd5b610ca662093a808761220790919063ffffffff16565b8510151515610cb457600080fd5b610ccb61753060115461222590919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410151515610d1857600080fd5b83600c54101515610d2857600080fd5b601260009054906101000a900460ff16151515610d4457600080fd5b60a06040519081016040528087815260200186815260200160008152602001858152602001841515815250905060138054806001018281610d859190612312565b916000526020600020906007020160008390919091506000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055505050506001601260006101000a81548160ff0219169083151502179055507f3d696996f2abbf583fc358a5daf3973152258eac6db8e20775d34ecbc8b8995f86868686604051808581526020018481526020018381526020018215151515815260200194505050505060405180910390a16001915050949350505050565b600080610e7c62278d00600d5461220790919063ffffffff16565b42111515610e8957600080fd5b600c54600d544203029050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610ef657600080fd5b42600d819055507ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600d54604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a1600191505090565b600f5481565b6000600554905090565b600d5481565b6000600654905090565b6000806013600160138054905003815481101515610fd657fe5b9060005260206000209060070201905080600001544210151515610ff957600080fd5b80600101544210151561100b57600080fd5b8060060160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151561106657600080fd5b61107d613a9860115461222590919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101515156110ca57600080fd5b60018160060160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506111516001826005016000861515151581526020019081526020016000205461220790919063ffffffff16565b81600501600085151515158152602001908152602001600020819055506111866001826002015461220790919063ffffffff16565b81600201819055507f8eb81cb806dbb3d8a2f94981614331a55dfd90e06a42fdc362ca3ca96981d92f3384604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a16001915050919050565b6000806000601360016013805490500381548110151561122357fe5b906000526020600020906007020191508160060160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151561128e57600080fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115156112df57600080fd5b601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156113eb57600080fd5b6102c65a03f115156113fc57600080fd5b505050604051805190505061141d6001600f5461225890919063ffffffff16565b600f819055506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fc7007e57228f610de89c329174bb69f87ecbecaf8e44c0e45ef6c83c21a802793382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a160019250505090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156115985780601f1061156d57610100808354040283529160200191611598565b820191906000526020600020905b81548152906001019060200180831161157b57829003601f168201915b505050505081565b600080601060009054906101000a900460ff1615156115be57600080fd5b601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561168357600080fd5b6102c65a03f1151561169457600080fd5b50505060405180519050600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020543073ffffffffffffffffffffffffffffffffffffffff16310281151561170057fe5b04905060008111151561171257600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561175257600080fd5b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d3382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1600191505090565b6000601060009054906101000a900460ff1615151561182857600080fd5b601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b151561192957600080fd5b6102c65a03f1151561193a57600080fd5b50505060405180519050151561194f57600080fd5b6119a182600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461220790919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506119fa6001600f5461220790919063ffffffff16565b600f819055507f2d0c0a8842b9944ece1495eb61121621b5e36bd6af3bba0318c695f525aef79f3383604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a160019050919050565b6000600954905090565b6000808273ffffffffffffffffffffffffffffffffffffffff1614151515611aa557600080fd5b60009050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115611ae157fe5b600b60009054906101000a900460ff166002811115611afc57fe5b1415611b0b5760019050611b10565b600090505b90565b6000600854905090565b600060016002811115611b2c57fe5b600b60009054906101000a900460ff166002811115611b4757fe5b1415611b565760019050611b5b565b600090505b90565b60008060008060006013600160138054905003815481101515611b7d57fe5b9060005260206000209060070201935083600101544210151515611ba057600080fd5b601060009054906101000a900460ff16151515611bbc57600080fd5b611c02846005016000801515151581526020019081526020016000205485600501600060011515151581526020019081526020016000205461220790919063ffffffff16565b92506000601260006101000a81548160ff021916908315150217905550601483111515611c325760009450611d47565b611c4783600f5461225890919063ffffffff16565b9150611c716006611c636127108561222590919063ffffffff16565b61227190919063ffffffff16565b9050611cb381611ca5612710876005016000801515151581526020019081526020016000205461222590919063ffffffff16565b61220790919063ffffffff16565b611ce261271086600501600060011515151581526020019081526020016000205461222590919063ffffffff16565b1115611d42578360040160009054906101000a900460ff1615611d2b576001601060006101000a81548160ff0219169083151502179055506000600c8190555060029450611d47565b611d38846003015461228c565b5060019450611d47565b600094505b5050505090565b601060009054906101000a900460ff1681565b6000600454905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611dc857600080fd5b60006002811115611dd557fe5b600b60009054906101000a900460ff166002811115611df057fe5b141515611dfc57600080fd5b60008473ffffffffffffffffffffffffffffffffffffffff1614151515611e2257600080fd5b83600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504260048190555081601060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260ff16600a0a6011819055506000601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515611f7f57600080fd5b6102c65a03f11515611f9057600080fd5b50505060405180519050141515611fa657600080fd5b6001600b60006101000a81548160ff02191690836002811115611fc557fe5b0217905550600190509392505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561203357600080fd5b81600c5411151561204357600080fd5b61204c8261228c565b5060019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156120b157600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156120ed57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b6000808273ffffffffffffffffffffffffffffffffffffffff16141515156121fe57600080fd5b60019050919050565b600080828401905083811015151561221b57fe5b8091505092915050565b60008082840290506000841480612246575082848281151561224357fe5b04145b151561224e57fe5b8091505092915050565b600082821115151561226657fe5b818303905092915050565b600080828481151561227f57fe5b0490508091505092915050565b6000612296610e61565b5081600c819055507f854be63a6bb4d6f59d1fe51181de4ea09125dcb6b8c80a70add4f70e50a96cb7600c546040518082815260200191505060405180910390a160019050919050565b60a060405190810160405280600081526020016000815260200160008152602001600081526020016000151581525090565b81548183558181151161233f5760070281600702836000526020600020918201910161233e9190612344565b5b505050565b61239491905b80821115612390576000808201600090556001820160009055600282016000905560038201600090556004820160006101000a81549060ff02191690555060070161234a565b5090565b905600a165627a7a72305820eac400df628350ba9fd3ba7a84bd151c375f46f1e6e8a8d55cf88fc64c4cb2c10029", + "deployedBytecode": "0x60606040526004361061018b576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461019657806309fc93c114610224578063112ed3f514610271578063200d2ed2146102c25780632bb7ba5c146102f95780633ccfd60b1461035157806342169e481461037e578063439f5ac2146103a7578063472c9fcc146103d05780634b94f50e146103f95780634b9f5c98146104225780635188875b1461045f578063521eb2731461048c57806354fd4d50146104e1578063590e1ae31461056f5780636215be771461059c5780636ccce7a8146105d757806383786f8c146106005780638da5cb5b1461064d5780638f85f92c146106a257806397722acf146106cf5780639b3dfce0146106f8578063a980ff0e14610725578063bf89662d1461074e578063c828371e1461077b578063d5466801146107a4578063e3e9dba914610820578063ed88c68e1461085b578063f2fde38b1461087d578063fc0c546a146108b6578063fd2210311461090b575b610193610934565b50005b34156101a157600080fd5b6101a9610a9f565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101e95780820151818401526020810190506101ce565b50505050905090810190601f1680156102165780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022f57600080fd5b61025b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b3d565b6040518082815260200191505060405180910390f35b341561027c57600080fd5b6102a8600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b86565b604051808215151515815260200191505060405180910390f35b34156102cd57600080fd5b6102d5610c64565b604051808260028111156102e557fe5b60ff16815260200191505060405180910390f35b341561030457600080fd5b61033760048080359060200190919080359060200190919080359060200190919080351515906020019091905050610c77565b604051808215151515815260200191505060405180910390f35b341561035c57600080fd5b610364610e61565b604051808215151515815260200191505060405180910390f35b341561038957600080fd5b610391610f9c565b6040518082815260200191505060405180910390f35b34156103b257600080fd5b6103ba610fa2565b6040518082815260200191505060405180910390f35b34156103db57600080fd5b6103e3610fac565b6040518082815260200191505060405180910390f35b341561040457600080fd5b61040c610fb2565b6040518082815260200191505060405180910390f35b341561042d57600080fd5b61044560048080351515906020019091905050610fbc565b604051808215151515815260200191505060405180910390f35b341561046a57600080fd5b610472611207565b604051808215151515815260200191505060405180910390f35b341561049757600080fd5b61049f6114dc565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104ec57600080fd5b6104f4611502565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610534578082015181840152602081019050610519565b50505050905090810190601f1680156105615780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561057a57600080fd5b6105826115a0565b604051808215151515815260200191505060405180910390f35b34156105a757600080fd5b6105bd600480803590602001909190505061180a565b604051808215151515815260200191505060405180910390f35b34156105e257600080fd5b6105ea611a74565b6040518082815260200191505060405180910390f35b341561060b57600080fd5b610637600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611a7e565b6040518082815260200191505060405180910390f35b341561065857600080fd5b610660611aae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156106ad57600080fd5b6106b5611ad3565b604051808215151515815260200191505060405180910390f35b34156106da57600080fd5b6106e2611b13565b6040518082815260200191505060405180910390f35b341561070357600080fd5b61070b611b1d565b604051808215151515815260200191505060405180910390f35b341561073057600080fd5b610738611b5e565b6040518082815260200191505060405180910390f35b341561075957600080fd5b610761611d4e565b604051808215151515815260200191505060405180910390f35b341561078657600080fd5b61078e611d61565b6040518082815260200191505060405180910390f35b34156107af57600080fd5b610806600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611d6b565b604051808215151515815260200191505060405180910390f35b341561082b57600080fd5b6108416004808035906020019091905050611fd5565b604051808215151515815260200191505060405180910390f35b610863610934565b604051808215151515815260200191505060405180910390f35b341561088857600080fd5b6108b4600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050612056565b005b34156108c157600080fd5b6108c96121ab565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561091657600080fd5b61091e6121d1565b6040518082815260200191505060405180910390f35b60006001600281111561094357fe5b600b60009054906101000a900460ff16600281111561095e57fe5b14151561096a57600080fd5b600454421015151561097b57600080fd5b6412a05f20003a1115151561098f57600080fd5b60003411151561099e57600080fd5b6109a7336121d7565b1515610a1257426005819055506002600b60006101000a81548160ff021916908360028111156109d357fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b610a273460075461220790919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b355780601f10610b0a57610100808354040283529160200191610b35565b820191906000526020600020905b815481529060010190602001808311610b1857829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610be357600080fd5b600280811115610bef57fe5b600b60009054906101000a900460ff166002811115610c0a57fe5b141515610c1657600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000610c816122e0565b854210151515610c9057600080fd5b610ca662093a808761220790919063ffffffff16565b8510151515610cb457600080fd5b610ccb61753060115461222590919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410151515610d1857600080fd5b83600c54101515610d2857600080fd5b601260009054906101000a900460ff16151515610d4457600080fd5b60a06040519081016040528087815260200186815260200160008152602001858152602001841515815250905060138054806001018281610d859190612312565b916000526020600020906007020160008390919091506000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055505050506001601260006101000a81548160ff0219169083151502179055507f3d696996f2abbf583fc358a5daf3973152258eac6db8e20775d34ecbc8b8995f86868686604051808581526020018481526020018381526020018215151515815260200194505050505060405180910390a16001915050949350505050565b600080610e7c62278d00600d5461220790919063ffffffff16565b42111515610e8957600080fd5b600c54600d544203029050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610ef657600080fd5b42600d819055507ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600d54604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a1600191505090565b600f5481565b6000600554905090565b600d5481565b6000600654905090565b6000806013600160138054905003815481101515610fd657fe5b9060005260206000209060070201905080600001544210151515610ff957600080fd5b80600101544210151561100b57600080fd5b8060060160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151561106657600080fd5b61107d613a9860115461222590919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101515156110ca57600080fd5b60018160060160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506111516001826005016000861515151581526020019081526020016000205461220790919063ffffffff16565b81600501600085151515158152602001908152602001600020819055506111866001826002015461220790919063ffffffff16565b81600201819055507f8eb81cb806dbb3d8a2f94981614331a55dfd90e06a42fdc362ca3ca96981d92f3384604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a16001915050919050565b6000806000601360016013805490500381548110151561122357fe5b906000526020600020906007020191508160060160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151561128e57600080fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115156112df57600080fd5b601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156113eb57600080fd5b6102c65a03f115156113fc57600080fd5b505050604051805190505061141d6001600f5461225890919063ffffffff16565b600f819055506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fc7007e57228f610de89c329174bb69f87ecbecaf8e44c0e45ef6c83c21a802793382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a160019250505090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156115985780601f1061156d57610100808354040283529160200191611598565b820191906000526020600020905b81548152906001019060200180831161157b57829003601f168201915b505050505081565b600080601060009054906101000a900460ff1615156115be57600080fd5b601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561168357600080fd5b6102c65a03f1151561169457600080fd5b50505060405180519050600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020543073ffffffffffffffffffffffffffffffffffffffff16310281151561170057fe5b04905060008111151561171257600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561175257600080fd5b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d3382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1600191505090565b6000601060009054906101000a900460ff1615151561182857600080fd5b601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b151561192957600080fd5b6102c65a03f1151561193a57600080fd5b50505060405180519050151561194f57600080fd5b6119a182600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461220790919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506119fa6001600f5461220790919063ffffffff16565b600f819055507f2d0c0a8842b9944ece1495eb61121621b5e36bd6af3bba0318c695f525aef79f3383604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a160019050919050565b6000600954905090565b6000808273ffffffffffffffffffffffffffffffffffffffff1614151515611aa557600080fd5b60009050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115611ae157fe5b600b60009054906101000a900460ff166002811115611afc57fe5b1415611b0b5760019050611b10565b600090505b90565b6000600854905090565b600060016002811115611b2c57fe5b600b60009054906101000a900460ff166002811115611b4757fe5b1415611b565760019050611b5b565b600090505b90565b60008060008060006013600160138054905003815481101515611b7d57fe5b9060005260206000209060070201935083600101544210151515611ba057600080fd5b601060009054906101000a900460ff16151515611bbc57600080fd5b611c02846005016000801515151581526020019081526020016000205485600501600060011515151581526020019081526020016000205461220790919063ffffffff16565b92506000601260006101000a81548160ff021916908315150217905550601483111515611c325760009450611d47565b611c4783600f5461225890919063ffffffff16565b9150611c716006611c636127108561222590919063ffffffff16565b61227190919063ffffffff16565b9050611cb381611ca5612710876005016000801515151581526020019081526020016000205461222590919063ffffffff16565b61220790919063ffffffff16565b611ce261271086600501600060011515151581526020019081526020016000205461222590919063ffffffff16565b1115611d42578360040160009054906101000a900460ff1615611d2b576001601060006101000a81548160ff0219169083151502179055506000600c8190555060029450611d47565b611d38846003015461228c565b5060019450611d47565b600094505b5050505090565b601060009054906101000a900460ff1681565b6000600454905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611dc857600080fd5b60006002811115611dd557fe5b600b60009054906101000a900460ff166002811115611df057fe5b141515611dfc57600080fd5b60008473ffffffffffffffffffffffffffffffffffffffff1614151515611e2257600080fd5b83600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055504260048190555081601060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260ff16600a0a6011819055506000601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515611f7f57600080fd5b6102c65a03f11515611f9057600080fd5b50505060405180519050141515611fa657600080fd5b6001600b60006101000a81548160ff02191690836002811115611fc557fe5b0217905550600190509392505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561203357600080fd5b81600c5411151561204357600080fd5b61204c8261228c565b5060019050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156120b157600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156120ed57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b6000808273ffffffffffffffffffffffffffffffffffffffff16141515156121fe57600080fd5b60019050919050565b600080828401905083811015151561221b57fe5b8091505092915050565b60008082840290506000841480612246575082848281151561224357fe5b04145b151561224e57fe5b8091505092915050565b600082821115151561226657fe5b818303905092915050565b600080828481151561227f57fe5b0490508091505092915050565b6000612296610e61565b5081600c819055507f854be63a6bb4d6f59d1fe51181de4ea09125dcb6b8c80a70add4f70e50a96cb7600c546040518082815260200191505060405180910390a160019050919050565b60a060405190810160405280600081526020016000815260200160008152602001600081526020016000151581525090565b81548183558181151161233f5760070281600702836000526020600020918201910161233e9190612344565b5b505050565b61239491905b80821115612390576000808201600090556001820160009055600282016000905560038201600090556004820160006101000a81549060ff02191690555060070161234a565b5090565b905600a165627a7a72305820eac400df628350ba9fd3ba7a84bd151c375f46f1e6e8a8d55cf88fc64c4cb2c10029", + "sourceMap": "206:8868:10:-;;;2115:183;;;;;;;;603:10:8;595:5;;:18;;;;;;;;;;;;;;;;;;878::9;869:6;;:27;;;;;;;;;;;;;;;;;;;;;;;;921:1;902:16;:20;;;;937:10;928:6;;:19;;;;;;;;;;;;;;;;;;2148:41:10;;;;;;;;;;;;;;;;;;:4;:41;;;;;;;;;;;;:::i;:::-;;2195:17;;;;;;;;;;;;;;;;;;:7;:17;;;;;;;;;;;;:::i;:::-;;2224:1;2218:3;:7;;;;2244:1;2231:10;:14;;;;2264:5;2251:10;;:18;;;;;;;;;;;;;;;;;;2288:5;2275:10;;:18;;;;;;;;;;;;;;;;;;206:8868;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "206:8868:10:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3199:8:9;:6;:8::i;:::-;;206:8868:10;281:19:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1912:106:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1653:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;629:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5208:752:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6992:304;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;529:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2657:81:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;362:28:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2064:86:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4306:551:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3714:451;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;330:21:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7845:342:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3319:334;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2368:97:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8950:122:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:129:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2210:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2802:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6107:738:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;647:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2523:85:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2547:527:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7420:222;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521:9;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;711:31:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;311:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521:9;1061:4;1092:17;1082:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1074:36;;;;;;;;1144:9;;1125:15;:28;;1117:37;;;;;;;;1227:11;1212;:26;;1204:35;;;;;;;;1266:1;1254:9;:13;1246:22;;;;;;;;1315:25;1329:10;1315:13;:25::i;:::-;1314:26;1310:114;;;1360:3;1350:7;:13;;;;1380:15;1371:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1403:14;1409:7;;1403:14;;;;;;;;;;;;;;;;;;1310:114;1450:31;1471:9;1450:16;;:20;;:31;;;;:::i;:::-;1431:16;:50;;;;1488:30;1496:10;1508:9;1488:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;1531:4;1524:11;;1019:521;:::o;281:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1912:106::-;1976:4;1995:11;:18;2007:5;1995:18;;;;;;;;;;;;;;;;1988:25;;1912:106;;;:::o;1653:202::-;1721:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1752:15:9;1742:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;1734:34;;;;;;;;1830:1;1809:11;:18;1821:5;1809:18;;;;;;;;;;;;;;;:22;;;;1845:4;1838:11;;1653:202;;;:::o;629:20::-;;;;;;;;;;;;;:::o;5208:752:10:-;5337:4;5596:27;;:::i;:::-;5377:13;5358:15;:32;;5350:41;;;;;;;;5423:25;5441:6;5423:13;:17;;:25;;;;:::i;:::-;5405:14;:43;;5397:52;;;;;;;;5499:26;5519:5;5499:15;;:19;;:26;;;;:::i;:::-;5464:19;:31;5484:10;5464:31;;;;;;;;;;;;;;;;:61;;5456:70;;;;;;;;5547:14;5541:3;;:20;5533:29;;;;;;;;5578:10;;;;;;;;;;;5577:11;5569:20;;;;;;;;5626:170;;;;;;;;;5657:13;5626:170;;;;5693:14;5626:170;;;;5788:1;5626:170;;;;5723:14;5626:170;;;;5757:11;5626:170;;;;;5596:200;;5803:9;:27;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;5818:11;5803:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5850:4;5837:10;;:17;;;;;;;;;;;;;;;;;;5861:77;5879:13;5894:14;5910;5926:11;5861:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5951:4;5944:11;;5208:752;;;;;;;:::o;6992:304::-;7028:4;7101:14;7067:26;7085:7;7067:13;;:17;;:26;;;;:::i;:::-;7049:15;:44;7041:53;;;;;;;;7154:3;;7137:13;;7119:15;:31;7118:39;7101:56;;7163:6;;;;;;;;;;;:15;;:23;7179:6;7163:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7209:15;7193:13;:31;;;;7235:39;7244:6;;;;;;;;;;;7252;7260:13;;7235:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7287:4;7280:11;;6992:304;;:::o;529:25::-;;;;:::o;2657:81:9:-;2704:7;2726;;2719:14;;2657:81;:::o;362:28:10:-;;;;:::o;2064:86:9:-;2113:7;2135:10;;2128:17;;2064:86;:::o;4306:551:10:-;4348:4;4361:25;4389:9;4416:1;4399:9;:16;;;;:18;4389:29;;;;;;;;;;;;;;;;;;;;4361:57;;4452:8;:21;;;4433:15;:40;;4425:49;;;;;;;;4506:8;:22;;;4488:15;:40;4480:49;;;;;;;;4545:8;:15;;:27;4561:10;4545:27;;;;;;;;;;;;;;;;;;;;;;;;;4544:28;4536:37;;;;;;;;4623:26;4643:5;4623:15;;:19;;:26;;;;:::i;:::-;4588:19;:31;4608:10;4588:31;;;;;;;;;;;;;;;;:61;;4580:70;;;;;;;;4687:4;4657:8;:15;;:27;4673:10;4657:27;;;;;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;4721:28;4747:1;4721:8;:14;;:21;4736:5;4721:21;;;;;;;;;;;;;;;;:25;;:28;;;;:::i;:::-;4697:8;:14;;:21;4712:5;4697:21;;;;;;;;;;;;;;;:52;;;;4777:26;4801:1;4777:8;:19;;;:23;;:26;;;;:::i;:::-;4755:8;:19;;:48;;;;4810:24;4816:10;4828:5;4810:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4848:4;4841:11;;4306:551;;;;:::o;3714:451::-;3757:4;3774:25;3882:14;3802:9;3829:1;3812:9;:16;;;;:18;3802:29;;;;;;;;;;;;;;;;;;;;3774:57;;3847:8;:15;;:27;3863:10;3847:27;;;;;;;;;;;;;;;;;;;;;;;;;3846:28;3838:37;;;;;;;;3899:19;:31;3919:10;3899:31;;;;;;;;;;;;;;;;3882:48;;3954:1;3945:6;:10;3937:19;;;;;;;;3963:5;;;;;;;;;;;:14;;;3978:10;3990:19;:31;4010:10;3990:31;;;;;;;;;;;;;;;;3963:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4042:17;4057:1;4042:10;;:14;;:17;;;;:::i;:::-;4029:10;:30;;;;4100:1;4066:19;:31;4086:10;4066:31;;;;;;;;;;;;;;;:35;;;;4108;4124:10;4136:6;4108:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;4156:4;4149:11;;3714:451;;;:::o;330:21:9:-;;;;;;;;;;;;;:::o;304:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7845:342:10:-;7879:4;7918:17;7900:10;;;;;;;;;;;7892:19;;;;;;;;7987:5;;;;;;;;;;;:15;;;8003:4;7987:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7953:19;:31;7973:10;7953:31;;;;;;;;;;;;;;;;7938:4;:12;;;:46;:70;;;;;;;;7918:90;;8038:1;8023:12;:16;8015:25;;;;;;;;8047:10;:19;;:33;8067:12;8047:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8121:1;8087:19;:31;8107:10;8087:31;;;;;;;;;;;;;;;:35;;;;8133:32;8140:10;8152:12;8133:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;8178:4;8171:11;;7845:342;;:::o;3319:334::-;3374:4;3396:10;;;;;;;;;;;3395:11;3387:20;;;;;;;;3422:5;;;;;;;;;;;:18;;;3441:10;3453:4;3459:7;3422:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3414:54;;;;;;;;3509:44;3545:7;3509:19;:31;3529:10;3509:31;;;;;;;;;;;;;;;;:35;;:44;;;;:::i;:::-;3475:19;:31;3495:10;3475:31;;;;;;;;;;;;;;;:78;;;;3573:17;3588:1;3573:10;;:14;;:17;;;;:::i;:::-;3560:10;:30;;;;3597:33;3610:10;3622:7;3597:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;3644:4;3637:11;;3319:334;;;:::o;2368:97:9:-;2415:7;2437:23;;2430:30;;2368:97;:::o;8950:122:10:-;9017:7;9049:3;9040:5;:12;;;;9032:21;;;;;;;;9066:1;9059:8;;8950:122;;;:::o;334:20:8:-;;;;;;;;;;;;;:::o;2997:129:9:-;3043:4;3069:15;3059:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3055:48;;;3099:4;3092:11;;;;3055:48;3116:5;3109:12;;2997:129;;:::o;2210:101::-;2259:7;2281:25;;2274:32;;2210:101;:::o;2802:133::-;2850:4;2876:17;2866:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;2862:50;;;2908:4;2901:11;;;;2862:50;2925:5;2918:12;;2802:133;;:::o;6107:738:10:-;6149:4;6166:25;6318:15;6466:11;6513:14;6194:9;6221:1;6204:9;:16;;;;:18;6194:29;;;;;;;;;;;;;;;;;;;;6166:57;;6261:8;:22;;;6242:15;:41;;6234:50;;;;;;;;6300:10;;;;;;;;;;;6299:11;6291:20;;;;;;;;6336:47;6361:8;:14;;:21;6376:5;6361:21;;;;;;;;;;;;;;;;6336:8;:14;;:20;6351:4;6336:20;;;;;;;;;;;;;;;;:24;;:47;;;;:::i;:::-;6318:65;;6403:5;6390:10;;:18;;;;;;;;;;;;;;;;;;6433:2;6419:10;:16;;6415:45;;;6452:1;6445:8;;;;6415:45;6480:26;6495:10;6480;;:14;;:26;;;;:::i;:::-;6466:40;;6530:24;6552:1;6530:17;6541:5;6530:6;:10;;:17;;;;:::i;:::-;:21;;:24;;;;:::i;:::-;6513:41;;6599:47;6636:9;6599:32;6625:5;6599:8;:14;;:21;6614:5;6599:21;;;;;;;;;;;;;;;;:25;;:32;;;;:::i;:::-;:36;;:47;;;;:::i;:::-;6565:31;6590:5;6565:8;:14;;:20;6580:4;6565:20;;;;;;;;;;;;;;;;:24;;:31;;;;:::i;:::-;:81;6561:266;;;6660:8;:19;;;;;;;;;;;;6656:165;;;6704:4;6691:10;;:17;;;;;;;;;;;;;;;;;;6724:1;6718:3;:7;;;;6742:1;6735:8;;;;6656:165;6768:26;6778:8;:15;;;6768:9;:26::i;:::-;;6811:1;6804:8;;;;6561:266;6839:1;6832:8;;6107:738;;;;;;:::o;647:22::-;;;;;;;;;;;;;:::o;2523:85:9:-;2572:7;2594:9;;2587:16;;2523:85;:::o;2547:527:10:-;2665:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;2698:18:10;2688:28;;;;;;;;:6;;;;;;;;;;;:28;;;;;;;;;2680:37;;;;;;;;2742:3;2731:7;:14;;;;2723:23;;;;;;;;2761:7;2752:6;;:16;;;;;;;;;;;;;;;;;;2786:15;2774:9;:27;;;;2834:6;2807:5;;:34;;;;;;;;;;;;;;;;;;2879:14;2871:23;;2865:2;:29;2847:15;:47;;;;3018:1;2993:5;;;;;;;;;;;:15;;;3009:4;2993:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:26;2985:35;;;;;;;;3035:17;3026:6;;:26;;;;;;;;;;;;;;;;;;;;;;;;3065:4;3058:11;;2547:527;;;;;:::o;7420:222::-;7474:4;7557:6;;;;;;;;;;;7543:20;;:10;:20;;;7535:29;;;;;;;;7586:7;7580:3;;:13;7572:22;;;;;;;;7601:18;7611:7;7601:9;:18::i;:::-;;7633:4;7626:11;;7420:222;;;:::o;928:169:8:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;711:31:10:-;;;;;;;;;;;;;:::o;311:18::-;;;;:::o;8733:111::-;8789:4;8818:3;8809:5;:12;;;;8801:21;;;;;;;;8835:4;8828:11;;8733:111;;;:::o;759:128:16:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;232:142::-;289:7;304:9;320:1;316;:5;304:17;;339:1;334;:6;:20;;;;353:1;348;344;:5;;;;;;;;:10;334:20;327:28;;;;;;368:1;361:8;;232:142;;;;;:::o;646:109::-;703:7;730:1;725;:6;;718:14;;;;;;749:1;745;:5;738:12;;646:109;;;;:::o;378:264::-;435:7;524:9;540:1;536;:5;;;;;;;;524:17;;636:1;629:8;;378:264;;;;;:::o;8353:137:10:-;8406:4;8418:10;:8;:10::i;:::-;;8440:6;8434:3;:12;;;;8452:16;8464:3;;8452:16;;;;;;;;;;;;;;;;;;8481:4;8474:11;;8353:137;;;:::o;206:8868::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", + "source": "pragma solidity ^0.4.18;\nimport \"../PoD.sol\";\nimport \"../EIP20StandardToken.sol\";\n\n/// @title DaicoPoD - DaicoPoD contract\n/// @author - Yusaku Senga - \n/// license let's see in LICENSE\n\ncontract DaicoPoD is PoD {\n\n // The tap is withdrawal limit (wei / sec) of founder's multisig wallet.\n uint256 public tap;\n // Latest withdrawal time.\n uint256 public lastWithdrawn;\n // Locked token balances of users.\n mapping(address => uint256) lockedTokenBalances; \n // Contract has total number of all voters.\n uint256 public voterCount;\n // Contract should be called refund funtion if contract is refundable (withdraw mode).\n bool public refundable;\n // EIP20 token that locked to vote.\n EIP20StandardToken public token;\n // Token tokenMultiplier; e.g. 10 ** uint256(18)\n uint256 tokenMultiplier;\n // Flag that whether proposed vote or not.\n bool isProposed;\n\n // proposal for DAICO proposal\n struct Proposal {\n // Starting vote process at openVoteTime. \n uint256 openVoteTime;\n // Closing vote process at openVoteTime. \n uint256 closeVoteTime;\n // Ensure totalVoted Counter in a proposal. \n uint256 totalVoted;\n // Update tap value if proposal approved.\n uint256 newTap;\n // Represent the flag this proposal contain a Destructor call\n bool isDestruct;\n // Represent a voter's intention counter; e.g. Yes[true] of No[false]\n mapping(bool => uint256) voted;\n // Represent the flag to whether a voter voted or not.\n mapping(address => bool) isVote;\n }\n // Storage of proposals.\n Proposal[] proposals;\n \n /**\n * Events\n */\n\n event Voted(address _user, bool _flag);\n event DepositToken(address _user, uint256 _amount);\n event WithdrawalToken(address _user, uint256 _amount);\n event SubmittedProposal(uint256 _nextOpenTime, uint256 _nextCloseTime, uint256 _nextTapAmount, bool _isDestruct);\n event ModifiedTap(uint256 _tapAmount);\n event Withdraw(address _user, uint256 _amount, uint256 _time);\n event Refund(address _user, uint256 _amount);\n\n\n /**\n * Constructor\n * @dev Set the owner when this contract deployed.\n */\n \n function DaicoPoD() public {\n name = \"DaicoPoD strategy token with dao\";\n version = \"0.9.3\";\n tap = 0;\n voterCount = 0;\n refundable = false;\n isProposed = false;\n }\n\n\n /**\n * @dev Initialized PoD.\n * @param _wallet Address of founder's multisig wallet.\n * @param _tokenDecimals Token decimals for EIP20 token contract.\n * @param _token Address of EIP20 token contract.\n */\n function init(\n address _wallet, \n uint8 _tokenDecimals, \n address _token\n ) \n public onlyOwner() returns (bool) \n {\n require(status == Status.PoDDeployed);\n require(_wallet != 0x0);\n wallet = _wallet;\n startTime = block.timestamp;\n token = EIP20StandardToken(_token);\n tokenMultiplier = 10 ** uint256(_tokenDecimals);\n // The first time of contract deployed, contract's token balance should be zero.\n require(token.balanceOf(this) == 0);\n status = Status.PoDStarted;\n return true;\n }\n\n /**\n * Public fucntions.\n */\n\n\n /**\n * @dev Deposit token to this contract for EIP20 token format.\n * And lockedTokenBalances represents amount of deposited token.\n * @param _amount The Amount of token allowed.\n */\n function depositToken(uint256 _amount) public returns (bool) {\n\n require(!refundable);\n\n require(token.transferFrom(msg.sender, this, _amount));\n\n lockedTokenBalances[msg.sender] = lockedTokenBalances[msg.sender].add(_amount);\n\n voterCount = voterCount.add(1);\n\n DepositToken(msg.sender, _amount);\n\n return true;\n }\n\n /**\n * @dev Withdraw token from this contract.\n */\n function withdrawalToken() public returns (bool) {\n \n Proposal storage proposal = proposals[proposals.length-1];\n\n require(!proposal.isVote[msg.sender]);\n\n uint256 amount = lockedTokenBalances[msg.sender];\n\n require(amount > 0);\n\n token.transfer(msg.sender, lockedTokenBalances[msg.sender]);\n\n voterCount = voterCount.sub(1);\n\n lockedTokenBalances[msg.sender] = 0;\n\n WithdrawalToken(msg.sender, amount);\n return true;\n }\n\n\n /**\n * @dev Calling vote is available while proposal is opening.\n * @param _flag The Flag of voter's intention.\n */\n\n function vote(bool _flag) public returns (bool) {\n\n Proposal storage proposal = proposals[proposals.length-1];\n\n require(block.timestamp >= proposal.openVoteTime);\n require(block.timestamp < proposal.closeVoteTime);\n\n require(!proposal.isVote[msg.sender]);\n\n require(lockedTokenBalances[msg.sender] >= tokenMultiplier.mul(15000));\n\n proposal.isVote[msg.sender] = true;\n proposal.voted[_flag] = proposal.voted[_flag].add(1);\n proposal.totalVoted = proposal.totalVoted.add(1);\n\n Voted(msg.sender, _flag);\n\n return true;\n }\n\n /**\n * @dev Submitting proposal to increase tap or destruct funds.\n * @param _nextOpenTime The open time of next propsoal.\n * @param _nextCloseTime The close time of next propsoal.\n * @param _nextTapAmount The newTap num ( wei / sec ).\n * @param _isDestruct The flag to whether a voter voted or not.\n */\n\n function submitProposal(uint256 _nextOpenTime, uint256 _nextCloseTime, uint256 _nextTapAmount, bool _isDestruct) public returns (bool) {\n\n require(block.timestamp >= _nextOpenTime);\n require(_nextCloseTime >= _nextOpenTime.add(7 days));\n\n require(lockedTokenBalances[msg.sender] >= tokenMultiplier.mul(30000));\n\n require(tap < _nextTapAmount);\n\n require(!isProposed);\n\n Proposal memory newProposal = Proposal({\n openVoteTime: _nextOpenTime,\n closeVoteTime: _nextCloseTime,\n newTap: _nextTapAmount,\n isDestruct: _isDestruct,\n totalVoted: 0\n });\n\n proposals.push(newProposal);\n\n isProposed = true;\n\n SubmittedProposal(_nextOpenTime, _nextCloseTime, _nextTapAmount, _isDestruct);\n return true;\n }\n\n /**\n * @dev Aggregate the voted results.\n * return uint 0 => No executed, 1 => Modified tap num, 2 => Transition to withdraw mode\n */\n\n function aggregateVotes() public returns (uint) {\n \n Proposal storage proposal = proposals[proposals.length-1];\n \n require(block.timestamp >= proposal.closeVoteTime);\n\n require(!refundable);\n\n uint votedUsers = proposal.voted[true].add(proposal.voted[false]);\n\n isProposed = false;\n\n if (votedUsers <= 20) {\n return 0;\n }\n\n uint absent = voterCount.sub(votedUsers);\n\n uint threshold = absent.mul(10000).div(6);\n\n if (proposal.voted[true].mul(10000) > proposal.voted[false].mul(10000).add(threshold)) {\n if (proposal.isDestruct) {\n refundable = true;\n tap = 0;\n return 2;\n } else {\n modifyTap(proposal.newTap);\n return 1;\n }\n }\n return 0;\n }\n\n /**\n * @dev Founder can withdraw ether from contract.\n * receiver `wallet` whould be called failback function to receiving ether.\n */\n\n function withdraw() public returns (bool) {\n\n require(block.timestamp > lastWithdrawn.add(30 days));\n\n uint256 amount = (block.timestamp - lastWithdrawn) * tap;\n wallet.transfer(amount);\n\n lastWithdrawn = block.timestamp;\n \n Withdraw(wallet, amount, lastWithdrawn);\n return true;\n }\n\n /**\n * @dev Founder can decrease the tap amount at anytime.\n * @param _newTap The new tap quantity.\n */\n\n function decreaseTap(uint256 _newTap) public returns (bool) {\n // Only called by foudner's multisig wallet.\n require(msg.sender == wallet); \n\n require(tap > _newTap);\n\n modifyTap(_newTap);\n\n return true;\n }\n\n /**\n * @dev If contract to be refundable, project supporter can withdraw ether from contract.\n * Basically, supporter gets the amount of ether has dependent by a locked amount of token.\n */\n\n function refund() public returns (bool) {\n\n require(refundable);\n\n uint refundAmount = this.balance * lockedTokenBalances[msg.sender] / token.balanceOf(this);\n\n require(refundAmount > 0);\n\n msg.sender.transfer(refundAmount);\n\n lockedTokenBalances[msg.sender] = 0;\n \n Refund(msg.sender, refundAmount);\n return true;\n }\n\n\n /**\n * Private fucntions.\n */\n\n\n /**\n * @dev modify tap num. \n * @param newTap The withdrawal limit for project owner tap = (wei / sec).\n */\n\n function modifyTap(uint256 newTap) internal returns (bool) {\n withdraw();\n tap = newTap;\n ModifiedTap(tap);\n return true;\n }\n\n /**\n * Defined fucntions of RICO's PoD architecture. \n */\n\n /**\n * @dev Called by fallback function. (dependent PoD architecture).\n * Assumed that this contract received ether re-directly from other contract based on PoD\n */\n\n function processDonate(address _user) internal returns (bool) {\n require(_user != 0x0);\n return true;\n }\n\n \n /**\n * @dev get reserved token balances of _user. inherits PoD architecture. (Not used).\n */\n function getBalanceOfToken(address _user) public constant returns (uint256) {\n require(_user != 0x0);\n return 0;\n }\n}\n", + "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/DaicoPoD.sol", + "ast": { + "attributes": { + "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/DaicoPoD.sol", + "exportedSymbols": { + "DaicoPoD": [ + 3126 + ] + } + }, + "children": [ + { + "attributes": { + "literals": [ + "solidity", + "^", + "0.4", + ".18" + ] + }, + "id": 2351, + "name": "PragmaDirective", + "src": "0:24:10" + }, + { + "attributes": { + "SourceUnit": 2350, + "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoD.sol", + "file": "../PoD.sol", + "scope": 3127, + "symbolAliases": [ + null + ], + "unitAlias": "" + }, + "id": 2352, + "name": "ImportDirective", + "src": "25:20:10" + }, + { + "attributes": { + "SourceUnit": 336, + "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/EIP20StandardToken.sol", + "file": "../EIP20StandardToken.sol", + "scope": 3127, + "symbolAliases": [ + null + ], + "unitAlias": "" + }, + "id": 2353, + "name": "ImportDirective", + "src": "46:35:10" + }, + { + "attributes": { + "contractDependencies": [ + 2084, + 2349 + ], + "contractKind": "contract", + "documentation": "@title DaicoPoD - DaicoPoD contract\n @author - Yusaku Senga - \n license let's see in LICENSE", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 3126, + 2349, + 2084 + ], + "name": "DaicoPoD", + "scope": 3127 + }, + "children": [ + { + "attributes": { + "arguments": [ + null + ] + }, + "children": [ + { + "attributes": { + "contractScope": null, + "name": "PoD", + "referencedDeclaration": 2349, + "type": "contract PoD" + }, + "id": 2354, + "name": "UserDefinedTypeName", + "src": "227:3:10" + } + ], + "id": 2355, + "name": "InheritanceSpecifier", + "src": "227:3:10" + }, + { + "attributes": { + "constant": false, + "name": "tap", + "scope": 3126, + "stateVariable": true, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2356, + "name": "ElementaryTypeName", + "src": "311:7:10" + } + ], + "id": 2357, + "name": "VariableDeclaration", + "src": "311:18:10" + }, + { + "attributes": { + "constant": false, + "name": "lastWithdrawn", + "scope": 3126, + "stateVariable": true, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2358, + "name": "ElementaryTypeName", + "src": "362:7:10" + } + ], + "id": 2359, + "name": "VariableDeclaration", + "src": "362:28:10" + }, + { + "attributes": { + "constant": false, + "name": "lockedTokenBalances", + "scope": 3126, + "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": 2360, + "name": "ElementaryTypeName", + "src": "439:7:10" + }, + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2361, + "name": "ElementaryTypeName", + "src": "450:7:10" + } + ], + "id": 2362, + "name": "Mapping", + "src": "431:27:10" + } + ], + "id": 2363, + "name": "VariableDeclaration", + "src": "431:47:10" + }, + { + "attributes": { + "constant": false, + "name": "voterCount", + "scope": 3126, + "stateVariable": true, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2364, + "name": "ElementaryTypeName", + "src": "529:7:10" + } + ], + "id": 2365, + "name": "VariableDeclaration", + "src": "529:25:10" + }, + { + "attributes": { + "constant": false, + "name": "refundable", + "scope": 3126, + "stateVariable": true, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2366, + "name": "ElementaryTypeName", + "src": "647:4:10" + } + ], + "id": 2367, + "name": "VariableDeclaration", + "src": "647:22:10" + }, + { + "attributes": { + "constant": false, + "name": "token", + "scope": 3126, + "stateVariable": true, + "storageLocation": "default", + "type": "contract EIP20StandardToken", + "value": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "contractScope": null, + "name": "EIP20StandardToken", + "referencedDeclaration": 335, + "type": "contract EIP20StandardToken" + }, + "id": 2368, + "name": "UserDefinedTypeName", + "src": "711:18:10" + } + ], + "id": 2369, + "name": "VariableDeclaration", + "src": "711:31:10" + }, + { + "attributes": { + "constant": false, + "name": "tokenMultiplier", + "scope": 3126, + "stateVariable": true, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2370, + "name": "ElementaryTypeName", + "src": "797:7:10" + } + ], + "id": 2371, + "name": "VariableDeclaration", + "src": "797:23:10" + }, + { + "attributes": { + "constant": false, + "name": "isProposed", + "scope": 3126, + "stateVariable": true, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2372, + "name": "ElementaryTypeName", + "src": "869:4:10" + } + ], + "id": 2373, + "name": "VariableDeclaration", + "src": "869:15:10" + }, + { + "attributes": { + "canonicalName": "DaicoPoD.Proposal", + "name": "Proposal", + "scope": 3126, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "openVoteTime", + "scope": 2392, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2374, + "name": "ElementaryTypeName", + "src": "991:7:10" + } + ], + "id": 2375, + "name": "VariableDeclaration", + "src": "991:20:10" + }, + { + "attributes": { + "constant": false, + "name": "closeVoteTime", + "scope": 2392, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2376, + "name": "ElementaryTypeName", + "src": "1063:7:10" + } + ], + "id": 2377, + "name": "VariableDeclaration", + "src": "1063:21:10" + }, + { + "attributes": { + "constant": false, + "name": "totalVoted", + "scope": 2392, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2378, + "name": "ElementaryTypeName", + "src": "1139:7:10" + } + ], + "id": 2379, + "name": "VariableDeclaration", + "src": "1139:18:10" + }, + { + "attributes": { + "constant": false, + "name": "newTap", + "scope": 2392, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2380, + "name": "ElementaryTypeName", + "src": "1209:7:10" + } + ], + "id": 2381, + "name": "VariableDeclaration", + "src": "1209:14:10" + }, + { + "attributes": { + "constant": false, + "name": "isDestruct", + "scope": 2392, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2382, + "name": "ElementaryTypeName", + "src": "1295:4:10" + } + ], + "id": 2383, + "name": "VariableDeclaration", + "src": "1295:15:10" + }, + { + "attributes": { + "constant": false, + "name": "voted", + "scope": 2392, + "stateVariable": false, + "storageLocation": "default", + "type": "mapping(bool => uint256)", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "type": "mapping(bool => uint256)" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2384, + "name": "ElementaryTypeName", + "src": "1398:4:10" + }, + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2385, + "name": "ElementaryTypeName", + "src": "1406:7:10" + } + ], + "id": 2386, + "name": "Mapping", + "src": "1390:24:10" + } + ], + "id": 2387, + "name": "VariableDeclaration", + "src": "1390:30:10" + }, + { + "attributes": { + "constant": false, + "name": "isVote", + "scope": 2392, + "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": 2388, + "name": "ElementaryTypeName", + "src": "1493:7:10" + }, + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2389, + "name": "ElementaryTypeName", + "src": "1504:4:10" + } + ], + "id": 2390, + "name": "Mapping", + "src": "1485:24:10" + } + ], + "id": 2391, + "name": "VariableDeclaration", + "src": "1485:31:10" + } + ], + "id": 2392, + "name": "StructDefinition", + "src": "922:599:10" + }, + { + "attributes": { + "constant": false, + "name": "proposals", + "scope": 3126, + "stateVariable": true, + "storageLocation": "default", + "type": "struct DaicoPoD.Proposal storage ref[] storage ref", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "length": null, + "type": "struct DaicoPoD.Proposal storage ref[] storage pointer" + }, + "children": [ + { + "attributes": { + "contractScope": null, + "name": "Proposal", + "referencedDeclaration": 2392, + "type": "struct DaicoPoD.Proposal storage pointer" + }, + "id": 2393, + "name": "UserDefinedTypeName", + "src": "1551:8:10" + } + ], + "id": 2394, + "name": "ArrayTypeName", + "src": "1551:10:10" + } + ], + "id": 2395, + "name": "VariableDeclaration", + "src": "1551:20:10" + }, + { + "attributes": { + "anonymous": false, + "name": "Voted" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_user", + "scope": 2401, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 2396, + "name": "ElementaryTypeName", + "src": "1617:7:10" + } + ], + "id": 2397, + "name": "VariableDeclaration", + "src": "1617:13:10" + }, + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_flag", + "scope": 2401, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2398, + "name": "ElementaryTypeName", + "src": "1632:4:10" + } + ], + "id": 2399, + "name": "VariableDeclaration", + "src": "1632:10:10" + } + ], + "id": 2400, + "name": "ParameterList", + "src": "1616:27:10" + } + ], + "id": 2401, + "name": "EventDefinition", + "src": "1605:39:10" + }, + { + "attributes": { + "anonymous": false, + "name": "DepositToken" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_user", + "scope": 2407, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 2402, + "name": "ElementaryTypeName", + "src": "1666:7:10" + } + ], + "id": 2403, + "name": "VariableDeclaration", + "src": "1666:13:10" + }, + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_amount", + "scope": 2407, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2404, + "name": "ElementaryTypeName", + "src": "1681:7:10" + } + ], + "id": 2405, + "name": "VariableDeclaration", + "src": "1681:15:10" + } + ], + "id": 2406, + "name": "ParameterList", + "src": "1665:32:10" + } + ], + "id": 2407, + "name": "EventDefinition", + "src": "1647:51:10" + }, + { + "attributes": { + "anonymous": false, + "name": "WithdrawalToken" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_user", + "scope": 2413, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 2408, + "name": "ElementaryTypeName", + "src": "1723:7:10" + } + ], + "id": 2409, + "name": "VariableDeclaration", + "src": "1723:13:10" + }, + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_amount", + "scope": 2413, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2410, + "name": "ElementaryTypeName", + "src": "1738:7:10" + } + ], + "id": 2411, + "name": "VariableDeclaration", + "src": "1738:15:10" + } + ], + "id": 2412, + "name": "ParameterList", + "src": "1722:32:10" + } + ], + "id": 2413, + "name": "EventDefinition", + "src": "1701:54:10" + }, + { + "attributes": { + "anonymous": false, + "name": "SubmittedProposal" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_nextOpenTime", + "scope": 2423, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2414, + "name": "ElementaryTypeName", + "src": "1782:7:10" + } + ], + "id": 2415, + "name": "VariableDeclaration", + "src": "1782:21:10" + }, + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_nextCloseTime", + "scope": 2423, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2416, + "name": "ElementaryTypeName", + "src": "1805:7:10" + } + ], + "id": 2417, + "name": "VariableDeclaration", + "src": "1805:22:10" + }, + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_nextTapAmount", + "scope": 2423, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2418, + "name": "ElementaryTypeName", + "src": "1829:7:10" + } + ], + "id": 2419, + "name": "VariableDeclaration", + "src": "1829:22:10" + }, + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_isDestruct", + "scope": 2423, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2420, + "name": "ElementaryTypeName", + "src": "1853:4:10" + } + ], + "id": 2421, + "name": "VariableDeclaration", + "src": "1853:16:10" + } + ], + "id": 2422, + "name": "ParameterList", + "src": "1781:89:10" + } + ], + "id": 2423, + "name": "EventDefinition", + "src": "1758:113:10" + }, + { + "attributes": { + "anonymous": false, + "name": "ModifiedTap" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_tapAmount", + "scope": 2427, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2424, + "name": "ElementaryTypeName", + "src": "1892:7:10" + } + ], + "id": 2425, + "name": "VariableDeclaration", + "src": "1892:18:10" + } + ], + "id": 2426, + "name": "ParameterList", + "src": "1891:20:10" + } + ], + "id": 2427, + "name": "EventDefinition", + "src": "1874:38:10" + }, + { + "attributes": { + "anonymous": false, + "name": "Withdraw" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_user", + "scope": 2435, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 2428, + "name": "ElementaryTypeName", + "src": "1930:7:10" + } + ], + "id": 2429, + "name": "VariableDeclaration", + "src": "1930:13:10" + }, + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_amount", + "scope": 2435, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2430, + "name": "ElementaryTypeName", + "src": "1945:7:10" + } + ], + "id": 2431, + "name": "VariableDeclaration", + "src": "1945:15:10" + }, + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_time", + "scope": 2435, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2432, + "name": "ElementaryTypeName", + "src": "1962:7:10" + } + ], + "id": 2433, + "name": "VariableDeclaration", + "src": "1962:13:10" + } + ], + "id": 2434, + "name": "ParameterList", + "src": "1929:47:10" + } + ], + "id": 2435, + "name": "EventDefinition", + "src": "1915:62:10" + }, + { + "attributes": { + "anonymous": false, + "name": "Refund" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_user", + "scope": 2441, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 2436, + "name": "ElementaryTypeName", + "src": "1993:7:10" + } + ], + "id": 2437, + "name": "VariableDeclaration", + "src": "1993:13:10" + }, + { + "attributes": { + "constant": false, + "indexed": false, + "name": "_amount", + "scope": 2441, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2438, + "name": "ElementaryTypeName", + "src": "2008:7:10" + } + ], + "id": 2439, + "name": "VariableDeclaration", + "src": "2008:15:10" + } + ], + "id": 2440, + "name": "ParameterList", + "src": "1992:32:10" + } + ], + "id": 2441, + "name": "EventDefinition", + "src": "1980:45:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": true, + "modifiers": [ + null + ], + "name": "DaicoPoD", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 2442, + "name": "ParameterList", + "src": "2132:2:10" + }, + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 2443, + "name": "ParameterList", + "src": "2142:0:10" + }, + { + "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": 2095, + "type": "string storage ref", + "value": "name" + }, + "id": 2444, + "name": "Identifier", + "src": "2148:4:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "446169636f506f4420737472617465677920746f6b656e20776974682064616f", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "string", + "type": "literal_string \"DaicoPoD strategy token with dao\"", + "value": "DaicoPoD strategy token with dao" + }, + "id": 2445, + "name": "Literal", + "src": "2155:34:10" + } + ], + "id": 2446, + "name": "Assignment", + "src": "2148:41:10" + } + ], + "id": 2447, + "name": "ExpressionStatement", + "src": "2148:41:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "string storage ref" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2097, + "type": "string storage ref", + "value": "version" + }, + "id": 2448, + "name": "Identifier", + "src": "2195:7:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "302e392e33", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "string", + "type": "literal_string \"0.9.3\"", + "value": "0.9.3" + }, + "id": 2449, + "name": "Literal", + "src": "2205:7:10" + } + ], + "id": 2450, + "name": "Assignment", + "src": "2195:17:10" + } + ], + "id": 2451, + "name": "ExpressionStatement", + "src": "2195:17:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2357, + "type": "uint256", + "value": "tap" + }, + "id": 2452, + "name": "Identifier", + "src": "2218:3: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": 2453, + "name": "Literal", + "src": "2224:1:10" + } + ], + "id": 2454, + "name": "Assignment", + "src": "2218:7:10" + } + ], + "id": 2455, + "name": "ExpressionStatement", + "src": "2218:7:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2365, + "type": "uint256", + "value": "voterCount" + }, + "id": 2456, + "name": "Identifier", + "src": "2231:10: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": 2457, + "name": "Literal", + "src": "2244:1:10" + } + ], + "id": 2458, + "name": "Assignment", + "src": "2231:14:10" + } + ], + "id": 2459, + "name": "ExpressionStatement", + "src": "2231:14:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2367, + "type": "bool", + "value": "refundable" + }, + "id": 2460, + "name": "Identifier", + "src": "2251:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "66616c7365", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "false" + }, + "id": 2461, + "name": "Literal", + "src": "2264:5:10" + } + ], + "id": 2462, + "name": "Assignment", + "src": "2251:18:10" + } + ], + "id": 2463, + "name": "ExpressionStatement", + "src": "2251:18:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2373, + "type": "bool", + "value": "isProposed" + }, + "id": 2464, + "name": "Identifier", + "src": "2275:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "66616c7365", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "false" + }, + "id": 2465, + "name": "Literal", + "src": "2288:5:10" + } + ], + "id": 2466, + "name": "Assignment", + "src": "2275:18:10" + } + ], + "id": 2467, + "name": "ExpressionStatement", + "src": "2275:18:10" + } + ], + "id": 2468, + "name": "Block", + "src": "2142:156:10" + } + ], + "id": 2469, + "name": "FunctionDefinition", + "src": "2115:183:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "name": "init", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_wallet", + "scope": 2535, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 2470, + "name": "ElementaryTypeName", + "src": "2566:7:10" + } + ], + "id": 2471, + "name": "VariableDeclaration", + "src": "2566:15:10" + }, + { + "attributes": { + "constant": false, + "name": "_tokenDecimals", + "scope": 2535, + "stateVariable": false, + "storageLocation": "default", + "type": "uint8", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint8", + "type": "uint8" + }, + "id": 2472, + "name": "ElementaryTypeName", + "src": "2588:5:10" + } + ], + "id": 2473, + "name": "VariableDeclaration", + "src": "2588:20:10" + }, + { + "attributes": { + "constant": false, + "name": "_token", + "scope": 2535, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 2474, + "name": "ElementaryTypeName", + "src": "2615:7:10" + } + ], + "id": 2475, + "name": "VariableDeclaration", + "src": "2615:14:10" + } + ], + "id": 2476, + "name": "ParameterList", + "src": "2560:73:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 2535, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2479, + "name": "ElementaryTypeName", + "src": "2665:4:10" + } + ], + "id": 2480, + "name": "VariableDeclaration", + "src": "2665:4:10" + } + ], + "id": 2481, + "name": "ParameterList", + "src": "2664:6:10" + }, + { + "attributes": { + "arguments": [ + null + ] + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2058, + "type": "modifier ()", + "value": "onlyOwner" + }, + "id": 2477, + "name": "Identifier", + "src": "2644:9:10" + } + ], + "id": 2478, + "name": "ModifierInvocation", + "src": "2644:11:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2482, + "name": "Identifier", + "src": "2680:7:10" + }, + { + "attributes": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_enum$_Status_$2119", + "typeString": "enum PoD.Status" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "==", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2121, + "type": "enum PoD.Status", + "value": "status" + }, + "id": 2483, + "name": "Identifier", + "src": "2688:6:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "member_name": "PoDDeployed", + "referencedDeclaration": null, + "type": "enum PoD.Status" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2119, + "type": "type(enum PoD.Status)", + "value": "Status" + }, + "id": 2484, + "name": "Identifier", + "src": "2698:6:10" + } + ], + "id": 2485, + "name": "MemberAccess", + "src": "2698:18:10" + } + ], + "id": 2486, + "name": "BinaryOperation", + "src": "2688:28:10" + } + ], + "id": 2487, + "name": "FunctionCall", + "src": "2680:37:10" + } + ], + "id": 2488, + "name": "ExpressionStatement", + "src": "2680:37:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2489, + "name": "Identifier", + "src": "2723:7:10" + }, + { + "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": 2471, + "type": "address", + "value": "_wallet" + }, + "id": 2490, + "name": "Identifier", + "src": "2731:7:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "307830", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 0", + "value": "0x0" + }, + "id": 2491, + "name": "Literal", + "src": "2742:3:10" + } + ], + "id": 2492, + "name": "BinaryOperation", + "src": "2731:14:10" + } + ], + "id": 2493, + "name": "FunctionCall", + "src": "2723:23:10" + } + ], + "id": 2494, + "name": "ExpressionStatement", + "src": "2723:23:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "address" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2099, + "type": "address", + "value": "wallet" + }, + "id": 2495, + "name": "Identifier", + "src": "2752:6:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2471, + "type": "address", + "value": "_wallet" + }, + "id": 2496, + "name": "Identifier", + "src": "2761:7:10" + } + ], + "id": 2497, + "name": "Assignment", + "src": "2752:16:10" + } + ], + "id": 2498, + "name": "ExpressionStatement", + "src": "2752:16:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2101, + "type": "uint256", + "value": "startTime" + }, + "id": 2499, + "name": "Identifier", + "src": "2774:9:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "timestamp", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4503, + "type": "block", + "value": "block" + }, + "id": 2500, + "name": "Identifier", + "src": "2786:5:10" + } + ], + "id": 2501, + "name": "MemberAccess", + "src": "2786:15:10" + } + ], + "id": 2502, + "name": "Assignment", + "src": "2774:27:10" + } + ], + "id": 2503, + "name": "ExpressionStatement", + "src": "2774:27:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "contract EIP20StandardToken" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2369, + "type": "contract EIP20StandardToken", + "value": "token" + }, + "id": 2504, + "name": "Identifier", + "src": "2807:5:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "type": "contract EIP20StandardToken", + "type_conversion": true + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 335, + "type": "type(contract EIP20StandardToken)", + "value": "EIP20StandardToken" + }, + "id": 2505, + "name": "Identifier", + "src": "2815:18:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2475, + "type": "address", + "value": "_token" + }, + "id": 2506, + "name": "Identifier", + "src": "2834:6:10" + } + ], + "id": 2507, + "name": "FunctionCall", + "src": "2815:26:10" + } + ], + "id": 2508, + "name": "Assignment", + "src": "2807:34:10" + } + ], + "id": 2509, + "name": "ExpressionStatement", + "src": "2807:34:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2371, + "type": "uint256", + "value": "tokenMultiplier" + }, + "id": 2510, + "name": "Identifier", + "src": "2847:15:10" + }, + { + "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": "3130", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 10", + "value": "10" + }, + "id": 2511, + "name": "Literal", + "src": "2865:2:10" + }, + { + "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_uint8", + "typeString": "uint8" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "type": "type(uint256)", + "value": "uint256" + }, + "id": 2512, + "name": "ElementaryTypeNameExpression", + "src": "2871:7:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2473, + "type": "uint8", + "value": "_tokenDecimals" + }, + "id": 2513, + "name": "Identifier", + "src": "2879:14:10" + } + ], + "id": 2514, + "name": "FunctionCall", + "src": "2871:23:10" + } + ], + "id": 2515, + "name": "BinaryOperation", + "src": "2865:29:10" + } + ], + "id": 2516, + "name": "Assignment", + "src": "2847:47:10" + } + ], + "id": 2517, + "name": "ExpressionStatement", + "src": "2847:47:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2518, + "name": "Identifier", + "src": "2985:7:10" + }, + { + "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$_DaicoPoD_$3126", + "typeString": "contract DaicoPoD" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "balanceOf", + "referencedDeclaration": 280, + "type": "function (address) view external returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2369, + "type": "contract EIP20StandardToken", + "value": "token" + }, + "id": 2519, + "name": "Identifier", + "src": "2993:5:10" + } + ], + "id": 2520, + "name": "MemberAccess", + "src": "2993:15:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4554, + "type": "contract DaicoPoD", + "value": "this" + }, + "id": 2521, + "name": "Identifier", + "src": "3009:4:10" + } + ], + "id": 2522, + "name": "FunctionCall", + "src": "2993:21: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": 2523, + "name": "Literal", + "src": "3018:1:10" + } + ], + "id": 2524, + "name": "BinaryOperation", + "src": "2993:26:10" + } + ], + "id": 2525, + "name": "FunctionCall", + "src": "2985:35:10" + } + ], + "id": 2526, + "name": "ExpressionStatement", + "src": "2985:35:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "enum PoD.Status" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2121, + "type": "enum PoD.Status", + "value": "status" + }, + "id": 2527, + "name": "Identifier", + "src": "3026:6:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "member_name": "PoDStarted", + "referencedDeclaration": null, + "type": "enum PoD.Status" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2119, + "type": "type(enum PoD.Status)", + "value": "Status" + }, + "id": 2528, + "name": "Identifier", + "src": "3035:6:10" + } + ], + "id": 2529, + "name": "MemberAccess", + "src": "3035:17:10" + } + ], + "id": 2530, + "name": "Assignment", + "src": "3026:26:10" + } + ], + "id": 2531, + "name": "ExpressionStatement", + "src": "3026:26:10" + }, + { + "attributes": { + "functionReturnParameters": 2481 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2532, + "name": "Literal", + "src": "3065:4:10" + } + ], + "id": 2533, + "name": "Return", + "src": "3058:11:10" + } + ], + "id": 2534, + "name": "Block", + "src": "2674:400:10" + } + ], + "id": 2535, + "name": "FunctionDefinition", + "src": "2547:527:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "depositToken", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_amount", + "scope": 2586, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2536, + "name": "ElementaryTypeName", + "src": "3341:7:10" + } + ], + "id": 2537, + "name": "VariableDeclaration", + "src": "3341:15:10" + } + ], + "id": 2538, + "name": "ParameterList", + "src": "3340:17:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 2586, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2539, + "name": "ElementaryTypeName", + "src": "3374:4:10" + } + ], + "id": 2540, + "name": "VariableDeclaration", + "src": "3374:4:10" + } + ], + "id": 2541, + "name": "ParameterList", + "src": "3373:6:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2542, + "name": "Identifier", + "src": "3387:7:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!", + "prefix": true, + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2367, + "type": "bool", + "value": "refundable" + }, + "id": 2543, + "name": "Identifier", + "src": "3396:10:10" + } + ], + "id": 2544, + "name": "UnaryOperation", + "src": "3395:11:10" + } + ], + "id": 2545, + "name": "FunctionCall", + "src": "3387:20:10" + } + ], + "id": 2546, + "name": "ExpressionStatement", + "src": "3387:20:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2547, + "name": "Identifier", + "src": "3414:7:10" + }, + { + "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$_DaicoPoD_$3126", + "typeString": "contract DaicoPoD" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "transferFrom", + "referencedDeclaration": 268, + "type": "function (address,address,uint256) external returns (bool)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2369, + "type": "contract EIP20StandardToken", + "value": "token" + }, + "id": 2548, + "name": "Identifier", + "src": "3422:5:10" + } + ], + "id": 2549, + "name": "MemberAccess", + "src": "3422:18:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2550, + "name": "Identifier", + "src": "3441:3:10" + } + ], + "id": 2551, + "name": "MemberAccess", + "src": "3441:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4554, + "type": "contract DaicoPoD", + "value": "this" + }, + "id": 2552, + "name": "Identifier", + "src": "3453:4:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2537, + "type": "uint256", + "value": "_amount" + }, + "id": 2553, + "name": "Identifier", + "src": "3459:7:10" + } + ], + "id": 2554, + "name": "FunctionCall", + "src": "3422:45:10" + } + ], + "id": 2555, + "name": "FunctionCall", + "src": "3414:54:10" + } + ], + "id": 2556, + "name": "ExpressionStatement", + "src": "3414:54: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, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2363, + "type": "mapping(address => uint256)", + "value": "lockedTokenBalances" + }, + "id": 2557, + "name": "Identifier", + "src": "3475:19:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2558, + "name": "Identifier", + "src": "3495:3:10" + } + ], + "id": 2559, + "name": "MemberAccess", + "src": "3495:10:10" + } + ], + "id": 2560, + "name": "IndexAccess", + "src": "3475:31:10" + }, + { + "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": 4498, + "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": 2363, + "type": "mapping(address => uint256)", + "value": "lockedTokenBalances" + }, + "id": 2561, + "name": "Identifier", + "src": "3509:19:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2562, + "name": "Identifier", + "src": "3529:3:10" + } + ], + "id": 2563, + "name": "MemberAccess", + "src": "3529:10:10" + } + ], + "id": 2564, + "name": "IndexAccess", + "src": "3509:31:10" + } + ], + "id": 2565, + "name": "MemberAccess", + "src": "3509:35:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2537, + "type": "uint256", + "value": "_amount" + }, + "id": 2566, + "name": "Identifier", + "src": "3545:7:10" + } + ], + "id": 2567, + "name": "FunctionCall", + "src": "3509:44:10" + } + ], + "id": 2568, + "name": "Assignment", + "src": "3475:78:10" + } + ], + "id": 2569, + "name": "ExpressionStatement", + "src": "3475:78:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2365, + "type": "uint256", + "value": "voterCount" + }, + "id": 2570, + "name": "Identifier", + "src": "3560:10:10" + }, + { + "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_rational_1_by_1", + "typeString": "int_const 1" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 4498, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2365, + "type": "uint256", + "value": "voterCount" + }, + "id": 2571, + "name": "Identifier", + "src": "3573:10:10" + } + ], + "id": 2572, + "name": "MemberAccess", + "src": "3573:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 2573, + "name": "Literal", + "src": "3588:1:10" + } + ], + "id": 2574, + "name": "FunctionCall", + "src": "3573:17:10" + } + ], + "id": 2575, + "name": "Assignment", + "src": "3560:30:10" + } + ], + "id": 2576, + "name": "ExpressionStatement", + "src": "3560:30:10" + }, + { + "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": 2407, + "type": "function (address,uint256)", + "value": "DepositToken" + }, + "id": 2577, + "name": "Identifier", + "src": "3597:12:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2578, + "name": "Identifier", + "src": "3610:3:10" + } + ], + "id": 2579, + "name": "MemberAccess", + "src": "3610:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2537, + "type": "uint256", + "value": "_amount" + }, + "id": 2580, + "name": "Identifier", + "src": "3622:7:10" + } + ], + "id": 2581, + "name": "FunctionCall", + "src": "3597:33:10" + } + ], + "id": 2582, + "name": "ExpressionStatement", + "src": "3597:33:10" + }, + { + "attributes": { + "functionReturnParameters": 2541 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2583, + "name": "Literal", + "src": "3644:4:10" + } + ], + "id": 2584, + "name": "Return", + "src": "3637:11:10" + } + ], + "id": 2585, + "name": "Block", + "src": "3380:273:10" + } + ], + "id": 2586, + "name": "FunctionDefinition", + "src": "3319:334:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "withdrawalToken", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 2587, + "name": "ParameterList", + "src": "3738:2:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 2656, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2588, + "name": "ElementaryTypeName", + "src": "3757:4:10" + } + ], + "id": 2589, + "name": "VariableDeclaration", + "src": "3757:4:10" + } + ], + "id": 2590, + "name": "ParameterList", + "src": "3756:6:10" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 2592 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "proposal", + "scope": 2656, + "stateVariable": false, + "storageLocation": "storage", + "type": "struct DaicoPoD.Proposal storage pointer", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "contractScope": null, + "name": "Proposal", + "referencedDeclaration": 2392, + "type": "struct DaicoPoD.Proposal storage pointer" + }, + "id": 2591, + "name": "UserDefinedTypeName", + "src": "3774:8:10" + } + ], + "id": 2592, + "name": "VariableDeclaration", + "src": "3774:25:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "struct DaicoPoD.Proposal storage ref" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2395, + "type": "struct DaicoPoD.Proposal storage ref[] storage ref", + "value": "proposals" + }, + "id": 2593, + "name": "Identifier", + "src": "3802:9:10" + }, + { + "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": 2395, + "type": "struct DaicoPoD.Proposal storage ref[] storage ref", + "value": "proposals" + }, + "id": 2594, + "name": "Identifier", + "src": "3812:9:10" + } + ], + "id": 2595, + "name": "MemberAccess", + "src": "3812:16:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 2596, + "name": "Literal", + "src": "3829:1:10" + } + ], + "id": 2597, + "name": "BinaryOperation", + "src": "3812:18:10" + } + ], + "id": 2598, + "name": "IndexAccess", + "src": "3802:29:10" + } + ], + "id": 2599, + "name": "VariableDeclarationStatement", + "src": "3774:57:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2600, + "name": "Identifier", + "src": "3838:7:10" + }, + { + "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": "isVote", + "referencedDeclaration": 2391, + "type": "mapping(address => bool)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2592, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2601, + "name": "Identifier", + "src": "3847:8:10" + } + ], + "id": 2602, + "name": "MemberAccess", + "src": "3847:15:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2603, + "name": "Identifier", + "src": "3863:3:10" + } + ], + "id": 2604, + "name": "MemberAccess", + "src": "3863:10:10" + } + ], + "id": 2605, + "name": "IndexAccess", + "src": "3847:27:10" + } + ], + "id": 2606, + "name": "UnaryOperation", + "src": "3846:28:10" + } + ], + "id": 2607, + "name": "FunctionCall", + "src": "3838:37:10" + } + ], + "id": 2608, + "name": "ExpressionStatement", + "src": "3838:37:10" + }, + { + "attributes": { + "assignments": [ + 2610 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "amount", + "scope": 2656, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2609, + "name": "ElementaryTypeName", + "src": "3882:7:10" + } + ], + "id": 2610, + "name": "VariableDeclaration", + "src": "3882:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2363, + "type": "mapping(address => uint256)", + "value": "lockedTokenBalances" + }, + "id": 2611, + "name": "Identifier", + "src": "3899:19:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2612, + "name": "Identifier", + "src": "3919:3:10" + } + ], + "id": 2613, + "name": "MemberAccess", + "src": "3919:10:10" + } + ], + "id": 2614, + "name": "IndexAccess", + "src": "3899:31:10" + } + ], + "id": 2615, + "name": "VariableDeclarationStatement", + "src": "3882:48:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2616, + "name": "Identifier", + "src": "3937:7:10" + }, + { + "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": 2610, + "type": "uint256", + "value": "amount" + }, + "id": 2617, + "name": "Identifier", + "src": "3945:6: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": 2618, + "name": "Literal", + "src": "3954:1:10" + } + ], + "id": 2619, + "name": "BinaryOperation", + "src": "3945:10:10" + } + ], + "id": 2620, + "name": "FunctionCall", + "src": "3937:19:10" + } + ], + "id": 2621, + "name": "ExpressionStatement", + "src": "3937:19:10" + }, + { + "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": 201, + "type": "function (address,uint256) external returns (bool)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2369, + "type": "contract EIP20StandardToken", + "value": "token" + }, + "id": 2622, + "name": "Identifier", + "src": "3963:5:10" + } + ], + "id": 2624, + "name": "MemberAccess", + "src": "3963:14:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2625, + "name": "Identifier", + "src": "3978:3:10" + } + ], + "id": 2626, + "name": "MemberAccess", + "src": "3978:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2363, + "type": "mapping(address => uint256)", + "value": "lockedTokenBalances" + }, + "id": 2627, + "name": "Identifier", + "src": "3990:19:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2628, + "name": "Identifier", + "src": "4010:3:10" + } + ], + "id": 2629, + "name": "MemberAccess", + "src": "4010:10:10" + } + ], + "id": 2630, + "name": "IndexAccess", + "src": "3990:31:10" + } + ], + "id": 2631, + "name": "FunctionCall", + "src": "3963:59:10" + } + ], + "id": 2632, + "name": "ExpressionStatement", + "src": "3963:59:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2365, + "type": "uint256", + "value": "voterCount" + }, + "id": 2633, + "name": "Identifier", + "src": "4029:10:10" + }, + { + "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_rational_1_by_1", + "typeString": "int_const 1" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sub", + "referencedDeclaration": 4474, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2365, + "type": "uint256", + "value": "voterCount" + }, + "id": 2634, + "name": "Identifier", + "src": "4042:10:10" + } + ], + "id": 2635, + "name": "MemberAccess", + "src": "4042:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 2636, + "name": "Literal", + "src": "4057:1:10" + } + ], + "id": 2637, + "name": "FunctionCall", + "src": "4042:17:10" + } + ], + "id": 2638, + "name": "Assignment", + "src": "4029:30:10" + } + ], + "id": 2639, + "name": "ExpressionStatement", + "src": "4029:30: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, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2363, + "type": "mapping(address => uint256)", + "value": "lockedTokenBalances" + }, + "id": 2640, + "name": "Identifier", + "src": "4066:19:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2641, + "name": "Identifier", + "src": "4086:3:10" + } + ], + "id": 2642, + "name": "MemberAccess", + "src": "4086:10:10" + } + ], + "id": 2643, + "name": "IndexAccess", + "src": "4066:31: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": 2644, + "name": "Literal", + "src": "4100:1:10" + } + ], + "id": 2645, + "name": "Assignment", + "src": "4066:35:10" + } + ], + "id": 2646, + "name": "ExpressionStatement", + "src": "4066:35:10" + }, + { + "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": 2413, + "type": "function (address,uint256)", + "value": "WithdrawalToken" + }, + "id": 2647, + "name": "Identifier", + "src": "4108:15:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2648, + "name": "Identifier", + "src": "4124:3:10" + } + ], + "id": 2649, + "name": "MemberAccess", + "src": "4124:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2610, + "type": "uint256", + "value": "amount" + }, + "id": 2650, + "name": "Identifier", + "src": "4136:6:10" + } + ], + "id": 2651, + "name": "FunctionCall", + "src": "4108:35:10" + } + ], + "id": 2652, + "name": "ExpressionStatement", + "src": "4108:35:10" + }, + { + "attributes": { + "functionReturnParameters": 2590 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2653, + "name": "Literal", + "src": "4156:4:10" + } + ], + "id": 2654, + "name": "Return", + "src": "4149:11:10" + } + ], + "id": 2655, + "name": "Block", + "src": "3763:402:10" + } + ], + "id": 2656, + "name": "FunctionDefinition", + "src": "3714:451:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "vote", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_flag", + "scope": 2751, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2657, + "name": "ElementaryTypeName", + "src": "4320:4:10" + } + ], + "id": 2658, + "name": "VariableDeclaration", + "src": "4320:10:10" + } + ], + "id": 2659, + "name": "ParameterList", + "src": "4319:12:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 2751, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2660, + "name": "ElementaryTypeName", + "src": "4348:4:10" + } + ], + "id": 2661, + "name": "VariableDeclaration", + "src": "4348:4:10" + } + ], + "id": 2662, + "name": "ParameterList", + "src": "4347:6:10" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 2664 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "proposal", + "scope": 2751, + "stateVariable": false, + "storageLocation": "storage", + "type": "struct DaicoPoD.Proposal storage pointer", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "contractScope": null, + "name": "Proposal", + "referencedDeclaration": 2392, + "type": "struct DaicoPoD.Proposal storage pointer" + }, + "id": 2663, + "name": "UserDefinedTypeName", + "src": "4361:8:10" + } + ], + "id": 2664, + "name": "VariableDeclaration", + "src": "4361:25:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "struct DaicoPoD.Proposal storage ref" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2395, + "type": "struct DaicoPoD.Proposal storage ref[] storage ref", + "value": "proposals" + }, + "id": 2665, + "name": "Identifier", + "src": "4389:9:10" + }, + { + "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": 2395, + "type": "struct DaicoPoD.Proposal storage ref[] storage ref", + "value": "proposals" + }, + "id": 2666, + "name": "Identifier", + "src": "4399:9:10" + } + ], + "id": 2667, + "name": "MemberAccess", + "src": "4399:16:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 2668, + "name": "Literal", + "src": "4416:1:10" + } + ], + "id": 2669, + "name": "BinaryOperation", + "src": "4399:18:10" + } + ], + "id": 2670, + "name": "IndexAccess", + "src": "4389:29:10" + } + ], + "id": 2671, + "name": "VariableDeclarationStatement", + "src": "4361:57:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2672, + "name": "Identifier", + "src": "4425:7:10" + }, + { + "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": "timestamp", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4503, + "type": "block", + "value": "block" + }, + "id": 2673, + "name": "Identifier", + "src": "4433:5:10" + } + ], + "id": 2674, + "name": "MemberAccess", + "src": "4433:15:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "openVoteTime", + "referencedDeclaration": 2375, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2664, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2675, + "name": "Identifier", + "src": "4452:8:10" + } + ], + "id": 2676, + "name": "MemberAccess", + "src": "4452:21:10" + } + ], + "id": 2677, + "name": "BinaryOperation", + "src": "4433:40:10" + } + ], + "id": 2678, + "name": "FunctionCall", + "src": "4425:49:10" + } + ], + "id": 2679, + "name": "ExpressionStatement", + "src": "4425:49:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2680, + "name": "Identifier", + "src": "4480:7:10" + }, + { + "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": "timestamp", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4503, + "type": "block", + "value": "block" + }, + "id": 2681, + "name": "Identifier", + "src": "4488:5:10" + } + ], + "id": 2682, + "name": "MemberAccess", + "src": "4488:15:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "closeVoteTime", + "referencedDeclaration": 2377, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2664, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2683, + "name": "Identifier", + "src": "4506:8:10" + } + ], + "id": 2684, + "name": "MemberAccess", + "src": "4506:22:10" + } + ], + "id": 2685, + "name": "BinaryOperation", + "src": "4488:40:10" + } + ], + "id": 2686, + "name": "FunctionCall", + "src": "4480:49:10" + } + ], + "id": 2687, + "name": "ExpressionStatement", + "src": "4480:49:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2688, + "name": "Identifier", + "src": "4536:7:10" + }, + { + "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": "isVote", + "referencedDeclaration": 2391, + "type": "mapping(address => bool)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2664, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2689, + "name": "Identifier", + "src": "4545:8:10" + } + ], + "id": 2690, + "name": "MemberAccess", + "src": "4545:15:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2691, + "name": "Identifier", + "src": "4561:3:10" + } + ], + "id": 2692, + "name": "MemberAccess", + "src": "4561:10:10" + } + ], + "id": 2693, + "name": "IndexAccess", + "src": "4545:27:10" + } + ], + "id": 2694, + "name": "UnaryOperation", + "src": "4544:28:10" + } + ], + "id": 2695, + "name": "FunctionCall", + "src": "4536:37:10" + } + ], + "id": 2696, + "name": "ExpressionStatement", + "src": "4536:37:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2697, + "name": "Identifier", + "src": "4580:7:10" + }, + { + "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": 2363, + "type": "mapping(address => uint256)", + "value": "lockedTokenBalances" + }, + "id": 2698, + "name": "Identifier", + "src": "4588:19:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2699, + "name": "Identifier", + "src": "4608:3:10" + } + ], + "id": 2700, + "name": "MemberAccess", + "src": "4608:10:10" + } + ], + "id": 2701, + "name": "IndexAccess", + "src": "4588:31:10" + }, + { + "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_rational_15000_by_1", + "typeString": "int_const 15000" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "mul", + "referencedDeclaration": 4436, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2371, + "type": "uint256", + "value": "tokenMultiplier" + }, + "id": 2702, + "name": "Identifier", + "src": "4623:15:10" + } + ], + "id": 2703, + "name": "MemberAccess", + "src": "4623:19:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "3135303030", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 15000", + "value": "15000" + }, + "id": 2704, + "name": "Literal", + "src": "4643:5:10" + } + ], + "id": 2705, + "name": "FunctionCall", + "src": "4623:26:10" + } + ], + "id": 2706, + "name": "BinaryOperation", + "src": "4588:61:10" + } + ], + "id": 2707, + "name": "FunctionCall", + "src": "4580:70:10" + } + ], + "id": 2708, + "name": "ExpressionStatement", + "src": "4580:70:10" + }, + { + "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": "isVote", + "referencedDeclaration": 2391, + "type": "mapping(address => bool)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2664, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2709, + "name": "Identifier", + "src": "4657:8:10" + } + ], + "id": 2713, + "name": "MemberAccess", + "src": "4657:15:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2711, + "name": "Identifier", + "src": "4673:3:10" + } + ], + "id": 2712, + "name": "MemberAccess", + "src": "4673:10:10" + } + ], + "id": 2714, + "name": "IndexAccess", + "src": "4657:27:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2715, + "name": "Literal", + "src": "4687:4:10" + } + ], + "id": 2716, + "name": "Assignment", + "src": "4657:34:10" + } + ], + "id": 2717, + "name": "ExpressionStatement", + "src": "4657:34: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, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "voted", + "referencedDeclaration": 2387, + "type": "mapping(bool => uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2664, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2718, + "name": "Identifier", + "src": "4697:8:10" + } + ], + "id": 2721, + "name": "MemberAccess", + "src": "4697:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2658, + "type": "bool", + "value": "_flag" + }, + "id": 2720, + "name": "Identifier", + "src": "4712:5:10" + } + ], + "id": 2722, + "name": "IndexAccess", + "src": "4697:21:10" + }, + { + "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_rational_1_by_1", + "typeString": "int_const 1" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 4498, + "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, + "member_name": "voted", + "referencedDeclaration": 2387, + "type": "mapping(bool => uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2664, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2723, + "name": "Identifier", + "src": "4721:8:10" + } + ], + "id": 2724, + "name": "MemberAccess", + "src": "4721:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2658, + "type": "bool", + "value": "_flag" + }, + "id": 2725, + "name": "Identifier", + "src": "4736:5:10" + } + ], + "id": 2726, + "name": "IndexAccess", + "src": "4721:21:10" + } + ], + "id": 2727, + "name": "MemberAccess", + "src": "4721:25:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 2728, + "name": "Literal", + "src": "4747:1:10" + } + ], + "id": 2729, + "name": "FunctionCall", + "src": "4721:28:10" + } + ], + "id": 2730, + "name": "Assignment", + "src": "4697:52:10" + } + ], + "id": 2731, + "name": "ExpressionStatement", + "src": "4697:52: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": "totalVoted", + "referencedDeclaration": 2379, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2664, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2732, + "name": "Identifier", + "src": "4755:8:10" + } + ], + "id": 2734, + "name": "MemberAccess", + "src": "4755:19:10" + }, + { + "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_rational_1_by_1", + "typeString": "int_const 1" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 4498, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "totalVoted", + "referencedDeclaration": 2379, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2664, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2735, + "name": "Identifier", + "src": "4777:8:10" + } + ], + "id": 2736, + "name": "MemberAccess", + "src": "4777:19:10" + } + ], + "id": 2737, + "name": "MemberAccess", + "src": "4777:23:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 2738, + "name": "Literal", + "src": "4801:1:10" + } + ], + "id": 2739, + "name": "FunctionCall", + "src": "4777:26:10" + } + ], + "id": 2740, + "name": "Assignment", + "src": "4755:48:10" + } + ], + "id": 2741, + "name": "ExpressionStatement", + "src": "4755:48:10" + }, + { + "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_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2401, + "type": "function (address,bool)", + "value": "Voted" + }, + "id": 2742, + "name": "Identifier", + "src": "4810:5:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2743, + "name": "Identifier", + "src": "4816:3:10" + } + ], + "id": 2744, + "name": "MemberAccess", + "src": "4816:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2658, + "type": "bool", + "value": "_flag" + }, + "id": 2745, + "name": "Identifier", + "src": "4828:5:10" + } + ], + "id": 2746, + "name": "FunctionCall", + "src": "4810:24:10" + } + ], + "id": 2747, + "name": "ExpressionStatement", + "src": "4810:24:10" + }, + { + "attributes": { + "functionReturnParameters": 2662 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2748, + "name": "Literal", + "src": "4848:4:10" + } + ], + "id": 2749, + "name": "Return", + "src": "4841:11:10" + } + ], + "id": 2750, + "name": "Block", + "src": "4354:503:10" + } + ], + "id": 2751, + "name": "FunctionDefinition", + "src": "4306:551:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "submitProposal", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_nextOpenTime", + "scope": 2833, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2752, + "name": "ElementaryTypeName", + "src": "5232:7:10" + } + ], + "id": 2753, + "name": "VariableDeclaration", + "src": "5232:21:10" + }, + { + "attributes": { + "constant": false, + "name": "_nextCloseTime", + "scope": 2833, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2754, + "name": "ElementaryTypeName", + "src": "5255:7:10" + } + ], + "id": 2755, + "name": "VariableDeclaration", + "src": "5255:22:10" + }, + { + "attributes": { + "constant": false, + "name": "_nextTapAmount", + "scope": 2833, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2756, + "name": "ElementaryTypeName", + "src": "5279:7:10" + } + ], + "id": 2757, + "name": "VariableDeclaration", + "src": "5279:22:10" + }, + { + "attributes": { + "constant": false, + "name": "_isDestruct", + "scope": 2833, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2758, + "name": "ElementaryTypeName", + "src": "5303:4:10" + } + ], + "id": 2759, + "name": "VariableDeclaration", + "src": "5303:16:10" + } + ], + "id": 2760, + "name": "ParameterList", + "src": "5231:89:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 2833, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2761, + "name": "ElementaryTypeName", + "src": "5337:4:10" + } + ], + "id": 2762, + "name": "VariableDeclaration", + "src": "5337:4:10" + } + ], + "id": 2763, + "name": "ParameterList", + "src": "5336:6:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2764, + "name": "Identifier", + "src": "5350:7:10" + }, + { + "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": "timestamp", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4503, + "type": "block", + "value": "block" + }, + "id": 2765, + "name": "Identifier", + "src": "5358:5:10" + } + ], + "id": 2766, + "name": "MemberAccess", + "src": "5358:15:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2753, + "type": "uint256", + "value": "_nextOpenTime" + }, + "id": 2767, + "name": "Identifier", + "src": "5377:13:10" + } + ], + "id": 2768, + "name": "BinaryOperation", + "src": "5358:32:10" + } + ], + "id": 2769, + "name": "FunctionCall", + "src": "5350:41:10" + } + ], + "id": 2770, + "name": "ExpressionStatement", + "src": "5350:41:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2771, + "name": "Identifier", + "src": "5397:7:10" + }, + { + "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": 2755, + "type": "uint256", + "value": "_nextCloseTime" + }, + "id": 2772, + "name": "Identifier", + "src": "5405:14:10" + }, + { + "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_rational_604800_by_1", + "typeString": "int_const 604800" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 4498, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2753, + "type": "uint256", + "value": "_nextOpenTime" + }, + "id": 2773, + "name": "Identifier", + "src": "5423:13:10" + } + ], + "id": 2774, + "name": "MemberAccess", + "src": "5423:17:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "37", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": "days", + "token": "number", + "type": "int_const 604800", + "value": "7" + }, + "id": 2775, + "name": "Literal", + "src": "5441:6:10" + } + ], + "id": 2776, + "name": "FunctionCall", + "src": "5423:25:10" + } + ], + "id": 2777, + "name": "BinaryOperation", + "src": "5405:43:10" + } + ], + "id": 2778, + "name": "FunctionCall", + "src": "5397:52:10" + } + ], + "id": 2779, + "name": "ExpressionStatement", + "src": "5397:52:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2780, + "name": "Identifier", + "src": "5456:7:10" + }, + { + "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": 2363, + "type": "mapping(address => uint256)", + "value": "lockedTokenBalances" + }, + "id": 2781, + "name": "Identifier", + "src": "5464:19:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2782, + "name": "Identifier", + "src": "5484:3:10" + } + ], + "id": 2783, + "name": "MemberAccess", + "src": "5484:10:10" + } + ], + "id": 2784, + "name": "IndexAccess", + "src": "5464:31:10" + }, + { + "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_rational_30000_by_1", + "typeString": "int_const 30000" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "mul", + "referencedDeclaration": 4436, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2371, + "type": "uint256", + "value": "tokenMultiplier" + }, + "id": 2785, + "name": "Identifier", + "src": "5499:15:10" + } + ], + "id": 2786, + "name": "MemberAccess", + "src": "5499:19:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "3330303030", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 30000", + "value": "30000" + }, + "id": 2787, + "name": "Literal", + "src": "5519:5:10" + } + ], + "id": 2788, + "name": "FunctionCall", + "src": "5499:26:10" + } + ], + "id": 2789, + "name": "BinaryOperation", + "src": "5464:61:10" + } + ], + "id": 2790, + "name": "FunctionCall", + "src": "5456:70:10" + } + ], + "id": 2791, + "name": "ExpressionStatement", + "src": "5456:70:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2792, + "name": "Identifier", + "src": "5533:7:10" + }, + { + "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": 2357, + "type": "uint256", + "value": "tap" + }, + "id": 2793, + "name": "Identifier", + "src": "5541:3:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2757, + "type": "uint256", + "value": "_nextTapAmount" + }, + "id": 2794, + "name": "Identifier", + "src": "5547:14:10" + } + ], + "id": 2795, + "name": "BinaryOperation", + "src": "5541:20:10" + } + ], + "id": 2796, + "name": "FunctionCall", + "src": "5533:29:10" + } + ], + "id": 2797, + "name": "ExpressionStatement", + "src": "5533:29:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2798, + "name": "Identifier", + "src": "5569:7:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!", + "prefix": true, + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2373, + "type": "bool", + "value": "isProposed" + }, + "id": 2799, + "name": "Identifier", + "src": "5578:10:10" + } + ], + "id": 2800, + "name": "UnaryOperation", + "src": "5577:11:10" + } + ], + "id": 2801, + "name": "FunctionCall", + "src": "5569:20:10" + } + ], + "id": 2802, + "name": "ExpressionStatement", + "src": "5569:20:10" + }, + { + "attributes": { + "assignments": [ + 2804 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "newProposal", + "scope": 2833, + "stateVariable": false, + "storageLocation": "memory", + "type": "struct DaicoPoD.Proposal memory", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "contractScope": null, + "name": "Proposal", + "referencedDeclaration": 2392, + "type": "struct DaicoPoD.Proposal storage pointer" + }, + "id": 2803, + "name": "UserDefinedTypeName", + "src": "5596:8:10" + } + ], + "id": 2804, + "name": "VariableDeclaration", + "src": "5596:27:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": true, + "lValueRequested": false, + "names": [ + "openVoteTime", + "closeVoteTime", + "newTap", + "isDestruct", + "totalVoted" + ], + "type": "struct DaicoPoD.Proposal memory", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2392, + "type": "type(struct DaicoPoD.Proposal storage pointer)", + "value": "Proposal" + }, + "id": 2805, + "name": "Identifier", + "src": "5626:8:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2753, + "type": "uint256", + "value": "_nextOpenTime" + }, + "id": 2806, + "name": "Identifier", + "src": "5657:13:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2755, + "type": "uint256", + "value": "_nextCloseTime" + }, + "id": 2807, + "name": "Identifier", + "src": "5693:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2757, + "type": "uint256", + "value": "_nextTapAmount" + }, + "id": 2808, + "name": "Identifier", + "src": "5723:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2759, + "type": "bool", + "value": "_isDestruct" + }, + "id": 2809, + "name": "Identifier", + "src": "5757:11: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": 2810, + "name": "Literal", + "src": "5788:1:10" + } + ], + "id": 2811, + "name": "FunctionCall", + "src": "5626:170:10" + } + ], + "id": 2812, + "name": "VariableDeclarationStatement", + "src": "5596:200:10" + }, + { + "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$_Proposal_$2392_memory_ptr", + "typeString": "struct DaicoPoD.Proposal memory" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "push", + "referencedDeclaration": null, + "type": "function (struct DaicoPoD.Proposal storage ref) returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2395, + "type": "struct DaicoPoD.Proposal storage ref[] storage ref", + "value": "proposals" + }, + "id": 2813, + "name": "Identifier", + "src": "5803:9:10" + } + ], + "id": 2815, + "name": "MemberAccess", + "src": "5803:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2804, + "type": "struct DaicoPoD.Proposal memory", + "value": "newProposal" + }, + "id": 2816, + "name": "Identifier", + "src": "5818:11:10" + } + ], + "id": 2817, + "name": "FunctionCall", + "src": "5803:27:10" + } + ], + "id": 2818, + "name": "ExpressionStatement", + "src": "5803:27:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2373, + "type": "bool", + "value": "isProposed" + }, + "id": 2819, + "name": "Identifier", + "src": "5837:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2820, + "name": "Literal", + "src": "5850:4:10" + } + ], + "id": 2821, + "name": "Assignment", + "src": "5837:17:10" + } + ], + "id": 2822, + "name": "ExpressionStatement", + "src": "5837:17:10" + }, + { + "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_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2423, + "type": "function (uint256,uint256,uint256,bool)", + "value": "SubmittedProposal" + }, + "id": 2823, + "name": "Identifier", + "src": "5861:17:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2753, + "type": "uint256", + "value": "_nextOpenTime" + }, + "id": 2824, + "name": "Identifier", + "src": "5879:13:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2755, + "type": "uint256", + "value": "_nextCloseTime" + }, + "id": 2825, + "name": "Identifier", + "src": "5894:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2757, + "type": "uint256", + "value": "_nextTapAmount" + }, + "id": 2826, + "name": "Identifier", + "src": "5910:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2759, + "type": "bool", + "value": "_isDestruct" + }, + "id": 2827, + "name": "Identifier", + "src": "5926:11:10" + } + ], + "id": 2828, + "name": "FunctionCall", + "src": "5861:77:10" + } + ], + "id": 2829, + "name": "ExpressionStatement", + "src": "5861:77:10" + }, + { + "attributes": { + "functionReturnParameters": 2763 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2830, + "name": "Literal", + "src": "5951:4:10" + } + ], + "id": 2831, + "name": "Return", + "src": "5944:11:10" + } + ], + "id": 2832, + "name": "Block", + "src": "5343:617:10" + } + ], + "id": 2833, + "name": "FunctionDefinition", + "src": "5208:752:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "aggregateVotes", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 2834, + "name": "ParameterList", + "src": "6130:2:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 2946, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint", + "type": "uint256" + }, + "id": 2835, + "name": "ElementaryTypeName", + "src": "6149:4:10" + } + ], + "id": 2836, + "name": "VariableDeclaration", + "src": "6149:4:10" + } + ], + "id": 2837, + "name": "ParameterList", + "src": "6148:6:10" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 2839 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "proposal", + "scope": 2946, + "stateVariable": false, + "storageLocation": "storage", + "type": "struct DaicoPoD.Proposal storage pointer", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "contractScope": null, + "name": "Proposal", + "referencedDeclaration": 2392, + "type": "struct DaicoPoD.Proposal storage pointer" + }, + "id": 2838, + "name": "UserDefinedTypeName", + "src": "6166:8:10" + } + ], + "id": 2839, + "name": "VariableDeclaration", + "src": "6166:25:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "struct DaicoPoD.Proposal storage ref" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2395, + "type": "struct DaicoPoD.Proposal storage ref[] storage ref", + "value": "proposals" + }, + "id": 2840, + "name": "Identifier", + "src": "6194:9:10" + }, + { + "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": 2395, + "type": "struct DaicoPoD.Proposal storage ref[] storage ref", + "value": "proposals" + }, + "id": 2841, + "name": "Identifier", + "src": "6204:9:10" + } + ], + "id": 2842, + "name": "MemberAccess", + "src": "6204:16:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 2843, + "name": "Literal", + "src": "6221:1:10" + } + ], + "id": 2844, + "name": "BinaryOperation", + "src": "6204:18:10" + } + ], + "id": 2845, + "name": "IndexAccess", + "src": "6194:29:10" + } + ], + "id": 2846, + "name": "VariableDeclarationStatement", + "src": "6166:57:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2847, + "name": "Identifier", + "src": "6234:7:10" + }, + { + "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": "timestamp", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4503, + "type": "block", + "value": "block" + }, + "id": 2848, + "name": "Identifier", + "src": "6242:5:10" + } + ], + "id": 2849, + "name": "MemberAccess", + "src": "6242:15:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "closeVoteTime", + "referencedDeclaration": 2377, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2839, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2850, + "name": "Identifier", + "src": "6261:8:10" + } + ], + "id": 2851, + "name": "MemberAccess", + "src": "6261:22:10" + } + ], + "id": 2852, + "name": "BinaryOperation", + "src": "6242:41:10" + } + ], + "id": 2853, + "name": "FunctionCall", + "src": "6234:50:10" + } + ], + "id": 2854, + "name": "ExpressionStatement", + "src": "6234:50:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2855, + "name": "Identifier", + "src": "6291:7:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!", + "prefix": true, + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2367, + "type": "bool", + "value": "refundable" + }, + "id": 2856, + "name": "Identifier", + "src": "6300:10:10" + } + ], + "id": 2857, + "name": "UnaryOperation", + "src": "6299:11:10" + } + ], + "id": 2858, + "name": "FunctionCall", + "src": "6291:20:10" + } + ], + "id": 2859, + "name": "ExpressionStatement", + "src": "6291:20:10" + }, + { + "attributes": { + "assignments": [ + 2861 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "votedUsers", + "scope": 2946, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint", + "type": "uint256" + }, + "id": 2860, + "name": "ElementaryTypeName", + "src": "6318:4:10" + } + ], + "id": 2861, + "name": "VariableDeclaration", + "src": "6318:15:10" + }, + { + "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": 4498, + "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, + "member_name": "voted", + "referencedDeclaration": 2387, + "type": "mapping(bool => uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2839, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2862, + "name": "Identifier", + "src": "6336:8:10" + } + ], + "id": 2863, + "name": "MemberAccess", + "src": "6336:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2864, + "name": "Literal", + "src": "6351:4:10" + } + ], + "id": 2865, + "name": "IndexAccess", + "src": "6336:20:10" + } + ], + "id": 2866, + "name": "MemberAccess", + "src": "6336:24:10" + }, + { + "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": "voted", + "referencedDeclaration": 2387, + "type": "mapping(bool => uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2839, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2867, + "name": "Identifier", + "src": "6361:8:10" + } + ], + "id": 2868, + "name": "MemberAccess", + "src": "6361:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "66616c7365", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "false" + }, + "id": 2869, + "name": "Literal", + "src": "6376:5:10" + } + ], + "id": 2870, + "name": "IndexAccess", + "src": "6361:21:10" + } + ], + "id": 2871, + "name": "FunctionCall", + "src": "6336:47:10" + } + ], + "id": 2872, + "name": "VariableDeclarationStatement", + "src": "6318:65:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2373, + "type": "bool", + "value": "isProposed" + }, + "id": 2873, + "name": "Identifier", + "src": "6390:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "66616c7365", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "false" + }, + "id": 2874, + "name": "Literal", + "src": "6403:5:10" + } + ], + "id": 2875, + "name": "Assignment", + "src": "6390:18:10" + } + ], + "id": 2876, + "name": "ExpressionStatement", + "src": "6390:18:10" + }, + { + "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": 2861, + "type": "uint256", + "value": "votedUsers" + }, + "id": 2877, + "name": "Identifier", + "src": "6419:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "3230", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 20", + "value": "20" + }, + "id": 2878, + "name": "Literal", + "src": "6433:2:10" + } + ], + "id": 2879, + "name": "BinaryOperation", + "src": "6419:16:10" + }, + { + "children": [ + { + "attributes": { + "functionReturnParameters": 2837 + }, + "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": 2880, + "name": "Literal", + "src": "6452:1:10" + } + ], + "id": 2881, + "name": "Return", + "src": "6445:8:10" + } + ], + "id": 2882, + "name": "Block", + "src": "6437:23:10" + } + ], + "id": 2883, + "name": "IfStatement", + "src": "6415:45:10" + }, + { + "attributes": { + "assignments": [ + 2885 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "absent", + "scope": 2946, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint", + "type": "uint256" + }, + "id": 2884, + "name": "ElementaryTypeName", + "src": "6466:4:10" + } + ], + "id": 2885, + "name": "VariableDeclaration", + "src": "6466:11:10" + }, + { + "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": 4474, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2365, + "type": "uint256", + "value": "voterCount" + }, + "id": 2886, + "name": "Identifier", + "src": "6480:10:10" + } + ], + "id": 2887, + "name": "MemberAccess", + "src": "6480:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2861, + "type": "uint256", + "value": "votedUsers" + }, + "id": 2888, + "name": "Identifier", + "src": "6495:10:10" + } + ], + "id": 2889, + "name": "FunctionCall", + "src": "6480:26:10" + } + ], + "id": 2890, + "name": "VariableDeclarationStatement", + "src": "6466:40:10" + }, + { + "attributes": { + "assignments": [ + 2892 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "threshold", + "scope": 2946, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint", + "type": "uint256" + }, + "id": 2891, + "name": "ElementaryTypeName", + "src": "6513:4:10" + } + ], + "id": 2892, + "name": "VariableDeclaration", + "src": "6513:14:10" + }, + { + "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_rational_6_by_1", + "typeString": "int_const 6" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "div", + "referencedDeclaration": 4454, + "type": "function (uint256,uint256) pure returns (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_rational_10000_by_1", + "typeString": "int_const 10000" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "mul", + "referencedDeclaration": 4436, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2885, + "type": "uint256", + "value": "absent" + }, + "id": 2893, + "name": "Identifier", + "src": "6530:6:10" + } + ], + "id": 2894, + "name": "MemberAccess", + "src": "6530:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "3130303030", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 10000", + "value": "10000" + }, + "id": 2895, + "name": "Literal", + "src": "6541:5:10" + } + ], + "id": 2896, + "name": "FunctionCall", + "src": "6530:17:10" + } + ], + "id": 2897, + "name": "MemberAccess", + "src": "6530:21:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "36", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 6", + "value": "6" + }, + "id": 2898, + "name": "Literal", + "src": "6552:1:10" + } + ], + "id": 2899, + "name": "FunctionCall", + "src": "6530:24:10" + } + ], + "id": 2900, + "name": "VariableDeclarationStatement", + "src": "6513:41:10" + }, + { + "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_rational_10000_by_1", + "typeString": "int_const 10000" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "mul", + "referencedDeclaration": 4436, + "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, + "member_name": "voted", + "referencedDeclaration": 2387, + "type": "mapping(bool => uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2839, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2901, + "name": "Identifier", + "src": "6565:8:10" + } + ], + "id": 2902, + "name": "MemberAccess", + "src": "6565:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2903, + "name": "Literal", + "src": "6580:4:10" + } + ], + "id": 2904, + "name": "IndexAccess", + "src": "6565:20:10" + } + ], + "id": 2905, + "name": "MemberAccess", + "src": "6565:24:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "3130303030", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 10000", + "value": "10000" + }, + "id": 2906, + "name": "Literal", + "src": "6590:5:10" + } + ], + "id": 2907, + "name": "FunctionCall", + "src": "6565:31:10" + }, + { + "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": 4498, + "type": "function (uint256,uint256) pure returns (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_rational_10000_by_1", + "typeString": "int_const 10000" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "mul", + "referencedDeclaration": 4436, + "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, + "member_name": "voted", + "referencedDeclaration": 2387, + "type": "mapping(bool => uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2839, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2908, + "name": "Identifier", + "src": "6599:8:10" + } + ], + "id": 2909, + "name": "MemberAccess", + "src": "6599:14:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "66616c7365", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "false" + }, + "id": 2910, + "name": "Literal", + "src": "6614:5:10" + } + ], + "id": 2911, + "name": "IndexAccess", + "src": "6599:21:10" + } + ], + "id": 2912, + "name": "MemberAccess", + "src": "6599:25:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "3130303030", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 10000", + "value": "10000" + }, + "id": 2913, + "name": "Literal", + "src": "6625:5:10" + } + ], + "id": 2914, + "name": "FunctionCall", + "src": "6599:32:10" + } + ], + "id": 2915, + "name": "MemberAccess", + "src": "6599:36:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2892, + "type": "uint256", + "value": "threshold" + }, + "id": 2916, + "name": "Identifier", + "src": "6636:9:10" + } + ], + "id": 2917, + "name": "FunctionCall", + "src": "6599:47:10" + } + ], + "id": 2918, + "name": "BinaryOperation", + "src": "6565:81:10" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "isDestruct", + "referencedDeclaration": 2383, + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2839, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2919, + "name": "Identifier", + "src": "6660:8:10" + } + ], + "id": 2920, + "name": "MemberAccess", + "src": "6660:19:10" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2367, + "type": "bool", + "value": "refundable" + }, + "id": 2921, + "name": "Identifier", + "src": "6691:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2922, + "name": "Literal", + "src": "6704:4:10" + } + ], + "id": 2923, + "name": "Assignment", + "src": "6691:17:10" + } + ], + "id": 2924, + "name": "ExpressionStatement", + "src": "6691:17:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2357, + "type": "uint256", + "value": "tap" + }, + "id": 2925, + "name": "Identifier", + "src": "6718:3: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": 2926, + "name": "Literal", + "src": "6724:1:10" + } + ], + "id": 2927, + "name": "Assignment", + "src": "6718:7:10" + } + ], + "id": 2928, + "name": "ExpressionStatement", + "src": "6718:7:10" + }, + { + "attributes": { + "functionReturnParameters": 2837 + }, + "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": 2929, + "name": "Literal", + "src": "6742:1:10" + } + ], + "id": 2930, + "name": "Return", + "src": "6735:8:10" + } + ], + "id": 2931, + "name": "Block", + "src": "6681:71:10" + }, + { + "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_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3093, + "type": "function (uint256) returns (bool)", + "value": "modifyTap" + }, + "id": 2932, + "name": "Identifier", + "src": "6768:9:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "newTap", + "referencedDeclaration": 2381, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2839, + "type": "struct DaicoPoD.Proposal storage pointer", + "value": "proposal" + }, + "id": 2933, + "name": "Identifier", + "src": "6778:8:10" + } + ], + "id": 2934, + "name": "MemberAccess", + "src": "6778:15:10" + } + ], + "id": 2935, + "name": "FunctionCall", + "src": "6768:26:10" + } + ], + "id": 2936, + "name": "ExpressionStatement", + "src": "6768:26:10" + }, + { + "attributes": { + "functionReturnParameters": 2837 + }, + "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": 2937, + "name": "Literal", + "src": "6811:1:10" + } + ], + "id": 2938, + "name": "Return", + "src": "6804:8:10" + } + ], + "id": 2939, + "name": "Block", + "src": "6758:63:10" + } + ], + "id": 2940, + "name": "IfStatement", + "src": "6656:165:10" + } + ], + "id": 2941, + "name": "Block", + "src": "6648:179:10" + } + ], + "id": 2942, + "name": "IfStatement", + "src": "6561:266:10" + }, + { + "attributes": { + "functionReturnParameters": 2837 + }, + "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": 2943, + "name": "Literal", + "src": "6839:1:10" + } + ], + "id": 2944, + "name": "Return", + "src": "6832:8:10" + } + ], + "id": 2945, + "name": "Block", + "src": "6155:690:10" + } + ], + "id": 2946, + "name": "FunctionDefinition", + "src": "6107:738:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "withdraw", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 2947, + "name": "ParameterList", + "src": "7009:2:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 2991, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2948, + "name": "ElementaryTypeName", + "src": "7028:4:10" + } + ], + "id": 2949, + "name": "VariableDeclaration", + "src": "7028:4:10" + } + ], + "id": 2950, + "name": "ParameterList", + "src": "7027:6:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2951, + "name": "Identifier", + "src": "7041:7:10" + }, + { + "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": "timestamp", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4503, + "type": "block", + "value": "block" + }, + "id": 2952, + "name": "Identifier", + "src": "7049:5:10" + } + ], + "id": 2953, + "name": "MemberAccess", + "src": "7049:15:10" + }, + { + "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_rational_2592000_by_1", + "typeString": "int_const 2592000" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "add", + "referencedDeclaration": 4498, + "type": "function (uint256,uint256) pure returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2359, + "type": "uint256", + "value": "lastWithdrawn" + }, + "id": 2954, + "name": "Identifier", + "src": "7067:13:10" + } + ], + "id": 2955, + "name": "MemberAccess", + "src": "7067:17:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "3330", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": "days", + "token": "number", + "type": "int_const 2592000", + "value": "30" + }, + "id": 2956, + "name": "Literal", + "src": "7085:7:10" + } + ], + "id": 2957, + "name": "FunctionCall", + "src": "7067:26:10" + } + ], + "id": 2958, + "name": "BinaryOperation", + "src": "7049:44:10" + } + ], + "id": 2959, + "name": "FunctionCall", + "src": "7041:53:10" + } + ], + "id": 2960, + "name": "ExpressionStatement", + "src": "7041:53:10" + }, + { + "attributes": { + "assignments": [ + 2962 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "amount", + "scope": 2991, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2961, + "name": "ElementaryTypeName", + "src": "7101:7:10" + } + ], + "id": 2962, + "name": "VariableDeclaration", + "src": "7101:14:10" + }, + { + "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, + "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, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "timestamp", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4503, + "type": "block", + "value": "block" + }, + "id": 2963, + "name": "Identifier", + "src": "7119:5:10" + } + ], + "id": 2964, + "name": "MemberAccess", + "src": "7119:15:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2359, + "type": "uint256", + "value": "lastWithdrawn" + }, + "id": 2965, + "name": "Identifier", + "src": "7137:13:10" + } + ], + "id": 2966, + "name": "BinaryOperation", + "src": "7119:31:10" + } + ], + "id": 2967, + "name": "TupleExpression", + "src": "7118:33:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2357, + "type": "uint256", + "value": "tap" + }, + "id": 2968, + "name": "Identifier", + "src": "7154:3:10" + } + ], + "id": 2969, + "name": "BinaryOperation", + "src": "7118:39:10" + } + ], + "id": 2970, + "name": "VariableDeclarationStatement", + "src": "7101:56:10" + }, + { + "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": 2099, + "type": "address", + "value": "wallet" + }, + "id": 2971, + "name": "Identifier", + "src": "7163:6:10" + } + ], + "id": 2973, + "name": "MemberAccess", + "src": "7163:15:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2962, + "type": "uint256", + "value": "amount" + }, + "id": 2974, + "name": "Identifier", + "src": "7179:6:10" + } + ], + "id": 2975, + "name": "FunctionCall", + "src": "7163:23:10" + } + ], + "id": 2976, + "name": "ExpressionStatement", + "src": "7163:23:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2359, + "type": "uint256", + "value": "lastWithdrawn" + }, + "id": 2977, + "name": "Identifier", + "src": "7193:13:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "timestamp", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4503, + "type": "block", + "value": "block" + }, + "id": 2978, + "name": "Identifier", + "src": "7209:5:10" + } + ], + "id": 2979, + "name": "MemberAccess", + "src": "7209:15:10" + } + ], + "id": 2980, + "name": "Assignment", + "src": "7193:31:10" + } + ], + "id": 2981, + "name": "ExpressionStatement", + "src": "7193:31:10" + }, + { + "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_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2435, + "type": "function (address,uint256,uint256)", + "value": "Withdraw" + }, + "id": 2982, + "name": "Identifier", + "src": "7235:8:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2099, + "type": "address", + "value": "wallet" + }, + "id": 2983, + "name": "Identifier", + "src": "7244:6:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2962, + "type": "uint256", + "value": "amount" + }, + "id": 2984, + "name": "Identifier", + "src": "7252:6:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2359, + "type": "uint256", + "value": "lastWithdrawn" + }, + "id": 2985, + "name": "Identifier", + "src": "7260:13:10" + } + ], + "id": 2986, + "name": "FunctionCall", + "src": "7235:39:10" + } + ], + "id": 2987, + "name": "ExpressionStatement", + "src": "7235:39:10" + }, + { + "attributes": { + "functionReturnParameters": 2950 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 2988, + "name": "Literal", + "src": "7287:4:10" + } + ], + "id": 2989, + "name": "Return", + "src": "7280:11:10" + } + ], + "id": 2990, + "name": "Block", + "src": "7034:262:10" + } + ], + "id": 2991, + "name": "FunctionDefinition", + "src": "6992:304:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "decreaseTap", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_newTap", + "scope": 3018, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 2992, + "name": "ElementaryTypeName", + "src": "7441:7:10" + } + ], + "id": 2993, + "name": "VariableDeclaration", + "src": "7441:15:10" + } + ], + "id": 2994, + "name": "ParameterList", + "src": "7440:17:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 3018, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 2995, + "name": "ElementaryTypeName", + "src": "7474:4:10" + } + ], + "id": 2996, + "name": "VariableDeclaration", + "src": "7474:4:10" + } + ], + "id": 2997, + "name": "ParameterList", + "src": "7473:6:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 2998, + "name": "Identifier", + "src": "7535:7:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 2999, + "name": "Identifier", + "src": "7543:3:10" + } + ], + "id": 3000, + "name": "MemberAccess", + "src": "7543:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2099, + "type": "address", + "value": "wallet" + }, + "id": 3001, + "name": "Identifier", + "src": "7557:6:10" + } + ], + "id": 3002, + "name": "BinaryOperation", + "src": "7543:20:10" + } + ], + "id": 3003, + "name": "FunctionCall", + "src": "7535:29:10" + } + ], + "id": 3004, + "name": "ExpressionStatement", + "src": "7535:29:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3005, + "name": "Identifier", + "src": "7572:7:10" + }, + { + "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": 2357, + "type": "uint256", + "value": "tap" + }, + "id": 3006, + "name": "Identifier", + "src": "7580:3:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2993, + "type": "uint256", + "value": "_newTap" + }, + "id": 3007, + "name": "Identifier", + "src": "7586:7:10" + } + ], + "id": 3008, + "name": "BinaryOperation", + "src": "7580:13:10" + } + ], + "id": 3009, + "name": "FunctionCall", + "src": "7572:22:10" + } + ], + "id": 3010, + "name": "ExpressionStatement", + "src": "7572:22:10" + }, + { + "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" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3093, + "type": "function (uint256) returns (bool)", + "value": "modifyTap" + }, + "id": 3011, + "name": "Identifier", + "src": "7601:9:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2993, + "type": "uint256", + "value": "_newTap" + }, + "id": 3012, + "name": "Identifier", + "src": "7611:7:10" + } + ], + "id": 3013, + "name": "FunctionCall", + "src": "7601:18:10" + } + ], + "id": 3014, + "name": "ExpressionStatement", + "src": "7601:18:10" + }, + { + "attributes": { + "functionReturnParameters": 2997 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 3015, + "name": "Literal", + "src": "7633:4:10" + } + ], + "id": 3016, + "name": "Return", + "src": "7626:11:10" + } + ], + "id": 3017, + "name": "Block", + "src": "7480:162:10" + } + ], + "id": 3018, + "name": "FunctionDefinition", + "src": "7420:222:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "refund", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 3019, + "name": "ParameterList", + "src": "7860:2:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 3072, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 3020, + "name": "ElementaryTypeName", + "src": "7879:4:10" + } + ], + "id": 3021, + "name": "VariableDeclaration", + "src": "7879:4:10" + } + ], + "id": 3022, + "name": "ParameterList", + "src": "7878:6:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3023, + "name": "Identifier", + "src": "7892:7:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2367, + "type": "bool", + "value": "refundable" + }, + "id": 3024, + "name": "Identifier", + "src": "7900:10:10" + } + ], + "id": 3025, + "name": "FunctionCall", + "src": "7892:19:10" + } + ], + "id": 3026, + "name": "ExpressionStatement", + "src": "7892:19:10" + }, + { + "attributes": { + "assignments": [ + 3028 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "name": "refundAmount", + "scope": 3072, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint", + "type": "uint256" + }, + "id": 3027, + "name": "ElementaryTypeName", + "src": "7918:4:10" + } + ], + "id": 3028, + "name": "VariableDeclaration", + "src": "7918:17:10" + }, + { + "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, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "balance", + "referencedDeclaration": null, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4554, + "type": "contract DaicoPoD", + "value": "this" + }, + "id": 3029, + "name": "Identifier", + "src": "7938:4:10" + } + ], + "id": 3030, + "name": "MemberAccess", + "src": "7938:12:10" + }, + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2363, + "type": "mapping(address => uint256)", + "value": "lockedTokenBalances" + }, + "id": 3031, + "name": "Identifier", + "src": "7953:19:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 3032, + "name": "Identifier", + "src": "7973:3:10" + } + ], + "id": 3033, + "name": "MemberAccess", + "src": "7973:10:10" + } + ], + "id": 3034, + "name": "IndexAccess", + "src": "7953:31:10" + } + ], + "id": 3035, + "name": "BinaryOperation", + "src": "7938:46:10" + }, + { + "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$_DaicoPoD_$3126", + "typeString": "contract DaicoPoD" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "balanceOf", + "referencedDeclaration": 280, + "type": "function (address) view external returns (uint256)" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2369, + "type": "contract EIP20StandardToken", + "value": "token" + }, + "id": 3036, + "name": "Identifier", + "src": "7987:5:10" + } + ], + "id": 3037, + "name": "MemberAccess", + "src": "7987:15:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4554, + "type": "contract DaicoPoD", + "value": "this" + }, + "id": 3038, + "name": "Identifier", + "src": "8003:4:10" + } + ], + "id": 3039, + "name": "FunctionCall", + "src": "7987:21:10" + } + ], + "id": 3040, + "name": "BinaryOperation", + "src": "7938:70:10" + } + ], + "id": 3041, + "name": "VariableDeclarationStatement", + "src": "7918:90:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3042, + "name": "Identifier", + "src": "8015:7:10" + }, + { + "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": 3028, + "type": "uint256", + "value": "refundAmount" + }, + "id": 3043, + "name": "Identifier", + "src": "8023:12: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": 3044, + "name": "Literal", + "src": "8038:1:10" + } + ], + "id": 3045, + "name": "BinaryOperation", + "src": "8023:16:10" + } + ], + "id": 3046, + "name": "FunctionCall", + "src": "8015:25:10" + } + ], + "id": 3047, + "name": "ExpressionStatement", + "src": "8015:25:10" + }, + { + "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": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "referencedDeclaration": null, + "type": "address" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4511, + "type": "msg", + "value": "msg" + }, + "id": 3048, + "name": "Identifier", + "src": "8047:3:10" + } + ], + "id": 3051, + "name": "MemberAccess", + "src": "8047:10:10" + } + ], + "id": 3052, + "name": "MemberAccess", + "src": "8047:19:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3028, + "type": "uint256", + "value": "refundAmount" + }, + "id": 3053, + "name": "Identifier", + "src": "8067:12:10" + } + ], + "id": 3054, + "name": "FunctionCall", + "src": "8047:33:10" + } + ], + "id": 3055, + "name": "ExpressionStatement", + "src": "8047: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, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2363, + "type": "mapping(address => uint256)", + "value": "lockedTokenBalances" + }, + "id": 3056, + "name": "Identifier", + "src": "8087:19:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 3057, + "name": "Identifier", + "src": "8107:3:10" + } + ], + "id": 3058, + "name": "MemberAccess", + "src": "8107:10:10" + } + ], + "id": 3059, + "name": "IndexAccess", + "src": "8087:31: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": 3060, + "name": "Literal", + "src": "8121:1:10" + } + ], + "id": 3061, + "name": "Assignment", + "src": "8087:35:10" + } + ], + "id": 3062, + "name": "ExpressionStatement", + "src": "8087:35:10" + }, + { + "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": 2441, + "type": "function (address,uint256)", + "value": "Refund" + }, + "id": 3063, + "name": "Identifier", + "src": "8133:6:10" + }, + { + "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": 4511, + "type": "msg", + "value": "msg" + }, + "id": 3064, + "name": "Identifier", + "src": "8140:3:10" + } + ], + "id": 3065, + "name": "MemberAccess", + "src": "8140:10:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3028, + "type": "uint256", + "value": "refundAmount" + }, + "id": 3066, + "name": "Identifier", + "src": "8152:12:10" + } + ], + "id": 3067, + "name": "FunctionCall", + "src": "8133:32:10" + } + ], + "id": 3068, + "name": "ExpressionStatement", + "src": "8133:32:10" + }, + { + "attributes": { + "functionReturnParameters": 3022 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 3069, + "name": "Literal", + "src": "8178:4:10" + } + ], + "id": 3070, + "name": "Return", + "src": "8171:11:10" + } + ], + "id": 3071, + "name": "Block", + "src": "7885:302:10" + } + ], + "id": 3072, + "name": "FunctionDefinition", + "src": "7845:342:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "modifyTap", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "newTap", + "scope": 3093, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3073, + "name": "ElementaryTypeName", + "src": "8372:7:10" + } + ], + "id": 3074, + "name": "VariableDeclaration", + "src": "8372:14:10" + } + ], + "id": 3075, + "name": "ParameterList", + "src": "8371:16:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 3093, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 3076, + "name": "ElementaryTypeName", + "src": "8406:4:10" + } + ], + "id": 3077, + "name": "VariableDeclaration", + "src": "8406:4:10" + } + ], + "id": 3078, + "name": "ParameterList", + "src": "8405:6:10" + }, + { + "children": [ + { + "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 + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2991, + "type": "function () returns (bool)", + "value": "withdraw" + }, + "id": 3079, + "name": "Identifier", + "src": "8418:8:10" + } + ], + "id": 3080, + "name": "FunctionCall", + "src": "8418:10:10" + } + ], + "id": 3081, + "name": "ExpressionStatement", + "src": "8418:10:10" + }, + { + "children": [ + { + "attributes": { + "argumentTypes": null, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2357, + "type": "uint256", + "value": "tap" + }, + "id": 3082, + "name": "Identifier", + "src": "8434:3:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3074, + "type": "uint256", + "value": "newTap" + }, + "id": 3083, + "name": "Identifier", + "src": "8440:6:10" + } + ], + "id": 3084, + "name": "Assignment", + "src": "8434:12:10" + } + ], + "id": 3085, + "name": "ExpressionStatement", + "src": "8434:12:10" + }, + { + "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": 2427, + "type": "function (uint256)", + "value": "ModifiedTap" + }, + "id": 3086, + "name": "Identifier", + "src": "8452:11:10" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2357, + "type": "uint256", + "value": "tap" + }, + "id": 3087, + "name": "Identifier", + "src": "8464:3:10" + } + ], + "id": 3088, + "name": "FunctionCall", + "src": "8452:16:10" + } + ], + "id": 3089, + "name": "ExpressionStatement", + "src": "8452:16:10" + }, + { + "attributes": { + "functionReturnParameters": 3078 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 3090, + "name": "Literal", + "src": "8481:4:10" + } + ], + "id": 3091, + "name": "Return", + "src": "8474:11:10" + } + ], + "id": 3092, + "name": "Block", + "src": "8412:78:10" + } + ], + "id": 3093, + "name": "FunctionDefinition", + "src": "8353:137:10" + }, + { + "attributes": { + "constant": false, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "processDonate", + "payable": false, + "scope": 3126, + "stateMutability": "nonpayable", + "superFunction": 2341, + "visibility": "internal" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_user", + "scope": 3109, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 3094, + "name": "ElementaryTypeName", + "src": "8756:7:10" + } + ], + "id": 3095, + "name": "VariableDeclaration", + "src": "8756:13:10" + } + ], + "id": 3096, + "name": "ParameterList", + "src": "8755:15:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 3109, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 3097, + "name": "ElementaryTypeName", + "src": "8789:4:10" + } + ], + "id": 3098, + "name": "VariableDeclaration", + "src": "8789:4:10" + } + ], + "id": 3099, + "name": "ParameterList", + "src": "8788:6:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3100, + "name": "Identifier", + "src": "8801:7:10" + }, + { + "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": 3095, + "type": "address", + "value": "_user" + }, + "id": 3101, + "name": "Identifier", + "src": "8809:5:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "307830", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 0", + "value": "0x0" + }, + "id": 3102, + "name": "Literal", + "src": "8818:3:10" + } + ], + "id": 3103, + "name": "BinaryOperation", + "src": "8809:12:10" + } + ], + "id": 3104, + "name": "FunctionCall", + "src": "8801:21:10" + } + ], + "id": 3105, + "name": "ExpressionStatement", + "src": "8801:21:10" + }, + { + "attributes": { + "functionReturnParameters": 3099 + }, + "children": [ + { + "attributes": { + "argumentTypes": null, + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 3106, + "name": "Literal", + "src": "8835:4:10" + } + ], + "id": 3107, + "name": "Return", + "src": "8828:11:10" + } + ], + "id": 3108, + "name": "Block", + "src": "8795:49:10" + } + ], + "id": 3109, + "name": "FunctionDefinition", + "src": "8733:111:10" + }, + { + "attributes": { + "constant": true, + "implemented": true, + "isConstructor": false, + "modifiers": [ + null + ], + "name": "getBalanceOfToken", + "payable": false, + "scope": 3126, + "stateMutability": "view", + "superFunction": 2348, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "_user", + "scope": 3125, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 3110, + "name": "ElementaryTypeName", + "src": "8977:7:10" + } + ], + "id": 3111, + "name": "VariableDeclaration", + "src": "8977:13:10" + } + ], + "id": 3112, + "name": "ParameterList", + "src": "8976:15:10" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 3125, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3113, + "name": "ElementaryTypeName", + "src": "9017:7:10" + } + ], + "id": 3114, + "name": "VariableDeclaration", + "src": "9017:7:10" + } + ], + "id": 3115, + "name": "ParameterList", + "src": "9016:9:10" + }, + { + "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": 4514, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3116, + "name": "Identifier", + "src": "9032:7:10" + }, + { + "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": 3111, + "type": "address", + "value": "_user" + }, + "id": 3117, + "name": "Identifier", + "src": "9040:5:10" + }, + { + "attributes": { + "argumentTypes": null, + "hexvalue": "307830", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "subdenomination": null, + "token": "number", + "type": "int_const 0", + "value": "0x0" + }, + "id": 3118, + "name": "Literal", + "src": "9049:3:10" + } + ], + "id": 3119, + "name": "BinaryOperation", + "src": "9040:12:10" + } + ], + "id": 3120, + "name": "FunctionCall", + "src": "9032:21:10" + } + ], + "id": 3121, + "name": "ExpressionStatement", + "src": "9032:21:10" + }, + { + "attributes": { + "functionReturnParameters": 3115 + }, + "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": 3122, + "name": "Literal", + "src": "9066:1:10" + } + ], + "id": 3123, + "name": "Return", + "src": "9059:8:10" + } + ], + "id": 3124, + "name": "Block", + "src": "9026:46:10" + } + ], + "id": 3125, + "name": "FunctionDefinition", + "src": "8950:122:10" + } + ], + "id": 3126, + "name": "ContractDefinition", + "src": "206:8868:10" + } + ], + "id": 3127, + "name": "SourceUnit", + "src": "0:9075:10" + }, + "compiler": { + "name": "solc", + "version": "0.4.18+commit.9cf6e910.Emscripten.clang" + }, + "networks": {}, + "schemaVersion": "1.0.1", + "updatedAt": "2018-01-15T16:10:12.648Z" +} \ No newline at end of file diff --git a/build/contracts/DutchAuctionPoD.json b/build/contracts/DutchAuctionPoD.json index 220c28a..3e7c6e6 100644 --- a/build/contracts/DutchAuctionPoD.json +++ b/build/contracts/DutchAuctionPoD.json @@ -523,8 +523,8 @@ ], "bytecode": "0x606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040805190810160405280601981526020017f447574636841756374696f6e20737472617465677920506f4400000000000000815250600190805190602001906200010b92919062000160565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200015992919062000160565b506200020f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001a357805160ff1916838001178555620001d4565b82800160010185558215620001d4579182015b82811115620001d3578251825591602001919060010190620001b6565b5b509050620001e39190620001e7565b5090565b6200020c91905b8082111562000208576000816000905550600101620001ee565b5090565b90565b611333806200021f6000396000f300606060405260043610610149576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461015457806309fc93c1146101e2578063112ed3f51461022f578063173067a314610280578063200d2ed2146102a9578063439f5ac2146102e05780634b94f50e14610309578063521eb27314610332578063533e25261461038757806354fd4d50146103b0578063624e1d191461043e5780636ccce7a81461047357806383786f8c1461049c5780638c73596c146104e95780638da5cb5b146105795780638f85f92c146105ce57806397722acf146105fb5780639b3dfce014610624578063a035b1fe14610651578063ba3f5a121461067a578063c5cd88db146106a3578063c828371e146106cc578063ed88c68e146106f5578063f2fde38b14610717578063f77282ab14610750575b610151610765565b50005b341561015f57600080fd5b6101676108d0565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101a757808201518184015260208101905061018c565b50505050905090810190601f1680156101d45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101ed57600080fd5b610219600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061096e565b6040518082815260200191505060405180910390f35b341561023a57600080fd5b610266600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109b7565b604051808215151515815260200191505060405180910390f35b341561028b57600080fd5b610293610a95565b6040518082815260200191505060405180910390f35b34156102b457600080fd5b6102bc610a9b565b604051808260028111156102cc57fe5b60ff16815260200191505060405180910390f35b34156102eb57600080fd5b6102f3610aae565b6040518082815260200191505060405180910390f35b341561031457600080fd5b61031c610ab8565b6040518082815260200191505060405180910390f35b341561033d57600080fd5b610345610ac2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561039257600080fd5b61039a610ae8565b6040518082815260200191505060405180910390f35b34156103bb57600080fd5b6103c3610aee565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104035780820151818401526020810190506103e8565b50505050905090810190601f1680156104305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561044957600080fd5b610451610b8c565b604051808263ffffffff1663ffffffff16815260200191505060405180910390f35b341561047e57600080fd5b610486610ba2565b6040518082815260200191505060405180910390f35b34156104a757600080fd5b6104d3600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610bac565b6040518082815260200191505060405180910390f35b34156104f457600080fd5b61055f600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff1690602001909190803590602001909190803590602001909190803590602001909190803563ffffffff16906020019091908035906020019091905050610c0b565b604051808215151515815260200191505060405180910390f35b341561058457600080fd5b61058c610de8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105d957600080fd5b6105e1610e0d565b604051808215151515815260200191505060405180910390f35b341561060657600080fd5b61060e610e4d565b6040518082815260200191505060405180910390f35b341561062f57600080fd5b610637610e57565b604051808215151515815260200191505060405180910390f35b341561065c57600080fd5b610664610e98565b6040518082815260200191505060405180910390f35b341561068557600080fd5b61068d610ede565b6040518082815260200191505060405180910390f35b34156106ae57600080fd5b6106b6610ee4565b6040518082815260200191505060405180910390f35b34156106d757600080fd5b6106df610f22565b6040518082815260200191505060405180910390f35b6106fd610765565b604051808215151515815260200191505060405180910390f35b341561072257600080fd5b61074e600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610f2c565b005b341561075b57600080fd5b610763611081565b005b60006001600281111561077457fe5b600b60009054906101000a900460ff16600281111561078f57fe5b14151561079b57600080fd5b60045442101515156107ac57600080fd5b6412a05f20003a111515156107c057600080fd5b6000341115156107cf57600080fd5b6107d833611161565b151561084357426005819055506002600b60006101000a81548160ff0219169083600281111561080457fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6108583460075461126590919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109665780601f1061093b57610100808354040283529160200191610966565b820191906000526020600020905b81548152906001019060200180831161094957829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a1457600080fd5b600280811115610a2057fe5b600b60009054906101000a900460ff166002811115610a3b57fe5b141515610a4757600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600c5481565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b845780601f10610b5957610100808354040283529160200191610b84565b820191906000526020600020905b815481529060010190602001808311610b6757829003601f168201915b505050505081565b600e60009054906101000a900463ffffffff1681565b6000600954905090565b600080600654600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f5402811515610bff57fe5b04905080915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c6857600080fd5b6000806002811115610c7657fe5b600b60009054906101000a900460ff166002811115610c9157fe5b141515610c9d57600080fd5b60008860ff1614151515610cb057600080fd5b600086111515610cbf57600080fd5b600085111515610cce57600080fd5b60008973ffffffffffffffffffffffffffffffffffffffff1614151515610cf457600080fd5b88600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508760ff16600a0a600f819055508660048190555085600c8190555084600d8190555083600e60006101000a81548163ffffffff021916908363ffffffff160217905550826010819055506001600b60006101000a81548160ff02191690836002811115610d9e57fe5b02179055508363ffffffff1685877faa9c446bf9d81a4cadd0511e53a9b49a7391402b523dcec61d7272141929458960405160405180910390a46001915050979650505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610e1b57fe5b600b60009054906101000a900460ff166002811115610e3657fe5b1415610e455760019050610e4a565b600090505b90565b6000600854905090565b600060016002811115610e6657fe5b600b60009054906101000a900460ff166002811115610e8157fe5b1415610e905760019050610e95565b600090505b90565b6000600280811115610ea657fe5b600b60009054906101000a900460ff166002811115610ec157fe5b1415610ed05760009050610edb565b610ed8611283565b90505b90565b600f5481565b600080600f54610ef2610e98565b60105402811515610eff57fe5b04905060075481111515610f165760009150610f1e565b600754810391505b5090565b6000600454905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f8757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610fc357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600180600281111561109157fe5b600b60009054906101000a900460ff1660028111156110ac57fe5b1415156110b857600080fd5b6110c0610ee4565b91506000821415156110d157600080fd5b601054600754600f54028115156110e457fe5b04600681905550426005819055507f45806e512b1f4f10e33e8b3cb64d1d11d998d8c554a95e0841fc1c701278bd5d6006546040518082815260200191505060405180910390a16002600b60006101000a81548160ff0219169083600281111561114a57fe5b0217905550600060065411151561115d57fe5b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff161415151561118a57600080fd5b611192610ee4565b90508034111515156111a357600080fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050151561120557600080fd5b3373ffffffffffffffffffffffffffffffffffffffff167fc9c6176cbf7c0a8c29655fe8ccbe5e28382ca11459d145223308723bfc6975453483604051808381526020018281526020019250505060405180910390a26001915050919050565b600080828401905083811015151561127957fe5b8091505092915050565b60008060006001600281111561129557fe5b600b60009054906101000a900460ff1660028111156112b057fe5b14156112be57600454420391505b600d54600e60009054906101000a900463ffffffff1663ffffffff16830a8115156112e557fe5b04905080826001010182600101600c54028115156112ff57fe5b0492505050905600a165627a7a723058204c61ef8aef29f477f6318cae46783a1ff7ca19b0dfeba898cac8c107adf094410029", "deployedBytecode": "0x606060405260043610610149576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461015457806309fc93c1146101e2578063112ed3f51461022f578063173067a314610280578063200d2ed2146102a9578063439f5ac2146102e05780634b94f50e14610309578063521eb27314610332578063533e25261461038757806354fd4d50146103b0578063624e1d191461043e5780636ccce7a81461047357806383786f8c1461049c5780638c73596c146104e95780638da5cb5b146105795780638f85f92c146105ce57806397722acf146105fb5780639b3dfce014610624578063a035b1fe14610651578063ba3f5a121461067a578063c5cd88db146106a3578063c828371e146106cc578063ed88c68e146106f5578063f2fde38b14610717578063f77282ab14610750575b610151610765565b50005b341561015f57600080fd5b6101676108d0565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101a757808201518184015260208101905061018c565b50505050905090810190601f1680156101d45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101ed57600080fd5b610219600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061096e565b6040518082815260200191505060405180910390f35b341561023a57600080fd5b610266600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109b7565b604051808215151515815260200191505060405180910390f35b341561028b57600080fd5b610293610a95565b6040518082815260200191505060405180910390f35b34156102b457600080fd5b6102bc610a9b565b604051808260028111156102cc57fe5b60ff16815260200191505060405180910390f35b34156102eb57600080fd5b6102f3610aae565b6040518082815260200191505060405180910390f35b341561031457600080fd5b61031c610ab8565b6040518082815260200191505060405180910390f35b341561033d57600080fd5b610345610ac2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561039257600080fd5b61039a610ae8565b6040518082815260200191505060405180910390f35b34156103bb57600080fd5b6103c3610aee565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104035780820151818401526020810190506103e8565b50505050905090810190601f1680156104305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561044957600080fd5b610451610b8c565b604051808263ffffffff1663ffffffff16815260200191505060405180910390f35b341561047e57600080fd5b610486610ba2565b6040518082815260200191505060405180910390f35b34156104a757600080fd5b6104d3600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610bac565b6040518082815260200191505060405180910390f35b34156104f457600080fd5b61055f600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff1690602001909190803590602001909190803590602001909190803590602001909190803563ffffffff16906020019091908035906020019091905050610c0b565b604051808215151515815260200191505060405180910390f35b341561058457600080fd5b61058c610de8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105d957600080fd5b6105e1610e0d565b604051808215151515815260200191505060405180910390f35b341561060657600080fd5b61060e610e4d565b6040518082815260200191505060405180910390f35b341561062f57600080fd5b610637610e57565b604051808215151515815260200191505060405180910390f35b341561065c57600080fd5b610664610e98565b6040518082815260200191505060405180910390f35b341561068557600080fd5b61068d610ede565b6040518082815260200191505060405180910390f35b34156106ae57600080fd5b6106b6610ee4565b6040518082815260200191505060405180910390f35b34156106d757600080fd5b6106df610f22565b6040518082815260200191505060405180910390f35b6106fd610765565b604051808215151515815260200191505060405180910390f35b341561072257600080fd5b61074e600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610f2c565b005b341561075b57600080fd5b610763611081565b005b60006001600281111561077457fe5b600b60009054906101000a900460ff16600281111561078f57fe5b14151561079b57600080fd5b60045442101515156107ac57600080fd5b6412a05f20003a111515156107c057600080fd5b6000341115156107cf57600080fd5b6107d833611161565b151561084357426005819055506002600b60006101000a81548160ff0219169083600281111561080457fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6108583460075461126590919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109665780601f1061093b57610100808354040283529160200191610966565b820191906000526020600020905b81548152906001019060200180831161094957829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a1457600080fd5b600280811115610a2057fe5b600b60009054906101000a900460ff166002811115610a3b57fe5b141515610a4757600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600c5481565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b845780601f10610b5957610100808354040283529160200191610b84565b820191906000526020600020905b815481529060010190602001808311610b6757829003601f168201915b505050505081565b600e60009054906101000a900463ffffffff1681565b6000600954905090565b600080600654600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f5402811515610bff57fe5b04905080915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c6857600080fd5b6000806002811115610c7657fe5b600b60009054906101000a900460ff166002811115610c9157fe5b141515610c9d57600080fd5b60008860ff1614151515610cb057600080fd5b600086111515610cbf57600080fd5b600085111515610cce57600080fd5b60008973ffffffffffffffffffffffffffffffffffffffff1614151515610cf457600080fd5b88600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508760ff16600a0a600f819055508660048190555085600c8190555084600d8190555083600e60006101000a81548163ffffffff021916908363ffffffff160217905550826010819055506001600b60006101000a81548160ff02191690836002811115610d9e57fe5b02179055508363ffffffff1685877faa9c446bf9d81a4cadd0511e53a9b49a7391402b523dcec61d7272141929458960405160405180910390a46001915050979650505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610e1b57fe5b600b60009054906101000a900460ff166002811115610e3657fe5b1415610e455760019050610e4a565b600090505b90565b6000600854905090565b600060016002811115610e6657fe5b600b60009054906101000a900460ff166002811115610e8157fe5b1415610e905760019050610e95565b600090505b90565b6000600280811115610ea657fe5b600b60009054906101000a900460ff166002811115610ec157fe5b1415610ed05760009050610edb565b610ed8611283565b90505b90565b600f5481565b600080600f54610ef2610e98565b60105402811515610eff57fe5b04905060075481111515610f165760009150610f1e565b600754810391505b5090565b6000600454905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f8757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610fc357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600180600281111561109157fe5b600b60009054906101000a900460ff1660028111156110ac57fe5b1415156110b857600080fd5b6110c0610ee4565b91506000821415156110d157600080fd5b601054600754600f54028115156110e457fe5b04600681905550426005819055507f45806e512b1f4f10e33e8b3cb64d1d11d998d8c554a95e0841fc1c701278bd5d6006546040518082815260200191505060405180910390a16002600b60006101000a81548160ff0219169083600281111561114a57fe5b0217905550600060065411151561115d57fe5b5050565b60008060008373ffffffffffffffffffffffffffffffffffffffff161415151561118a57600080fd5b611192610ee4565b90508034111515156111a357600080fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050151561120557600080fd5b3373ffffffffffffffffffffffffffffffffffffffff167fc9c6176cbf7c0a8c29655fe8ccbe5e28382ca11459d145223308723bfc6975453483604051808381526020018281526020019250505060405180910390a26001915050919050565b600080828401905083811015151561127957fe5b8091505092915050565b60008060006001600281111561129557fe5b600b60009054906101000a900460ff1660028111156112b057fe5b14156112be57600454420391505b600d54600e60009054906101000a900463ffffffff1663ffffffff16830a8115156112e557fe5b04905080826001010182600101600c54028115156112ff57fe5b0492505050905600a165627a7a723058204c61ef8aef29f477f6318cae46783a1ff7ca19b0dfeba898cac8c107adf094410029", - "sourceMap": "188:5558:3:-;;;1108:103;;;;;;;;603:10:1;595:5;;:18;;;;;;;;;;;;;;;;;;878::2;869:6;;:27;;;;;;;;;;;;;;;;;;;;;;;;921:1;902:16;:20;;;;937:10;928:6;;:19;;;;;;;;;;;;;;;;;;1149:34:3;;;;;;;;;;;;;;;;;;:4;:34;;;;;;;;;;;;:::i;:::-;;1189:17;;;;;;;;;;;;;;;;;;:7;:17;;;;;;;;;;;;:::i;:::-;;188:5558;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "188:5558:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3199:8:2;:6;:8::i;:::-;;188:5558:3;281:19:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1912:106:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1653:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;296:25:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;629:20:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2657:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2064:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;330:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;364:28:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:22:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;426:27:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2368:97:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5578:166:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1215:745;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:129:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2210:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2802:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3096:140:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;493:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3510:432;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2523:85:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;2236:543:3;;;;;;;;;;;;;;1019:521:2;1061:4;1092:17;1082:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1074:36;;;;;;;;1144:9;;1125:15;:28;;1117:37;;;;;;;;1227:11;1212;:26;;1204:35;;;;;;;;1266:1;1254:9;:13;1246:22;;;;;;;;1315:25;1329:10;1315:13;:25::i;:::-;1314:26;1310:114;;;1360:3;1350:7;:13;;;;1380:15;1371:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1403:14;1409:7;;1403:14;;;;;;;;;;;;;;;;;;1310:114;1450:31;1471:9;1450:16;;:20;;:31;;;;:::i;:::-;1431:16;:50;;;;1488:30;1496:10;1508:9;1488:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;1531:4;1524:11;;1019:521;:::o;281:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1912:106::-;1976:4;1995:11;:18;2007:5;1995:18;;;;;;;;;;;;;;;;1988:25;;1912:106;;;:::o;1653:202::-;1721:4;748:5:1;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1752:15:2;1742:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;1734:34;;;;;;;;1830:1;1809:11;:18;1821:5;1809:18;;;;;;;;;;;;;;;:22;;;;1845:4;1838:11;;1653:202;;;:::o;296:25:3:-;;;;:::o;629:20:2:-;;;;;;;;;;;;;:::o;2657:81::-;2704:7;2726;;2719:14;;2657:81;:::o;2064:86::-;2113:7;2135:10;;2128:17;;2064:86;:::o;330:21::-;;;;;;;;;;;;;:::o;364:28:3:-;;;;:::o;304:22:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;426:27:3:-;;;;;;;;;;;;;:::o;2368:97:2:-;2415:7;2437:23;;2430:30;;2368:97;:::o;5578:166:3:-;5644:4;5661:8;5713:10;;5691:11;:18;5703:5;5691:18;;;;;;;;;;;;;;;;5673:15;;:36;5672:51;;;;;;;;5661:62;;5736:3;5729:10;;5578:166;;;;:::o;1215:745::-;1461:4;748:5:1;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1433:18:3;684:7;674:17;;;;;;;;:6;;;;;;;;;;;:17;;;;;;;;;666:26;;;;;;;;1501:1;1483:14;:19;;;;1475:28;;;;;;;;1531:1;1517:11;:15;1509:24;;;;;;;;1564:1;1547:14;:18;1539:27;;;;;;;;1591:3;1580:7;:14;;;;1572:23;;;;;;;;1610:7;1601:6;;:16;;;;;;;;;;;;;;;;;;1655:14;1647:23;;1641:2;:29;1623:15;:47;;;;1688:10;1676:9;:22;;;;1717:11;1704:10;:24;;;;1750:14;1734:13;:30;;;;1786:14;1770:13;;:30;;;;;;;;;;;;;;;;;;1834:11;1806:25;:39;;;;1860:17;1851:6;;:26;;;;;;;;;;;;;;;;;;;;;;;;1918:14;1883:50;;1902:14;1889:11;1883:50;;;;;;;;;;1951:4;1944:11;;760:1:1;1215:745:3;;;;;;;;;:::o;334:20:1:-;;;;;;;;;;;;;:::o;2997:129:2:-;3043:4;3069:15;3059:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3055:48;;;3099:4;3092:11;;;;3055:48;3116:5;3109:12;;2997:129;;:::o;2210:101::-;2259:7;2281:25;;2274:32;;2210:101;:::o;2802:133::-;2850:4;2876:17;2866:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;2862:50;;;2908:4;2901:11;;;;2862:50;2925:5;2918:12;;2802:133;;:::o;3096:140:3:-;3137:4;3163:15;3153:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3149:54;;;3195:1;3188:8;;;;3149:54;3215:16;:14;:16::i;:::-;3208:23;;3096:140;;:::o;493:30::-;;;;:::o;3510:432::-;3570:4;3678:23;3742:15;;3732:7;:5;:7::i;:::-;3704:25;;:35;:53;;;;;;;;3678:79;;3789:16;;3767:18;:38;;3763:67;;;3822:1;3815:8;;;;3763:67;3921:16;;3900:18;:37;3893:44;;3510:432;;;:::o;2523:85:2:-;2572:7;2594:9;;2587:16;;2523:85;:::o;928:169:1:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;2236:543:3:-;2351:17;2279;684:7;674:17;;;;;;;;:6;;;;;;;;;;;:17;;;;;;;;;666:26;;;;;;;;2371;:24;:26::i;:::-;2351:46;;2427:1;2411:12;:17;2403:26;;;;;;;;2638:25;;2619:16;;2601:15;;:34;:62;;;;;;;;2588:10;:75;;;;2680:3;2670:7;:13;;;;2690:24;2703:10;;2690:24;;;;;;;;;;;;;;;;;;2730:15;2721:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;2772:1;2759:10;;:14;2752:22;;;;;;2236:543;;:::o;5004:570::-;5060:4;5150:17;5089:3;5080:5;:12;;;;5072:21;;;;;;;;5170:26;:24;:26::i;:::-;5150:46;;5335:12;5322:9;:25;;5314:34;;;;;;;;5390:6;;;;;;;;;;;:15;;:26;5406:9;5390:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5470:10;5456:50;;;5482:9;5493:12;5456:50;;;;;;;;;;;;;;;;;;;;;;;;5565:4;5558:11;;5004:570;;;;:::o;759:128:6:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;4554:289:3:-;4605:4;4617:12;4714:14;4649:17;4639:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;4635:73;;;4692:9;;4686:3;:15;4676:25;;4635:73;4758:13;;4742;;;;;;;;;;;4731:24;;:7;:24;:40;;;;;;;;4714:57;;4828:9;4818:7;4814:1;:11;:23;4802:7;4798:1;:11;4784:10;;:26;:54;;;;;;;;4777:61;;4554:289;;;:::o", + "sourceMap": "188:5558:11:-;;;1108:103;;;;;;;;603:10:8;595:5;;:18;;;;;;;;;;;;;;;;;;878::9;869:6;;:27;;;;;;;;;;;;;;;;;;;;;;;;921:1;902:16;:20;;;;937:10;928:6;;:19;;;;;;;;;;;;;;;;;;1149:34:11;;;;;;;;;;;;;;;;;;:4;:34;;;;;;;;;;;;:::i;:::-;;1189:17;;;;;;;;;;;;;;;;;;:7;:17;;;;;;;;;;;;:::i;:::-;;188:5558;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "188:5558:11:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3199:8:9;:6;:8::i;:::-;;188:5558:11;281:19:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1912:106:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1653:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;296:25:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;629:20:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2657:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2064:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;330:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;364:28:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:22:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;426:27:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2368:97:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5578:166:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1215:745;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:129:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2210:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2802:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3096:140:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;493:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3510:432;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2523:85:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;2236:543:11;;;;;;;;;;;;;;1019:521:9;1061:4;1092:17;1082:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1074:36;;;;;;;;1144:9;;1125:15;:28;;1117:37;;;;;;;;1227:11;1212;:26;;1204:35;;;;;;;;1266:1;1254:9;:13;1246:22;;;;;;;;1315:25;1329:10;1315:13;:25::i;:::-;1314:26;1310:114;;;1360:3;1350:7;:13;;;;1380:15;1371:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1403:14;1409:7;;1403:14;;;;;;;;;;;;;;;;;;1310:114;1450:31;1471:9;1450:16;;:20;;:31;;;;:::i;:::-;1431:16;:50;;;;1488:30;1496:10;1508:9;1488:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;1531:4;1524:11;;1019:521;:::o;281:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1912:106::-;1976:4;1995:11;:18;2007:5;1995:18;;;;;;;;;;;;;;;;1988:25;;1912:106;;;:::o;1653:202::-;1721:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1752:15:9;1742:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;1734:34;;;;;;;;1830:1;1809:11;:18;1821:5;1809:18;;;;;;;;;;;;;;;:22;;;;1845:4;1838:11;;1653:202;;;:::o;296:25:11:-;;;;:::o;629:20:9:-;;;;;;;;;;;;;:::o;2657:81::-;2704:7;2726;;2719:14;;2657:81;:::o;2064:86::-;2113:7;2135:10;;2128:17;;2064:86;:::o;330:21::-;;;;;;;;;;;;;:::o;364:28:11:-;;;;:::o;304:22:9:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;426:27:11:-;;;;;;;;;;;;;:::o;2368:97:9:-;2415:7;2437:23;;2430:30;;2368:97;:::o;5578:166:11:-;5644:4;5661:8;5713:10;;5691:11;:18;5703:5;5691:18;;;;;;;;;;;;;;;;5673:15;;:36;5672:51;;;;;;;;5661:62;;5736:3;5729:10;;5578:166;;;;:::o;1215:745::-;1461:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1433:18:11;684:7;674:17;;;;;;;;:6;;;;;;;;;;;:17;;;;;;;;;666:26;;;;;;;;1501:1;1483:14;:19;;;;1475:28;;;;;;;;1531:1;1517:11;:15;1509:24;;;;;;;;1564:1;1547:14;:18;1539:27;;;;;;;;1591:3;1580:7;:14;;;;1572:23;;;;;;;;1610:7;1601:6;;:16;;;;;;;;;;;;;;;;;;1655:14;1647:23;;1641:2;:29;1623:15;:47;;;;1688:10;1676:9;:22;;;;1717:11;1704:10;:24;;;;1750:14;1734:13;:30;;;;1786:14;1770:13;;:30;;;;;;;;;;;;;;;;;;1834:11;1806:25;:39;;;;1860:17;1851:6;;:26;;;;;;;;;;;;;;;;;;;;;;;;1918:14;1883:50;;1902:14;1889:11;1883:50;;;;;;;;;;1951:4;1944:11;;760:1:8;1215:745:11;;;;;;;;;:::o;334:20:8:-;;;;;;;;;;;;;:::o;2997:129:9:-;3043:4;3069:15;3059:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3055:48;;;3099:4;3092:11;;;;3055:48;3116:5;3109:12;;2997:129;;:::o;2210:101::-;2259:7;2281:25;;2274:32;;2210:101;:::o;2802:133::-;2850:4;2876:17;2866:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;2862:50;;;2908:4;2901:11;;;;2862:50;2925:5;2918:12;;2802:133;;:::o;3096:140:11:-;3137:4;3163:15;3153:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3149:54;;;3195:1;3188:8;;;;3149:54;3215:16;:14;:16::i;:::-;3208:23;;3096:140;;:::o;493:30::-;;;;:::o;3510:432::-;3570:4;3678:23;3742:15;;3732:7;:5;:7::i;:::-;3704:25;;:35;:53;;;;;;;;3678:79;;3789:16;;3767:18;:38;;3763:67;;;3822:1;3815:8;;;;3763:67;3921:16;;3900:18;:37;3893:44;;3510:432;;;:::o;2523:85:9:-;2572:7;2594:9;;2587:16;;2523:85;:::o;928:169:8:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;2236:543:11:-;2351:17;2279;684:7;674:17;;;;;;;;:6;;;;;;;;;;;:17;;;;;;;;;666:26;;;;;;;;2371;:24;:26::i;:::-;2351:46;;2427:1;2411:12;:17;2403:26;;;;;;;;2638:25;;2619:16;;2601:15;;:34;:62;;;;;;;;2588:10;:75;;;;2680:3;2670:7;:13;;;;2690:24;2703:10;;2690:24;;;;;;;;;;;;;;;;;;2730:15;2721:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;2772:1;2759:10;;:14;2752:22;;;;;;2236:543;;:::o;5004:570::-;5060:4;5150:17;5089:3;5080:5;:12;;;;5072:21;;;;;;;;5170:26;:24;:26::i;:::-;5150:46;;5335:12;5322:9;:25;;5314:34;;;;;;;;5390:6;;;;;;;;;;;:15;;:26;5406:9;5390:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5470:10;5456:50;;;5482:9;5493:12;5456:50;;;;;;;;;;;;;;;;;;;;;;;;5565:4;5558:11;;5004:570;;;;:::o;759:128:16:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;4554:289:11:-;4605:4;4617:12;4714:14;4649:17;4639:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;4635:73;;;4692:9;;4686:3;:15;4676:25;;4635:73;4758:13;;4742;;;;;;;;;;;4731:24;;:7;:24;:40;;;;;;;;4714:57;;4828:9;4818:7;4814:1;:11;:23;4802:7;4798:1;:11;4784:10;;:26;:54;;;;;;;;4777:61;;4554:289;;;:::o", "source": "pragma solidity ^0.4.18;\nimport \"../PoD.sol\";\n\n/// @title DutchAuctionPoD - DutchAuction module contract\n/// @author - Yusaku Senga - \n/// license let's see in LICENSE\n\ncontract DutchAuctionPoD is PoD {\n\n /*\n * Storage\n */\n\n // Starting price in WEI; e.g. 2 * 10 ** 18\n uint256 public priceStart;\n\n // Divisor constant; e.g. 524880000\n uint256 public priceConstant;\n // Divisor exponent; e.g. 3\n uint32 public priceExponent;\n // Token tokenMultiplier; e.g. 18\n uint256 public tokenMultiplier;\n\n uint256 proofOfDonationCapOfToken;\n uint256 proofOfDonationCapOfWei;\n /*\n * Modifiers\n */\n modifier atStatus(Status _status) {\n require(status == _status);\n _;\n }\n\n /*\n * Events\n */\n\n event Setup(uint indexed _startPrice, uint indexed _priceConstant, uint32 indexed _priceExponent);\n event AuctionStarted(uint indexed _startTime, uint indexed _blockNumber);\n event BidSubmission(address indexed _sender, uint _amount, uint _missingFunds);\n event AuctionEnded(uint _finalPrice);\n\n /*\n * Public functions\n */\n\n /// @dev Contract constructor function \n function DutchAuctionPoD() public { \n name = \"DutchAuction strategy PoD\";\n version = \"0.9.3\";\n }\n\n function init(\n address _wallet,\n uint8 _tokenDecimals,\n uint256 _startTime,\n uint _priceStart,\n uint _priceConstant,\n uint32 _priceExponent,\n uint256 _capOfToken\n )\n public onlyOwner() atStatus(Status.PoDDeployed) returns(bool)\n {\n require(_tokenDecimals != 0);\n require(_priceStart > 0);\n require(_priceConstant > 0);\n require(_wallet != 0x0);\n wallet = _wallet;\n tokenMultiplier = 10 ** uint256(_tokenDecimals);\n startTime = _startTime;\n priceStart = _priceStart;\n priceConstant = _priceConstant;\n priceExponent = _priceExponent;\n proofOfDonationCapOfToken = _capOfToken;\n status = Status.PoDStarted;\n Setup(_priceStart, _priceConstant, _priceExponent);\n \n return true;\n }\n\n /// --------------------------------- Auction Functions ------------------\n\n /// @notice Finalize the auction - sets the final Token price and changes the auction\n /// stage after no bids are allowed anymore.\n /// @dev Finalize auction and set the final Token price.\n function finalizeAuction() public atStatus(Status.PoDStarted) {\n // Missing funds should be 0 at this point\n uint missingFunds = missingFundsToEndAuction();\n require(missingFunds == 0);\n\n // Calculate the final price = WEI / Token\n // Reminder: num_tokens_auctioned is the number of Rei (Token * token_multiplier) that are auctioned\n tokenPrice = tokenMultiplier * totalReceivedWei / proofOfDonationCapOfToken;\n\n endTime = now;\n\n AuctionEnded(tokenPrice);\n\n status = Status.PoDEnded;\n\n assert(tokenPrice > 0);\n }\n\n\n\n /// @notice Get the Token price in WEI during the auction, at the time of\n /// calling this function. Returns `0` if auction has ended.\n /// Returns `price_start` before auction has started.\n /// @dev Calculates the current Token price in WEI.\n /// @return Returns WEI per Token (token_multiplier * Rei).\n function price() public constant returns(uint) {\n if (status == Status.PoDEnded) {\n return 0;\n }\n return calcTokenPrice();\n }\n\n /// @notice Get the missing funds needed to end the auction,\n /// calculated at the current Token price in WEI.\n /// @dev The missing funds amount necessary to end the auction at the current Token price in WEI.\n /// @return Returns the missing funds amount in WEI.\n function missingFundsToEndAuction() public constant returns(uint) {\n\n // num_tokens_auctioned = total number of Rei (Token * token_multiplier) that is auctioned\n uint requiredWeiAtPrice = proofOfDonationCapOfToken * price() / tokenMultiplier;\n if (requiredWeiAtPrice <= totalReceivedWei) {\n return 0;\n }\n\n // assert(required_wei_at_price - received_wei > 0);\n return requiredWeiAtPrice - totalReceivedWei;\n }\n\n /*\n * Private functions\n */\n\n /// @dev Calculates the token price (WEI / Token) at the current timestamp\n /// during the auction; elapsed time = 0 before auction starts.\n /// Based on the provided parameters, the price does not change in the first\n /// `price_constant^(1/price_exponent)` seconds due to rounding.\n /// Rounding in `decay_rate` also produces values that increase instead of decrease\n /// in the beginning; these spikes decrease over time and are noticeable\n /// only in first hours. This should be calculated before usage.\n /// @return Returns the token price - Wei per Token.\n function calcTokenPrice() constant private returns(uint) {\n uint elapsed;\n if (status == Status.PoDStarted) {\n elapsed = now - startTime;\n }\n\n uint decayRate = elapsed ** priceExponent / priceConstant;\n return priceStart * (1 + elapsed) / (1 + elapsed + decayRate);\n }\n\n /// Inherited functions\n\n\n /// @notice Send `msg.value` WEI to the auction from the `msg.sender` account.\n /// @dev Allows to send a bid to the auction.\n function processDonate(address _user) internal returns (bool) {\n require(_user != 0x0);\n // Missing funds without the current bid value\n uint missingFunds = missingFundsToEndAuction();\n\n // We require bid values to be less than the funds missing to end the auction\n // at the current price.\n require(msg.value <= missingFunds);\n\n // distribute ether to wallet.\n wallet.transfer(msg.value);\n\n // Send bid amount to wallet\n BidSubmission(msg.sender, msg.value, missingFunds);\n\n //assert(totalReceivedWei >= msg.value);\n return true;\n }\n\n function getBalanceOfToken(address _user) public constant returns(uint) {\n \n uint num = (tokenMultiplier * weiBalances[_user]) / tokenPrice;\n return num;\n }\n}\n", "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/DutchAuctionPoD.sol", "ast": { @@ -532,7 +532,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/DutchAuctionPoD.sol", "exportedSymbols": { "DutchAuctionPoD": [ - 821 + 3485 ] } }, @@ -546,41 +546,41 @@ ".18" ] }, - "id": 464, + "id": 3128, "name": "PragmaDirective", - "src": "0:24:3" + "src": "0:24:11" }, { "attributes": { - "SourceUnit": 463, + "SourceUnit": 2350, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoD.sol", "file": "../PoD.sol", - "scope": 822, + "scope": 3486, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 465, + "id": 3129, "name": "ImportDirective", - "src": "25:20:3" + "src": "25:20:11" }, { "attributes": { "contractDependencies": [ - 197, - 462 + 2084, + 2349 ], "contractKind": "contract", "documentation": "@title DutchAuctionPoD - DutchAuction module contract\n @author - Yusaku Senga - \n license let's see in LICENSE", "fullyImplemented": true, "linearizedBaseContracts": [ - 821, - 462, - 197 + 3485, + 2349, + 2084 ], "name": "DutchAuctionPoD", - "scope": 822 + "scope": 3486 }, "children": [ { @@ -594,23 +594,23 @@ "attributes": { "contractScope": null, "name": "PoD", - "referencedDeclaration": 462, + "referencedDeclaration": 2349, "type": "contract PoD" }, - "id": 466, + "id": 3130, "name": "UserDefinedTypeName", - "src": "216:3:3" + "src": "216:3:11" } ], - "id": 467, + "id": 3131, "name": "InheritanceSpecifier", - "src": "216:3:3" + "src": "216:3:11" }, { "attributes": { "constant": false, "name": "priceStart", - "scope": 821, + "scope": 3485, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -623,20 +623,20 @@ "name": "uint256", "type": "uint256" }, - "id": 468, + "id": 3132, "name": "ElementaryTypeName", - "src": "296:7:3" + "src": "296:7:11" } ], - "id": 469, + "id": 3133, "name": "VariableDeclaration", - "src": "296:25:3" + "src": "296:25:11" }, { "attributes": { "constant": false, "name": "priceConstant", - "scope": 821, + "scope": 3485, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -649,20 +649,20 @@ "name": "uint256", "type": "uint256" }, - "id": 470, + "id": 3134, "name": "ElementaryTypeName", - "src": "364:7:3" + "src": "364:7:11" } ], - "id": 471, + "id": 3135, "name": "VariableDeclaration", - "src": "364:28:3" + "src": "364:28:11" }, { "attributes": { "constant": false, "name": "priceExponent", - "scope": 821, + "scope": 3485, "stateVariable": true, "storageLocation": "default", "type": "uint32", @@ -675,20 +675,20 @@ "name": "uint32", "type": "uint32" }, - "id": 472, + "id": 3136, "name": "ElementaryTypeName", - "src": "426:6:3" + "src": "426:6:11" } ], - "id": 473, + "id": 3137, "name": "VariableDeclaration", - "src": "426:27:3" + "src": "426:27:11" }, { "attributes": { "constant": false, "name": "tokenMultiplier", - "scope": 821, + "scope": 3485, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -701,20 +701,20 @@ "name": "uint256", "type": "uint256" }, - "id": 474, + "id": 3138, "name": "ElementaryTypeName", - "src": "493:7:3" + "src": "493:7:11" } ], - "id": 475, + "id": 3139, "name": "VariableDeclaration", - "src": "493:30:3" + "src": "493:30:11" }, { "attributes": { "constant": false, "name": "proofOfDonationCapOfToken", - "scope": 821, + "scope": 3485, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -727,20 +727,20 @@ "name": "uint256", "type": "uint256" }, - "id": 476, + "id": 3140, "name": "ElementaryTypeName", - "src": "528:7:3" + "src": "528:7:11" } ], - "id": 477, + "id": 3141, "name": "VariableDeclaration", - "src": "528:33:3" + "src": "528:33:11" }, { "attributes": { "constant": false, "name": "proofOfDonationCapOfWei", - "scope": 821, + "scope": 3485, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -753,14 +753,14 @@ "name": "uint256", "type": "uint256" }, - "id": 478, + "id": 3142, "name": "ElementaryTypeName", - "src": "565:7:3" + "src": "565:7:11" } ], - "id": 479, + "id": 3143, "name": "VariableDeclaration", - "src": "565:31:3" + "src": "565:31:11" }, { "attributes": { @@ -774,7 +774,7 @@ "attributes": { "constant": false, "name": "_status", - "scope": 491, + "scope": 3155, "stateVariable": false, "storageLocation": "default", "type": "enum PoD.Status", @@ -786,22 +786,22 @@ "attributes": { "contractScope": null, "name": "Status", - "referencedDeclaration": 232, + "referencedDeclaration": 2119, "type": "enum PoD.Status" }, - "id": 480, + "id": 3144, "name": "UserDefinedTypeName", - "src": "644:6:3" + "src": "644:6:11" } ], - "id": 481, + "id": 3145, "name": "VariableDeclaration", - "src": "644:14:3" + "src": "644:14:11" } ], - "id": 482, + "id": 3146, "name": "ParameterList", - "src": "643:16:3" + "src": "643:16:11" }, { "children": [ @@ -833,19 +833,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1259, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 483, + "id": 3147, "name": "Identifier", - "src": "666:7:3" + "src": "666:7:11" }, { "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$232", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -862,13 +862,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 234, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 484, + "id": 3148, "name": "Identifier", - "src": "674:6:3" + "src": "674:6:11" }, { "attributes": { @@ -876,43 +876,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 481, + "referencedDeclaration": 3145, "type": "enum PoD.Status", "value": "_status" }, - "id": 485, + "id": 3149, "name": "Identifier", - "src": "684:7:3" + "src": "684:7:11" } ], - "id": 486, + "id": 3150, "name": "BinaryOperation", - "src": "674:17:3" + "src": "674:17:11" } ], - "id": 487, + "id": 3151, "name": "FunctionCall", - "src": "666:26:3" + "src": "666:26:11" } ], - "id": 488, + "id": 3152, "name": "ExpressionStatement", - "src": "666:26:3" + "src": "666:26:11" }, { - "id": 489, + "id": 3153, "name": "PlaceholderStatement", - "src": "698:1:3" + "src": "698:1:11" } ], - "id": 490, + "id": 3154, "name": "Block", - "src": "660:44:3" + "src": "660:44:11" } ], - "id": 491, + "id": 3155, "name": "ModifierDefinition", - "src": "626:78:3" + "src": "626:78:11" }, { "attributes": { @@ -927,7 +927,7 @@ "constant": false, "indexed": true, "name": "_startPrice", - "scope": 499, + "scope": 3163, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -940,21 +940,21 @@ "name": "uint", "type": "uint256" }, - "id": 492, + "id": 3156, "name": "ElementaryTypeName", - "src": "744:4:3" + "src": "744:4:11" } ], - "id": 493, + "id": 3157, "name": "VariableDeclaration", - "src": "744:24:3" + "src": "744:24:11" }, { "attributes": { "constant": false, "indexed": true, "name": "_priceConstant", - "scope": 499, + "scope": 3163, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -967,21 +967,21 @@ "name": "uint", "type": "uint256" }, - "id": 494, + "id": 3158, "name": "ElementaryTypeName", - "src": "770:4:3" + "src": "770:4:11" } ], - "id": 495, + "id": 3159, "name": "VariableDeclaration", - "src": "770:27:3" + "src": "770:27:11" }, { "attributes": { "constant": false, "indexed": true, "name": "_priceExponent", - "scope": 499, + "scope": 3163, "stateVariable": false, "storageLocation": "default", "type": "uint32", @@ -994,24 +994,24 @@ "name": "uint32", "type": "uint32" }, - "id": 496, + "id": 3160, "name": "ElementaryTypeName", - "src": "799:6:3" + "src": "799:6:11" } ], - "id": 497, + "id": 3161, "name": "VariableDeclaration", - "src": "799:29:3" + "src": "799:29:11" } ], - "id": 498, + "id": 3162, "name": "ParameterList", - "src": "743:86:3" + "src": "743:86:11" } ], - "id": 499, + "id": 3163, "name": "EventDefinition", - "src": "732:98:3" + "src": "732:98:11" }, { "attributes": { @@ -1026,7 +1026,7 @@ "constant": false, "indexed": true, "name": "_startTime", - "scope": 505, + "scope": 3169, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1039,21 +1039,21 @@ "name": "uint", "type": "uint256" }, - "id": 500, + "id": 3164, "name": "ElementaryTypeName", - "src": "854:4:3" + "src": "854:4:11" } ], - "id": 501, + "id": 3165, "name": "VariableDeclaration", - "src": "854:23:3" + "src": "854:23:11" }, { "attributes": { "constant": false, "indexed": true, "name": "_blockNumber", - "scope": 505, + "scope": 3169, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1066,24 +1066,24 @@ "name": "uint", "type": "uint256" }, - "id": 502, + "id": 3166, "name": "ElementaryTypeName", - "src": "879:4:3" + "src": "879:4:11" } ], - "id": 503, + "id": 3167, "name": "VariableDeclaration", - "src": "879:25:3" + "src": "879:25:11" } ], - "id": 504, + "id": 3168, "name": "ParameterList", - "src": "853:52:3" + "src": "853:52:11" } ], - "id": 505, + "id": 3169, "name": "EventDefinition", - "src": "833:73:3" + "src": "833:73:11" }, { "attributes": { @@ -1098,7 +1098,7 @@ "constant": false, "indexed": true, "name": "_sender", - "scope": 513, + "scope": 3177, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1111,21 +1111,21 @@ "name": "address", "type": "address" }, - "id": 506, + "id": 3170, "name": "ElementaryTypeName", - "src": "929:7:3" + "src": "929:7:11" } ], - "id": 507, + "id": 3171, "name": "VariableDeclaration", - "src": "929:23:3" + "src": "929:23:11" }, { "attributes": { "constant": false, "indexed": false, "name": "_amount", - "scope": 513, + "scope": 3177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1138,21 +1138,21 @@ "name": "uint", "type": "uint256" }, - "id": 508, + "id": 3172, "name": "ElementaryTypeName", - "src": "954:4:3" + "src": "954:4:11" } ], - "id": 509, + "id": 3173, "name": "VariableDeclaration", - "src": "954:12:3" + "src": "954:12:11" }, { "attributes": { "constant": false, "indexed": false, "name": "_missingFunds", - "scope": 513, + "scope": 3177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1165,24 +1165,24 @@ "name": "uint", "type": "uint256" }, - "id": 510, + "id": 3174, "name": "ElementaryTypeName", - "src": "968:4:3" + "src": "968:4:11" } ], - "id": 511, + "id": 3175, "name": "VariableDeclaration", - "src": "968:18:3" + "src": "968:18:11" } ], - "id": 512, + "id": 3176, "name": "ParameterList", - "src": "928:59:3" + "src": "928:59:11" } ], - "id": 513, + "id": 3177, "name": "EventDefinition", - "src": "909:79:3" + "src": "909:79:11" }, { "attributes": { @@ -1197,7 +1197,7 @@ "constant": false, "indexed": false, "name": "_finalPrice", - "scope": 517, + "scope": 3181, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1210,24 +1210,24 @@ "name": "uint", "type": "uint256" }, - "id": 514, + "id": 3178, "name": "ElementaryTypeName", - "src": "1010:4:3" + "src": "1010:4:11" } ], - "id": 515, + "id": 3179, "name": "VariableDeclaration", - "src": "1010:16:3" + "src": "1010:16:11" } ], - "id": 516, + "id": 3180, "name": "ParameterList", - "src": "1009:18:3" + "src": "1009:18:11" } ], - "id": 517, + "id": 3181, "name": "EventDefinition", - "src": "991:37:3" + "src": "991:37:11" }, { "attributes": { @@ -1239,7 +1239,7 @@ ], "name": "DutchAuctionPoD", "payable": false, - "scope": 821, + "scope": 3485, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1252,9 +1252,9 @@ ] }, "children": [], - "id": 518, + "id": 3182, "name": "ParameterList", - "src": "1132:2:3" + "src": "1132:2:11" }, { "attributes": { @@ -1263,9 +1263,9 @@ ] }, "children": [], - "id": 519, + "id": 3183, "name": "ParameterList", - "src": "1142:0:3" + "src": "1142:0:11" }, { "children": [ @@ -1288,13 +1288,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 208, + "referencedDeclaration": 2095, "type": "string storage ref", "value": "name" }, - "id": 520, + "id": 3184, "name": "Identifier", - "src": "1149:4:3" + "src": "1149:4:11" }, { "attributes": { @@ -1309,19 +1309,19 @@ "type": "literal_string \"DutchAuction strategy PoD\"", "value": "DutchAuction strategy PoD" }, - "id": 521, + "id": 3185, "name": "Literal", - "src": "1156:27:3" + "src": "1156:27:11" } ], - "id": 522, + "id": 3186, "name": "Assignment", - "src": "1149:34:3" + "src": "1149:34:11" } ], - "id": 523, + "id": 3187, "name": "ExpressionStatement", - "src": "1149:34:3" + "src": "1149:34:11" }, { "children": [ @@ -1342,13 +1342,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 210, + "referencedDeclaration": 2097, "type": "string storage ref", "value": "version" }, - "id": 524, + "id": 3188, "name": "Identifier", - "src": "1189:7:3" + "src": "1189:7:11" }, { "attributes": { @@ -1363,29 +1363,29 @@ "type": "literal_string \"0.9.3\"", "value": "0.9.3" }, - "id": 525, + "id": 3189, "name": "Literal", - "src": "1199:7:3" + "src": "1199:7:11" } ], - "id": 526, + "id": 3190, "name": "Assignment", - "src": "1189:17:3" + "src": "1189:17:11" } ], - "id": 527, + "id": 3191, "name": "ExpressionStatement", - "src": "1189:17:3" + "src": "1189:17:11" } ], - "id": 528, + "id": 3192, "name": "Block", - "src": "1142:69:3" + "src": "1142:69:11" } ], - "id": 529, + "id": 3193, "name": "FunctionDefinition", - "src": "1108:103:3" + "src": "1108:103:11" }, { "attributes": { @@ -1394,7 +1394,7 @@ "isConstructor": false, "name": "init", "payable": false, - "scope": 821, + "scope": 3485, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1406,7 +1406,7 @@ "attributes": { "constant": false, "name": "_wallet", - "scope": 624, + "scope": 3288, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1419,20 +1419,20 @@ "name": "address", "type": "address" }, - "id": 530, + "id": 3194, "name": "ElementaryTypeName", - "src": "1234:7:3" + "src": "1234:7:11" } ], - "id": 531, + "id": 3195, "name": "VariableDeclaration", - "src": "1234:15:3" + "src": "1234:15:11" }, { "attributes": { "constant": false, "name": "_tokenDecimals", - "scope": 624, + "scope": 3288, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -1445,20 +1445,20 @@ "name": "uint8", "type": "uint8" }, - "id": 532, + "id": 3196, "name": "ElementaryTypeName", - "src": "1255:5:3" + "src": "1255:5:11" } ], - "id": 533, + "id": 3197, "name": "VariableDeclaration", - "src": "1255:20:3" + "src": "1255:20:11" }, { "attributes": { "constant": false, "name": "_startTime", - "scope": 624, + "scope": 3288, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1471,20 +1471,20 @@ "name": "uint256", "type": "uint256" }, - "id": 534, + "id": 3198, "name": "ElementaryTypeName", - "src": "1281:7:3" + "src": "1281:7:11" } ], - "id": 535, + "id": 3199, "name": "VariableDeclaration", - "src": "1281:18:3" + "src": "1281:18:11" }, { "attributes": { "constant": false, "name": "_priceStart", - "scope": 624, + "scope": 3288, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1497,20 +1497,20 @@ "name": "uint", "type": "uint256" }, - "id": 536, + "id": 3200, "name": "ElementaryTypeName", - "src": "1305:4:3" + "src": "1305:4:11" } ], - "id": 537, + "id": 3201, "name": "VariableDeclaration", - "src": "1305:16:3" + "src": "1305:16:11" }, { "attributes": { "constant": false, "name": "_priceConstant", - "scope": 624, + "scope": 3288, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1523,20 +1523,20 @@ "name": "uint", "type": "uint256" }, - "id": 538, + "id": 3202, "name": "ElementaryTypeName", - "src": "1327:4:3" + "src": "1327:4:11" } ], - "id": 539, + "id": 3203, "name": "VariableDeclaration", - "src": "1327:19:3" + "src": "1327:19:11" }, { "attributes": { "constant": false, "name": "_priceExponent", - "scope": 624, + "scope": 3288, "stateVariable": false, "storageLocation": "default", "type": "uint32", @@ -1549,20 +1549,20 @@ "name": "uint32", "type": "uint32" }, - "id": 540, + "id": 3204, "name": "ElementaryTypeName", - "src": "1352:6:3" + "src": "1352:6:11" } ], - "id": 541, + "id": 3205, "name": "VariableDeclaration", - "src": "1352:21:3" + "src": "1352:21:11" }, { "attributes": { "constant": false, "name": "_capOfToken", - "scope": 624, + "scope": 3288, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1575,19 +1575,19 @@ "name": "uint256", "type": "uint256" }, - "id": 542, + "id": 3206, "name": "ElementaryTypeName", - "src": "1379:7:3" + "src": "1379:7:11" } ], - "id": 543, + "id": 3207, "name": "VariableDeclaration", - "src": "1379:19:3" + "src": "1379:19:11" } ], - "id": 544, + "id": 3208, "name": "ParameterList", - "src": "1228:174:3" + "src": "1228:174:11" }, { "children": [ @@ -1595,7 +1595,7 @@ "attributes": { "constant": false, "name": "", - "scope": 624, + "scope": 3288, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1608,19 +1608,19 @@ "name": "bool", "type": "bool" }, - "id": 551, + "id": 3215, "name": "ElementaryTypeName", - "src": "1461:4:3" + "src": "1461:4:11" } ], - "id": 552, + "id": 3216, "name": "VariableDeclaration", - "src": "1461:4:3" + "src": "1461:4:11" } ], - "id": 553, + "id": 3217, "name": "ParameterList", - "src": "1460:6:3" + "src": "1460:6:11" }, { "attributes": { @@ -1635,18 +1635,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 171, + "referencedDeclaration": 2058, "type": "modifier ()", "value": "onlyOwner" }, - "id": 545, + "id": 3209, "name": "Identifier", - "src": "1412:9:3" + "src": "1412:9:11" } ], - "id": 546, + "id": 3210, "name": "ModifierInvocation", - "src": "1412:11:3" + "src": "1412:11:11" }, { "children": [ @@ -1656,13 +1656,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 491, + "referencedDeclaration": 3155, "type": "modifier (enum PoD.Status)", "value": "atStatus" }, - "id": 547, + "id": 3211, "name": "Identifier", - "src": "1424:8:3" + "src": "1424:8:11" }, { "attributes": { @@ -1682,23 +1682,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 232, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 548, + "id": 3212, "name": "Identifier", - "src": "1433:6:3" + "src": "1433:6:11" } ], - "id": 549, + "id": 3213, "name": "MemberAccess", - "src": "1433:18:3" + "src": "1433:18:11" } ], - "id": 550, + "id": 3214, "name": "ModifierInvocation", - "src": "1424:28:3" + "src": "1424:28:11" }, { "children": [ @@ -1730,13 +1730,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1259, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 554, + "id": 3218, "name": "Identifier", - "src": "1475:7:3" + "src": "1475:7:11" }, { "attributes": { @@ -1759,13 +1759,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 533, + "referencedDeclaration": 3197, "type": "uint8", "value": "_tokenDecimals" }, - "id": 555, + "id": 3219, "name": "Identifier", - "src": "1483:14:3" + "src": "1483:14:11" }, { "attributes": { @@ -1780,24 +1780,24 @@ "type": "int_const 0", "value": "0" }, - "id": 556, + "id": 3220, "name": "Literal", - "src": "1501:1:3" + "src": "1501:1:11" } ], - "id": 557, + "id": 3221, "name": "BinaryOperation", - "src": "1483:19:3" + "src": "1483:19:11" } ], - "id": 558, + "id": 3222, "name": "FunctionCall", - "src": "1475:28:3" + "src": "1475:28:11" } ], - "id": 559, + "id": 3223, "name": "ExpressionStatement", - "src": "1475:28:3" + "src": "1475:28:11" }, { "children": [ @@ -1827,13 +1827,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1259, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 560, + "id": 3224, "name": "Identifier", - "src": "1509:7:3" + "src": "1509:7:11" }, { "attributes": { @@ -1856,13 +1856,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 537, + "referencedDeclaration": 3201, "type": "uint256", "value": "_priceStart" }, - "id": 561, + "id": 3225, "name": "Identifier", - "src": "1517:11:3" + "src": "1517:11:11" }, { "attributes": { @@ -1877,24 +1877,24 @@ "type": "int_const 0", "value": "0" }, - "id": 562, + "id": 3226, "name": "Literal", - "src": "1531:1:3" + "src": "1531:1:11" } ], - "id": 563, + "id": 3227, "name": "BinaryOperation", - "src": "1517:15:3" + "src": "1517:15:11" } ], - "id": 564, + "id": 3228, "name": "FunctionCall", - "src": "1509:24:3" + "src": "1509:24:11" } ], - "id": 565, + "id": 3229, "name": "ExpressionStatement", - "src": "1509:24:3" + "src": "1509:24:11" }, { "children": [ @@ -1924,13 +1924,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1259, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 566, + "id": 3230, "name": "Identifier", - "src": "1539:7:3" + "src": "1539:7:11" }, { "attributes": { @@ -1953,13 +1953,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 539, + "referencedDeclaration": 3203, "type": "uint256", "value": "_priceConstant" }, - "id": 567, + "id": 3231, "name": "Identifier", - "src": "1547:14:3" + "src": "1547:14:11" }, { "attributes": { @@ -1974,24 +1974,24 @@ "type": "int_const 0", "value": "0" }, - "id": 568, + "id": 3232, "name": "Literal", - "src": "1564:1:3" + "src": "1564:1:11" } ], - "id": 569, + "id": 3233, "name": "BinaryOperation", - "src": "1547:18:3" + "src": "1547:18:11" } ], - "id": 570, + "id": 3234, "name": "FunctionCall", - "src": "1539:27:3" + "src": "1539:27:11" } ], - "id": 571, + "id": 3235, "name": "ExpressionStatement", - "src": "1539:27:3" + "src": "1539:27:11" }, { "children": [ @@ -2021,13 +2021,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1259, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 572, + "id": 3236, "name": "Identifier", - "src": "1572:7:3" + "src": "1572:7:11" }, { "attributes": { @@ -2050,13 +2050,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 531, + "referencedDeclaration": 3195, "type": "address", "value": "_wallet" }, - "id": 573, + "id": 3237, "name": "Identifier", - "src": "1580:7:3" + "src": "1580:7:11" }, { "attributes": { @@ -2071,24 +2071,24 @@ "type": "int_const 0", "value": "0x0" }, - "id": 574, + "id": 3238, "name": "Literal", - "src": "1591:3:3" + "src": "1591:3:11" } ], - "id": 575, + "id": 3239, "name": "BinaryOperation", - "src": "1580:14:3" + "src": "1580:14:11" } ], - "id": 576, + "id": 3240, "name": "FunctionCall", - "src": "1572:23:3" + "src": "1572:23:11" } ], - "id": 577, + "id": 3241, "name": "ExpressionStatement", - "src": "1572:23:3" + "src": "1572:23:11" }, { "children": [ @@ -2109,13 +2109,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 212, + "referencedDeclaration": 2099, "type": "address", "value": "wallet" }, - "id": 578, + "id": 3242, "name": "Identifier", - "src": "1601:6:3" + "src": "1601:6:11" }, { "attributes": { @@ -2123,23 +2123,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 531, + "referencedDeclaration": 3195, "type": "address", "value": "_wallet" }, - "id": 579, + "id": 3243, "name": "Identifier", - "src": "1610:7:3" + "src": "1610:7:11" } ], - "id": 580, + "id": 3244, "name": "Assignment", - "src": "1601:16:3" + "src": "1601:16:11" } ], - "id": 581, + "id": 3245, "name": "ExpressionStatement", - "src": "1601:16:3" + "src": "1601:16:11" }, { "children": [ @@ -2160,13 +2160,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 475, + "referencedDeclaration": 3139, "type": "uint256", "value": "tokenMultiplier" }, - "id": 582, + "id": 3246, "name": "Identifier", - "src": "1623:15:3" + "src": "1623:15:11" }, { "attributes": { @@ -2196,9 +2196,9 @@ "type": "int_const 10", "value": "10" }, - "id": 583, + "id": 3247, "name": "Literal", - "src": "1641:2:3" + "src": "1641:2:11" }, { "attributes": { @@ -2230,9 +2230,9 @@ "type": "type(uint256)", "value": "uint256" }, - "id": 584, + "id": 3248, "name": "ElementaryTypeNameExpression", - "src": "1647:7:3" + "src": "1647:7:11" }, { "attributes": { @@ -2240,33 +2240,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 533, + "referencedDeclaration": 3197, "type": "uint8", "value": "_tokenDecimals" }, - "id": 585, + "id": 3249, "name": "Identifier", - "src": "1655:14:3" + "src": "1655:14:11" } ], - "id": 586, + "id": 3250, "name": "FunctionCall", - "src": "1647:23:3" + "src": "1647:23:11" } ], - "id": 587, + "id": 3251, "name": "BinaryOperation", - "src": "1641:29:3" + "src": "1641:29:11" } ], - "id": 588, + "id": 3252, "name": "Assignment", - "src": "1623:47:3" + "src": "1623:47:11" } ], - "id": 589, + "id": 3253, "name": "ExpressionStatement", - "src": "1623:47:3" + "src": "1623:47:11" }, { "children": [ @@ -2287,13 +2287,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 214, + "referencedDeclaration": 2101, "type": "uint256", "value": "startTime" }, - "id": 590, + "id": 3254, "name": "Identifier", - "src": "1676:9:3" + "src": "1676:9:11" }, { "attributes": { @@ -2301,23 +2301,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 535, + "referencedDeclaration": 3199, "type": "uint256", "value": "_startTime" }, - "id": 591, + "id": 3255, "name": "Identifier", - "src": "1688:10:3" + "src": "1688:10:11" } ], - "id": 592, + "id": 3256, "name": "Assignment", - "src": "1676:22:3" + "src": "1676:22:11" } ], - "id": 593, + "id": 3257, "name": "ExpressionStatement", - "src": "1676:22:3" + "src": "1676:22:11" }, { "children": [ @@ -2338,13 +2338,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 469, + "referencedDeclaration": 3133, "type": "uint256", "value": "priceStart" }, - "id": 594, + "id": 3258, "name": "Identifier", - "src": "1704:10:3" + "src": "1704:10:11" }, { "attributes": { @@ -2352,23 +2352,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 537, + "referencedDeclaration": 3201, "type": "uint256", "value": "_priceStart" }, - "id": 595, + "id": 3259, "name": "Identifier", - "src": "1717:11:3" + "src": "1717:11:11" } ], - "id": 596, + "id": 3260, "name": "Assignment", - "src": "1704:24:3" + "src": "1704:24:11" } ], - "id": 597, + "id": 3261, "name": "ExpressionStatement", - "src": "1704:24:3" + "src": "1704:24:11" }, { "children": [ @@ -2389,13 +2389,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 471, + "referencedDeclaration": 3135, "type": "uint256", "value": "priceConstant" }, - "id": 598, + "id": 3262, "name": "Identifier", - "src": "1734:13:3" + "src": "1734:13:11" }, { "attributes": { @@ -2403,23 +2403,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 539, + "referencedDeclaration": 3203, "type": "uint256", "value": "_priceConstant" }, - "id": 599, + "id": 3263, "name": "Identifier", - "src": "1750:14:3" + "src": "1750:14:11" } ], - "id": 600, + "id": 3264, "name": "Assignment", - "src": "1734:30:3" + "src": "1734:30:11" } ], - "id": 601, + "id": 3265, "name": "ExpressionStatement", - "src": "1734:30:3" + "src": "1734:30:11" }, { "children": [ @@ -2440,13 +2440,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 473, + "referencedDeclaration": 3137, "type": "uint32", "value": "priceExponent" }, - "id": 602, + "id": 3266, "name": "Identifier", - "src": "1770:13:3" + "src": "1770:13:11" }, { "attributes": { @@ -2454,23 +2454,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 541, + "referencedDeclaration": 3205, "type": "uint32", "value": "_priceExponent" }, - "id": 603, + "id": 3267, "name": "Identifier", - "src": "1786:14:3" + "src": "1786:14:11" } ], - "id": 604, + "id": 3268, "name": "Assignment", - "src": "1770:30:3" + "src": "1770:30:11" } ], - "id": 605, + "id": 3269, "name": "ExpressionStatement", - "src": "1770:30:3" + "src": "1770:30:11" }, { "children": [ @@ -2491,13 +2491,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 477, + "referencedDeclaration": 3141, "type": "uint256", "value": "proofOfDonationCapOfToken" }, - "id": 606, + "id": 3270, "name": "Identifier", - "src": "1806:25:3" + "src": "1806:25:11" }, { "attributes": { @@ -2505,23 +2505,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 543, + "referencedDeclaration": 3207, "type": "uint256", "value": "_capOfToken" }, - "id": 607, + "id": 3271, "name": "Identifier", - "src": "1834:11:3" + "src": "1834:11:11" } ], - "id": 608, + "id": 3272, "name": "Assignment", - "src": "1806:39:3" + "src": "1806:39:11" } ], - "id": 609, + "id": 3273, "name": "ExpressionStatement", - "src": "1806:39:3" + "src": "1806:39:11" }, { "children": [ @@ -2542,13 +2542,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 234, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 610, + "id": 3274, "name": "Identifier", - "src": "1851:6:3" + "src": "1851:6:11" }, { "attributes": { @@ -2568,28 +2568,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 232, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 611, + "id": 3275, "name": "Identifier", - "src": "1860:6:3" + "src": "1860:6:11" } ], - "id": 612, + "id": 3276, "name": "MemberAccess", - "src": "1860:17:3" + "src": "1860:17:11" } ], - "id": 613, + "id": 3277, "name": "Assignment", - "src": "1851:26:3" + "src": "1851:26:11" } ], - "id": 614, + "id": 3278, "name": "ExpressionStatement", - "src": "1851:26:3" + "src": "1851:26:11" }, { "children": [ @@ -2627,13 +2627,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 499, + "referencedDeclaration": 3163, "type": "function (uint256,uint256,uint32)", "value": "Setup" }, - "id": 615, + "id": 3279, "name": "Identifier", - "src": "1883:5:3" + "src": "1883:5:11" }, { "attributes": { @@ -2641,13 +2641,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 537, + "referencedDeclaration": 3201, "type": "uint256", "value": "_priceStart" }, - "id": 616, + "id": 3280, "name": "Identifier", - "src": "1889:11:3" + "src": "1889:11:11" }, { "attributes": { @@ -2655,13 +2655,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 539, + "referencedDeclaration": 3203, "type": "uint256", "value": "_priceConstant" }, - "id": 617, + "id": 3281, "name": "Identifier", - "src": "1902:14:3" + "src": "1902:14:11" }, { "attributes": { @@ -2669,27 +2669,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 541, + "referencedDeclaration": 3205, "type": "uint32", "value": "_priceExponent" }, - "id": 618, + "id": 3282, "name": "Identifier", - "src": "1918:14:3" + "src": "1918:14:11" } ], - "id": 619, + "id": 3283, "name": "FunctionCall", - "src": "1883:50:3" + "src": "1883:50:11" } ], - "id": 620, + "id": 3284, "name": "ExpressionStatement", - "src": "1883:50:3" + "src": "1883:50:11" }, { "attributes": { - "functionReturnParameters": 553 + "functionReturnParameters": 3217 }, "children": [ { @@ -2705,24 +2705,24 @@ "type": "bool", "value": "true" }, - "id": 621, + "id": 3285, "name": "Literal", - "src": "1951:4:3" + "src": "1951:4:11" } ], - "id": 622, + "id": 3286, "name": "Return", - "src": "1944:11:3" + "src": "1944:11:11" } ], - "id": 623, + "id": 3287, "name": "Block", - "src": "1469:491:3" + "src": "1469:491:11" } ], - "id": 624, + "id": 3288, "name": "FunctionDefinition", - "src": "1215:745:3" + "src": "1215:745:11" }, { "attributes": { @@ -2731,7 +2731,7 @@ "isConstructor": false, "name": "finalizeAuction", "payable": false, - "scope": 821, + "scope": 3485, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2744,9 +2744,9 @@ ] }, "children": [], - "id": 625, + "id": 3289, "name": "ParameterList", - "src": "2260:2:3" + "src": "2260:2:11" }, { "attributes": { @@ -2755,9 +2755,9 @@ ] }, "children": [], - "id": 630, + "id": 3294, "name": "ParameterList", - "src": "2298:0:3" + "src": "2298:0:11" }, { "children": [ @@ -2767,13 +2767,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 491, + "referencedDeclaration": 3155, "type": "modifier (enum PoD.Status)", "value": "atStatus" }, - "id": 626, + "id": 3290, "name": "Identifier", - "src": "2270:8:3" + "src": "2270:8:11" }, { "attributes": { @@ -2793,30 +2793,30 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 232, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 627, + "id": 3291, "name": "Identifier", - "src": "2279:6:3" + "src": "2279:6:11" } ], - "id": 628, + "id": 3292, "name": "MemberAccess", - "src": "2279:17:3" + "src": "2279:17:11" } ], - "id": 629, + "id": 3293, "name": "ModifierInvocation", - "src": "2270:27:3" + "src": "2270:27:11" }, { "children": [ { "attributes": { "assignments": [ - 632 + 3296 ] }, "children": [ @@ -2824,7 +2824,7 @@ "attributes": { "constant": false, "name": "missingFunds", - "scope": 670, + "scope": 3334, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2837,14 +2837,14 @@ "name": "uint", "type": "uint256" }, - "id": 631, + "id": 3295, "name": "ElementaryTypeName", - "src": "2351:4:3" + "src": "2351:4:11" } ], - "id": 632, + "id": 3296, "name": "VariableDeclaration", - "src": "2351:17:3" + "src": "2351:17:11" }, { "attributes": { @@ -2872,23 +2872,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 713, + "referencedDeclaration": 3377, "type": "function () view returns (uint256)", "value": "missingFundsToEndAuction" }, - "id": 633, + "id": 3297, "name": "Identifier", - "src": "2371:24:3" + "src": "2371:24:11" } ], - "id": 634, + "id": 3298, "name": "FunctionCall", - "src": "2371:26:3" + "src": "2371:26:11" } ], - "id": 635, + "id": 3299, "name": "VariableDeclarationStatement", - "src": "2351:46:3" + "src": "2351:46:11" }, { "children": [ @@ -2918,13 +2918,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1259, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 636, + "id": 3300, "name": "Identifier", - "src": "2403:7:3" + "src": "2403:7:11" }, { "attributes": { @@ -2947,13 +2947,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 632, + "referencedDeclaration": 3296, "type": "uint256", "value": "missingFunds" }, - "id": 637, + "id": 3301, "name": "Identifier", - "src": "2411:12:3" + "src": "2411:12:11" }, { "attributes": { @@ -2968,24 +2968,24 @@ "type": "int_const 0", "value": "0" }, - "id": 638, + "id": 3302, "name": "Literal", - "src": "2427:1:3" + "src": "2427:1:11" } ], - "id": 639, + "id": 3303, "name": "BinaryOperation", - "src": "2411:17:3" + "src": "2411:17:11" } ], - "id": 640, + "id": 3304, "name": "FunctionCall", - "src": "2403:26:3" + "src": "2403:26:11" } ], - "id": 641, + "id": 3305, "name": "ExpressionStatement", - "src": "2403:26:3" + "src": "2403:26:11" }, { "children": [ @@ -3006,13 +3006,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 218, + "referencedDeclaration": 2105, "type": "uint256", "value": "tokenPrice" }, - "id": 642, + "id": 3306, "name": "Identifier", - "src": "2588:10:3" + "src": "2588:10:11" }, { "attributes": { @@ -3050,13 +3050,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 475, + "referencedDeclaration": 3139, "type": "uint256", "value": "tokenMultiplier" }, - "id": 643, + "id": 3307, "name": "Identifier", - "src": "2601:15:3" + "src": "2601:15:11" }, { "attributes": { @@ -3064,18 +3064,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 220, + "referencedDeclaration": 2107, "type": "uint256", "value": "totalReceivedWei" }, - "id": 644, + "id": 3308, "name": "Identifier", - "src": "2619:16:3" + "src": "2619:16:11" } ], - "id": 645, + "id": 3309, "name": "BinaryOperation", - "src": "2601:34:3" + "src": "2601:34:11" }, { "attributes": { @@ -3083,28 +3083,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 477, + "referencedDeclaration": 3141, "type": "uint256", "value": "proofOfDonationCapOfToken" }, - "id": 646, + "id": 3310, "name": "Identifier", - "src": "2638:25:3" + "src": "2638:25:11" } ], - "id": 647, + "id": 3311, "name": "BinaryOperation", - "src": "2601:62:3" + "src": "2601:62:11" } ], - "id": 648, + "id": 3312, "name": "Assignment", - "src": "2588:75:3" + "src": "2588:75:11" } ], - "id": 649, + "id": 3313, "name": "ExpressionStatement", - "src": "2588:75:3" + "src": "2588:75:11" }, { "children": [ @@ -3125,13 +3125,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 216, + "referencedDeclaration": 2103, "type": "uint256", "value": "endTime" }, - "id": 650, + "id": 3314, "name": "Identifier", - "src": "2670:7:3" + "src": "2670:7:11" }, { "attributes": { @@ -3139,23 +3139,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1258, + "referencedDeclaration": 4513, "type": "uint256", "value": "now" }, - "id": 651, + "id": 3315, "name": "Identifier", - "src": "2680:3:3" + "src": "2680:3:11" } ], - "id": 652, + "id": 3316, "name": "Assignment", - "src": "2670:13:3" + "src": "2670:13:11" } ], - "id": 653, + "id": 3317, "name": "ExpressionStatement", - "src": "2670:13:3" + "src": "2670:13:11" }, { "children": [ @@ -3185,13 +3185,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 517, + "referencedDeclaration": 3181, "type": "function (uint256)", "value": "AuctionEnded" }, - "id": 654, + "id": 3318, "name": "Identifier", - "src": "2690:12:3" + "src": "2690:12:11" }, { "attributes": { @@ -3199,23 +3199,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 218, + "referencedDeclaration": 2105, "type": "uint256", "value": "tokenPrice" }, - "id": 655, + "id": 3319, "name": "Identifier", - "src": "2703:10:3" + "src": "2703:10:11" } ], - "id": 656, + "id": 3320, "name": "FunctionCall", - "src": "2690:24:3" + "src": "2690:24:11" } ], - "id": 657, + "id": 3321, "name": "ExpressionStatement", - "src": "2690:24:3" + "src": "2690:24:11" }, { "children": [ @@ -3236,13 +3236,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 234, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 658, + "id": 3322, "name": "Identifier", - "src": "2721:6:3" + "src": "2721:6:11" }, { "attributes": { @@ -3262,28 +3262,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 232, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 659, + "id": 3323, "name": "Identifier", - "src": "2730:6:3" + "src": "2730:6:11" } ], - "id": 660, + "id": 3324, "name": "MemberAccess", - "src": "2730:15:3" + "src": "2730:15:11" } ], - "id": 661, + "id": 3325, "name": "Assignment", - "src": "2721:24:3" + "src": "2721:24:11" } ], - "id": 662, + "id": 3326, "name": "ExpressionStatement", - "src": "2721:24:3" + "src": "2721:24:11" }, { "children": [ @@ -3313,13 +3313,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1247, + "referencedDeclaration": 4502, "type": "function (bool) pure", "value": "assert" }, - "id": 663, + "id": 3327, "name": "Identifier", - "src": "2752:6:3" + "src": "2752:6:11" }, { "attributes": { @@ -3342,13 +3342,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 218, + "referencedDeclaration": 2105, "type": "uint256", "value": "tokenPrice" }, - "id": 664, + "id": 3328, "name": "Identifier", - "src": "2759:10:3" + "src": "2759:10:11" }, { "attributes": { @@ -3363,34 +3363,34 @@ "type": "int_const 0", "value": "0" }, - "id": 665, + "id": 3329, "name": "Literal", - "src": "2772:1:3" + "src": "2772:1:11" } ], - "id": 666, + "id": 3330, "name": "BinaryOperation", - "src": "2759:14:3" + "src": "2759:14:11" } ], - "id": 667, + "id": 3331, "name": "FunctionCall", - "src": "2752:22:3" + "src": "2752:22:11" } ], - "id": 668, + "id": 3332, "name": "ExpressionStatement", - "src": "2752:22:3" + "src": "2752:22:11" } ], - "id": 669, + "id": 3333, "name": "Block", - "src": "2298:481:3" + "src": "2298:481:11" } ], - "id": 670, + "id": 3334, "name": "FunctionDefinition", - "src": "2236:543:3" + "src": "2236:543:11" }, { "attributes": { @@ -3402,7 +3402,7 @@ ], "name": "price", "payable": false, - "scope": 821, + "scope": 3485, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -3415,9 +3415,9 @@ ] }, "children": [], - "id": 671, + "id": 3335, "name": "ParameterList", - "src": "3110:2:3" + "src": "3110:2:11" }, { "children": [ @@ -3425,7 +3425,7 @@ "attributes": { "constant": false, "name": "", - "scope": 687, + "scope": 3351, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3438,19 +3438,19 @@ "name": "uint", "type": "uint256" }, - "id": 672, + "id": 3336, "name": "ElementaryTypeName", - "src": "3137:4:3" + "src": "3137:4:11" } ], - "id": 673, + "id": 3337, "name": "VariableDeclaration", - "src": "3137:4:3" + "src": "3137:4:11" } ], - "id": 674, + "id": 3338, "name": "ParameterList", - "src": "3136:6:3" + "src": "3136:6:11" }, { "children": [ @@ -3463,7 +3463,7 @@ "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$232", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -3480,13 +3480,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 234, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 675, + "id": 3339, "name": "Identifier", - "src": "3153:6:3" + "src": "3153:6:11" }, { "attributes": { @@ -3506,29 +3506,29 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 232, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 676, + "id": 3340, "name": "Identifier", - "src": "3163:6:3" + "src": "3163:6:11" } ], - "id": 677, + "id": 3341, "name": "MemberAccess", - "src": "3163:15:3" + "src": "3163:15:11" } ], - "id": 678, + "id": 3342, "name": "BinaryOperation", - "src": "3153:25:3" + "src": "3153:25:11" }, { "children": [ { "attributes": { - "functionReturnParameters": 674 + "functionReturnParameters": 3338 }, "children": [ { @@ -3544,28 +3544,28 @@ "type": "int_const 0", "value": "0" }, - "id": 679, + "id": 3343, "name": "Literal", - "src": "3195:1:3" + "src": "3195:1:11" } ], - "id": 680, + "id": 3344, "name": "Return", - "src": "3188:8:3" + "src": "3188:8:11" } ], - "id": 681, + "id": 3345, "name": "Block", - "src": "3180:23:3" + "src": "3180:23:11" } ], - "id": 682, + "id": 3346, "name": "IfStatement", - "src": "3149:54:3" + "src": "3149:54:11" }, { "attributes": { - "functionReturnParameters": 674 + "functionReturnParameters": 3338 }, "children": [ { @@ -3594,33 +3594,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 756, + "referencedDeclaration": 3420, "type": "function () view returns (uint256)", "value": "calcTokenPrice" }, - "id": 683, + "id": 3347, "name": "Identifier", - "src": "3215:14:3" + "src": "3215:14:11" } ], - "id": 684, + "id": 3348, "name": "FunctionCall", - "src": "3215:16:3" + "src": "3215:16:11" } ], - "id": 685, + "id": 3349, "name": "Return", - "src": "3208:23:3" + "src": "3208:23:11" } ], - "id": 686, + "id": 3350, "name": "Block", - "src": "3143:93:3" + "src": "3143:93:11" } ], - "id": 687, + "id": 3351, "name": "FunctionDefinition", - "src": "3096:140:3" + "src": "3096:140:11" }, { "attributes": { @@ -3632,7 +3632,7 @@ ], "name": "missingFundsToEndAuction", "payable": false, - "scope": 821, + "scope": 3485, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -3645,9 +3645,9 @@ ] }, "children": [], - "id": 688, + "id": 3352, "name": "ParameterList", - "src": "3543:2:3" + "src": "3543:2:11" }, { "children": [ @@ -3655,7 +3655,7 @@ "attributes": { "constant": false, "name": "", - "scope": 713, + "scope": 3377, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3668,26 +3668,26 @@ "name": "uint", "type": "uint256" }, - "id": 689, + "id": 3353, "name": "ElementaryTypeName", - "src": "3570:4:3" + "src": "3570:4:11" } ], - "id": 690, + "id": 3354, "name": "VariableDeclaration", - "src": "3570:4:3" + "src": "3570:4:11" } ], - "id": 691, + "id": 3355, "name": "ParameterList", - "src": "3569:6:3" + "src": "3569:6:11" }, { "children": [ { "attributes": { "assignments": [ - 693 + 3357 ] }, "children": [ @@ -3695,7 +3695,7 @@ "attributes": { "constant": false, "name": "requiredWeiAtPrice", - "scope": 713, + "scope": 3377, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3708,14 +3708,14 @@ "name": "uint", "type": "uint256" }, - "id": 692, + "id": 3356, "name": "ElementaryTypeName", - "src": "3678:4:3" + "src": "3678:4:11" } ], - "id": 693, + "id": 3357, "name": "VariableDeclaration", - "src": "3678:23:3" + "src": "3678:23:11" }, { "attributes": { @@ -3753,13 +3753,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 477, + "referencedDeclaration": 3141, "type": "uint256", "value": "proofOfDonationCapOfToken" }, - "id": 694, + "id": 3358, "name": "Identifier", - "src": "3704:25:3" + "src": "3704:25:11" }, { "attributes": { @@ -3787,23 +3787,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 687, + "referencedDeclaration": 3351, "type": "function () view returns (uint256)", "value": "price" }, - "id": 695, + "id": 3359, "name": "Identifier", - "src": "3732:5:3" + "src": "3732:5:11" } ], - "id": 696, + "id": 3360, "name": "FunctionCall", - "src": "3732:7:3" + "src": "3732:7:11" } ], - "id": 697, + "id": 3361, "name": "BinaryOperation", - "src": "3704:35:3" + "src": "3704:35:11" }, { "attributes": { @@ -3811,23 +3811,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 475, + "referencedDeclaration": 3139, "type": "uint256", "value": "tokenMultiplier" }, - "id": 698, + "id": 3362, "name": "Identifier", - "src": "3742:15:3" + "src": "3742:15:11" } ], - "id": 699, + "id": 3363, "name": "BinaryOperation", - "src": "3704:53:3" + "src": "3704:53:11" } ], - "id": 700, + "id": 3364, "name": "VariableDeclarationStatement", - "src": "3678:79:3" + "src": "3678:79:11" }, { "attributes": { @@ -3855,13 +3855,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 693, + "referencedDeclaration": 3357, "type": "uint256", "value": "requiredWeiAtPrice" }, - "id": 701, + "id": 3365, "name": "Identifier", - "src": "3767:18:3" + "src": "3767:18:11" }, { "attributes": { @@ -3869,24 +3869,24 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 220, + "referencedDeclaration": 2107, "type": "uint256", "value": "totalReceivedWei" }, - "id": 702, + "id": 3366, "name": "Identifier", - "src": "3789:16:3" + "src": "3789:16:11" } ], - "id": 703, + "id": 3367, "name": "BinaryOperation", - "src": "3767:38:3" + "src": "3767:38:11" }, { "children": [ { "attributes": { - "functionReturnParameters": 691 + "functionReturnParameters": 3355 }, "children": [ { @@ -3902,28 +3902,28 @@ "type": "int_const 0", "value": "0" }, - "id": 704, + "id": 3368, "name": "Literal", - "src": "3822:1:3" + "src": "3822:1:11" } ], - "id": 705, + "id": 3369, "name": "Return", - "src": "3815:8:3" + "src": "3815:8:11" } ], - "id": 706, + "id": 3370, "name": "Block", - "src": "3807:23:3" + "src": "3807:23:11" } ], - "id": 707, + "id": 3371, "name": "IfStatement", - "src": "3763:67:3" + "src": "3763:67:11" }, { "attributes": { - "functionReturnParameters": 691 + "functionReturnParameters": 3355 }, "children": [ { @@ -3947,13 +3947,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 693, + "referencedDeclaration": 3357, "type": "uint256", "value": "requiredWeiAtPrice" }, - "id": 708, + "id": 3372, "name": "Identifier", - "src": "3900:18:3" + "src": "3900:18:11" }, { "attributes": { @@ -3961,33 +3961,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 220, + "referencedDeclaration": 2107, "type": "uint256", "value": "totalReceivedWei" }, - "id": 709, + "id": 3373, "name": "Identifier", - "src": "3921:16:3" + "src": "3921:16:11" } ], - "id": 710, + "id": 3374, "name": "BinaryOperation", - "src": "3900:37:3" + "src": "3900:37:11" } ], - "id": 711, + "id": 3375, "name": "Return", - "src": "3893:44:3" + "src": "3893:44:11" } ], - "id": 712, + "id": 3376, "name": "Block", - "src": "3576:366:3" + "src": "3576:366:11" } ], - "id": 713, + "id": 3377, "name": "FunctionDefinition", - "src": "3510:432:3" + "src": "3510:432:11" }, { "attributes": { @@ -3999,7 +3999,7 @@ ], "name": "calcTokenPrice", "payable": false, - "scope": 821, + "scope": 3485, "stateMutability": "view", "superFunction": null, "visibility": "private" @@ -4012,9 +4012,9 @@ ] }, "children": [], - "id": 714, + "id": 3378, "name": "ParameterList", - "src": "4577:2:3" + "src": "4577:2:11" }, { "children": [ @@ -4022,7 +4022,7 @@ "attributes": { "constant": false, "name": "", - "scope": 756, + "scope": 3420, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4035,19 +4035,19 @@ "name": "uint", "type": "uint256" }, - "id": 715, + "id": 3379, "name": "ElementaryTypeName", - "src": "4605:4:3" + "src": "4605:4:11" } ], - "id": 716, + "id": 3380, "name": "VariableDeclaration", - "src": "4605:4:3" + "src": "4605:4:11" } ], - "id": 717, + "id": 3381, "name": "ParameterList", - "src": "4604:6:3" + "src": "4604:6:11" }, { "children": [ @@ -4063,7 +4063,7 @@ "attributes": { "constant": false, "name": "elapsed", - "scope": 756, + "scope": 3420, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4076,19 +4076,19 @@ "name": "uint", "type": "uint256" }, - "id": 718, + "id": 3382, "name": "ElementaryTypeName", - "src": "4617:4:3" + "src": "4617:4:11" } ], - "id": 719, + "id": 3383, "name": "VariableDeclaration", - "src": "4617:12:3" + "src": "4617:12:11" } ], - "id": 720, + "id": 3384, "name": "VariableDeclarationStatement", - "src": "4617:12:3" + "src": "4617:12:11" }, { "attributes": { @@ -4099,7 +4099,7 @@ "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$232", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -4116,13 +4116,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 234, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 721, + "id": 3385, "name": "Identifier", - "src": "4639:6:3" + "src": "4639:6:11" }, { "attributes": { @@ -4142,23 +4142,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 232, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 722, + "id": 3386, "name": "Identifier", - "src": "4649:6:3" + "src": "4649:6:11" } ], - "id": 723, + "id": 3387, "name": "MemberAccess", - "src": "4649:17:3" + "src": "4649:17:11" } ], - "id": 724, + "id": 3388, "name": "BinaryOperation", - "src": "4639:27:3" + "src": "4639:27:11" }, { "children": [ @@ -4181,13 +4181,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 719, + "referencedDeclaration": 3383, "type": "uint256", "value": "elapsed" }, - "id": 725, + "id": 3389, "name": "Identifier", - "src": "4676:7:3" + "src": "4676:7:11" }, { "attributes": { @@ -4210,13 +4210,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1258, + "referencedDeclaration": 4513, "type": "uint256", "value": "now" }, - "id": 726, + "id": 3390, "name": "Identifier", - "src": "4686:3:3" + "src": "4686:3:11" }, { "attributes": { @@ -4224,43 +4224,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 214, + "referencedDeclaration": 2101, "type": "uint256", "value": "startTime" }, - "id": 727, + "id": 3391, "name": "Identifier", - "src": "4692:9:3" + "src": "4692:9:11" } ], - "id": 728, + "id": 3392, "name": "BinaryOperation", - "src": "4686:15:3" + "src": "4686:15:11" } ], - "id": 729, + "id": 3393, "name": "Assignment", - "src": "4676:25:3" + "src": "4676:25:11" } ], - "id": 730, + "id": 3394, "name": "ExpressionStatement", - "src": "4676:25:3" + "src": "4676:25:11" } ], - "id": 731, + "id": 3395, "name": "Block", - "src": "4668:40:3" + "src": "4668:40:11" } ], - "id": 732, + "id": 3396, "name": "IfStatement", - "src": "4635:73:3" + "src": "4635:73:11" }, { "attributes": { "assignments": [ - 734 + 3398 ] }, "children": [ @@ -4268,7 +4268,7 @@ "attributes": { "constant": false, "name": "decayRate", - "scope": 756, + "scope": 3420, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4281,14 +4281,14 @@ "name": "uint", "type": "uint256" }, - "id": 733, + "id": 3397, "name": "ElementaryTypeName", - "src": "4714:4:3" + "src": "4714:4:11" } ], - "id": 734, + "id": 3398, "name": "VariableDeclaration", - "src": "4714:14:3" + "src": "4714:14:11" }, { "attributes": { @@ -4326,13 +4326,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 719, + "referencedDeclaration": 3383, "type": "uint256", "value": "elapsed" }, - "id": 735, + "id": 3399, "name": "Identifier", - "src": "4731:7:3" + "src": "4731:7:11" }, { "attributes": { @@ -4340,18 +4340,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 473, + "referencedDeclaration": 3137, "type": "uint32", "value": "priceExponent" }, - "id": 736, + "id": 3400, "name": "Identifier", - "src": "4742:13:3" + "src": "4742:13:11" } ], - "id": 737, + "id": 3401, "name": "BinaryOperation", - "src": "4731:24:3" + "src": "4731:24:11" }, { "attributes": { @@ -4359,27 +4359,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 471, + "referencedDeclaration": 3135, "type": "uint256", "value": "priceConstant" }, - "id": 738, + "id": 3402, "name": "Identifier", - "src": "4758:13:3" + "src": "4758:13:11" } ], - "id": 739, + "id": 3403, "name": "BinaryOperation", - "src": "4731:40:3" + "src": "4731:40:11" } ], - "id": 740, + "id": 3404, "name": "VariableDeclarationStatement", - "src": "4714:57:3" + "src": "4714:57:11" }, { "attributes": { - "functionReturnParameters": 717 + "functionReturnParameters": 3381 }, "children": [ { @@ -4418,13 +4418,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 469, + "referencedDeclaration": 3133, "type": "uint256", "value": "priceStart" }, - "id": 741, + "id": 3405, "name": "Identifier", - "src": "4784:10:3" + "src": "4784:10:11" }, { "attributes": { @@ -4465,9 +4465,9 @@ "type": "int_const 1", "value": "1" }, - "id": 742, + "id": 3406, "name": "Literal", - "src": "4798:1:3" + "src": "4798:1:11" }, { "attributes": { @@ -4475,28 +4475,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 719, + "referencedDeclaration": 3383, "type": "uint256", "value": "elapsed" }, - "id": 743, + "id": 3407, "name": "Identifier", - "src": "4802:7:3" + "src": "4802:7:11" } ], - "id": 744, + "id": 3408, "name": "BinaryOperation", - "src": "4798:11:3" + "src": "4798:11:11" } ], - "id": 745, + "id": 3409, "name": "TupleExpression", - "src": "4797:13:3" + "src": "4797:13:11" } ], - "id": 746, + "id": 3410, "name": "BinaryOperation", - "src": "4784:26:3" + "src": "4784:26:11" }, { "attributes": { @@ -4552,9 +4552,9 @@ "type": "int_const 1", "value": "1" }, - "id": 747, + "id": 3411, "name": "Literal", - "src": "4814:1:3" + "src": "4814:1:11" }, { "attributes": { @@ -4562,18 +4562,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 719, + "referencedDeclaration": 3383, "type": "uint256", "value": "elapsed" }, - "id": 748, + "id": 3412, "name": "Identifier", - "src": "4818:7:3" + "src": "4818:7:11" } ], - "id": 749, + "id": 3413, "name": "BinaryOperation", - "src": "4814:11:3" + "src": "4814:11:11" }, { "attributes": { @@ -4581,43 +4581,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 734, + "referencedDeclaration": 3398, "type": "uint256", "value": "decayRate" }, - "id": 750, + "id": 3414, "name": "Identifier", - "src": "4828:9:3" + "src": "4828:9:11" } ], - "id": 751, + "id": 3415, "name": "BinaryOperation", - "src": "4814:23:3" + "src": "4814:23:11" } ], - "id": 752, + "id": 3416, "name": "TupleExpression", - "src": "4813:25:3" + "src": "4813:25:11" } ], - "id": 753, + "id": 3417, "name": "BinaryOperation", - "src": "4784:54:3" + "src": "4784:54:11" } ], - "id": 754, + "id": 3418, "name": "Return", - "src": "4777:61:3" + "src": "4777:61:11" } ], - "id": 755, + "id": 3419, "name": "Block", - "src": "4611:232:3" + "src": "4611:232:11" } ], - "id": 756, + "id": 3420, "name": "FunctionDefinition", - "src": "4554:289:3" + "src": "4554:289:11" }, { "attributes": { @@ -4629,9 +4629,9 @@ ], "name": "processDonate", "payable": false, - "scope": 821, + "scope": 3485, "stateMutability": "nonpayable", - "superFunction": 454, + "superFunction": 2341, "visibility": "internal" }, "children": [ @@ -4641,7 +4641,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 799, + "scope": 3463, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4654,19 +4654,19 @@ "name": "address", "type": "address" }, - "id": 757, + "id": 3421, "name": "ElementaryTypeName", - "src": "5027:7:3" + "src": "5027:7:11" } ], - "id": 758, + "id": 3422, "name": "VariableDeclaration", - "src": "5027:13:3" + "src": "5027:13:11" } ], - "id": 759, + "id": 3423, "name": "ParameterList", - "src": "5026:15:3" + "src": "5026:15:11" }, { "children": [ @@ -4674,7 +4674,7 @@ "attributes": { "constant": false, "name": "", - "scope": 799, + "scope": 3463, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -4687,19 +4687,19 @@ "name": "bool", "type": "bool" }, - "id": 760, + "id": 3424, "name": "ElementaryTypeName", - "src": "5060:4:3" + "src": "5060:4:11" } ], - "id": 761, + "id": 3425, "name": "VariableDeclaration", - "src": "5060:4:3" + "src": "5060:4:11" } ], - "id": 762, + "id": 3426, "name": "ParameterList", - "src": "5059:6:3" + "src": "5059:6:11" }, { "children": [ @@ -4731,13 +4731,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1259, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 763, + "id": 3427, "name": "Identifier", - "src": "5072:7:3" + "src": "5072:7:11" }, { "attributes": { @@ -4760,13 +4760,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 758, + "referencedDeclaration": 3422, "type": "address", "value": "_user" }, - "id": 764, + "id": 3428, "name": "Identifier", - "src": "5080:5:3" + "src": "5080:5:11" }, { "attributes": { @@ -4781,29 +4781,29 @@ "type": "int_const 0", "value": "0x0" }, - "id": 765, + "id": 3429, "name": "Literal", - "src": "5089:3:3" + "src": "5089:3:11" } ], - "id": 766, + "id": 3430, "name": "BinaryOperation", - "src": "5080:12:3" + "src": "5080:12:11" } ], - "id": 767, + "id": 3431, "name": "FunctionCall", - "src": "5072:21:3" + "src": "5072:21:11" } ], - "id": 768, + "id": 3432, "name": "ExpressionStatement", - "src": "5072:21:3" + "src": "5072:21:11" }, { "attributes": { "assignments": [ - 770 + 3434 ] }, "children": [ @@ -4811,7 +4811,7 @@ "attributes": { "constant": false, "name": "missingFunds", - "scope": 799, + "scope": 3463, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4824,14 +4824,14 @@ "name": "uint", "type": "uint256" }, - "id": 769, + "id": 3433, "name": "ElementaryTypeName", - "src": "5150:4:3" + "src": "5150:4:11" } ], - "id": 770, + "id": 3434, "name": "VariableDeclaration", - "src": "5150:17:3" + "src": "5150:17:11" }, { "attributes": { @@ -4859,23 +4859,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 713, + "referencedDeclaration": 3377, "type": "function () view returns (uint256)", "value": "missingFundsToEndAuction" }, - "id": 771, + "id": 3435, "name": "Identifier", - "src": "5170:24:3" + "src": "5170:24:11" } ], - "id": 772, + "id": 3436, "name": "FunctionCall", - "src": "5170:26:3" + "src": "5170:26:11" } ], - "id": 773, + "id": 3437, "name": "VariableDeclarationStatement", - "src": "5150:46:3" + "src": "5150:46:11" }, { "children": [ @@ -4905,13 +4905,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1259, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 774, + "id": 3438, "name": "Identifier", - "src": "5314:7:3" + "src": "5314:7:11" }, { "attributes": { @@ -4946,18 +4946,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1256, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 775, + "id": 3439, "name": "Identifier", - "src": "5322:3:3" + "src": "5322:3:11" } ], - "id": 776, + "id": 3440, "name": "MemberAccess", - "src": "5322:9:3" + "src": "5322:9:11" }, { "attributes": { @@ -4965,28 +4965,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 770, + "referencedDeclaration": 3434, "type": "uint256", "value": "missingFunds" }, - "id": 777, + "id": 3441, "name": "Identifier", - "src": "5335:12:3" + "src": "5335:12:11" } ], - "id": 778, + "id": 3442, "name": "BinaryOperation", - "src": "5322:25:3" + "src": "5322:25:11" } ], - "id": 779, + "id": 3443, "name": "FunctionCall", - "src": "5314:34:3" + "src": "5314:34:11" } ], - "id": 780, + "id": 3444, "name": "ExpressionStatement", - "src": "5314:34:3" + "src": "5314:34:11" }, { "children": [ @@ -5028,18 +5028,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 212, + "referencedDeclaration": 2099, "type": "address", "value": "wallet" }, - "id": 781, + "id": 3445, "name": "Identifier", - "src": "5390:6:3" + "src": "5390:6:11" } ], - "id": 783, + "id": 3447, "name": "MemberAccess", - "src": "5390:15:3" + "src": "5390:15:11" }, { "attributes": { @@ -5059,28 +5059,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1256, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 784, + "id": 3448, "name": "Identifier", - "src": "5406:3:3" + "src": "5406:3:11" } ], - "id": 785, + "id": 3449, "name": "MemberAccess", - "src": "5406:9:3" + "src": "5406:9:11" } ], - "id": 786, + "id": 3450, "name": "FunctionCall", - "src": "5390:26:3" + "src": "5390:26:11" } ], - "id": 787, + "id": 3451, "name": "ExpressionStatement", - "src": "5390:26:3" + "src": "5390:26:11" }, { "children": [ @@ -5118,13 +5118,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 513, + "referencedDeclaration": 3177, "type": "function (address,uint256,uint256)", "value": "BidSubmission" }, - "id": 788, + "id": 3452, "name": "Identifier", - "src": "5456:13:3" + "src": "5456:13:11" }, { "attributes": { @@ -5144,18 +5144,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1256, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 789, + "id": 3453, "name": "Identifier", - "src": "5470:3:3" + "src": "5470:3:11" } ], - "id": 790, + "id": 3454, "name": "MemberAccess", - "src": "5470:10:3" + "src": "5470:10:11" }, { "attributes": { @@ -5175,18 +5175,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1256, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 791, + "id": 3455, "name": "Identifier", - "src": "5482:3:3" + "src": "5482:3:11" } ], - "id": 792, + "id": 3456, "name": "MemberAccess", - "src": "5482:9:3" + "src": "5482:9:11" }, { "attributes": { @@ -5194,27 +5194,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 770, + "referencedDeclaration": 3434, "type": "uint256", "value": "missingFunds" }, - "id": 793, + "id": 3457, "name": "Identifier", - "src": "5493:12:3" + "src": "5493:12:11" } ], - "id": 794, + "id": 3458, "name": "FunctionCall", - "src": "5456:50:3" + "src": "5456:50:11" } ], - "id": 795, + "id": 3459, "name": "ExpressionStatement", - "src": "5456:50:3" + "src": "5456:50:11" }, { "attributes": { - "functionReturnParameters": 762 + "functionReturnParameters": 3426 }, "children": [ { @@ -5230,24 +5230,24 @@ "type": "bool", "value": "true" }, - "id": 796, + "id": 3460, "name": "Literal", - "src": "5565:4:3" + "src": "5565:4:11" } ], - "id": 797, + "id": 3461, "name": "Return", - "src": "5558:11:3" + "src": "5558:11:11" } ], - "id": 798, + "id": 3462, "name": "Block", - "src": "5066:508:3" + "src": "5066:508:11" } ], - "id": 799, + "id": 3463, "name": "FunctionDefinition", - "src": "5004:570:3" + "src": "5004:570:11" }, { "attributes": { @@ -5259,9 +5259,9 @@ ], "name": "getBalanceOfToken", "payable": false, - "scope": 821, + "scope": 3485, "stateMutability": "view", - "superFunction": 461, + "superFunction": 2348, "visibility": "public" }, "children": [ @@ -5271,7 +5271,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 820, + "scope": 3484, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -5284,19 +5284,19 @@ "name": "address", "type": "address" }, - "id": 800, + "id": 3464, "name": "ElementaryTypeName", - "src": "5605:7:3" + "src": "5605:7:11" } ], - "id": 801, + "id": 3465, "name": "VariableDeclaration", - "src": "5605:13:3" + "src": "5605:13:11" } ], - "id": 802, + "id": 3466, "name": "ParameterList", - "src": "5604:15:3" + "src": "5604:15:11" }, { "children": [ @@ -5304,7 +5304,7 @@ "attributes": { "constant": false, "name": "", - "scope": 820, + "scope": 3484, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5317,26 +5317,26 @@ "name": "uint", "type": "uint256" }, - "id": 803, + "id": 3467, "name": "ElementaryTypeName", - "src": "5644:4:3" + "src": "5644:4:11" } ], - "id": 804, + "id": 3468, "name": "VariableDeclaration", - "src": "5644:4:3" + "src": "5644:4:11" } ], - "id": 805, + "id": 3469, "name": "ParameterList", - "src": "5643:6:3" + "src": "5643:6:11" }, { "children": [ { "attributes": { "assignments": [ - 807 + 3471 ] }, "children": [ @@ -5344,7 +5344,7 @@ "attributes": { "constant": false, "name": "num", - "scope": 820, + "scope": 3484, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5357,14 +5357,14 @@ "name": "uint", "type": "uint256" }, - "id": 806, + "id": 3470, "name": "ElementaryTypeName", - "src": "5661:4:3" + "src": "5661:4:11" } ], - "id": 807, + "id": 3471, "name": "VariableDeclaration", - "src": "5661:8:3" + "src": "5661:8:11" }, { "attributes": { @@ -5413,13 +5413,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 475, + "referencedDeclaration": 3139, "type": "uint256", "value": "tokenMultiplier" }, - "id": 808, + "id": 3472, "name": "Identifier", - "src": "5673:15:3" + "src": "5673:15:11" }, { "attributes": { @@ -5437,13 +5437,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 228, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 809, + "id": 3473, "name": "Identifier", - "src": "5691:11:3" + "src": "5691:11:11" }, { "attributes": { @@ -5451,28 +5451,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 801, + "referencedDeclaration": 3465, "type": "address", "value": "_user" }, - "id": 810, + "id": 3474, "name": "Identifier", - "src": "5703:5:3" + "src": "5703:5:11" } ], - "id": 811, + "id": 3475, "name": "IndexAccess", - "src": "5691:18:3" + "src": "5691:18:11" } ], - "id": 812, + "id": 3476, "name": "BinaryOperation", - "src": "5673:36:3" + "src": "5673:36:11" } ], - "id": 813, + "id": 3477, "name": "TupleExpression", - "src": "5672:38:3" + "src": "5672:38:11" }, { "attributes": { @@ -5480,27 +5480,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 218, + "referencedDeclaration": 2105, "type": "uint256", "value": "tokenPrice" }, - "id": 814, + "id": 3478, "name": "Identifier", - "src": "5713:10:3" + "src": "5713:10:11" } ], - "id": 815, + "id": 3479, "name": "BinaryOperation", - "src": "5672:51:3" + "src": "5672:51:11" } ], - "id": 816, + "id": 3480, "name": "VariableDeclarationStatement", - "src": "5661:62:3" + "src": "5661:62:11" }, { "attributes": { - "functionReturnParameters": 805 + "functionReturnParameters": 3469 }, "children": [ { @@ -5509,38 +5509,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 807, + "referencedDeclaration": 3471, "type": "uint256", "value": "num" }, - "id": 817, + "id": 3481, "name": "Identifier", - "src": "5736:3:3" + "src": "5736:3:11" } ], - "id": 818, + "id": 3482, "name": "Return", - "src": "5729:10:3" + "src": "5729:10:11" } ], - "id": 819, + "id": 3483, "name": "Block", - "src": "5650:94:3" + "src": "5650:94:11" } ], - "id": 820, + "id": 3484, "name": "FunctionDefinition", - "src": "5578:166:3" + "src": "5578:166:11" } ], - "id": 821, + "id": 3485, "name": "ContractDefinition", - "src": "188:5558:3" + "src": "188:5558:11" } ], - "id": 822, + "id": 3486, "name": "SourceUnit", - "src": "0:5747:3" + "src": "0:5747:11" }, "compiler": { "name": "solc", @@ -5548,5 +5548,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T08:59:37.496Z" + "updatedAt": "2018-01-15T16:10:12.651Z" } \ No newline at end of file diff --git a/build/contracts/EIP20StandardToken.json b/build/contracts/EIP20StandardToken.json index 06c326f..85a4d21 100644 --- a/build/contracts/EIP20StandardToken.json +++ b/build/contracts/EIP20StandardToken.json @@ -186,7 +186,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/EIP20StandardToken.sol", "exportedSymbols": { "EIP20StandardToken": [ - 340 + 335 ] } }, @@ -200,39 +200,39 @@ ".18" ] }, - "id": 155, + "id": 150, "name": "PragmaDirective", "src": "426:24:2" }, { "attributes": { - "SourceUnit": 407, + "SourceUnit": 402, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/EIP20Token.sol", "file": "./EIP20Token.sol", - "scope": 341, + "scope": 336, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 156, + "id": 151, "name": "ImportDirective", "src": "452:26:2" }, { "attributes": { "contractDependencies": [ - 406 + 401 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ - 340, - 406 + 335, + 401 ], "name": "EIP20StandardToken", - "scope": 341 + "scope": 336 }, "children": [ { @@ -246,15 +246,15 @@ "attributes": { "contractScope": null, "name": "EIP20Token", - "referencedDeclaration": 406, + "referencedDeclaration": 401, "type": "contract EIP20Token" }, - "id": 157, + "id": 152, "name": "UserDefinedTypeName", "src": "511:10:2" } ], - "id": 158, + "id": 153, "name": "InheritanceSpecifier", "src": "511:10:2" }, @@ -262,7 +262,7 @@ "attributes": { "constant": true, "name": "MAX_UINT256", - "scope": 340, + "scope": 335, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -274,7 +274,7 @@ "name": "uint256", "type": "uint256" }, - "id": 159, + "id": 154, "name": "ElementaryTypeName", "src": "527:7:2" }, @@ -321,7 +321,7 @@ "type": "int_const 2", "value": "2" }, - "id": 160, + "id": 155, "name": "Literal", "src": "558:1:2" }, @@ -338,12 +338,12 @@ "type": "int_const 256", "value": "256" }, - "id": 161, + "id": 156, "name": "Literal", "src": "563:3:2" } ], - "id": 162, + "id": 157, "name": "BinaryOperation", "src": "558:8:2" }, @@ -360,17 +360,17 @@ "type": "int_const 1", "value": "1" }, - "id": 163, + "id": 158, "name": "Literal", "src": "569:1:2" } ], - "id": 164, + "id": 159, "name": "BinaryOperation", "src": "558:12:2" } ], - "id": 165, + "id": 160, "name": "VariableDeclaration", "src": "527:43:2" }, @@ -384,9 +384,9 @@ ], "name": "transfer", "payable": false, - "scope": 340, + "scope": 335, "stateMutability": "nonpayable", - "superFunction": 360, + "superFunction": 355, "visibility": "public" }, "children": [ @@ -396,7 +396,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 206, + "scope": 201, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -409,12 +409,12 @@ "name": "address", "type": "address" }, - "id": 166, + "id": 161, "name": "ElementaryTypeName", "src": "593:7:2" } ], - "id": 167, + "id": 162, "name": "VariableDeclaration", "src": "593:11:2" }, @@ -422,7 +422,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 206, + "scope": 201, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -435,17 +435,17 @@ "name": "uint256", "type": "uint256" }, - "id": 168, + "id": 163, "name": "ElementaryTypeName", "src": "606:7:2" } ], - "id": 169, + "id": 164, "name": "VariableDeclaration", "src": "606:14:2" } ], - "id": 170, + "id": 165, "name": "ParameterList", "src": "592:29:2" }, @@ -455,7 +455,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 206, + "scope": 201, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -468,17 +468,17 @@ "name": "bool", "type": "bool" }, - "id": 171, + "id": 166, "name": "ElementaryTypeName", "src": "637:4:2" } ], - "id": 172, + "id": 167, "name": "VariableDeclaration", "src": "637:12:2" } ], - "id": 173, + "id": 168, "name": "ParameterList", "src": "636:14:2" }, @@ -512,11 +512,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 174, + "id": 169, "name": "Identifier", "src": "979:7:2" }, @@ -551,11 +551,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 333, + "referencedDeclaration": 328, "type": "mapping(address => uint256)", "value": "balances" }, - "id": 175, + "id": 170, "name": "Identifier", "src": "987:8:2" }, @@ -577,21 +577,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 176, + "id": 171, "name": "Identifier", "src": "996:3:2" } ], - "id": 177, + "id": 172, "name": "MemberAccess", "src": "996:10:2" } ], - "id": 178, + "id": 173, "name": "IndexAccess", "src": "987:20:2" }, @@ -601,26 +601,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 169, + "referencedDeclaration": 164, "type": "uint256", "value": "_value" }, - "id": 179, + "id": 174, "name": "Identifier", "src": "1011:6:2" } ], - "id": 180, + "id": 175, "name": "BinaryOperation", "src": "987:30:2" } ], - "id": 181, + "id": 176, "name": "FunctionCall", "src": "979:39:2" } ], - "id": 182, + "id": 177, "name": "ExpressionStatement", "src": "979:39:2" }, @@ -653,11 +653,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 333, + "referencedDeclaration": 328, "type": "mapping(address => uint256)", "value": "balances" }, - "id": 183, + "id": 178, "name": "Identifier", "src": "1024:8:2" }, @@ -679,21 +679,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 184, + "id": 179, "name": "Identifier", "src": "1033:3:2" } ], - "id": 185, + "id": 180, "name": "MemberAccess", "src": "1033:10:2" } ], - "id": 186, + "id": 181, "name": "IndexAccess", "src": "1024:20:2" }, @@ -703,21 +703,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 169, + "referencedDeclaration": 164, "type": "uint256", "value": "_value" }, - "id": 187, + "id": 182, "name": "Identifier", "src": "1048:6:2" } ], - "id": 188, + "id": 183, "name": "Assignment", "src": "1024:30:2" } ], - "id": 189, + "id": 184, "name": "ExpressionStatement", "src": "1024:30:2" }, @@ -750,11 +750,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 333, + "referencedDeclaration": 328, "type": "mapping(address => uint256)", "value": "balances" }, - "id": 190, + "id": 185, "name": "Identifier", "src": "1060:8:2" }, @@ -764,16 +764,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 167, + "referencedDeclaration": 162, "type": "address", "value": "_to" }, - "id": 191, + "id": 186, "name": "Identifier", "src": "1069:3:2" } ], - "id": 192, + "id": 187, "name": "IndexAccess", "src": "1060:13:2" }, @@ -783,21 +783,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 169, + "referencedDeclaration": 164, "type": "uint256", "value": "_value" }, - "id": 193, + "id": 188, "name": "Identifier", "src": "1077:6:2" } ], - "id": 194, + "id": 189, "name": "Assignment", "src": "1060:23:2" } ], - "id": 195, + "id": 190, "name": "ExpressionStatement", "src": "1060:23:2" }, @@ -837,11 +837,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 397, + "referencedDeclaration": 392, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 196, + "id": 191, "name": "Identifier", "src": "1089:8:2" }, @@ -863,16 +863,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 197, + "id": 192, "name": "Identifier", "src": "1098:3:2" } ], - "id": 198, + "id": 193, "name": "MemberAccess", "src": "1098:10:2" }, @@ -882,11 +882,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 167, + "referencedDeclaration": 162, "type": "address", "value": "_to" }, - "id": 199, + "id": 194, "name": "Identifier", "src": "1110:3:2" }, @@ -896,27 +896,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 169, + "referencedDeclaration": 164, "type": "uint256", "value": "_value" }, - "id": 200, + "id": 195, "name": "Identifier", "src": "1115:6:2" } ], - "id": 201, + "id": 196, "name": "FunctionCall", "src": "1089:33:2" } ], - "id": 202, + "id": 197, "name": "ExpressionStatement", "src": "1089:33:2" }, { "attributes": { - "functionReturnParameters": 173 + "functionReturnParameters": 168 }, "children": [ { @@ -932,22 +932,22 @@ "type": "bool", "value": "true" }, - "id": 203, + "id": 198, "name": "Literal", "src": "1135:4:2" } ], - "id": 204, + "id": 199, "name": "Return", "src": "1128:11:2" } ], - "id": 205, + "id": 200, "name": "Block", "src": "651:493:2" } ], - "id": 206, + "id": 201, "name": "FunctionDefinition", "src": "575:569:2" }, @@ -961,9 +961,9 @@ ], "name": "transferFrom", "payable": false, - "scope": 340, + "scope": 335, "stateMutability": "nonpayable", - "superFunction": 371, + "superFunction": 366, "visibility": "public" }, "children": [ @@ -973,7 +973,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 273, + "scope": 268, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -986,12 +986,12 @@ "name": "address", "type": "address" }, - "id": 207, + "id": 202, "name": "ElementaryTypeName", "src": "1170:7:2" } ], - "id": 208, + "id": 203, "name": "VariableDeclaration", "src": "1170:13:2" }, @@ -999,7 +999,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 273, + "scope": 268, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1012,12 +1012,12 @@ "name": "address", "type": "address" }, - "id": 209, + "id": 204, "name": "ElementaryTypeName", "src": "1185:7:2" } ], - "id": 210, + "id": 205, "name": "VariableDeclaration", "src": "1185:11:2" }, @@ -1025,7 +1025,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 273, + "scope": 268, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1038,17 +1038,17 @@ "name": "uint256", "type": "uint256" }, - "id": 211, + "id": 206, "name": "ElementaryTypeName", "src": "1198:7:2" } ], - "id": 212, + "id": 207, "name": "VariableDeclaration", "src": "1198:14:2" } ], - "id": 213, + "id": 208, "name": "ParameterList", "src": "1169:44:2" }, @@ -1058,7 +1058,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 273, + "scope": 268, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1071,17 +1071,17 @@ "name": "bool", "type": "bool" }, - "id": 214, + "id": 209, "name": "ElementaryTypeName", "src": "1229:4:2" } ], - "id": 215, + "id": 210, "name": "VariableDeclaration", "src": "1229:12:2" } ], - "id": 216, + "id": 211, "name": "ParameterList", "src": "1228:14:2" }, @@ -1090,7 +1090,7 @@ { "attributes": { "assignments": [ - 218 + 213 ] }, "children": [ @@ -1098,7 +1098,7 @@ "attributes": { "constant": false, "name": "allowance", - "scope": 273, + "scope": 268, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1111,12 +1111,12 @@ "name": "uint256", "type": "uint256" }, - "id": 217, + "id": 212, "name": "ElementaryTypeName", "src": "1478:7:2" } ], - "id": 218, + "id": 213, "name": "VariableDeclaration", "src": "1478:17:2" }, @@ -1146,11 +1146,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 339, + "referencedDeclaration": 334, "type": "mapping(address => mapping(address => uint256))", "value": "allowed" }, - "id": 219, + "id": 214, "name": "Identifier", "src": "1498:7:2" }, @@ -1160,16 +1160,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 208, + "referencedDeclaration": 203, "type": "address", "value": "_from" }, - "id": 220, + "id": 215, "name": "Identifier", "src": "1506:5:2" } ], - "id": 221, + "id": 216, "name": "IndexAccess", "src": "1498:14:2" }, @@ -1191,26 +1191,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 222, + "id": 217, "name": "Identifier", "src": "1513:3:2" } ], - "id": 223, + "id": 218, "name": "MemberAccess", "src": "1513:10:2" } ], - "id": 224, + "id": 219, "name": "IndexAccess", "src": "1498:26:2" } ], - "id": 225, + "id": 220, "name": "VariableDeclarationStatement", "src": "1478:46:2" }, @@ -1242,11 +1242,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 226, + "id": 221, "name": "Identifier", "src": "1530:7:2" }, @@ -1296,11 +1296,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 333, + "referencedDeclaration": 328, "type": "mapping(address => uint256)", "value": "balances" }, - "id": 227, + "id": 222, "name": "Identifier", "src": "1538:8:2" }, @@ -1310,16 +1310,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 208, + "referencedDeclaration": 203, "type": "address", "value": "_from" }, - "id": 228, + "id": 223, "name": "Identifier", "src": "1547:5:2" } ], - "id": 229, + "id": 224, "name": "IndexAccess", "src": "1538:15:2" }, @@ -1329,16 +1329,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 212, + "referencedDeclaration": 207, "type": "uint256", "value": "_value" }, - "id": 230, + "id": 225, "name": "Identifier", "src": "1557:6:2" } ], - "id": 231, + "id": 226, "name": "BinaryOperation", "src": "1538:25:2" }, @@ -1363,11 +1363,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 218, + "referencedDeclaration": 213, "type": "uint256", "value": "allowance" }, - "id": 232, + "id": 227, "name": "Identifier", "src": "1567:9:2" }, @@ -1377,31 +1377,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 212, + "referencedDeclaration": 207, "type": "uint256", "value": "_value" }, - "id": 233, + "id": 228, "name": "Identifier", "src": "1580:6:2" } ], - "id": 234, + "id": 229, "name": "BinaryOperation", "src": "1567:19:2" } ], - "id": 235, + "id": 230, "name": "BinaryOperation", "src": "1538:48:2" } ], - "id": 236, + "id": 231, "name": "FunctionCall", "src": "1530:57:2" } ], - "id": 237, + "id": 232, "name": "ExpressionStatement", "src": "1530:57:2" }, @@ -1434,11 +1434,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 333, + "referencedDeclaration": 328, "type": "mapping(address => uint256)", "value": "balances" }, - "id": 238, + "id": 233, "name": "Identifier", "src": "1593:8:2" }, @@ -1448,16 +1448,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 210, + "referencedDeclaration": 205, "type": "address", "value": "_to" }, - "id": 239, + "id": 234, "name": "Identifier", "src": "1602:3:2" } ], - "id": 240, + "id": 235, "name": "IndexAccess", "src": "1593:13:2" }, @@ -1467,21 +1467,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 212, + "referencedDeclaration": 207, "type": "uint256", "value": "_value" }, - "id": 241, + "id": 236, "name": "Identifier", "src": "1610:6:2" } ], - "id": 242, + "id": 237, "name": "Assignment", "src": "1593:23:2" } ], - "id": 243, + "id": 238, "name": "ExpressionStatement", "src": "1593:23:2" }, @@ -1514,11 +1514,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 333, + "referencedDeclaration": 328, "type": "mapping(address => uint256)", "value": "balances" }, - "id": 244, + "id": 239, "name": "Identifier", "src": "1622:8:2" }, @@ -1528,16 +1528,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 208, + "referencedDeclaration": 203, "type": "address", "value": "_from" }, - "id": 245, + "id": 240, "name": "Identifier", "src": "1631:5:2" } ], - "id": 246, + "id": 241, "name": "IndexAccess", "src": "1622:15:2" }, @@ -1547,21 +1547,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 212, + "referencedDeclaration": 207, "type": "uint256", "value": "_value" }, - "id": 247, + "id": 242, "name": "Identifier", "src": "1641:6:2" } ], - "id": 248, + "id": 243, "name": "Assignment", "src": "1622:25:2" } ], - "id": 249, + "id": 244, "name": "ExpressionStatement", "src": "1622:25:2" }, @@ -1591,11 +1591,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 218, + "referencedDeclaration": 213, "type": "uint256", "value": "allowance" }, - "id": 250, + "id": 245, "name": "Identifier", "src": "1657:9:2" }, @@ -1605,16 +1605,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 165, + "referencedDeclaration": 160, "type": "uint256", "value": "MAX_UINT256" }, - "id": 251, + "id": 246, "name": "Identifier", "src": "1669:11:2" } ], - "id": 252, + "id": 247, "name": "BinaryOperation", "src": "1657:23:2" }, @@ -1659,11 +1659,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 339, + "referencedDeclaration": 334, "type": "mapping(address => mapping(address => uint256))", "value": "allowed" }, - "id": 253, + "id": 248, "name": "Identifier", "src": "1690:7:2" }, @@ -1673,16 +1673,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 208, + "referencedDeclaration": 203, "type": "address", "value": "_from" }, - "id": 254, + "id": 249, "name": "Identifier", "src": "1698:5:2" } ], - "id": 257, + "id": 252, "name": "IndexAccess", "src": "1690:14:2" }, @@ -1704,21 +1704,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 255, + "id": 250, "name": "Identifier", "src": "1705:3:2" } ], - "id": 256, + "id": 251, "name": "MemberAccess", "src": "1705:10:2" } ], - "id": 258, + "id": 253, "name": "IndexAccess", "src": "1690:26:2" }, @@ -1728,31 +1728,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 212, + "referencedDeclaration": 207, "type": "uint256", "value": "_value" }, - "id": 259, + "id": 254, "name": "Identifier", "src": "1720:6:2" } ], - "id": 260, + "id": 255, "name": "Assignment", "src": "1690:36:2" } ], - "id": 261, + "id": 256, "name": "ExpressionStatement", "src": "1690:36:2" } ], - "id": 262, + "id": 257, "name": "Block", "src": "1682:51:2" } ], - "id": 263, + "id": 258, "name": "IfStatement", "src": "1653:80:2" }, @@ -1792,11 +1792,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 397, + "referencedDeclaration": 392, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 264, + "id": 259, "name": "Identifier", "src": "1738:8:2" }, @@ -1806,11 +1806,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 208, + "referencedDeclaration": 203, "type": "address", "value": "_from" }, - "id": 265, + "id": 260, "name": "Identifier", "src": "1747:5:2" }, @@ -1820,11 +1820,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 210, + "referencedDeclaration": 205, "type": "address", "value": "_to" }, - "id": 266, + "id": 261, "name": "Identifier", "src": "1754:3:2" }, @@ -1834,27 +1834,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 212, + "referencedDeclaration": 207, "type": "uint256", "value": "_value" }, - "id": 267, + "id": 262, "name": "Identifier", "src": "1759:6:2" } ], - "id": 268, + "id": 263, "name": "FunctionCall", "src": "1738:28:2" } ], - "id": 269, + "id": 264, "name": "ExpressionStatement", "src": "1738:28:2" }, { "attributes": { - "functionReturnParameters": 216 + "functionReturnParameters": 211 }, "children": [ { @@ -1870,22 +1870,22 @@ "type": "bool", "value": "true" }, - "id": 270, + "id": 265, "name": "Literal", "src": "1779:4:2" } ], - "id": 271, + "id": 266, "name": "Return", "src": "1772:11:2" } ], - "id": 272, + "id": 267, "name": "Block", "src": "1243:545:2" } ], - "id": 273, + "id": 268, "name": "FunctionDefinition", "src": "1148:640:2" }, @@ -1899,9 +1899,9 @@ ], "name": "balanceOf", "payable": false, - "scope": 340, + "scope": 335, "stateMutability": "view", - "superFunction": 351, + "superFunction": 346, "visibility": "public" }, "children": [ @@ -1911,7 +1911,7 @@ "attributes": { "constant": false, "name": "_owner", - "scope": 285, + "scope": 280, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1924,17 +1924,17 @@ "name": "address", "type": "address" }, - "id": 274, + "id": 269, "name": "ElementaryTypeName", "src": "1811:7:2" } ], - "id": 275, + "id": 270, "name": "VariableDeclaration", "src": "1811:14:2" } ], - "id": 276, + "id": 271, "name": "ParameterList", "src": "1810:16:2" }, @@ -1944,7 +1944,7 @@ "attributes": { "constant": false, "name": "balance", - "scope": 285, + "scope": 280, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1957,17 +1957,17 @@ "name": "uint256", "type": "uint256" }, - "id": 277, + "id": 272, "name": "ElementaryTypeName", "src": "1851:7:2" } ], - "id": 278, + "id": 273, "name": "VariableDeclaration", "src": "1851:15:2" } ], - "id": 279, + "id": 274, "name": "ParameterList", "src": "1850:17:2" }, @@ -1975,7 +1975,7 @@ "children": [ { "attributes": { - "functionReturnParameters": 279 + "functionReturnParameters": 274 }, "children": [ { @@ -1994,11 +1994,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 333, + "referencedDeclaration": 328, "type": "mapping(address => uint256)", "value": "balances" }, - "id": 280, + "id": 275, "name": "Identifier", "src": "1881:8:2" }, @@ -2008,31 +2008,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 275, + "referencedDeclaration": 270, "type": "address", "value": "_owner" }, - "id": 281, + "id": 276, "name": "Identifier", "src": "1890:6:2" } ], - "id": 282, + "id": 277, "name": "IndexAccess", "src": "1881:16:2" } ], - "id": 283, + "id": 278, "name": "Return", "src": "1874:23:2" } ], - "id": 284, + "id": 279, "name": "Block", "src": "1868:34:2" } ], - "id": 285, + "id": 280, "name": "FunctionDefinition", "src": "1792:110:2" }, @@ -2046,9 +2046,9 @@ ], "name": "approve", "payable": false, - "scope": 340, + "scope": 335, "stateMutability": "nonpayable", - "superFunction": 380, + "superFunction": 375, "visibility": "public" }, "children": [ @@ -2058,7 +2058,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 313, + "scope": 308, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2071,12 +2071,12 @@ "name": "address", "type": "address" }, - "id": 286, + "id": 281, "name": "ElementaryTypeName", "src": "1923:7:2" } ], - "id": 287, + "id": 282, "name": "VariableDeclaration", "src": "1923:16:2" }, @@ -2084,7 +2084,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 313, + "scope": 308, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2097,17 +2097,17 @@ "name": "uint256", "type": "uint256" }, - "id": 288, + "id": 283, "name": "ElementaryTypeName", "src": "1941:7:2" } ], - "id": 289, + "id": 284, "name": "VariableDeclaration", "src": "1941:14:2" } ], - "id": 290, + "id": 285, "name": "ParameterList", "src": "1922:34:2" }, @@ -2117,7 +2117,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 313, + "scope": 308, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -2130,17 +2130,17 @@ "name": "bool", "type": "bool" }, - "id": 291, + "id": 286, "name": "ElementaryTypeName", "src": "1972:4:2" } ], - "id": 292, + "id": 287, "name": "VariableDeclaration", "src": "1972:12:2" } ], - "id": 293, + "id": 288, "name": "ParameterList", "src": "1971:14:2" }, @@ -2185,11 +2185,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 339, + "referencedDeclaration": 334, "type": "mapping(address => mapping(address => uint256))", "value": "allowed" }, - "id": 294, + "id": 289, "name": "Identifier", "src": "1992:7:2" }, @@ -2211,21 +2211,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 295, + "id": 290, "name": "Identifier", "src": "2000:3:2" } ], - "id": 296, + "id": 291, "name": "MemberAccess", "src": "2000:10:2" } ], - "id": 298, + "id": 293, "name": "IndexAccess", "src": "1992:19:2" }, @@ -2235,16 +2235,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 287, + "referencedDeclaration": 282, "type": "address", "value": "_spender" }, - "id": 297, + "id": 292, "name": "Identifier", "src": "2012:8:2" } ], - "id": 299, + "id": 294, "name": "IndexAccess", "src": "1992:29:2" }, @@ -2254,21 +2254,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 289, + "referencedDeclaration": 284, "type": "uint256", "value": "_value" }, - "id": 300, + "id": 295, "name": "Identifier", "src": "2024:6:2" } ], - "id": 301, + "id": 296, "name": "Assignment", "src": "1992:38:2" } ], - "id": 302, + "id": 297, "name": "ExpressionStatement", "src": "1992:38:2" }, @@ -2308,11 +2308,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 405, + "referencedDeclaration": 400, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 303, + "id": 298, "name": "Identifier", "src": "2036:8:2" }, @@ -2334,16 +2334,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 304, + "id": 299, "name": "Identifier", "src": "2045:3:2" } ], - "id": 305, + "id": 300, "name": "MemberAccess", "src": "2045:10:2" }, @@ -2353,11 +2353,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 287, + "referencedDeclaration": 282, "type": "address", "value": "_spender" }, - "id": 306, + "id": 301, "name": "Identifier", "src": "2057:8:2" }, @@ -2367,27 +2367,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 289, + "referencedDeclaration": 284, "type": "uint256", "value": "_value" }, - "id": 307, + "id": 302, "name": "Identifier", "src": "2067:6:2" } ], - "id": 308, + "id": 303, "name": "FunctionCall", "src": "2036:38:2" } ], - "id": 309, + "id": 304, "name": "ExpressionStatement", "src": "2036:38:2" }, { "attributes": { - "functionReturnParameters": 293 + "functionReturnParameters": 288 }, "children": [ { @@ -2403,22 +2403,22 @@ "type": "bool", "value": "true" }, - "id": 310, + "id": 305, "name": "Literal", "src": "2087:4:2" } ], - "id": 311, + "id": 306, "name": "Return", "src": "2080:11:2" } ], - "id": 312, + "id": 307, "name": "Block", "src": "1986:110:2" } ], - "id": 313, + "id": 308, "name": "FunctionDefinition", "src": "1906:190:2" }, @@ -2432,9 +2432,9 @@ ], "name": "allowance", "payable": false, - "scope": 340, + "scope": 335, "stateMutability": "view", - "superFunction": 389, + "superFunction": 384, "visibility": "public" }, "children": [ @@ -2444,7 +2444,7 @@ "attributes": { "constant": false, "name": "_owner", - "scope": 329, + "scope": 324, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2457,12 +2457,12 @@ "name": "address", "type": "address" }, - "id": 314, + "id": 309, "name": "ElementaryTypeName", "src": "2119:7:2" } ], - "id": 315, + "id": 310, "name": "VariableDeclaration", "src": "2119:14:2" }, @@ -2470,7 +2470,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 329, + "scope": 324, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2483,17 +2483,17 @@ "name": "address", "type": "address" }, - "id": 316, + "id": 311, "name": "ElementaryTypeName", "src": "2135:7:2" } ], - "id": 317, + "id": 312, "name": "VariableDeclaration", "src": "2135:16:2" } ], - "id": 318, + "id": 313, "name": "ParameterList", "src": "2118:34:2" }, @@ -2503,7 +2503,7 @@ "attributes": { "constant": false, "name": "remaining", - "scope": 329, + "scope": 324, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2516,17 +2516,17 @@ "name": "uint256", "type": "uint256" }, - "id": 319, + "id": 314, "name": "ElementaryTypeName", "src": "2177:7:2" } ], - "id": 320, + "id": 315, "name": "VariableDeclaration", "src": "2177:17:2" } ], - "id": 321, + "id": 316, "name": "ParameterList", "src": "2176:19:2" }, @@ -2534,7 +2534,7 @@ "children": [ { "attributes": { - "functionReturnParameters": 321 + "functionReturnParameters": 316 }, "children": [ { @@ -2563,11 +2563,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 339, + "referencedDeclaration": 334, "type": "mapping(address => mapping(address => uint256))", "value": "allowed" }, - "id": 322, + "id": 317, "name": "Identifier", "src": "2209:7:2" }, @@ -2577,16 +2577,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 315, + "referencedDeclaration": 310, "type": "address", "value": "_owner" }, - "id": 323, + "id": 318, "name": "Identifier", "src": "2217:6:2" } ], - "id": 324, + "id": 319, "name": "IndexAccess", "src": "2209:15:2" }, @@ -2596,31 +2596,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 317, + "referencedDeclaration": 312, "type": "address", "value": "_spender" }, - "id": 325, + "id": 320, "name": "Identifier", "src": "2225:8:2" } ], - "id": 326, + "id": 321, "name": "IndexAccess", "src": "2209:25:2" } ], - "id": 327, + "id": 322, "name": "Return", "src": "2202:32:2" } ], - "id": 328, + "id": 323, "name": "Block", "src": "2196:43:2" } ], - "id": 329, + "id": 324, "name": "FunctionDefinition", "src": "2100:139:2" }, @@ -2628,7 +2628,7 @@ "attributes": { "constant": false, "name": "balances", - "scope": 340, + "scope": 335, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => uint256)", @@ -2646,7 +2646,7 @@ "name": "address", "type": "address" }, - "id": 330, + "id": 325, "name": "ElementaryTypeName", "src": "2251:7:2" }, @@ -2655,17 +2655,17 @@ "name": "uint256", "type": "uint256" }, - "id": 331, + "id": 326, "name": "ElementaryTypeName", "src": "2262:7:2" } ], - "id": 332, + "id": 327, "name": "Mapping", "src": "2243:27:2" } ], - "id": 333, + "id": 328, "name": "VariableDeclaration", "src": "2243:36:2" }, @@ -2673,7 +2673,7 @@ "attributes": { "constant": false, "name": "allowed", - "scope": 340, + "scope": 335, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => uint256))", @@ -2691,7 +2691,7 @@ "name": "address", "type": "address" }, - "id": 334, + "id": 329, "name": "ElementaryTypeName", "src": "2291:7:2" }, @@ -2705,7 +2705,7 @@ "name": "address", "type": "address" }, - "id": 335, + "id": 330, "name": "ElementaryTypeName", "src": "2310:7:2" }, @@ -2714,32 +2714,32 @@ "name": "uint256", "type": "uint256" }, - "id": 336, + "id": 331, "name": "ElementaryTypeName", "src": "2321:7:2" } ], - "id": 337, + "id": 332, "name": "Mapping", "src": "2302:27:2" } ], - "id": 338, + "id": 333, "name": "Mapping", "src": "2283:47:2" } ], - "id": 339, + "id": 334, "name": "VariableDeclaration", "src": "2283:55:2" } ], - "id": 340, + "id": 335, "name": "ContractDefinition", "src": "480:1861:2" } ], - "id": 341, + "id": 336, "name": "SourceUnit", "src": "426:1915:2" }, @@ -2749,5 +2749,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T09:25:39.426Z" + "updatedAt": "2018-01-15T16:10:12.637Z" } \ No newline at end of file diff --git a/build/contracts/EIP20Token.json b/build/contracts/EIP20Token.json index 68251d6..3576318 100644 --- a/build/contracts/EIP20Token.json +++ b/build/contracts/EIP20Token.json @@ -186,7 +186,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/EIP20Token.sol", "exportedSymbols": { "EIP20Token": [ - 406 + 401 ] } }, @@ -200,7 +200,7 @@ ".18" ] }, - "id": 342, + "id": 337, "name": "PragmaDirective", "src": "173:24:3" }, @@ -216,17 +216,17 @@ "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ - 406 + 401 ], "name": "EIP20Token", - "scope": 407 + "scope": 402 }, "children": [ { "attributes": { "constant": false, "name": "totalSupply", - "scope": 406, + "scope": 401, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -239,12 +239,12 @@ "name": "uint256", "type": "uint256" }, - "id": 343, + "id": 338, "name": "ElementaryTypeName", "src": "664:7:3" } ], - "id": 344, + "id": 339, "name": "VariableDeclaration", "src": "664:26:3" }, @@ -259,7 +259,7 @@ ], "name": "balanceOf", "payable": false, - "scope": 406, + "scope": 401, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -271,7 +271,7 @@ "attributes": { "constant": false, "name": "_owner", - "scope": 351, + "scope": 346, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -284,17 +284,17 @@ "name": "address", "type": "address" }, - "id": 345, + "id": 340, "name": "ElementaryTypeName", "src": "813:7:3" } ], - "id": 346, + "id": 341, "name": "VariableDeclaration", "src": "813:14:3" } ], - "id": 347, + "id": 342, "name": "ParameterList", "src": "812:16:3" }, @@ -304,7 +304,7 @@ "attributes": { "constant": false, "name": "balance", - "scope": 351, + "scope": 346, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -317,22 +317,22 @@ "name": "uint256", "type": "uint256" }, - "id": 348, + "id": 343, "name": "ElementaryTypeName", "src": "853:7:3" } ], - "id": 349, + "id": 344, "name": "VariableDeclaration", "src": "853:15:3" } ], - "id": 350, + "id": 345, "name": "ParameterList", "src": "852:17:3" } ], - "id": 351, + "id": 346, "name": "FunctionDefinition", "src": "794:76:3" }, @@ -347,7 +347,7 @@ ], "name": "transfer", "payable": false, - "scope": 406, + "scope": 401, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -359,7 +359,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 360, + "scope": 355, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -372,12 +372,12 @@ "name": "address", "type": "address" }, - "id": 352, + "id": 347, "name": "ElementaryTypeName", "src": "1114:7:3" } ], - "id": 353, + "id": 348, "name": "VariableDeclaration", "src": "1114:11:3" }, @@ -385,7 +385,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 360, + "scope": 355, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -398,17 +398,17 @@ "name": "uint256", "type": "uint256" }, - "id": 354, + "id": 349, "name": "ElementaryTypeName", "src": "1127:7:3" } ], - "id": 355, + "id": 350, "name": "VariableDeclaration", "src": "1127:14:3" } ], - "id": 356, + "id": 351, "name": "ParameterList", "src": "1113:29:3" }, @@ -418,7 +418,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 360, + "scope": 355, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -431,22 +431,22 @@ "name": "bool", "type": "bool" }, - "id": 357, + "id": 352, "name": "ElementaryTypeName", "src": "1158:4:3" } ], - "id": 358, + "id": 353, "name": "VariableDeclaration", "src": "1158:12:3" } ], - "id": 359, + "id": 354, "name": "ParameterList", "src": "1157:14:3" } ], - "id": 360, + "id": 355, "name": "FunctionDefinition", "src": "1096:76:3" }, @@ -461,7 +461,7 @@ ], "name": "transferFrom", "payable": false, - "scope": 406, + "scope": 401, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -473,7 +473,7 @@ "attributes": { "constant": false, "name": "_from", - "scope": 371, + "scope": 366, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -486,12 +486,12 @@ "name": "address", "type": "address" }, - "id": 361, + "id": 356, "name": "ElementaryTypeName", "src": "1503:7:3" } ], - "id": 362, + "id": 357, "name": "VariableDeclaration", "src": "1503:13:3" }, @@ -499,7 +499,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 371, + "scope": 366, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -512,12 +512,12 @@ "name": "address", "type": "address" }, - "id": 363, + "id": 358, "name": "ElementaryTypeName", "src": "1518:7:3" } ], - "id": 364, + "id": 359, "name": "VariableDeclaration", "src": "1518:11:3" }, @@ -525,7 +525,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 371, + "scope": 366, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -538,17 +538,17 @@ "name": "uint256", "type": "uint256" }, - "id": 365, + "id": 360, "name": "ElementaryTypeName", "src": "1531:7:3" } ], - "id": 366, + "id": 361, "name": "VariableDeclaration", "src": "1531:14:3" } ], - "id": 367, + "id": 362, "name": "ParameterList", "src": "1502:44:3" }, @@ -558,7 +558,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 371, + "scope": 366, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -571,22 +571,22 @@ "name": "bool", "type": "bool" }, - "id": 368, + "id": 363, "name": "ElementaryTypeName", "src": "1562:4:3" } ], - "id": 369, + "id": 364, "name": "VariableDeclaration", "src": "1562:12:3" } ], - "id": 370, + "id": 365, "name": "ParameterList", "src": "1561:14:3" } ], - "id": 371, + "id": 366, "name": "FunctionDefinition", "src": "1481:95:3" }, @@ -601,7 +601,7 @@ ], "name": "approve", "payable": false, - "scope": 406, + "scope": 401, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -613,7 +613,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 380, + "scope": 375, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -626,12 +626,12 @@ "name": "address", "type": "address" }, - "id": 372, + "id": 367, "name": "ElementaryTypeName", "src": "1872:7:3" } ], - "id": 373, + "id": 368, "name": "VariableDeclaration", "src": "1872:16:3" }, @@ -639,7 +639,7 @@ "attributes": { "constant": false, "name": "_value", - "scope": 380, + "scope": 375, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -652,17 +652,17 @@ "name": "uint256", "type": "uint256" }, - "id": 374, + "id": 369, "name": "ElementaryTypeName", "src": "1890:7:3" } ], - "id": 375, + "id": 370, "name": "VariableDeclaration", "src": "1890:14:3" } ], - "id": 376, + "id": 371, "name": "ParameterList", "src": "1871:34:3" }, @@ -672,7 +672,7 @@ "attributes": { "constant": false, "name": "success", - "scope": 380, + "scope": 375, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -685,22 +685,22 @@ "name": "bool", "type": "bool" }, - "id": 377, + "id": 372, "name": "ElementaryTypeName", "src": "1921:4:3" } ], - "id": 378, + "id": 373, "name": "VariableDeclaration", "src": "1921:12:3" } ], - "id": 379, + "id": 374, "name": "ParameterList", "src": "1920:14:3" } ], - "id": 380, + "id": 375, "name": "FunctionDefinition", "src": "1855:80:3" }, @@ -715,7 +715,7 @@ ], "name": "allowance", "payable": false, - "scope": 406, + "scope": 401, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -727,7 +727,7 @@ "attributes": { "constant": false, "name": "_owner", - "scope": 389, + "scope": 384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -740,12 +740,12 @@ "name": "address", "type": "address" }, - "id": 381, + "id": 376, "name": "ElementaryTypeName", "src": "2154:7:3" } ], - "id": 382, + "id": 377, "name": "VariableDeclaration", "src": "2154:14:3" }, @@ -753,7 +753,7 @@ "attributes": { "constant": false, "name": "_spender", - "scope": 389, + "scope": 384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -766,17 +766,17 @@ "name": "address", "type": "address" }, - "id": 383, + "id": 378, "name": "ElementaryTypeName", "src": "2170:7:3" } ], - "id": 384, + "id": 379, "name": "VariableDeclaration", "src": "2170:16:3" } ], - "id": 385, + "id": 380, "name": "ParameterList", "src": "2153:34:3" }, @@ -786,7 +786,7 @@ "attributes": { "constant": false, "name": "remaining", - "scope": 389, + "scope": 384, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -799,22 +799,22 @@ "name": "uint256", "type": "uint256" }, - "id": 386, + "id": 381, "name": "ElementaryTypeName", "src": "2212:7:3" } ], - "id": 387, + "id": 382, "name": "VariableDeclaration", "src": "2212:17:3" } ], - "id": 388, + "id": 383, "name": "ParameterList", "src": "2211:19:3" } ], - "id": 389, + "id": 384, "name": "FunctionDefinition", "src": "2135:96:3" }, @@ -831,7 +831,7 @@ "constant": false, "indexed": true, "name": "_from", - "scope": 397, + "scope": 392, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -844,12 +844,12 @@ "name": "address", "type": "address" }, - "id": 390, + "id": 385, "name": "ElementaryTypeName", "src": "2250:7:3" } ], - "id": 391, + "id": 386, "name": "VariableDeclaration", "src": "2250:21:3" }, @@ -858,7 +858,7 @@ "constant": false, "indexed": true, "name": "_to", - "scope": 397, + "scope": 392, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -871,12 +871,12 @@ "name": "address", "type": "address" }, - "id": 392, + "id": 387, "name": "ElementaryTypeName", "src": "2273:7:3" } ], - "id": 393, + "id": 388, "name": "VariableDeclaration", "src": "2273:19:3" }, @@ -885,7 +885,7 @@ "constant": false, "indexed": false, "name": "_value", - "scope": 397, + "scope": 392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -898,22 +898,22 @@ "name": "uint256", "type": "uint256" }, - "id": 394, + "id": 389, "name": "ElementaryTypeName", "src": "2294:7:3" } ], - "id": 395, + "id": 390, "name": "VariableDeclaration", "src": "2294:14:3" } ], - "id": 396, + "id": 391, "name": "ParameterList", "src": "2249:60:3" } ], - "id": 397, + "id": 392, "name": "EventDefinition", "src": "2235:75:3" }, @@ -930,7 +930,7 @@ "constant": false, "indexed": true, "name": "_owner", - "scope": 405, + "scope": 400, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -943,12 +943,12 @@ "name": "address", "type": "address" }, - "id": 398, + "id": 393, "name": "ElementaryTypeName", "src": "2328:7:3" } ], - "id": 399, + "id": 394, "name": "VariableDeclaration", "src": "2328:22:3" }, @@ -957,7 +957,7 @@ "constant": false, "indexed": true, "name": "_spender", - "scope": 405, + "scope": 400, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -970,12 +970,12 @@ "name": "address", "type": "address" }, - "id": 400, + "id": 395, "name": "ElementaryTypeName", "src": "2352:7:3" } ], - "id": 401, + "id": 396, "name": "VariableDeclaration", "src": "2352:24:3" }, @@ -984,7 +984,7 @@ "constant": false, "indexed": false, "name": "_value", - "scope": 405, + "scope": 400, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -997,32 +997,32 @@ "name": "uint256", "type": "uint256" }, - "id": 402, + "id": 397, "name": "ElementaryTypeName", "src": "2378:7:3" } ], - "id": 403, + "id": 398, "name": "VariableDeclaration", "src": "2378:14:3" } ], - "id": 404, + "id": 399, "name": "ParameterList", "src": "2327:66:3" } ], - "id": 405, + "id": 400, "name": "EventDefinition", "src": "2313:81:3" } ], - "id": 406, + "id": 401, "name": "ContractDefinition", "src": "199:2197:3" } ], - "id": 407, + "id": 402, "name": "SourceUnit", "src": "173:2223:3" }, @@ -1032,5 +1032,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T09:25:39.430Z" + "updatedAt": "2018-01-15T16:10:12.638Z" } \ No newline at end of file diff --git a/build/contracts/Launcher.json b/build/contracts/Launcher.json index 7e145ae..56c47ab 100644 --- a/build/contracts/Launcher.json +++ b/build/contracts/Launcher.json @@ -29,6 +29,20 @@ "stateMutability": "view", "type": "function" }, + { + "constant": true, + "inputs": [], + "name": "version", + "outputs": [ + { + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, { "constant": false, "inputs": [ @@ -49,32 +63,31 @@ "type": "address" }, { - "name": "_podParams", + "name": "_bidParams", "type": "uint256[]" }, { - "name": "_mintParams", + "name": "_podParams", "type": "uint256[]" + }, + { + "name": "_owners", + "type": "address[2]" + }, + { + "name": "_marketMakers", + "type": "address[]" } ], - "name": "kickStartB", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "version", + "name": "standardICO", "outputs": [ { "name": "", - "type": "string" + "type": "address" } ], "payable": false, - "stateMutability": "view", + "stateMutability": "nonpayable", "type": "function" }, { @@ -110,25 +123,22 @@ "name": "_wallet", "type": "address" }, - { - "name": "_tobParams", - "type": "uint256[]" - }, { "name": "_podParams", "type": "uint256[]" }, { - "name": "_owners", - "type": "address[2]" - }, + "name": "_mintParams", + "type": "uint256[]" + } + ], + "name": "simpleICO", + "outputs": [ { - "name": "_marketMakers", - "type": "address[]" + "name": "", + "type": "address" } ], - "name": "kickStartA", - "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" @@ -158,18 +168,18 @@ "type": "constructor" } ], - "bytecode": "0x60606040526040805190810160405280600d81526020017f5249434f204c61756e63686572000000000000000000000000000000000000008152506000908051906020019062000051929190620000cd565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600190805190602001906200009f929190620000cd565b506000600360146101000a81548160ff0219169083151502179055503415620000c757600080fd5b6200017c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200011057805160ff191683800117855562000141565b8280016001018555821562000141579182015b828111156200014057825182559160200191906001019062000123565b5b50905062000150919062000154565b5090565b6200017991905b80821115620001755760008160009055506001016200015b565b5090565b90565b612c5a806200018c6000396000f300606060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306029ec21461008857806306fdde03146100dd578063074ff1ab1461016b57806354fd4d50146102b65780639318162014610344578063eb5ef6f214610399578063f09a401614610550575b600080fd5b341561009357600080fd5b61009b6105a8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100e857600080fd5b6100f06105ce565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610130578082015181840152602081019050610115565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017657600080fd5b6102b4600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190505061066c565b005b34156102c157600080fd5b6102c9610c73565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103095780820151818401526020810190506102ee565b50505050905090810190601f1680156103365780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561034f57600080fd5b610357610d11565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156103a457600080fd5b61054e600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908060400190600280602002604051908101604052809291908260026020028082843782019150505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091905050610d37565b005b341561055b57600080fd5b6105a6600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611430565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106645780601f1061063957610100808354040283529160200191610664565b820191906000526020600020905b81548152906001019060200180831161064757829003601f168201915b505050505081565b6106746114ed565b60026040518059106106835750595b90808252806020026020018201604052509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008888886000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156107e95780820151818401526020810190506107ce565b505050509050019650505050505050602060405180830381600087803b151561081157600080fd5b6102c65a03f1151561082257600080fd5b5050506040518051905081600081518110151561083b57fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660018888876000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156109ca5780820151818401526020810190506109af565b505050509050019650505050505050602060405180830381600087803b15156109f257600080fd5b6102c65a03f11515610a0357600080fd5b50505060405180519050816001815181101515610a1c57fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631db4012d88888885896000604051602001526040518663ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018660ff1660ff168152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848103845289818151815260200191508051906020019080838360005b83811015610b55578082015181840152602081019050610b3a565b50505050905090810190601f168015610b825780820380516001836020036101000a031916815260200191505b50848103835288818151815260200191508051906020019080838360005b83811015610bbb578082015181840152602081019050610ba0565b50505050905090810190601f168015610be85780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b83811015610c24578082015181840152602081019050610c09565b5050505090500198505050505050505050602060405180830381600087803b1515610c4e57600080fd5b6102c65a03f11515610c5f57600080fd5b505050604051805190505050505050505050565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d095780601f10610cde57610100808354040283529160200191610d09565b820191906000526020600020905b815481529060010190602001808311610cec57829003601f168201915b505050505081565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d3f6114ed565b60006002604051805910610d505750595b90808252806020026020018201604052509150610d6b611501565b604051809103906000f0801515610d8157600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff166318deb06689886000815181101515610daf57fe5b90602001906020020151896001815181101515610dc857fe5b906020019060200201518a6002815181101515610de157fe5b9060200190602002015189898d6003815181101515610dfc57fe5b906020019060200201516000604051602001526040518863ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808860ff1660ff16815260200187815260200186815260200185815260200184600260200280838360005b83811015610e83578082015181840152602081019050610e68565b5050505090500180602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610ecf578082015181840152602081019050610eb4565b5050505090500198505050505050505050602060405180830381600087803b1515610ef957600080fd5b6102c65a03f11515610f0a57600080fd5b50505060405180519050508073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515610fd157600080fd5b6102c65a03f11515610fe257600080fd5b50505080826000815181101515610ff557fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008b8b8a6000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015611184578082015181840152602081019050611169565b505050509050019650505050505050602060405180830381600087803b15156111ac57600080fd5b6102c65a03f115156111bd57600080fd5b505050604051805190508260018151811015156111d657fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631db4012d8b8b8b868c6000604051602001526040518663ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018660ff1660ff168152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848103845289818151815260200191508051906020019080838360005b8381101561130f5780820151818401526020810190506112f4565b50505050905090810190601f16801561133c5780820380516001836020036101000a031916815260200191505b50848103835288818151815260200191508051906020019080838360005b8381101561137557808201518184015260208101905061135a565b50505050905090810190601f1680156113a25780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b838110156113de5780820151818401526020810190506113c3565b5050505090500198505050505050505050602060405180830381600087803b151561140857600080fd5b6102c65a03f1151561141957600080fd5b505050604051805190505050505050505050505050565b600360149054906101000a900460ff1615151561144c57600080fd5b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360146101000a81548160ff0219169083151502179055505050565b602060405190810160405280600081525090565b60405161171c8062001513833901905600606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280603181526020017f5374616e64617264506f4420737472617465677920746f6b656e50726963652081526020017f3d20636170546f6b656e2f636170576569000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b6114d680620002466000396000f300606060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461013e57806309fc93c1146101cc578063112ed3f51461021957806318deb0661461026a578063200d2ed214610338578063439f5ac21461036f5780634b94f50e14610398578063521eb273146103c157806354fd4d50146104165780636ccce7a8146104a45780637150d8ae146104cd57806383786f8c146105225780638da5cb5b1461056f5780638f85f92c146105c457806397722acf146105f15780639b3dfce01461061a578063aa985a6314610647578063ba3f5a121461068b578063c828371e146106b4578063df7271bc146106dd578063ea750d2914610740578063ed88c68e14610769578063f2fde38b1461078b575b61013b6107c4565b50005b341561014957600080fd5b61015161092f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610191578082015181840152602081019050610176565b50505050905090810190601f1680156101be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d757600080fd5b610203600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109cd565b6040518082815260200191505060405180910390f35b341561022457600080fd5b610250600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a16565b604051808215151515815260200191505060405180910390f35b341561027557600080fd5b61031e600480803560ff16906020019091908035906020019091908035906020019091908035906020019091908060400190600280602002604051908101604052809291908260026020028082843782019150505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019091905050610af4565b604051808215151515815260200191505060405180910390f35b341561034357600080fd5b61034b610ccd565b6040518082600281111561035b57fe5b60ff16815260200191505060405180910390f35b341561037a57600080fd5b610382610ce0565b6040518082815260200191505060405180910390f35b34156103a357600080fd5b6103ab610cea565b6040518082815260200191505060405180910390f35b34156103cc57600080fd5b6103d4610cf4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561042157600080fd5b610429610d1a565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561046957808201518184015260208101905061044e565b50505050905090810190601f1680156104965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156104af57600080fd5b6104b7610db8565b6040518082815260200191505060405180910390f35b34156104d857600080fd5b6104e0610dc2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561052d57600080fd5b610559600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de8565b6040518082815260200191505060405180910390f35b341561057a57600080fd5b610582610f0c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610f31565b604051808215151515815260200191505060405180910390f35b34156105fc57600080fd5b610604610f71565b6040518082815260200191505060405180910390f35b341561062557600080fd5b61062d610f7b565b604051808215151515815260200191505060405180910390f35b341561065257600080fd5b6106716004808035906020019091908035906020019091905050610fbc565b604051808215151515815260200191505060405180910390f35b341561069657600080fd5b61069e6110c4565b6040518082815260200191505060405180910390f35b34156106bf57600080fd5b6106c76110ca565b6040518082815260200191505060405180910390f35b34156106e857600080fd5b6106fe60048080359060200190919050506110d4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561074b57600080fd5b610753611113565b6040518082815260200191505060405180910390f35b6107716107c4565b604051808215151515815260200191505060405180910390f35b341561079657600080fd5b6107c2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611119565b005b6000600160028111156107d357fe5b600b60009054906101000a900460ff1660028111156107ee57fe5b1415156107fa57600080fd5b600454421015151561080b57600080fd5b6412a05f20003a1115151561081f57600080fd5b60003411151561082e57600080fd5b6108373361126e565b15156108a257426005819055506002600b60006101000a81548160ff0219169083600281111561086357fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6108b7346007546113a690919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109c55780601f1061099a576101008083540402835291602001916109c5565b820191906000526020600020905b8154815290600101906020018083116109a857829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a7357600080fd5b600280811115610a7f57fe5b600b60009054906101000a900460ff166002811115610a9a57fe5b141515610aa657600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b5157600080fd5b60006002811115610b5e57fe5b600b60009054906101000a900460ff166002811115610b7957fe5b141515610b8557600080fd5b428710151515610b9457600080fd5b8660048190555082600c9080519060200190610bb19291906113dd565b508760ff16600a0a600d819055508560088190555084600981905550600854600954600d5402811515610be057fe5b04600681905550836000600281101515610bf657fe5b6020020151600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a6000866001600281101515610c5057fe5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600e819055506001600b60006101000a81548160ff02191690836002811115610cb957fe5b021790555060019050979650505050505050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610db05780601f10610d8557610100808354040283529160200191610db0565b820191906000526020600020905b815481529060010190602001808311610d9357829003601f168201915b505050505081565b6000600954905090565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e0262ed4e006004546113a690919063ffffffff16565b421015610e125760009050610f07565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ec057600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d5402811515610eb857fe5b049050610f07565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e540290505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610f3f57fe5b600b60009054906101000a900460ff166002811115610f5a57fe5b1415610f695760019050610f6e565b600090505b90565b6000600854905090565b600060016002811115610f8a57fe5b600b60009054906101000a900460ff166002811115610fa557fe5b1415610fb45760019050610fb9565b600090505b90565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561101a57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631821115151561104057600080fd5b600c8381548110151561104f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156110ba57600080fd5b6001905092915050565b600d5481565b6000600454905090565b600c818154811015156110e357fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561117457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156111b057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415156112cd57600080fd5b6112e46007546009546113c490919063ffffffff16565b90508034111515156112f557600080fd5b61134734600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113a690919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508034141561139b57600091506113a0565b600191505b50919050565b60008082840190508381101515156113ba57fe5b8091505092915050565b60008282111515156113d257fe5b818303905092915050565b828054828255906000526020600020908101928215611456579160200282015b828111156114555782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906113fd565b5b5090506114639190611467565b5090565b6114a791905b808211156114a357600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161146d565b5090565b905600a165627a7a723058203347779edfc3a0f6305b461b9ad27f1a3b65f81a3de0b455a90fee8da7731d530029a165627a7a72305820cc33123b99f53a1875e813f74e7df48a660e1d26186e7c39dcf2cb83a68ff29a0029", - "deployedBytecode": "0x606060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306029ec21461008857806306fdde03146100dd578063074ff1ab1461016b57806354fd4d50146102b65780639318162014610344578063eb5ef6f214610399578063f09a401614610550575b600080fd5b341561009357600080fd5b61009b6105a8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100e857600080fd5b6100f06105ce565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610130578082015181840152602081019050610115565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017657600080fd5b6102b4600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190505061066c565b005b34156102c157600080fd5b6102c9610c73565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103095780820151818401526020810190506102ee565b50505050905090810190601f1680156103365780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561034f57600080fd5b610357610d11565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156103a457600080fd5b61054e600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908060400190600280602002604051908101604052809291908260026020028082843782019150505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091905050610d37565b005b341561055b57600080fd5b6105a6600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611430565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106645780601f1061063957610100808354040283529160200191610664565b820191906000526020600020905b81548152906001019060200180831161064757829003601f168201915b505050505081565b6106746114ed565b60026040518059106106835750595b90808252806020026020018201604052509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008888886000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156107e95780820151818401526020810190506107ce565b505050509050019650505050505050602060405180830381600087803b151561081157600080fd5b6102c65a03f1151561082257600080fd5b5050506040518051905081600081518110151561083b57fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660018888876000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156109ca5780820151818401526020810190506109af565b505050509050019650505050505050602060405180830381600087803b15156109f257600080fd5b6102c65a03f11515610a0357600080fd5b50505060405180519050816001815181101515610a1c57fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631db4012d88888885896000604051602001526040518663ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018660ff1660ff168152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848103845289818151815260200191508051906020019080838360005b83811015610b55578082015181840152602081019050610b3a565b50505050905090810190601f168015610b825780820380516001836020036101000a031916815260200191505b50848103835288818151815260200191508051906020019080838360005b83811015610bbb578082015181840152602081019050610ba0565b50505050905090810190601f168015610be85780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b83811015610c24578082015181840152602081019050610c09565b5050505090500198505050505050505050602060405180830381600087803b1515610c4e57600080fd5b6102c65a03f11515610c5f57600080fd5b505050604051805190505050505050505050565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d095780601f10610cde57610100808354040283529160200191610d09565b820191906000526020600020905b815481529060010190602001808311610cec57829003601f168201915b505050505081565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d3f6114ed565b60006002604051805910610d505750595b90808252806020026020018201604052509150610d6b611501565b604051809103906000f0801515610d8157600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff166318deb06689886000815181101515610daf57fe5b90602001906020020151896001815181101515610dc857fe5b906020019060200201518a6002815181101515610de157fe5b9060200190602002015189898d6003815181101515610dfc57fe5b906020019060200201516000604051602001526040518863ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808860ff1660ff16815260200187815260200186815260200185815260200184600260200280838360005b83811015610e83578082015181840152602081019050610e68565b5050505090500180602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610ecf578082015181840152602081019050610eb4565b5050505090500198505050505050505050602060405180830381600087803b1515610ef957600080fd5b6102c65a03f11515610f0a57600080fd5b50505060405180519050508073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515610fd157600080fd5b6102c65a03f11515610fe257600080fd5b50505080826000815181101515610ff557fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008b8b8a6000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015611184578082015181840152602081019050611169565b505050509050019650505050505050602060405180830381600087803b15156111ac57600080fd5b6102c65a03f115156111bd57600080fd5b505050604051805190508260018151811015156111d657fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631db4012d8b8b8b868c6000604051602001526040518663ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018660ff1660ff168152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848103845289818151815260200191508051906020019080838360005b8381101561130f5780820151818401526020810190506112f4565b50505050905090810190601f16801561133c5780820380516001836020036101000a031916815260200191505b50848103835288818151815260200191508051906020019080838360005b8381101561137557808201518184015260208101905061135a565b50505050905090810190601f1680156113a25780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b838110156113de5780820151818401526020810190506113c3565b5050505090500198505050505050505050602060405180830381600087803b151561140857600080fd5b6102c65a03f1151561141957600080fd5b505050604051805190505050505050505050505050565b600360149054906101000a900460ff1615151561144c57600080fd5b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360146101000a81548160ff0219169083151502179055505050565b602060405190810160405280600081525090565b60405161171c8062001513833901905600606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280603181526020017f5374616e64617264506f4420737472617465677920746f6b656e50726963652081526020017f3d20636170546f6b656e2f636170576569000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b6114d680620002466000396000f300606060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461013e57806309fc93c1146101cc578063112ed3f51461021957806318deb0661461026a578063200d2ed214610338578063439f5ac21461036f5780634b94f50e14610398578063521eb273146103c157806354fd4d50146104165780636ccce7a8146104a45780637150d8ae146104cd57806383786f8c146105225780638da5cb5b1461056f5780638f85f92c146105c457806397722acf146105f15780639b3dfce01461061a578063aa985a6314610647578063ba3f5a121461068b578063c828371e146106b4578063df7271bc146106dd578063ea750d2914610740578063ed88c68e14610769578063f2fde38b1461078b575b61013b6107c4565b50005b341561014957600080fd5b61015161092f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610191578082015181840152602081019050610176565b50505050905090810190601f1680156101be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d757600080fd5b610203600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109cd565b6040518082815260200191505060405180910390f35b341561022457600080fd5b610250600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a16565b604051808215151515815260200191505060405180910390f35b341561027557600080fd5b61031e600480803560ff16906020019091908035906020019091908035906020019091908035906020019091908060400190600280602002604051908101604052809291908260026020028082843782019150505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019091905050610af4565b604051808215151515815260200191505060405180910390f35b341561034357600080fd5b61034b610ccd565b6040518082600281111561035b57fe5b60ff16815260200191505060405180910390f35b341561037a57600080fd5b610382610ce0565b6040518082815260200191505060405180910390f35b34156103a357600080fd5b6103ab610cea565b6040518082815260200191505060405180910390f35b34156103cc57600080fd5b6103d4610cf4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561042157600080fd5b610429610d1a565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561046957808201518184015260208101905061044e565b50505050905090810190601f1680156104965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156104af57600080fd5b6104b7610db8565b6040518082815260200191505060405180910390f35b34156104d857600080fd5b6104e0610dc2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561052d57600080fd5b610559600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de8565b6040518082815260200191505060405180910390f35b341561057a57600080fd5b610582610f0c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610f31565b604051808215151515815260200191505060405180910390f35b34156105fc57600080fd5b610604610f71565b6040518082815260200191505060405180910390f35b341561062557600080fd5b61062d610f7b565b604051808215151515815260200191505060405180910390f35b341561065257600080fd5b6106716004808035906020019091908035906020019091905050610fbc565b604051808215151515815260200191505060405180910390f35b341561069657600080fd5b61069e6110c4565b6040518082815260200191505060405180910390f35b34156106bf57600080fd5b6106c76110ca565b6040518082815260200191505060405180910390f35b34156106e857600080fd5b6106fe60048080359060200190919050506110d4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561074b57600080fd5b610753611113565b6040518082815260200191505060405180910390f35b6107716107c4565b604051808215151515815260200191505060405180910390f35b341561079657600080fd5b6107c2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611119565b005b6000600160028111156107d357fe5b600b60009054906101000a900460ff1660028111156107ee57fe5b1415156107fa57600080fd5b600454421015151561080b57600080fd5b6412a05f20003a1115151561081f57600080fd5b60003411151561082e57600080fd5b6108373361126e565b15156108a257426005819055506002600b60006101000a81548160ff0219169083600281111561086357fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6108b7346007546113a690919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109c55780601f1061099a576101008083540402835291602001916109c5565b820191906000526020600020905b8154815290600101906020018083116109a857829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a7357600080fd5b600280811115610a7f57fe5b600b60009054906101000a900460ff166002811115610a9a57fe5b141515610aa657600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b5157600080fd5b60006002811115610b5e57fe5b600b60009054906101000a900460ff166002811115610b7957fe5b141515610b8557600080fd5b428710151515610b9457600080fd5b8660048190555082600c9080519060200190610bb19291906113dd565b508760ff16600a0a600d819055508560088190555084600981905550600854600954600d5402811515610be057fe5b04600681905550836000600281101515610bf657fe5b6020020151600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a6000866001600281101515610c5057fe5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600e819055506001600b60006101000a81548160ff02191690836002811115610cb957fe5b021790555060019050979650505050505050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610db05780601f10610d8557610100808354040283529160200191610db0565b820191906000526020600020905b815481529060010190602001808311610d9357829003601f168201915b505050505081565b6000600954905090565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e0262ed4e006004546113a690919063ffffffff16565b421015610e125760009050610f07565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ec057600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d5402811515610eb857fe5b049050610f07565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e540290505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610f3f57fe5b600b60009054906101000a900460ff166002811115610f5a57fe5b1415610f695760019050610f6e565b600090505b90565b6000600854905090565b600060016002811115610f8a57fe5b600b60009054906101000a900460ff166002811115610fa557fe5b1415610fb45760019050610fb9565b600090505b90565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561101a57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631821115151561104057600080fd5b600c8381548110151561104f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156110ba57600080fd5b6001905092915050565b600d5481565b6000600454905090565b600c818154811015156110e357fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561117457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156111b057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415156112cd57600080fd5b6112e46007546009546113c490919063ffffffff16565b90508034111515156112f557600080fd5b61134734600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113a690919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508034141561139b57600091506113a0565b600191505b50919050565b60008082840190508381101515156113ba57fe5b8091505092915050565b60008282111515156113d257fe5b818303905092915050565b828054828255906000526020600020908101928215611456579160200282015b828111156114555782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906113fd565b5b5090506114639190611467565b5090565b6114a791905b808211156114a357600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161146d565b5090565b905600a165627a7a723058203347779edfc3a0f6305b461b9ad27f1a3b65f81a3de0b455a90fee8da7731d530029a165627a7a72305820cc33123b99f53a1875e813f74e7df48a660e1d26186e7c39dcf2cb83a68ff29a0029", - "sourceMap": "245:2549:4:-;;;293:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;333:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;430:5;417:18;;;;;;;;;;;;;;;;;;;;521:29;;;;;;;;245:2549;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "245:2549:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;368:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;293:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2370:422:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;333:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;388:25:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1342:627;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;640:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;368:16;;;;;;;;;;;;;:::o;293:36::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2370:422::-;2549:21;;:::i;:::-;2587:1;2573:16;;;;;;;;;;;;;;;;;;;;;;;;2549:40;;2605:2;;;;;;;;;;;:9;;;2615:4;;;;;;;;;;;2621:1;2624:9;2635:7;2644:10;2605:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2595:4:4;2600:1;2595:7;;;;;;;;;;;;;;;;;:60;;;;;;;;;;;2671:2;;;;;;;;;;;:9;;;2681:4;;;;;;;;;;;2687:1;2690:9;2701:7;2710:11;2671:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2661:4:4;2666:1;2661:7;;;;;;;;;;;;;;;;;:61;;;;;;;;;;;2729:4;;;;;;;;;;;:15;;;2745:5;2752:7;2761:9;2772:4;2778:7;2729:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2729:57:4;2370:422;;;;;;;:::o;333:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;388:25::-;;;;;;;;;;;;;:::o;1342:627::-;1573:21;;:::i;:::-;1620:19;1611:1;1597:16;;;;;;;;;;;;;;;;;;;;;;;;1573:40;;1642:21;;:::i;:::-;;;;;;;;;;;;;;;;;;1620:43;;1669:3;:8;;;1678:9;1689:10;1700:1;1689:13;;;;;;;;;;;;;;;;;;1704:10;1715:1;1704:13;;;;;;;;;;;;;;;;;;1719:10;1730:1;1719:13;;;;;;;;;;;;;;;;;;1734:7;1743:13;1758:10;1769:1;1758:13;;;;;;;;;;;;;;;;;;1669:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1669:103:4;1778:3;:21;;;1800:4;;;;;;;;;;;1778:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1830:3;1812:4;1817:1;1812:7;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;1850:2;;;;;;;;;;;:9;;;1860:4;;;;;;;;;;;1866:1;1869:9;1880:7;1889:10;1850:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1840:4:4;1845:1;1840:7;;;;;;;;;;;;;;;;;:60;;;;;;;;;;;1907:4;;;;;;;;;;;:15;;;1923:5;1930:7;1939:9;1950:4;1956:7;1907:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1907:57:4;1342:627;;;;;;;;;;:::o;640:148::-;704:5;;;;;;;;;;;703:6;695:15;;;;;;;;728:5;716:4;;:18;;;;;;;;;;;;;;;;;;761:3;740:2;;:25;;;;;;;;;;;;;;;;;;779:4;771:5;;:12;;;;;;;;;;;;;;;;;;640:148;;:::o;245:2549::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o", - "source": "pragma solidity ^0.4.18;\n\nimport \"./ContractManager.sol\";\nimport \"./PoDs/RICOStandardPoD.sol\";\nimport \"./RICO.sol\";\n\n/// @title Launcher - RICO Launcher contract\n/// @author - Yusaku Senga - \n/// license let's see in LICENSE\n\ncontract Launcher {\n\n /**\n * Storage\n */\n string public name = \"RICO Launcher\";\n string public version = \"0.9.3\";\n RICO public rico;\n ContractManager public cm;\n bool state = false;\n /**\n * constructor\n * @dev define owner when this contract deployed.\n */\n\n function Launcher() public {}\n\n /**\n * @dev init rico contract.\n * @param _rico set rico address.\n */\n function init(address _rico, address _cm) public {\n require(!state);\n rico = RICO(_rico);\n cm = ContractManager(_cm);\n state = true;\n }\n\n\n /**\n * @dev kickStartA uses 2 pods RICOStandardPoD and SimplePoD.\n * @param _name Token name of RICO format.\n * @param _symbol Token symbol of RICO format.\n * @param _decimals Token decimals of RICO format.\n * @param _wallet Founder's multisigWallet.\n * @param _tobParams params of RICOStandardPoD pod.\n * @param _podParams params of SimplePoD pod.\n * @param _owners array of owners address, 0:tob executor, 1: founder.\n * @param _marketMakers array of marketMakers address of project \n */\n\n function kickStartA(\n string _name, \n string _symbol, \n uint8 _decimals, \n address _wallet,\n uint256[] _tobParams,\n uint256[] _podParams,\n address[2] _owners,\n address[] _marketMakers\n ) \n public \n {\n address[] memory pods = new address[](2);\n\n RICOStandardPoD tob = new RICOStandardPoD();\n tob.init(_decimals, _tobParams[0], _tobParams[1], _tobParams[2], _owners, _marketMakers, _tobParams[3]);\n tob.transferOwnership(rico);\n\n pods[0] = address(tob);\n pods[1] = cm.deploy(rico, 0, _decimals, _wallet, _podParams);\n\n rico.newProject(_name, _symbol, _decimals, pods, _wallet);\n }\n\n\n /**\n * @dev kickStartA uses 2 pods SimplePoD and TokenMintPoD.\n * @param _name Token name of RICO format.\n * @param _symbol Token symbol of RICO format.\n * @param _decimals Token decimals of RICO format.\n * @param _wallet Founder's multisigWallet.\n * @param _podParams params of SimplePoD pod.\n * @param _mintParams params of TokenMintPoD pod.\n */\n\n function kickStartB(\n string _name, \n string _symbol, \n uint8 _decimals, \n address _wallet,\n uint256[] _podParams,\n uint256[] _mintParams\n ) \n public \n {\n address[] memory pods = new address[](2);\n pods[0] = cm.deploy(rico, 0, _decimals, _wallet, _podParams);\n pods[1] = cm.deploy(rico, 1, _decimals, _wallet, _mintParams);\n\n rico.newProject(_name, _symbol, _decimals, pods, _wallet);\n\n }\n}\n\n", + "bytecode": "0x60606040526040805190810160405280600d81526020017f5249434f204c61756e63686572000000000000000000000000000000000000008152506000908051906020019062000051929190620000cd565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600190805190602001906200009f929190620000cd565b506000600360146101000a81548160ff0219169083151502179055503415620000c757600080fd5b6200017c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200011057805160ff191683800117855562000141565b8280016001018555821562000141579182015b828111156200014057825182559160200191906001019062000123565b5b50905062000150919062000154565b5090565b6200017991905b80821115620001755760008160009055506001016200015b565b5090565b90565b612ce4806200018c6000396000f300606060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306029ec21461008857806306fdde03146100dd57806354fd4d501461016b5780638c6fc437146101f957806393181620146103f0578063a4b8457a14610445578063f09a4016146105d0575b600080fd5b341561009357600080fd5b61009b610628565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100e857600080fd5b6100f061064e565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610130578082015181840152602081019050610115565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017657600080fd5b61017e6106ec565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101be5780820151818401526020810190506101a3565b50505050905090810190601f1680156101eb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561020457600080fd5b6103ae600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190806040019060028060200260405190810160405280929190826002602002808284378201915050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190505061078a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156103fb57600080fd5b610403610e88565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561045057600080fd5b61058e600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091905050610eae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105db57600080fd5b610626600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506114ba565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106e45780601f106106b9576101008083540402835291602001916106e4565b820191906000526020600020905b8154815290600101906020018083116106c757829003601f168201915b505050505081565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b505050505081565b6000610794611577565b600060026040518059106107a55750595b908082528060200260200182016040525091506107c061158b565b604051809103906000f08015156107d657600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff166318deb0668a89600081518110151561080457fe5b906020019060200201518a600181518110151561081d57fe5b906020019060200201518b600281518110151561083657fe5b906020019060200201518a8a8e600381518110151561085157fe5b906020019060200201516000604051602001526040518863ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808860ff1660ff16815260200187815260200186815260200185815260200184600260200280838360005b838110156108d85780820151818401526020810190506108bd565b5050505090500180602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610924578082015181840152602081019050610909565b5050505090500198505050505050505050602060405180830381600087803b151561094e57600080fd5b6102c65a03f1151561095f57600080fd5b50505060405180519050508073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515610a2657600080fd5b6102c65a03f11515610a3757600080fd5b50505080826000815181101515610a4a57fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008c8c8b6000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610bd9578082015181840152602081019050610bbe565b505050509050019650505050505050602060405180830381600087803b1515610c0157600080fd5b6102c65a03f11515610c1257600080fd5b50505060405180519050826001815181101515610c2b57fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631db4012d8c8c8c868d6000604051602001526040518663ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018660ff1660ff168152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848103845289818151815260200191508051906020019080838360005b83811015610d64578082015181840152602081019050610d49565b50505050905090810190601f168015610d915780820380516001836020036101000a031916815260200191505b50848103835288818151815260200191508051906020019080838360005b83811015610dca578082015181840152602081019050610daf565b50505050905090810190601f168015610df75780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b83811015610e33578082015181840152602081019050610e18565b5050505090500198505050505050505050602060405180830381600087803b1515610e5d57600080fd5b6102c65a03f11515610e6e57600080fd5b505050604051805190509250505098975050505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610eb8611577565b6002604051805910610ec75750595b90808252806020026020018201604052509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008989896000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561102d578082015181840152602081019050611012565b505050509050019650505050505050602060405180830381600087803b151561105557600080fd5b6102c65a03f1151561106657600080fd5b5050506040518051905081600081518110151561107f57fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660018989886000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561120e5780820151818401526020810190506111f3565b505050509050019650505050505050602060405180830381600087803b151561123657600080fd5b6102c65a03f1151561124757600080fd5b5050506040518051905081600181518110151561126057fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631db4012d898989858a6000604051602001526040518663ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018660ff1660ff168152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848103845289818151815260200191508051906020019080838360005b8381101561139957808201518184015260208101905061137e565b50505050905090810190601f1680156113c65780820380516001836020036101000a031916815260200191505b50848103835288818151815260200191508051906020019080838360005b838110156113ff5780820151818401526020810190506113e4565b50505050905090810190601f16801561142c5780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b8381101561146857808201518184015260208101905061144d565b5050505090500198505050505050505050602060405180830381600087803b151561149257600080fd5b6102c65a03f115156114a357600080fd5b505050604051805190509150509695505050505050565b600360149054906101000a900460ff161515156114d657600080fd5b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360146101000a81548160ff0219169083151502179055505050565b602060405190810160405280600081525090565b60405161171c806200159d833901905600606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280603181526020017f5374616e64617264506f4420737472617465677920746f6b656e50726963652081526020017f3d20636170546f6b656e2f636170576569000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b6114d680620002466000396000f300606060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461013e57806309fc93c1146101cc578063112ed3f51461021957806318deb0661461026a578063200d2ed214610338578063439f5ac21461036f5780634b94f50e14610398578063521eb273146103c157806354fd4d50146104165780636ccce7a8146104a45780637150d8ae146104cd57806383786f8c146105225780638da5cb5b1461056f5780638f85f92c146105c457806397722acf146105f15780639b3dfce01461061a578063aa985a6314610647578063ba3f5a121461068b578063c828371e146106b4578063df7271bc146106dd578063ea750d2914610740578063ed88c68e14610769578063f2fde38b1461078b575b61013b6107c4565b50005b341561014957600080fd5b61015161092f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610191578082015181840152602081019050610176565b50505050905090810190601f1680156101be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d757600080fd5b610203600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109cd565b6040518082815260200191505060405180910390f35b341561022457600080fd5b610250600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a16565b604051808215151515815260200191505060405180910390f35b341561027557600080fd5b61031e600480803560ff16906020019091908035906020019091908035906020019091908035906020019091908060400190600280602002604051908101604052809291908260026020028082843782019150505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019091905050610af4565b604051808215151515815260200191505060405180910390f35b341561034357600080fd5b61034b610ccd565b6040518082600281111561035b57fe5b60ff16815260200191505060405180910390f35b341561037a57600080fd5b610382610ce0565b6040518082815260200191505060405180910390f35b34156103a357600080fd5b6103ab610cea565b6040518082815260200191505060405180910390f35b34156103cc57600080fd5b6103d4610cf4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561042157600080fd5b610429610d1a565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561046957808201518184015260208101905061044e565b50505050905090810190601f1680156104965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156104af57600080fd5b6104b7610db8565b6040518082815260200191505060405180910390f35b34156104d857600080fd5b6104e0610dc2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561052d57600080fd5b610559600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de8565b6040518082815260200191505060405180910390f35b341561057a57600080fd5b610582610f0c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610f31565b604051808215151515815260200191505060405180910390f35b34156105fc57600080fd5b610604610f71565b6040518082815260200191505060405180910390f35b341561062557600080fd5b61062d610f7b565b604051808215151515815260200191505060405180910390f35b341561065257600080fd5b6106716004808035906020019091908035906020019091905050610fbc565b604051808215151515815260200191505060405180910390f35b341561069657600080fd5b61069e6110c4565b6040518082815260200191505060405180910390f35b34156106bf57600080fd5b6106c76110ca565b6040518082815260200191505060405180910390f35b34156106e857600080fd5b6106fe60048080359060200190919050506110d4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561074b57600080fd5b610753611113565b6040518082815260200191505060405180910390f35b6107716107c4565b604051808215151515815260200191505060405180910390f35b341561079657600080fd5b6107c2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611119565b005b6000600160028111156107d357fe5b600b60009054906101000a900460ff1660028111156107ee57fe5b1415156107fa57600080fd5b600454421015151561080b57600080fd5b6412a05f20003a1115151561081f57600080fd5b60003411151561082e57600080fd5b6108373361126e565b15156108a257426005819055506002600b60006101000a81548160ff0219169083600281111561086357fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6108b7346007546113a690919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109c55780601f1061099a576101008083540402835291602001916109c5565b820191906000526020600020905b8154815290600101906020018083116109a857829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a7357600080fd5b600280811115610a7f57fe5b600b60009054906101000a900460ff166002811115610a9a57fe5b141515610aa657600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b5157600080fd5b60006002811115610b5e57fe5b600b60009054906101000a900460ff166002811115610b7957fe5b141515610b8557600080fd5b428710151515610b9457600080fd5b8660048190555082600c9080519060200190610bb19291906113dd565b508760ff16600a0a600d819055508560088190555084600981905550600854600954600d5402811515610be057fe5b04600681905550836000600281101515610bf657fe5b6020020151600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a6000866001600281101515610c5057fe5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600e819055506001600b60006101000a81548160ff02191690836002811115610cb957fe5b021790555060019050979650505050505050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610db05780601f10610d8557610100808354040283529160200191610db0565b820191906000526020600020905b815481529060010190602001808311610d9357829003601f168201915b505050505081565b6000600954905090565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e0262ed4e006004546113a690919063ffffffff16565b421015610e125760009050610f07565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ec057600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d5402811515610eb857fe5b049050610f07565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e540290505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610f3f57fe5b600b60009054906101000a900460ff166002811115610f5a57fe5b1415610f695760019050610f6e565b600090505b90565b6000600854905090565b600060016002811115610f8a57fe5b600b60009054906101000a900460ff166002811115610fa557fe5b1415610fb45760019050610fb9565b600090505b90565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561101a57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631821115151561104057600080fd5b600c8381548110151561104f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156110ba57600080fd5b6001905092915050565b600d5481565b6000600454905090565b600c818154811015156110e357fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561117457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156111b057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415156112cd57600080fd5b6112e46007546009546113c490919063ffffffff16565b90508034111515156112f557600080fd5b61134734600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113a690919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508034141561139b57600091506113a0565b600191505b50919050565b60008082840190508381101515156113ba57fe5b8091505092915050565b60008282111515156113d257fe5b818303905092915050565b828054828255906000526020600020908101928215611456579160200282015b828111156114555782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906113fd565b5b5090506114639190611467565b5090565b6114a791905b808211156114a357600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161146d565b5090565b905600a165627a7a723058203347779edfc3a0f6305b461b9ad27f1a3b65f81a3de0b455a90fee8da7731d530029a165627a7a72305820e06e163e2b65dec70a67225f5e2beedb5ab0c529a1484b7616e05132f4b283bd0029", + "deployedBytecode": "0x606060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306029ec21461008857806306fdde03146100dd57806354fd4d501461016b5780638c6fc437146101f957806393181620146103f0578063a4b8457a14610445578063f09a4016146105d0575b600080fd5b341561009357600080fd5b61009b610628565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100e857600080fd5b6100f061064e565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610130578082015181840152602081019050610115565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017657600080fd5b61017e6106ec565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101be5780820151818401526020810190506101a3565b50505050905090810190601f1680156101eb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561020457600080fd5b6103ae600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190806040019060028060200260405190810160405280929190826002602002808284378201915050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190505061078a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156103fb57600080fd5b610403610e88565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561045057600080fd5b61058e600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091905050610eae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105db57600080fd5b610626600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506114ba565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106e45780601f106106b9576101008083540402835291602001916106e4565b820191906000526020600020905b8154815290600101906020018083116106c757829003601f168201915b505050505081565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b505050505081565b6000610794611577565b600060026040518059106107a55750595b908082528060200260200182016040525091506107c061158b565b604051809103906000f08015156107d657600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff166318deb0668a89600081518110151561080457fe5b906020019060200201518a600181518110151561081d57fe5b906020019060200201518b600281518110151561083657fe5b906020019060200201518a8a8e600381518110151561085157fe5b906020019060200201516000604051602001526040518863ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808860ff1660ff16815260200187815260200186815260200185815260200184600260200280838360005b838110156108d85780820151818401526020810190506108bd565b5050505090500180602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610924578082015181840152602081019050610909565b5050505090500198505050505050505050602060405180830381600087803b151561094e57600080fd5b6102c65a03f1151561095f57600080fd5b50505060405180519050508073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1515610a2657600080fd5b6102c65a03f11515610a3757600080fd5b50505080826000815181101515610a4a57fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008c8c8b6000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610bd9578082015181840152602081019050610bbe565b505050509050019650505050505050602060405180830381600087803b1515610c0157600080fd5b6102c65a03f11515610c1257600080fd5b50505060405180519050826001815181101515610c2b57fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631db4012d8c8c8c868d6000604051602001526040518663ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018660ff1660ff168152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848103845289818151815260200191508051906020019080838360005b83811015610d64578082015181840152602081019050610d49565b50505050905090810190601f168015610d915780820380516001836020036101000a031916815260200191505b50848103835288818151815260200191508051906020019080838360005b83811015610dca578082015181840152602081019050610daf565b50505050905090810190601f168015610df75780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b83811015610e33578082015181840152602081019050610e18565b5050505090500198505050505050505050602060405180830381600087803b1515610e5d57600080fd5b6102c65a03f11515610e6e57600080fd5b505050604051805190509250505098975050505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610eb8611577565b6002604051805910610ec75750595b90808252806020026020018201604052509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008989896000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561102d578082015181840152602081019050611012565b505050509050019650505050505050602060405180830381600087803b151561105557600080fd5b6102c65a03f1151561106657600080fd5b5050506040518051905081600081518110151561107f57fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a07da887600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660018989886000604051602001526040518663ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018460ff1660ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561120e5780820151818401526020810190506111f3565b505050509050019650505050505050602060405180830381600087803b151561123657600080fd5b6102c65a03f1151561124757600080fd5b5050506040518051905081600181518110151561126057fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631db4012d898989858a6000604051602001526040518663ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018660ff1660ff168152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848103845289818151815260200191508051906020019080838360005b8381101561139957808201518184015260208101905061137e565b50505050905090810190601f1680156113c65780820380516001836020036101000a031916815260200191505b50848103835288818151815260200191508051906020019080838360005b838110156113ff5780820151818401526020810190506113e4565b50505050905090810190601f16801561142c5780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b8381101561146857808201518184015260208101905061144d565b5050505090500198505050505050505050602060405180830381600087803b151561149257600080fd5b6102c65a03f115156114a357600080fd5b505050604051805190509150509695505050505050565b600360149054906101000a900460ff161515156114d657600080fd5b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360146101000a81548160ff0219169083151502179055505050565b602060405190810160405280600081525090565b60405161171c806200159d833901905600606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280603181526020017f5374616e64617264506f4420737472617465677920746f6b656e50726963652081526020017f3d20636170546f6b656e2f636170576569000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b6114d680620002466000396000f300606060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461013e57806309fc93c1146101cc578063112ed3f51461021957806318deb0661461026a578063200d2ed214610338578063439f5ac21461036f5780634b94f50e14610398578063521eb273146103c157806354fd4d50146104165780636ccce7a8146104a45780637150d8ae146104cd57806383786f8c146105225780638da5cb5b1461056f5780638f85f92c146105c457806397722acf146105f15780639b3dfce01461061a578063aa985a6314610647578063ba3f5a121461068b578063c828371e146106b4578063df7271bc146106dd578063ea750d2914610740578063ed88c68e14610769578063f2fde38b1461078b575b61013b6107c4565b50005b341561014957600080fd5b61015161092f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610191578082015181840152602081019050610176565b50505050905090810190601f1680156101be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d757600080fd5b610203600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109cd565b6040518082815260200191505060405180910390f35b341561022457600080fd5b610250600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a16565b604051808215151515815260200191505060405180910390f35b341561027557600080fd5b61031e600480803560ff16906020019091908035906020019091908035906020019091908035906020019091908060400190600280602002604051908101604052809291908260026020028082843782019150505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019091905050610af4565b604051808215151515815260200191505060405180910390f35b341561034357600080fd5b61034b610ccd565b6040518082600281111561035b57fe5b60ff16815260200191505060405180910390f35b341561037a57600080fd5b610382610ce0565b6040518082815260200191505060405180910390f35b34156103a357600080fd5b6103ab610cea565b6040518082815260200191505060405180910390f35b34156103cc57600080fd5b6103d4610cf4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561042157600080fd5b610429610d1a565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561046957808201518184015260208101905061044e565b50505050905090810190601f1680156104965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156104af57600080fd5b6104b7610db8565b6040518082815260200191505060405180910390f35b34156104d857600080fd5b6104e0610dc2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561052d57600080fd5b610559600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de8565b6040518082815260200191505060405180910390f35b341561057a57600080fd5b610582610f0c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610f31565b604051808215151515815260200191505060405180910390f35b34156105fc57600080fd5b610604610f71565b6040518082815260200191505060405180910390f35b341561062557600080fd5b61062d610f7b565b604051808215151515815260200191505060405180910390f35b341561065257600080fd5b6106716004808035906020019091908035906020019091905050610fbc565b604051808215151515815260200191505060405180910390f35b341561069657600080fd5b61069e6110c4565b6040518082815260200191505060405180910390f35b34156106bf57600080fd5b6106c76110ca565b6040518082815260200191505060405180910390f35b34156106e857600080fd5b6106fe60048080359060200190919050506110d4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561074b57600080fd5b610753611113565b6040518082815260200191505060405180910390f35b6107716107c4565b604051808215151515815260200191505060405180910390f35b341561079657600080fd5b6107c2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611119565b005b6000600160028111156107d357fe5b600b60009054906101000a900460ff1660028111156107ee57fe5b1415156107fa57600080fd5b600454421015151561080b57600080fd5b6412a05f20003a1115151561081f57600080fd5b60003411151561082e57600080fd5b6108373361126e565b15156108a257426005819055506002600b60006101000a81548160ff0219169083600281111561086357fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6108b7346007546113a690919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109c55780601f1061099a576101008083540402835291602001916109c5565b820191906000526020600020905b8154815290600101906020018083116109a857829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a7357600080fd5b600280811115610a7f57fe5b600b60009054906101000a900460ff166002811115610a9a57fe5b141515610aa657600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b5157600080fd5b60006002811115610b5e57fe5b600b60009054906101000a900460ff166002811115610b7957fe5b141515610b8557600080fd5b428710151515610b9457600080fd5b8660048190555082600c9080519060200190610bb19291906113dd565b508760ff16600a0a600d819055508560088190555084600981905550600854600954600d5402811515610be057fe5b04600681905550836000600281101515610bf657fe5b6020020151600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a6000866001600281101515610c5057fe5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600e819055506001600b60006101000a81548160ff02191690836002811115610cb957fe5b021790555060019050979650505050505050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610db05780601f10610d8557610100808354040283529160200191610db0565b820191906000526020600020905b815481529060010190602001808311610d9357829003601f168201915b505050505081565b6000600954905090565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e0262ed4e006004546113a690919063ffffffff16565b421015610e125760009050610f07565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ec057600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d5402811515610eb857fe5b049050610f07565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e540290505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610f3f57fe5b600b60009054906101000a900460ff166002811115610f5a57fe5b1415610f695760019050610f6e565b600090505b90565b6000600854905090565b600060016002811115610f8a57fe5b600b60009054906101000a900460ff166002811115610fa557fe5b1415610fb45760019050610fb9565b600090505b90565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561101a57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631821115151561104057600080fd5b600c8381548110151561104f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156110ba57600080fd5b6001905092915050565b600d5481565b6000600454905090565b600c818154811015156110e357fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561117457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156111b057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415156112cd57600080fd5b6112e46007546009546113c490919063ffffffff16565b90508034111515156112f557600080fd5b61134734600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113a690919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508034141561139b57600091506113a0565b600191505b50919050565b60008082840190508381101515156113ba57fe5b8091505092915050565b60008282111515156113d257fe5b818303905092915050565b828054828255906000526020600020908101928215611456579160200282015b828111156114555782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906113fd565b5b5090506114639190611467565b5090565b6114a791905b808211156114a357600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161146d565b5090565b905600a165627a7a723058203347779edfc3a0f6305b461b9ad27f1a3b65f81a3de0b455a90fee8da7731d530029a165627a7a72305820e06e163e2b65dec70a67225f5e2beedb5ab0c529a1484b7616e05132f4b283bd0029", + "sourceMap": "245:2597:4:-;;;293:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;333:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;430:5;417:18;;;;;;;;;;;;;;;;;;;;521:29;;;;;;;;245:2597;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "245:2597:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;368:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;293:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;333:31:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1343:652:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;388:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2395:445;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;640:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;368:16;;;;;;;;;;;;;:::o;293:36::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;333:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1343:652::-;1575:7;1592:21;;:::i;:::-;1639:19;1630:1;1616:16;;;;;;;;;;;;;;;;;;;;;;;;1592:40;;1661:21;;:::i;:::-;;;;;;;;;;;;;;;;;;1639:43;;1688:3;:8;;;1697:9;1708:10;1719:1;1708:13;;;;;;;;;;;;;;;;;;1723:10;1734:1;1723:13;;;;;;;;;;;;;;;;;;1738:10;1749:1;1738:13;;;;;;;;;;;;;;;;;;1753:7;1762:13;1777:10;1788:1;1777:13;;;;;;;;;;;;;;;;;;1688:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1688:103:4;1797:3;:21;;;1819:4;;;;;;;;;;;1797:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1849:3;1831:4;1836:1;1831:7;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;1869:2;;;;;;;;;;;:9;;;1879:4;;;;;;;;;;;1885:1;1888:9;1899:7;1908:10;1869:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1859:4:4;1864:1;1859:7;;;;;;;;;;;;;;;;;:60;;;;;;;;;;;1933:4;;;;;;;;;;;:15;;;1949:5;1956:7;1965:9;1976:4;1982:7;1933:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1926:64:4;;1343:652;;;;;;;;;;;;:::o;388:25::-;;;;;;;;;;;;;:::o;2395:445::-;2573:7;2590:21;;:::i;:::-;2628:1;2614:16;;;;;;;;;;;;;;;;;;;;;;;;2590:40;;2646:2;;;;;;;;;;;:9;;;2656:4;;;;;;;;;;;2662:1;2665:9;2676:7;2685:10;2646:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2636:4:4;2641:1;2636:7;;;;;;;;;;;;;;;;;:60;;;;;;;;;;;2712:2;;;;;;;;;;;:9;;;2722:4;;;;;;;;;;;2728:1;2731:9;2742:7;2751:11;2712:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2702:4:4;2707:1;2702:7;;;;;;;;;;;;;;;;;:61;;;;;;;;;;;2777:4;;;;;;;;;;;:15;;;2793:5;2800:7;2809:9;2820:4;2826:7;2777:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2770:64:4;;2395:445;;;;;;;;;:::o;640:148::-;704:5;;;;;;;;;;;703:6;695:15;;;;;;;;728:5;716:4;;:18;;;;;;;;;;;;;;;;;;761:3;740:2;;:25;;;;;;;;;;;;;;;;;;779:4;771:5;;:12;;;;;;;;;;;;;;;;;;640:148;;:::o;245:2597::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o", + "source": "pragma solidity ^0.4.18;\n\nimport \"./ContractManager.sol\";\nimport \"./PoDs/RICOStandardPoD.sol\";\nimport \"./RICO.sol\";\n\n/// @title Launcher - RICO Launcher contract\n/// @author - Yusaku Senga - \n/// license let's see in LICENSE\n\ncontract Launcher {\n\n /**\n * Storage\n */\n string public name = \"RICO Launcher\";\n string public version = \"0.9.3\";\n RICO public rico;\n ContractManager public cm;\n bool state = false;\n /**\n * constructor\n * @dev define owner when this contract deployed.\n */\n\n function Launcher() public {}\n\n /**\n * @dev init rico contract.\n * @param _rico set rico address.\n */\n function init(address _rico, address _cm) public {\n require(!state);\n rico = RICO(_rico);\n cm = ContractManager(_cm);\n state = true;\n }\n\n\n /**\n * @dev standardICO uses 2 pods RICOStandardPoD and SimplePoD.\n * @param _name Token name of RICO format.\n * @param _symbol Token symbol of RICO format.\n * @param _decimals Token decimals of RICO format.\n * @param _wallet Founder's multisigWallet.\n * @param _bidParams params of RICOStandardPoD pod.\n * @param _podParams params of SimplePoD pod.\n * @param _owners array of owners address, 0:bid executor, 1: founder.\n * @param _marketMakers array of marketMakers address of project \n */\n\n function standardICO(\n string _name, \n string _symbol, \n uint8 _decimals, \n address _wallet,\n uint256[] _bidParams,\n uint256[] _podParams,\n address[2] _owners,\n address[] _marketMakers\n ) \n public returns (address)\n {\n address[] memory pods = new address[](2);\n\n RICOStandardPoD rsp = new RICOStandardPoD();\n rsp.init(_decimals, _bidParams[0], _bidParams[1], _bidParams[2], _owners, _marketMakers, _bidParams[3]);\n rsp.transferOwnership(rico);\n\n pods[0] = address(rsp);\n pods[1] = cm.deploy(rico, 0, _decimals, _wallet, _podParams);\n\n return rico.newProject(_name, _symbol, _decimals, pods, _wallet);\n }\n\n\n /**\n * @dev simpleICO uses 2 pods SimplePoD and TokenMintPoD.\n * @param _name Token name of RICO format.\n * @param _symbol Token symbol of RICO format.\n * @param _decimals Token decimals of RICO format.\n * @param _wallet Founder's multisigWallet.\n * @param _podParams params of SimplePoD pod.\n * @param _mintParams params of TokenMintPoD pod.\n */\n\n function simpleICO(\n string _name, \n string _symbol, \n uint8 _decimals, \n address _wallet,\n uint256[] _podParams,\n uint256[] _mintParams\n ) \n public returns (address)\n {\n address[] memory pods = new address[](2);\n pods[0] = cm.deploy(rico, 0, _decimals, _wallet, _podParams);\n pods[1] = cm.deploy(rico, 1, _decimals, _wallet, _mintParams);\n\n return rico.newProject(_name, _symbol, _decimals, pods, _wallet);\n\n }\n}\n\n", "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/Launcher.sol", "ast": { "attributes": { "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/Launcher.sol", "exportedSymbols": { "Launcher": [ - 620 + 617 ] } }, @@ -183,52 +193,52 @@ ".18" ] }, - "id": 408, + "id": 403, "name": "PragmaDirective", "src": "0:24:4" }, { "attributes": { - "SourceUnit": 154, + "SourceUnit": 149, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/ContractManager.sol", "file": "./ContractManager.sol", - "scope": 621, + "scope": 618, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 409, + "id": 404, "name": "ImportDirective", "src": "26:31:4" }, { "attributes": { - "SourceUnit": 1406, + "SourceUnit": 3753, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/RICOStandardPoD.sol", "file": "./PoDs/RICOStandardPoD.sol", - "scope": 621, + "scope": 618, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 410, + "id": 405, "name": "ImportDirective", "src": "58:36:4" }, { "attributes": { - "SourceUnit": 2058, + "SourceUnit": 4405, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/RICO.sol", "file": "./RICO.sol", - "scope": 621, + "scope": 618, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 411, + "id": 406, "name": "ImportDirective", "src": "95:20:4" }, @@ -238,23 +248,23 @@ null ], "contractDependencies": [ - 1405 + 3752 ], "contractKind": "contract", "documentation": "@title Launcher - RICO Launcher contract\n @author - Yusaku Senga - \n license let's see in LICENSE", "fullyImplemented": true, "linearizedBaseContracts": [ - 620 + 617 ], "name": "Launcher", - "scope": 621 + "scope": 618 }, "children": [ { "attributes": { "constant": false, "name": "name", - "scope": 620, + "scope": 617, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -266,7 +276,7 @@ "name": "string", "type": "string storage pointer" }, - "id": 412, + "id": 407, "name": "ElementaryTypeName", "src": "293:6:4" }, @@ -283,12 +293,12 @@ "type": "literal_string \"RICO Launcher\"", "value": "RICO Launcher" }, - "id": 413, + "id": 408, "name": "Literal", "src": "314:15:4" } ], - "id": 414, + "id": 409, "name": "VariableDeclaration", "src": "293:36:4" }, @@ -296,7 +306,7 @@ "attributes": { "constant": false, "name": "version", - "scope": 620, + "scope": 617, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -308,7 +318,7 @@ "name": "string", "type": "string storage pointer" }, - "id": 415, + "id": 410, "name": "ElementaryTypeName", "src": "333:6:4" }, @@ -325,12 +335,12 @@ "type": "literal_string \"0.9.3\"", "value": "0.9.3" }, - "id": 416, + "id": 411, "name": "Literal", "src": "357:7:4" } ], - "id": 417, + "id": 412, "name": "VariableDeclaration", "src": "333:31:4" }, @@ -338,7 +348,7 @@ "attributes": { "constant": false, "name": "rico", - "scope": 620, + "scope": 617, "stateVariable": true, "storageLocation": "default", "type": "contract RICO", @@ -350,15 +360,15 @@ "attributes": { "contractScope": null, "name": "RICO", - "referencedDeclaration": 2057, + "referencedDeclaration": 4404, "type": "contract RICO" }, - "id": 418, + "id": 413, "name": "UserDefinedTypeName", "src": "368:4:4" } ], - "id": 419, + "id": 414, "name": "VariableDeclaration", "src": "368:16:4" }, @@ -366,7 +376,7 @@ "attributes": { "constant": false, "name": "cm", - "scope": 620, + "scope": 617, "stateVariable": true, "storageLocation": "default", "type": "contract ContractManager", @@ -378,15 +388,15 @@ "attributes": { "contractScope": null, "name": "ContractManager", - "referencedDeclaration": 153, + "referencedDeclaration": 148, "type": "contract ContractManager" }, - "id": 420, + "id": 415, "name": "UserDefinedTypeName", "src": "388:15:4" } ], - "id": 421, + "id": 416, "name": "VariableDeclaration", "src": "388:25:4" }, @@ -394,7 +404,7 @@ "attributes": { "constant": false, "name": "state", - "scope": 620, + "scope": 617, "stateVariable": true, "storageLocation": "default", "type": "bool", @@ -406,7 +416,7 @@ "name": "bool", "type": "bool" }, - "id": 422, + "id": 417, "name": "ElementaryTypeName", "src": "417:4:4" }, @@ -423,12 +433,12 @@ "type": "bool", "value": "false" }, - "id": 423, + "id": 418, "name": "Literal", "src": "430:5:4" } ], - "id": 424, + "id": 419, "name": "VariableDeclaration", "src": "417:18:4" }, @@ -442,7 +452,7 @@ ], "name": "Launcher", "payable": false, - "scope": 620, + "scope": 617, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -455,7 +465,7 @@ ] }, "children": [], - "id": 425, + "id": 420, "name": "ParameterList", "src": "538:2:4" }, @@ -466,7 +476,7 @@ ] }, "children": [], - "id": 426, + "id": 421, "name": "ParameterList", "src": "548:0:4" }, @@ -477,12 +487,12 @@ ] }, "children": [], - "id": 427, + "id": 422, "name": "Block", "src": "548:2:4" } ], - "id": 428, + "id": 423, "name": "FunctionDefinition", "src": "521:29:4" }, @@ -496,7 +506,7 @@ ], "name": "init", "payable": false, - "scope": 620, + "scope": 617, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -508,7 +518,7 @@ "attributes": { "constant": false, "name": "_rico", - "scope": 457, + "scope": 452, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -521,12 +531,12 @@ "name": "address", "type": "address" }, - "id": 429, + "id": 424, "name": "ElementaryTypeName", "src": "654:7:4" } ], - "id": 430, + "id": 425, "name": "VariableDeclaration", "src": "654:13:4" }, @@ -534,7 +544,7 @@ "attributes": { "constant": false, "name": "_cm", - "scope": 457, + "scope": 452, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -547,17 +557,17 @@ "name": "address", "type": "address" }, - "id": 431, + "id": 426, "name": "ElementaryTypeName", "src": "669:7:4" } ], - "id": 432, + "id": 427, "name": "VariableDeclaration", "src": "669:11:4" } ], - "id": 433, + "id": 428, "name": "ParameterList", "src": "653:28:4" }, @@ -568,7 +578,7 @@ ] }, "children": [], - "id": 434, + "id": 429, "name": "ParameterList", "src": "689:0:4" }, @@ -602,11 +612,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 435, + "id": 430, "name": "Identifier", "src": "695:7:4" }, @@ -628,26 +638,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 424, + "referencedDeclaration": 419, "type": "bool", "value": "state" }, - "id": 436, + "id": 431, "name": "Identifier", "src": "704:5:4" } ], - "id": 437, + "id": 432, "name": "UnaryOperation", "src": "703:6:4" } ], - "id": 438, + "id": 433, "name": "FunctionCall", "src": "695:15:4" } ], - "id": 439, + "id": 434, "name": "ExpressionStatement", "src": "695:15:4" }, @@ -670,11 +680,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 419, + "referencedDeclaration": 414, "type": "contract RICO", "value": "rico" }, - "id": 440, + "id": 435, "name": "Identifier", "src": "716:4:4" }, @@ -704,11 +714,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2057, + "referencedDeclaration": 4404, "type": "type(contract RICO)", "value": "RICO" }, - "id": 441, + "id": 436, "name": "Identifier", "src": "723:4:4" }, @@ -718,26 +728,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 430, + "referencedDeclaration": 425, "type": "address", "value": "_rico" }, - "id": 442, + "id": 437, "name": "Identifier", "src": "728:5:4" } ], - "id": 443, + "id": 438, "name": "FunctionCall", "src": "723:11:4" } ], - "id": 444, + "id": 439, "name": "Assignment", "src": "716:18:4" } ], - "id": 445, + "id": 440, "name": "ExpressionStatement", "src": "716:18:4" }, @@ -760,11 +770,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 421, + "referencedDeclaration": 416, "type": "contract ContractManager", "value": "cm" }, - "id": 446, + "id": 441, "name": "Identifier", "src": "740:2:4" }, @@ -794,11 +804,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 153, + "referencedDeclaration": 148, "type": "type(contract ContractManager)", "value": "ContractManager" }, - "id": 447, + "id": 442, "name": "Identifier", "src": "745:15:4" }, @@ -808,26 +818,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 432, + "referencedDeclaration": 427, "type": "address", "value": "_cm" }, - "id": 448, + "id": 443, "name": "Identifier", "src": "761:3:4" } ], - "id": 449, + "id": 444, "name": "FunctionCall", "src": "745:20:4" } ], - "id": 450, + "id": 445, "name": "Assignment", "src": "740:25:4" } ], - "id": 451, + "id": 446, "name": "ExpressionStatement", "src": "740:25:4" }, @@ -850,11 +860,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 424, + "referencedDeclaration": 419, "type": "bool", "value": "state" }, - "id": 452, + "id": 447, "name": "Identifier", "src": "771:5:4" }, @@ -871,27 +881,27 @@ "type": "bool", "value": "true" }, - "id": 453, + "id": 448, "name": "Literal", "src": "779:4:4" } ], - "id": 454, + "id": 449, "name": "Assignment", "src": "771:12:4" } ], - "id": 455, + "id": 450, "name": "ExpressionStatement", "src": "771:12:4" } ], - "id": 456, + "id": 451, "name": "Block", "src": "689:99:4" } ], - "id": 457, + "id": 452, "name": "FunctionDefinition", "src": "640:148:4" }, @@ -903,9 +913,9 @@ "modifiers": [ null ], - "name": "kickStartA", + "name": "standardICO", "payable": false, - "scope": 620, + "scope": 617, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -917,7 +927,7 @@ "attributes": { "constant": false, "name": "_name", - "scope": 555, + "scope": 551, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -930,20 +940,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 458, + "id": 453, "name": "ElementaryTypeName", - "src": "1367:6:4" + "src": "1369:6:4" } ], - "id": 459, + "id": 454, "name": "VariableDeclaration", - "src": "1367:12:4" + "src": "1369:12:4" }, { "attributes": { "constant": false, "name": "_symbol", - "scope": 555, + "scope": 551, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -956,20 +966,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 460, + "id": 455, "name": "ElementaryTypeName", - "src": "1386:6:4" + "src": "1388:6:4" } ], - "id": 461, + "id": 456, "name": "VariableDeclaration", - "src": "1386:14:4" + "src": "1388:14:4" }, { "attributes": { "constant": false, "name": "_decimals", - "scope": 555, + "scope": 551, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -982,20 +992,20 @@ "name": "uint8", "type": "uint8" }, - "id": 462, + "id": 457, "name": "ElementaryTypeName", - "src": "1407:5:4" + "src": "1409:5:4" } ], - "id": 463, + "id": 458, "name": "VariableDeclaration", - "src": "1407:15:4" + "src": "1409:15:4" }, { "attributes": { "constant": false, "name": "_wallet", - "scope": 555, + "scope": 551, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1008,20 +1018,20 @@ "name": "address", "type": "address" }, - "id": 464, + "id": 459, "name": "ElementaryTypeName", - "src": "1429:7:4" + "src": "1431:7:4" } ], - "id": 465, + "id": 460, "name": "VariableDeclaration", - "src": "1429:15:4" + "src": "1431:15:4" }, { "attributes": { "constant": false, - "name": "_tobParams", - "scope": 555, + "name": "_bidParams", + "scope": 551, "stateVariable": false, "storageLocation": "default", "type": "uint256[] memory", @@ -1040,25 +1050,25 @@ "name": "uint256", "type": "uint256" }, - "id": 466, + "id": 461, "name": "ElementaryTypeName", - "src": "1450:7:4" + "src": "1452:7:4" } ], - "id": 467, + "id": 462, "name": "ArrayTypeName", - "src": "1450:9:4" + "src": "1452:9:4" } ], - "id": 468, + "id": 463, "name": "VariableDeclaration", - "src": "1450:20:4" + "src": "1452:20:4" }, { "attributes": { "constant": false, "name": "_podParams", - "scope": 555, + "scope": 551, "stateVariable": false, "storageLocation": "default", "type": "uint256[] memory", @@ -1077,25 +1087,25 @@ "name": "uint256", "type": "uint256" }, - "id": 469, + "id": 464, "name": "ElementaryTypeName", - "src": "1476:7:4" + "src": "1478:7:4" } ], - "id": 470, + "id": 465, "name": "ArrayTypeName", - "src": "1476:9:4" + "src": "1478:9:4" } ], - "id": 471, + "id": 466, "name": "VariableDeclaration", - "src": "1476:20:4" + "src": "1478:20:4" }, { "attributes": { "constant": false, "name": "_owners", - "scope": 555, + "scope": 551, "stateVariable": false, "storageLocation": "default", "type": "address[2] memory", @@ -1113,9 +1123,9 @@ "name": "address", "type": "address" }, - "id": 472, + "id": 467, "name": "ElementaryTypeName", - "src": "1502:7:4" + "src": "1504:7:4" }, { "attributes": { @@ -1130,25 +1140,25 @@ "type": "int_const 2", "value": "2" }, - "id": 473, + "id": 468, "name": "Literal", - "src": "1510:1:4" + "src": "1512:1:4" } ], - "id": 474, + "id": 469, "name": "ArrayTypeName", - "src": "1502:10:4" + "src": "1504:10:4" } ], - "id": 475, + "id": 470, "name": "VariableDeclaration", - "src": "1502:18:4" + "src": "1504:18:4" }, { "attributes": { "constant": false, "name": "_marketMakers", - "scope": 555, + "scope": 551, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -1167,42 +1177,64 @@ "name": "address", "type": "address" }, - "id": 476, + "id": 471, "name": "ElementaryTypeName", - "src": "1526:7:4" + "src": "1528:7:4" } ], - "id": 477, + "id": 472, "name": "ArrayTypeName", - "src": "1526:9:4" + "src": "1528:9:4" } ], - "id": 478, + "id": 473, "name": "VariableDeclaration", - "src": "1526:23:4" + "src": "1528:23:4" } ], - "id": 479, + "id": 474, "name": "ParameterList", - "src": "1361:192:4" + "src": "1363:192:4" }, { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 480, + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 551, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 475, + "name": "ElementaryTypeName", + "src": "1575:7:4" + } + ], + "id": 476, + "name": "VariableDeclaration", + "src": "1575:7:4" + } + ], + "id": 477, "name": "ParameterList", - "src": "1567:0:4" + "src": "1574:9:4" }, { "children": [ { "attributes": { "assignments": [ - 484 + 481 ] }, "children": [ @@ -1210,7 +1242,7 @@ "attributes": { "constant": false, "name": "pods", - "scope": 555, + "scope": 551, "stateVariable": false, "storageLocation": "memory", "type": "address[] memory", @@ -1229,19 +1261,19 @@ "name": "address", "type": "address" }, - "id": 482, + "id": 479, "name": "ElementaryTypeName", - "src": "1573:7:4" + "src": "1592:7:4" } ], - "id": 483, + "id": 480, "name": "ArrayTypeName", - "src": "1573:9:4" + "src": "1592:9:4" } ], - "id": 484, + "id": 481, "name": "VariableDeclaration", - "src": "1573:21:4" + "src": "1592:21:4" }, { "attributes": { @@ -1284,19 +1316,19 @@ "name": "address", "type": "address" }, - "id": 485, + "id": 482, "name": "ElementaryTypeName", - "src": "1601:7:4" + "src": "1620:7:4" } ], - "id": 486, + "id": 483, "name": "ArrayTypeName", - "src": "1601:9:4" + "src": "1620:9:4" } ], - "id": 487, + "id": 484, "name": "NewExpression", - "src": "1597:13:4" + "src": "1616:13:4" }, { "attributes": { @@ -1311,32 +1343,32 @@ "type": "int_const 2", "value": "2" }, - "id": 488, + "id": 485, "name": "Literal", - "src": "1611:1:4" + "src": "1630:1:4" } ], - "id": 489, + "id": 486, "name": "FunctionCall", - "src": "1597:16:4" + "src": "1616:16:4" } ], - "id": 490, + "id": 487, "name": "VariableDeclarationStatement", - "src": "1573:40:4" + "src": "1592:40:4" }, { "attributes": { "assignments": [ - 492 + 489 ] }, "children": [ { "attributes": { "constant": false, - "name": "tob", - "scope": 555, + "name": "rsp", + "scope": 551, "stateVariable": false, "storageLocation": "default", "type": "contract RICOStandardPoD", @@ -1348,17 +1380,17 @@ "attributes": { "contractScope": null, "name": "RICOStandardPoD", - "referencedDeclaration": 1405, + "referencedDeclaration": 3752, "type": "contract RICOStandardPoD" }, - "id": 491, + "id": 488, "name": "UserDefinedTypeName", - "src": "1620:15:4" + "src": "1639:15:4" } ], - "id": 492, + "id": 489, "name": "VariableDeclaration", - "src": "1620:19:4" + "src": "1639:19:4" }, { "attributes": { @@ -1394,27 +1426,27 @@ "attributes": { "contractScope": null, "name": "RICOStandardPoD", - "referencedDeclaration": 1405, + "referencedDeclaration": 3752, "type": "contract RICOStandardPoD" }, - "id": 493, + "id": 490, "name": "UserDefinedTypeName", - "src": "1646:15:4" + "src": "1665:15:4" } ], - "id": 494, + "id": 491, "name": "NewExpression", - "src": "1642:19:4" + "src": "1661:19:4" } ], - "id": 495, + "id": 492, "name": "FunctionCall", - "src": "1642:21:4" + "src": "1661:21:4" } ], - "id": 496, + "id": 493, "name": "VariableDeclarationStatement", - "src": "1620:43:4" + "src": "1639:43:4" }, { "children": [ @@ -1430,8 +1462,7 @@ null ], "type": "bool", - "type_conversion": false, - "operator": "=" + "type_conversion": false }, "children": [ { @@ -1471,7 +1502,7 @@ "isPure": false, "lValueRequested": false, "member_name": "init", - "referencedDeclaration": 1260, + "referencedDeclaration": 3607, "type": "function (uint8,uint256,uint256,uint256,address[2] memory,address[] memory,uint256) external returns (bool)" }, "children": [ @@ -1481,35 +1512,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 492, + "referencedDeclaration": 489, "type": "contract RICOStandardPoD", - "value": "tob" + "value": "rsp" }, - "id": 497, + "id": 494, "name": "Identifier", - "src": "1669:3:4" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 524, - "name": "Literal", - "src": "1510:1:4" + "src": "1688:3:4" } ], - "id": 499, + "id": 496, "name": "MemberAccess", - "src": "1669:8:4" + "src": "1688:8:4" }, { "attributes": { @@ -1517,57 +1531,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 463, + "referencedDeclaration": 458, "type": "uint8", - "value": "_decimals", - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type_conversion": true + "value": "_decimals" }, - "id": 500, + "id": 497, "name": "Identifier", - "src": "1678:9:4", - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_RICOStandardPoD_$1744", - "typeString": "contract RICOStandardPoD" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address" - }, - "id": 526, - "name": "ElementaryTypeNameExpression", - "src": "1515:7:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 518, - "type": "contract RICOStandardPoD", - "value": "tob" - }, - "id": 527, - "name": "Identifier", - "src": "1523:3:4" - } - ] + "src": "1697:9:4" }, { "attributes": { @@ -1585,13 +1555,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 468, + "referencedDeclaration": 463, "type": "uint256[] memory", - "value": "_tobParams" + "value": "_bidParams" }, - "id": 501, + "id": 498, "name": "Identifier", - "src": "1689:10:4" + "src": "1708:10:4" }, { "attributes": { @@ -1606,14 +1576,14 @@ "type": "int_const 0", "value": "0" }, - "id": 502, + "id": 499, "name": "Literal", - "src": "1700:1:4" + "src": "1719:1:4" } ], - "id": 503, + "id": 500, "name": "IndexAccess", - "src": "1689:13:4" + "src": "1708:13:4" }, { "attributes": { @@ -1631,13 +1601,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 468, + "referencedDeclaration": 463, "type": "uint256[] memory", - "value": "_tobParams" + "value": "_bidParams" }, - "id": 504, + "id": 501, "name": "Identifier", - "src": "1704:10:4" + "src": "1723:10:4" }, { "attributes": { @@ -1652,14 +1622,14 @@ "type": "int_const 1", "value": "1" }, - "id": 505, + "id": 502, "name": "Literal", - "src": "1715:1:4" + "src": "1734:1:4" } ], - "id": 506, + "id": 503, "name": "IndexAccess", - "src": "1704:13:4" + "src": "1723:13:4" }, { "attributes": { @@ -1677,13 +1647,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 468, + "referencedDeclaration": 463, "type": "uint256[] memory", - "value": "_tobParams" + "value": "_bidParams" }, - "id": 507, + "id": 504, "name": "Identifier", - "src": "1719:10:4" + "src": "1738:10:4" }, { "attributes": { @@ -1698,14 +1668,14 @@ "type": "int_const 2", "value": "2" }, - "id": 508, + "id": 505, "name": "Literal", - "src": "1730:1:4" + "src": "1749:1:4" } ], - "id": 509, + "id": 506, "name": "IndexAccess", - "src": "1719:13:4" + "src": "1738:13:4" }, { "attributes": { @@ -1713,13 +1683,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 475, + "referencedDeclaration": 470, "type": "address[2] memory", "value": "_owners" }, - "id": 510, + "id": 507, "name": "Identifier", - "src": "1734:7:4" + "src": "1753:7:4" }, { "attributes": { @@ -1727,13 +1697,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 478, + "referencedDeclaration": 473, "type": "address[] memory", "value": "_marketMakers" }, - "id": 511, + "id": 508, "name": "Identifier", - "src": "1743:13:4" + "src": "1762:13:4" }, { "attributes": { @@ -1751,13 +1721,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 468, + "referencedDeclaration": 463, "type": "uint256[] memory", - "value": "_tobParams" + "value": "_bidParams" }, - "id": 512, + "id": 509, "name": "Identifier", - "src": "1758:10:4" + "src": "1777:10:4" }, { "attributes": { @@ -1772,24 +1742,24 @@ "type": "int_const 3", "value": "3" }, - "id": 513, + "id": 510, "name": "Literal", - "src": "1769:1:4" + "src": "1788:1:4" } ], - "id": 514, + "id": 511, "name": "IndexAccess", - "src": "1758:13:4" + "src": "1777:13:4" } ], - "id": 515, + "id": 512, "name": "FunctionCall", - "src": "1669:103:4" + "src": "1688:103:4" } ], - "id": 516, + "id": 513, "name": "ExpressionStatement", - "src": "1669:103:4" + "src": "1688:103:4" }, { "children": [ @@ -1799,13 +1769,12 @@ "isConstant": false, "isLValue": false, "isPure": false, - "lValueRequested": false, - "operator": "=", - "type": "tuple()", "isStructConstructorCall": false, + "lValueRequested": false, "names": [ null ], + "type": "tuple()", "type_conversion": false }, "children": [ @@ -1813,7 +1782,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_RICO_$2057", + "typeIdentifier": "t_contract$_RICO_$4404", "typeString": "contract RICO" } ], @@ -1821,9 +1790,9 @@ "isLValue": false, "isPure": false, "lValueRequested": false, - "type": "function (address) external", "member_name": "transferOwnership", - "referencedDeclaration": 872 + "referencedDeclaration": 2083, + "type": "function (address) external" }, "children": [ { @@ -1832,13 +1801,79 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 492, + "referencedDeclaration": 489, "type": "contract RICOStandardPoD", - "value": "tob" + "value": "rsp" + }, + "id": 514, + "name": "Identifier", + "src": "1797:3:4" + } + ], + "id": 516, + "name": "MemberAccess", + "src": "1797:21:4" + }, + { + "attributes": { + "argumentTypes": null, + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 414, + "type": "contract RICO", + "value": "rico" + }, + "id": 517, + "name": "Identifier", + "src": "1819:4:4" + } + ], + "id": 518, + "name": "FunctionCall", + "src": "1797:27:4" + } + ], + "id": 519, + "name": "ExpressionStatement", + "src": "1797:27:4" + }, + { + "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": 481, + "type": "address[] memory", + "value": "pods" }, - "id": 517, + "id": 520, "name": "Identifier", - "src": "1778:3:4" + "src": "1831:4:4" }, { "attributes": { @@ -1853,220 +1888,14 @@ "type": "int_const 0", "value": "0" }, - "id": 564, + "id": 521, "name": "Literal", - "src": "1508:1:4" + "src": "1836:1:4" } ], - "id": 519, - "name": "MemberAccess", - "src": "1778:21:4" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract RICO", - "type_conversion": true, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 419, - "value": "rico" - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_RICOStandardPoD_$1797", - "typeString": "contract RICOStandardPoD" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "type": "type(address)", - "value": "address", - "member_name": "deploy", - "referencedDeclaration": 178 - }, - "id": 566, - "name": "ElementaryTypeNameExpression", - "src": "1513:7:4", - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 447, - "type": "contract ContractManager", - "value": "cm" - }, - "id": 534, - "name": "Identifier", - "src": "1543:2:4" - } - ] - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 538, - "type": "contract RICOStandardPoD", - "value": "tob", - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number" - }, - "id": 567, - "name": "Identifier", - "src": "1521:3:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 489, - "type": "uint8", - "value": "_decimals" - }, - "id": 537, - "name": "Identifier", - "src": "1556:9:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 491, - "type": "address", - "value": "_wallet" - }, - "id": 538, - "name": "Identifier", - "src": "1567:7:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 497, - "type": "uint256[] memory", - "value": "_podParams" - }, - "id": 539, - "name": "Identifier", - "src": "1576:10:4" - } - ], - "id": 520, - "name": "Identifier", - "src": "1800:4:4" - } - ], - "id": 521, - "name": "FunctionCall", - "src": "1778:27:4" - } - ], - "id": 522, - "name": "ExpressionStatement", - "src": "1778:27:4" - }, - { - "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": 484, - "type": "address[] memory", - "value": "pods" - }, - "id": 523, - "name": "Identifier", - "src": "1812:4:4" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "int_const 0", - "value": "0" - }, - "id": 524, - "name": "Literal", - "src": "1817:1:4" - } - ], - "id": 525, - "name": "IndexAccess", - "src": "1812:7:4" + "id": 522, + "name": "IndexAccess", + "src": "1831:7:4" }, { "attributes": { @@ -2087,75 +1916,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_RICOStandardPoD_$1405", + "typeIdentifier": "t_contract$_RICOStandardPoD_$3752", "typeString": "contract RICOStandardPoD" - }, - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[] memory" } ], "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "member_name": "deploy", - "referencedDeclaration": 198, "type": "type(address)", "value": "address" }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 467, - "type": "contract ContractManager", - "value": "cm" - }, - "id": 574, - "name": "Identifier", - "src": "1541:2:4" - } - ], - "id": 526, + "id": 523, "name": "ElementaryTypeNameExpression", - "src": "1822:7:4" - }, - { - "attributes": { - "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "contract RICOStandardPoD", - "value": "tob", - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 492 - }, - "id": 527, - "name": "Identifier", - "src": "1830:3:4" + "src": "1841:7:4" }, { "attributes": { @@ -2164,76 +1938,27 @@ null ], "referencedDeclaration": 489, - "type": "int_const 0", - "value": "0", - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number" - }, - "id": 577, - "name": "Literal", - "src": "1557:1:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 509, - "type": "uint8", - "value": "_decimals" - }, - "id": 578, - "name": "Identifier", - "src": "1560:9:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 511, - "type": "address", - "value": "_wallet" - }, - "id": 579, - "name": "Identifier", - "src": "1571:7:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 517, - "type": "uint256[] memory", - "value": "_podParams" + "type": "contract RICOStandardPoD", + "value": "rsp" }, - "id": 580, + "id": 524, "name": "Identifier", - "src": "1580:10:4" + "src": "1849:3:4" } ], - "id": 528, + "id": 525, "name": "FunctionCall", - "src": "1822:12:4" + "src": "1841:12:4" } ], - "id": 529, + "id": 526, "name": "Assignment", - "src": "1812:22:4" + "src": "1831:22:4" } ], - "id": 530, + "id": 527, "name": "ExpressionStatement", - "src": "1812:22:4" + "src": "1831:22:4" }, { "children": [ @@ -2243,14 +1968,9 @@ "isConstant": false, "isLValue": false, "isPure": false, - "isStructConstructorCall": false, "lValueRequested": false, - "names": [ - null - ], - "type": "address", - "type_conversion": false, - "operator": "=" + "operator": "=", + "type": "address" }, "children": [ { @@ -2260,8 +1980,6 @@ "isLValue": true, "isPure": false, "lValueRequested": true, - "member_name": "newProject", - "referencedDeclaration": 2252, "type": "address" }, "children": [ @@ -2271,13 +1989,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 484, + "referencedDeclaration": 481, "type": "address[] memory", "value": "pods" }, - "id": 531, + "id": 528, "name": "Identifier", - "src": "1840:4:4" + "src": "1859:4:4" }, { "attributes": { @@ -2292,24 +2010,18 @@ "type": "int_const 1", "value": "1" }, - "id": 532, + "id": 529, "name": "Literal", - "src": "1845:1:4" + "src": "1864:1:4" } ], - "id": 533, + "id": 530, "name": "IndexAccess", - "src": "1840:7:4" + "src": "1859:7:4" }, { "attributes": { "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 505, - "type": "address", - "value": "_name", "isConstant": false, "isLValue": false, "isPure": false, @@ -2318,17 +2030,15 @@ "names": [ null ], + "type": "address", "type_conversion": false }, - "id": 541, - "name": "FunctionCall", - "src": "1850:50:4", "children": [ { "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_RICO_$2057", + "typeIdentifier": "t_contract$_RICO_$4404", "typeString": "contract RICO" }, { @@ -2353,7 +2063,7 @@ "isPure": false, "lValueRequested": false, "member_name": "deploy", - "referencedDeclaration": 152, + "referencedDeclaration": 147, "type": "function (address,uint256,uint8,address,uint256[] memory) external returns (address)" }, "children": [ @@ -2363,18 +2073,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 421, + "referencedDeclaration": 416, "type": "contract ContractManager", "value": "cm" }, - "id": 534, + "id": 531, "name": "Identifier", - "src": "1850:2:4" + "src": "1869:2:4" } ], - "id": 535, + "id": 532, "name": "MemberAccess", - "src": "1850:9:4" + "src": "1869:9:4" }, { "attributes": { @@ -2382,13 +2092,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 419, + "referencedDeclaration": 414, "type": "contract RICO", "value": "rico" }, - "id": 536, + "id": 533, "name": "Identifier", - "src": "1860:4:4" + "src": "1879:4:4" }, { "attributes": { @@ -2403,9 +2113,9 @@ "type": "int_const 0", "value": "0" }, - "id": 537, + "id": 534, "name": "Literal", - "src": "1866:1:4" + "src": "1885:1:4" }, { "attributes": { @@ -2413,13 +2123,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 463, + "referencedDeclaration": 458, "type": "uint8", "value": "_decimals" }, - "id": 538, + "id": 535, "name": "Identifier", - "src": "1869:9:4" + "src": "1888:9:4" }, { "attributes": { @@ -2427,13 +2137,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 465, + "referencedDeclaration": 460, "type": "address", "value": "_wallet" }, - "id": 539, + "id": 536, "name": "Identifier", - "src": "1880:7:4" + "src": "1899:7:4" }, { "attributes": { @@ -2441,83 +2151,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 471, + "referencedDeclaration": 466, "type": "uint256[] memory", "value": "_podParams" }, - "id": 540, + "id": 537, "name": "Identifier", - "src": "1889:10:4" + "src": "1908:10:4" } - ] - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 507, - "type": "string memory", - "value": "_symbol" - }, - "id": 588, - "name": "Identifier", - "src": "1621:7:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 509, - "type": "uint8", - "value": "_decimals" - }, - "id": 589, - "name": "Identifier", - "src": "1630:9:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 530, - "type": "address[] memory", - "value": "pods" - }, - "id": 590, - "name": "Identifier", - "src": "1641:4:4" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 511, - "type": "address", - "value": "_wallet" - }, - "id": 591, - "name": "Identifier", - "src": "1647:7:4" + ], + "id": 538, + "name": "FunctionCall", + "src": "1869:50:4" } ], - "id": 542, + "id": 539, "name": "Assignment", - "src": "1840:60:4" + "src": "1859:60:4" } ], - "id": 543, + "id": 540, "name": "ExpressionStatement", - "src": "1840:60:4" + "src": "1859:60:4" }, { + "attributes": { + "functionReturnParameters": 477 + }, "children": [ { "attributes": { @@ -2563,7 +2223,7 @@ "isPure": false, "lValueRequested": false, "member_name": "newProject", - "referencedDeclaration": 1860, + "referencedDeclaration": 4207, "type": "function (string memory,string memory,uint8,address[] memory,address) external returns (address)" }, "children": [ @@ -2573,18 +2233,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 419, + "referencedDeclaration": 414, "type": "contract RICO", "value": "rico" }, - "id": 544, + "id": 541, "name": "Identifier", - "src": "1907:4:4" + "src": "1933:4:4" } ], - "id": 546, + "id": 542, "name": "MemberAccess", - "src": "1907:15:4" + "src": "1933:15:4" }, { "attributes": { @@ -2592,13 +2252,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 459, + "referencedDeclaration": 454, "type": "string memory", "value": "_name" }, - "id": 547, + "id": 543, "name": "Identifier", - "src": "1923:5:4" + "src": "1949:5:4" }, { "attributes": { @@ -2606,13 +2266,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 461, + "referencedDeclaration": 456, "type": "string memory", "value": "_symbol" }, - "id": 548, + "id": 544, "name": "Identifier", - "src": "1930:7:4" + "src": "1956:7:4" }, { "attributes": { @@ -2620,13 +2280,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 463, + "referencedDeclaration": 458, "type": "uint8", "value": "_decimals" }, - "id": 549, + "id": 545, "name": "Identifier", - "src": "1939:9:4" + "src": "1965:9:4" }, { "attributes": { @@ -2634,13 +2294,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 484, + "referencedDeclaration": 481, "type": "address[] memory", "value": "pods" }, - "id": 550, + "id": 546, "name": "Identifier", - "src": "1950:4:4" + "src": "1976:4:4" }, { "attributes": { @@ -2648,33 +2308,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 465, + "referencedDeclaration": 460, "type": "address", "value": "_wallet" }, - "id": 551, + "id": 547, "name": "Identifier", - "src": "1956:7:4" + "src": "1982:7:4" } ], - "id": 552, + "id": 548, "name": "FunctionCall", - "src": "1907:57:4" + "src": "1933:57:4" } ], - "id": 553, - "name": "ExpressionStatement", - "src": "1907:57:4" + "id": 549, + "name": "Return", + "src": "1926:64:4" } ], - "id": 554, + "id": 550, "name": "Block", - "src": "1567:402:4" + "src": "1586:409:4" } ], - "id": 555, + "id": 551, "name": "FunctionDefinition", - "src": "1342:627:4" + "src": "1343:652:4" }, { "attributes": { @@ -2684,9 +2344,9 @@ "modifiers": [ null ], - "name": "kickStartB", + "name": "simpleICO", "payable": false, - "scope": 620, + "scope": 617, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2698,7 +2358,7 @@ "attributes": { "constant": false, "name": "_name", - "scope": 619, + "scope": 616, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -2711,20 +2371,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 556, + "id": 552, "name": "ElementaryTypeName", - "src": "2395:6:4" + "src": "2419:6:4" } ], - "id": 557, + "id": 553, "name": "VariableDeclaration", - "src": "2395:12:4" + "src": "2419:12:4" }, { "attributes": { "constant": false, "name": "_symbol", - "scope": 619, + "scope": 616, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -2737,20 +2397,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 558, + "id": 554, "name": "ElementaryTypeName", - "src": "2414:6:4" + "src": "2438:6:4" } ], - "id": 559, + "id": 555, "name": "VariableDeclaration", - "src": "2414:14:4" + "src": "2438:14:4" }, { "attributes": { "constant": false, "name": "_decimals", - "scope": 619, + "scope": 616, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -2763,20 +2423,20 @@ "name": "uint8", "type": "uint8" }, - "id": 560, + "id": 556, "name": "ElementaryTypeName", - "src": "2435:5:4" + "src": "2459:5:4" } ], - "id": 561, + "id": 557, "name": "VariableDeclaration", - "src": "2435:15:4" + "src": "2459:15:4" }, { "attributes": { "constant": false, "name": "_wallet", - "scope": 619, + "scope": 616, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2789,20 +2449,20 @@ "name": "address", "type": "address" }, - "id": 562, + "id": 558, "name": "ElementaryTypeName", - "src": "2457:7:4" + "src": "2481:7:4" } ], - "id": 563, + "id": 559, "name": "VariableDeclaration", - "src": "2457:15:4" + "src": "2481:15:4" }, { "attributes": { "constant": false, "name": "_podParams", - "scope": 619, + "scope": 616, "stateVariable": false, "storageLocation": "default", "type": "uint256[] memory", @@ -2821,25 +2481,25 @@ "name": "uint256", "type": "uint256" }, - "id": 564, + "id": 560, "name": "ElementaryTypeName", - "src": "2478:7:4" + "src": "2502:7:4" } ], - "id": 565, + "id": 561, "name": "ArrayTypeName", - "src": "2478:9:4" + "src": "2502:9:4" } ], - "id": 566, + "id": 562, "name": "VariableDeclaration", - "src": "2478:20:4" + "src": "2502:20:4" }, { "attributes": { "constant": false, "name": "_mintParams", - "scope": 619, + "scope": 616, "stateVariable": false, "storageLocation": "default", "type": "uint256[] memory", @@ -2858,42 +2518,64 @@ "name": "uint256", "type": "uint256" }, - "id": 567, + "id": 563, "name": "ElementaryTypeName", - "src": "2504:7:4" + "src": "2528:7:4" } ], - "id": 568, + "id": 564, "name": "ArrayTypeName", - "src": "2504:9:4" + "src": "2528:9:4" } ], - "id": 569, + "id": 565, "name": "VariableDeclaration", - "src": "2504:21:4" + "src": "2528:21:4" } ], - "id": 570, + "id": 566, "name": "ParameterList", - "src": "2389:140:4" + "src": "2413:140:4" }, { - "attributes": { - "parameters": [ - null - ] - }, - "children": [], - "id": 571, + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "scope": 616, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "value": null, + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "type": "address" + }, + "id": 567, + "name": "ElementaryTypeName", + "src": "2573:7:4" + } + ], + "id": 568, + "name": "VariableDeclaration", + "src": "2573:7:4" + } + ], + "id": 569, "name": "ParameterList", - "src": "2543:0:4" + "src": "2572:9:4" }, { "children": [ { "attributes": { "assignments": [ - 575 + 573 ] }, "children": [ @@ -2901,7 +2583,7 @@ "attributes": { "constant": false, "name": "pods", - "scope": 619, + "scope": 616, "stateVariable": false, "storageLocation": "memory", "type": "address[] memory", @@ -2920,19 +2602,19 @@ "name": "address", "type": "address" }, - "id": 573, + "id": 571, "name": "ElementaryTypeName", - "src": "2549:7:4" + "src": "2590:7:4" } ], - "id": 574, + "id": 572, "name": "ArrayTypeName", - "src": "2549:9:4" + "src": "2590:9:4" } ], - "id": 575, + "id": 573, "name": "VariableDeclaration", - "src": "2549:21:4" + "src": "2590:21:4" }, { "attributes": { @@ -2975,19 +2657,19 @@ "name": "address", "type": "address" }, - "id": 576, + "id": 574, "name": "ElementaryTypeName", - "src": "2577:7:4" + "src": "2618:7:4" } ], - "id": 577, + "id": 575, "name": "ArrayTypeName", - "src": "2577:9:4" + "src": "2618:9:4" } ], - "id": 578, + "id": 576, "name": "NewExpression", - "src": "2573:13:4" + "src": "2614:13:4" }, { "attributes": { @@ -3002,19 +2684,19 @@ "type": "int_const 2", "value": "2" }, - "id": 579, + "id": 577, "name": "Literal", - "src": "2587:1:4" + "src": "2628:1:4" } ], - "id": 580, + "id": 578, "name": "FunctionCall", - "src": "2573:16:4" + "src": "2614:16:4" } ], - "id": 581, + "id": 579, "name": "VariableDeclarationStatement", - "src": "2549:40:4" + "src": "2590:40:4" }, { "children": [ @@ -3045,13 +2727,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 575, + "referencedDeclaration": 573, "type": "address[] memory", "value": "pods" }, - "id": 582, + "id": 580, "name": "Identifier", - "src": "2595:4:4" + "src": "2636:4:4" }, { "attributes": { @@ -3066,14 +2748,14 @@ "type": "int_const 0", "value": "0" }, - "id": 583, + "id": 581, "name": "Literal", - "src": "2600:1:4" + "src": "2641:1:4" } ], - "id": 584, + "id": 582, "name": "IndexAccess", - "src": "2595:7:4" + "src": "2636:7:4" }, { "attributes": { @@ -3094,7 +2776,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_RICO_$2057", + "typeIdentifier": "t_contract$_RICO_$4404", "typeString": "contract RICO" }, { @@ -3119,7 +2801,7 @@ "isPure": false, "lValueRequested": false, "member_name": "deploy", - "referencedDeclaration": 152, + "referencedDeclaration": 147, "type": "function (address,uint256,uint8,address,uint256[] memory) external returns (address)" }, "children": [ @@ -3129,60 +2811,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 421, + "referencedDeclaration": 416, "type": "contract ContractManager", "value": "cm" }, - "id": 585, + "id": 583, "name": "Identifier", - "src": "2605:2:4" + "src": "2646:2:4" } ], - "id": 586, + "id": 584, "name": "MemberAccess", - "src": "2605:9:4" + "src": "2646:9:4" }, { "attributes": { "argumentTypes": null, - "hexvalue": "30", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "contract RICO", - "value": "rico", "overloadedDeclarations": [ null ], - "referencedDeclaration": 419 + "referencedDeclaration": 414, + "type": "contract RICO", + "value": "rico" }, - "id": 587, + "id": 585, "name": "Identifier", - "src": "2615:4:4" + "src": "2656:4:4" }, { "attributes": { "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 580, - "type": "int_const 0", - "value": "0", "hexvalue": "30", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, - "token": "number" + "token": "number", + "type": "int_const 0", + "value": "0" }, - "id": 588, + "id": 586, "name": "Literal", - "src": "2621:1:4" + "src": "2662:1:4" }, { "attributes": { @@ -3190,13 +2861,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 561, + "referencedDeclaration": 557, "type": "uint8", "value": "_decimals" }, - "id": 589, + "id": 587, "name": "Identifier", - "src": "2624:9:4" + "src": "2665:9:4" }, { "attributes": { @@ -3204,13 +2875,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 559, "type": "address", "value": "_wallet" }, - "id": 590, + "id": 588, "name": "Identifier", - "src": "2635:7:4" + "src": "2676:7:4" }, { "attributes": { @@ -3218,28 +2889,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 566, + "referencedDeclaration": 562, "type": "uint256[] memory", "value": "_podParams" }, - "id": 591, + "id": 589, "name": "Identifier", - "src": "2644:10:4" + "src": "2685:10:4" } ], - "id": 592, + "id": 590, "name": "FunctionCall", - "src": "2605:50:4" + "src": "2646:50:4" } ], - "id": 593, + "id": 591, "name": "Assignment", - "src": "2595:60:4" + "src": "2636:60:4" } ], - "id": 594, + "id": 592, "name": "ExpressionStatement", - "src": "2595:60:4" + "src": "2636:60:4" }, { "children": [ @@ -3270,13 +2941,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 575, + "referencedDeclaration": 573, "type": "address[] memory", "value": "pods" }, - "id": 595, + "id": 593, "name": "Identifier", - "src": "2661:4:4" + "src": "2702:4:4" }, { "attributes": { @@ -3291,14 +2962,14 @@ "type": "int_const 1", "value": "1" }, - "id": 596, + "id": 594, "name": "Literal", - "src": "2666:1:4" + "src": "2707:1:4" } ], - "id": 597, + "id": 595, "name": "IndexAccess", - "src": "2661:7:4" + "src": "2702:7:4" }, { "attributes": { @@ -3319,7 +2990,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_RICO_$2057", + "typeIdentifier": "t_contract$_RICO_$4404", "typeString": "contract RICO" }, { @@ -3344,7 +3015,7 @@ "isPure": false, "lValueRequested": false, "member_name": "deploy", - "referencedDeclaration": 152, + "referencedDeclaration": 147, "type": "function (address,uint256,uint8,address,uint256[] memory) external returns (address)" }, "children": [ @@ -3354,60 +3025,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 421, + "referencedDeclaration": 416, "type": "contract ContractManager", "value": "cm" }, - "id": 598, + "id": 596, "name": "Identifier", - "src": "2671:2:4" + "src": "2712:2:4" } ], - "id": 599, + "id": 597, "name": "MemberAccess", - "src": "2671:9:4" + "src": "2712:9:4" }, { "attributes": { "argumentTypes": null, - "hexvalue": "31", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "subdenomination": null, - "token": "number", - "type": "contract RICO", - "value": "rico", "overloadedDeclarations": [ null ], - "referencedDeclaration": 419 + "referencedDeclaration": 414, + "type": "contract RICO", + "value": "rico" }, - "id": 600, + "id": 598, "name": "Identifier", - "src": "2681:4:4" + "src": "2722:4:4" }, { "attributes": { "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 580, - "type": "int_const 1", - "value": "1", "hexvalue": "31", "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "subdenomination": null, - "token": "number" + "token": "number", + "type": "int_const 1", + "value": "1" }, - "id": 601, + "id": 599, "name": "Literal", - "src": "2687:1:4" + "src": "2728:1:4" }, { "attributes": { @@ -3415,13 +3075,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 561, + "referencedDeclaration": 557, "type": "uint8", "value": "_decimals" }, - "id": 602, + "id": 600, "name": "Identifier", - "src": "2690:9:4" + "src": "2731:9:4" }, { "attributes": { @@ -3429,13 +3089,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 559, "type": "address", "value": "_wallet" }, - "id": 603, + "id": 601, "name": "Identifier", - "src": "2701:7:4" + "src": "2742:7:4" }, { "attributes": { @@ -3443,30 +3103,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 569, + "referencedDeclaration": 565, "type": "uint256[] memory", "value": "_mintParams" }, - "id": 604, + "id": 602, "name": "Identifier", - "src": "2710:11:4" + "src": "2751:11:4" } ], - "id": 605, + "id": 603, "name": "FunctionCall", - "src": "2671:51:4" + "src": "2712:51:4" } ], - "id": 606, + "id": 604, "name": "Assignment", - "src": "2661:61:4" + "src": "2702:61:4" } ], - "id": 607, + "id": 605, "name": "ExpressionStatement", - "src": "2661:61:4" + "src": "2702:61:4" }, { + "attributes": { + "functionReturnParameters": 569 + }, "children": [ { "attributes": { @@ -3512,7 +3175,7 @@ "isPure": false, "lValueRequested": false, "member_name": "newProject", - "referencedDeclaration": 1860, + "referencedDeclaration": 4207, "type": "function (string memory,string memory,uint8,address[] memory,address) external returns (address)" }, "children": [ @@ -3522,18 +3185,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 419, + "referencedDeclaration": 414, "type": "contract RICO", "value": "rico" }, - "id": 608, + "id": 606, "name": "Identifier", - "src": "2729:4:4" + "src": "2777:4:4" } ], - "id": 610, + "id": 607, "name": "MemberAccess", - "src": "2729:15:4" + "src": "2777:15:4" }, { "attributes": { @@ -3541,13 +3204,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 557, + "referencedDeclaration": 553, "type": "string memory", "value": "_name" }, - "id": 611, + "id": 608, "name": "Identifier", - "src": "2745:5:4" + "src": "2793:5:4" }, { "attributes": { @@ -3555,13 +3218,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 559, + "referencedDeclaration": 555, "type": "string memory", "value": "_symbol" }, - "id": 612, + "id": 609, "name": "Identifier", - "src": "2752:7:4" + "src": "2800:7:4" }, { "attributes": { @@ -3569,13 +3232,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 561, + "referencedDeclaration": 557, "type": "uint8", "value": "_decimals" }, - "id": 613, + "id": 610, "name": "Identifier", - "src": "2761:9:4" + "src": "2809:9:4" }, { "attributes": { @@ -3583,13 +3246,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 575, + "referencedDeclaration": 573, "type": "address[] memory", "value": "pods" }, - "id": 614, + "id": 611, "name": "Identifier", - "src": "2772:4:4" + "src": "2820:4:4" }, { "attributes": { @@ -3597,65 +3260,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 559, "type": "address", "value": "_wallet" }, - "id": 615, + "id": 612, "name": "Identifier", - "src": "2778:7:4" + "src": "2826:7:4" } ], - "id": 616, + "id": 613, "name": "FunctionCall", - "src": "2729:57:4" + "src": "2777:57:4" } ], - "id": 617, - "name": "ExpressionStatement", - "src": "2729:57:4" + "id": 614, + "name": "Return", + "src": "2770:64:4" } ], - "id": 618, + "id": 615, "name": "Block", - "src": "2543:249:4" + "src": "2584:256:4" } ], - "id": 619, + "id": 616, "name": "FunctionDefinition", - "src": "2370:422:4" + "src": "2395:445:4" } ], - "id": 620, + "id": 617, "name": "ContractDefinition", - "src": "245:2549:4" + "src": "245:2597:4" } ], - "id": 621, + "id": 618, "name": "SourceUnit", - "src": "0:2796:4" + "src": "0:2844:4" }, "compiler": { "name": "solc", "version": "0.4.18+commit.9cf6e910.Emscripten.clang" }, - "networks": { - "3": { - "events": {}, - "links": {}, - "address": "0x40c75eb39c3a06c50b9109d36b1e488d99aadf97" - }, - "1515684702992": { - "events": {}, - "links": {}, - "address": "0xd95183d81d5e91f309b08b4b17b2d70dad76fb06" - }, - "1515686685127": { - "events": {}, - "links": {}, - "address": "0x39326f43557b33afdad3cec0d0272619c0d7ad9b" - } - }, + "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T11:16:12.052Z" + "updatedAt": "2018-01-15T16:10:12.638Z" } \ No newline at end of file diff --git a/build/contracts/Migrations.json b/build/contracts/Migrations.json index c93c399..b6990cf 100644 --- a/build/contracts/Migrations.json +++ b/build/contracts/Migrations.json @@ -75,7 +75,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/Migrations.sol", "exportedSymbols": { "Migrations": [ - 672 + 674 ] } }, @@ -89,7 +89,7 @@ ".18" ] }, - "id": 617, + "id": 619, "name": "PragmaDirective", "src": "0:24:5" }, @@ -105,17 +105,17 @@ "documentation": null, "fullyImplemented": true, "linearizedBaseContracts": [ - 672 + 674 ], "name": "Migrations", - "scope": 673 + "scope": 675 }, "children": [ { "attributes": { "constant": false, "name": "owner", - "scope": 672, + "scope": 674, "stateVariable": true, "storageLocation": "default", "type": "address", @@ -128,12 +128,12 @@ "name": "address", "type": "address" }, - "id": 618, + "id": 620, "name": "ElementaryTypeName", "src": "50:7:5" } ], - "id": 619, + "id": 621, "name": "VariableDeclaration", "src": "50:20:5" }, @@ -141,7 +141,7 @@ "attributes": { "constant": false, "name": "last_completed_migration", - "scope": 672, + "scope": 674, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -154,12 +154,12 @@ "name": "uint", "type": "uint256" }, - "id": 620, + "id": 622, "name": "ElementaryTypeName", "src": "74:4:5" } ], - "id": 621, + "id": 623, "name": "VariableDeclaration", "src": "74:36:5" }, @@ -176,7 +176,7 @@ ] }, "children": [], - "id": 622, + "id": 624, "name": "ParameterList", "src": "134:2:5" }, @@ -220,16 +220,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 623, + "id": 625, "name": "Identifier", "src": "147:3:5" } ], - "id": 624, + "id": 626, "name": "MemberAccess", "src": "147:10:5" }, @@ -239,36 +239,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 619, + "referencedDeclaration": 621, "type": "address", "value": "owner" }, - "id": 625, + "id": 627, "name": "Identifier", "src": "161:5:5" } ], - "id": 626, + "id": 628, "name": "BinaryOperation", "src": "147:19:5" }, { - "id": 627, + "id": 629, "name": "PlaceholderStatement", "src": "173:1:5" } ], - "id": 628, + "id": 630, "name": "IfStatement", "src": "143:31:5" } ], - "id": 629, + "id": 631, "name": "Block", "src": "137:42:5" } ], - "id": 630, + "id": 632, "name": "ModifierDefinition", "src": "115:64:5" }, @@ -282,7 +282,7 @@ ], "name": "Migrations", "payable": false, - "scope": 672, + "scope": 674, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -295,7 +295,7 @@ ] }, "children": [], - "id": 631, + "id": 633, "name": "ParameterList", "src": "202:2:5" }, @@ -306,7 +306,7 @@ ] }, "children": [], - "id": 632, + "id": 634, "name": "ParameterList", "src": "212:0:5" }, @@ -331,11 +331,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 619, + "referencedDeclaration": 621, "type": "address", "value": "owner" }, - "id": 633, + "id": 635, "name": "Identifier", "src": "218:5:5" }, @@ -357,36 +357,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 634, + "id": 636, "name": "Identifier", "src": "226:3:5" } ], - "id": 635, + "id": 637, "name": "MemberAccess", "src": "226:10:5" } ], - "id": 636, + "id": 638, "name": "Assignment", "src": "218:18:5" } ], - "id": 637, + "id": 639, "name": "ExpressionStatement", "src": "218:18:5" } ], - "id": 638, + "id": 640, "name": "Block", "src": "212:29:5" } ], - "id": 639, + "id": 641, "name": "FunctionDefinition", "src": "183:58:5" }, @@ -397,7 +397,7 @@ "isConstructor": false, "name": "setCompleted", "payable": false, - "scope": 672, + "scope": 674, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -409,7 +409,7 @@ "attributes": { "constant": false, "name": "completed", - "scope": 651, + "scope": 653, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -422,17 +422,17 @@ "name": "uint", "type": "uint256" }, - "id": 640, + "id": 642, "name": "ElementaryTypeName", "src": "267:4:5" } ], - "id": 641, + "id": 643, "name": "VariableDeclaration", "src": "267:14:5" } ], - "id": 642, + "id": 644, "name": "ParameterList", "src": "266:16:5" }, @@ -443,7 +443,7 @@ ] }, "children": [], - "id": 645, + "id": 647, "name": "ParameterList", "src": "301:0:5" }, @@ -460,16 +460,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 630, + "referencedDeclaration": 632, "type": "modifier ()", "value": "restricted" }, - "id": 643, + "id": 645, "name": "Identifier", "src": "290:10:5" } ], - "id": 644, + "id": 646, "name": "ModifierInvocation", "src": "290:10:5" }, @@ -494,11 +494,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 621, + "referencedDeclaration": 623, "type": "uint256", "value": "last_completed_migration" }, - "id": 646, + "id": 648, "name": "Identifier", "src": "307:24:5" }, @@ -508,31 +508,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 641, + "referencedDeclaration": 643, "type": "uint256", "value": "completed" }, - "id": 647, + "id": 649, "name": "Identifier", "src": "334:9:5" } ], - "id": 648, + "id": 650, "name": "Assignment", "src": "307:36:5" } ], - "id": 649, + "id": 651, "name": "ExpressionStatement", "src": "307:36:5" } ], - "id": 650, + "id": 652, "name": "Block", "src": "301:47:5" } ], - "id": 651, + "id": 653, "name": "FunctionDefinition", "src": "245:103:5" }, @@ -543,7 +543,7 @@ "isConstructor": false, "name": "upgrade", "payable": false, - "scope": 672, + "scope": 674, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -555,7 +555,7 @@ "attributes": { "constant": false, "name": "newAddress", - "scope": 671, + "scope": 673, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -568,17 +568,17 @@ "name": "address", "type": "address" }, - "id": 652, + "id": 654, "name": "ElementaryTypeName", "src": "369:7:5" } ], - "id": 653, + "id": 655, "name": "VariableDeclaration", "src": "369:18:5" } ], - "id": 654, + "id": 656, "name": "ParameterList", "src": "368:20:5" }, @@ -589,7 +589,7 @@ ] }, "children": [], - "id": 657, + "id": 659, "name": "ParameterList", "src": "407:0:5" }, @@ -606,16 +606,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 630, + "referencedDeclaration": 632, "type": "modifier ()", "value": "restricted" }, - "id": 655, + "id": 657, "name": "Identifier", "src": "396:10:5" } ], - "id": 656, + "id": 658, "name": "ModifierInvocation", "src": "396:10:5" }, @@ -624,7 +624,7 @@ { "attributes": { "assignments": [ - 659 + 661 ] }, "children": [ @@ -632,7 +632,7 @@ "attributes": { "constant": false, "name": "upgraded", - "scope": 671, + "scope": 673, "stateVariable": false, "storageLocation": "default", "type": "contract Migrations", @@ -644,15 +644,15 @@ "attributes": { "contractScope": null, "name": "Migrations", - "referencedDeclaration": 672, + "referencedDeclaration": 674, "type": "contract Migrations" }, - "id": 658, + "id": 660, "name": "UserDefinedTypeName", "src": "413:10:5" } ], - "id": 659, + "id": 661, "name": "VariableDeclaration", "src": "413:19:5" }, @@ -682,11 +682,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 672, + "referencedDeclaration": 674, "type": "type(contract Migrations)", "value": "Migrations" }, - "id": 660, + "id": 662, "name": "Identifier", "src": "435:10:5" }, @@ -696,21 +696,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 653, + "referencedDeclaration": 655, "type": "address", "value": "newAddress" }, - "id": 661, + "id": 663, "name": "Identifier", "src": "446:10:5" } ], - "id": 662, + "id": 664, "name": "FunctionCall", "src": "435:22:5" } ], - "id": 663, + "id": 665, "name": "VariableDeclarationStatement", "src": "413:44:5" }, @@ -744,7 +744,7 @@ "isPure": false, "lValueRequested": false, "member_name": "setCompleted", - "referencedDeclaration": 651, + "referencedDeclaration": 653, "type": "function (uint256) external" }, "children": [ @@ -754,16 +754,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 659, + "referencedDeclaration": 661, "type": "contract Migrations", "value": "upgraded" }, - "id": 664, + "id": 666, "name": "Identifier", "src": "463:8:5" } ], - "id": 666, + "id": 668, "name": "MemberAccess", "src": "463:21:5" }, @@ -773,41 +773,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 621, + "referencedDeclaration": 623, "type": "uint256", "value": "last_completed_migration" }, - "id": 667, + "id": 669, "name": "Identifier", "src": "485:24:5" } ], - "id": 668, + "id": 670, "name": "FunctionCall", "src": "463:47:5" } ], - "id": 669, + "id": 671, "name": "ExpressionStatement", "src": "463:47:5" } ], - "id": 670, + "id": 672, "name": "Block", "src": "407:108:5" } ], - "id": 671, + "id": 673, "name": "FunctionDefinition", "src": "352:163:5" } ], - "id": 672, + "id": 674, "name": "ContractDefinition", "src": "26:491:5" } ], - "id": 673, + "id": 675, "name": "SourceUnit", "src": "0:518:5" }, @@ -815,23 +815,7 @@ "name": "solc", "version": "0.4.18+commit.9cf6e910.Emscripten.clang" }, - "networks": { - "3": { - "events": {}, - "links": {}, - "address": "0x723f16c7d3ad068e7d7367e5887b0e1254e139d5" - }, - "1515684702992": { - "events": {}, - "links": {}, - "address": "0xa9c31fc94f6d19f0347c062ddcf4271a4e328981" - }, - "1515686685127": { - "events": {}, - "links": {}, - "address": "0x295a7b0b5ca4e743ae5532858ef2336cf7863df4" - } - }, + "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T11:16:12.118Z" + "updatedAt": "2018-01-15T16:10:12.639Z" } \ No newline at end of file diff --git a/build/contracts/MintableToken.json b/build/contracts/MintableToken.json index 3297a63..71df841 100644 --- a/build/contracts/MintableToken.json +++ b/build/contracts/MintableToken.json @@ -422,8 +422,8 @@ ], "bytecode": "0x60606040526000600360146101000a81548160ff0219169083151502179055506000600360156101000a81548160ff021916908315150217905550341561004557600080fd5b33600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611713806100956000396000f3006060604052600436106100fc576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806305d2035b1461010157806306fdde031461012e578063095ea7b3146101bc578063158ef93e1461021657806318160ddd1461024357806323b872dd1461026c578063313ce567146102e557806340c10f191461031457806370a082311461036e5780637d64bcb4146103bb5780638d956f1e146103e85780638da5cb5b1461043957806395d89b411461048e57806398cbefbe1461051c578063a4475ce4146105ff578063a9059cbb14610654578063dd62ed3e146106ae578063f2fde38b1461071a575b600080fd5b341561010c57600080fd5b610114610753565b604051808215151515815260200191505060405180910390f35b341561013957600080fd5b610141610766565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610181578082015181840152602081019050610166565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b6101fc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610804565b604051808215151515815260200191505060405180910390f35b341561022157600080fd5b6102296108f6565b604051808215151515815260200191505060405180910390f35b341561024e57600080fd5b610256610909565b6040518082815260200191505060405180910390f35b341561027757600080fd5b6102cb600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061090f565b604051808215151515815260200191505060405180910390f35b34156102f057600080fd5b6102f8610ba9565b604051808260ff1660ff16815260200191505060405180910390f35b341561031f57600080fd5b610354600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610bbc565b604051808215151515815260200191505060405180910390f35b341561037957600080fd5b6103a5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610da4565b6040518082815260200191505060405180910390f35b34156103c657600080fd5b6103ce610ded565b604051808215151515815260200191505060405180910390f35b34156103f357600080fd5b61041f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610eb5565b604051808215151515815260200191505060405180910390f35b341561044457600080fd5b61044c6110c9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561049957600080fd5b6104a16110ef565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104e15780820151818401526020810190506104c6565b50505050905090810190601f16801561050e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561052757600080fd5b6105e5600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061118d565b604051808215151515815260200191505060405180910390f35b341561060a57600080fd5b6106126112c6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561065f57600080fd5b610694600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506112ec565b604051808215151515815260200191505060405180910390f35b34156106b957600080fd5b610704600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611445565b6040518082815260200191505060405180910390f35b341561072557600080fd5b610751600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506114cc565b005b600360149054906101000a900460ff1681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107fc5780601f106107d1576101008083540402835291602001916107fc565b820191906000526020600020905b8154815290600101906020018083116107df57829003601f168201915b505050505081565b600081600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b600360159054906101000a900460ff1681565b60005481565b600080600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101580156109e05750828110155b15156109eb57600080fd5b82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610b385782600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150509392505050565b600660009054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c1a57600080fd5b600360149054906101000a900460ff16151515610c3657600080fd5b610c4b8260005461162490919063ffffffff16565b600081905550610ca382600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461162490919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885836040518082815260200191505060405180910390a28273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600360149054906101000a900460ff16151515610e0b57600080fd5b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e6757600080fd5b6001600360146101000a81548160ff0219169083151502179055507fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a16001905090565b6000806000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f1657600080fd5b8391508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610fbc57600080fd5b6102c65a03f11515610fcd57600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156110a657600080fd5b6102c65a03f115156110b757600080fd5b50505060405180519050505050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111855780601f1061115a57610100808354040283529160200191611185565b820191906000526020600020905b81548152906001019060200180831161116857829003601f168201915b505050505081565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111eb57600080fd5b600360159054906101000a900460ff1615151561120757600080fd5b846004908051906020019061121d929190611642565b508360059080519060200190611234929190611642565b5082600660006101000a81548160ff021916908360ff16021790555081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360156101000a81548160ff021916908315150217905550600360159054906101000a900460ff169050949350505050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561133c57600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561152857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561156457600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080828401905083811015151561163857fe5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061168357805160ff19168380011785556116b1565b828001600101855582156116b1579182015b828111156116b0578251825591602001919060010190611695565b5b5090506116be91906116c2565b5090565b6116e491905b808211156116e05760008160009055506001016116c8565b5090565b905600a165627a7a723058203327e7425e43f5490e8fa2451bc02e05f123d3ff56f23af725b4b73eb7c1f2a20029", "deployedBytecode": "0x6060604052600436106100fc576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806305d2035b1461010157806306fdde031461012e578063095ea7b3146101bc578063158ef93e1461021657806318160ddd1461024357806323b872dd1461026c578063313ce567146102e557806340c10f191461031457806370a082311461036e5780637d64bcb4146103bb5780638d956f1e146103e85780638da5cb5b1461043957806395d89b411461048e57806398cbefbe1461051c578063a4475ce4146105ff578063a9059cbb14610654578063dd62ed3e146106ae578063f2fde38b1461071a575b600080fd5b341561010c57600080fd5b610114610753565b604051808215151515815260200191505060405180910390f35b341561013957600080fd5b610141610766565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610181578082015181840152602081019050610166565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b6101fc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610804565b604051808215151515815260200191505060405180910390f35b341561022157600080fd5b6102296108f6565b604051808215151515815260200191505060405180910390f35b341561024e57600080fd5b610256610909565b6040518082815260200191505060405180910390f35b341561027757600080fd5b6102cb600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061090f565b604051808215151515815260200191505060405180910390f35b34156102f057600080fd5b6102f8610ba9565b604051808260ff1660ff16815260200191505060405180910390f35b341561031f57600080fd5b610354600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610bbc565b604051808215151515815260200191505060405180910390f35b341561037957600080fd5b6103a5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610da4565b6040518082815260200191505060405180910390f35b34156103c657600080fd5b6103ce610ded565b604051808215151515815260200191505060405180910390f35b34156103f357600080fd5b61041f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610eb5565b604051808215151515815260200191505060405180910390f35b341561044457600080fd5b61044c6110c9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561049957600080fd5b6104a16110ef565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104e15780820151818401526020810190506104c6565b50505050905090810190601f16801561050e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561052757600080fd5b6105e5600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061118d565b604051808215151515815260200191505060405180910390f35b341561060a57600080fd5b6106126112c6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561065f57600080fd5b610694600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506112ec565b604051808215151515815260200191505060405180910390f35b34156106b957600080fd5b610704600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611445565b6040518082815260200191505060405180910390f35b341561072557600080fd5b610751600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506114cc565b005b600360149054906101000a900460ff1681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107fc5780601f106107d1576101008083540402835291602001916107fc565b820191906000526020600020905b8154815290600101906020018083116107df57829003601f168201915b505050505081565b600081600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b600360159054906101000a900460ff1681565b60005481565b600080600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101580156109e05750828110155b15156109eb57600080fd5b82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610b385782600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150509392505050565b600660009054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c1a57600080fd5b600360149054906101000a900460ff16151515610c3657600080fd5b610c4b8260005461162490919063ffffffff16565b600081905550610ca382600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461162490919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885836040518082815260200191505060405180910390a28273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600360149054906101000a900460ff16151515610e0b57600080fd5b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e6757600080fd5b6001600360146101000a81548160ff0219169083151502179055507fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a16001905090565b6000806000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f1657600080fd5b8391508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610fbc57600080fd5b6102c65a03f11515610fcd57600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156110a657600080fd5b6102c65a03f115156110b757600080fd5b50505060405180519050505050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111855780601f1061115a57610100808354040283529160200191611185565b820191906000526020600020905b81548152906001019060200180831161116857829003601f168201915b505050505081565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111eb57600080fd5b600360159054906101000a900460ff1615151561120757600080fd5b846004908051906020019061121d929190611642565b508360059080519060200190611234929190611642565b5082600660006101000a81548160ff021916908360ff16021790555081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360156101000a81548160ff021916908315150217905550600360159054906101000a900460ff169050949350505050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561133c57600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561152857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561156457600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080828401905083811015151561163857fe5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061168357805160ff19168380011785556116b1565b828001600101855582156116b1579182015b828111156116b0578251825591602001919060010190611695565b5b5090506116be91906116c2565b5090565b6116e491905b808211156116e05760008160009055506001016116c8565b5090565b905600a165627a7a723058203327e7425e43f5490e8fa2451bc02e05f123d3ff56f23af725b4b73eb7c1f2a20029", - "sourceMap": "401:1862:5:-;;;595:5;565:35;;;;;;;;;;;;;;;;;;;;630:5;604:31;;;;;;;;;;;;;;;;;;;;808:34;;;;;;;;603:10:6;595:5;;:18;;;;;;;;;;;;;;;;;;401:1862:5;;;;;;", - "deployedSourceMap": "401:1862:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;565:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;639:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1906:190:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;604:31:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;664:26:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1148:640:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;685:21:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1380:266;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1792:110:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1760:168:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1996:261;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;661::5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;846:298:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;710:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;575:569:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2100:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;565:35:5;;;;;;;;;;;;;:::o;639:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1906:190:2:-;1972:12;2024:6;1992:7;:19;2000:10;1992:19;;;;;;;;;;;;;;;:29;2012:8;1992:29;;;;;;;;;;;;;;;:38;;;;2057:8;2036:38;;2045:10;2036:38;;;2067:6;2036:38;;;;;;;;;;;;;;;;;;2087:4;2080:11;;1906:190;;;;:::o;604:31:5:-;;;;;;;;;;;;;:::o;664:26:3:-;;;;:::o;1148:640:2:-;1229:12;1478:17;1498:7;:14;1506:5;1498:14;;;;;;;;;;;;;;;:26;1513:10;1498:26;;;;;;;;;;;;;;;;1478:46;;1557:6;1538:8;:15;1547:5;1538:15;;;;;;;;;;;;;;;;:25;;:48;;;;;1580:6;1567:9;:19;;1538:48;1530:57;;;;;;;;1610:6;1593:8;:13;1602:3;1593:13;;;;;;;;;;;;;;;;:23;;;;;;;;;;;1641:6;1622:8;:15;1631:5;1622:15;;;;;;;;;;;;;;;;:25;;;;;;;;;;;558:12;1657:9;:23;1653:80;;;1720:6;1690:7;:14;1698:5;1690:14;;;;;;;;;;;;;;;:26;1705:10;1690:26;;;;;;;;;;;;;;;;:36;;;;;;;;;;;1653:80;1754:3;1738:28;;1747:5;1738:28;;;1759:6;1738:28;;;;;;;;;;;;;;;;;;1779:4;1772:11;;1148:640;;;;;;:::o;685:21:5:-;;;;;;;;;;;;;:::o;1380:266::-;1462:4;748:5:6;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;776:15:5;;;;;;;;;;;775:16;767:25;;;;;;;;1488:24;1504:7;1488:11;;:15;;:24;;;;:::i;:::-;1474:11;:38;;;;1534:26;1552:7;1534:8;:13;1543:3;1534:13;;;;;;;;;;;;;;;;:17;;:26;;;;:::i;:::-;1518:8;:13;1527:3;1518:13;;;;;;;;;;;;;;;:42;;;;1571:3;1566:18;;;1576:7;1566:18;;;;;;;;;;;;;;;;;;1611:3;1590:34;;1607:1;1590:34;;;1616:7;1590:34;;;;;;;;;;;;;;;;;;1637:4;1630:11;;1380:266;;;;:::o;1792:110:2:-;1851:15;1881:8;:16;1890:6;1881:16;;;;;;;;;;;;;;;;1874:23;;1792:110;;;:::o;1760:168:5:-;1811:4;776:15;;;;;;;;;;;775:16;767:25;;;;;;;;1845:12;;;;;;;;;;;1831:26;;:10;:26;;;1823:35;;;;;;;;1882:4;1864:15;;:22;;;;;;;;;;;;;;;;;;1892:14;;;;;;;;;;1919:4;1912:11;;1760:168;:::o;1996:261::-;2051:4;2108:24;2168:12;2088;;;;;;;;;;;2074:26;;:10;:26;;;2066:35;;;;;;;;2154:6;2108:53;;2183:5;:15;;;2199:4;2183:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2168:36;;2215:5;:14;;;2230:12;;;;;;;;;;;2244:7;2215:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1996:261;;;;;:::o;334:20:6:-;;;;;;;;;;;;;:::o;661::5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;846:298::-;958:4;748:5:6;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;979:11:5;;;;;;;;;;;978:12;970:21;;;;;;;;1004:5;997:4;:12;;;;;;;;;;;;:::i;:::-;;1024:7;1015:6;:16;;;;;;;;;;;;:::i;:::-;;1048:9;1037:8;;:20;;;;;;;;;;;;;;;;;;1078:13;1063:12;;:28;;;;;;;;;;;;;;;;;;1111:4;1097:11;;:18;;;;;;;;;;;;;;;;;;1128:11;;;;;;;;;;;1121:18;;846:298;;;;;;:::o;710:27::-;;;;;;;;;;;;;:::o;575:569:2:-;637:12;1011:6;987:8;:20;996:10;987:20;;;;;;;;;;;;;;;;:30;;979:39;;;;;;;;1048:6;1024:8;:20;1033:10;1024:20;;;;;;;;;;;;;;;;:30;;;;;;;;;;;1077:6;1060:8;:13;1069:3;1060:13;;;;;;;;;;;;;;;;:23;;;;;;;;;;;1110:3;1089:33;;1098:10;1089:33;;;1115:6;1089:33;;;;;;;;;;;;;;;;;;1135:4;1128:11;;575:569;;;;:::o;2100:139::-;2177:17;2209:7;:15;2217:6;2209:15;;;;;;;;;;;;;;;:25;2225:8;2209:25;;;;;;;;;;;;;;;;2202:32;;2100:139;;;;:::o;928:169:6:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;759:128:12:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;401:1862:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", + "sourceMap": "401:1862:6:-;;;595:5;565:35;;;;;;;;;;;;;;;;;;;;630:5;604:31;;;;;;;;;;;;;;;;;;;;808:34;;;;;;;;603:10:8;595:5;;:18;;;;;;;;;;;;;;;;;;401:1862:6;;;;;;", + "deployedSourceMap": "401:1862:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;565:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;639:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1906:190:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;604:31:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;664:26:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1148:640:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;685:21:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1380:266;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1792:110:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1760:168:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1996:261;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;661::6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;846:298:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;710:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;575:569:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2100:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;565:35:6;;;;;;;;;;;;;:::o;639:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1906:190:2:-;1972:12;2024:6;1992:7;:19;2000:10;1992:19;;;;;;;;;;;;;;;:29;2012:8;1992:29;;;;;;;;;;;;;;;:38;;;;2057:8;2036:38;;2045:10;2036:38;;;2067:6;2036:38;;;;;;;;;;;;;;;;;;2087:4;2080:11;;1906:190;;;;:::o;604:31:6:-;;;;;;;;;;;;;:::o;664:26:3:-;;;;:::o;1148:640:2:-;1229:12;1478:17;1498:7;:14;1506:5;1498:14;;;;;;;;;;;;;;;:26;1513:10;1498:26;;;;;;;;;;;;;;;;1478:46;;1557:6;1538:8;:15;1547:5;1538:15;;;;;;;;;;;;;;;;:25;;:48;;;;;1580:6;1567:9;:19;;1538:48;1530:57;;;;;;;;1610:6;1593:8;:13;1602:3;1593:13;;;;;;;;;;;;;;;;:23;;;;;;;;;;;1641:6;1622:8;:15;1631:5;1622:15;;;;;;;;;;;;;;;;:25;;;;;;;;;;;558:12;1657:9;:23;1653:80;;;1720:6;1690:7;:14;1698:5;1690:14;;;;;;;;;;;;;;;:26;1705:10;1690:26;;;;;;;;;;;;;;;;:36;;;;;;;;;;;1653:80;1754:3;1738:28;;1747:5;1738:28;;;1759:6;1738:28;;;;;;;;;;;;;;;;;;1779:4;1772:11;;1148:640;;;;;;:::o;685:21:6:-;;;;;;;;;;;;;:::o;1380:266::-;1462:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;776:15:6;;;;;;;;;;;775:16;767:25;;;;;;;;1488:24;1504:7;1488:11;;:15;;:24;;;;:::i;:::-;1474:11;:38;;;;1534:26;1552:7;1534:8;:13;1543:3;1534:13;;;;;;;;;;;;;;;;:17;;:26;;;;:::i;:::-;1518:8;:13;1527:3;1518:13;;;;;;;;;;;;;;;:42;;;;1571:3;1566:18;;;1576:7;1566:18;;;;;;;;;;;;;;;;;;1611:3;1590:34;;1607:1;1590:34;;;1616:7;1590:34;;;;;;;;;;;;;;;;;;1637:4;1630:11;;1380:266;;;;:::o;1792:110:2:-;1851:15;1881:8;:16;1890:6;1881:16;;;;;;;;;;;;;;;;1874:23;;1792:110;;;:::o;1760:168:6:-;1811:4;776:15;;;;;;;;;;;775:16;767:25;;;;;;;;1845:12;;;;;;;;;;;1831:26;;:10;:26;;;1823:35;;;;;;;;1882:4;1864:15;;:22;;;;;;;;;;;;;;;;;;1892:14;;;;;;;;;;1919:4;1912:11;;1760:168;:::o;1996:261::-;2051:4;2108:24;2168:12;2088;;;;;;;;;;;2074:26;;:10;:26;;;2066:35;;;;;;;;2154:6;2108:53;;2183:5;:15;;;2199:4;2183:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2168:36;;2215:5;:14;;;2230:12;;;;;;;;;;;2244:7;2215:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1996:261;;;;;:::o;334:20:8:-;;;;;;;;;;;;;:::o;661::6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;846:298::-;958:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;979:11:6;;;;;;;;;;;978:12;970:21;;;;;;;;1004:5;997:4;:12;;;;;;;;;;;;:::i;:::-;;1024:7;1015:6;:16;;;;;;;;;;;;:::i;:::-;;1048:9;1037:8;;:20;;;;;;;;;;;;;;;;;;1078:13;1063:12;;:28;;;;;;;;;;;;;;;;;;1111:4;1097:11;;:18;;;;;;;;;;;;;;;;;;1128:11;;;;;;;;;;;1121:18;;846:298;;;;;;:::o;710:27::-;;;;;;;;;;;;;:::o;575:569:2:-;637:12;1011:6;987:8;:20;996:10;987:20;;;;;;;;;;;;;;;;:30;;979:39;;;;;;;;1048:6;1024:8;:20;1033:10;1024:20;;;;;;;;;;;;;;;;:30;;;;;;;;;;;1077:6;1060:8;:13;1069:3;1060:13;;;;;;;;;;;;;;;;:23;;;;;;;;;;;1110:3;1089:33;;1098:10;1089:33;;;1115:6;1089:33;;;;;;;;;;;;;;;;;;1135:4;1128:11;;575:569;;;;:::o;2100:139::-;2177:17;2209:7;:15;2217:6;2209:15;;;;;;;;;;;;;;;:25;2225:8;2209:25;;;;;;;;;;;;;;;;2202:32;;2100:139;;;;:::o;928:169:8:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;759:128:16:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;401:1862:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", "source": "pragma solidity ^0.4.18;\nimport \"./EIP20StandardToken.sol\";\nimport \"./SafeMath.sol\";\nimport \"./Ownable.sol\";\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 EIP20StandardToken, Ownable {\n using SafeMath for uint256;\n\n event Mint(address indexed to, uint256 amount);\n event MintFinished();\n\n bool public mintingFinished = false;\n bool public initialized = false;\n string public name;\n string public symbol;\n uint8 public decimals;\n address public projectOwner;\n\n modifier canMint() {\n require(!mintingFinished);\n _;\n }\n\n function MintableToken() public {}\n\n function init(string _name, string _symbol, uint8 _decimals, address _projectOwner) onlyOwner() public returns (bool) {\n require(!initialized);\n name = _name;\n symbol = _symbol;\n decimals = _decimals;\n projectOwner = _projectOwner;\n initialized = true;\n return initialized;\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() canMint() public returns (bool) {\n require(msg.sender == projectOwner);\n mintingFinished = true;\n MintFinished();\n return true;\n }\n\n\n /**\n * @dev Emergency call for token transfer miss.\n */\n\n function tokenTransfer(address _token) public returns (bool) {\n \n require(msg.sender == projectOwner);\n\n EIP20StandardToken token = EIP20StandardToken(_token);\n\n uint balance = token.balanceOf(this);\n \n token.transfer(projectOwner, balance);\n }\n\n \n}", "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/MintableToken.sol", "ast": { @@ -431,7 +431,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/MintableToken.sol", "exportedSymbols": { "MintableToken": [ - 817 + 871 ] } }, @@ -445,73 +445,73 @@ ".18" ] }, - "id": 622, + "id": 676, "name": "PragmaDirective", - "src": "0:24:5" + "src": "0:24:6" }, { "attributes": { - "SourceUnit": 341, + "SourceUnit": 336, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/EIP20StandardToken.sol", "file": "./EIP20StandardToken.sol", - "scope": 818, + "scope": 872, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 623, + "id": 677, "name": "ImportDirective", - "src": "25:34:5" + "src": "25:34:6" }, { "attributes": { - "SourceUnit": 2153, + "SourceUnit": 4500, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/SafeMath.sol", "file": "./SafeMath.sol", - "scope": 818, + "scope": 872, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 624, + "id": 678, "name": "ImportDirective", - "src": "60:24:5" + "src": "60:24:6" }, { "attributes": { - "SourceUnit": 874, + "SourceUnit": 2085, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/Ownable.sol", "file": "./Ownable.sol", - "scope": 818, + "scope": 872, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 625, + "id": 679, "name": "ImportDirective", - "src": "85:23:5" + "src": "85:23:6" }, { "attributes": { "contractDependencies": [ - 340, - 406, - 873 + 335, + 401, + 2084 ], "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": [ - 817, - 873, - 340, - 406 + 871, + 2084, + 335, + 401 ], "name": "MintableToken", - "scope": 818 + "scope": 872 }, "children": [ { @@ -525,17 +525,17 @@ "attributes": { "contractScope": null, "name": "EIP20StandardToken", - "referencedDeclaration": 340, + "referencedDeclaration": 335, "type": "contract EIP20StandardToken" }, - "id": 626, + "id": 680, "name": "UserDefinedTypeName", - "src": "427:18:5" + "src": "427:18:6" } ], - "id": 627, + "id": 681, "name": "InheritanceSpecifier", - "src": "427:18:5" + "src": "427:18:6" }, { "attributes": { @@ -548,17 +548,17 @@ "attributes": { "contractScope": null, "name": "Ownable", - "referencedDeclaration": 873, + "referencedDeclaration": 2084, "type": "contract Ownable" }, - "id": 628, + "id": 682, "name": "UserDefinedTypeName", - "src": "447:7:5" + "src": "447:7:6" } ], - "id": 629, + "id": 683, "name": "InheritanceSpecifier", - "src": "447:7:5" + "src": "447:7:6" }, { "children": [ @@ -566,26 +566,26 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 2152, + "referencedDeclaration": 4499, "type": "library SafeMath" }, - "id": 630, + "id": 684, "name": "UserDefinedTypeName", - "src": "465:8:5" + "src": "465:8:6" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 631, + "id": 685, "name": "ElementaryTypeName", - "src": "478:7:5" + "src": "478:7:6" } ], - "id": 632, + "id": 686, "name": "UsingForDirective", - "src": "459:27:5" + "src": "459:27:6" }, { "attributes": { @@ -600,7 +600,7 @@ "constant": false, "indexed": true, "name": "to", - "scope": 638, + "scope": 692, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -613,21 +613,21 @@ "name": "address", "type": "address" }, - "id": 633, + "id": 687, "name": "ElementaryTypeName", - "src": "501:7:5" + "src": "501:7:6" } ], - "id": 634, + "id": 688, "name": "VariableDeclaration", - "src": "501:18:5" + "src": "501:18:6" }, { "attributes": { "constant": false, "indexed": false, "name": "amount", - "scope": 638, + "scope": 692, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -640,24 +640,24 @@ "name": "uint256", "type": "uint256" }, - "id": 635, + "id": 689, "name": "ElementaryTypeName", - "src": "521:7:5" + "src": "521:7:6" } ], - "id": 636, + "id": 690, "name": "VariableDeclaration", - "src": "521:14:5" + "src": "521:14:6" } ], - "id": 637, + "id": 691, "name": "ParameterList", - "src": "500:36:5" + "src": "500:36:6" } ], - "id": 638, + "id": 692, "name": "EventDefinition", - "src": "490:47:5" + "src": "490:47:6" }, { "attributes": { @@ -672,20 +672,20 @@ ] }, "children": [], - "id": 639, + "id": 693, "name": "ParameterList", - "src": "558:2:5" + "src": "558:2:6" } ], - "id": 640, + "id": 694, "name": "EventDefinition", - "src": "540:21:5" + "src": "540:21:6" }, { "attributes": { "constant": false, "name": "mintingFinished", - "scope": 817, + "scope": 871, "stateVariable": true, "storageLocation": "default", "type": "bool", @@ -697,9 +697,9 @@ "name": "bool", "type": "bool" }, - "id": 641, + "id": 695, "name": "ElementaryTypeName", - "src": "565:4:5" + "src": "565:4:6" }, { "attributes": { @@ -714,20 +714,20 @@ "type": "bool", "value": "false" }, - "id": 642, + "id": 696, "name": "Literal", - "src": "595:5:5" + "src": "595:5:6" } ], - "id": 643, + "id": 697, "name": "VariableDeclaration", - "src": "565:35:5" + "src": "565:35:6" }, { "attributes": { "constant": false, "name": "initialized", - "scope": 817, + "scope": 871, "stateVariable": true, "storageLocation": "default", "type": "bool", @@ -739,9 +739,9 @@ "name": "bool", "type": "bool" }, - "id": 644, + "id": 698, "name": "ElementaryTypeName", - "src": "604:4:5" + "src": "604:4:6" }, { "attributes": { @@ -756,20 +756,20 @@ "type": "bool", "value": "false" }, - "id": 645, + "id": 699, "name": "Literal", - "src": "630:5:5" + "src": "630:5:6" } ], - "id": 646, + "id": 700, "name": "VariableDeclaration", - "src": "604:31:5" + "src": "604:31:6" }, { "attributes": { "constant": false, "name": "name", - "scope": 817, + "scope": 871, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -782,20 +782,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 647, + "id": 701, "name": "ElementaryTypeName", - "src": "639:6:5" + "src": "639:6:6" } ], - "id": 648, + "id": 702, "name": "VariableDeclaration", - "src": "639:18:5" + "src": "639:18:6" }, { "attributes": { "constant": false, "name": "symbol", - "scope": 817, + "scope": 871, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -808,20 +808,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 649, + "id": 703, "name": "ElementaryTypeName", - "src": "661:6:5" + "src": "661:6:6" } ], - "id": 650, + "id": 704, "name": "VariableDeclaration", - "src": "661:20:5" + "src": "661:20:6" }, { "attributes": { "constant": false, "name": "decimals", - "scope": 817, + "scope": 871, "stateVariable": true, "storageLocation": "default", "type": "uint8", @@ -834,20 +834,20 @@ "name": "uint8", "type": "uint8" }, - "id": 651, + "id": 705, "name": "ElementaryTypeName", - "src": "685:5:5" + "src": "685:5:6" } ], - "id": 652, + "id": 706, "name": "VariableDeclaration", - "src": "685:21:5" + "src": "685:21:6" }, { "attributes": { "constant": false, "name": "projectOwner", - "scope": 817, + "scope": 871, "stateVariable": true, "storageLocation": "default", "type": "address", @@ -860,14 +860,14 @@ "name": "address", "type": "address" }, - "id": 653, + "id": 707, "name": "ElementaryTypeName", - "src": "710:7:5" + "src": "710:7:6" } ], - "id": 654, + "id": 708, "name": "VariableDeclaration", - "src": "710:27:5" + "src": "710:27:6" }, { "attributes": { @@ -882,9 +882,9 @@ ] }, "children": [], - "id": 655, + "id": 709, "name": "ParameterList", - "src": "758:2:5" + "src": "758:2:6" }, { "children": [ @@ -916,13 +916,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 656, + "id": 710, "name": "Identifier", - "src": "767:7:5" + "src": "767:7:6" }, { "attributes": { @@ -942,43 +942,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 643, + "referencedDeclaration": 697, "type": "bool", "value": "mintingFinished" }, - "id": 657, + "id": 711, "name": "Identifier", - "src": "776:15:5" + "src": "776:15:6" } ], - "id": 658, + "id": 712, "name": "UnaryOperation", - "src": "775:16:5" + "src": "775:16:6" } ], - "id": 659, + "id": 713, "name": "FunctionCall", - "src": "767:25:5" + "src": "767:25:6" } ], - "id": 660, + "id": 714, "name": "ExpressionStatement", - "src": "767:25:5" + "src": "767:25:6" }, { - "id": 661, + "id": 715, "name": "PlaceholderStatement", - "src": "798:1:5" + "src": "798:1:6" } ], - "id": 662, + "id": 716, "name": "Block", - "src": "761:43:5" + "src": "761:43:6" } ], - "id": 663, + "id": 717, "name": "ModifierDefinition", - "src": "742:62:5" + "src": "742:62:6" }, { "attributes": { @@ -990,7 +990,7 @@ ], "name": "MintableToken", "payable": false, - "scope": 817, + "scope": 871, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1003,9 +1003,9 @@ ] }, "children": [], - "id": 664, + "id": 718, "name": "ParameterList", - "src": "830:2:5" + "src": "830:2:6" }, { "attributes": { @@ -1014,9 +1014,9 @@ ] }, "children": [], - "id": 665, + "id": 719, "name": "ParameterList", - "src": "840:0:5" + "src": "840:0:6" }, { "attributes": { @@ -1025,14 +1025,14 @@ ] }, "children": [], - "id": 666, + "id": 720, "name": "Block", - "src": "840:2:5" + "src": "840:2:6" } ], - "id": 667, + "id": 721, "name": "FunctionDefinition", - "src": "808:34:5" + "src": "808:34:6" }, { "attributes": { @@ -1041,7 +1041,7 @@ "isConstructor": false, "name": "init", "payable": false, - "scope": 817, + "scope": 871, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1053,7 +1053,7 @@ "attributes": { "constant": false, "name": "_name", - "scope": 710, + "scope": 764, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1066,20 +1066,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 668, + "id": 722, "name": "ElementaryTypeName", - "src": "860:6:5" + "src": "860:6:6" } ], - "id": 669, + "id": 723, "name": "VariableDeclaration", - "src": "860:12:5" + "src": "860:12:6" }, { "attributes": { "constant": false, "name": "_symbol", - "scope": 710, + "scope": 764, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -1092,20 +1092,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 670, + "id": 724, "name": "ElementaryTypeName", - "src": "874:6:5" + "src": "874:6:6" } ], - "id": 671, + "id": 725, "name": "VariableDeclaration", - "src": "874:14:5" + "src": "874:14:6" }, { "attributes": { "constant": false, "name": "_decimals", - "scope": 710, + "scope": 764, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -1118,20 +1118,20 @@ "name": "uint8", "type": "uint8" }, - "id": 672, + "id": 726, "name": "ElementaryTypeName", - "src": "890:5:5" + "src": "890:5:6" } ], - "id": 673, + "id": 727, "name": "VariableDeclaration", - "src": "890:15:5" + "src": "890:15:6" }, { "attributes": { "constant": false, "name": "_projectOwner", - "scope": 710, + "scope": 764, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1144,19 +1144,19 @@ "name": "address", "type": "address" }, - "id": 674, + "id": 728, "name": "ElementaryTypeName", - "src": "907:7:5" + "src": "907:7:6" } ], - "id": 675, + "id": 729, "name": "VariableDeclaration", - "src": "907:21:5" + "src": "907:21:6" } ], - "id": 676, + "id": 730, "name": "ParameterList", - "src": "859:70:5" + "src": "859:70:6" }, { "children": [ @@ -1164,7 +1164,7 @@ "attributes": { "constant": false, "name": "", - "scope": 710, + "scope": 764, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1177,19 +1177,19 @@ "name": "bool", "type": "bool" }, - "id": 679, + "id": 733, "name": "ElementaryTypeName", - "src": "958:4:5" + "src": "958:4:6" } ], - "id": 680, + "id": 734, "name": "VariableDeclaration", - "src": "958:4:5" + "src": "958:4:6" } ], - "id": 681, + "id": 735, "name": "ParameterList", - "src": "957:6:5" + "src": "957:6:6" }, { "attributes": { @@ -1204,18 +1204,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 2058, "type": "modifier ()", "value": "onlyOwner" }, - "id": 677, + "id": 731, "name": "Identifier", - "src": "930:9:5" + "src": "930:9:6" } ], - "id": 678, + "id": 732, "name": "ModifierInvocation", - "src": "930:11:5" + "src": "930:11:6" }, { "children": [ @@ -1247,13 +1247,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 682, + "id": 736, "name": "Identifier", - "src": "970:7:5" + "src": "970:7:6" }, { "attributes": { @@ -1273,28 +1273,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 646, + "referencedDeclaration": 700, "type": "bool", "value": "initialized" }, - "id": 683, + "id": 737, "name": "Identifier", - "src": "979:11:5" + "src": "979:11:6" } ], - "id": 684, + "id": 738, "name": "UnaryOperation", - "src": "978:12:5" + "src": "978:12:6" } ], - "id": 685, + "id": 739, "name": "FunctionCall", - "src": "970:21:5" + "src": "970:21:6" } ], - "id": 686, + "id": 740, "name": "ExpressionStatement", - "src": "970:21:5" + "src": "970:21:6" }, { "children": [ @@ -1315,13 +1315,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 648, + "referencedDeclaration": 702, "type": "string storage ref", "value": "name" }, - "id": 687, + "id": 741, "name": "Identifier", - "src": "997:4:5" + "src": "997:4:6" }, { "attributes": { @@ -1329,23 +1329,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 669, + "referencedDeclaration": 723, "type": "string memory", "value": "_name" }, - "id": 688, + "id": 742, "name": "Identifier", - "src": "1004:5:5" + "src": "1004:5:6" } ], - "id": 689, + "id": 743, "name": "Assignment", - "src": "997:12:5" + "src": "997:12:6" } ], - "id": 690, + "id": 744, "name": "ExpressionStatement", - "src": "997:12:5" + "src": "997:12:6" }, { "children": [ @@ -1366,13 +1366,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 650, + "referencedDeclaration": 704, "type": "string storage ref", "value": "symbol" }, - "id": 691, + "id": 745, "name": "Identifier", - "src": "1015:6:5" + "src": "1015:6:6" }, { "attributes": { @@ -1380,23 +1380,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 671, + "referencedDeclaration": 725, "type": "string memory", "value": "_symbol" }, - "id": 692, + "id": 746, "name": "Identifier", - "src": "1024:7:5" + "src": "1024:7:6" } ], - "id": 693, + "id": 747, "name": "Assignment", - "src": "1015:16:5" + "src": "1015:16:6" } ], - "id": 694, + "id": 748, "name": "ExpressionStatement", - "src": "1015:16:5" + "src": "1015:16:6" }, { "children": [ @@ -1417,13 +1417,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 652, + "referencedDeclaration": 706, "type": "uint8", "value": "decimals" }, - "id": 695, + "id": 749, "name": "Identifier", - "src": "1037:8:5" + "src": "1037:8:6" }, { "attributes": { @@ -1431,23 +1431,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 673, + "referencedDeclaration": 727, "type": "uint8", "value": "_decimals" }, - "id": 696, + "id": 750, "name": "Identifier", - "src": "1048:9:5" + "src": "1048:9:6" } ], - "id": 697, + "id": 751, "name": "Assignment", - "src": "1037:20:5" + "src": "1037:20:6" } ], - "id": 698, + "id": 752, "name": "ExpressionStatement", - "src": "1037:20:5" + "src": "1037:20:6" }, { "children": [ @@ -1468,13 +1468,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 654, + "referencedDeclaration": 708, "type": "address", "value": "projectOwner" }, - "id": 699, + "id": 753, "name": "Identifier", - "src": "1063:12:5" + "src": "1063:12:6" }, { "attributes": { @@ -1482,23 +1482,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 675, + "referencedDeclaration": 729, "type": "address", "value": "_projectOwner" }, - "id": 700, + "id": 754, "name": "Identifier", - "src": "1078:13:5" + "src": "1078:13:6" } ], - "id": 701, + "id": 755, "name": "Assignment", - "src": "1063:28:5" + "src": "1063:28:6" } ], - "id": 702, + "id": 756, "name": "ExpressionStatement", - "src": "1063:28:5" + "src": "1063:28:6" }, { "children": [ @@ -1519,13 +1519,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 646, + "referencedDeclaration": 700, "type": "bool", "value": "initialized" }, - "id": 703, + "id": 757, "name": "Identifier", - "src": "1097:11:5" + "src": "1097:11:6" }, { "attributes": { @@ -1540,23 +1540,23 @@ "type": "bool", "value": "true" }, - "id": 704, + "id": 758, "name": "Literal", - "src": "1111:4:5" + "src": "1111:4:6" } ], - "id": 705, + "id": 759, "name": "Assignment", - "src": "1097:18:5" + "src": "1097:18:6" } ], - "id": 706, + "id": 760, "name": "ExpressionStatement", - "src": "1097:18:5" + "src": "1097:18:6" }, { "attributes": { - "functionReturnParameters": 681 + "functionReturnParameters": 735 }, "children": [ { @@ -1565,28 +1565,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 646, + "referencedDeclaration": 700, "type": "bool", "value": "initialized" }, - "id": 707, + "id": 761, "name": "Identifier", - "src": "1128:11:5" + "src": "1128:11:6" } ], - "id": 708, + "id": 762, "name": "Return", - "src": "1121:18:5" + "src": "1121:18:6" } ], - "id": 709, + "id": 763, "name": "Block", - "src": "964:180:5" + "src": "964:180:6" } ], - "id": 710, + "id": 764, "name": "FunctionDefinition", - "src": "846:298:5" + "src": "846:298:6" }, { "attributes": { @@ -1595,7 +1595,7 @@ "isConstructor": false, "name": "mint", "payable": false, - "scope": 817, + "scope": 871, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1607,7 +1607,7 @@ "attributes": { "constant": false, "name": "_to", - "scope": 757, + "scope": 811, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1620,20 +1620,20 @@ "name": "address", "type": "address" }, - "id": 711, + "id": 765, "name": "ElementaryTypeName", - "src": "1394:7:5" + "src": "1394:7:6" } ], - "id": 712, + "id": 766, "name": "VariableDeclaration", - "src": "1394:11:5" + "src": "1394:11:6" }, { "attributes": { "constant": false, "name": "_amount", - "scope": 757, + "scope": 811, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1646,19 +1646,19 @@ "name": "uint256", "type": "uint256" }, - "id": 713, + "id": 767, "name": "ElementaryTypeName", - "src": "1407:7:5" + "src": "1407:7:6" } ], - "id": 714, + "id": 768, "name": "VariableDeclaration", - "src": "1407:15:5" + "src": "1407:15:6" } ], - "id": 715, + "id": 769, "name": "ParameterList", - "src": "1393:30:5" + "src": "1393:30:6" }, { "children": [ @@ -1666,7 +1666,7 @@ "attributes": { "constant": false, "name": "", - "scope": 757, + "scope": 811, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1679,19 +1679,19 @@ "name": "bool", "type": "bool" }, - "id": 720, + "id": 774, "name": "ElementaryTypeName", - "src": "1462:4:5" + "src": "1462:4:6" } ], - "id": 721, + "id": 775, "name": "VariableDeclaration", - "src": "1462:4:5" + "src": "1462:4:6" } ], - "id": 722, + "id": 776, "name": "ParameterList", - "src": "1461:6:5" + "src": "1461:6:6" }, { "attributes": { @@ -1706,18 +1706,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 2058, "type": "modifier ()", "value": "onlyOwner" }, - "id": 716, + "id": 770, "name": "Identifier", - "src": "1424:9:5" + "src": "1424:9:6" } ], - "id": 717, + "id": 771, "name": "ModifierInvocation", - "src": "1424:11:5" + "src": "1424:11:6" }, { "attributes": { @@ -1732,18 +1732,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 663, + "referencedDeclaration": 717, "type": "modifier ()", "value": "canMint" }, - "id": 718, + "id": 772, "name": "Identifier", - "src": "1436:7:5" + "src": "1436:7:6" } ], - "id": 719, + "id": 773, "name": "ModifierInvocation", - "src": "1436:9:5" + "src": "1436:9:6" }, { "children": [ @@ -1766,13 +1766,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 344, + "referencedDeclaration": 339, "type": "uint256", "value": "totalSupply" }, - "id": 723, + "id": 777, "name": "Identifier", - "src": "1474:11:5" + "src": "1474:11:6" }, { "attributes": { @@ -1802,7 +1802,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 2151, + "referencedDeclaration": 4498, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1812,18 +1812,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 344, + "referencedDeclaration": 339, "type": "uint256", "value": "totalSupply" }, - "id": 724, + "id": 778, "name": "Identifier", - "src": "1488:11:5" + "src": "1488:11:6" } ], - "id": 725, + "id": 779, "name": "MemberAccess", - "src": "1488:15:5" + "src": "1488:15:6" }, { "attributes": { @@ -1831,28 +1831,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 714, + "referencedDeclaration": 768, "type": "uint256", "value": "_amount" }, - "id": 726, + "id": 780, "name": "Identifier", - "src": "1504:7:5" + "src": "1504:7:6" } ], - "id": 727, + "id": 781, "name": "FunctionCall", - "src": "1488:24:5" + "src": "1488:24:6" } ], - "id": 728, + "id": 782, "name": "Assignment", - "src": "1474:38:5" + "src": "1474:38:6" } ], - "id": 729, + "id": 783, "name": "ExpressionStatement", - "src": "1474:38:5" + "src": "1474:38:6" }, { "children": [ @@ -1883,13 +1883,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 333, + "referencedDeclaration": 328, "type": "mapping(address => uint256)", "value": "balances" }, - "id": 730, + "id": 784, "name": "Identifier", - "src": "1518:8:5" + "src": "1518:8:6" }, { "attributes": { @@ -1897,18 +1897,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 712, + "referencedDeclaration": 766, "type": "address", "value": "_to" }, - "id": 731, + "id": 785, "name": "Identifier", - "src": "1527:3:5" + "src": "1527:3:6" } ], - "id": 732, + "id": 786, "name": "IndexAccess", - "src": "1518:13:5" + "src": "1518:13:6" }, { "attributes": { @@ -1938,7 +1938,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 2151, + "referencedDeclaration": 4498, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1958,13 +1958,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 333, + "referencedDeclaration": 328, "type": "mapping(address => uint256)", "value": "balances" }, - "id": 733, + "id": 787, "name": "Identifier", - "src": "1534:8:5" + "src": "1534:8:6" }, { "attributes": { @@ -1972,23 +1972,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 712, + "referencedDeclaration": 766, "type": "address", "value": "_to" }, - "id": 734, + "id": 788, "name": "Identifier", - "src": "1543:3:5" + "src": "1543:3:6" } ], - "id": 735, + "id": 789, "name": "IndexAccess", - "src": "1534:13:5" + "src": "1534:13:6" } ], - "id": 736, + "id": 790, "name": "MemberAccess", - "src": "1534:17:5" + "src": "1534:17:6" }, { "attributes": { @@ -1996,28 +1996,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 714, + "referencedDeclaration": 768, "type": "uint256", "value": "_amount" }, - "id": 737, + "id": 791, "name": "Identifier", - "src": "1552:7:5" + "src": "1552:7:6" } ], - "id": 738, + "id": 792, "name": "FunctionCall", - "src": "1534:26:5" + "src": "1534:26:6" } ], - "id": 739, + "id": 793, "name": "Assignment", - "src": "1518:42:5" + "src": "1518:42:6" } ], - "id": 740, + "id": 794, "name": "ExpressionStatement", - "src": "1518:42:5" + "src": "1518:42:6" }, { "children": [ @@ -2051,13 +2051,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 638, + "referencedDeclaration": 692, "type": "function (address,uint256)", "value": "Mint" }, - "id": 741, + "id": 795, "name": "Identifier", - "src": "1566:4:5" + "src": "1566:4:6" }, { "attributes": { @@ -2065,13 +2065,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 712, + "referencedDeclaration": 766, "type": "address", "value": "_to" }, - "id": 742, + "id": 796, "name": "Identifier", - "src": "1571:3:5" + "src": "1571:3:6" }, { "attributes": { @@ -2079,23 +2079,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 714, + "referencedDeclaration": 768, "type": "uint256", "value": "_amount" }, - "id": 743, + "id": 797, "name": "Identifier", - "src": "1576:7:5" + "src": "1576:7:6" } ], - "id": 744, + "id": 798, "name": "FunctionCall", - "src": "1566:18:5" + "src": "1566:18:6" } ], - "id": 745, + "id": 799, "name": "ExpressionStatement", - "src": "1566:18:5" + "src": "1566:18:6" }, { "children": [ @@ -2133,13 +2133,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 397, + "referencedDeclaration": 392, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 746, + "id": 800, "name": "Identifier", - "src": "1590:8:5" + "src": "1590:8:6" }, { "attributes": { @@ -2171,9 +2171,9 @@ "type": "type(address)", "value": "address" }, - "id": 747, + "id": 801, "name": "ElementaryTypeNameExpression", - "src": "1599:7:5" + "src": "1599:7:6" }, { "attributes": { @@ -2188,14 +2188,14 @@ "type": "int_const 0", "value": "0" }, - "id": 748, + "id": 802, "name": "Literal", - "src": "1607:1:5" + "src": "1607:1:6" } ], - "id": 749, + "id": 803, "name": "FunctionCall", - "src": "1599:10:5" + "src": "1599:10:6" }, { "attributes": { @@ -2203,13 +2203,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 712, + "referencedDeclaration": 766, "type": "address", "value": "_to" }, - "id": 750, + "id": 804, "name": "Identifier", - "src": "1611:3:5" + "src": "1611:3:6" }, { "attributes": { @@ -2217,27 +2217,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 714, + "referencedDeclaration": 768, "type": "uint256", "value": "_amount" }, - "id": 751, + "id": 805, "name": "Identifier", - "src": "1616:7:5" + "src": "1616:7:6" } ], - "id": 752, + "id": 806, "name": "FunctionCall", - "src": "1590:34:5" + "src": "1590:34:6" } ], - "id": 753, + "id": 807, "name": "ExpressionStatement", - "src": "1590:34:5" + "src": "1590:34:6" }, { "attributes": { - "functionReturnParameters": 722 + "functionReturnParameters": 776 }, "children": [ { @@ -2253,24 +2253,24 @@ "type": "bool", "value": "true" }, - "id": 754, + "id": 808, "name": "Literal", - "src": "1637:4:5" + "src": "1637:4:6" } ], - "id": 755, + "id": 809, "name": "Return", - "src": "1630:11:5" + "src": "1630:11:6" } ], - "id": 756, + "id": 810, "name": "Block", - "src": "1468:178:5" + "src": "1468:178:6" } ], - "id": 757, + "id": 811, "name": "FunctionDefinition", - "src": "1380:266:5" + "src": "1380:266:6" }, { "attributes": { @@ -2279,7 +2279,7 @@ "isConstructor": false, "name": "finishMinting", "payable": false, - "scope": 817, + "scope": 871, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2292,9 +2292,9 @@ ] }, "children": [], - "id": 758, + "id": 812, "name": "ParameterList", - "src": "1782:2:5" + "src": "1782:2:6" }, { "children": [ @@ -2302,7 +2302,7 @@ "attributes": { "constant": false, "name": "", - "scope": 781, + "scope": 835, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -2315,19 +2315,19 @@ "name": "bool", "type": "bool" }, - "id": 761, + "id": 815, "name": "ElementaryTypeName", - "src": "1811:4:5" + "src": "1811:4:6" } ], - "id": 762, + "id": 816, "name": "VariableDeclaration", - "src": "1811:4:5" + "src": "1811:4:6" } ], - "id": 763, + "id": 817, "name": "ParameterList", - "src": "1810:6:5" + "src": "1810:6:6" }, { "attributes": { @@ -2342,18 +2342,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 663, + "referencedDeclaration": 717, "type": "modifier ()", "value": "canMint" }, - "id": 759, + "id": 813, "name": "Identifier", - "src": "1785:7:5" + "src": "1785:7:6" } ], - "id": 760, + "id": 814, "name": "ModifierInvocation", - "src": "1785:9:5" + "src": "1785:9:6" }, { "children": [ @@ -2385,13 +2385,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 764, + "id": 818, "name": "Identifier", - "src": "1823:7:5" + "src": "1823:7:6" }, { "attributes": { @@ -2426,18 +2426,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 765, + "id": 819, "name": "Identifier", - "src": "1831:3:5" + "src": "1831:3:6" } ], - "id": 766, + "id": 820, "name": "MemberAccess", - "src": "1831:10:5" + "src": "1831:10:6" }, { "attributes": { @@ -2445,28 +2445,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 654, + "referencedDeclaration": 708, "type": "address", "value": "projectOwner" }, - "id": 767, + "id": 821, "name": "Identifier", - "src": "1845:12:5" + "src": "1845:12:6" } ], - "id": 768, + "id": 822, "name": "BinaryOperation", - "src": "1831:26:5" + "src": "1831:26:6" } ], - "id": 769, + "id": 823, "name": "FunctionCall", - "src": "1823:35:5" + "src": "1823:35:6" } ], - "id": 770, + "id": 824, "name": "ExpressionStatement", - "src": "1823:35:5" + "src": "1823:35:6" }, { "children": [ @@ -2487,13 +2487,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 643, + "referencedDeclaration": 697, "type": "bool", "value": "mintingFinished" }, - "id": 771, + "id": 825, "name": "Identifier", - "src": "1864:15:5" + "src": "1864:15:6" }, { "attributes": { @@ -2508,19 +2508,19 @@ "type": "bool", "value": "true" }, - "id": 772, + "id": 826, "name": "Literal", - "src": "1882:4:5" + "src": "1882:4:6" } ], - "id": 773, + "id": 827, "name": "Assignment", - "src": "1864:22:5" + "src": "1864:22:6" } ], - "id": 774, + "id": 828, "name": "ExpressionStatement", - "src": "1864:22:5" + "src": "1864:22:6" }, { "children": [ @@ -2550,27 +2550,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 640, + "referencedDeclaration": 694, "type": "function ()", "value": "MintFinished" }, - "id": 775, + "id": 829, "name": "Identifier", - "src": "1892:12:5" + "src": "1892:12:6" } ], - "id": 776, + "id": 830, "name": "FunctionCall", - "src": "1892:14:5" + "src": "1892:14:6" } ], - "id": 777, + "id": 831, "name": "ExpressionStatement", - "src": "1892:14:5" + "src": "1892:14:6" }, { "attributes": { - "functionReturnParameters": 763 + "functionReturnParameters": 817 }, "children": [ { @@ -2586,39 +2586,39 @@ "type": "bool", "value": "true" }, - "id": 778, + "id": 832, "name": "Literal", - "src": "1919:4:5" + "src": "1919:4:6" } ], - "id": 779, + "id": 833, "name": "Return", - "src": "1912:11:5" + "src": "1912:11:6" } ], - "id": 780, + "id": 834, "name": "Block", - "src": "1817:111:5" + "src": "1817:111:6" } ], - "id": 781, + "id": 835, "name": "FunctionDefinition", - "src": "1760:168:5" + "src": "1760:168:6" }, { "attributes": { "constant": false, "implemented": true, "isConstructor": false, + "modifiers": [ + null + ], "name": "tokenTransfer", "payable": false, - "scope": 817, + "scope": 871, "stateMutability": "nonpayable", "superFunction": null, - "visibility": "public", - "modifiers": [ - null - ] + "visibility": "public" }, "children": [ { @@ -2627,7 +2627,7 @@ "attributes": { "constant": false, "name": "_token", - "scope": 816, + "scope": 870, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2640,32 +2640,27 @@ "name": "address", "type": "address" }, - "id": 782, + "id": 836, "name": "ElementaryTypeName", - "src": "2019:7:5" + "src": "2019:7:6" } ], - "id": 783, + "id": 837, "name": "VariableDeclaration", - "src": "2019:14:5" + "src": "2019:14:6" } ], - "id": 784, + "id": 838, "name": "ParameterList", - "src": "2018:16:5" + "src": "2018:16:6" }, { - "attributes": { - "parameters": [ - null - ] - }, "children": [ { "attributes": { "constant": false, "name": "", - "scope": 816, + "scope": 870, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -2678,40 +2673,23 @@ "name": "bool", "type": "bool" }, - "id": 785, + "id": 839, "name": "ElementaryTypeName", - "src": "2051:4:5" + "src": "2051:4:6" } ], - "id": 786, + "id": 840, "name": "VariableDeclaration", - "src": "2051:4:5" + "src": "2051:4:6" } ], - "id": 787, + "id": 841, "name": "ParameterList", - "src": "2050:6:5" + "src": "2050:6:6" }, { - "attributes": { - "arguments": [ - null - ] - }, "children": [ { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 840, - "type": "modifier ()", - "value": "onlyOwner" - }, - "id": 794, - "name": "ExpressionStatement", - "src": "2066:35:5", "children": [ { "attributes": { @@ -2739,13 +2717,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 788, + "id": 842, "name": "Identifier", - "src": "2066:7:5" + "src": "2066:7:6" }, { "attributes": { @@ -2780,18 +2758,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 789, + "id": 843, "name": "Identifier", - "src": "2074:3:5" + "src": "2074:3:6" } ], - "id": 790, + "id": 844, "name": "MemberAccess", - "src": "2074:10:5" + "src": "2074:10:6" }, { "attributes": { @@ -2799,333 +2777,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 654, + "referencedDeclaration": 708, "type": "address", "value": "projectOwner" }, - "id": 791, + "id": 845, "name": "Identifier", - "src": "2088:12:5" + "src": "2088:12:6" } ], - "id": 792, + "id": 846, "name": "BinaryOperation", - "src": "2074:26:5" - } - ], - "id": 793, - "name": "FunctionCall", - "src": "2066:35:5" - } - ] - }, - { - "attributes": { - "assignments": [ - 796 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "token", - "scope": 816, - "stateVariable": false, - "storageLocation": "default", - "type": "contract EIP20StandardToken", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "contractScope": null, - "name": "EIP20StandardToken", - "referencedDeclaration": 340, - "type": "contract EIP20StandardToken" - }, - "id": 795, - "name": "UserDefinedTypeName", - "src": "2108:18:5" - } - ], - "id": 796, - "name": "VariableDeclaration", - "src": "2108:24:5" - }, - { - "attributes": { - "argumentTypes": null, - "isConstant": false, - "isLValue": false, - "isPure": false, - "isStructConstructorCall": false, - "lValueRequested": false, - "names": [ - null - ], - "type": "contract EIP20StandardToken", - "type_conversion": true - }, - "children": [ - { - "attributes": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 340, - "type": "type(contract EIP20StandardToken)", - "value": "EIP20StandardToken" - }, - "id": 797, - "name": "Identifier", - "src": "2135:18:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 783, - "type": "address", - "value": "_token" - }, - "id": 798, - "name": "Identifier", - "src": "2154:6:5" + "src": "2074:26:6" } ], - "id": 799, + "id": 847, "name": "FunctionCall", - "src": "2135:26:5" + "src": "2066:35:6" } ], - "id": 800, - "name": "VariableDeclarationStatement", - "src": "2108:53:5" - }, - { - "attributes": { - "assignments": [ - 802 - ] - }, - "children": [ - { - "attributes": { - "constant": false, - "name": "balance", - "scope": 816, - "stateVariable": false, - "storageLocation": "default", - "type": "uint256", - "value": null, - "visibility": "internal" - }, - "children": [ - { - "attributes": { - "name": "uint", - "type": "uint256" - }, - "id": 801, - "name": "ElementaryTypeName", - "src": "2168:4:5" - } - ], - "id": 802, - "name": "VariableDeclaration", - "src": "2168:12:5" - }, - { - "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$_MintableToken_$817", - "typeString": "contract MintableToken" - } - ], - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "member_name": "balanceOf", - "referencedDeclaration": 285, - "type": "function (address) view external returns (uint256)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 796, - "type": "contract EIP20StandardToken", - "value": "token" - }, - "id": 803, - "name": "Identifier", - "src": "2183:5:5" - } - ], - "id": 804, - "name": "MemberAccess", - "src": "2183:15:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 2195, - "type": "contract MintableToken", - "value": "this" - }, - "id": 805, - "name": "Identifier", - "src": "2199:4:5" - } - ], - "id": 806, - "name": "FunctionCall", - "src": "2183:21:5" - } - ], - "id": 807, - "name": "VariableDeclarationStatement", - "src": "2168:36:5" - }, - { - "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": 206, - "type": "function (address,uint256) external returns (bool)" - }, - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 796, - "type": "contract EIP20StandardToken", - "value": "token" - }, - "id": 808, - "name": "Identifier", - "src": "2215:5:5" - } - ], - "id": 810, - "name": "MemberAccess", - "src": "2215:14:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 654, - "type": "address", - "value": "projectOwner" - }, - "id": 811, - "name": "Identifier", - "src": "2230:12:5" - }, - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 802, - "type": "uint256", - "value": "balance" - }, - "id": 812, - "name": "Identifier", - "src": "2244:7:5" - } - ], - "id": 813, - "name": "FunctionCall", - "src": "2215:37:5" - } - ], - "id": 814, + "id": 848, "name": "ExpressionStatement", - "src": "2215:37:5" - } - ], - "id": 815, - "name": "Block", - "src": "2057:200:5" - }, - { - "children": [ + "src": "2066:35:6" + }, { "attributes": { "assignments": [ - 789 + 850 ] }, "children": [ @@ -3133,7 +2811,7 @@ "attributes": { "constant": false, "name": "token", - "scope": 809, + "scope": 870, "stateVariable": false, "storageLocation": "default", "type": "contract EIP20StandardToken", @@ -3145,17 +2823,17 @@ "attributes": { "contractScope": null, "name": "EIP20StandardToken", - "referencedDeclaration": 340, + "referencedDeclaration": 335, "type": "contract EIP20StandardToken" }, - "id": 788, + "id": 849, "name": "UserDefinedTypeName", - "src": "2065:18:5" + "src": "2108:18:6" } ], - "id": 789, + "id": 850, "name": "VariableDeclaration", - "src": "2065:24:5" + "src": "2108:24:6" }, { "attributes": { @@ -3183,13 +2861,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 340, + "referencedDeclaration": 335, "type": "type(contract EIP20StandardToken)", "value": "EIP20StandardToken" }, - "id": 790, + "id": 851, "name": "Identifier", - "src": "2092:18:5" + "src": "2135:18:6" }, { "attributes": { @@ -3197,28 +2875,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 783, + "referencedDeclaration": 837, "type": "address", "value": "_token" }, - "id": 791, + "id": 852, "name": "Identifier", - "src": "2111:6:5" + "src": "2154:6:6" } ], - "id": 792, + "id": 853, "name": "FunctionCall", - "src": "2092:26:5" + "src": "2135:26:6" } ], - "id": 793, + "id": 854, "name": "VariableDeclarationStatement", - "src": "2065:53:5" + "src": "2108:53:6" }, { "attributes": { "assignments": [ - 795 + 856 ] }, "children": [ @@ -3226,7 +2904,7 @@ "attributes": { "constant": false, "name": "balance", - "scope": 809, + "scope": 870, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3239,14 +2917,14 @@ "name": "uint", "type": "uint256" }, - "id": 794, + "id": 855, "name": "ElementaryTypeName", - "src": "2125:4:5" + "src": "2168:4:6" } ], - "id": 795, + "id": 856, "name": "VariableDeclaration", - "src": "2125:12:5" + "src": "2168:12:6" }, { "attributes": { @@ -3267,7 +2945,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MintableToken_$810", + "typeIdentifier": "t_contract$_MintableToken_$871", "typeString": "contract MintableToken" } ], @@ -3276,7 +2954,7 @@ "isPure": false, "lValueRequested": false, "member_name": "balanceOf", - "referencedDeclaration": 285, + "referencedDeclaration": 280, "type": "function (address) view external returns (uint256)" }, "children": [ @@ -3286,18 +2964,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 789, + "referencedDeclaration": 850, "type": "contract EIP20StandardToken", "value": "token" }, - "id": 796, + "id": 857, "name": "Identifier", - "src": "2140:5:5" + "src": "2183:5:6" } ], - "id": 797, + "id": 858, "name": "MemberAccess", - "src": "2140:15:5" + "src": "2183:15:6" }, { "attributes": { @@ -3305,23 +2983,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 4542, "type": "contract MintableToken", "value": "this" }, - "id": 798, + "id": 859, "name": "Identifier", - "src": "2156:4:5" + "src": "2199:4:6" } ], - "id": 799, + "id": 860, "name": "FunctionCall", - "src": "2140:21:5" + "src": "2183:21:6" } ], - "id": 800, + "id": 861, "name": "VariableDeclarationStatement", - "src": "2125:36:5" + "src": "2168:36:6" }, { "children": [ @@ -3357,7 +3035,7 @@ "isPure": false, "lValueRequested": false, "member_name": "transfer", - "referencedDeclaration": 206, + "referencedDeclaration": 201, "type": "function (address,uint256) external returns (bool)" }, "children": [ @@ -3367,18 +3045,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 789, + "referencedDeclaration": 850, "type": "contract EIP20StandardToken", "value": "token" }, - "id": 801, + "id": 862, "name": "Identifier", - "src": "2172:5:5" + "src": "2215:5:6" } ], - "id": 803, + "id": 864, "name": "MemberAccess", - "src": "2172:14:5" + "src": "2215:14:6" }, { "attributes": { @@ -3386,13 +3064,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 654, + "referencedDeclaration": 708, "type": "address", "value": "projectOwner" }, - "id": 804, + "id": 865, "name": "Identifier", - "src": "2187:12:5" + "src": "2230:12:6" }, { "attributes": { @@ -3400,43 +3078,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 795, + "referencedDeclaration": 856, "type": "uint256", "value": "balance" }, - "id": 805, + "id": 866, "name": "Identifier", - "src": "2201:7:5" + "src": "2244:7:6" } ], - "id": 806, + "id": 867, "name": "FunctionCall", - "src": "2172:37:5" + "src": "2215:37:6" } ], - "id": 807, + "id": 868, "name": "ExpressionStatement", - "src": "2172:37:5" + "src": "2215:37:6" } ], - "id": 808, + "id": 869, "name": "Block", - "src": "2054:160:5" + "src": "2057:200:6" } ], - "id": 816, + "id": 870, "name": "FunctionDefinition", - "src": "1996:261:5" + "src": "1996:261:6" } ], - "id": 817, + "id": 871, "name": "ContractDefinition", - "src": "401:1862:5" + "src": "401:1862:6" } ], - "id": 818, + "id": 872, "name": "SourceUnit", - "src": "0:2263:5" + "src": "0:2263:6" }, "compiler": { "name": "solc", @@ -3444,5 +3122,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T09:25:39.447Z" + "updatedAt": "2018-01-15T16:10:12.639Z" } \ No newline at end of file diff --git a/build/contracts/MultiSigWallet.json b/build/contracts/MultiSigWallet.json index 975c1aa..1d7df0d 100644 --- a/build/contracts/MultiSigWallet.json +++ b/build/contracts/MultiSigWallet.json @@ -544,10 +544,10 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/MultiSigWalletWithDailyLimit.sol", "exportedSymbols": { "MultiSigWallet": [ - 1825 + 1834 ], "MultiSigWalletWithDailyLimit": [ - 2019 + 2028 ] } }, @@ -560,7 +560,7 @@ ".18" ] }, - "id": 864, + "id": 873, "name": "PragmaDirective", "src": "0:23:7" }, @@ -576,17 +576,17 @@ "documentation": "@title Multisignature wallet - Allows multiple parties to agree on transactions before execution.\n @author Stefan George - ", "fullyImplemented": true, "linearizedBaseContracts": [ - 1825 + 1834 ], "name": "MultiSigWallet", - "scope": 2020 + "scope": 2029 }, "children": [ { "attributes": { "constant": true, "name": "MAX_OWNER_COUNT", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -598,7 +598,7 @@ "name": "uint", "type": "uint256" }, - "id": 865, + "id": 874, "name": "ElementaryTypeName", "src": "217:4:7" }, @@ -615,12 +615,12 @@ "type": "int_const 50", "value": "50" }, - "id": 866, + "id": 875, "name": "Literal", "src": "256:2:7" } ], - "id": 867, + "id": 876, "name": "VariableDeclaration", "src": "217:41:7" }, @@ -637,7 +637,7 @@ "constant": false, "indexed": true, "name": "sender", - "scope": 873, + "scope": 882, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -650,12 +650,12 @@ "name": "address", "type": "address" }, - "id": 868, + "id": 877, "name": "ElementaryTypeName", "src": "284:7:7" } ], - "id": 869, + "id": 878, "name": "VariableDeclaration", "src": "284:22:7" }, @@ -664,7 +664,7 @@ "constant": false, "indexed": true, "name": "transactionId", - "scope": 873, + "scope": 882, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -677,22 +677,22 @@ "name": "uint", "type": "uint256" }, - "id": 870, + "id": 879, "name": "ElementaryTypeName", "src": "308:4:7" } ], - "id": 871, + "id": 880, "name": "VariableDeclaration", "src": "308:26:7" } ], - "id": 872, + "id": 881, "name": "ParameterList", "src": "283:52:7" } ], - "id": 873, + "id": 882, "name": "EventDefinition", "src": "265:71:7" }, @@ -709,7 +709,7 @@ "constant": false, "indexed": true, "name": "sender", - "scope": 879, + "scope": 888, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -722,12 +722,12 @@ "name": "address", "type": "address" }, - "id": 874, + "id": 883, "name": "ElementaryTypeName", "src": "358:7:7" } ], - "id": 875, + "id": 884, "name": "VariableDeclaration", "src": "358:22:7" }, @@ -736,7 +736,7 @@ "constant": false, "indexed": true, "name": "transactionId", - "scope": 879, + "scope": 888, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -749,22 +749,22 @@ "name": "uint", "type": "uint256" }, - "id": 876, + "id": 885, "name": "ElementaryTypeName", "src": "382:4:7" } ], - "id": 877, + "id": 886, "name": "VariableDeclaration", "src": "382:26:7" } ], - "id": 878, + "id": 887, "name": "ParameterList", "src": "357:52:7" } ], - "id": 879, + "id": 888, "name": "EventDefinition", "src": "341:69:7" }, @@ -781,7 +781,7 @@ "constant": false, "indexed": true, "name": "transactionId", - "scope": 883, + "scope": 892, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -794,22 +794,22 @@ "name": "uint", "type": "uint256" }, - "id": 880, + "id": 889, "name": "ElementaryTypeName", "src": "432:4:7" } ], - "id": 881, + "id": 890, "name": "VariableDeclaration", "src": "432:26:7" } ], - "id": 882, + "id": 891, "name": "ParameterList", "src": "431:28:7" } ], - "id": 883, + "id": 892, "name": "EventDefinition", "src": "415:45:7" }, @@ -826,7 +826,7 @@ "constant": false, "indexed": true, "name": "transactionId", - "scope": 887, + "scope": 896, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -839,22 +839,22 @@ "name": "uint", "type": "uint256" }, - "id": 884, + "id": 893, "name": "ElementaryTypeName", "src": "481:4:7" } ], - "id": 885, + "id": 894, "name": "VariableDeclaration", "src": "481:26:7" } ], - "id": 886, + "id": 895, "name": "ParameterList", "src": "480:28:7" } ], - "id": 887, + "id": 896, "name": "EventDefinition", "src": "465:44:7" }, @@ -871,7 +871,7 @@ "constant": false, "indexed": true, "name": "transactionId", - "scope": 891, + "scope": 900, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -884,22 +884,22 @@ "name": "uint", "type": "uint256" }, - "id": 888, + "id": 897, "name": "ElementaryTypeName", "src": "537:4:7" } ], - "id": 889, + "id": 898, "name": "VariableDeclaration", "src": "537:26:7" } ], - "id": 890, + "id": 899, "name": "ParameterList", "src": "536:28:7" } ], - "id": 891, + "id": 900, "name": "EventDefinition", "src": "514:51:7" }, @@ -916,7 +916,7 @@ "constant": false, "indexed": true, "name": "sender", - "scope": 897, + "scope": 906, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -929,12 +929,12 @@ "name": "address", "type": "address" }, - "id": 892, + "id": 901, "name": "ElementaryTypeName", "src": "584:7:7" } ], - "id": 893, + "id": 902, "name": "VariableDeclaration", "src": "584:22:7" }, @@ -943,7 +943,7 @@ "constant": false, "indexed": false, "name": "value", - "scope": 897, + "scope": 906, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -956,22 +956,22 @@ "name": "uint", "type": "uint256" }, - "id": 894, + "id": 903, "name": "ElementaryTypeName", "src": "608:4:7" } ], - "id": 895, + "id": 904, "name": "VariableDeclaration", "src": "608:10:7" } ], - "id": 896, + "id": 905, "name": "ParameterList", "src": "583:36:7" } ], - "id": 897, + "id": 906, "name": "EventDefinition", "src": "570:50:7" }, @@ -988,7 +988,7 @@ "constant": false, "indexed": true, "name": "owner", - "scope": 901, + "scope": 910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1001,22 +1001,22 @@ "name": "address", "type": "address" }, - "id": 898, + "id": 907, "name": "ElementaryTypeName", "src": "645:7:7" } ], - "id": 899, + "id": 908, "name": "VariableDeclaration", "src": "645:21:7" } ], - "id": 900, + "id": 909, "name": "ParameterList", "src": "644:23:7" } ], - "id": 901, + "id": 910, "name": "EventDefinition", "src": "625:43:7" }, @@ -1033,7 +1033,7 @@ "constant": false, "indexed": true, "name": "owner", - "scope": 905, + "scope": 914, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1046,22 +1046,22 @@ "name": "address", "type": "address" }, - "id": 902, + "id": 911, "name": "ElementaryTypeName", "src": "692:7:7" } ], - "id": 903, + "id": 912, "name": "VariableDeclaration", "src": "692:21:7" } ], - "id": 904, + "id": 913, "name": "ParameterList", "src": "691:23:7" } ], - "id": 905, + "id": 914, "name": "EventDefinition", "src": "673:42:7" }, @@ -1078,7 +1078,7 @@ "constant": false, "indexed": false, "name": "required", - "scope": 909, + "scope": 918, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1091,22 +1091,22 @@ "name": "uint", "type": "uint256" }, - "id": 906, + "id": 915, "name": "ElementaryTypeName", "src": "744:4:7" } ], - "id": 907, + "id": 916, "name": "VariableDeclaration", "src": "744:13:7" } ], - "id": 908, + "id": 917, "name": "ParameterList", "src": "743:15:7" } ], - "id": 909, + "id": 918, "name": "EventDefinition", "src": "720:39:7" }, @@ -1114,7 +1114,7 @@ "attributes": { "constant": false, "name": "transactions", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", @@ -1132,7 +1132,7 @@ "name": "uint", "type": "uint256" }, - "id": 910, + "id": 919, "name": "ElementaryTypeName", "src": "774:4:7" }, @@ -1140,20 +1140,20 @@ "attributes": { "contractScope": null, "name": "Transaction", - "referencedDeclaration": 939, + "referencedDeclaration": 948, "type": "struct MultiSigWallet.Transaction storage pointer" }, - "id": 911, + "id": 920, "name": "UserDefinedTypeName", "src": "782:11:7" } ], - "id": 912, + "id": 921, "name": "Mapping", "src": "765:29:7" } ], - "id": 913, + "id": 922, "name": "VariableDeclaration", "src": "765:49:7" }, @@ -1161,7 +1161,7 @@ "attributes": { "constant": false, "name": "confirmations", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => mapping(address => bool))", @@ -1179,7 +1179,7 @@ "name": "uint", "type": "uint256" }, - "id": 914, + "id": 923, "name": "ElementaryTypeName", "src": "829:4:7" }, @@ -1193,7 +1193,7 @@ "name": "address", "type": "address" }, - "id": 915, + "id": 924, "name": "ElementaryTypeName", "src": "846:7:7" }, @@ -1202,22 +1202,22 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 925, "name": "ElementaryTypeName", "src": "857:4:7" } ], - "id": 917, + "id": 926, "name": "Mapping", "src": "837:25:7" } ], - "id": 918, + "id": 927, "name": "Mapping", "src": "820:43:7" } ], - "id": 919, + "id": 928, "name": "VariableDeclaration", "src": "820:64:7" }, @@ -1225,7 +1225,7 @@ "attributes": { "constant": false, "name": "isOwner", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => bool)", @@ -1243,7 +1243,7 @@ "name": "address", "type": "address" }, - "id": 920, + "id": 929, "name": "ElementaryTypeName", "src": "899:7:7" }, @@ -1252,17 +1252,17 @@ "name": "bool", "type": "bool" }, - "id": 921, + "id": 930, "name": "ElementaryTypeName", "src": "910:4:7" } ], - "id": 922, + "id": 931, "name": "Mapping", "src": "890:25:7" } ], - "id": 923, + "id": 932, "name": "VariableDeclaration", "src": "890:40:7" }, @@ -1270,7 +1270,7 @@ "attributes": { "constant": false, "name": "owners", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "address[] storage ref", @@ -1289,17 +1289,17 @@ "name": "address", "type": "address" }, - "id": 924, + "id": 933, "name": "ElementaryTypeName", "src": "936:7:7" } ], - "id": 925, + "id": 934, "name": "ArrayTypeName", "src": "936:9:7" } ], - "id": 926, + "id": 935, "name": "VariableDeclaration", "src": "936:23:7" }, @@ -1307,7 +1307,7 @@ "attributes": { "constant": false, "name": "required", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -1320,12 +1320,12 @@ "name": "uint", "type": "uint256" }, - "id": 927, + "id": 936, "name": "ElementaryTypeName", "src": "965:4:7" } ], - "id": 928, + "id": 937, "name": "VariableDeclaration", "src": "965:20:7" }, @@ -1333,7 +1333,7 @@ "attributes": { "constant": false, "name": "transactionCount", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -1346,12 +1346,12 @@ "name": "uint", "type": "uint256" }, - "id": 929, + "id": 938, "name": "ElementaryTypeName", "src": "991:4:7" } ], - "id": 930, + "id": 939, "name": "VariableDeclaration", "src": "991:28:7" }, @@ -1359,7 +1359,7 @@ "attributes": { "canonicalName": "MultiSigWallet.Transaction", "name": "Transaction", - "scope": 1825, + "scope": 1834, "visibility": "public" }, "children": [ @@ -1367,7 +1367,7 @@ "attributes": { "constant": false, "name": "destination", - "scope": 939, + "scope": 948, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1380,12 +1380,12 @@ "name": "address", "type": "address" }, - "id": 931, + "id": 940, "name": "ElementaryTypeName", "src": "1055:7:7" } ], - "id": 932, + "id": 941, "name": "VariableDeclaration", "src": "1055:19:7" }, @@ -1393,7 +1393,7 @@ "attributes": { "constant": false, "name": "value", - "scope": 939, + "scope": 948, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1406,12 +1406,12 @@ "name": "uint", "type": "uint256" }, - "id": 933, + "id": 942, "name": "ElementaryTypeName", "src": "1084:4:7" } ], - "id": 934, + "id": 943, "name": "VariableDeclaration", "src": "1084:10:7" }, @@ -1419,7 +1419,7 @@ "attributes": { "constant": false, "name": "data", - "scope": 939, + "scope": 948, "stateVariable": false, "storageLocation": "default", "type": "bytes storage pointer", @@ -1432,12 +1432,12 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 935, + "id": 944, "name": "ElementaryTypeName", "src": "1104:5:7" } ], - "id": 936, + "id": 945, "name": "VariableDeclaration", "src": "1104:10:7" }, @@ -1445,7 +1445,7 @@ "attributes": { "constant": false, "name": "executed", - "scope": 939, + "scope": 948, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1458,17 +1458,17 @@ "name": "bool", "type": "bool" }, - "id": 937, + "id": 946, "name": "ElementaryTypeName", "src": "1124:4:7" } ], - "id": 938, + "id": 947, "name": "VariableDeclaration", "src": "1124:13:7" } ], - "id": 939, + "id": 948, "name": "StructDefinition", "src": "1026:118:7" }, @@ -1485,7 +1485,7 @@ ] }, "children": [], - "id": 940, + "id": 949, "name": "ParameterList", "src": "1169:2:7" }, @@ -1529,16 +1529,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 941, + "id": 950, "name": "Identifier", "src": "1186:3:7" } ], - "id": 942, + "id": 951, "name": "MemberAccess", "src": "1186:10:7" }, @@ -1561,7 +1561,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MultiSigWallet_$1825", + "typeIdentifier": "t_contract$_MultiSigWallet_$1834", "typeString": "contract MultiSigWallet" } ], @@ -1572,7 +1572,7 @@ "type": "type(address)", "value": "address" }, - "id": 943, + "id": 952, "name": "ElementaryTypeNameExpression", "src": "1200:7:7" }, @@ -1582,47 +1582,47 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3766, + "referencedDeclaration": 4550, "type": "contract MultiSigWallet", "value": "this" }, - "id": 944, + "id": 953, "name": "Identifier", "src": "1208:4:7" } ], - "id": 945, + "id": 954, "name": "FunctionCall", "src": "1200:13:7" } ], - "id": 946, + "id": 955, "name": "BinaryOperation", "src": "1186:27:7" }, { "children": [], - "id": 947, + "id": 956, "name": "Throw", "src": "1227:5:7" } ], - "id": 948, + "id": 957, "name": "IfStatement", "src": "1182:50:7" }, { - "id": 949, + "id": 958, "name": "PlaceholderStatement", "src": "1242:1:7" } ], - "id": 950, + "id": 959, "name": "Block", "src": "1172:78:7" } ], - "id": 951, + "id": 960, "name": "ModifierDefinition", "src": "1150:100:7" }, @@ -1638,7 +1638,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 962, + "scope": 971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1651,17 +1651,17 @@ "name": "address", "type": "address" }, - "id": 952, + "id": 961, "name": "ElementaryTypeName", "src": "1283:7:7" } ], - "id": 953, + "id": 962, "name": "VariableDeclaration", "src": "1283:13:7" } ], - "id": 954, + "id": 963, "name": "ParameterList", "src": "1282:15:7" }, @@ -1688,11 +1688,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 955, + "id": 964, "name": "Identifier", "src": "1312:7:7" }, @@ -1702,42 +1702,42 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 953, + "referencedDeclaration": 962, "type": "address", "value": "owner" }, - "id": 956, + "id": 965, "name": "Identifier", "src": "1320:5:7" } ], - "id": 957, + "id": 966, "name": "IndexAccess", "src": "1312:14:7" }, { "children": [], - "id": 958, + "id": 967, "name": "Throw", "src": "1340:5:7" } ], - "id": 959, + "id": 968, "name": "IfStatement", "src": "1308:37:7" }, { - "id": 960, + "id": 969, "name": "PlaceholderStatement", "src": "1355:1:7" } ], - "id": 961, + "id": 970, "name": "Block", "src": "1298:65:7" } ], - "id": 962, + "id": 971, "name": "ModifierDefinition", "src": "1256:107:7" }, @@ -1753,7 +1753,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 974, + "scope": 983, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1766,17 +1766,17 @@ "name": "address", "type": "address" }, - "id": 963, + "id": 972, "name": "ElementaryTypeName", "src": "1390:7:7" } ], - "id": 964, + "id": 973, "name": "VariableDeclaration", "src": "1390:13:7" } ], - "id": 965, + "id": 974, "name": "ParameterList", "src": "1389:15:7" }, @@ -1815,11 +1815,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 966, + "id": 975, "name": "Identifier", "src": "1420:7:7" }, @@ -1829,47 +1829,47 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 964, + "referencedDeclaration": 973, "type": "address", "value": "owner" }, - "id": 967, + "id": 976, "name": "Identifier", "src": "1428:5:7" } ], - "id": 968, + "id": 977, "name": "IndexAccess", "src": "1420:14:7" } ], - "id": 969, + "id": 978, "name": "UnaryOperation", "src": "1419:15:7" }, { "children": [], - "id": 970, + "id": 979, "name": "Throw", "src": "1448:5:7" } ], - "id": 971, + "id": 980, "name": "IfStatement", "src": "1415:38:7" }, { - "id": 972, + "id": 981, "name": "PlaceholderStatement", "src": "1463:1:7" } ], - "id": 973, + "id": 982, "name": "Block", "src": "1405:66:7" } ], - "id": 974, + "id": 983, "name": "ModifierDefinition", "src": "1369:102:7" }, @@ -1885,7 +1885,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 988, + "scope": 997, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1898,17 +1898,17 @@ "name": "uint", "type": "uint256" }, - "id": 975, + "id": 984, "name": "ElementaryTypeName", "src": "1504:4:7" } ], - "id": 976, + "id": 985, "name": "VariableDeclaration", "src": "1504:18:7" } ], - "id": 977, + "id": 986, "name": "ParameterList", "src": "1503:20:7" }, @@ -1942,7 +1942,7 @@ "isPure": false, "lValueRequested": false, "member_name": "destination", - "referencedDeclaration": 932, + "referencedDeclaration": 941, "type": "address" }, "children": [ @@ -1962,11 +1962,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 978, + "id": 987, "name": "Identifier", "src": "1538:12:7" }, @@ -1976,21 +1976,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 976, + "referencedDeclaration": 985, "type": "uint256", "value": "transactionId" }, - "id": 979, + "id": 988, "name": "Identifier", "src": "1551:13:7" } ], - "id": 980, + "id": 989, "name": "IndexAccess", "src": "1538:27:7" } ], - "id": 981, + "id": 990, "name": "MemberAccess", "src": "1538:39:7" }, @@ -2007,38 +2007,38 @@ "type": "int_const 0", "value": "0" }, - "id": 982, + "id": 991, "name": "Literal", "src": "1581:1:7" } ], - "id": 983, + "id": 992, "name": "BinaryOperation", "src": "1538:44:7" }, { "children": [], - "id": 984, + "id": 993, "name": "Throw", "src": "1596:5:7" } ], - "id": 985, + "id": 994, "name": "IfStatement", "src": "1534:67:7" }, { - "id": 986, + "id": 995, "name": "PlaceholderStatement", "src": "1611:1:7" } ], - "id": 987, + "id": 996, "name": "Block", "src": "1524:95:7" } ], - "id": 988, + "id": 997, "name": "ModifierDefinition", "src": "1477:142:7" }, @@ -2054,7 +2054,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1004, + "scope": 1013, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2067,12 +2067,12 @@ "name": "uint", "type": "uint256" }, - "id": 989, + "id": 998, "name": "ElementaryTypeName", "src": "1644:4:7" } ], - "id": 990, + "id": 999, "name": "VariableDeclaration", "src": "1644:18:7" }, @@ -2080,7 +2080,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 1004, + "scope": 1013, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2093,17 +2093,17 @@ "name": "address", "type": "address" }, - "id": 991, + "id": 1000, "name": "ElementaryTypeName", "src": "1664:7:7" } ], - "id": 992, + "id": 1001, "name": "VariableDeclaration", "src": "1664:13:7" } ], - "id": 993, + "id": 1002, "name": "ParameterList", "src": "1643:35:7" }, @@ -2152,11 +2152,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 994, + "id": 1003, "name": "Identifier", "src": "1694:13:7" }, @@ -2166,16 +2166,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 990, + "referencedDeclaration": 999, "type": "uint256", "value": "transactionId" }, - "id": 995, + "id": 1004, "name": "Identifier", "src": "1708:13:7" } ], - "id": 996, + "id": 1005, "name": "IndexAccess", "src": "1694:28:7" }, @@ -2185,47 +2185,47 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 992, + "referencedDeclaration": 1001, "type": "address", "value": "owner" }, - "id": 997, + "id": 1006, "name": "Identifier", "src": "1723:5:7" } ], - "id": 998, + "id": 1007, "name": "IndexAccess", "src": "1694:35:7" } ], - "id": 999, + "id": 1008, "name": "UnaryOperation", "src": "1693:36:7" }, { "children": [], - "id": 1000, + "id": 1009, "name": "Throw", "src": "1743:5:7" } ], - "id": 1001, + "id": 1010, "name": "IfStatement", "src": "1689:59:7" }, { - "id": 1002, + "id": 1011, "name": "PlaceholderStatement", "src": "1758:1:7" } ], - "id": 1003, + "id": 1012, "name": "Block", "src": "1679:87:7" } ], - "id": 1004, + "id": 1013, "name": "ModifierDefinition", "src": "1625:141:7" }, @@ -2241,7 +2241,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1019, + "scope": 1028, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2254,12 +2254,12 @@ "name": "uint", "type": "uint256" }, - "id": 1005, + "id": 1014, "name": "ElementaryTypeName", "src": "1794:4:7" } ], - "id": 1006, + "id": 1015, "name": "VariableDeclaration", "src": "1794:18:7" }, @@ -2267,7 +2267,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 1019, + "scope": 1028, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2280,17 +2280,17 @@ "name": "address", "type": "address" }, - "id": 1007, + "id": 1016, "name": "ElementaryTypeName", "src": "1814:7:7" } ], - "id": 1008, + "id": 1017, "name": "VariableDeclaration", "src": "1814:13:7" } ], - "id": 1009, + "id": 1018, "name": "ParameterList", "src": "1793:35:7" }, @@ -2327,11 +2327,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1010, + "id": 1019, "name": "Identifier", "src": "1843:13:7" }, @@ -2341,16 +2341,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1006, + "referencedDeclaration": 1015, "type": "uint256", "value": "transactionId" }, - "id": 1011, + "id": 1020, "name": "Identifier", "src": "1857:13:7" } ], - "id": 1012, + "id": 1021, "name": "IndexAccess", "src": "1843:28:7" }, @@ -2360,42 +2360,42 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1008, + "referencedDeclaration": 1017, "type": "address", "value": "owner" }, - "id": 1013, + "id": 1022, "name": "Identifier", "src": "1872:5:7" } ], - "id": 1014, + "id": 1023, "name": "IndexAccess", "src": "1843:35:7" }, { "children": [], - "id": 1015, + "id": 1024, "name": "Throw", "src": "1892:5:7" } ], - "id": 1016, + "id": 1025, "name": "IfStatement", "src": "1839:58:7" }, { - "id": 1017, + "id": 1026, "name": "PlaceholderStatement", "src": "1907:1:7" } ], - "id": 1018, + "id": 1027, "name": "Block", "src": "1829:86:7" } ], - "id": 1019, + "id": 1028, "name": "ModifierDefinition", "src": "1772:143:7" }, @@ -2411,7 +2411,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1031, + "scope": 1040, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2424,17 +2424,17 @@ "name": "uint", "type": "uint256" }, - "id": 1020, + "id": 1029, "name": "ElementaryTypeName", "src": "1942:4:7" } ], - "id": 1021, + "id": 1030, "name": "VariableDeclaration", "src": "1942:18:7" } ], - "id": 1022, + "id": 1031, "name": "ParameterList", "src": "1941:20:7" }, @@ -2453,7 +2453,7 @@ "isPure": false, "lValueRequested": false, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -2473,11 +2473,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1023, + "id": 1032, "name": "Identifier", "src": "1976:12:7" }, @@ -2487,47 +2487,47 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 1030, "type": "uint256", "value": "transactionId" }, - "id": 1024, + "id": 1033, "name": "Identifier", "src": "1989:13:7" } ], - "id": 1025, + "id": 1034, "name": "IndexAccess", "src": "1976:27:7" } ], - "id": 1026, + "id": 1035, "name": "MemberAccess", "src": "1976:36:7" }, { "children": [], - "id": 1027, + "id": 1036, "name": "Throw", "src": "2026:5:7" } ], - "id": 1028, + "id": 1037, "name": "IfStatement", "src": "1972:59:7" }, { - "id": 1029, + "id": 1038, "name": "PlaceholderStatement", "src": "2041:1:7" } ], - "id": 1030, + "id": 1039, "name": "Block", "src": "1962:87:7" } ], - "id": 1031, + "id": 1040, "name": "ModifierDefinition", "src": "1921:128:7" }, @@ -2543,7 +2543,7 @@ "attributes": { "constant": false, "name": "_address", - "scope": 1042, + "scope": 1051, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2556,17 +2556,17 @@ "name": "address", "type": "address" }, - "id": 1032, + "id": 1041, "name": "ElementaryTypeName", "src": "2072:7:7" } ], - "id": 1033, + "id": 1042, "name": "VariableDeclaration", "src": "2072:16:7" } ], - "id": 1034, + "id": 1043, "name": "ParameterList", "src": "2071:18:7" }, @@ -2598,11 +2598,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1033, + "referencedDeclaration": 1042, "type": "address", "value": "_address" }, - "id": 1035, + "id": 1044, "name": "Identifier", "src": "2104:8:7" }, @@ -2619,38 +2619,38 @@ "type": "int_const 0", "value": "0" }, - "id": 1036, + "id": 1045, "name": "Literal", "src": "2116:1:7" } ], - "id": 1037, + "id": 1046, "name": "BinaryOperation", "src": "2104:13:7" }, { "children": [], - "id": 1038, + "id": 1047, "name": "Throw", "src": "2131:5:7" } ], - "id": 1039, + "id": 1048, "name": "IfStatement", "src": "2100:36:7" }, { - "id": 1040, + "id": 1049, "name": "PlaceholderStatement", "src": "2146:1:7" } ], - "id": 1041, + "id": 1050, "name": "Block", "src": "2090:64:7" } ], - "id": 1042, + "id": 1051, "name": "ModifierDefinition", "src": "2055:99:7" }, @@ -2666,7 +2666,7 @@ "attributes": { "constant": false, "name": "ownerCount", - "scope": 1067, + "scope": 1076, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2679,12 +2679,12 @@ "name": "uint", "type": "uint256" }, - "id": 1043, + "id": 1052, "name": "ElementaryTypeName", "src": "2186:4:7" } ], - "id": 1044, + "id": 1053, "name": "VariableDeclaration", "src": "2186:15:7" }, @@ -2692,7 +2692,7 @@ "attributes": { "constant": false, "name": "_required", - "scope": 1067, + "scope": 1076, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2705,17 +2705,17 @@ "name": "uint", "type": "uint256" }, - "id": 1045, + "id": 1054, "name": "ElementaryTypeName", "src": "2203:4:7" } ], - "id": 1046, + "id": 1055, "name": "VariableDeclaration", "src": "2203:14:7" } ], - "id": 1047, + "id": 1056, "name": "ParameterList", "src": "2185:33:7" }, @@ -2792,11 +2792,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1044, + "referencedDeclaration": 1053, "type": "uint256", "value": "ownerCount" }, - "id": 1048, + "id": 1057, "name": "Identifier", "src": "2236:10:7" }, @@ -2806,16 +2806,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 867, + "referencedDeclaration": 876, "type": "uint256", "value": "MAX_OWNER_COUNT" }, - "id": 1049, + "id": 1058, "name": "Identifier", "src": "2249:15:7" } ], - "id": 1050, + "id": 1059, "name": "BinaryOperation", "src": "2236:28:7" }, @@ -2840,11 +2840,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1046, + "referencedDeclaration": 1055, "type": "uint256", "value": "_required" }, - "id": 1051, + "id": 1060, "name": "Identifier", "src": "2280:9:7" }, @@ -2854,21 +2854,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1044, + "referencedDeclaration": 1053, "type": "uint256", "value": "ownerCount" }, - "id": 1052, + "id": 1061, "name": "Identifier", "src": "2292:10:7" } ], - "id": 1053, + "id": 1062, "name": "BinaryOperation", "src": "2280:22:7" } ], - "id": 1054, + "id": 1063, "name": "BinaryOperation", "src": "2236:66:7" }, @@ -2893,11 +2893,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1046, + "referencedDeclaration": 1055, "type": "uint256", "value": "_required" }, - "id": 1055, + "id": 1064, "name": "Identifier", "src": "2318:9:7" }, @@ -2914,17 +2914,17 @@ "type": "int_const 0", "value": "0" }, - "id": 1056, + "id": 1065, "name": "Literal", "src": "2331:1:7" } ], - "id": 1057, + "id": 1066, "name": "BinaryOperation", "src": "2318:14:7" } ], - "id": 1058, + "id": 1067, "name": "BinaryOperation", "src": "2236:96:7" }, @@ -2949,11 +2949,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1044, + "referencedDeclaration": 1053, "type": "uint256", "value": "ownerCount" }, - "id": 1059, + "id": 1068, "name": "Identifier", "src": "2348:10:7" }, @@ -2970,43 +2970,43 @@ "type": "int_const 0", "value": "0" }, - "id": 1060, + "id": 1069, "name": "Literal", "src": "2362:1:7" } ], - "id": 1061, + "id": 1070, "name": "BinaryOperation", "src": "2348:15:7" } ], - "id": 1062, + "id": 1071, "name": "BinaryOperation", "src": "2236:127:7" }, { "children": [], - "id": 1063, + "id": 1072, "name": "Throw", "src": "2377:5:7" } ], - "id": 1064, + "id": 1073, "name": "IfStatement", "src": "2229:153:7" }, { - "id": 1065, + "id": 1074, "name": "PlaceholderStatement", "src": "2392:1:7" } ], - "id": 1066, + "id": 1075, "name": "Block", "src": "2219:181:7" } ], - "id": 1067, + "id": 1076, "name": "ModifierDefinition", "src": "2160:240:7" }, @@ -3020,7 +3020,7 @@ ], "name": "", "payable": true, - "scope": 1825, + "scope": 1834, "stateMutability": "payable", "superFunction": null, "visibility": "public" @@ -3033,7 +3033,7 @@ ] }, "children": [], - "id": 1068, + "id": 1077, "name": "ParameterList", "src": "2470:2:7" }, @@ -3044,7 +3044,7 @@ ] }, "children": [], - "id": 1069, + "id": 1078, "name": "ParameterList", "src": "2493:0:7" }, @@ -3088,16 +3088,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1070, + "id": 1079, "name": "Identifier", "src": "2507:3:7" } ], - "id": 1071, + "id": 1080, "name": "MemberAccess", "src": "2507:9:7" }, @@ -3114,12 +3114,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1072, + "id": 1081, "name": "Literal", "src": "2519:1:7" } ], - "id": 1073, + "id": 1082, "name": "BinaryOperation", "src": "2507:13:7" }, @@ -3155,11 +3155,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 897, + "referencedDeclaration": 906, "type": "function (address,uint256)", "value": "Deposit" }, - "id": 1074, + "id": 1083, "name": "Identifier", "src": "2534:7:7" }, @@ -3181,16 +3181,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1075, + "id": 1084, "name": "Identifier", "src": "2542:3:7" } ], - "id": 1076, + "id": 1085, "name": "MemberAccess", "src": "2542:10:7" }, @@ -3212,41 +3212,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1077, + "id": 1086, "name": "Identifier", "src": "2554:3:7" } ], - "id": 1078, + "id": 1087, "name": "MemberAccess", "src": "2554:9:7" } ], - "id": 1079, + "id": 1088, "name": "FunctionCall", "src": "2534:30:7" } ], - "id": 1080, + "id": 1089, "name": "ExpressionStatement", "src": "2534:30:7" } ], - "id": 1081, + "id": 1090, "name": "IfStatement", "src": "2503:61:7" } ], - "id": 1082, + "id": 1091, "name": "Block", "src": "2493:78:7" } ], - "id": 1083, + "id": 1092, "name": "FunctionDefinition", "src": "2462:109:7" }, @@ -3257,7 +3257,7 @@ "isConstructor": true, "name": "MultiSigWallet", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3269,7 +3269,7 @@ "attributes": { "constant": false, "name": "_owners", - "scope": 1139, + "scope": 1148, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -3288,17 +3288,17 @@ "name": "address", "type": "address" }, - "id": 1084, + "id": 1093, "name": "ElementaryTypeName", "src": "2838:7:7" } ], - "id": 1085, + "id": 1094, "name": "ArrayTypeName", "src": "2838:9:7" } ], - "id": 1086, + "id": 1095, "name": "VariableDeclaration", "src": "2838:17:7" }, @@ -3306,7 +3306,7 @@ "attributes": { "constant": false, "name": "_required", - "scope": 1139, + "scope": 1148, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3319,17 +3319,17 @@ "name": "uint", "type": "uint256" }, - "id": 1087, + "id": 1096, "name": "ElementaryTypeName", "src": "2857:4:7" } ], - "id": 1088, + "id": 1097, "name": "VariableDeclaration", "src": "2857:14:7" } ], - "id": 1089, + "id": 1098, "name": "ParameterList", "src": "2837:35:7" }, @@ -3340,7 +3340,7 @@ ] }, "children": [], - "id": 1095, + "id": 1104, "name": "ParameterList", "src": "2944:0:7" }, @@ -3352,11 +3352,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 1076, "type": "modifier (uint256,uint256)", "value": "validRequirement" }, - "id": 1090, + "id": 1099, "name": "Identifier", "src": "2896:16:7" }, @@ -3378,16 +3378,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1091, + "id": 1100, "name": "Identifier", "src": "2913:7:7" } ], - "id": 1092, + "id": 1101, "name": "MemberAccess", "src": "2913:14:7" }, @@ -3397,16 +3397,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1088, + "referencedDeclaration": 1097, "type": "uint256", "value": "_required" }, - "id": 1093, + "id": 1102, "name": "Identifier", "src": "2929:9:7" } ], - "id": 1094, + "id": 1103, "name": "ModifierInvocation", "src": "2896:43:7" }, @@ -3417,7 +3417,7 @@ { "attributes": { "assignments": [ - 1097 + 1106 ] }, "children": [ @@ -3425,7 +3425,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1139, + "scope": 1148, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3438,12 +3438,12 @@ "name": "uint", "type": "uint256" }, - "id": 1096, + "id": 1105, "name": "ElementaryTypeName", "src": "2959:4:7" } ], - "id": 1097, + "id": 1106, "name": "VariableDeclaration", "src": "2959:6:7" }, @@ -3460,12 +3460,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1098, + "id": 1107, "name": "Literal", "src": "2966:1:7" } ], - "id": 1099, + "id": 1108, "name": "VariableDeclarationStatement", "src": "2959:8:7" }, @@ -3490,11 +3490,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1106, "type": "uint256", "value": "i" }, - "id": 1100, + "id": 1109, "name": "Identifier", "src": "2969:1:7" }, @@ -3516,21 +3516,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1101, + "id": 1110, "name": "Identifier", "src": "2971:7:7" } ], - "id": 1102, + "id": 1111, "name": "MemberAccess", "src": "2971:14:7" } ], - "id": 1103, + "id": 1112, "name": "BinaryOperation", "src": "2969:16:7" }, @@ -3554,21 +3554,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1106, "type": "uint256", "value": "i" }, - "id": 1104, + "id": 1113, "name": "Identifier", "src": "2987:1:7" } ], - "id": 1105, + "id": 1114, "name": "UnaryOperation", "src": "2987:3:7" } ], - "id": 1106, + "id": 1115, "name": "ExpressionStatement", "src": "2987:3:7" }, @@ -3610,11 +3610,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1107, + "id": 1116, "name": "Identifier", "src": "3010:7:7" }, @@ -3634,11 +3634,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1108, + "id": 1117, "name": "Identifier", "src": "3018:7:7" }, @@ -3648,21 +3648,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1106, "type": "uint256", "value": "i" }, - "id": 1109, + "id": 1118, "name": "Identifier", "src": "3026:1:7" } ], - "id": 1110, + "id": 1119, "name": "IndexAccess", "src": "3018:10:7" } ], - "id": 1111, + "id": 1120, "name": "IndexAccess", "src": "3010:19:7" }, @@ -3697,11 +3697,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1112, + "id": 1121, "name": "Identifier", "src": "3033:7:7" }, @@ -3711,16 +3711,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1106, "type": "uint256", "value": "i" }, - "id": 1113, + "id": 1122, "name": "Identifier", "src": "3041:1:7" } ], - "id": 1114, + "id": 1123, "name": "IndexAccess", "src": "3033:10:7" }, @@ -3737,28 +3737,28 @@ "type": "int_const 0", "value": "0" }, - "id": 1115, + "id": 1124, "name": "Literal", "src": "3047:1:7" } ], - "id": 1116, + "id": 1125, "name": "BinaryOperation", "src": "3033:15:7" } ], - "id": 1117, + "id": 1126, "name": "BinaryOperation", "src": "3010:38:7" }, { "children": [], - "id": 1118, + "id": 1127, "name": "Throw", "src": "3066:5:7" } ], - "id": 1119, + "id": 1128, "name": "IfStatement", "src": "3006:65:7" }, @@ -3791,11 +3791,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1120, + "id": 1129, "name": "Identifier", "src": "3085:7:7" }, @@ -3815,11 +3815,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1121, + "id": 1130, "name": "Identifier", "src": "3093:7:7" }, @@ -3829,21 +3829,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1106, "type": "uint256", "value": "i" }, - "id": 1122, + "id": 1131, "name": "Identifier", "src": "3101:1:7" } ], - "id": 1123, + "id": 1132, "name": "IndexAccess", "src": "3093:10:7" } ], - "id": 1124, + "id": 1133, "name": "IndexAccess", "src": "3085:19:7" }, @@ -3860,27 +3860,27 @@ "type": "bool", "value": "true" }, - "id": 1125, + "id": 1134, "name": "Literal", "src": "3107:4:7" } ], - "id": 1126, + "id": 1135, "name": "Assignment", "src": "3085:26:7" } ], - "id": 1127, + "id": 1136, "name": "ExpressionStatement", "src": "3085:26:7" } ], - "id": 1128, + "id": 1137, "name": "Block", "src": "2992:130:7" } ], - "id": 1129, + "id": 1138, "name": "ForStatement", "src": "2954:168:7" }, @@ -3903,11 +3903,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1130, + "id": 1139, "name": "Identifier", "src": "3131:6:7" }, @@ -3917,21 +3917,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1131, + "id": 1140, "name": "Identifier", "src": "3140:7:7" } ], - "id": 1132, + "id": 1141, "name": "Assignment", "src": "3131:16:7" } ], - "id": 1133, + "id": 1142, "name": "ExpressionStatement", "src": "3131:16:7" }, @@ -3954,11 +3954,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 928, + "referencedDeclaration": 937, "type": "uint256", "value": "required" }, - "id": 1134, + "id": 1143, "name": "Identifier", "src": "3157:8:7" }, @@ -3968,31 +3968,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1088, + "referencedDeclaration": 1097, "type": "uint256", "value": "_required" }, - "id": 1135, + "id": 1144, "name": "Identifier", "src": "3168:9:7" } ], - "id": 1136, + "id": 1145, "name": "Assignment", "src": "3157:20:7" } ], - "id": 1137, + "id": 1146, "name": "ExpressionStatement", "src": "3157:20:7" } ], - "id": 1138, + "id": 1147, "name": "Block", "src": "2944:240:7" } ], - "id": 1139, + "id": 1148, "name": "FunctionDefinition", "src": "2814:370:7" }, @@ -4003,7 +4003,7 @@ "isConstructor": false, "name": "addOwner", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4015,7 +4015,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 1176, + "scope": 1185, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4028,17 +4028,17 @@ "name": "address", "type": "address" }, - "id": 1140, + "id": 1149, "name": "ElementaryTypeName", "src": "3329:7:7" } ], - "id": 1141, + "id": 1150, "name": "VariableDeclaration", "src": "3329:13:7" } ], - "id": 1142, + "id": 1151, "name": "ParameterList", "src": "3328:15:7" }, @@ -4049,7 +4049,7 @@ ] }, "children": [], - "id": 1158, + "id": 1167, "name": "ParameterList", "src": "3492:0:7" }, @@ -4066,16 +4066,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 960, "type": "modifier ()", "value": "onlyWallet" }, - "id": 1143, + "id": 1152, "name": "Identifier", "src": "3367:10:7" } ], - "id": 1144, + "id": 1153, "name": "ModifierInvocation", "src": "3367:10:7" }, @@ -4087,11 +4087,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 962, + "referencedDeclaration": 971, "type": "modifier (address)", "value": "ownerDoesNotExist" }, - "id": 1145, + "id": 1154, "name": "Identifier", "src": "3386:17:7" }, @@ -4101,16 +4101,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1141, + "referencedDeclaration": 1150, "type": "address", "value": "owner" }, - "id": 1146, + "id": 1155, "name": "Identifier", "src": "3404:5:7" } ], - "id": 1147, + "id": 1156, "name": "ModifierInvocation", "src": "3386:24:7" }, @@ -4122,11 +4122,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1042, + "referencedDeclaration": 1051, "type": "modifier (address)", "value": "notNull" }, - "id": 1148, + "id": 1157, "name": "Identifier", "src": "3419:7:7" }, @@ -4136,16 +4136,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1141, + "referencedDeclaration": 1150, "type": "address", "value": "owner" }, - "id": 1149, + "id": 1158, "name": "Identifier", "src": "3427:5:7" } ], - "id": 1150, + "id": 1159, "name": "ModifierInvocation", "src": "3419:14:7" }, @@ -4157,11 +4157,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 1076, "type": "modifier (uint256,uint256)", "value": "validRequirement" }, - "id": 1151, + "id": 1160, "name": "Identifier", "src": "3442:16:7" }, @@ -4198,16 +4198,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1152, + "id": 1161, "name": "Identifier", "src": "3459:6:7" } ], - "id": 1153, + "id": 1162, "name": "MemberAccess", "src": "3459:13:7" }, @@ -4224,12 +4224,12 @@ "type": "int_const 1", "value": "1" }, - "id": 1154, + "id": 1163, "name": "Literal", "src": "3475:1:7" } ], - "id": 1155, + "id": 1164, "name": "BinaryOperation", "src": "3459:17:7" }, @@ -4239,16 +4239,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 928, + "referencedDeclaration": 937, "type": "uint256", "value": "required" }, - "id": 1156, + "id": 1165, "name": "Identifier", "src": "3478:8:7" } ], - "id": 1157, + "id": 1166, "name": "ModifierInvocation", "src": "3442:45:7" }, @@ -4283,11 +4283,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1159, + "id": 1168, "name": "Identifier", "src": "3502:7:7" }, @@ -4297,16 +4297,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1141, + "referencedDeclaration": 1150, "type": "address", "value": "owner" }, - "id": 1160, + "id": 1169, "name": "Identifier", "src": "3510:5:7" } ], - "id": 1161, + "id": 1170, "name": "IndexAccess", "src": "3502:14:7" }, @@ -4323,17 +4323,17 @@ "type": "bool", "value": "true" }, - "id": 1162, + "id": 1171, "name": "Literal", "src": "3519:4:7" } ], - "id": 1163, + "id": 1172, "name": "Assignment", "src": "3502:21:7" } ], - "id": 1164, + "id": 1173, "name": "ExpressionStatement", "src": "3502:21:7" }, @@ -4377,16 +4377,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1165, + "id": 1174, "name": "Identifier", "src": "3533:6:7" } ], - "id": 1167, + "id": 1176, "name": "MemberAccess", "src": "3533:11:7" }, @@ -4396,21 +4396,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1141, + "referencedDeclaration": 1150, "type": "address", "value": "owner" }, - "id": 1168, + "id": 1177, "name": "Identifier", "src": "3545:5:7" } ], - "id": 1169, + "id": 1178, "name": "FunctionCall", "src": "3533:18:7" } ], - "id": 1170, + "id": 1179, "name": "ExpressionStatement", "src": "3533:18:7" }, @@ -4442,11 +4442,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 901, + "referencedDeclaration": 910, "type": "function (address)", "value": "OwnerAddition" }, - "id": 1171, + "id": 1180, "name": "Identifier", "src": "3561:13:7" }, @@ -4456,31 +4456,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1141, + "referencedDeclaration": 1150, "type": "address", "value": "owner" }, - "id": 1172, + "id": 1181, "name": "Identifier", "src": "3575:5:7" } ], - "id": 1173, + "id": 1182, "name": "FunctionCall", "src": "3561:20:7" } ], - "id": 1174, + "id": 1183, "name": "ExpressionStatement", "src": "3561:20:7" } ], - "id": 1175, + "id": 1184, "name": "Block", "src": "3492:96:7" } ], - "id": 1176, + "id": 1185, "name": "FunctionDefinition", "src": "3311:277:7" }, @@ -4491,7 +4491,7 @@ "isConstructor": false, "name": "removeOwner", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4503,7 +4503,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 1246, + "scope": 1255, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4516,17 +4516,17 @@ "name": "address", "type": "address" }, - "id": 1177, + "id": 1186, "name": "ElementaryTypeName", "src": "3732:7:7" } ], - "id": 1178, + "id": 1187, "name": "VariableDeclaration", "src": "3732:13:7" } ], - "id": 1179, + "id": 1188, "name": "ParameterList", "src": "3731:15:7" }, @@ -4537,7 +4537,7 @@ ] }, "children": [], - "id": 1185, + "id": 1194, "name": "ParameterList", "src": "3812:0:7" }, @@ -4554,16 +4554,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 960, "type": "modifier ()", "value": "onlyWallet" }, - "id": 1180, + "id": 1189, "name": "Identifier", "src": "3770:10:7" } ], - "id": 1181, + "id": 1190, "name": "ModifierInvocation", "src": "3770:10:7" }, @@ -4575,11 +4575,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 974, + "referencedDeclaration": 983, "type": "modifier (address)", "value": "ownerExists" }, - "id": 1182, + "id": 1191, "name": "Identifier", "src": "3789:11:7" }, @@ -4589,16 +4589,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1178, + "referencedDeclaration": 1187, "type": "address", "value": "owner" }, - "id": 1183, + "id": 1192, "name": "Identifier", "src": "3801:5:7" } ], - "id": 1184, + "id": 1193, "name": "ModifierInvocation", "src": "3789:18:7" }, @@ -4633,11 +4633,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1186, + "id": 1195, "name": "Identifier", "src": "3822:7:7" }, @@ -4647,16 +4647,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1178, + "referencedDeclaration": 1187, "type": "address", "value": "owner" }, - "id": 1187, + "id": 1196, "name": "Identifier", "src": "3830:5:7" } ], - "id": 1188, + "id": 1197, "name": "IndexAccess", "src": "3822:14:7" }, @@ -4673,17 +4673,17 @@ "type": "bool", "value": "false" }, - "id": 1189, + "id": 1198, "name": "Literal", "src": "3839:5:7" } ], - "id": 1190, + "id": 1199, "name": "Assignment", "src": "3822:22:7" } ], - "id": 1191, + "id": 1200, "name": "ExpressionStatement", "src": "3822:22:7" }, @@ -4692,7 +4692,7 @@ { "attributes": { "assignments": [ - 1193 + 1202 ] }, "children": [ @@ -4700,7 +4700,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1246, + "scope": 1255, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4713,12 +4713,12 @@ "name": "uint", "type": "uint256" }, - "id": 1192, + "id": 1201, "name": "ElementaryTypeName", "src": "3859:4:7" } ], - "id": 1193, + "id": 1202, "name": "VariableDeclaration", "src": "3859:6:7" }, @@ -4735,12 +4735,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1194, + "id": 1203, "name": "Literal", "src": "3866:1:7" } ], - "id": 1195, + "id": 1204, "name": "VariableDeclarationStatement", "src": "3859:8:7" }, @@ -4765,11 +4765,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 1202, "type": "uint256", "value": "i" }, - "id": 1196, + "id": 1205, "name": "Identifier", "src": "3869:1:7" }, @@ -4806,16 +4806,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1197, + "id": 1206, "name": "Identifier", "src": "3871:6:7" } ], - "id": 1198, + "id": 1207, "name": "MemberAccess", "src": "3871:13:7" }, @@ -4832,17 +4832,17 @@ "type": "int_const 1", "value": "1" }, - "id": 1199, + "id": 1208, "name": "Literal", "src": "3887:1:7" } ], - "id": 1200, + "id": 1209, "name": "BinaryOperation", "src": "3871:17:7" } ], - "id": 1201, + "id": 1210, "name": "BinaryOperation", "src": "3869:19:7" }, @@ -4866,21 +4866,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 1202, "type": "uint256", "value": "i" }, - "id": 1202, + "id": 1211, "name": "Identifier", "src": "3890:1:7" } ], - "id": 1203, + "id": 1212, "name": "UnaryOperation", "src": "3890:3:7" } ], - "id": 1204, + "id": 1213, "name": "ExpressionStatement", "src": "3890:3:7" }, @@ -4920,11 +4920,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1205, + "id": 1214, "name": "Identifier", "src": "3911:6:7" }, @@ -4934,16 +4934,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 1202, "type": "uint256", "value": "i" }, - "id": 1206, + "id": 1215, "name": "Identifier", "src": "3918:1:7" } ], - "id": 1207, + "id": 1216, "name": "IndexAccess", "src": "3911:9:7" }, @@ -4953,16 +4953,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1178, + "referencedDeclaration": 1187, "type": "address", "value": "owner" }, - "id": 1208, + "id": 1217, "name": "Identifier", "src": "3924:5:7" } ], - "id": 1209, + "id": 1218, "name": "BinaryOperation", "src": "3911:18:7" }, @@ -4997,11 +4997,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1210, + "id": 1219, "name": "Identifier", "src": "3949:6:7" }, @@ -5011,16 +5011,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 1202, "type": "uint256", "value": "i" }, - "id": 1211, + "id": 1220, "name": "Identifier", "src": "3956:1:7" } ], - "id": 1212, + "id": 1221, "name": "IndexAccess", "src": "3949:9:7" }, @@ -5040,11 +5040,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1213, + "id": 1222, "name": "Identifier", "src": "3961:6:7" }, @@ -5081,16 +5081,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1214, + "id": 1223, "name": "Identifier", "src": "3968:6:7" } ], - "id": 1215, + "id": 1224, "name": "MemberAccess", "src": "3968:13:7" }, @@ -5107,47 +5107,47 @@ "type": "int_const 1", "value": "1" }, - "id": 1216, + "id": 1225, "name": "Literal", "src": "3984:1:7" } ], - "id": 1217, + "id": 1226, "name": "BinaryOperation", "src": "3968:17:7" } ], - "id": 1218, + "id": 1227, "name": "IndexAccess", "src": "3961:25:7" } ], - "id": 1219, + "id": 1228, "name": "Assignment", "src": "3949:37:7" } ], - "id": 1220, + "id": 1229, "name": "ExpressionStatement", "src": "3949:37:7" }, { - "id": 1221, + "id": 1230, "name": "Break", "src": "4004:5:7" } ], - "id": 1222, + "id": 1231, "name": "Block", "src": "3931:93:7" } ], - "id": 1223, + "id": 1232, "name": "IfStatement", "src": "3907:117:7" } ], - "id": 1224, + "id": 1233, "name": "ForStatement", "src": "3854:170:7" }, @@ -5182,16 +5182,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1225, + "id": 1234, "name": "Identifier", "src": "4033:6:7" } ], - "id": 1227, + "id": 1236, "name": "MemberAccess", "src": "4033:13:7" }, @@ -5208,17 +5208,17 @@ "type": "int_const 1", "value": "1" }, - "id": 1228, + "id": 1237, "name": "Literal", "src": "4050:1:7" } ], - "id": 1229, + "id": 1238, "name": "Assignment", "src": "4033:18:7" } ], - "id": 1230, + "id": 1239, "name": "ExpressionStatement", "src": "4033:18:7" }, @@ -5248,11 +5248,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 928, + "referencedDeclaration": 937, "type": "uint256", "value": "required" }, - "id": 1231, + "id": 1240, "name": "Identifier", "src": "4065:8:7" }, @@ -5274,21 +5274,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1232, + "id": 1241, "name": "Identifier", "src": "4076:6:7" } ], - "id": 1233, + "id": 1242, "name": "MemberAccess", "src": "4076:13:7" } ], - "id": 1234, + "id": 1243, "name": "BinaryOperation", "src": "4065:24:7" }, @@ -5320,11 +5320,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1329, + "referencedDeclaration": 1338, "type": "function (uint256)", "value": "changeRequirement" }, - "id": 1235, + "id": 1244, "name": "Identifier", "src": "4103:17:7" }, @@ -5346,31 +5346,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1236, + "id": 1245, "name": "Identifier", "src": "4121:6:7" } ], - "id": 1237, + "id": 1246, "name": "MemberAccess", "src": "4121:13:7" } ], - "id": 1238, + "id": 1247, "name": "FunctionCall", "src": "4103:32:7" } ], - "id": 1239, + "id": 1248, "name": "ExpressionStatement", "src": "4103:32:7" } ], - "id": 1240, + "id": 1249, "name": "IfStatement", "src": "4061:74:7" }, @@ -5402,11 +5402,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 905, + "referencedDeclaration": 914, "type": "function (address)", "value": "OwnerRemoval" }, - "id": 1241, + "id": 1250, "name": "Identifier", "src": "4145:12:7" }, @@ -5416,31 +5416,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1178, + "referencedDeclaration": 1187, "type": "address", "value": "owner" }, - "id": 1242, + "id": 1251, "name": "Identifier", "src": "4158:5:7" } ], - "id": 1243, + "id": 1252, "name": "FunctionCall", "src": "4145:19:7" } ], - "id": 1244, + "id": 1253, "name": "ExpressionStatement", "src": "4145:19:7" } ], - "id": 1245, + "id": 1254, "name": "Block", "src": "3812:359:7" } ], - "id": 1246, + "id": 1255, "name": "FunctionDefinition", "src": "3711:460:7" }, @@ -5451,7 +5451,7 @@ "isConstructor": false, "name": "replaceOwner", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5463,7 +5463,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 1308, + "scope": 1317, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -5476,12 +5476,12 @@ "name": "address", "type": "address" }, - "id": 1247, + "id": 1256, "name": "ElementaryTypeName", "src": "4392:7:7" } ], - "id": 1248, + "id": 1257, "name": "VariableDeclaration", "src": "4392:13:7" }, @@ -5489,7 +5489,7 @@ "attributes": { "constant": false, "name": "newOwner", - "scope": 1308, + "scope": 1317, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -5502,17 +5502,17 @@ "name": "address", "type": "address" }, - "id": 1249, + "id": 1258, "name": "ElementaryTypeName", "src": "4407:7:7" } ], - "id": 1250, + "id": 1259, "name": "VariableDeclaration", "src": "4407:16:7" } ], - "id": 1251, + "id": 1260, "name": "ParameterList", "src": "4391:33:7" }, @@ -5523,7 +5523,7 @@ ] }, "children": [], - "id": 1260, + "id": 1269, "name": "ParameterList", "src": "4526:0:7" }, @@ -5540,16 +5540,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 960, "type": "modifier ()", "value": "onlyWallet" }, - "id": 1252, + "id": 1261, "name": "Identifier", "src": "4448:10:7" } ], - "id": 1253, + "id": 1262, "name": "ModifierInvocation", "src": "4448:10:7" }, @@ -5561,11 +5561,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 974, + "referencedDeclaration": 983, "type": "modifier (address)", "value": "ownerExists" }, - "id": 1254, + "id": 1263, "name": "Identifier", "src": "4467:11:7" }, @@ -5575,16 +5575,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 1257, "type": "address", "value": "owner" }, - "id": 1255, + "id": 1264, "name": "Identifier", "src": "4479:5:7" } ], - "id": 1256, + "id": 1265, "name": "ModifierInvocation", "src": "4467:18:7" }, @@ -5596,11 +5596,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 962, + "referencedDeclaration": 971, "type": "modifier (address)", "value": "ownerDoesNotExist" }, - "id": 1257, + "id": 1266, "name": "Identifier", "src": "4494:17:7" }, @@ -5610,16 +5610,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 1259, "type": "address", "value": "newOwner" }, - "id": 1258, + "id": 1267, "name": "Identifier", "src": "4512:8:7" } ], - "id": 1259, + "id": 1268, "name": "ModifierInvocation", "src": "4494:27:7" }, @@ -5630,7 +5630,7 @@ { "attributes": { "assignments": [ - 1262 + 1271 ] }, "children": [ @@ -5638,7 +5638,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1308, + "scope": 1317, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5651,12 +5651,12 @@ "name": "uint", "type": "uint256" }, - "id": 1261, + "id": 1270, "name": "ElementaryTypeName", "src": "4541:4:7" } ], - "id": 1262, + "id": 1271, "name": "VariableDeclaration", "src": "4541:6:7" }, @@ -5673,12 +5673,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1263, + "id": 1272, "name": "Literal", "src": "4548:1:7" } ], - "id": 1264, + "id": 1273, "name": "VariableDeclarationStatement", "src": "4541:8:7" }, @@ -5703,11 +5703,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 1271, "type": "uint256", "value": "i" }, - "id": 1265, + "id": 1274, "name": "Identifier", "src": "4551:1:7" }, @@ -5729,21 +5729,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1266, + "id": 1275, "name": "Identifier", "src": "4553:6:7" } ], - "id": 1267, + "id": 1276, "name": "MemberAccess", "src": "4553:13:7" } ], - "id": 1268, + "id": 1277, "name": "BinaryOperation", "src": "4551:15:7" }, @@ -5767,21 +5767,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 1271, "type": "uint256", "value": "i" }, - "id": 1269, + "id": 1278, "name": "Identifier", "src": "4568:1:7" } ], - "id": 1270, + "id": 1279, "name": "UnaryOperation", "src": "4568:3:7" } ], - "id": 1271, + "id": 1280, "name": "ExpressionStatement", "src": "4568:3:7" }, @@ -5821,11 +5821,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1272, + "id": 1281, "name": "Identifier", "src": "4589:6:7" }, @@ -5835,16 +5835,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 1271, "type": "uint256", "value": "i" }, - "id": 1273, + "id": 1282, "name": "Identifier", "src": "4596:1:7" } ], - "id": 1274, + "id": 1283, "name": "IndexAccess", "src": "4589:9:7" }, @@ -5854,16 +5854,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 1257, "type": "address", "value": "owner" }, - "id": 1275, + "id": 1284, "name": "Identifier", "src": "4602:5:7" } ], - "id": 1276, + "id": 1285, "name": "BinaryOperation", "src": "4589:18:7" }, @@ -5898,11 +5898,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1277, + "id": 1286, "name": "Identifier", "src": "4627:6:7" }, @@ -5912,16 +5912,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 1271, "type": "uint256", "value": "i" }, - "id": 1278, + "id": 1287, "name": "Identifier", "src": "4634:1:7" } ], - "id": 1279, + "id": 1288, "name": "IndexAccess", "src": "4627:9:7" }, @@ -5931,41 +5931,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 1259, "type": "address", "value": "newOwner" }, - "id": 1280, + "id": 1289, "name": "Identifier", "src": "4639:8:7" } ], - "id": 1281, + "id": 1290, "name": "Assignment", "src": "4627:20:7" } ], - "id": 1282, + "id": 1291, "name": "ExpressionStatement", "src": "4627:20:7" }, { - "id": 1283, + "id": 1292, "name": "Break", "src": "4665:5:7" } ], - "id": 1284, + "id": 1293, "name": "Block", "src": "4609:76:7" } ], - "id": 1285, + "id": 1294, "name": "IfStatement", "src": "4585:100:7" } ], - "id": 1286, + "id": 1295, "name": "ForStatement", "src": "4536:149:7" }, @@ -5998,11 +5998,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1287, + "id": 1296, "name": "Identifier", "src": "4694:7:7" }, @@ -6012,16 +6012,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 1257, "type": "address", "value": "owner" }, - "id": 1288, + "id": 1297, "name": "Identifier", "src": "4702:5:7" } ], - "id": 1289, + "id": 1298, "name": "IndexAccess", "src": "4694:14:7" }, @@ -6038,17 +6038,17 @@ "type": "bool", "value": "false" }, - "id": 1290, + "id": 1299, "name": "Literal", "src": "4711:5:7" } ], - "id": 1291, + "id": 1300, "name": "Assignment", "src": "4694:22:7" } ], - "id": 1292, + "id": 1301, "name": "ExpressionStatement", "src": "4694:22:7" }, @@ -6081,11 +6081,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1293, + "id": 1302, "name": "Identifier", "src": "4726:7:7" }, @@ -6095,16 +6095,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 1259, "type": "address", "value": "newOwner" }, - "id": 1294, + "id": 1303, "name": "Identifier", "src": "4734:8:7" } ], - "id": 1295, + "id": 1304, "name": "IndexAccess", "src": "4726:17:7" }, @@ -6121,17 +6121,17 @@ "type": "bool", "value": "true" }, - "id": 1296, + "id": 1305, "name": "Literal", "src": "4746:4:7" } ], - "id": 1297, + "id": 1306, "name": "Assignment", "src": "4726:24:7" } ], - "id": 1298, + "id": 1307, "name": "ExpressionStatement", "src": "4726:24:7" }, @@ -6163,11 +6163,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 905, + "referencedDeclaration": 914, "type": "function (address)", "value": "OwnerRemoval" }, - "id": 1299, + "id": 1308, "name": "Identifier", "src": "4760:12:7" }, @@ -6177,21 +6177,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 1257, "type": "address", "value": "owner" }, - "id": 1300, + "id": 1309, "name": "Identifier", "src": "4773:5:7" } ], - "id": 1301, + "id": 1310, "name": "FunctionCall", "src": "4760:19:7" } ], - "id": 1302, + "id": 1311, "name": "ExpressionStatement", "src": "4760:19:7" }, @@ -6223,11 +6223,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 901, + "referencedDeclaration": 910, "type": "function (address)", "value": "OwnerAddition" }, - "id": 1303, + "id": 1312, "name": "Identifier", "src": "4789:13:7" }, @@ -6237,31 +6237,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 1259, "type": "address", "value": "newOwner" }, - "id": 1304, + "id": 1313, "name": "Identifier", "src": "4803:8:7" } ], - "id": 1305, + "id": 1314, "name": "FunctionCall", "src": "4789:23:7" } ], - "id": 1306, + "id": 1315, "name": "ExpressionStatement", "src": "4789:23:7" } ], - "id": 1307, + "id": 1316, "name": "Block", "src": "4526:293:7" } ], - "id": 1308, + "id": 1317, "name": "FunctionDefinition", "src": "4370:449:7" }, @@ -6272,7 +6272,7 @@ "isConstructor": false, "name": "changeRequirement", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6284,7 +6284,7 @@ "attributes": { "constant": false, "name": "_required", - "scope": 1329, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6297,17 +6297,17 @@ "name": "uint", "type": "uint256" }, - "id": 1309, + "id": 1318, "name": "ElementaryTypeName", "src": "5017:4:7" } ], - "id": 1310, + "id": 1319, "name": "VariableDeclaration", "src": "5017:14:7" } ], - "id": 1311, + "id": 1320, "name": "ParameterList", "src": "5016:16:7" }, @@ -6318,7 +6318,7 @@ ] }, "children": [], - "id": 1319, + "id": 1328, "name": "ParameterList", "src": "5122:0:7" }, @@ -6335,16 +6335,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 960, "type": "modifier ()", "value": "onlyWallet" }, - "id": 1312, + "id": 1321, "name": "Identifier", "src": "5056:10:7" } ], - "id": 1313, + "id": 1322, "name": "ModifierInvocation", "src": "5056:10:7" }, @@ -6356,11 +6356,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 1076, "type": "modifier (uint256,uint256)", "value": "validRequirement" }, - "id": 1314, + "id": 1323, "name": "Identifier", "src": "5075:16:7" }, @@ -6382,16 +6382,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1315, + "id": 1324, "name": "Identifier", "src": "5092:6:7" } ], - "id": 1316, + "id": 1325, "name": "MemberAccess", "src": "5092:13:7" }, @@ -6401,16 +6401,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1319, "type": "uint256", "value": "_required" }, - "id": 1317, + "id": 1326, "name": "Identifier", "src": "5107:9:7" } ], - "id": 1318, + "id": 1327, "name": "ModifierInvocation", "src": "5075:42:7" }, @@ -6435,11 +6435,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 928, + "referencedDeclaration": 937, "type": "uint256", "value": "required" }, - "id": 1320, + "id": 1329, "name": "Identifier", "src": "5132:8:7" }, @@ -6449,21 +6449,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1319, "type": "uint256", "value": "_required" }, - "id": 1321, + "id": 1330, "name": "Identifier", "src": "5143:9:7" } ], - "id": 1322, + "id": 1331, "name": "Assignment", "src": "5132:20:7" } ], - "id": 1323, + "id": 1332, "name": "ExpressionStatement", "src": "5132:20:7" }, @@ -6495,11 +6495,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 909, + "referencedDeclaration": 918, "type": "function (uint256)", "value": "RequirementChange" }, - "id": 1324, + "id": 1333, "name": "Identifier", "src": "5162:17:7" }, @@ -6509,31 +6509,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1319, "type": "uint256", "value": "_required" }, - "id": 1325, + "id": 1334, "name": "Identifier", "src": "5180:9:7" } ], - "id": 1326, + "id": 1335, "name": "FunctionCall", "src": "5162:28:7" } ], - "id": 1327, + "id": 1336, "name": "ExpressionStatement", "src": "5162:28:7" } ], - "id": 1328, + "id": 1337, "name": "Block", "src": "5122:75:7" } ], - "id": 1329, + "id": 1338, "name": "FunctionDefinition", "src": "4990:207:7" }, @@ -6547,7 +6547,7 @@ ], "name": "submitTransaction", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6559,7 +6559,7 @@ "attributes": { "constant": false, "name": "destination", - "scope": 1353, + "scope": 1362, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -6572,12 +6572,12 @@ "name": "address", "type": "address" }, - "id": 1330, + "id": 1339, "name": "ElementaryTypeName", "src": "5483:7:7" } ], - "id": 1331, + "id": 1340, "name": "VariableDeclaration", "src": "5483:19:7" }, @@ -6585,7 +6585,7 @@ "attributes": { "constant": false, "name": "value", - "scope": 1353, + "scope": 1362, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6598,12 +6598,12 @@ "name": "uint", "type": "uint256" }, - "id": 1332, + "id": 1341, "name": "ElementaryTypeName", "src": "5504:4:7" } ], - "id": 1333, + "id": 1342, "name": "VariableDeclaration", "src": "5504:10:7" }, @@ -6611,7 +6611,7 @@ "attributes": { "constant": false, "name": "data", - "scope": 1353, + "scope": 1362, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -6624,17 +6624,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 1334, + "id": 1343, "name": "ElementaryTypeName", "src": "5516:5:7" } ], - "id": 1335, + "id": 1344, "name": "VariableDeclaration", "src": "5516:10:7" } ], - "id": 1336, + "id": 1345, "name": "ParameterList", "src": "5482:45:7" }, @@ -6644,7 +6644,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1353, + "scope": 1362, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6657,17 +6657,17 @@ "name": "uint", "type": "uint256" }, - "id": 1337, + "id": 1346, "name": "ElementaryTypeName", "src": "5560:4:7" } ], - "id": 1338, + "id": 1347, "name": "VariableDeclaration", "src": "5560:18:7" } ], - "id": 1339, + "id": 1348, "name": "ParameterList", "src": "5559:20:7" }, @@ -6692,11 +6692,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1338, + "referencedDeclaration": 1347, "type": "uint256", "value": "transactionId" }, - "id": 1340, + "id": 1349, "name": "Identifier", "src": "5594:13:7" }, @@ -6734,11 +6734,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1556, + "referencedDeclaration": 1565, "type": "function (address,uint256,bytes memory) returns (uint256)", "value": "addTransaction" }, - "id": 1341, + "id": 1350, "name": "Identifier", "src": "5610:14:7" }, @@ -6748,11 +6748,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1331, + "referencedDeclaration": 1340, "type": "address", "value": "destination" }, - "id": 1342, + "id": 1351, "name": "Identifier", "src": "5625:11:7" }, @@ -6762,11 +6762,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1333, + "referencedDeclaration": 1342, "type": "uint256", "value": "value" }, - "id": 1343, + "id": 1352, "name": "Identifier", "src": "5638:5:7" }, @@ -6776,26 +6776,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1335, + "referencedDeclaration": 1344, "type": "bytes memory", "value": "data" }, - "id": 1344, + "id": 1353, "name": "Identifier", "src": "5645:4:7" } ], - "id": 1345, + "id": 1354, "name": "FunctionCall", "src": "5610:40:7" } ], - "id": 1346, + "id": 1355, "name": "Assignment", "src": "5594:56:7" } ], - "id": 1347, + "id": 1356, "name": "ExpressionStatement", "src": "5594:56:7" }, @@ -6827,11 +6827,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1390, + "referencedDeclaration": 1399, "type": "function (uint256)", "value": "confirmTransaction" }, - "id": 1348, + "id": 1357, "name": "Identifier", "src": "5660:18:7" }, @@ -6841,31 +6841,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1338, + "referencedDeclaration": 1347, "type": "uint256", "value": "transactionId" }, - "id": 1349, + "id": 1358, "name": "Identifier", "src": "5679:13:7" } ], - "id": 1350, + "id": 1359, "name": "FunctionCall", "src": "5660:33:7" } ], - "id": 1351, + "id": 1360, "name": "ExpressionStatement", "src": "5660:33:7" } ], - "id": 1352, + "id": 1361, "name": "Block", "src": "5584:116:7" } ], - "id": 1353, + "id": 1362, "name": "FunctionDefinition", "src": "5456:244:7" }, @@ -6876,7 +6876,7 @@ "isConstructor": false, "name": "confirmTransaction", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6888,7 +6888,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1390, + "scope": 1399, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6901,17 +6901,17 @@ "name": "uint", "type": "uint256" }, - "id": 1354, + "id": 1363, "name": "ElementaryTypeName", "src": "5834:4:7" } ], - "id": 1355, + "id": 1364, "name": "VariableDeclaration", "src": "5834:18:7" } ], - "id": 1356, + "id": 1365, "name": "ParameterList", "src": "5833:20:7" }, @@ -6922,7 +6922,7 @@ ] }, "children": [], - "id": 1369, + "id": 1378, "name": "ParameterList", "src": "5994:0:7" }, @@ -6934,11 +6934,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 974, + "referencedDeclaration": 983, "type": "modifier (address)", "value": "ownerExists" }, - "id": 1357, + "id": 1366, "name": "Identifier", "src": "5877:11:7" }, @@ -6960,21 +6960,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1358, + "id": 1367, "name": "Identifier", "src": "5889:3:7" } ], - "id": 1359, + "id": 1368, "name": "MemberAccess", "src": "5889:10:7" } ], - "id": 1360, + "id": 1369, "name": "ModifierInvocation", "src": "5877:23:7" }, @@ -6986,11 +6986,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 988, + "referencedDeclaration": 997, "type": "modifier (uint256)", "value": "transactionExists" }, - "id": 1361, + "id": 1370, "name": "Identifier", "src": "5909:17:7" }, @@ -7000,16 +7000,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1355, + "referencedDeclaration": 1364, "type": "uint256", "value": "transactionId" }, - "id": 1362, + "id": 1371, "name": "Identifier", "src": "5927:13:7" } ], - "id": 1363, + "id": 1372, "name": "ModifierInvocation", "src": "5909:32:7" }, @@ -7021,11 +7021,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1019, + "referencedDeclaration": 1028, "type": "modifier (uint256,address)", "value": "notConfirmed" }, - "id": 1364, + "id": 1373, "name": "Identifier", "src": "5950:12:7" }, @@ -7035,11 +7035,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1355, + "referencedDeclaration": 1364, "type": "uint256", "value": "transactionId" }, - "id": 1365, + "id": 1374, "name": "Identifier", "src": "5963:13:7" }, @@ -7061,21 +7061,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1366, + "id": 1375, "name": "Identifier", "src": "5978:3:7" } ], - "id": 1367, + "id": 1376, "name": "MemberAccess", "src": "5978:10:7" } ], - "id": 1368, + "id": 1377, "name": "ModifierInvocation", "src": "5950:39:7" }, @@ -7120,11 +7120,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1370, + "id": 1379, "name": "Identifier", "src": "6004:13:7" }, @@ -7134,16 +7134,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1355, + "referencedDeclaration": 1364, "type": "uint256", "value": "transactionId" }, - "id": 1371, + "id": 1380, "name": "Identifier", "src": "6018:13:7" } ], - "id": 1374, + "id": 1383, "name": "IndexAccess", "src": "6004:28:7" }, @@ -7165,21 +7165,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1372, + "id": 1381, "name": "Identifier", "src": "6033:3:7" } ], - "id": 1373, + "id": 1382, "name": "MemberAccess", "src": "6033:10:7" } ], - "id": 1375, + "id": 1384, "name": "IndexAccess", "src": "6004:40:7" }, @@ -7196,17 +7196,17 @@ "type": "bool", "value": "true" }, - "id": 1376, + "id": 1385, "name": "Literal", "src": "6047:4:7" } ], - "id": 1377, + "id": 1386, "name": "Assignment", "src": "6004:47:7" } ], - "id": 1378, + "id": 1387, "name": "ExpressionStatement", "src": "6004:47:7" }, @@ -7242,11 +7242,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 873, + "referencedDeclaration": 882, "type": "function (address,uint256)", "value": "Confirmation" }, - "id": 1379, + "id": 1388, "name": "Identifier", "src": "6061:12:7" }, @@ -7268,16 +7268,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1380, + "id": 1389, "name": "Identifier", "src": "6074:3:7" } ], - "id": 1381, + "id": 1390, "name": "MemberAccess", "src": "6074:10:7" }, @@ -7287,21 +7287,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1355, + "referencedDeclaration": 1364, "type": "uint256", "value": "transactionId" }, - "id": 1382, + "id": 1391, "name": "Identifier", "src": "6086:13:7" } ], - "id": 1383, + "id": 1392, "name": "FunctionCall", "src": "6061:39:7" } ], - "id": 1384, + "id": 1393, "name": "ExpressionStatement", "src": "6061:39:7" }, @@ -7333,11 +7333,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1475, + "referencedDeclaration": 1484, "type": "function (uint256)", "value": "executeTransaction" }, - "id": 1385, + "id": 1394, "name": "Identifier", "src": "6110:18:7" }, @@ -7347,31 +7347,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1355, + "referencedDeclaration": 1364, "type": "uint256", "value": "transactionId" }, - "id": 1386, + "id": 1395, "name": "Identifier", "src": "6129:13:7" } ], - "id": 1387, + "id": 1396, "name": "FunctionCall", "src": "6110:33:7" } ], - "id": 1388, + "id": 1397, "name": "ExpressionStatement", "src": "6110:33:7" } ], - "id": 1389, + "id": 1398, "name": "Block", "src": "5994:156:7" } ], - "id": 1390, + "id": 1399, "name": "FunctionDefinition", "src": "5806:344:7" }, @@ -7382,7 +7382,7 @@ "isConstructor": false, "name": "revokeConfirmation", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -7394,7 +7394,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1423, + "scope": 1432, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -7407,17 +7407,17 @@ "name": "uint", "type": "uint256" }, - "id": 1391, + "id": 1400, "name": "ElementaryTypeName", "src": "6302:4:7" } ], - "id": 1392, + "id": 1401, "name": "VariableDeclaration", "src": "6302:18:7" } ], - "id": 1393, + "id": 1402, "name": "ParameterList", "src": "6301:20:7" }, @@ -7428,7 +7428,7 @@ ] }, "children": [], - "id": 1406, + "id": 1415, "name": "ParameterList", "src": "6453:0:7" }, @@ -7440,11 +7440,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 974, + "referencedDeclaration": 983, "type": "modifier (address)", "value": "ownerExists" }, - "id": 1394, + "id": 1403, "name": "Identifier", "src": "6345:11:7" }, @@ -7466,21 +7466,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1395, + "id": 1404, "name": "Identifier", "src": "6357:3:7" } ], - "id": 1396, + "id": 1405, "name": "MemberAccess", "src": "6357:10:7" } ], - "id": 1397, + "id": 1406, "name": "ModifierInvocation", "src": "6345:23:7" }, @@ -7492,11 +7492,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1004, + "referencedDeclaration": 1013, "type": "modifier (uint256,address)", "value": "confirmed" }, - "id": 1398, + "id": 1407, "name": "Identifier", "src": "6377:9:7" }, @@ -7506,11 +7506,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1392, + "referencedDeclaration": 1401, "type": "uint256", "value": "transactionId" }, - "id": 1399, + "id": 1408, "name": "Identifier", "src": "6387:13:7" }, @@ -7532,21 +7532,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1400, + "id": 1409, "name": "Identifier", "src": "6402:3:7" } ], - "id": 1401, + "id": 1410, "name": "MemberAccess", "src": "6402:10:7" } ], - "id": 1402, + "id": 1411, "name": "ModifierInvocation", "src": "6377:36:7" }, @@ -7558,11 +7558,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1031, + "referencedDeclaration": 1040, "type": "modifier (uint256)", "value": "notExecuted" }, - "id": 1403, + "id": 1412, "name": "Identifier", "src": "6422:11:7" }, @@ -7572,16 +7572,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1392, + "referencedDeclaration": 1401, "type": "uint256", "value": "transactionId" }, - "id": 1404, + "id": 1413, "name": "Identifier", "src": "6434:13:7" } ], - "id": 1405, + "id": 1414, "name": "ModifierInvocation", "src": "6422:26:7" }, @@ -7626,11 +7626,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1407, + "id": 1416, "name": "Identifier", "src": "6463:13:7" }, @@ -7640,16 +7640,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1392, + "referencedDeclaration": 1401, "type": "uint256", "value": "transactionId" }, - "id": 1408, + "id": 1417, "name": "Identifier", "src": "6477:13:7" } ], - "id": 1411, + "id": 1420, "name": "IndexAccess", "src": "6463:28:7" }, @@ -7671,21 +7671,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1409, + "id": 1418, "name": "Identifier", "src": "6492:3:7" } ], - "id": 1410, + "id": 1419, "name": "MemberAccess", "src": "6492:10:7" } ], - "id": 1412, + "id": 1421, "name": "IndexAccess", "src": "6463:40:7" }, @@ -7702,17 +7702,17 @@ "type": "bool", "value": "false" }, - "id": 1413, + "id": 1422, "name": "Literal", "src": "6506:5:7" } ], - "id": 1414, + "id": 1423, "name": "Assignment", "src": "6463:48:7" } ], - "id": 1415, + "id": 1424, "name": "ExpressionStatement", "src": "6463:48:7" }, @@ -7748,11 +7748,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 879, + "referencedDeclaration": 888, "type": "function (address,uint256)", "value": "Revocation" }, - "id": 1416, + "id": 1425, "name": "Identifier", "src": "6521:10:7" }, @@ -7774,16 +7774,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1417, + "id": 1426, "name": "Identifier", "src": "6532:3:7" } ], - "id": 1418, + "id": 1427, "name": "MemberAccess", "src": "6532:10:7" }, @@ -7793,31 +7793,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1392, + "referencedDeclaration": 1401, "type": "uint256", "value": "transactionId" }, - "id": 1419, + "id": 1428, "name": "Identifier", "src": "6544:13:7" } ], - "id": 1420, + "id": 1429, "name": "FunctionCall", "src": "6521:37:7" } ], - "id": 1421, + "id": 1430, "name": "ExpressionStatement", "src": "6521:37:7" } ], - "id": 1422, + "id": 1431, "name": "Block", "src": "6453:112:7" } ], - "id": 1423, + "id": 1432, "name": "FunctionDefinition", "src": "6274:291:7" }, @@ -7828,7 +7828,7 @@ "isConstructor": false, "name": "executeTransaction", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -7840,7 +7840,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1475, + "scope": 1484, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -7853,17 +7853,17 @@ "name": "uint", "type": "uint256" }, - "id": 1424, + "id": 1433, "name": "ElementaryTypeName", "src": "6707:4:7" } ], - "id": 1425, + "id": 1434, "name": "VariableDeclaration", "src": "6707:18:7" } ], - "id": 1426, + "id": 1435, "name": "ParameterList", "src": "6706:20:7" }, @@ -7874,7 +7874,7 @@ ] }, "children": [], - "id": 1430, + "id": 1439, "name": "ParameterList", "src": "6781:0:7" }, @@ -7886,11 +7886,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1031, + "referencedDeclaration": 1040, "type": "modifier (uint256)", "value": "notExecuted" }, - "id": 1427, + "id": 1436, "name": "Identifier", "src": "6750:11:7" }, @@ -7900,16 +7900,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1425, + "referencedDeclaration": 1434, "type": "uint256", "value": "transactionId" }, - "id": 1428, + "id": 1437, "name": "Identifier", "src": "6762:13:7" } ], - "id": 1429, + "id": 1438, "name": "ModifierInvocation", "src": "6750:26:7" }, @@ -7946,11 +7946,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1518, + "referencedDeclaration": 1527, "type": "function (uint256) view returns (bool)", "value": "isConfirmed" }, - "id": 1431, + "id": 1440, "name": "Identifier", "src": "6795:11:7" }, @@ -7960,16 +7960,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1425, + "referencedDeclaration": 1434, "type": "uint256", "value": "transactionId" }, - "id": 1432, + "id": 1441, "name": "Identifier", "src": "6807:13:7" } ], - "id": 1433, + "id": 1442, "name": "FunctionCall", "src": "6795:26:7" }, @@ -7978,7 +7978,7 @@ { "attributes": { "assignments": [ - 1435 + 1444 ] }, "children": [ @@ -7986,7 +7986,7 @@ "attributes": { "constant": false, "name": "tx", - "scope": 1475, + "scope": 1484, "stateVariable": false, "storageLocation": "default", "type": "struct MultiSigWallet.Transaction storage pointer", @@ -7998,15 +7998,15 @@ "attributes": { "contractScope": null, "name": "Transaction", - "referencedDeclaration": 939, + "referencedDeclaration": 948, "type": "struct MultiSigWallet.Transaction storage pointer" }, - "id": 1434, + "id": 1443, "name": "UserDefinedTypeName", "src": "6837:11:7" } ], - "id": 1435, + "id": 1444, "name": "VariableDeclaration", "src": "6837:14:7" }, @@ -8026,11 +8026,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1436, + "id": 1445, "name": "Identifier", "src": "6854:12:7" }, @@ -8040,21 +8040,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1425, + "referencedDeclaration": 1434, "type": "uint256", "value": "transactionId" }, - "id": 1437, + "id": 1446, "name": "Identifier", "src": "6867:13:7" } ], - "id": 1438, + "id": 1447, "name": "IndexAccess", "src": "6854:27:7" } ], - "id": 1439, + "id": 1448, "name": "VariableDeclarationStatement", "src": "6837:44:7" }, @@ -8079,7 +8079,7 @@ "isPure": false, "lValueRequested": true, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -8089,16 +8089,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1435, + "referencedDeclaration": 1444, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1440, + "id": 1449, "name": "Identifier", "src": "6895:2:7" } ], - "id": 1442, + "id": 1451, "name": "MemberAccess", "src": "6895:11:7" }, @@ -8115,17 +8115,17 @@ "type": "bool", "value": "true" }, - "id": 1443, + "id": 1452, "name": "Literal", "src": "6909:4:7" } ], - "id": 1444, + "id": 1453, "name": "Assignment", "src": "6895:18:7" } ], - "id": 1445, + "id": 1454, "name": "ExpressionStatement", "src": "6895:18:7" }, @@ -8203,7 +8203,7 @@ "isPure": false, "lValueRequested": false, "member_name": "destination", - "referencedDeclaration": 932, + "referencedDeclaration": 941, "type": "address" }, "children": [ @@ -8213,26 +8213,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1435, + "referencedDeclaration": 1444, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1446, + "id": 1455, "name": "Identifier", "src": "6931:2:7" } ], - "id": 1447, + "id": 1456, "name": "MemberAccess", "src": "6931:14:7" } ], - "id": 1448, + "id": 1457, "name": "MemberAccess", "src": "6931:19:7" } ], - "id": 1449, + "id": 1458, "name": "MemberAccess", "src": "6931:25:7" }, @@ -8244,7 +8244,7 @@ "isPure": false, "lValueRequested": false, "member_name": "value", - "referencedDeclaration": 934, + "referencedDeclaration": 943, "type": "uint256" }, "children": [ @@ -8254,21 +8254,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1435, + "referencedDeclaration": 1444, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1450, + "id": 1459, "name": "Identifier", "src": "6957:2:7" } ], - "id": 1451, + "id": 1460, "name": "MemberAccess", "src": "6957:8:7" } ], - "id": 1452, + "id": 1461, "name": "FunctionCall", "src": "6931:35:7" }, @@ -8280,7 +8280,7 @@ "isPure": false, "lValueRequested": false, "member_name": "data", - "referencedDeclaration": 936, + "referencedDeclaration": 945, "type": "bytes storage ref" }, "children": [ @@ -8290,21 +8290,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1435, + "referencedDeclaration": 1444, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1453, + "id": 1462, "name": "Identifier", "src": "6967:2:7" } ], - "id": 1454, + "id": 1463, "name": "MemberAccess", "src": "6967:7:7" } ], - "id": 1455, + "id": 1464, "name": "FunctionCall", "src": "6931:44:7" }, @@ -8336,11 +8336,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 896, "type": "function (uint256)", "value": "Execution" }, - "id": 1456, + "id": 1465, "name": "Identifier", "src": "6993:9:7" }, @@ -8350,21 +8350,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1425, + "referencedDeclaration": 1434, "type": "uint256", "value": "transactionId" }, - "id": 1457, + "id": 1466, "name": "Identifier", "src": "7003:13:7" } ], - "id": 1458, + "id": 1467, "name": "FunctionCall", "src": "6993:24:7" } ], - "id": 1459, + "id": 1468, "name": "ExpressionStatement", "src": "6993:24:7" }, @@ -8398,11 +8398,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 891, + "referencedDeclaration": 900, "type": "function (uint256)", "value": "ExecutionFailure" }, - "id": 1460, + "id": 1469, "name": "Identifier", "src": "7054:16:7" }, @@ -8412,21 +8412,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1425, + "referencedDeclaration": 1434, "type": "uint256", "value": "transactionId" }, - "id": 1461, + "id": 1470, "name": "Identifier", "src": "7071:13:7" } ], - "id": 1462, + "id": 1471, "name": "FunctionCall", "src": "7054:31:7" } ], - "id": 1463, + "id": 1472, "name": "ExpressionStatement", "src": "7054:31:7" }, @@ -8451,7 +8451,7 @@ "isPure": false, "lValueRequested": true, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -8461,16 +8461,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1435, + "referencedDeclaration": 1444, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1464, + "id": 1473, "name": "Identifier", "src": "7103:2:7" } ], - "id": 1466, + "id": 1475, "name": "MemberAccess", "src": "7103:11:7" }, @@ -8487,47 +8487,47 @@ "type": "bool", "value": "false" }, - "id": 1467, + "id": 1476, "name": "Literal", "src": "7117:5:7" } ], - "id": 1468, + "id": 1477, "name": "Assignment", "src": "7103:19:7" } ], - "id": 1469, + "id": 1478, "name": "ExpressionStatement", "src": "7103:19:7" } ], - "id": 1470, + "id": 1479, "name": "Block", "src": "7036:101:7" } ], - "id": 1471, + "id": 1480, "name": "IfStatement", "src": "6927:210:7" } ], - "id": 1472, + "id": 1481, "name": "Block", "src": "6823:324:7" } ], - "id": 1473, + "id": 1482, "name": "IfStatement", "src": "6791:356:7" } ], - "id": 1474, + "id": 1483, "name": "Block", "src": "6781:372:7" } ], - "id": 1475, + "id": 1484, "name": "FunctionDefinition", "src": "6679:474:7" }, @@ -8541,7 +8541,7 @@ ], "name": "isConfirmed", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -8553,7 +8553,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1518, + "scope": 1527, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -8566,17 +8566,17 @@ "name": "uint", "type": "uint256" }, - "id": 1476, + "id": 1485, "name": "ElementaryTypeName", "src": "7325:4:7" } ], - "id": 1477, + "id": 1486, "name": "VariableDeclaration", "src": "7325:18:7" } ], - "id": 1478, + "id": 1487, "name": "ParameterList", "src": "7324:20:7" }, @@ -8586,7 +8586,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1518, + "scope": 1527, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -8599,17 +8599,17 @@ "name": "bool", "type": "bool" }, - "id": 1479, + "id": 1488, "name": "ElementaryTypeName", "src": "7394:4:7" } ], - "id": 1480, + "id": 1489, "name": "VariableDeclaration", "src": "7394:4:7" } ], - "id": 1481, + "id": 1490, "name": "ParameterList", "src": "7393:6:7" }, @@ -8618,7 +8618,7 @@ { "attributes": { "assignments": [ - 1483 + 1492 ] }, "children": [ @@ -8626,7 +8626,7 @@ "attributes": { "constant": false, "name": "count", - "scope": 1518, + "scope": 1527, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -8639,12 +8639,12 @@ "name": "uint", "type": "uint256" }, - "id": 1482, + "id": 1491, "name": "ElementaryTypeName", "src": "7414:4:7" } ], - "id": 1483, + "id": 1492, "name": "VariableDeclaration", "src": "7414:10:7" }, @@ -8661,12 +8661,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1484, + "id": 1493, "name": "Literal", "src": "7427:1:7" } ], - "id": 1485, + "id": 1494, "name": "VariableDeclarationStatement", "src": "7414:14:7" }, @@ -8675,7 +8675,7 @@ { "attributes": { "assignments": [ - 1487 + 1496 ] }, "children": [ @@ -8683,7 +8683,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1518, + "scope": 1527, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -8696,12 +8696,12 @@ "name": "uint", "type": "uint256" }, - "id": 1486, + "id": 1495, "name": "ElementaryTypeName", "src": "7443:4:7" } ], - "id": 1487, + "id": 1496, "name": "VariableDeclaration", "src": "7443:6:7" }, @@ -8718,12 +8718,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1488, + "id": 1497, "name": "Literal", "src": "7450:1:7" } ], - "id": 1489, + "id": 1498, "name": "VariableDeclarationStatement", "src": "7443:8:7" }, @@ -8748,11 +8748,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1487, + "referencedDeclaration": 1496, "type": "uint256", "value": "i" }, - "id": 1490, + "id": 1499, "name": "Identifier", "src": "7453:1:7" }, @@ -8774,21 +8774,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1491, + "id": 1500, "name": "Identifier", "src": "7455:6:7" } ], - "id": 1492, + "id": 1501, "name": "MemberAccess", "src": "7455:13:7" } ], - "id": 1493, + "id": 1502, "name": "BinaryOperation", "src": "7453:15:7" }, @@ -8812,21 +8812,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1487, + "referencedDeclaration": 1496, "type": "uint256", "value": "i" }, - "id": 1494, + "id": 1503, "name": "Identifier", "src": "7470:1:7" } ], - "id": 1495, + "id": 1504, "name": "UnaryOperation", "src": "7470:3:7" } ], - "id": 1496, + "id": 1505, "name": "ExpressionStatement", "src": "7470:3:7" }, @@ -8863,11 +8863,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1497, + "id": 1506, "name": "Identifier", "src": "7493:13:7" }, @@ -8877,16 +8877,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1477, + "referencedDeclaration": 1486, "type": "uint256", "value": "transactionId" }, - "id": 1498, + "id": 1507, "name": "Identifier", "src": "7507:13:7" } ], - "id": 1499, + "id": 1508, "name": "IndexAccess", "src": "7493:28:7" }, @@ -8906,11 +8906,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1500, + "id": 1509, "name": "Identifier", "src": "7522:6:7" }, @@ -8920,21 +8920,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1487, + "referencedDeclaration": 1496, "type": "uint256", "value": "i" }, - "id": 1501, + "id": 1510, "name": "Identifier", "src": "7529:1:7" } ], - "id": 1502, + "id": 1511, "name": "IndexAccess", "src": "7522:9:7" } ], - "id": 1503, + "id": 1512, "name": "IndexAccess", "src": "7493:39:7" }, @@ -8957,11 +8957,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1483, + "referencedDeclaration": 1492, "type": "uint256", "value": "count" }, - "id": 1504, + "id": 1513, "name": "Identifier", "src": "7550:5:7" }, @@ -8978,22 +8978,22 @@ "type": "int_const 1", "value": "1" }, - "id": 1505, + "id": 1514, "name": "Literal", "src": "7559:1:7" } ], - "id": 1506, + "id": 1515, "name": "Assignment", "src": "7550:10:7" } ], - "id": 1507, + "id": 1516, "name": "ExpressionStatement", "src": "7550:10:7" } ], - "id": 1508, + "id": 1517, "name": "IfStatement", "src": "7489:71:7" }, @@ -9023,11 +9023,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1483, + "referencedDeclaration": 1492, "type": "uint256", "value": "count" }, - "id": 1509, + "id": 1518, "name": "Identifier", "src": "7578:5:7" }, @@ -9037,22 +9037,22 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 928, + "referencedDeclaration": 937, "type": "uint256", "value": "required" }, - "id": 1510, + "id": 1519, "name": "Identifier", "src": "7587:8:7" } ], - "id": 1511, + "id": 1520, "name": "BinaryOperation", "src": "7578:17:7" }, { "attributes": { - "functionReturnParameters": 1481 + "functionReturnParameters": 1490 }, "children": [ { @@ -9068,37 +9068,37 @@ "type": "bool", "value": "true" }, - "id": 1512, + "id": 1521, "name": "Literal", "src": "7620:4:7" } ], - "id": 1513, + "id": 1522, "name": "Return", "src": "7613:11:7" } ], - "id": 1514, + "id": 1523, "name": "IfStatement", "src": "7574:50:7" } ], - "id": 1515, + "id": 1524, "name": "Block", "src": "7475:160:7" } ], - "id": 1516, + "id": 1525, "name": "ForStatement", "src": "7438:197:7" } ], - "id": 1517, + "id": 1526, "name": "Block", "src": "7404:237:7" } ], - "id": 1518, + "id": 1527, "name": "FunctionDefinition", "src": "7304:337:7" }, @@ -9109,7 +9109,7 @@ "isConstructor": false, "name": "addTransaction", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -9121,7 +9121,7 @@ "attributes": { "constant": false, "name": "destination", - "scope": 1556, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -9134,12 +9134,12 @@ "name": "address", "type": "address" }, - "id": 1519, + "id": 1528, "name": "ElementaryTypeName", "src": "7998:7:7" } ], - "id": 1520, + "id": 1529, "name": "VariableDeclaration", "src": "7998:19:7" }, @@ -9147,7 +9147,7 @@ "attributes": { "constant": false, "name": "value", - "scope": 1556, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -9160,12 +9160,12 @@ "name": "uint", "type": "uint256" }, - "id": 1521, + "id": 1530, "name": "ElementaryTypeName", "src": "8019:4:7" } ], - "id": 1522, + "id": 1531, "name": "VariableDeclaration", "src": "8019:10:7" }, @@ -9173,7 +9173,7 @@ "attributes": { "constant": false, "name": "data", - "scope": 1556, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -9186,17 +9186,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 1523, + "id": 1532, "name": "ElementaryTypeName", "src": "8031:5:7" } ], - "id": 1524, + "id": 1533, "name": "VariableDeclaration", "src": "8031:10:7" } ], - "id": 1525, + "id": 1534, "name": "ParameterList", "src": "7997:45:7" }, @@ -9206,7 +9206,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1556, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -9219,17 +9219,17 @@ "name": "uint", "type": "uint256" }, - "id": 1529, + "id": 1538, "name": "ElementaryTypeName", "src": "8106:4:7" } ], - "id": 1530, + "id": 1539, "name": "VariableDeclaration", "src": "8106:18:7" } ], - "id": 1531, + "id": 1540, "name": "ParameterList", "src": "8105:20:7" }, @@ -9241,11 +9241,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1042, + "referencedDeclaration": 1051, "type": "modifier (address)", "value": "notNull" }, - "id": 1526, + "id": 1535, "name": "Identifier", "src": "8068:7:7" }, @@ -9255,16 +9255,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1520, + "referencedDeclaration": 1529, "type": "address", "value": "destination" }, - "id": 1527, + "id": 1536, "name": "Identifier", "src": "8076:11:7" } ], - "id": 1528, + "id": 1537, "name": "ModifierInvocation", "src": "8068:20:7" }, @@ -9289,11 +9289,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1530, + "referencedDeclaration": 1539, "type": "uint256", "value": "transactionId" }, - "id": 1532, + "id": 1541, "name": "Identifier", "src": "8140:13:7" }, @@ -9303,21 +9303,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 930, + "referencedDeclaration": 939, "type": "uint256", "value": "transactionCount" }, - "id": 1533, + "id": 1542, "name": "Identifier", "src": "8156:16:7" } ], - "id": 1534, + "id": 1543, "name": "Assignment", "src": "8140:32:7" } ], - "id": 1535, + "id": 1544, "name": "ExpressionStatement", "src": "8140:32:7" }, @@ -9350,11 +9350,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1536, + "id": 1545, "name": "Identifier", "src": "8182:12:7" }, @@ -9364,16 +9364,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1530, + "referencedDeclaration": 1539, "type": "uint256", "value": "transactionId" }, - "id": 1537, + "id": 1546, "name": "Identifier", "src": "8195:13:7" } ], - "id": 1538, + "id": 1547, "name": "IndexAccess", "src": "8182:27:7" }, @@ -9401,11 +9401,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 948, "type": "type(struct MultiSigWallet.Transaction storage pointer)", "value": "Transaction" }, - "id": 1539, + "id": 1548, "name": "Identifier", "src": "8212:11:7" }, @@ -9415,11 +9415,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1520, + "referencedDeclaration": 1529, "type": "address", "value": "destination" }, - "id": 1540, + "id": 1549, "name": "Identifier", "src": "8251:11:7" }, @@ -9429,11 +9429,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1522, + "referencedDeclaration": 1531, "type": "uint256", "value": "value" }, - "id": 1541, + "id": 1550, "name": "Identifier", "src": "8283:5:7" }, @@ -9443,11 +9443,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1524, + "referencedDeclaration": 1533, "type": "bytes memory", "value": "data" }, - "id": 1542, + "id": 1551, "name": "Identifier", "src": "8308:4:7" }, @@ -9464,22 +9464,22 @@ "type": "bool", "value": "false" }, - "id": 1543, + "id": 1552, "name": "Literal", "src": "8336:5:7" } ], - "id": 1544, + "id": 1553, "name": "FunctionCall", "src": "8212:140:7" } ], - "id": 1545, + "id": 1554, "name": "Assignment", "src": "8182:170:7" } ], - "id": 1546, + "id": 1555, "name": "ExpressionStatement", "src": "8182:170:7" }, @@ -9502,11 +9502,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 930, + "referencedDeclaration": 939, "type": "uint256", "value": "transactionCount" }, - "id": 1547, + "id": 1556, "name": "Identifier", "src": "8362:16:7" }, @@ -9523,17 +9523,17 @@ "type": "int_const 1", "value": "1" }, - "id": 1548, + "id": 1557, "name": "Literal", "src": "8382:1:7" } ], - "id": 1549, + "id": 1558, "name": "Assignment", "src": "8362:21:7" } ], - "id": 1550, + "id": 1559, "name": "ExpressionStatement", "src": "8362:21:7" }, @@ -9565,11 +9565,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 883, + "referencedDeclaration": 892, "type": "function (uint256)", "value": "Submission" }, - "id": 1551, + "id": 1560, "name": "Identifier", "src": "8393:10:7" }, @@ -9579,31 +9579,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1530, + "referencedDeclaration": 1539, "type": "uint256", "value": "transactionId" }, - "id": 1552, + "id": 1561, "name": "Identifier", "src": "8404:13:7" } ], - "id": 1553, + "id": 1562, "name": "FunctionCall", "src": "8393:25:7" } ], - "id": 1554, + "id": 1563, "name": "ExpressionStatement", "src": "8393:25:7" } ], - "id": 1555, + "id": 1564, "name": "Block", "src": "8130:295:7" } ], - "id": 1556, + "id": 1565, "name": "FunctionDefinition", "src": "7974:451:7" }, @@ -9617,7 +9617,7 @@ ], "name": "getConfirmationCount", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -9629,7 +9629,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1588, + "scope": 1597, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -9642,17 +9642,17 @@ "name": "uint", "type": "uint256" }, - "id": 1557, + "id": 1566, "name": "ElementaryTypeName", "src": "8652:4:7" } ], - "id": 1558, + "id": 1567, "name": "VariableDeclaration", "src": "8652:18:7" } ], - "id": 1559, + "id": 1568, "name": "ParameterList", "src": "8651:20:7" }, @@ -9662,7 +9662,7 @@ "attributes": { "constant": false, "name": "count", - "scope": 1588, + "scope": 1597, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -9675,17 +9675,17 @@ "name": "uint", "type": "uint256" }, - "id": 1560, + "id": 1569, "name": "ElementaryTypeName", "src": "8721:4:7" } ], - "id": 1561, + "id": 1570, "name": "VariableDeclaration", "src": "8721:10:7" } ], - "id": 1562, + "id": 1571, "name": "ParameterList", "src": "8720:12:7" }, @@ -9696,7 +9696,7 @@ { "attributes": { "assignments": [ - 1564 + 1573 ] }, "children": [ @@ -9704,7 +9704,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1588, + "scope": 1597, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -9717,12 +9717,12 @@ "name": "uint", "type": "uint256" }, - "id": 1563, + "id": 1572, "name": "ElementaryTypeName", "src": "8752:4:7" } ], - "id": 1564, + "id": 1573, "name": "VariableDeclaration", "src": "8752:6:7" }, @@ -9739,12 +9739,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1565, + "id": 1574, "name": "Literal", "src": "8759:1:7" } ], - "id": 1566, + "id": 1575, "name": "VariableDeclarationStatement", "src": "8752:8:7" }, @@ -9769,11 +9769,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1573, "type": "uint256", "value": "i" }, - "id": 1567, + "id": 1576, "name": "Identifier", "src": "8762:1:7" }, @@ -9795,21 +9795,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1568, + "id": 1577, "name": "Identifier", "src": "8764:6:7" } ], - "id": 1569, + "id": 1578, "name": "MemberAccess", "src": "8764:13:7" } ], - "id": 1570, + "id": 1579, "name": "BinaryOperation", "src": "8762:15:7" }, @@ -9833,21 +9833,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1573, "type": "uint256", "value": "i" }, - "id": 1571, + "id": 1580, "name": "Identifier", "src": "8779:1:7" } ], - "id": 1572, + "id": 1581, "name": "UnaryOperation", "src": "8779:3:7" } ], - "id": 1573, + "id": 1582, "name": "ExpressionStatement", "src": "8779:3:7" }, @@ -9882,11 +9882,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1574, + "id": 1583, "name": "Identifier", "src": "8800:13:7" }, @@ -9896,16 +9896,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1558, + "referencedDeclaration": 1567, "type": "uint256", "value": "transactionId" }, - "id": 1575, + "id": 1584, "name": "Identifier", "src": "8814:13:7" } ], - "id": 1576, + "id": 1585, "name": "IndexAccess", "src": "8800:28:7" }, @@ -9925,11 +9925,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1577, + "id": 1586, "name": "Identifier", "src": "8829:6:7" }, @@ -9939,21 +9939,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1573, "type": "uint256", "value": "i" }, - "id": 1578, + "id": 1587, "name": "Identifier", "src": "8836:1:7" } ], - "id": 1579, + "id": 1588, "name": "IndexAccess", "src": "8829:9:7" } ], - "id": 1580, + "id": 1589, "name": "IndexAccess", "src": "8800:39:7" }, @@ -9976,11 +9976,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1570, "type": "uint256", "value": "count" }, - "id": 1581, + "id": 1590, "name": "Identifier", "src": "8857:5:7" }, @@ -9997,37 +9997,37 @@ "type": "int_const 1", "value": "1" }, - "id": 1582, + "id": 1591, "name": "Literal", "src": "8866:1:7" } ], - "id": 1583, + "id": 1592, "name": "Assignment", "src": "8857:10:7" } ], - "id": 1584, + "id": 1593, "name": "ExpressionStatement", "src": "8857:10:7" } ], - "id": 1585, + "id": 1594, "name": "IfStatement", "src": "8796:71:7" } ], - "id": 1586, + "id": 1595, "name": "ForStatement", "src": "8747:120:7" } ], - "id": 1587, + "id": 1596, "name": "Block", "src": "8737:137:7" } ], - "id": 1588, + "id": 1597, "name": "FunctionDefinition", "src": "8622:252:7" }, @@ -10041,7 +10041,7 @@ ], "name": "getTransactionCount", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -10053,7 +10053,7 @@ "attributes": { "constant": false, "name": "pending", - "scope": 1628, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -10066,12 +10066,12 @@ "name": "bool", "type": "bool" }, - "id": 1589, + "id": 1598, "name": "ElementaryTypeName", "src": "9165:4:7" } ], - "id": 1590, + "id": 1599, "name": "VariableDeclaration", "src": "9165:12:7" }, @@ -10079,7 +10079,7 @@ "attributes": { "constant": false, "name": "executed", - "scope": 1628, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -10092,17 +10092,17 @@ "name": "bool", "type": "bool" }, - "id": 1591, + "id": 1600, "name": "ElementaryTypeName", "src": "9179:4:7" } ], - "id": 1592, + "id": 1601, "name": "VariableDeclaration", "src": "9179:13:7" } ], - "id": 1593, + "id": 1602, "name": "ParameterList", "src": "9164:29:7" }, @@ -10112,7 +10112,7 @@ "attributes": { "constant": false, "name": "count", - "scope": 1628, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -10125,17 +10125,17 @@ "name": "uint", "type": "uint256" }, - "id": 1594, + "id": 1603, "name": "ElementaryTypeName", "src": "9243:4:7" } ], - "id": 1595, + "id": 1604, "name": "VariableDeclaration", "src": "9243:10:7" } ], - "id": 1596, + "id": 1605, "name": "ParameterList", "src": "9242:12:7" }, @@ -10146,7 +10146,7 @@ { "attributes": { "assignments": [ - 1598 + 1607 ] }, "children": [ @@ -10154,7 +10154,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1628, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -10167,12 +10167,12 @@ "name": "uint", "type": "uint256" }, - "id": 1597, + "id": 1606, "name": "ElementaryTypeName", "src": "9274:4:7" } ], - "id": 1598, + "id": 1607, "name": "VariableDeclaration", "src": "9274:6:7" }, @@ -10189,12 +10189,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1599, + "id": 1608, "name": "Literal", "src": "9281:1:7" } ], - "id": 1600, + "id": 1609, "name": "VariableDeclarationStatement", "src": "9274:8:7" }, @@ -10219,11 +10219,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1598, + "referencedDeclaration": 1607, "type": "uint256", "value": "i" }, - "id": 1601, + "id": 1610, "name": "Identifier", "src": "9284:1:7" }, @@ -10233,16 +10233,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 930, + "referencedDeclaration": 939, "type": "uint256", "value": "transactionCount" }, - "id": 1602, + "id": 1611, "name": "Identifier", "src": "9286:16:7" } ], - "id": 1603, + "id": 1612, "name": "BinaryOperation", "src": "9284:18:7" }, @@ -10266,21 +10266,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1598, + "referencedDeclaration": 1607, "type": "uint256", "value": "i" }, - "id": 1604, + "id": 1613, "name": "Identifier", "src": "9304:1:7" } ], - "id": 1605, + "id": 1614, "name": "UnaryOperation", "src": "9304:3:7" } ], - "id": 1606, + "id": 1615, "name": "ExpressionStatement", "src": "9304:3:7" }, @@ -10325,11 +10325,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1590, + "referencedDeclaration": 1599, "type": "bool", "value": "pending" }, - "id": 1607, + "id": 1616, "name": "Identifier", "src": "9328:7:7" }, @@ -10353,7 +10353,7 @@ "isPure": false, "lValueRequested": false, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -10373,11 +10373,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1608, + "id": 1617, "name": "Identifier", "src": "9340:12:7" }, @@ -10387,31 +10387,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1598, + "referencedDeclaration": 1607, "type": "uint256", "value": "i" }, - "id": 1609, + "id": 1618, "name": "Identifier", "src": "9353:1:7" } ], - "id": 1610, + "id": 1619, "name": "IndexAccess", "src": "9340:15:7" } ], - "id": 1611, + "id": 1620, "name": "MemberAccess", "src": "9340:24:7" } ], - "id": 1612, + "id": 1621, "name": "UnaryOperation", "src": "9339:25:7" } ], - "id": 1613, + "id": 1622, "name": "BinaryOperation", "src": "9328:36:7" }, @@ -10436,11 +10436,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1601, "type": "bool", "value": "executed" }, - "id": 1614, + "id": 1623, "name": "Identifier", "src": "9384:8:7" }, @@ -10452,7 +10452,7 @@ "isPure": false, "lValueRequested": false, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -10472,11 +10472,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1615, + "id": 1624, "name": "Identifier", "src": "9396:12:7" }, @@ -10486,31 +10486,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1598, + "referencedDeclaration": 1607, "type": "uint256", "value": "i" }, - "id": 1616, + "id": 1625, "name": "Identifier", "src": "9409:1:7" } ], - "id": 1617, + "id": 1626, "name": "IndexAccess", "src": "9396:15:7" } ], - "id": 1618, + "id": 1627, "name": "MemberAccess", "src": "9396:24:7" } ], - "id": 1619, + "id": 1628, "name": "BinaryOperation", "src": "9384:36:7" } ], - "id": 1620, + "id": 1629, "name": "BinaryOperation", "src": "9328:92:7" }, @@ -10533,11 +10533,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1604, "type": "uint256", "value": "count" }, - "id": 1621, + "id": 1630, "name": "Identifier", "src": "9438:5:7" }, @@ -10554,37 +10554,37 @@ "type": "int_const 1", "value": "1" }, - "id": 1622, + "id": 1631, "name": "Literal", "src": "9447:1:7" } ], - "id": 1623, + "id": 1632, "name": "Assignment", "src": "9438:10:7" } ], - "id": 1624, + "id": 1633, "name": "ExpressionStatement", "src": "9438:10:7" } ], - "id": 1625, + "id": 1634, "name": "IfStatement", "src": "9321:127:7" } ], - "id": 1626, + "id": 1635, "name": "ForStatement", "src": "9269:179:7" } ], - "id": 1627, + "id": 1636, "name": "Block", "src": "9259:196:7" } ], - "id": 1628, + "id": 1637, "name": "FunctionDefinition", "src": "9136:319:7" }, @@ -10598,7 +10598,7 @@ ], "name": "getOwners", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -10611,7 +10611,7 @@ ] }, "children": [], - "id": 1629, + "id": 1638, "name": "ParameterList", "src": "9557:2:7" }, @@ -10621,7 +10621,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1637, + "scope": 1646, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -10640,22 +10640,22 @@ "name": "address", "type": "address" }, - "id": 1630, + "id": 1639, "name": "ElementaryTypeName", "src": "9609:7:7" } ], - "id": 1631, + "id": 1640, "name": "ArrayTypeName", "src": "9609:9:7" } ], - "id": 1632, + "id": 1641, "name": "VariableDeclaration", "src": "9609:9:7" } ], - "id": 1633, + "id": 1642, "name": "ParameterList", "src": "9608:11:7" }, @@ -10663,7 +10663,7 @@ "children": [ { "attributes": { - "functionReturnParameters": 1633 + "functionReturnParameters": 1642 }, "children": [ { @@ -10672,26 +10672,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1634, + "id": 1643, "name": "Identifier", "src": "9641:6:7" } ], - "id": 1635, + "id": 1644, "name": "Return", "src": "9634:13:7" } ], - "id": 1636, + "id": 1645, "name": "Block", "src": "9624:30:7" } ], - "id": 1637, + "id": 1646, "name": "FunctionDefinition", "src": "9539:115:7" }, @@ -10705,7 +10705,7 @@ ], "name": "getConfirmations", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -10717,7 +10717,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1724, + "scope": 1733, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -10730,17 +10730,17 @@ "name": "uint", "type": "uint256" }, - "id": 1638, + "id": 1647, "name": "ElementaryTypeName", "src": "9859:4:7" } ], - "id": 1639, + "id": 1648, "name": "VariableDeclaration", "src": "9859:18:7" } ], - "id": 1640, + "id": 1649, "name": "ParameterList", "src": "9858:20:7" }, @@ -10750,7 +10750,7 @@ "attributes": { "constant": false, "name": "_confirmations", - "scope": 1724, + "scope": 1733, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -10769,22 +10769,22 @@ "name": "address", "type": "address" }, - "id": 1641, + "id": 1650, "name": "ElementaryTypeName", "src": "9928:7:7" } ], - "id": 1642, + "id": 1651, "name": "ArrayTypeName", "src": "9928:9:7" } ], - "id": 1643, + "id": 1652, "name": "VariableDeclaration", "src": "9928:24:7" } ], - "id": 1644, + "id": 1653, "name": "ParameterList", "src": "9927:26:7" }, @@ -10793,7 +10793,7 @@ { "attributes": { "assignments": [ - 1648 + 1657 ] }, "children": [ @@ -10801,7 +10801,7 @@ "attributes": { "constant": false, "name": "confirmationsTemp", - "scope": 1724, + "scope": 1733, "stateVariable": false, "storageLocation": "memory", "type": "address[] memory", @@ -10820,17 +10820,17 @@ "name": "address", "type": "address" }, - "id": 1646, + "id": 1655, "name": "ElementaryTypeName", "src": "9968:7:7" } ], - "id": 1647, + "id": 1656, "name": "ArrayTypeName", "src": "9968:9:7" } ], - "id": 1648, + "id": 1657, "name": "VariableDeclaration", "src": "9968:34:7" }, @@ -10875,17 +10875,17 @@ "name": "address", "type": "address" }, - "id": 1649, + "id": 1658, "name": "ElementaryTypeName", "src": "10009:7:7" } ], - "id": 1650, + "id": 1659, "name": "ArrayTypeName", "src": "10009:9:7" } ], - "id": 1651, + "id": 1660, "name": "NewExpression", "src": "10005:13:7" }, @@ -10907,33 +10907,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1652, + "id": 1661, "name": "Identifier", "src": "10019:6:7" } ], - "id": 1653, + "id": 1662, "name": "MemberAccess", "src": "10019:13:7" } ], - "id": 1654, + "id": 1663, "name": "FunctionCall", "src": "10005:28:7" } ], - "id": 1655, + "id": 1664, "name": "VariableDeclarationStatement", "src": "9968:65:7" }, { "attributes": { "assignments": [ - 1657 + 1666 ] }, "children": [ @@ -10941,7 +10941,7 @@ "attributes": { "constant": false, "name": "count", - "scope": 1724, + "scope": 1733, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -10954,12 +10954,12 @@ "name": "uint", "type": "uint256" }, - "id": 1656, + "id": 1665, "name": "ElementaryTypeName", "src": "10043:4:7" } ], - "id": 1657, + "id": 1666, "name": "VariableDeclaration", "src": "10043:10:7" }, @@ -10976,12 +10976,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1658, + "id": 1667, "name": "Literal", "src": "10056:1:7" } ], - "id": 1659, + "id": 1668, "name": "VariableDeclarationStatement", "src": "10043:14:7" }, @@ -10997,7 +10997,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1724, + "scope": 1733, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -11010,17 +11010,17 @@ "name": "uint", "type": "uint256" }, - "id": 1660, + "id": 1669, "name": "ElementaryTypeName", "src": "10067:4:7" } ], - "id": 1661, + "id": 1670, "name": "VariableDeclaration", "src": "10067:6:7" } ], - "id": 1662, + "id": 1671, "name": "VariableDeclarationStatement", "src": "10067:6:7" }, @@ -11045,11 +11045,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1663, + "id": 1672, "name": "Identifier", "src": "10088:1:7" }, @@ -11066,17 +11066,17 @@ "type": "int_const 0", "value": "0" }, - "id": 1664, + "id": 1673, "name": "Literal", "src": "10090:1:7" } ], - "id": 1665, + "id": 1674, "name": "Assignment", "src": "10088:3:7" } ], - "id": 1666, + "id": 1675, "name": "ExpressionStatement", "src": "10088:3:7" }, @@ -11101,11 +11101,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1667, + "id": 1676, "name": "Identifier", "src": "10093:1:7" }, @@ -11127,21 +11127,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1668, + "id": 1677, "name": "Identifier", "src": "10095:6:7" } ], - "id": 1669, + "id": 1678, "name": "MemberAccess", "src": "10095:13:7" } ], - "id": 1670, + "id": 1679, "name": "BinaryOperation", "src": "10093:15:7" }, @@ -11165,21 +11165,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1671, + "id": 1680, "name": "Identifier", "src": "10110:1:7" } ], - "id": 1672, + "id": 1681, "name": "UnaryOperation", "src": "10110:3:7" } ], - "id": 1673, + "id": 1682, "name": "ExpressionStatement", "src": "10110:3:7" }, @@ -11214,11 +11214,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1674, + "id": 1683, "name": "Identifier", "src": "10131:13:7" }, @@ -11228,16 +11228,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1639, + "referencedDeclaration": 1648, "type": "uint256", "value": "transactionId" }, - "id": 1675, + "id": 1684, "name": "Identifier", "src": "10145:13:7" } ], - "id": 1676, + "id": 1685, "name": "IndexAccess", "src": "10131:28:7" }, @@ -11257,11 +11257,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1677, + "id": 1686, "name": "Identifier", "src": "10160:6:7" }, @@ -11271,21 +11271,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1678, + "id": 1687, "name": "Identifier", "src": "10167:1:7" } ], - "id": 1679, + "id": 1688, "name": "IndexAccess", "src": "10160:9:7" } ], - "id": 1680, + "id": 1689, "name": "IndexAccess", "src": "10131:39:7" }, @@ -11320,11 +11320,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1648, + "referencedDeclaration": 1657, "type": "address[] memory", "value": "confirmationsTemp" }, - "id": 1681, + "id": 1690, "name": "Identifier", "src": "10190:17:7" }, @@ -11334,16 +11334,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1666, "type": "uint256", "value": "count" }, - "id": 1682, + "id": 1691, "name": "Identifier", "src": "10208:5:7" } ], - "id": 1683, + "id": 1692, "name": "IndexAccess", "src": "10190:24:7" }, @@ -11363,11 +11363,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1684, + "id": 1693, "name": "Identifier", "src": "10217:6:7" }, @@ -11377,26 +11377,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1685, + "id": 1694, "name": "Identifier", "src": "10224:1:7" } ], - "id": 1686, + "id": 1695, "name": "IndexAccess", "src": "10217:9:7" } ], - "id": 1687, + "id": 1696, "name": "Assignment", "src": "10190:36:7" } ], - "id": 1688, + "id": 1697, "name": "ExpressionStatement", "src": "10190:36:7" }, @@ -11419,11 +11419,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1666, "type": "uint256", "value": "count" }, - "id": 1689, + "id": 1698, "name": "Identifier", "src": "10244:5:7" }, @@ -11440,32 +11440,32 @@ "type": "int_const 1", "value": "1" }, - "id": 1690, + "id": 1699, "name": "Literal", "src": "10253:1:7" } ], - "id": 1691, + "id": 1700, "name": "Assignment", "src": "10244:10:7" } ], - "id": 1692, + "id": 1701, "name": "ExpressionStatement", "src": "10244:10:7" } ], - "id": 1693, + "id": 1702, "name": "Block", "src": "10172:97:7" } ], - "id": 1694, + "id": 1703, "name": "IfStatement", "src": "10127:142:7" } ], - "id": 1695, + "id": 1704, "name": "ForStatement", "src": "10083:186:7" }, @@ -11488,11 +11488,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1643, + "referencedDeclaration": 1652, "type": "address[] memory", "value": "_confirmations" }, - "id": 1696, + "id": 1705, "name": "Identifier", "src": "10278:14:7" }, @@ -11537,17 +11537,17 @@ "name": "address", "type": "address" }, - "id": 1697, + "id": 1706, "name": "ElementaryTypeName", "src": "10299:7:7" } ], - "id": 1698, + "id": 1707, "name": "ArrayTypeName", "src": "10299:9:7" } ], - "id": 1699, + "id": 1708, "name": "NewExpression", "src": "10295:13:7" }, @@ -11557,26 +11557,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1666, "type": "uint256", "value": "count" }, - "id": 1700, + "id": 1709, "name": "Identifier", "src": "10309:5:7" } ], - "id": 1701, + "id": 1710, "name": "FunctionCall", "src": "10295:20:7" } ], - "id": 1702, + "id": 1711, "name": "Assignment", "src": "10278:37:7" } ], - "id": 1703, + "id": 1712, "name": "ExpressionStatement", "src": "10278:37:7" }, @@ -11601,11 +11601,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1704, + "id": 1713, "name": "Identifier", "src": "10330:1:7" }, @@ -11622,17 +11622,17 @@ "type": "int_const 0", "value": "0" }, - "id": 1705, + "id": 1714, "name": "Literal", "src": "10332:1:7" } ], - "id": 1706, + "id": 1715, "name": "Assignment", "src": "10330:3:7" } ], - "id": 1707, + "id": 1716, "name": "ExpressionStatement", "src": "10330:3:7" }, @@ -11657,11 +11657,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1708, + "id": 1717, "name": "Identifier", "src": "10335:1:7" }, @@ -11671,16 +11671,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1666, "type": "uint256", "value": "count" }, - "id": 1709, + "id": 1718, "name": "Identifier", "src": "10337:5:7" } ], - "id": 1710, + "id": 1719, "name": "BinaryOperation", "src": "10335:7:7" }, @@ -11704,21 +11704,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1711, + "id": 1720, "name": "Identifier", "src": "10344:1:7" } ], - "id": 1712, + "id": 1721, "name": "UnaryOperation", "src": "10344:3:7" } ], - "id": 1713, + "id": 1722, "name": "ExpressionStatement", "src": "10344:3:7" }, @@ -11751,11 +11751,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1643, + "referencedDeclaration": 1652, "type": "address[] memory", "value": "_confirmations" }, - "id": 1714, + "id": 1723, "name": "Identifier", "src": "10361:14:7" }, @@ -11765,16 +11765,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1715, + "id": 1724, "name": "Identifier", "src": "10376:1:7" } ], - "id": 1716, + "id": 1725, "name": "IndexAccess", "src": "10361:17:7" }, @@ -11794,11 +11794,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1648, + "referencedDeclaration": 1657, "type": "address[] memory", "value": "confirmationsTemp" }, - "id": 1717, + "id": 1726, "name": "Identifier", "src": "10381:17:7" }, @@ -11808,41 +11808,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1718, + "id": 1727, "name": "Identifier", "src": "10399:1:7" } ], - "id": 1719, + "id": 1728, "name": "IndexAccess", "src": "10381:20:7" } ], - "id": 1720, + "id": 1729, "name": "Assignment", "src": "10361:40:7" } ], - "id": 1721, + "id": 1730, "name": "ExpressionStatement", "src": "10361:40:7" } ], - "id": 1722, + "id": 1731, "name": "ForStatement", "src": "10325:76:7" } ], - "id": 1723, + "id": 1732, "name": "Block", "src": "9958:450:7" } ], - "id": 1724, + "id": 1733, "name": "FunctionDefinition", "src": "9833:575:7" }, @@ -11856,7 +11856,7 @@ ], "name": "getTransactionIds", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -11868,7 +11868,7 @@ "attributes": { "constant": false, "name": "from", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -11881,12 +11881,12 @@ "name": "uint", "type": "uint256" }, - "id": 1725, + "id": 1734, "name": "ElementaryTypeName", "src": "10784:4:7" } ], - "id": 1726, + "id": 1735, "name": "VariableDeclaration", "src": "10784:9:7" }, @@ -11894,7 +11894,7 @@ "attributes": { "constant": false, "name": "to", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -11907,12 +11907,12 @@ "name": "uint", "type": "uint256" }, - "id": 1727, + "id": 1736, "name": "ElementaryTypeName", "src": "10795:4:7" } ], - "id": 1728, + "id": 1737, "name": "VariableDeclaration", "src": "10795:7:7" }, @@ -11920,7 +11920,7 @@ "attributes": { "constant": false, "name": "pending", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -11933,12 +11933,12 @@ "name": "bool", "type": "bool" }, - "id": 1729, + "id": 1738, "name": "ElementaryTypeName", "src": "10804:4:7" } ], - "id": 1730, + "id": 1739, "name": "VariableDeclaration", "src": "10804:12:7" }, @@ -11946,7 +11946,7 @@ "attributes": { "constant": false, "name": "executed", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -11959,17 +11959,17 @@ "name": "bool", "type": "bool" }, - "id": 1731, + "id": 1740, "name": "ElementaryTypeName", "src": "10818:4:7" } ], - "id": 1732, + "id": 1741, "name": "VariableDeclaration", "src": "10818:13:7" } ], - "id": 1733, + "id": 1742, "name": "ParameterList", "src": "10783:49:7" }, @@ -11979,7 +11979,7 @@ "attributes": { "constant": false, "name": "_transactionIds", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "uint256[] memory", @@ -11998,22 +11998,22 @@ "name": "uint", "type": "uint256" }, - "id": 1734, + "id": 1743, "name": "ElementaryTypeName", "src": "10882:4:7" } ], - "id": 1735, + "id": 1744, "name": "ArrayTypeName", "src": "10882:6:7" } ], - "id": 1736, + "id": 1745, "name": "VariableDeclaration", "src": "10882:22:7" } ], - "id": 1737, + "id": 1746, "name": "ParameterList", "src": "10881:24:7" }, @@ -12022,7 +12022,7 @@ { "attributes": { "assignments": [ - 1741 + 1750 ] }, "children": [ @@ -12030,7 +12030,7 @@ "attributes": { "constant": false, "name": "transactionIdsTemp", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "memory", "type": "uint256[] memory", @@ -12049,17 +12049,17 @@ "name": "uint", "type": "uint256" }, - "id": 1739, + "id": 1748, "name": "ElementaryTypeName", "src": "10920:4:7" } ], - "id": 1740, + "id": 1749, "name": "ArrayTypeName", "src": "10920:6:7" } ], - "id": 1741, + "id": 1750, "name": "VariableDeclaration", "src": "10920:32:7" }, @@ -12104,17 +12104,17 @@ "name": "uint", "type": "uint256" }, - "id": 1742, + "id": 1751, "name": "ElementaryTypeName", "src": "10959:4:7" } ], - "id": 1743, + "id": 1752, "name": "ArrayTypeName", "src": "10959:6:7" } ], - "id": 1744, + "id": 1753, "name": "NewExpression", "src": "10955:10:7" }, @@ -12124,28 +12124,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 930, + "referencedDeclaration": 939, "type": "uint256", "value": "transactionCount" }, - "id": 1745, + "id": 1754, "name": "Identifier", "src": "10966:16:7" } ], - "id": 1746, + "id": 1755, "name": "FunctionCall", "src": "10955:28:7" } ], - "id": 1747, + "id": 1756, "name": "VariableDeclarationStatement", "src": "10920:63:7" }, { "attributes": { "assignments": [ - 1749 + 1758 ] }, "children": [ @@ -12153,7 +12153,7 @@ "attributes": { "constant": false, "name": "count", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -12166,12 +12166,12 @@ "name": "uint", "type": "uint256" }, - "id": 1748, + "id": 1757, "name": "ElementaryTypeName", "src": "10993:4:7" } ], - "id": 1749, + "id": 1758, "name": "VariableDeclaration", "src": "10993:10:7" }, @@ -12188,12 +12188,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1750, + "id": 1759, "name": "Literal", "src": "11006:1:7" } ], - "id": 1751, + "id": 1760, "name": "VariableDeclarationStatement", "src": "10993:14:7" }, @@ -12209,7 +12209,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -12222,17 +12222,17 @@ "name": "uint", "type": "uint256" }, - "id": 1752, + "id": 1761, "name": "ElementaryTypeName", "src": "11017:4:7" } ], - "id": 1753, + "id": 1762, "name": "VariableDeclaration", "src": "11017:6:7" } ], - "id": 1754, + "id": 1763, "name": "VariableDeclarationStatement", "src": "11017:6:7" }, @@ -12257,11 +12257,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1755, + "id": 1764, "name": "Identifier", "src": "11038:1:7" }, @@ -12278,17 +12278,17 @@ "type": "int_const 0", "value": "0" }, - "id": 1756, + "id": 1765, "name": "Literal", "src": "11040:1:7" } ], - "id": 1757, + "id": 1766, "name": "Assignment", "src": "11038:3:7" } ], - "id": 1758, + "id": 1767, "name": "ExpressionStatement", "src": "11038:3:7" }, @@ -12313,11 +12313,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1759, + "id": 1768, "name": "Identifier", "src": "11043:1:7" }, @@ -12327,16 +12327,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 930, + "referencedDeclaration": 939, "type": "uint256", "value": "transactionCount" }, - "id": 1760, + "id": 1769, "name": "Identifier", "src": "11045:16:7" } ], - "id": 1761, + "id": 1770, "name": "BinaryOperation", "src": "11043:18:7" }, @@ -12360,21 +12360,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1762, + "id": 1771, "name": "Identifier", "src": "11063:1:7" } ], - "id": 1763, + "id": 1772, "name": "UnaryOperation", "src": "11063:3:7" } ], - "id": 1764, + "id": 1773, "name": "ExpressionStatement", "src": "11063:3:7" }, @@ -12419,11 +12419,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1730, + "referencedDeclaration": 1739, "type": "bool", "value": "pending" }, - "id": 1765, + "id": 1774, "name": "Identifier", "src": "11087:7:7" }, @@ -12447,7 +12447,7 @@ "isPure": false, "lValueRequested": false, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -12467,11 +12467,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1766, + "id": 1775, "name": "Identifier", "src": "11099:12:7" }, @@ -12481,31 +12481,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1767, + "id": 1776, "name": "Identifier", "src": "11112:1:7" } ], - "id": 1768, + "id": 1777, "name": "IndexAccess", "src": "11099:15:7" } ], - "id": 1769, + "id": 1778, "name": "MemberAccess", "src": "11099:24:7" } ], - "id": 1770, + "id": 1779, "name": "UnaryOperation", "src": "11098:25:7" } ], - "id": 1771, + "id": 1780, "name": "BinaryOperation", "src": "11087:36:7" }, @@ -12530,11 +12530,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1732, + "referencedDeclaration": 1741, "type": "bool", "value": "executed" }, - "id": 1772, + "id": 1781, "name": "Identifier", "src": "11143:8:7" }, @@ -12546,7 +12546,7 @@ "isPure": false, "lValueRequested": false, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -12566,11 +12566,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1773, + "id": 1782, "name": "Identifier", "src": "11155:12:7" }, @@ -12580,31 +12580,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1774, + "id": 1783, "name": "Identifier", "src": "11168:1:7" } ], - "id": 1775, + "id": 1784, "name": "IndexAccess", "src": "11155:15:7" } ], - "id": 1776, + "id": 1785, "name": "MemberAccess", "src": "11155:24:7" } ], - "id": 1777, + "id": 1786, "name": "BinaryOperation", "src": "11143:36:7" } ], - "id": 1778, + "id": 1787, "name": "BinaryOperation", "src": "11087:92:7" }, @@ -12639,11 +12639,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1741, + "referencedDeclaration": 1750, "type": "uint256[] memory", "value": "transactionIdsTemp" }, - "id": 1779, + "id": 1788, "name": "Identifier", "src": "11211:18:7" }, @@ -12653,16 +12653,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1749, + "referencedDeclaration": 1758, "type": "uint256", "value": "count" }, - "id": 1780, + "id": 1789, "name": "Identifier", "src": "11230:5:7" } ], - "id": 1781, + "id": 1790, "name": "IndexAccess", "src": "11211:25:7" }, @@ -12672,21 +12672,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1782, + "id": 1791, "name": "Identifier", "src": "11239:1:7" } ], - "id": 1783, + "id": 1792, "name": "Assignment", "src": "11211:29:7" } ], - "id": 1784, + "id": 1793, "name": "ExpressionStatement", "src": "11211:29:7" }, @@ -12709,11 +12709,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1749, + "referencedDeclaration": 1758, "type": "uint256", "value": "count" }, - "id": 1785, + "id": 1794, "name": "Identifier", "src": "11258:5:7" }, @@ -12730,32 +12730,32 @@ "type": "int_const 1", "value": "1" }, - "id": 1786, + "id": 1795, "name": "Literal", "src": "11267:1:7" } ], - "id": 1787, + "id": 1796, "name": "Assignment", "src": "11258:10:7" } ], - "id": 1788, + "id": 1797, "name": "ExpressionStatement", "src": "11258:10:7" } ], - "id": 1789, + "id": 1798, "name": "Block", "src": "11193:90:7" } ], - "id": 1790, + "id": 1799, "name": "IfStatement", "src": "11080:203:7" } ], - "id": 1791, + "id": 1800, "name": "ForStatement", "src": "11033:250:7" }, @@ -12778,11 +12778,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1745, "type": "uint256[] memory", "value": "_transactionIds" }, - "id": 1792, + "id": 1801, "name": "Identifier", "src": "11292:15:7" }, @@ -12827,17 +12827,17 @@ "name": "uint", "type": "uint256" }, - "id": 1793, + "id": 1802, "name": "ElementaryTypeName", "src": "11314:4:7" } ], - "id": 1794, + "id": 1803, "name": "ArrayTypeName", "src": "11314:6:7" } ], - "id": 1795, + "id": 1804, "name": "NewExpression", "src": "11310:10:7" }, @@ -12862,11 +12862,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1728, + "referencedDeclaration": 1737, "type": "uint256", "value": "to" }, - "id": 1796, + "id": 1805, "name": "Identifier", "src": "11321:2:7" }, @@ -12876,31 +12876,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1726, + "referencedDeclaration": 1735, "type": "uint256", "value": "from" }, - "id": 1797, + "id": 1806, "name": "Identifier", "src": "11326:4:7" } ], - "id": 1798, + "id": 1807, "name": "BinaryOperation", "src": "11321:9:7" } ], - "id": 1799, + "id": 1808, "name": "FunctionCall", "src": "11310:21:7" } ], - "id": 1800, + "id": 1809, "name": "Assignment", "src": "11292:39:7" } ], - "id": 1801, + "id": 1810, "name": "ExpressionStatement", "src": "11292:39:7" }, @@ -12925,11 +12925,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1802, + "id": 1811, "name": "Identifier", "src": "11346:1:7" }, @@ -12939,21 +12939,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1726, + "referencedDeclaration": 1735, "type": "uint256", "value": "from" }, - "id": 1803, + "id": 1812, "name": "Identifier", "src": "11348:4:7" } ], - "id": 1804, + "id": 1813, "name": "Assignment", "src": "11346:6:7" } ], - "id": 1805, + "id": 1814, "name": "ExpressionStatement", "src": "11346:6:7" }, @@ -12978,11 +12978,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1806, + "id": 1815, "name": "Identifier", "src": "11354:1:7" }, @@ -12992,16 +12992,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1728, + "referencedDeclaration": 1737, "type": "uint256", "value": "to" }, - "id": 1807, + "id": 1816, "name": "Identifier", "src": "11356:2:7" } ], - "id": 1808, + "id": 1817, "name": "BinaryOperation", "src": "11354:4:7" }, @@ -13025,21 +13025,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1809, + "id": 1818, "name": "Identifier", "src": "11360:1:7" } ], - "id": 1810, + "id": 1819, "name": "UnaryOperation", "src": "11360:3:7" } ], - "id": 1811, + "id": 1820, "name": "ExpressionStatement", "src": "11360:3:7" }, @@ -13072,11 +13072,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1745, "type": "uint256[] memory", "value": "_transactionIds" }, - "id": 1812, + "id": 1821, "name": "Identifier", "src": "11377:15:7" }, @@ -13101,11 +13101,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1813, + "id": 1822, "name": "Identifier", "src": "11393:1:7" }, @@ -13115,21 +13115,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1726, + "referencedDeclaration": 1735, "type": "uint256", "value": "from" }, - "id": 1814, + "id": 1823, "name": "Identifier", "src": "11397:4:7" } ], - "id": 1815, + "id": 1824, "name": "BinaryOperation", "src": "11393:8:7" } ], - "id": 1816, + "id": 1825, "name": "IndexAccess", "src": "11377:25:7" }, @@ -13149,11 +13149,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1741, + "referencedDeclaration": 1750, "type": "uint256[] memory", "value": "transactionIdsTemp" }, - "id": 1817, + "id": 1826, "name": "Identifier", "src": "11405:18:7" }, @@ -13163,63 +13163,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1818, + "id": 1827, "name": "Identifier", "src": "11424:1:7" } ], - "id": 1819, + "id": 1828, "name": "IndexAccess", "src": "11405:21:7" } ], - "id": 1820, + "id": 1829, "name": "Assignment", "src": "11377:49:7" } ], - "id": 1821, + "id": 1830, "name": "ExpressionStatement", "src": "11377:49:7" } ], - "id": 1822, + "id": 1831, "name": "ForStatement", "src": "11341:85:7" } ], - "id": 1823, + "id": 1832, "name": "Block", "src": "10910:523:7" } ], - "id": 1824, + "id": 1833, "name": "FunctionDefinition", "src": "10757:676:7" } ], - "id": 1825, + "id": 1834, "name": "ContractDefinition", "src": "186:11249:7" }, { "attributes": { "contractDependencies": [ - 1825 + 1834 ], "contractKind": "contract", "documentation": "@title Multisignature wallet with daily limit - Allows an owner to withdraw a daily limit without multisig.\n @author Stefan George - ", "fullyImplemented": true, "linearizedBaseContracts": [ - 2019, - 1825 + 2028, + 1834 ], "name": "MultiSigWalletWithDailyLimit", - "scope": 2020 + "scope": 2029 }, "children": [ { @@ -13233,15 +13233,15 @@ "attributes": { "contractScope": null, "name": "MultiSigWallet", - "referencedDeclaration": 1825, + "referencedDeclaration": 1834, "type": "contract MultiSigWallet" }, - "id": 1826, + "id": 1835, "name": "UserDefinedTypeName", "src": "11649:14:7" } ], - "id": 1827, + "id": 1836, "name": "InheritanceSpecifier", "src": "11649:14:7" }, @@ -13258,7 +13258,7 @@ "constant": false, "indexed": false, "name": "dailyLimit", - "scope": 1831, + "scope": 1840, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -13271,22 +13271,22 @@ "name": "uint", "type": "uint256" }, - "id": 1828, + "id": 1837, "name": "ElementaryTypeName", "src": "11694:4:7" } ], - "id": 1829, + "id": 1838, "name": "VariableDeclaration", "src": "11694:15:7" } ], - "id": 1830, + "id": 1839, "name": "ParameterList", "src": "11693:17:7" } ], - "id": 1831, + "id": 1840, "name": "EventDefinition", "src": "11671:40:7" }, @@ -13294,7 +13294,7 @@ "attributes": { "constant": false, "name": "dailyLimit", - "scope": 2019, + "scope": 2028, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -13307,12 +13307,12 @@ "name": "uint", "type": "uint256" }, - "id": 1832, + "id": 1841, "name": "ElementaryTypeName", "src": "11717:4:7" } ], - "id": 1833, + "id": 1842, "name": "VariableDeclaration", "src": "11717:22:7" }, @@ -13320,7 +13320,7 @@ "attributes": { "constant": false, "name": "lastDay", - "scope": 2019, + "scope": 2028, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -13333,12 +13333,12 @@ "name": "uint", "type": "uint256" }, - "id": 1834, + "id": 1843, "name": "ElementaryTypeName", "src": "11745:4:7" } ], - "id": 1835, + "id": 1844, "name": "VariableDeclaration", "src": "11745:19:7" }, @@ -13346,7 +13346,7 @@ "attributes": { "constant": false, "name": "spentToday", - "scope": 2019, + "scope": 2028, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -13359,12 +13359,12 @@ "name": "uint", "type": "uint256" }, - "id": 1836, + "id": 1845, "name": "ElementaryTypeName", "src": "11770:4:7" } ], - "id": 1837, + "id": 1846, "name": "VariableDeclaration", "src": "11770:22:7" }, @@ -13375,7 +13375,7 @@ "isConstructor": true, "name": "MultiSigWalletWithDailyLimit", "payable": false, - "scope": 2019, + "scope": 2028, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -13387,7 +13387,7 @@ "attributes": { "constant": false, "name": "_owners", - "scope": 1856, + "scope": 1865, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -13406,17 +13406,17 @@ "name": "address", "type": "address" }, - "id": 1838, + "id": 1847, "name": "ElementaryTypeName", "src": "12201:7:7" } ], - "id": 1839, + "id": 1848, "name": "ArrayTypeName", "src": "12201:9:7" } ], - "id": 1840, + "id": 1849, "name": "VariableDeclaration", "src": "12201:17:7" }, @@ -13424,7 +13424,7 @@ "attributes": { "constant": false, "name": "_required", - "scope": 1856, + "scope": 1865, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -13437,12 +13437,12 @@ "name": "uint", "type": "uint256" }, - "id": 1841, + "id": 1850, "name": "ElementaryTypeName", "src": "12220:4:7" } ], - "id": 1842, + "id": 1851, "name": "VariableDeclaration", "src": "12220:14:7" }, @@ -13450,7 +13450,7 @@ "attributes": { "constant": false, "name": "_dailyLimit", - "scope": 1856, + "scope": 1865, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -13463,17 +13463,17 @@ "name": "uint", "type": "uint256" }, - "id": 1843, + "id": 1852, "name": "ElementaryTypeName", "src": "12236:4:7" } ], - "id": 1844, + "id": 1853, "name": "VariableDeclaration", "src": "12236:16:7" } ], - "id": 1845, + "id": 1854, "name": "ParameterList", "src": "12200:53:7" }, @@ -13484,7 +13484,7 @@ ] }, "children": [], - "id": 1850, + "id": 1859, "name": "ParameterList", "src": "12316:0:7" }, @@ -13496,11 +13496,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1825, + "referencedDeclaration": 1834, "type": "type(contract MultiSigWallet)", "value": "MultiSigWallet" }, - "id": 1846, + "id": 1855, "name": "Identifier", "src": "12277:14:7" }, @@ -13510,11 +13510,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1840, + "referencedDeclaration": 1849, "type": "address[] memory", "value": "_owners" }, - "id": 1847, + "id": 1856, "name": "Identifier", "src": "12292:7:7" }, @@ -13524,16 +13524,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1842, + "referencedDeclaration": 1851, "type": "uint256", "value": "_required" }, - "id": 1848, + "id": 1857, "name": "Identifier", "src": "12301:9:7" } ], - "id": 1849, + "id": 1858, "name": "ModifierInvocation", "src": "12277:34:7" }, @@ -13558,11 +13558,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 1851, + "id": 1860, "name": "Identifier", "src": "12326:10:7" }, @@ -13572,31 +13572,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1844, + "referencedDeclaration": 1853, "type": "uint256", "value": "_dailyLimit" }, - "id": 1852, + "id": 1861, "name": "Identifier", "src": "12339:11:7" } ], - "id": 1853, + "id": 1862, "name": "Assignment", "src": "12326:24:7" } ], - "id": 1854, + "id": 1863, "name": "ExpressionStatement", "src": "12326:24:7" } ], - "id": 1855, + "id": 1864, "name": "Block", "src": "12316:41:7" } ], - "id": 1856, + "id": 1865, "name": "FunctionDefinition", "src": "12163:194:7" }, @@ -13607,7 +13607,7 @@ "isConstructor": false, "name": "changeDailyLimit", "payable": false, - "scope": 2019, + "scope": 2028, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -13619,7 +13619,7 @@ "attributes": { "constant": false, "name": "_dailyLimit", - "scope": 1872, + "scope": 1881, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -13632,17 +13632,17 @@ "name": "uint", "type": "uint256" }, - "id": 1857, + "id": 1866, "name": "ElementaryTypeName", "src": "12516:4:7" } ], - "id": 1858, + "id": 1867, "name": "VariableDeclaration", "src": "12516:16:7" } ], - "id": 1859, + "id": 1868, "name": "ParameterList", "src": "12515:18:7" }, @@ -13653,7 +13653,7 @@ ] }, "children": [], - "id": 1862, + "id": 1871, "name": "ParameterList", "src": "12572:0:7" }, @@ -13670,16 +13670,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 960, "type": "modifier ()", "value": "onlyWallet" }, - "id": 1860, + "id": 1869, "name": "Identifier", "src": "12557:10:7" } ], - "id": 1861, + "id": 1870, "name": "ModifierInvocation", "src": "12557:10:7" }, @@ -13704,11 +13704,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 1863, + "id": 1872, "name": "Identifier", "src": "12582:10:7" }, @@ -13718,21 +13718,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1858, + "referencedDeclaration": 1867, "type": "uint256", "value": "_dailyLimit" }, - "id": 1864, + "id": 1873, "name": "Identifier", "src": "12595:11:7" } ], - "id": 1865, + "id": 1874, "name": "Assignment", "src": "12582:24:7" } ], - "id": 1866, + "id": 1875, "name": "ExpressionStatement", "src": "12582:24:7" }, @@ -13764,11 +13764,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1840, "type": "function (uint256)", "value": "DailyLimitChange" }, - "id": 1867, + "id": 1876, "name": "Identifier", "src": "12616:16:7" }, @@ -13778,31 +13778,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1858, + "referencedDeclaration": 1867, "type": "uint256", "value": "_dailyLimit" }, - "id": 1868, + "id": 1877, "name": "Identifier", "src": "12633:11:7" } ], - "id": 1869, + "id": 1878, "name": "FunctionCall", "src": "12616:29:7" } ], - "id": 1870, + "id": 1879, "name": "ExpressionStatement", "src": "12616:29:7" } ], - "id": 1871, + "id": 1880, "name": "Block", "src": "12572:80:7" } ], - "id": 1872, + "id": 1881, "name": "FunctionDefinition", "src": "12490:162:7" }, @@ -13813,9 +13813,9 @@ "isConstructor": false, "name": "executeTransaction", "payable": false, - "scope": 2019, + "scope": 2028, "stateMutability": "nonpayable", - "superFunction": 1475, + "superFunction": 1484, "visibility": "public" }, "children": [ @@ -13825,7 +13825,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1955, + "scope": 1964, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -13838,17 +13838,17 @@ "name": "uint", "type": "uint256" }, - "id": 1873, + "id": 1882, "name": "ElementaryTypeName", "src": "12842:4:7" } ], - "id": 1874, + "id": 1883, "name": "VariableDeclaration", "src": "12842:18:7" } ], - "id": 1875, + "id": 1884, "name": "ParameterList", "src": "12841:20:7" }, @@ -13859,7 +13859,7 @@ ] }, "children": [], - "id": 1879, + "id": 1888, "name": "ParameterList", "src": "12916:0:7" }, @@ -13871,11 +13871,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1031, + "referencedDeclaration": 1040, "type": "modifier (uint256)", "value": "notExecuted" }, - "id": 1876, + "id": 1885, "name": "Identifier", "src": "12885:11:7" }, @@ -13885,16 +13885,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1874, + "referencedDeclaration": 1883, "type": "uint256", "value": "transactionId" }, - "id": 1877, + "id": 1886, "name": "Identifier", "src": "12897:13:7" } ], - "id": 1878, + "id": 1887, "name": "ModifierInvocation", "src": "12885:26:7" }, @@ -13903,7 +13903,7 @@ { "attributes": { "assignments": [ - 1881 + 1890 ] }, "children": [ @@ -13911,7 +13911,7 @@ "attributes": { "constant": false, "name": "tx", - "scope": 1955, + "scope": 1964, "stateVariable": false, "storageLocation": "default", "type": "struct MultiSigWallet.Transaction storage pointer", @@ -13923,15 +13923,15 @@ "attributes": { "contractScope": null, "name": "Transaction", - "referencedDeclaration": 939, + "referencedDeclaration": 948, "type": "struct MultiSigWallet.Transaction storage pointer" }, - "id": 1880, + "id": 1889, "name": "UserDefinedTypeName", "src": "12926:11:7" } ], - "id": 1881, + "id": 1890, "name": "VariableDeclaration", "src": "12926:14:7" }, @@ -13951,11 +13951,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1882, + "id": 1891, "name": "Identifier", "src": "12943:12:7" }, @@ -13965,28 +13965,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1874, + "referencedDeclaration": 1883, "type": "uint256", "value": "transactionId" }, - "id": 1883, + "id": 1892, "name": "Identifier", "src": "12956:13:7" } ], - "id": 1884, + "id": 1893, "name": "IndexAccess", "src": "12943:27:7" } ], - "id": 1885, + "id": 1894, "name": "VariableDeclarationStatement", "src": "12926:44:7" }, { "attributes": { "assignments": [ - 1887 + 1896 ] }, "children": [ @@ -13994,7 +13994,7 @@ "attributes": { "constant": false, "name": "confirmed", - "scope": 1955, + "scope": 1964, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -14007,12 +14007,12 @@ "name": "bool", "type": "bool" }, - "id": 1886, + "id": 1895, "name": "ElementaryTypeName", "src": "12980:4:7" } ], - "id": 1887, + "id": 1896, "name": "VariableDeclaration", "src": "12980:14:7" }, @@ -14042,11 +14042,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1518, + "referencedDeclaration": 1527, "type": "function (uint256) view returns (bool)", "value": "isConfirmed" }, - "id": 1888, + "id": 1897, "name": "Identifier", "src": "12997:11:7" }, @@ -14056,21 +14056,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1874, + "referencedDeclaration": 1883, "type": "uint256", "value": "transactionId" }, - "id": 1889, + "id": 1898, "name": "Identifier", "src": "13009:13:7" } ], - "id": 1890, + "id": 1899, "name": "FunctionCall", "src": "12997:26:7" } ], - "id": 1891, + "id": 1900, "name": "VariableDeclarationStatement", "src": "12980:43:7" }, @@ -14100,11 +14100,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1887, + "referencedDeclaration": 1896, "type": "bool", "value": "confirmed" }, - "id": 1892, + "id": 1901, "name": "Identifier", "src": "13037:9:7" }, @@ -14158,7 +14158,7 @@ "isPure": false, "lValueRequested": false, "member_name": "data", - "referencedDeclaration": 936, + "referencedDeclaration": 945, "type": "bytes storage ref" }, "children": [ @@ -14168,21 +14168,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1893, + "id": 1902, "name": "Identifier", "src": "13050:2:7" } ], - "id": 1894, + "id": 1903, "name": "MemberAccess", "src": "13050:7:7" } ], - "id": 1895, + "id": 1904, "name": "MemberAccess", "src": "13050:14:7" }, @@ -14199,12 +14199,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1896, + "id": 1905, "name": "Literal", "src": "13068:1:7" } ], - "id": 1897, + "id": 1906, "name": "BinaryOperation", "src": "13050:19:7" }, @@ -14234,11 +14234,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1994, + "referencedDeclaration": 2003, "type": "function (uint256) returns (bool)", "value": "isUnderLimit" }, - "id": 1898, + "id": 1907, "name": "Identifier", "src": "13073:12:7" }, @@ -14250,7 +14250,7 @@ "isPure": false, "lValueRequested": false, "member_name": "value", - "referencedDeclaration": 934, + "referencedDeclaration": 943, "type": "uint256" }, "children": [ @@ -14260,31 +14260,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1899, + "id": 1908, "name": "Identifier", "src": "13086:2:7" } ], - "id": 1900, + "id": 1909, "name": "MemberAccess", "src": "13086:8:7" } ], - "id": 1901, + "id": 1910, "name": "FunctionCall", "src": "13073:22:7" } ], - "id": 1902, + "id": 1911, "name": "BinaryOperation", "src": "13050:45:7" } ], - "id": 1903, + "id": 1912, "name": "BinaryOperation", "src": "13037:58:7" }, @@ -14311,7 +14311,7 @@ "isPure": false, "lValueRequested": true, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -14321,16 +14321,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1904, + "id": 1913, "name": "Identifier", "src": "13111:2:7" } ], - "id": 1906, + "id": 1915, "name": "MemberAccess", "src": "13111:11:7" }, @@ -14347,17 +14347,17 @@ "type": "bool", "value": "true" }, - "id": 1907, + "id": 1916, "name": "Literal", "src": "13125:4:7" } ], - "id": 1908, + "id": 1917, "name": "Assignment", "src": "13111:18:7" } ], - "id": 1909, + "id": 1918, "name": "ExpressionStatement", "src": "13111:18:7" }, @@ -14384,16 +14384,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1887, + "referencedDeclaration": 1896, "type": "bool", "value": "confirmed" }, - "id": 1910, + "id": 1919, "name": "Identifier", "src": "13148:9:7" } ], - "id": 1911, + "id": 1920, "name": "UnaryOperation", "src": "13147:10:7" }, @@ -14416,11 +14416,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1912, + "id": 1921, "name": "Identifier", "src": "13175:10:7" }, @@ -14432,7 +14432,7 @@ "isPure": false, "lValueRequested": false, "member_name": "value", - "referencedDeclaration": 934, + "referencedDeclaration": 943, "type": "uint256" }, "children": [ @@ -14442,31 +14442,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1913, + "id": 1922, "name": "Identifier", "src": "13189:2:7" } ], - "id": 1914, + "id": 1923, "name": "MemberAccess", "src": "13189:8:7" } ], - "id": 1915, + "id": 1924, "name": "Assignment", "src": "13175:22:7" } ], - "id": 1916, + "id": 1925, "name": "ExpressionStatement", "src": "13175:22:7" } ], - "id": 1917, + "id": 1926, "name": "IfStatement", "src": "13143:54:7" }, @@ -14544,7 +14544,7 @@ "isPure": false, "lValueRequested": false, "member_name": "destination", - "referencedDeclaration": 932, + "referencedDeclaration": 941, "type": "address" }, "children": [ @@ -14554,26 +14554,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1918, + "id": 1927, "name": "Identifier", "src": "13215:2:7" } ], - "id": 1919, + "id": 1928, "name": "MemberAccess", "src": "13215:14:7" } ], - "id": 1920, + "id": 1929, "name": "MemberAccess", "src": "13215:19:7" } ], - "id": 1921, + "id": 1930, "name": "MemberAccess", "src": "13215:25:7" }, @@ -14585,7 +14585,7 @@ "isPure": false, "lValueRequested": false, "member_name": "value", - "referencedDeclaration": 934, + "referencedDeclaration": 943, "type": "uint256" }, "children": [ @@ -14595,21 +14595,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1922, + "id": 1931, "name": "Identifier", "src": "13241:2:7" } ], - "id": 1923, + "id": 1932, "name": "MemberAccess", "src": "13241:8:7" } ], - "id": 1924, + "id": 1933, "name": "FunctionCall", "src": "13215:35:7" }, @@ -14621,7 +14621,7 @@ "isPure": false, "lValueRequested": false, "member_name": "data", - "referencedDeclaration": 936, + "referencedDeclaration": 945, "type": "bytes storage ref" }, "children": [ @@ -14631,21 +14631,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1925, + "id": 1934, "name": "Identifier", "src": "13251:2:7" } ], - "id": 1926, + "id": 1935, "name": "MemberAccess", "src": "13251:7:7" } ], - "id": 1927, + "id": 1936, "name": "FunctionCall", "src": "13215:44:7" }, @@ -14677,11 +14677,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 896, "type": "function (uint256)", "value": "Execution" }, - "id": 1928, + "id": 1937, "name": "Identifier", "src": "13277:9:7" }, @@ -14691,21 +14691,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1874, + "referencedDeclaration": 1883, "type": "uint256", "value": "transactionId" }, - "id": 1929, + "id": 1938, "name": "Identifier", "src": "13287:13:7" } ], - "id": 1930, + "id": 1939, "name": "FunctionCall", "src": "13277:24:7" } ], - "id": 1931, + "id": 1940, "name": "ExpressionStatement", "src": "13277:24:7" }, @@ -14739,11 +14739,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 891, + "referencedDeclaration": 900, "type": "function (uint256)", "value": "ExecutionFailure" }, - "id": 1932, + "id": 1941, "name": "Identifier", "src": "13338:16:7" }, @@ -14753,21 +14753,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1874, + "referencedDeclaration": 1883, "type": "uint256", "value": "transactionId" }, - "id": 1933, + "id": 1942, "name": "Identifier", "src": "13355:13:7" } ], - "id": 1934, + "id": 1943, "name": "FunctionCall", "src": "13338:31:7" } ], - "id": 1935, + "id": 1944, "name": "ExpressionStatement", "src": "13338:31:7" }, @@ -14792,7 +14792,7 @@ "isPure": false, "lValueRequested": true, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -14802,16 +14802,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1936, + "id": 1945, "name": "Identifier", "src": "13387:2:7" } ], - "id": 1938, + "id": 1947, "name": "MemberAccess", "src": "13387:11:7" }, @@ -14828,17 +14828,17 @@ "type": "bool", "value": "false" }, - "id": 1939, + "id": 1948, "name": "Literal", "src": "13401:5:7" } ], - "id": 1940, + "id": 1949, "name": "Assignment", "src": "13387:19:7" } ], - "id": 1941, + "id": 1950, "name": "ExpressionStatement", "src": "13387:19:7" }, @@ -14865,16 +14865,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1887, + "referencedDeclaration": 1896, "type": "bool", "value": "confirmed" }, - "id": 1942, + "id": 1951, "name": "Identifier", "src": "13429:9:7" } ], - "id": 1943, + "id": 1952, "name": "UnaryOperation", "src": "13428:10:7" }, @@ -14897,11 +14897,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1944, + "id": 1953, "name": "Identifier", "src": "13460:10:7" }, @@ -14913,7 +14913,7 @@ "isPure": false, "lValueRequested": false, "member_name": "value", - "referencedDeclaration": 934, + "referencedDeclaration": 943, "type": "uint256" }, "children": [ @@ -14923,61 +14923,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1945, + "id": 1954, "name": "Identifier", "src": "13474:2:7" } ], - "id": 1946, + "id": 1955, "name": "MemberAccess", "src": "13474:8:7" } ], - "id": 1947, + "id": 1956, "name": "Assignment", "src": "13460:22:7" } ], - "id": 1948, + "id": 1957, "name": "ExpressionStatement", "src": "13460:22:7" } ], - "id": 1949, + "id": 1958, "name": "IfStatement", "src": "13424:58:7" } ], - "id": 1950, + "id": 1959, "name": "Block", "src": "13320:177:7" } ], - "id": 1951, + "id": 1960, "name": "IfStatement", "src": "13211:286:7" } ], - "id": 1952, + "id": 1961, "name": "Block", "src": "13097:410:7" } ], - "id": 1953, + "id": 1962, "name": "IfStatement", "src": "13033:474:7" } ], - "id": 1954, + "id": 1963, "name": "Block", "src": "12916:597:7" } ], - "id": 1955, + "id": 1964, "name": "FunctionDefinition", "src": "12814:699:7" }, @@ -14991,7 +14991,7 @@ ], "name": "isUnderLimit", "payable": false, - "scope": 2019, + "scope": 2028, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -15003,7 +15003,7 @@ "attributes": { "constant": false, "name": "amount", - "scope": 1994, + "scope": 2003, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -15016,17 +15016,17 @@ "name": "uint", "type": "uint256" }, - "id": 1956, + "id": 1965, "name": "ElementaryTypeName", "src": "13770:4:7" } ], - "id": 1957, + "id": 1966, "name": "VariableDeclaration", "src": "13770:11:7" } ], - "id": 1958, + "id": 1967, "name": "ParameterList", "src": "13769:13:7" }, @@ -15036,7 +15036,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1994, + "scope": 2003, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -15049,17 +15049,17 @@ "name": "bool", "type": "bool" }, - "id": 1959, + "id": 1968, "name": "ElementaryTypeName", "src": "13817:4:7" } ], - "id": 1960, + "id": 1969, "name": "VariableDeclaration", "src": "13817:4:7" } ], - "id": 1961, + "id": 1970, "name": "ParameterList", "src": "13816:6:7" }, @@ -15091,11 +15091,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3727, + "referencedDeclaration": 4513, "type": "uint256", "value": "now" }, - "id": 1962, + "id": 1971, "name": "Identifier", "src": "13841:3:7" }, @@ -15120,11 +15120,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1835, + "referencedDeclaration": 1844, "type": "uint256", "value": "lastDay" }, - "id": 1963, + "id": 1972, "name": "Identifier", "src": "13847:7:7" }, @@ -15141,17 +15141,17 @@ "type": "int_const 86400", "value": "24" }, - "id": 1964, + "id": 1973, "name": "Literal", "src": "13857:8:7" } ], - "id": 1965, + "id": 1974, "name": "BinaryOperation", "src": "13847:18:7" } ], - "id": 1966, + "id": 1975, "name": "BinaryOperation", "src": "13841:24:7" }, @@ -15176,11 +15176,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1835, + "referencedDeclaration": 1844, "type": "uint256", "value": "lastDay" }, - "id": 1967, + "id": 1976, "name": "Identifier", "src": "13881:7:7" }, @@ -15190,21 +15190,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3727, + "referencedDeclaration": 4513, "type": "uint256", "value": "now" }, - "id": 1968, + "id": 1977, "name": "Identifier", "src": "13891:3:7" } ], - "id": 1969, + "id": 1978, "name": "Assignment", "src": "13881:13:7" } ], - "id": 1970, + "id": 1979, "name": "ExpressionStatement", "src": "13881:13:7" }, @@ -15227,11 +15227,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1971, + "id": 1980, "name": "Identifier", "src": "13908:10:7" }, @@ -15248,27 +15248,27 @@ "type": "int_const 0", "value": "0" }, - "id": 1972, + "id": 1981, "name": "Literal", "src": "13921:1:7" } ], - "id": 1973, + "id": 1982, "name": "Assignment", "src": "13908:14:7" } ], - "id": 1974, + "id": 1983, "name": "ExpressionStatement", "src": "13908:14:7" } ], - "id": 1975, + "id": 1984, "name": "Block", "src": "13867:66:7" } ], - "id": 1976, + "id": 1985, "name": "IfStatement", "src": "13837:96:7" }, @@ -15328,11 +15328,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1977, + "id": 1986, "name": "Identifier", "src": "13946:10:7" }, @@ -15342,16 +15342,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1957, + "referencedDeclaration": 1966, "type": "uint256", "value": "amount" }, - "id": 1978, + "id": 1987, "name": "Identifier", "src": "13959:6:7" } ], - "id": 1979, + "id": 1988, "name": "BinaryOperation", "src": "13946:19:7" }, @@ -15361,16 +15361,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 1980, + "id": 1989, "name": "Identifier", "src": "13968:10:7" } ], - "id": 1981, + "id": 1990, "name": "BinaryOperation", "src": "13946:32:7" }, @@ -15410,11 +15410,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1982, + "id": 1991, "name": "Identifier", "src": "13982:10:7" }, @@ -15424,16 +15424,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1957, + "referencedDeclaration": 1966, "type": "uint256", "value": "amount" }, - "id": 1983, + "id": 1992, "name": "Identifier", "src": "13995:6:7" } ], - "id": 1984, + "id": 1993, "name": "BinaryOperation", "src": "13982:19:7" }, @@ -15443,27 +15443,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1985, + "id": 1994, "name": "Identifier", "src": "14004:10:7" } ], - "id": 1986, + "id": 1995, "name": "BinaryOperation", "src": "13982:32:7" } ], - "id": 1987, + "id": 1996, "name": "BinaryOperation", "src": "13946:68:7" }, { "attributes": { - "functionReturnParameters": 1961 + "functionReturnParameters": 1970 }, "children": [ { @@ -15479,23 +15479,23 @@ "type": "bool", "value": "false" }, - "id": 1988, + "id": 1997, "name": "Literal", "src": "14035:5:7" } ], - "id": 1989, + "id": 1998, "name": "Return", "src": "14028:12:7" } ], - "id": 1990, + "id": 1999, "name": "IfStatement", "src": "13942:98:7" }, { "attributes": { - "functionReturnParameters": 1961 + "functionReturnParameters": 1970 }, "children": [ { @@ -15511,22 +15511,22 @@ "type": "bool", "value": "true" }, - "id": 1991, + "id": 2000, "name": "Literal", "src": "14057:4:7" } ], - "id": 1992, + "id": 2001, "name": "Return", "src": "14050:11:7" } ], - "id": 1993, + "id": 2002, "name": "Block", "src": "13827:241:7" } ], - "id": 1994, + "id": 2003, "name": "FunctionDefinition", "src": "13748:320:7" }, @@ -15540,7 +15540,7 @@ ], "name": "calcMaxWithdraw", "payable": false, - "scope": 2019, + "scope": 2028, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -15553,7 +15553,7 @@ ] }, "children": [], - "id": 1995, + "id": 2004, "name": "ParameterList", "src": "14218:2:7" }, @@ -15563,7 +15563,7 @@ "attributes": { "constant": false, "name": "", - "scope": 2018, + "scope": 2027, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -15576,17 +15576,17 @@ "name": "uint", "type": "uint256" }, - "id": 1996, + "id": 2005, "name": "ElementaryTypeName", "src": "14270:4:7" } ], - "id": 1997, + "id": 2006, "name": "VariableDeclaration", "src": "14270:4:7" } ], - "id": 1998, + "id": 2007, "name": "ParameterList", "src": "14269:6:7" }, @@ -15618,11 +15618,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3727, + "referencedDeclaration": 4513, "type": "uint256", "value": "now" }, - "id": 1999, + "id": 2008, "name": "Identifier", "src": "14294:3:7" }, @@ -15647,11 +15647,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1835, + "referencedDeclaration": 1844, "type": "uint256", "value": "lastDay" }, - "id": 2000, + "id": 2009, "name": "Identifier", "src": "14300:7:7" }, @@ -15668,23 +15668,23 @@ "type": "int_const 86400", "value": "24" }, - "id": 2001, + "id": 2010, "name": "Literal", "src": "14310:8:7" } ], - "id": 2002, + "id": 2011, "name": "BinaryOperation", "src": "14300:18:7" } ], - "id": 2003, + "id": 2012, "name": "BinaryOperation", "src": "14294:24:7" }, { "attributes": { - "functionReturnParameters": 1998 + "functionReturnParameters": 2007 }, "children": [ { @@ -15693,21 +15693,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 2004, + "id": 2013, "name": "Identifier", "src": "14339:10:7" } ], - "id": 2005, + "id": 2014, "name": "Return", "src": "14332:17:7" } ], - "id": 2006, + "id": 2015, "name": "IfStatement", "src": "14290:59:7" }, @@ -15737,11 +15737,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 2007, + "id": 2016, "name": "Identifier", "src": "14363:10:7" }, @@ -15751,22 +15751,22 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 2008, + "id": 2017, "name": "Identifier", "src": "14376:10:7" } ], - "id": 2009, + "id": 2018, "name": "BinaryOperation", "src": "14363:23:7" }, { "attributes": { - "functionReturnParameters": 1998 + "functionReturnParameters": 2007 }, "children": [ { @@ -15782,23 +15782,23 @@ "type": "int_const 0", "value": "0" }, - "id": 2010, + "id": 2019, "name": "Literal", "src": "14407:1:7" } ], - "id": 2011, + "id": 2020, "name": "Return", "src": "14400:8:7" } ], - "id": 2012, + "id": 2021, "name": "IfStatement", "src": "14359:49:7" }, { "attributes": { - "functionReturnParameters": 1998 + "functionReturnParameters": 2007 }, "children": [ { @@ -15822,11 +15822,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 2013, + "id": 2022, "name": "Identifier", "src": "14425:10:7" }, @@ -15836,41 +15836,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 2014, + "id": 2023, "name": "Identifier", "src": "14438:10:7" } ], - "id": 2015, + "id": 2024, "name": "BinaryOperation", "src": "14425:23:7" } ], - "id": 2016, + "id": 2025, "name": "Return", "src": "14418:30:7" } ], - "id": 2017, + "id": 2026, "name": "Block", "src": "14280:175:7" } ], - "id": 2018, + "id": 2027, "name": "FunctionDefinition", "src": "14194:261:7" } ], - "id": 2019, + "id": 2028, "name": "ContractDefinition", "src": "11608:2849:7" } ], - "id": 2020, + "id": 2029, "name": "SourceUnit", "src": "0:14457:7" }, @@ -15880,5 +15880,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-11T15:50:26.123Z" + "updatedAt": "2018-01-15T16:10:12.640Z" } \ No newline at end of file diff --git a/build/contracts/MultiSigWalletWithDailyLimit.json b/build/contracts/MultiSigWalletWithDailyLimit.json index af59794..45c4e1e 100644 --- a/build/contracts/MultiSigWalletWithDailyLimit.json +++ b/build/contracts/MultiSigWalletWithDailyLimit.json @@ -630,10 +630,10 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/MultiSigWalletWithDailyLimit.sol", "exportedSymbols": { "MultiSigWallet": [ - 1825 + 1834 ], "MultiSigWalletWithDailyLimit": [ - 2019 + 2028 ] } }, @@ -646,7 +646,7 @@ ".18" ] }, - "id": 864, + "id": 873, "name": "PragmaDirective", "src": "0:23:7" }, @@ -662,17 +662,17 @@ "documentation": "@title Multisignature wallet - Allows multiple parties to agree on transactions before execution.\n @author Stefan George - ", "fullyImplemented": true, "linearizedBaseContracts": [ - 1825 + 1834 ], "name": "MultiSigWallet", - "scope": 2020 + "scope": 2029 }, "children": [ { "attributes": { "constant": true, "name": "MAX_OWNER_COUNT", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -684,7 +684,7 @@ "name": "uint", "type": "uint256" }, - "id": 865, + "id": 874, "name": "ElementaryTypeName", "src": "217:4:7" }, @@ -701,12 +701,12 @@ "type": "int_const 50", "value": "50" }, - "id": 866, + "id": 875, "name": "Literal", "src": "256:2:7" } ], - "id": 867, + "id": 876, "name": "VariableDeclaration", "src": "217:41:7" }, @@ -723,7 +723,7 @@ "constant": false, "indexed": true, "name": "sender", - "scope": 873, + "scope": 882, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -736,12 +736,12 @@ "name": "address", "type": "address" }, - "id": 868, + "id": 877, "name": "ElementaryTypeName", "src": "284:7:7" } ], - "id": 869, + "id": 878, "name": "VariableDeclaration", "src": "284:22:7" }, @@ -750,7 +750,7 @@ "constant": false, "indexed": true, "name": "transactionId", - "scope": 873, + "scope": 882, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -763,22 +763,22 @@ "name": "uint", "type": "uint256" }, - "id": 870, + "id": 879, "name": "ElementaryTypeName", "src": "308:4:7" } ], - "id": 871, + "id": 880, "name": "VariableDeclaration", "src": "308:26:7" } ], - "id": 872, + "id": 881, "name": "ParameterList", "src": "283:52:7" } ], - "id": 873, + "id": 882, "name": "EventDefinition", "src": "265:71:7" }, @@ -795,7 +795,7 @@ "constant": false, "indexed": true, "name": "sender", - "scope": 879, + "scope": 888, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -808,12 +808,12 @@ "name": "address", "type": "address" }, - "id": 874, + "id": 883, "name": "ElementaryTypeName", "src": "358:7:7" } ], - "id": 875, + "id": 884, "name": "VariableDeclaration", "src": "358:22:7" }, @@ -822,7 +822,7 @@ "constant": false, "indexed": true, "name": "transactionId", - "scope": 879, + "scope": 888, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -835,22 +835,22 @@ "name": "uint", "type": "uint256" }, - "id": 876, + "id": 885, "name": "ElementaryTypeName", "src": "382:4:7" } ], - "id": 877, + "id": 886, "name": "VariableDeclaration", "src": "382:26:7" } ], - "id": 878, + "id": 887, "name": "ParameterList", "src": "357:52:7" } ], - "id": 879, + "id": 888, "name": "EventDefinition", "src": "341:69:7" }, @@ -867,7 +867,7 @@ "constant": false, "indexed": true, "name": "transactionId", - "scope": 883, + "scope": 892, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -880,22 +880,22 @@ "name": "uint", "type": "uint256" }, - "id": 880, + "id": 889, "name": "ElementaryTypeName", "src": "432:4:7" } ], - "id": 881, + "id": 890, "name": "VariableDeclaration", "src": "432:26:7" } ], - "id": 882, + "id": 891, "name": "ParameterList", "src": "431:28:7" } ], - "id": 883, + "id": 892, "name": "EventDefinition", "src": "415:45:7" }, @@ -912,7 +912,7 @@ "constant": false, "indexed": true, "name": "transactionId", - "scope": 887, + "scope": 896, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -925,22 +925,22 @@ "name": "uint", "type": "uint256" }, - "id": 884, + "id": 893, "name": "ElementaryTypeName", "src": "481:4:7" } ], - "id": 885, + "id": 894, "name": "VariableDeclaration", "src": "481:26:7" } ], - "id": 886, + "id": 895, "name": "ParameterList", "src": "480:28:7" } ], - "id": 887, + "id": 896, "name": "EventDefinition", "src": "465:44:7" }, @@ -957,7 +957,7 @@ "constant": false, "indexed": true, "name": "transactionId", - "scope": 891, + "scope": 900, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -970,22 +970,22 @@ "name": "uint", "type": "uint256" }, - "id": 888, + "id": 897, "name": "ElementaryTypeName", "src": "537:4:7" } ], - "id": 889, + "id": 898, "name": "VariableDeclaration", "src": "537:26:7" } ], - "id": 890, + "id": 899, "name": "ParameterList", "src": "536:28:7" } ], - "id": 891, + "id": 900, "name": "EventDefinition", "src": "514:51:7" }, @@ -1002,7 +1002,7 @@ "constant": false, "indexed": true, "name": "sender", - "scope": 897, + "scope": 906, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1015,12 +1015,12 @@ "name": "address", "type": "address" }, - "id": 892, + "id": 901, "name": "ElementaryTypeName", "src": "584:7:7" } ], - "id": 893, + "id": 902, "name": "VariableDeclaration", "src": "584:22:7" }, @@ -1029,7 +1029,7 @@ "constant": false, "indexed": false, "name": "value", - "scope": 897, + "scope": 906, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1042,22 +1042,22 @@ "name": "uint", "type": "uint256" }, - "id": 894, + "id": 903, "name": "ElementaryTypeName", "src": "608:4:7" } ], - "id": 895, + "id": 904, "name": "VariableDeclaration", "src": "608:10:7" } ], - "id": 896, + "id": 905, "name": "ParameterList", "src": "583:36:7" } ], - "id": 897, + "id": 906, "name": "EventDefinition", "src": "570:50:7" }, @@ -1074,7 +1074,7 @@ "constant": false, "indexed": true, "name": "owner", - "scope": 901, + "scope": 910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1087,22 +1087,22 @@ "name": "address", "type": "address" }, - "id": 898, + "id": 907, "name": "ElementaryTypeName", "src": "645:7:7" } ], - "id": 899, + "id": 908, "name": "VariableDeclaration", "src": "645:21:7" } ], - "id": 900, + "id": 909, "name": "ParameterList", "src": "644:23:7" } ], - "id": 901, + "id": 910, "name": "EventDefinition", "src": "625:43:7" }, @@ -1119,7 +1119,7 @@ "constant": false, "indexed": true, "name": "owner", - "scope": 905, + "scope": 914, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1132,22 +1132,22 @@ "name": "address", "type": "address" }, - "id": 902, + "id": 911, "name": "ElementaryTypeName", "src": "692:7:7" } ], - "id": 903, + "id": 912, "name": "VariableDeclaration", "src": "692:21:7" } ], - "id": 904, + "id": 913, "name": "ParameterList", "src": "691:23:7" } ], - "id": 905, + "id": 914, "name": "EventDefinition", "src": "673:42:7" }, @@ -1164,7 +1164,7 @@ "constant": false, "indexed": false, "name": "required", - "scope": 909, + "scope": 918, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1177,22 +1177,22 @@ "name": "uint", "type": "uint256" }, - "id": 906, + "id": 915, "name": "ElementaryTypeName", "src": "744:4:7" } ], - "id": 907, + "id": 916, "name": "VariableDeclaration", "src": "744:13:7" } ], - "id": 908, + "id": 917, "name": "ParameterList", "src": "743:15:7" } ], - "id": 909, + "id": 918, "name": "EventDefinition", "src": "720:39:7" }, @@ -1200,7 +1200,7 @@ "attributes": { "constant": false, "name": "transactions", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", @@ -1218,7 +1218,7 @@ "name": "uint", "type": "uint256" }, - "id": 910, + "id": 919, "name": "ElementaryTypeName", "src": "774:4:7" }, @@ -1226,20 +1226,20 @@ "attributes": { "contractScope": null, "name": "Transaction", - "referencedDeclaration": 939, + "referencedDeclaration": 948, "type": "struct MultiSigWallet.Transaction storage pointer" }, - "id": 911, + "id": 920, "name": "UserDefinedTypeName", "src": "782:11:7" } ], - "id": 912, + "id": 921, "name": "Mapping", "src": "765:29:7" } ], - "id": 913, + "id": 922, "name": "VariableDeclaration", "src": "765:49:7" }, @@ -1247,7 +1247,7 @@ "attributes": { "constant": false, "name": "confirmations", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => mapping(address => bool))", @@ -1265,7 +1265,7 @@ "name": "uint", "type": "uint256" }, - "id": 914, + "id": 923, "name": "ElementaryTypeName", "src": "829:4:7" }, @@ -1279,7 +1279,7 @@ "name": "address", "type": "address" }, - "id": 915, + "id": 924, "name": "ElementaryTypeName", "src": "846:7:7" }, @@ -1288,22 +1288,22 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 925, "name": "ElementaryTypeName", "src": "857:4:7" } ], - "id": 917, + "id": 926, "name": "Mapping", "src": "837:25:7" } ], - "id": 918, + "id": 927, "name": "Mapping", "src": "820:43:7" } ], - "id": 919, + "id": 928, "name": "VariableDeclaration", "src": "820:64:7" }, @@ -1311,7 +1311,7 @@ "attributes": { "constant": false, "name": "isOwner", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => bool)", @@ -1329,7 +1329,7 @@ "name": "address", "type": "address" }, - "id": 920, + "id": 929, "name": "ElementaryTypeName", "src": "899:7:7" }, @@ -1338,17 +1338,17 @@ "name": "bool", "type": "bool" }, - "id": 921, + "id": 930, "name": "ElementaryTypeName", "src": "910:4:7" } ], - "id": 922, + "id": 931, "name": "Mapping", "src": "890:25:7" } ], - "id": 923, + "id": 932, "name": "VariableDeclaration", "src": "890:40:7" }, @@ -1356,7 +1356,7 @@ "attributes": { "constant": false, "name": "owners", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "address[] storage ref", @@ -1375,17 +1375,17 @@ "name": "address", "type": "address" }, - "id": 924, + "id": 933, "name": "ElementaryTypeName", "src": "936:7:7" } ], - "id": 925, + "id": 934, "name": "ArrayTypeName", "src": "936:9:7" } ], - "id": 926, + "id": 935, "name": "VariableDeclaration", "src": "936:23:7" }, @@ -1393,7 +1393,7 @@ "attributes": { "constant": false, "name": "required", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -1406,12 +1406,12 @@ "name": "uint", "type": "uint256" }, - "id": 927, + "id": 936, "name": "ElementaryTypeName", "src": "965:4:7" } ], - "id": 928, + "id": 937, "name": "VariableDeclaration", "src": "965:20:7" }, @@ -1419,7 +1419,7 @@ "attributes": { "constant": false, "name": "transactionCount", - "scope": 1825, + "scope": 1834, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -1432,12 +1432,12 @@ "name": "uint", "type": "uint256" }, - "id": 929, + "id": 938, "name": "ElementaryTypeName", "src": "991:4:7" } ], - "id": 930, + "id": 939, "name": "VariableDeclaration", "src": "991:28:7" }, @@ -1445,7 +1445,7 @@ "attributes": { "canonicalName": "MultiSigWallet.Transaction", "name": "Transaction", - "scope": 1825, + "scope": 1834, "visibility": "public" }, "children": [ @@ -1453,7 +1453,7 @@ "attributes": { "constant": false, "name": "destination", - "scope": 939, + "scope": 948, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1466,12 +1466,12 @@ "name": "address", "type": "address" }, - "id": 931, + "id": 940, "name": "ElementaryTypeName", "src": "1055:7:7" } ], - "id": 932, + "id": 941, "name": "VariableDeclaration", "src": "1055:19:7" }, @@ -1479,7 +1479,7 @@ "attributes": { "constant": false, "name": "value", - "scope": 939, + "scope": 948, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1492,12 +1492,12 @@ "name": "uint", "type": "uint256" }, - "id": 933, + "id": 942, "name": "ElementaryTypeName", "src": "1084:4:7" } ], - "id": 934, + "id": 943, "name": "VariableDeclaration", "src": "1084:10:7" }, @@ -1505,7 +1505,7 @@ "attributes": { "constant": false, "name": "data", - "scope": 939, + "scope": 948, "stateVariable": false, "storageLocation": "default", "type": "bytes storage pointer", @@ -1518,12 +1518,12 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 935, + "id": 944, "name": "ElementaryTypeName", "src": "1104:5:7" } ], - "id": 936, + "id": 945, "name": "VariableDeclaration", "src": "1104:10:7" }, @@ -1531,7 +1531,7 @@ "attributes": { "constant": false, "name": "executed", - "scope": 939, + "scope": 948, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1544,17 +1544,17 @@ "name": "bool", "type": "bool" }, - "id": 937, + "id": 946, "name": "ElementaryTypeName", "src": "1124:4:7" } ], - "id": 938, + "id": 947, "name": "VariableDeclaration", "src": "1124:13:7" } ], - "id": 939, + "id": 948, "name": "StructDefinition", "src": "1026:118:7" }, @@ -1571,7 +1571,7 @@ ] }, "children": [], - "id": 940, + "id": 949, "name": "ParameterList", "src": "1169:2:7" }, @@ -1615,16 +1615,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 941, + "id": 950, "name": "Identifier", "src": "1186:3:7" } ], - "id": 942, + "id": 951, "name": "MemberAccess", "src": "1186:10:7" }, @@ -1647,7 +1647,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MultiSigWallet_$1825", + "typeIdentifier": "t_contract$_MultiSigWallet_$1834", "typeString": "contract MultiSigWallet" } ], @@ -1658,7 +1658,7 @@ "type": "type(address)", "value": "address" }, - "id": 943, + "id": 952, "name": "ElementaryTypeNameExpression", "src": "1200:7:7" }, @@ -1668,47 +1668,47 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3766, + "referencedDeclaration": 4550, "type": "contract MultiSigWallet", "value": "this" }, - "id": 944, + "id": 953, "name": "Identifier", "src": "1208:4:7" } ], - "id": 945, + "id": 954, "name": "FunctionCall", "src": "1200:13:7" } ], - "id": 946, + "id": 955, "name": "BinaryOperation", "src": "1186:27:7" }, { "children": [], - "id": 947, + "id": 956, "name": "Throw", "src": "1227:5:7" } ], - "id": 948, + "id": 957, "name": "IfStatement", "src": "1182:50:7" }, { - "id": 949, + "id": 958, "name": "PlaceholderStatement", "src": "1242:1:7" } ], - "id": 950, + "id": 959, "name": "Block", "src": "1172:78:7" } ], - "id": 951, + "id": 960, "name": "ModifierDefinition", "src": "1150:100:7" }, @@ -1724,7 +1724,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 962, + "scope": 971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1737,17 +1737,17 @@ "name": "address", "type": "address" }, - "id": 952, + "id": 961, "name": "ElementaryTypeName", "src": "1283:7:7" } ], - "id": 953, + "id": 962, "name": "VariableDeclaration", "src": "1283:13:7" } ], - "id": 954, + "id": 963, "name": "ParameterList", "src": "1282:15:7" }, @@ -1774,11 +1774,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 955, + "id": 964, "name": "Identifier", "src": "1312:7:7" }, @@ -1788,42 +1788,42 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 953, + "referencedDeclaration": 962, "type": "address", "value": "owner" }, - "id": 956, + "id": 965, "name": "Identifier", "src": "1320:5:7" } ], - "id": 957, + "id": 966, "name": "IndexAccess", "src": "1312:14:7" }, { "children": [], - "id": 958, + "id": 967, "name": "Throw", "src": "1340:5:7" } ], - "id": 959, + "id": 968, "name": "IfStatement", "src": "1308:37:7" }, { - "id": 960, + "id": 969, "name": "PlaceholderStatement", "src": "1355:1:7" } ], - "id": 961, + "id": 970, "name": "Block", "src": "1298:65:7" } ], - "id": 962, + "id": 971, "name": "ModifierDefinition", "src": "1256:107:7" }, @@ -1839,7 +1839,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 974, + "scope": 983, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1852,17 +1852,17 @@ "name": "address", "type": "address" }, - "id": 963, + "id": 972, "name": "ElementaryTypeName", "src": "1390:7:7" } ], - "id": 964, + "id": 973, "name": "VariableDeclaration", "src": "1390:13:7" } ], - "id": 965, + "id": 974, "name": "ParameterList", "src": "1389:15:7" }, @@ -1901,11 +1901,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 966, + "id": 975, "name": "Identifier", "src": "1420:7:7" }, @@ -1915,47 +1915,47 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 964, + "referencedDeclaration": 973, "type": "address", "value": "owner" }, - "id": 967, + "id": 976, "name": "Identifier", "src": "1428:5:7" } ], - "id": 968, + "id": 977, "name": "IndexAccess", "src": "1420:14:7" } ], - "id": 969, + "id": 978, "name": "UnaryOperation", "src": "1419:15:7" }, { "children": [], - "id": 970, + "id": 979, "name": "Throw", "src": "1448:5:7" } ], - "id": 971, + "id": 980, "name": "IfStatement", "src": "1415:38:7" }, { - "id": 972, + "id": 981, "name": "PlaceholderStatement", "src": "1463:1:7" } ], - "id": 973, + "id": 982, "name": "Block", "src": "1405:66:7" } ], - "id": 974, + "id": 983, "name": "ModifierDefinition", "src": "1369:102:7" }, @@ -1971,7 +1971,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 988, + "scope": 997, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1984,17 +1984,17 @@ "name": "uint", "type": "uint256" }, - "id": 975, + "id": 984, "name": "ElementaryTypeName", "src": "1504:4:7" } ], - "id": 976, + "id": 985, "name": "VariableDeclaration", "src": "1504:18:7" } ], - "id": 977, + "id": 986, "name": "ParameterList", "src": "1503:20:7" }, @@ -2028,7 +2028,7 @@ "isPure": false, "lValueRequested": false, "member_name": "destination", - "referencedDeclaration": 932, + "referencedDeclaration": 941, "type": "address" }, "children": [ @@ -2048,11 +2048,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 978, + "id": 987, "name": "Identifier", "src": "1538:12:7" }, @@ -2062,21 +2062,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 976, + "referencedDeclaration": 985, "type": "uint256", "value": "transactionId" }, - "id": 979, + "id": 988, "name": "Identifier", "src": "1551:13:7" } ], - "id": 980, + "id": 989, "name": "IndexAccess", "src": "1538:27:7" } ], - "id": 981, + "id": 990, "name": "MemberAccess", "src": "1538:39:7" }, @@ -2093,38 +2093,38 @@ "type": "int_const 0", "value": "0" }, - "id": 982, + "id": 991, "name": "Literal", "src": "1581:1:7" } ], - "id": 983, + "id": 992, "name": "BinaryOperation", "src": "1538:44:7" }, { "children": [], - "id": 984, + "id": 993, "name": "Throw", "src": "1596:5:7" } ], - "id": 985, + "id": 994, "name": "IfStatement", "src": "1534:67:7" }, { - "id": 986, + "id": 995, "name": "PlaceholderStatement", "src": "1611:1:7" } ], - "id": 987, + "id": 996, "name": "Block", "src": "1524:95:7" } ], - "id": 988, + "id": 997, "name": "ModifierDefinition", "src": "1477:142:7" }, @@ -2140,7 +2140,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1004, + "scope": 1013, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2153,12 +2153,12 @@ "name": "uint", "type": "uint256" }, - "id": 989, + "id": 998, "name": "ElementaryTypeName", "src": "1644:4:7" } ], - "id": 990, + "id": 999, "name": "VariableDeclaration", "src": "1644:18:7" }, @@ -2166,7 +2166,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 1004, + "scope": 1013, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2179,17 +2179,17 @@ "name": "address", "type": "address" }, - "id": 991, + "id": 1000, "name": "ElementaryTypeName", "src": "1664:7:7" } ], - "id": 992, + "id": 1001, "name": "VariableDeclaration", "src": "1664:13:7" } ], - "id": 993, + "id": 1002, "name": "ParameterList", "src": "1643:35:7" }, @@ -2238,11 +2238,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 994, + "id": 1003, "name": "Identifier", "src": "1694:13:7" }, @@ -2252,16 +2252,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 990, + "referencedDeclaration": 999, "type": "uint256", "value": "transactionId" }, - "id": 995, + "id": 1004, "name": "Identifier", "src": "1708:13:7" } ], - "id": 996, + "id": 1005, "name": "IndexAccess", "src": "1694:28:7" }, @@ -2271,47 +2271,47 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 992, + "referencedDeclaration": 1001, "type": "address", "value": "owner" }, - "id": 997, + "id": 1006, "name": "Identifier", "src": "1723:5:7" } ], - "id": 998, + "id": 1007, "name": "IndexAccess", "src": "1694:35:7" } ], - "id": 999, + "id": 1008, "name": "UnaryOperation", "src": "1693:36:7" }, { "children": [], - "id": 1000, + "id": 1009, "name": "Throw", "src": "1743:5:7" } ], - "id": 1001, + "id": 1010, "name": "IfStatement", "src": "1689:59:7" }, { - "id": 1002, + "id": 1011, "name": "PlaceholderStatement", "src": "1758:1:7" } ], - "id": 1003, + "id": 1012, "name": "Block", "src": "1679:87:7" } ], - "id": 1004, + "id": 1013, "name": "ModifierDefinition", "src": "1625:141:7" }, @@ -2327,7 +2327,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1019, + "scope": 1028, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2340,12 +2340,12 @@ "name": "uint", "type": "uint256" }, - "id": 1005, + "id": 1014, "name": "ElementaryTypeName", "src": "1794:4:7" } ], - "id": 1006, + "id": 1015, "name": "VariableDeclaration", "src": "1794:18:7" }, @@ -2353,7 +2353,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 1019, + "scope": 1028, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2366,17 +2366,17 @@ "name": "address", "type": "address" }, - "id": 1007, + "id": 1016, "name": "ElementaryTypeName", "src": "1814:7:7" } ], - "id": 1008, + "id": 1017, "name": "VariableDeclaration", "src": "1814:13:7" } ], - "id": 1009, + "id": 1018, "name": "ParameterList", "src": "1793:35:7" }, @@ -2413,11 +2413,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1010, + "id": 1019, "name": "Identifier", "src": "1843:13:7" }, @@ -2427,16 +2427,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1006, + "referencedDeclaration": 1015, "type": "uint256", "value": "transactionId" }, - "id": 1011, + "id": 1020, "name": "Identifier", "src": "1857:13:7" } ], - "id": 1012, + "id": 1021, "name": "IndexAccess", "src": "1843:28:7" }, @@ -2446,42 +2446,42 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1008, + "referencedDeclaration": 1017, "type": "address", "value": "owner" }, - "id": 1013, + "id": 1022, "name": "Identifier", "src": "1872:5:7" } ], - "id": 1014, + "id": 1023, "name": "IndexAccess", "src": "1843:35:7" }, { "children": [], - "id": 1015, + "id": 1024, "name": "Throw", "src": "1892:5:7" } ], - "id": 1016, + "id": 1025, "name": "IfStatement", "src": "1839:58:7" }, { - "id": 1017, + "id": 1026, "name": "PlaceholderStatement", "src": "1907:1:7" } ], - "id": 1018, + "id": 1027, "name": "Block", "src": "1829:86:7" } ], - "id": 1019, + "id": 1028, "name": "ModifierDefinition", "src": "1772:143:7" }, @@ -2497,7 +2497,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1031, + "scope": 1040, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2510,17 +2510,17 @@ "name": "uint", "type": "uint256" }, - "id": 1020, + "id": 1029, "name": "ElementaryTypeName", "src": "1942:4:7" } ], - "id": 1021, + "id": 1030, "name": "VariableDeclaration", "src": "1942:18:7" } ], - "id": 1022, + "id": 1031, "name": "ParameterList", "src": "1941:20:7" }, @@ -2539,7 +2539,7 @@ "isPure": false, "lValueRequested": false, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -2559,11 +2559,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1023, + "id": 1032, "name": "Identifier", "src": "1976:12:7" }, @@ -2573,47 +2573,47 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 1030, "type": "uint256", "value": "transactionId" }, - "id": 1024, + "id": 1033, "name": "Identifier", "src": "1989:13:7" } ], - "id": 1025, + "id": 1034, "name": "IndexAccess", "src": "1976:27:7" } ], - "id": 1026, + "id": 1035, "name": "MemberAccess", "src": "1976:36:7" }, { "children": [], - "id": 1027, + "id": 1036, "name": "Throw", "src": "2026:5:7" } ], - "id": 1028, + "id": 1037, "name": "IfStatement", "src": "1972:59:7" }, { - "id": 1029, + "id": 1038, "name": "PlaceholderStatement", "src": "2041:1:7" } ], - "id": 1030, + "id": 1039, "name": "Block", "src": "1962:87:7" } ], - "id": 1031, + "id": 1040, "name": "ModifierDefinition", "src": "1921:128:7" }, @@ -2629,7 +2629,7 @@ "attributes": { "constant": false, "name": "_address", - "scope": 1042, + "scope": 1051, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2642,17 +2642,17 @@ "name": "address", "type": "address" }, - "id": 1032, + "id": 1041, "name": "ElementaryTypeName", "src": "2072:7:7" } ], - "id": 1033, + "id": 1042, "name": "VariableDeclaration", "src": "2072:16:7" } ], - "id": 1034, + "id": 1043, "name": "ParameterList", "src": "2071:18:7" }, @@ -2684,11 +2684,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1033, + "referencedDeclaration": 1042, "type": "address", "value": "_address" }, - "id": 1035, + "id": 1044, "name": "Identifier", "src": "2104:8:7" }, @@ -2705,38 +2705,38 @@ "type": "int_const 0", "value": "0" }, - "id": 1036, + "id": 1045, "name": "Literal", "src": "2116:1:7" } ], - "id": 1037, + "id": 1046, "name": "BinaryOperation", "src": "2104:13:7" }, { "children": [], - "id": 1038, + "id": 1047, "name": "Throw", "src": "2131:5:7" } ], - "id": 1039, + "id": 1048, "name": "IfStatement", "src": "2100:36:7" }, { - "id": 1040, + "id": 1049, "name": "PlaceholderStatement", "src": "2146:1:7" } ], - "id": 1041, + "id": 1050, "name": "Block", "src": "2090:64:7" } ], - "id": 1042, + "id": 1051, "name": "ModifierDefinition", "src": "2055:99:7" }, @@ -2752,7 +2752,7 @@ "attributes": { "constant": false, "name": "ownerCount", - "scope": 1067, + "scope": 1076, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2765,12 +2765,12 @@ "name": "uint", "type": "uint256" }, - "id": 1043, + "id": 1052, "name": "ElementaryTypeName", "src": "2186:4:7" } ], - "id": 1044, + "id": 1053, "name": "VariableDeclaration", "src": "2186:15:7" }, @@ -2778,7 +2778,7 @@ "attributes": { "constant": false, "name": "_required", - "scope": 1067, + "scope": 1076, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2791,17 +2791,17 @@ "name": "uint", "type": "uint256" }, - "id": 1045, + "id": 1054, "name": "ElementaryTypeName", "src": "2203:4:7" } ], - "id": 1046, + "id": 1055, "name": "VariableDeclaration", "src": "2203:14:7" } ], - "id": 1047, + "id": 1056, "name": "ParameterList", "src": "2185:33:7" }, @@ -2878,11 +2878,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1044, + "referencedDeclaration": 1053, "type": "uint256", "value": "ownerCount" }, - "id": 1048, + "id": 1057, "name": "Identifier", "src": "2236:10:7" }, @@ -2892,16 +2892,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 867, + "referencedDeclaration": 876, "type": "uint256", "value": "MAX_OWNER_COUNT" }, - "id": 1049, + "id": 1058, "name": "Identifier", "src": "2249:15:7" } ], - "id": 1050, + "id": 1059, "name": "BinaryOperation", "src": "2236:28:7" }, @@ -2926,11 +2926,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1046, + "referencedDeclaration": 1055, "type": "uint256", "value": "_required" }, - "id": 1051, + "id": 1060, "name": "Identifier", "src": "2280:9:7" }, @@ -2940,21 +2940,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1044, + "referencedDeclaration": 1053, "type": "uint256", "value": "ownerCount" }, - "id": 1052, + "id": 1061, "name": "Identifier", "src": "2292:10:7" } ], - "id": 1053, + "id": 1062, "name": "BinaryOperation", "src": "2280:22:7" } ], - "id": 1054, + "id": 1063, "name": "BinaryOperation", "src": "2236:66:7" }, @@ -2979,11 +2979,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1046, + "referencedDeclaration": 1055, "type": "uint256", "value": "_required" }, - "id": 1055, + "id": 1064, "name": "Identifier", "src": "2318:9:7" }, @@ -3000,17 +3000,17 @@ "type": "int_const 0", "value": "0" }, - "id": 1056, + "id": 1065, "name": "Literal", "src": "2331:1:7" } ], - "id": 1057, + "id": 1066, "name": "BinaryOperation", "src": "2318:14:7" } ], - "id": 1058, + "id": 1067, "name": "BinaryOperation", "src": "2236:96:7" }, @@ -3035,11 +3035,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1044, + "referencedDeclaration": 1053, "type": "uint256", "value": "ownerCount" }, - "id": 1059, + "id": 1068, "name": "Identifier", "src": "2348:10:7" }, @@ -3056,43 +3056,43 @@ "type": "int_const 0", "value": "0" }, - "id": 1060, + "id": 1069, "name": "Literal", "src": "2362:1:7" } ], - "id": 1061, + "id": 1070, "name": "BinaryOperation", "src": "2348:15:7" } ], - "id": 1062, + "id": 1071, "name": "BinaryOperation", "src": "2236:127:7" }, { "children": [], - "id": 1063, + "id": 1072, "name": "Throw", "src": "2377:5:7" } ], - "id": 1064, + "id": 1073, "name": "IfStatement", "src": "2229:153:7" }, { - "id": 1065, + "id": 1074, "name": "PlaceholderStatement", "src": "2392:1:7" } ], - "id": 1066, + "id": 1075, "name": "Block", "src": "2219:181:7" } ], - "id": 1067, + "id": 1076, "name": "ModifierDefinition", "src": "2160:240:7" }, @@ -3106,7 +3106,7 @@ ], "name": "", "payable": true, - "scope": 1825, + "scope": 1834, "stateMutability": "payable", "superFunction": null, "visibility": "public" @@ -3119,7 +3119,7 @@ ] }, "children": [], - "id": 1068, + "id": 1077, "name": "ParameterList", "src": "2470:2:7" }, @@ -3130,7 +3130,7 @@ ] }, "children": [], - "id": 1069, + "id": 1078, "name": "ParameterList", "src": "2493:0:7" }, @@ -3174,16 +3174,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1070, + "id": 1079, "name": "Identifier", "src": "2507:3:7" } ], - "id": 1071, + "id": 1080, "name": "MemberAccess", "src": "2507:9:7" }, @@ -3200,12 +3200,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1072, + "id": 1081, "name": "Literal", "src": "2519:1:7" } ], - "id": 1073, + "id": 1082, "name": "BinaryOperation", "src": "2507:13:7" }, @@ -3241,11 +3241,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 897, + "referencedDeclaration": 906, "type": "function (address,uint256)", "value": "Deposit" }, - "id": 1074, + "id": 1083, "name": "Identifier", "src": "2534:7:7" }, @@ -3267,16 +3267,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1075, + "id": 1084, "name": "Identifier", "src": "2542:3:7" } ], - "id": 1076, + "id": 1085, "name": "MemberAccess", "src": "2542:10:7" }, @@ -3298,41 +3298,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1077, + "id": 1086, "name": "Identifier", "src": "2554:3:7" } ], - "id": 1078, + "id": 1087, "name": "MemberAccess", "src": "2554:9:7" } ], - "id": 1079, + "id": 1088, "name": "FunctionCall", "src": "2534:30:7" } ], - "id": 1080, + "id": 1089, "name": "ExpressionStatement", "src": "2534:30:7" } ], - "id": 1081, + "id": 1090, "name": "IfStatement", "src": "2503:61:7" } ], - "id": 1082, + "id": 1091, "name": "Block", "src": "2493:78:7" } ], - "id": 1083, + "id": 1092, "name": "FunctionDefinition", "src": "2462:109:7" }, @@ -3343,7 +3343,7 @@ "isConstructor": true, "name": "MultiSigWallet", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -3355,7 +3355,7 @@ "attributes": { "constant": false, "name": "_owners", - "scope": 1139, + "scope": 1148, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -3374,17 +3374,17 @@ "name": "address", "type": "address" }, - "id": 1084, + "id": 1093, "name": "ElementaryTypeName", "src": "2838:7:7" } ], - "id": 1085, + "id": 1094, "name": "ArrayTypeName", "src": "2838:9:7" } ], - "id": 1086, + "id": 1095, "name": "VariableDeclaration", "src": "2838:17:7" }, @@ -3392,7 +3392,7 @@ "attributes": { "constant": false, "name": "_required", - "scope": 1139, + "scope": 1148, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3405,17 +3405,17 @@ "name": "uint", "type": "uint256" }, - "id": 1087, + "id": 1096, "name": "ElementaryTypeName", "src": "2857:4:7" } ], - "id": 1088, + "id": 1097, "name": "VariableDeclaration", "src": "2857:14:7" } ], - "id": 1089, + "id": 1098, "name": "ParameterList", "src": "2837:35:7" }, @@ -3426,7 +3426,7 @@ ] }, "children": [], - "id": 1095, + "id": 1104, "name": "ParameterList", "src": "2944:0:7" }, @@ -3438,11 +3438,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 1076, "type": "modifier (uint256,uint256)", "value": "validRequirement" }, - "id": 1090, + "id": 1099, "name": "Identifier", "src": "2896:16:7" }, @@ -3464,16 +3464,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1091, + "id": 1100, "name": "Identifier", "src": "2913:7:7" } ], - "id": 1092, + "id": 1101, "name": "MemberAccess", "src": "2913:14:7" }, @@ -3483,16 +3483,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1088, + "referencedDeclaration": 1097, "type": "uint256", "value": "_required" }, - "id": 1093, + "id": 1102, "name": "Identifier", "src": "2929:9:7" } ], - "id": 1094, + "id": 1103, "name": "ModifierInvocation", "src": "2896:43:7" }, @@ -3503,7 +3503,7 @@ { "attributes": { "assignments": [ - 1097 + 1106 ] }, "children": [ @@ -3511,7 +3511,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1139, + "scope": 1148, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3524,12 +3524,12 @@ "name": "uint", "type": "uint256" }, - "id": 1096, + "id": 1105, "name": "ElementaryTypeName", "src": "2959:4:7" } ], - "id": 1097, + "id": 1106, "name": "VariableDeclaration", "src": "2959:6:7" }, @@ -3546,12 +3546,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1098, + "id": 1107, "name": "Literal", "src": "2966:1:7" } ], - "id": 1099, + "id": 1108, "name": "VariableDeclarationStatement", "src": "2959:8:7" }, @@ -3576,11 +3576,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1106, "type": "uint256", "value": "i" }, - "id": 1100, + "id": 1109, "name": "Identifier", "src": "2969:1:7" }, @@ -3602,21 +3602,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1101, + "id": 1110, "name": "Identifier", "src": "2971:7:7" } ], - "id": 1102, + "id": 1111, "name": "MemberAccess", "src": "2971:14:7" } ], - "id": 1103, + "id": 1112, "name": "BinaryOperation", "src": "2969:16:7" }, @@ -3640,21 +3640,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1106, "type": "uint256", "value": "i" }, - "id": 1104, + "id": 1113, "name": "Identifier", "src": "2987:1:7" } ], - "id": 1105, + "id": 1114, "name": "UnaryOperation", "src": "2987:3:7" } ], - "id": 1106, + "id": 1115, "name": "ExpressionStatement", "src": "2987:3:7" }, @@ -3696,11 +3696,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1107, + "id": 1116, "name": "Identifier", "src": "3010:7:7" }, @@ -3720,11 +3720,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1108, + "id": 1117, "name": "Identifier", "src": "3018:7:7" }, @@ -3734,21 +3734,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1106, "type": "uint256", "value": "i" }, - "id": 1109, + "id": 1118, "name": "Identifier", "src": "3026:1:7" } ], - "id": 1110, + "id": 1119, "name": "IndexAccess", "src": "3018:10:7" } ], - "id": 1111, + "id": 1120, "name": "IndexAccess", "src": "3010:19:7" }, @@ -3783,11 +3783,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1112, + "id": 1121, "name": "Identifier", "src": "3033:7:7" }, @@ -3797,16 +3797,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1106, "type": "uint256", "value": "i" }, - "id": 1113, + "id": 1122, "name": "Identifier", "src": "3041:1:7" } ], - "id": 1114, + "id": 1123, "name": "IndexAccess", "src": "3033:10:7" }, @@ -3823,28 +3823,28 @@ "type": "int_const 0", "value": "0" }, - "id": 1115, + "id": 1124, "name": "Literal", "src": "3047:1:7" } ], - "id": 1116, + "id": 1125, "name": "BinaryOperation", "src": "3033:15:7" } ], - "id": 1117, + "id": 1126, "name": "BinaryOperation", "src": "3010:38:7" }, { "children": [], - "id": 1118, + "id": 1127, "name": "Throw", "src": "3066:5:7" } ], - "id": 1119, + "id": 1128, "name": "IfStatement", "src": "3006:65:7" }, @@ -3877,11 +3877,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1120, + "id": 1129, "name": "Identifier", "src": "3085:7:7" }, @@ -3901,11 +3901,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1121, + "id": 1130, "name": "Identifier", "src": "3093:7:7" }, @@ -3915,21 +3915,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1097, + "referencedDeclaration": 1106, "type": "uint256", "value": "i" }, - "id": 1122, + "id": 1131, "name": "Identifier", "src": "3101:1:7" } ], - "id": 1123, + "id": 1132, "name": "IndexAccess", "src": "3093:10:7" } ], - "id": 1124, + "id": 1133, "name": "IndexAccess", "src": "3085:19:7" }, @@ -3946,27 +3946,27 @@ "type": "bool", "value": "true" }, - "id": 1125, + "id": 1134, "name": "Literal", "src": "3107:4:7" } ], - "id": 1126, + "id": 1135, "name": "Assignment", "src": "3085:26:7" } ], - "id": 1127, + "id": 1136, "name": "ExpressionStatement", "src": "3085:26:7" } ], - "id": 1128, + "id": 1137, "name": "Block", "src": "2992:130:7" } ], - "id": 1129, + "id": 1138, "name": "ForStatement", "src": "2954:168:7" }, @@ -3989,11 +3989,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1130, + "id": 1139, "name": "Identifier", "src": "3131:6:7" }, @@ -4003,21 +4003,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1086, + "referencedDeclaration": 1095, "type": "address[] memory", "value": "_owners" }, - "id": 1131, + "id": 1140, "name": "Identifier", "src": "3140:7:7" } ], - "id": 1132, + "id": 1141, "name": "Assignment", "src": "3131:16:7" } ], - "id": 1133, + "id": 1142, "name": "ExpressionStatement", "src": "3131:16:7" }, @@ -4040,11 +4040,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 928, + "referencedDeclaration": 937, "type": "uint256", "value": "required" }, - "id": 1134, + "id": 1143, "name": "Identifier", "src": "3157:8:7" }, @@ -4054,31 +4054,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1088, + "referencedDeclaration": 1097, "type": "uint256", "value": "_required" }, - "id": 1135, + "id": 1144, "name": "Identifier", "src": "3168:9:7" } ], - "id": 1136, + "id": 1145, "name": "Assignment", "src": "3157:20:7" } ], - "id": 1137, + "id": 1146, "name": "ExpressionStatement", "src": "3157:20:7" } ], - "id": 1138, + "id": 1147, "name": "Block", "src": "2944:240:7" } ], - "id": 1139, + "id": 1148, "name": "FunctionDefinition", "src": "2814:370:7" }, @@ -4089,7 +4089,7 @@ "isConstructor": false, "name": "addOwner", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4101,7 +4101,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 1176, + "scope": 1185, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4114,17 +4114,17 @@ "name": "address", "type": "address" }, - "id": 1140, + "id": 1149, "name": "ElementaryTypeName", "src": "3329:7:7" } ], - "id": 1141, + "id": 1150, "name": "VariableDeclaration", "src": "3329:13:7" } ], - "id": 1142, + "id": 1151, "name": "ParameterList", "src": "3328:15:7" }, @@ -4135,7 +4135,7 @@ ] }, "children": [], - "id": 1158, + "id": 1167, "name": "ParameterList", "src": "3492:0:7" }, @@ -4152,16 +4152,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 960, "type": "modifier ()", "value": "onlyWallet" }, - "id": 1143, + "id": 1152, "name": "Identifier", "src": "3367:10:7" } ], - "id": 1144, + "id": 1153, "name": "ModifierInvocation", "src": "3367:10:7" }, @@ -4173,11 +4173,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 962, + "referencedDeclaration": 971, "type": "modifier (address)", "value": "ownerDoesNotExist" }, - "id": 1145, + "id": 1154, "name": "Identifier", "src": "3386:17:7" }, @@ -4187,16 +4187,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1141, + "referencedDeclaration": 1150, "type": "address", "value": "owner" }, - "id": 1146, + "id": 1155, "name": "Identifier", "src": "3404:5:7" } ], - "id": 1147, + "id": 1156, "name": "ModifierInvocation", "src": "3386:24:7" }, @@ -4208,11 +4208,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1042, + "referencedDeclaration": 1051, "type": "modifier (address)", "value": "notNull" }, - "id": 1148, + "id": 1157, "name": "Identifier", "src": "3419:7:7" }, @@ -4222,16 +4222,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1141, + "referencedDeclaration": 1150, "type": "address", "value": "owner" }, - "id": 1149, + "id": 1158, "name": "Identifier", "src": "3427:5:7" } ], - "id": 1150, + "id": 1159, "name": "ModifierInvocation", "src": "3419:14:7" }, @@ -4243,11 +4243,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 1076, "type": "modifier (uint256,uint256)", "value": "validRequirement" }, - "id": 1151, + "id": 1160, "name": "Identifier", "src": "3442:16:7" }, @@ -4284,16 +4284,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1152, + "id": 1161, "name": "Identifier", "src": "3459:6:7" } ], - "id": 1153, + "id": 1162, "name": "MemberAccess", "src": "3459:13:7" }, @@ -4310,12 +4310,12 @@ "type": "int_const 1", "value": "1" }, - "id": 1154, + "id": 1163, "name": "Literal", "src": "3475:1:7" } ], - "id": 1155, + "id": 1164, "name": "BinaryOperation", "src": "3459:17:7" }, @@ -4325,16 +4325,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 928, + "referencedDeclaration": 937, "type": "uint256", "value": "required" }, - "id": 1156, + "id": 1165, "name": "Identifier", "src": "3478:8:7" } ], - "id": 1157, + "id": 1166, "name": "ModifierInvocation", "src": "3442:45:7" }, @@ -4369,11 +4369,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1159, + "id": 1168, "name": "Identifier", "src": "3502:7:7" }, @@ -4383,16 +4383,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1141, + "referencedDeclaration": 1150, "type": "address", "value": "owner" }, - "id": 1160, + "id": 1169, "name": "Identifier", "src": "3510:5:7" } ], - "id": 1161, + "id": 1170, "name": "IndexAccess", "src": "3502:14:7" }, @@ -4409,17 +4409,17 @@ "type": "bool", "value": "true" }, - "id": 1162, + "id": 1171, "name": "Literal", "src": "3519:4:7" } ], - "id": 1163, + "id": 1172, "name": "Assignment", "src": "3502:21:7" } ], - "id": 1164, + "id": 1173, "name": "ExpressionStatement", "src": "3502:21:7" }, @@ -4463,16 +4463,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1165, + "id": 1174, "name": "Identifier", "src": "3533:6:7" } ], - "id": 1167, + "id": 1176, "name": "MemberAccess", "src": "3533:11:7" }, @@ -4482,21 +4482,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1141, + "referencedDeclaration": 1150, "type": "address", "value": "owner" }, - "id": 1168, + "id": 1177, "name": "Identifier", "src": "3545:5:7" } ], - "id": 1169, + "id": 1178, "name": "FunctionCall", "src": "3533:18:7" } ], - "id": 1170, + "id": 1179, "name": "ExpressionStatement", "src": "3533:18:7" }, @@ -4528,11 +4528,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 901, + "referencedDeclaration": 910, "type": "function (address)", "value": "OwnerAddition" }, - "id": 1171, + "id": 1180, "name": "Identifier", "src": "3561:13:7" }, @@ -4542,31 +4542,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1141, + "referencedDeclaration": 1150, "type": "address", "value": "owner" }, - "id": 1172, + "id": 1181, "name": "Identifier", "src": "3575:5:7" } ], - "id": 1173, + "id": 1182, "name": "FunctionCall", "src": "3561:20:7" } ], - "id": 1174, + "id": 1183, "name": "ExpressionStatement", "src": "3561:20:7" } ], - "id": 1175, + "id": 1184, "name": "Block", "src": "3492:96:7" } ], - "id": 1176, + "id": 1185, "name": "FunctionDefinition", "src": "3311:277:7" }, @@ -4577,7 +4577,7 @@ "isConstructor": false, "name": "removeOwner", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4589,7 +4589,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 1246, + "scope": 1255, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4602,17 +4602,17 @@ "name": "address", "type": "address" }, - "id": 1177, + "id": 1186, "name": "ElementaryTypeName", "src": "3732:7:7" } ], - "id": 1178, + "id": 1187, "name": "VariableDeclaration", "src": "3732:13:7" } ], - "id": 1179, + "id": 1188, "name": "ParameterList", "src": "3731:15:7" }, @@ -4623,7 +4623,7 @@ ] }, "children": [], - "id": 1185, + "id": 1194, "name": "ParameterList", "src": "3812:0:7" }, @@ -4640,16 +4640,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 960, "type": "modifier ()", "value": "onlyWallet" }, - "id": 1180, + "id": 1189, "name": "Identifier", "src": "3770:10:7" } ], - "id": 1181, + "id": 1190, "name": "ModifierInvocation", "src": "3770:10:7" }, @@ -4661,11 +4661,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 974, + "referencedDeclaration": 983, "type": "modifier (address)", "value": "ownerExists" }, - "id": 1182, + "id": 1191, "name": "Identifier", "src": "3789:11:7" }, @@ -4675,16 +4675,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1178, + "referencedDeclaration": 1187, "type": "address", "value": "owner" }, - "id": 1183, + "id": 1192, "name": "Identifier", "src": "3801:5:7" } ], - "id": 1184, + "id": 1193, "name": "ModifierInvocation", "src": "3789:18:7" }, @@ -4719,11 +4719,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1186, + "id": 1195, "name": "Identifier", "src": "3822:7:7" }, @@ -4733,16 +4733,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1178, + "referencedDeclaration": 1187, "type": "address", "value": "owner" }, - "id": 1187, + "id": 1196, "name": "Identifier", "src": "3830:5:7" } ], - "id": 1188, + "id": 1197, "name": "IndexAccess", "src": "3822:14:7" }, @@ -4759,17 +4759,17 @@ "type": "bool", "value": "false" }, - "id": 1189, + "id": 1198, "name": "Literal", "src": "3839:5:7" } ], - "id": 1190, + "id": 1199, "name": "Assignment", "src": "3822:22:7" } ], - "id": 1191, + "id": 1200, "name": "ExpressionStatement", "src": "3822:22:7" }, @@ -4778,7 +4778,7 @@ { "attributes": { "assignments": [ - 1193 + 1202 ] }, "children": [ @@ -4786,7 +4786,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1246, + "scope": 1255, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4799,12 +4799,12 @@ "name": "uint", "type": "uint256" }, - "id": 1192, + "id": 1201, "name": "ElementaryTypeName", "src": "3859:4:7" } ], - "id": 1193, + "id": 1202, "name": "VariableDeclaration", "src": "3859:6:7" }, @@ -4821,12 +4821,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1194, + "id": 1203, "name": "Literal", "src": "3866:1:7" } ], - "id": 1195, + "id": 1204, "name": "VariableDeclarationStatement", "src": "3859:8:7" }, @@ -4851,11 +4851,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 1202, "type": "uint256", "value": "i" }, - "id": 1196, + "id": 1205, "name": "Identifier", "src": "3869:1:7" }, @@ -4892,16 +4892,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1197, + "id": 1206, "name": "Identifier", "src": "3871:6:7" } ], - "id": 1198, + "id": 1207, "name": "MemberAccess", "src": "3871:13:7" }, @@ -4918,17 +4918,17 @@ "type": "int_const 1", "value": "1" }, - "id": 1199, + "id": 1208, "name": "Literal", "src": "3887:1:7" } ], - "id": 1200, + "id": 1209, "name": "BinaryOperation", "src": "3871:17:7" } ], - "id": 1201, + "id": 1210, "name": "BinaryOperation", "src": "3869:19:7" }, @@ -4952,21 +4952,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 1202, "type": "uint256", "value": "i" }, - "id": 1202, + "id": 1211, "name": "Identifier", "src": "3890:1:7" } ], - "id": 1203, + "id": 1212, "name": "UnaryOperation", "src": "3890:3:7" } ], - "id": 1204, + "id": 1213, "name": "ExpressionStatement", "src": "3890:3:7" }, @@ -5006,11 +5006,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1205, + "id": 1214, "name": "Identifier", "src": "3911:6:7" }, @@ -5020,16 +5020,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 1202, "type": "uint256", "value": "i" }, - "id": 1206, + "id": 1215, "name": "Identifier", "src": "3918:1:7" } ], - "id": 1207, + "id": 1216, "name": "IndexAccess", "src": "3911:9:7" }, @@ -5039,16 +5039,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1178, + "referencedDeclaration": 1187, "type": "address", "value": "owner" }, - "id": 1208, + "id": 1217, "name": "Identifier", "src": "3924:5:7" } ], - "id": 1209, + "id": 1218, "name": "BinaryOperation", "src": "3911:18:7" }, @@ -5083,11 +5083,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1210, + "id": 1219, "name": "Identifier", "src": "3949:6:7" }, @@ -5097,16 +5097,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 1202, "type": "uint256", "value": "i" }, - "id": 1211, + "id": 1220, "name": "Identifier", "src": "3956:1:7" } ], - "id": 1212, + "id": 1221, "name": "IndexAccess", "src": "3949:9:7" }, @@ -5126,11 +5126,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1213, + "id": 1222, "name": "Identifier", "src": "3961:6:7" }, @@ -5167,16 +5167,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1214, + "id": 1223, "name": "Identifier", "src": "3968:6:7" } ], - "id": 1215, + "id": 1224, "name": "MemberAccess", "src": "3968:13:7" }, @@ -5193,47 +5193,47 @@ "type": "int_const 1", "value": "1" }, - "id": 1216, + "id": 1225, "name": "Literal", "src": "3984:1:7" } ], - "id": 1217, + "id": 1226, "name": "BinaryOperation", "src": "3968:17:7" } ], - "id": 1218, + "id": 1227, "name": "IndexAccess", "src": "3961:25:7" } ], - "id": 1219, + "id": 1228, "name": "Assignment", "src": "3949:37:7" } ], - "id": 1220, + "id": 1229, "name": "ExpressionStatement", "src": "3949:37:7" }, { - "id": 1221, + "id": 1230, "name": "Break", "src": "4004:5:7" } ], - "id": 1222, + "id": 1231, "name": "Block", "src": "3931:93:7" } ], - "id": 1223, + "id": 1232, "name": "IfStatement", "src": "3907:117:7" } ], - "id": 1224, + "id": 1233, "name": "ForStatement", "src": "3854:170:7" }, @@ -5268,16 +5268,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1225, + "id": 1234, "name": "Identifier", "src": "4033:6:7" } ], - "id": 1227, + "id": 1236, "name": "MemberAccess", "src": "4033:13:7" }, @@ -5294,17 +5294,17 @@ "type": "int_const 1", "value": "1" }, - "id": 1228, + "id": 1237, "name": "Literal", "src": "4050:1:7" } ], - "id": 1229, + "id": 1238, "name": "Assignment", "src": "4033:18:7" } ], - "id": 1230, + "id": 1239, "name": "ExpressionStatement", "src": "4033:18:7" }, @@ -5334,11 +5334,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 928, + "referencedDeclaration": 937, "type": "uint256", "value": "required" }, - "id": 1231, + "id": 1240, "name": "Identifier", "src": "4065:8:7" }, @@ -5360,21 +5360,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1232, + "id": 1241, "name": "Identifier", "src": "4076:6:7" } ], - "id": 1233, + "id": 1242, "name": "MemberAccess", "src": "4076:13:7" } ], - "id": 1234, + "id": 1243, "name": "BinaryOperation", "src": "4065:24:7" }, @@ -5406,11 +5406,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1329, + "referencedDeclaration": 1338, "type": "function (uint256)", "value": "changeRequirement" }, - "id": 1235, + "id": 1244, "name": "Identifier", "src": "4103:17:7" }, @@ -5432,31 +5432,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1236, + "id": 1245, "name": "Identifier", "src": "4121:6:7" } ], - "id": 1237, + "id": 1246, "name": "MemberAccess", "src": "4121:13:7" } ], - "id": 1238, + "id": 1247, "name": "FunctionCall", "src": "4103:32:7" } ], - "id": 1239, + "id": 1248, "name": "ExpressionStatement", "src": "4103:32:7" } ], - "id": 1240, + "id": 1249, "name": "IfStatement", "src": "4061:74:7" }, @@ -5488,11 +5488,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 905, + "referencedDeclaration": 914, "type": "function (address)", "value": "OwnerRemoval" }, - "id": 1241, + "id": 1250, "name": "Identifier", "src": "4145:12:7" }, @@ -5502,31 +5502,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1178, + "referencedDeclaration": 1187, "type": "address", "value": "owner" }, - "id": 1242, + "id": 1251, "name": "Identifier", "src": "4158:5:7" } ], - "id": 1243, + "id": 1252, "name": "FunctionCall", "src": "4145:19:7" } ], - "id": 1244, + "id": 1253, "name": "ExpressionStatement", "src": "4145:19:7" } ], - "id": 1245, + "id": 1254, "name": "Block", "src": "3812:359:7" } ], - "id": 1246, + "id": 1255, "name": "FunctionDefinition", "src": "3711:460:7" }, @@ -5537,7 +5537,7 @@ "isConstructor": false, "name": "replaceOwner", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -5549,7 +5549,7 @@ "attributes": { "constant": false, "name": "owner", - "scope": 1308, + "scope": 1317, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -5562,12 +5562,12 @@ "name": "address", "type": "address" }, - "id": 1247, + "id": 1256, "name": "ElementaryTypeName", "src": "4392:7:7" } ], - "id": 1248, + "id": 1257, "name": "VariableDeclaration", "src": "4392:13:7" }, @@ -5575,7 +5575,7 @@ "attributes": { "constant": false, "name": "newOwner", - "scope": 1308, + "scope": 1317, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -5588,17 +5588,17 @@ "name": "address", "type": "address" }, - "id": 1249, + "id": 1258, "name": "ElementaryTypeName", "src": "4407:7:7" } ], - "id": 1250, + "id": 1259, "name": "VariableDeclaration", "src": "4407:16:7" } ], - "id": 1251, + "id": 1260, "name": "ParameterList", "src": "4391:33:7" }, @@ -5609,7 +5609,7 @@ ] }, "children": [], - "id": 1260, + "id": 1269, "name": "ParameterList", "src": "4526:0:7" }, @@ -5626,16 +5626,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 960, "type": "modifier ()", "value": "onlyWallet" }, - "id": 1252, + "id": 1261, "name": "Identifier", "src": "4448:10:7" } ], - "id": 1253, + "id": 1262, "name": "ModifierInvocation", "src": "4448:10:7" }, @@ -5647,11 +5647,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 974, + "referencedDeclaration": 983, "type": "modifier (address)", "value": "ownerExists" }, - "id": 1254, + "id": 1263, "name": "Identifier", "src": "4467:11:7" }, @@ -5661,16 +5661,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 1257, "type": "address", "value": "owner" }, - "id": 1255, + "id": 1264, "name": "Identifier", "src": "4479:5:7" } ], - "id": 1256, + "id": 1265, "name": "ModifierInvocation", "src": "4467:18:7" }, @@ -5682,11 +5682,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 962, + "referencedDeclaration": 971, "type": "modifier (address)", "value": "ownerDoesNotExist" }, - "id": 1257, + "id": 1266, "name": "Identifier", "src": "4494:17:7" }, @@ -5696,16 +5696,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 1259, "type": "address", "value": "newOwner" }, - "id": 1258, + "id": 1267, "name": "Identifier", "src": "4512:8:7" } ], - "id": 1259, + "id": 1268, "name": "ModifierInvocation", "src": "4494:27:7" }, @@ -5716,7 +5716,7 @@ { "attributes": { "assignments": [ - 1262 + 1271 ] }, "children": [ @@ -5724,7 +5724,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1308, + "scope": 1317, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -5737,12 +5737,12 @@ "name": "uint", "type": "uint256" }, - "id": 1261, + "id": 1270, "name": "ElementaryTypeName", "src": "4541:4:7" } ], - "id": 1262, + "id": 1271, "name": "VariableDeclaration", "src": "4541:6:7" }, @@ -5759,12 +5759,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1263, + "id": 1272, "name": "Literal", "src": "4548:1:7" } ], - "id": 1264, + "id": 1273, "name": "VariableDeclarationStatement", "src": "4541:8:7" }, @@ -5789,11 +5789,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 1271, "type": "uint256", "value": "i" }, - "id": 1265, + "id": 1274, "name": "Identifier", "src": "4551:1:7" }, @@ -5815,21 +5815,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1266, + "id": 1275, "name": "Identifier", "src": "4553:6:7" } ], - "id": 1267, + "id": 1276, "name": "MemberAccess", "src": "4553:13:7" } ], - "id": 1268, + "id": 1277, "name": "BinaryOperation", "src": "4551:15:7" }, @@ -5853,21 +5853,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 1271, "type": "uint256", "value": "i" }, - "id": 1269, + "id": 1278, "name": "Identifier", "src": "4568:1:7" } ], - "id": 1270, + "id": 1279, "name": "UnaryOperation", "src": "4568:3:7" } ], - "id": 1271, + "id": 1280, "name": "ExpressionStatement", "src": "4568:3:7" }, @@ -5907,11 +5907,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1272, + "id": 1281, "name": "Identifier", "src": "4589:6:7" }, @@ -5921,16 +5921,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 1271, "type": "uint256", "value": "i" }, - "id": 1273, + "id": 1282, "name": "Identifier", "src": "4596:1:7" } ], - "id": 1274, + "id": 1283, "name": "IndexAccess", "src": "4589:9:7" }, @@ -5940,16 +5940,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 1257, "type": "address", "value": "owner" }, - "id": 1275, + "id": 1284, "name": "Identifier", "src": "4602:5:7" } ], - "id": 1276, + "id": 1285, "name": "BinaryOperation", "src": "4589:18:7" }, @@ -5984,11 +5984,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1277, + "id": 1286, "name": "Identifier", "src": "4627:6:7" }, @@ -5998,16 +5998,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 1271, "type": "uint256", "value": "i" }, - "id": 1278, + "id": 1287, "name": "Identifier", "src": "4634:1:7" } ], - "id": 1279, + "id": 1288, "name": "IndexAccess", "src": "4627:9:7" }, @@ -6017,41 +6017,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 1259, "type": "address", "value": "newOwner" }, - "id": 1280, + "id": 1289, "name": "Identifier", "src": "4639:8:7" } ], - "id": 1281, + "id": 1290, "name": "Assignment", "src": "4627:20:7" } ], - "id": 1282, + "id": 1291, "name": "ExpressionStatement", "src": "4627:20:7" }, { - "id": 1283, + "id": 1292, "name": "Break", "src": "4665:5:7" } ], - "id": 1284, + "id": 1293, "name": "Block", "src": "4609:76:7" } ], - "id": 1285, + "id": 1294, "name": "IfStatement", "src": "4585:100:7" } ], - "id": 1286, + "id": 1295, "name": "ForStatement", "src": "4536:149:7" }, @@ -6084,11 +6084,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1287, + "id": 1296, "name": "Identifier", "src": "4694:7:7" }, @@ -6098,16 +6098,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 1257, "type": "address", "value": "owner" }, - "id": 1288, + "id": 1297, "name": "Identifier", "src": "4702:5:7" } ], - "id": 1289, + "id": 1298, "name": "IndexAccess", "src": "4694:14:7" }, @@ -6124,17 +6124,17 @@ "type": "bool", "value": "false" }, - "id": 1290, + "id": 1299, "name": "Literal", "src": "4711:5:7" } ], - "id": 1291, + "id": 1300, "name": "Assignment", "src": "4694:22:7" } ], - "id": 1292, + "id": 1301, "name": "ExpressionStatement", "src": "4694:22:7" }, @@ -6167,11 +6167,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 923, + "referencedDeclaration": 932, "type": "mapping(address => bool)", "value": "isOwner" }, - "id": 1293, + "id": 1302, "name": "Identifier", "src": "4726:7:7" }, @@ -6181,16 +6181,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 1259, "type": "address", "value": "newOwner" }, - "id": 1294, + "id": 1303, "name": "Identifier", "src": "4734:8:7" } ], - "id": 1295, + "id": 1304, "name": "IndexAccess", "src": "4726:17:7" }, @@ -6207,17 +6207,17 @@ "type": "bool", "value": "true" }, - "id": 1296, + "id": 1305, "name": "Literal", "src": "4746:4:7" } ], - "id": 1297, + "id": 1306, "name": "Assignment", "src": "4726:24:7" } ], - "id": 1298, + "id": 1307, "name": "ExpressionStatement", "src": "4726:24:7" }, @@ -6249,11 +6249,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 905, + "referencedDeclaration": 914, "type": "function (address)", "value": "OwnerRemoval" }, - "id": 1299, + "id": 1308, "name": "Identifier", "src": "4760:12:7" }, @@ -6263,21 +6263,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 1257, "type": "address", "value": "owner" }, - "id": 1300, + "id": 1309, "name": "Identifier", "src": "4773:5:7" } ], - "id": 1301, + "id": 1310, "name": "FunctionCall", "src": "4760:19:7" } ], - "id": 1302, + "id": 1311, "name": "ExpressionStatement", "src": "4760:19:7" }, @@ -6309,11 +6309,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 901, + "referencedDeclaration": 910, "type": "function (address)", "value": "OwnerAddition" }, - "id": 1303, + "id": 1312, "name": "Identifier", "src": "4789:13:7" }, @@ -6323,31 +6323,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 1259, "type": "address", "value": "newOwner" }, - "id": 1304, + "id": 1313, "name": "Identifier", "src": "4803:8:7" } ], - "id": 1305, + "id": 1314, "name": "FunctionCall", "src": "4789:23:7" } ], - "id": 1306, + "id": 1315, "name": "ExpressionStatement", "src": "4789:23:7" } ], - "id": 1307, + "id": 1316, "name": "Block", "src": "4526:293:7" } ], - "id": 1308, + "id": 1317, "name": "FunctionDefinition", "src": "4370:449:7" }, @@ -6358,7 +6358,7 @@ "isConstructor": false, "name": "changeRequirement", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6370,7 +6370,7 @@ "attributes": { "constant": false, "name": "_required", - "scope": 1329, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6383,17 +6383,17 @@ "name": "uint", "type": "uint256" }, - "id": 1309, + "id": 1318, "name": "ElementaryTypeName", "src": "5017:4:7" } ], - "id": 1310, + "id": 1319, "name": "VariableDeclaration", "src": "5017:14:7" } ], - "id": 1311, + "id": 1320, "name": "ParameterList", "src": "5016:16:7" }, @@ -6404,7 +6404,7 @@ ] }, "children": [], - "id": 1319, + "id": 1328, "name": "ParameterList", "src": "5122:0:7" }, @@ -6421,16 +6421,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 960, "type": "modifier ()", "value": "onlyWallet" }, - "id": 1312, + "id": 1321, "name": "Identifier", "src": "5056:10:7" } ], - "id": 1313, + "id": 1322, "name": "ModifierInvocation", "src": "5056:10:7" }, @@ -6442,11 +6442,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 1076, "type": "modifier (uint256,uint256)", "value": "validRequirement" }, - "id": 1314, + "id": 1323, "name": "Identifier", "src": "5075:16:7" }, @@ -6468,16 +6468,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1315, + "id": 1324, "name": "Identifier", "src": "5092:6:7" } ], - "id": 1316, + "id": 1325, "name": "MemberAccess", "src": "5092:13:7" }, @@ -6487,16 +6487,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1319, "type": "uint256", "value": "_required" }, - "id": 1317, + "id": 1326, "name": "Identifier", "src": "5107:9:7" } ], - "id": 1318, + "id": 1327, "name": "ModifierInvocation", "src": "5075:42:7" }, @@ -6521,11 +6521,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 928, + "referencedDeclaration": 937, "type": "uint256", "value": "required" }, - "id": 1320, + "id": 1329, "name": "Identifier", "src": "5132:8:7" }, @@ -6535,21 +6535,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1319, "type": "uint256", "value": "_required" }, - "id": 1321, + "id": 1330, "name": "Identifier", "src": "5143:9:7" } ], - "id": 1322, + "id": 1331, "name": "Assignment", "src": "5132:20:7" } ], - "id": 1323, + "id": 1332, "name": "ExpressionStatement", "src": "5132:20:7" }, @@ -6581,11 +6581,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 909, + "referencedDeclaration": 918, "type": "function (uint256)", "value": "RequirementChange" }, - "id": 1324, + "id": 1333, "name": "Identifier", "src": "5162:17:7" }, @@ -6595,31 +6595,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1310, + "referencedDeclaration": 1319, "type": "uint256", "value": "_required" }, - "id": 1325, + "id": 1334, "name": "Identifier", "src": "5180:9:7" } ], - "id": 1326, + "id": 1335, "name": "FunctionCall", "src": "5162:28:7" } ], - "id": 1327, + "id": 1336, "name": "ExpressionStatement", "src": "5162:28:7" } ], - "id": 1328, + "id": 1337, "name": "Block", "src": "5122:75:7" } ], - "id": 1329, + "id": 1338, "name": "FunctionDefinition", "src": "4990:207:7" }, @@ -6633,7 +6633,7 @@ ], "name": "submitTransaction", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6645,7 +6645,7 @@ "attributes": { "constant": false, "name": "destination", - "scope": 1353, + "scope": 1362, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -6658,12 +6658,12 @@ "name": "address", "type": "address" }, - "id": 1330, + "id": 1339, "name": "ElementaryTypeName", "src": "5483:7:7" } ], - "id": 1331, + "id": 1340, "name": "VariableDeclaration", "src": "5483:19:7" }, @@ -6671,7 +6671,7 @@ "attributes": { "constant": false, "name": "value", - "scope": 1353, + "scope": 1362, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6684,12 +6684,12 @@ "name": "uint", "type": "uint256" }, - "id": 1332, + "id": 1341, "name": "ElementaryTypeName", "src": "5504:4:7" } ], - "id": 1333, + "id": 1342, "name": "VariableDeclaration", "src": "5504:10:7" }, @@ -6697,7 +6697,7 @@ "attributes": { "constant": false, "name": "data", - "scope": 1353, + "scope": 1362, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -6710,17 +6710,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 1334, + "id": 1343, "name": "ElementaryTypeName", "src": "5516:5:7" } ], - "id": 1335, + "id": 1344, "name": "VariableDeclaration", "src": "5516:10:7" } ], - "id": 1336, + "id": 1345, "name": "ParameterList", "src": "5482:45:7" }, @@ -6730,7 +6730,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1353, + "scope": 1362, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6743,17 +6743,17 @@ "name": "uint", "type": "uint256" }, - "id": 1337, + "id": 1346, "name": "ElementaryTypeName", "src": "5560:4:7" } ], - "id": 1338, + "id": 1347, "name": "VariableDeclaration", "src": "5560:18:7" } ], - "id": 1339, + "id": 1348, "name": "ParameterList", "src": "5559:20:7" }, @@ -6778,11 +6778,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1338, + "referencedDeclaration": 1347, "type": "uint256", "value": "transactionId" }, - "id": 1340, + "id": 1349, "name": "Identifier", "src": "5594:13:7" }, @@ -6820,11 +6820,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1556, + "referencedDeclaration": 1565, "type": "function (address,uint256,bytes memory) returns (uint256)", "value": "addTransaction" }, - "id": 1341, + "id": 1350, "name": "Identifier", "src": "5610:14:7" }, @@ -6834,11 +6834,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1331, + "referencedDeclaration": 1340, "type": "address", "value": "destination" }, - "id": 1342, + "id": 1351, "name": "Identifier", "src": "5625:11:7" }, @@ -6848,11 +6848,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1333, + "referencedDeclaration": 1342, "type": "uint256", "value": "value" }, - "id": 1343, + "id": 1352, "name": "Identifier", "src": "5638:5:7" }, @@ -6862,26 +6862,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1335, + "referencedDeclaration": 1344, "type": "bytes memory", "value": "data" }, - "id": 1344, + "id": 1353, "name": "Identifier", "src": "5645:4:7" } ], - "id": 1345, + "id": 1354, "name": "FunctionCall", "src": "5610:40:7" } ], - "id": 1346, + "id": 1355, "name": "Assignment", "src": "5594:56:7" } ], - "id": 1347, + "id": 1356, "name": "ExpressionStatement", "src": "5594:56:7" }, @@ -6913,11 +6913,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1390, + "referencedDeclaration": 1399, "type": "function (uint256)", "value": "confirmTransaction" }, - "id": 1348, + "id": 1357, "name": "Identifier", "src": "5660:18:7" }, @@ -6927,31 +6927,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1338, + "referencedDeclaration": 1347, "type": "uint256", "value": "transactionId" }, - "id": 1349, + "id": 1358, "name": "Identifier", "src": "5679:13:7" } ], - "id": 1350, + "id": 1359, "name": "FunctionCall", "src": "5660:33:7" } ], - "id": 1351, + "id": 1360, "name": "ExpressionStatement", "src": "5660:33:7" } ], - "id": 1352, + "id": 1361, "name": "Block", "src": "5584:116:7" } ], - "id": 1353, + "id": 1362, "name": "FunctionDefinition", "src": "5456:244:7" }, @@ -6962,7 +6962,7 @@ "isConstructor": false, "name": "confirmTransaction", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -6974,7 +6974,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1390, + "scope": 1399, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -6987,17 +6987,17 @@ "name": "uint", "type": "uint256" }, - "id": 1354, + "id": 1363, "name": "ElementaryTypeName", "src": "5834:4:7" } ], - "id": 1355, + "id": 1364, "name": "VariableDeclaration", "src": "5834:18:7" } ], - "id": 1356, + "id": 1365, "name": "ParameterList", "src": "5833:20:7" }, @@ -7008,7 +7008,7 @@ ] }, "children": [], - "id": 1369, + "id": 1378, "name": "ParameterList", "src": "5994:0:7" }, @@ -7020,11 +7020,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 974, + "referencedDeclaration": 983, "type": "modifier (address)", "value": "ownerExists" }, - "id": 1357, + "id": 1366, "name": "Identifier", "src": "5877:11:7" }, @@ -7046,21 +7046,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1358, + "id": 1367, "name": "Identifier", "src": "5889:3:7" } ], - "id": 1359, + "id": 1368, "name": "MemberAccess", "src": "5889:10:7" } ], - "id": 1360, + "id": 1369, "name": "ModifierInvocation", "src": "5877:23:7" }, @@ -7072,11 +7072,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 988, + "referencedDeclaration": 997, "type": "modifier (uint256)", "value": "transactionExists" }, - "id": 1361, + "id": 1370, "name": "Identifier", "src": "5909:17:7" }, @@ -7086,16 +7086,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1355, + "referencedDeclaration": 1364, "type": "uint256", "value": "transactionId" }, - "id": 1362, + "id": 1371, "name": "Identifier", "src": "5927:13:7" } ], - "id": 1363, + "id": 1372, "name": "ModifierInvocation", "src": "5909:32:7" }, @@ -7107,11 +7107,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1019, + "referencedDeclaration": 1028, "type": "modifier (uint256,address)", "value": "notConfirmed" }, - "id": 1364, + "id": 1373, "name": "Identifier", "src": "5950:12:7" }, @@ -7121,11 +7121,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1355, + "referencedDeclaration": 1364, "type": "uint256", "value": "transactionId" }, - "id": 1365, + "id": 1374, "name": "Identifier", "src": "5963:13:7" }, @@ -7147,21 +7147,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1366, + "id": 1375, "name": "Identifier", "src": "5978:3:7" } ], - "id": 1367, + "id": 1376, "name": "MemberAccess", "src": "5978:10:7" } ], - "id": 1368, + "id": 1377, "name": "ModifierInvocation", "src": "5950:39:7" }, @@ -7206,11 +7206,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1370, + "id": 1379, "name": "Identifier", "src": "6004:13:7" }, @@ -7220,16 +7220,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1355, + "referencedDeclaration": 1364, "type": "uint256", "value": "transactionId" }, - "id": 1371, + "id": 1380, "name": "Identifier", "src": "6018:13:7" } ], - "id": 1374, + "id": 1383, "name": "IndexAccess", "src": "6004:28:7" }, @@ -7251,21 +7251,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1372, + "id": 1381, "name": "Identifier", "src": "6033:3:7" } ], - "id": 1373, + "id": 1382, "name": "MemberAccess", "src": "6033:10:7" } ], - "id": 1375, + "id": 1384, "name": "IndexAccess", "src": "6004:40:7" }, @@ -7282,17 +7282,17 @@ "type": "bool", "value": "true" }, - "id": 1376, + "id": 1385, "name": "Literal", "src": "6047:4:7" } ], - "id": 1377, + "id": 1386, "name": "Assignment", "src": "6004:47:7" } ], - "id": 1378, + "id": 1387, "name": "ExpressionStatement", "src": "6004:47:7" }, @@ -7328,11 +7328,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 873, + "referencedDeclaration": 882, "type": "function (address,uint256)", "value": "Confirmation" }, - "id": 1379, + "id": 1388, "name": "Identifier", "src": "6061:12:7" }, @@ -7354,16 +7354,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1380, + "id": 1389, "name": "Identifier", "src": "6074:3:7" } ], - "id": 1381, + "id": 1390, "name": "MemberAccess", "src": "6074:10:7" }, @@ -7373,21 +7373,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1355, + "referencedDeclaration": 1364, "type": "uint256", "value": "transactionId" }, - "id": 1382, + "id": 1391, "name": "Identifier", "src": "6086:13:7" } ], - "id": 1383, + "id": 1392, "name": "FunctionCall", "src": "6061:39:7" } ], - "id": 1384, + "id": 1393, "name": "ExpressionStatement", "src": "6061:39:7" }, @@ -7419,11 +7419,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1475, + "referencedDeclaration": 1484, "type": "function (uint256)", "value": "executeTransaction" }, - "id": 1385, + "id": 1394, "name": "Identifier", "src": "6110:18:7" }, @@ -7433,31 +7433,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1355, + "referencedDeclaration": 1364, "type": "uint256", "value": "transactionId" }, - "id": 1386, + "id": 1395, "name": "Identifier", "src": "6129:13:7" } ], - "id": 1387, + "id": 1396, "name": "FunctionCall", "src": "6110:33:7" } ], - "id": 1388, + "id": 1397, "name": "ExpressionStatement", "src": "6110:33:7" } ], - "id": 1389, + "id": 1398, "name": "Block", "src": "5994:156:7" } ], - "id": 1390, + "id": 1399, "name": "FunctionDefinition", "src": "5806:344:7" }, @@ -7468,7 +7468,7 @@ "isConstructor": false, "name": "revokeConfirmation", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -7480,7 +7480,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1423, + "scope": 1432, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -7493,17 +7493,17 @@ "name": "uint", "type": "uint256" }, - "id": 1391, + "id": 1400, "name": "ElementaryTypeName", "src": "6302:4:7" } ], - "id": 1392, + "id": 1401, "name": "VariableDeclaration", "src": "6302:18:7" } ], - "id": 1393, + "id": 1402, "name": "ParameterList", "src": "6301:20:7" }, @@ -7514,7 +7514,7 @@ ] }, "children": [], - "id": 1406, + "id": 1415, "name": "ParameterList", "src": "6453:0:7" }, @@ -7526,11 +7526,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 974, + "referencedDeclaration": 983, "type": "modifier (address)", "value": "ownerExists" }, - "id": 1394, + "id": 1403, "name": "Identifier", "src": "6345:11:7" }, @@ -7552,21 +7552,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1395, + "id": 1404, "name": "Identifier", "src": "6357:3:7" } ], - "id": 1396, + "id": 1405, "name": "MemberAccess", "src": "6357:10:7" } ], - "id": 1397, + "id": 1406, "name": "ModifierInvocation", "src": "6345:23:7" }, @@ -7578,11 +7578,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1004, + "referencedDeclaration": 1013, "type": "modifier (uint256,address)", "value": "confirmed" }, - "id": 1398, + "id": 1407, "name": "Identifier", "src": "6377:9:7" }, @@ -7592,11 +7592,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1392, + "referencedDeclaration": 1401, "type": "uint256", "value": "transactionId" }, - "id": 1399, + "id": 1408, "name": "Identifier", "src": "6387:13:7" }, @@ -7618,21 +7618,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1400, + "id": 1409, "name": "Identifier", "src": "6402:3:7" } ], - "id": 1401, + "id": 1410, "name": "MemberAccess", "src": "6402:10:7" } ], - "id": 1402, + "id": 1411, "name": "ModifierInvocation", "src": "6377:36:7" }, @@ -7644,11 +7644,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1031, + "referencedDeclaration": 1040, "type": "modifier (uint256)", "value": "notExecuted" }, - "id": 1403, + "id": 1412, "name": "Identifier", "src": "6422:11:7" }, @@ -7658,16 +7658,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1392, + "referencedDeclaration": 1401, "type": "uint256", "value": "transactionId" }, - "id": 1404, + "id": 1413, "name": "Identifier", "src": "6434:13:7" } ], - "id": 1405, + "id": 1414, "name": "ModifierInvocation", "src": "6422:26:7" }, @@ -7712,11 +7712,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1407, + "id": 1416, "name": "Identifier", "src": "6463:13:7" }, @@ -7726,16 +7726,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1392, + "referencedDeclaration": 1401, "type": "uint256", "value": "transactionId" }, - "id": 1408, + "id": 1417, "name": "Identifier", "src": "6477:13:7" } ], - "id": 1411, + "id": 1420, "name": "IndexAccess", "src": "6463:28:7" }, @@ -7757,21 +7757,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1409, + "id": 1418, "name": "Identifier", "src": "6492:3:7" } ], - "id": 1410, + "id": 1419, "name": "MemberAccess", "src": "6492:10:7" } ], - "id": 1412, + "id": 1421, "name": "IndexAccess", "src": "6463:40:7" }, @@ -7788,17 +7788,17 @@ "type": "bool", "value": "false" }, - "id": 1413, + "id": 1422, "name": "Literal", "src": "6506:5:7" } ], - "id": 1414, + "id": 1423, "name": "Assignment", "src": "6463:48:7" } ], - "id": 1415, + "id": 1424, "name": "ExpressionStatement", "src": "6463:48:7" }, @@ -7834,11 +7834,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 879, + "referencedDeclaration": 888, "type": "function (address,uint256)", "value": "Revocation" }, - "id": 1416, + "id": 1425, "name": "Identifier", "src": "6521:10:7" }, @@ -7860,16 +7860,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3725, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1417, + "id": 1426, "name": "Identifier", "src": "6532:3:7" } ], - "id": 1418, + "id": 1427, "name": "MemberAccess", "src": "6532:10:7" }, @@ -7879,31 +7879,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1392, + "referencedDeclaration": 1401, "type": "uint256", "value": "transactionId" }, - "id": 1419, + "id": 1428, "name": "Identifier", "src": "6544:13:7" } ], - "id": 1420, + "id": 1429, "name": "FunctionCall", "src": "6521:37:7" } ], - "id": 1421, + "id": 1430, "name": "ExpressionStatement", "src": "6521:37:7" } ], - "id": 1422, + "id": 1431, "name": "Block", "src": "6453:112:7" } ], - "id": 1423, + "id": 1432, "name": "FunctionDefinition", "src": "6274:291:7" }, @@ -7914,7 +7914,7 @@ "isConstructor": false, "name": "executeTransaction", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -7926,7 +7926,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1475, + "scope": 1484, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -7939,17 +7939,17 @@ "name": "uint", "type": "uint256" }, - "id": 1424, + "id": 1433, "name": "ElementaryTypeName", "src": "6707:4:7" } ], - "id": 1425, + "id": 1434, "name": "VariableDeclaration", "src": "6707:18:7" } ], - "id": 1426, + "id": 1435, "name": "ParameterList", "src": "6706:20:7" }, @@ -7960,7 +7960,7 @@ ] }, "children": [], - "id": 1430, + "id": 1439, "name": "ParameterList", "src": "6781:0:7" }, @@ -7972,11 +7972,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1031, + "referencedDeclaration": 1040, "type": "modifier (uint256)", "value": "notExecuted" }, - "id": 1427, + "id": 1436, "name": "Identifier", "src": "6750:11:7" }, @@ -7986,16 +7986,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1425, + "referencedDeclaration": 1434, "type": "uint256", "value": "transactionId" }, - "id": 1428, + "id": 1437, "name": "Identifier", "src": "6762:13:7" } ], - "id": 1429, + "id": 1438, "name": "ModifierInvocation", "src": "6750:26:7" }, @@ -8032,11 +8032,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1518, + "referencedDeclaration": 1527, "type": "function (uint256) view returns (bool)", "value": "isConfirmed" }, - "id": 1431, + "id": 1440, "name": "Identifier", "src": "6795:11:7" }, @@ -8046,16 +8046,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1425, + "referencedDeclaration": 1434, "type": "uint256", "value": "transactionId" }, - "id": 1432, + "id": 1441, "name": "Identifier", "src": "6807:13:7" } ], - "id": 1433, + "id": 1442, "name": "FunctionCall", "src": "6795:26:7" }, @@ -8064,7 +8064,7 @@ { "attributes": { "assignments": [ - 1435 + 1444 ] }, "children": [ @@ -8072,7 +8072,7 @@ "attributes": { "constant": false, "name": "tx", - "scope": 1475, + "scope": 1484, "stateVariable": false, "storageLocation": "default", "type": "struct MultiSigWallet.Transaction storage pointer", @@ -8084,15 +8084,15 @@ "attributes": { "contractScope": null, "name": "Transaction", - "referencedDeclaration": 939, + "referencedDeclaration": 948, "type": "struct MultiSigWallet.Transaction storage pointer" }, - "id": 1434, + "id": 1443, "name": "UserDefinedTypeName", "src": "6837:11:7" } ], - "id": 1435, + "id": 1444, "name": "VariableDeclaration", "src": "6837:14:7" }, @@ -8112,11 +8112,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1436, + "id": 1445, "name": "Identifier", "src": "6854:12:7" }, @@ -8126,21 +8126,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1425, + "referencedDeclaration": 1434, "type": "uint256", "value": "transactionId" }, - "id": 1437, + "id": 1446, "name": "Identifier", "src": "6867:13:7" } ], - "id": 1438, + "id": 1447, "name": "IndexAccess", "src": "6854:27:7" } ], - "id": 1439, + "id": 1448, "name": "VariableDeclarationStatement", "src": "6837:44:7" }, @@ -8165,7 +8165,7 @@ "isPure": false, "lValueRequested": true, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -8175,16 +8175,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1435, + "referencedDeclaration": 1444, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1440, + "id": 1449, "name": "Identifier", "src": "6895:2:7" } ], - "id": 1442, + "id": 1451, "name": "MemberAccess", "src": "6895:11:7" }, @@ -8201,17 +8201,17 @@ "type": "bool", "value": "true" }, - "id": 1443, + "id": 1452, "name": "Literal", "src": "6909:4:7" } ], - "id": 1444, + "id": 1453, "name": "Assignment", "src": "6895:18:7" } ], - "id": 1445, + "id": 1454, "name": "ExpressionStatement", "src": "6895:18:7" }, @@ -8289,7 +8289,7 @@ "isPure": false, "lValueRequested": false, "member_name": "destination", - "referencedDeclaration": 932, + "referencedDeclaration": 941, "type": "address" }, "children": [ @@ -8299,26 +8299,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1435, + "referencedDeclaration": 1444, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1446, + "id": 1455, "name": "Identifier", "src": "6931:2:7" } ], - "id": 1447, + "id": 1456, "name": "MemberAccess", "src": "6931:14:7" } ], - "id": 1448, + "id": 1457, "name": "MemberAccess", "src": "6931:19:7" } ], - "id": 1449, + "id": 1458, "name": "MemberAccess", "src": "6931:25:7" }, @@ -8330,7 +8330,7 @@ "isPure": false, "lValueRequested": false, "member_name": "value", - "referencedDeclaration": 934, + "referencedDeclaration": 943, "type": "uint256" }, "children": [ @@ -8340,21 +8340,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1435, + "referencedDeclaration": 1444, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1450, + "id": 1459, "name": "Identifier", "src": "6957:2:7" } ], - "id": 1451, + "id": 1460, "name": "MemberAccess", "src": "6957:8:7" } ], - "id": 1452, + "id": 1461, "name": "FunctionCall", "src": "6931:35:7" }, @@ -8366,7 +8366,7 @@ "isPure": false, "lValueRequested": false, "member_name": "data", - "referencedDeclaration": 936, + "referencedDeclaration": 945, "type": "bytes storage ref" }, "children": [ @@ -8376,21 +8376,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1435, + "referencedDeclaration": 1444, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1453, + "id": 1462, "name": "Identifier", "src": "6967:2:7" } ], - "id": 1454, + "id": 1463, "name": "MemberAccess", "src": "6967:7:7" } ], - "id": 1455, + "id": 1464, "name": "FunctionCall", "src": "6931:44:7" }, @@ -8422,11 +8422,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 896, "type": "function (uint256)", "value": "Execution" }, - "id": 1456, + "id": 1465, "name": "Identifier", "src": "6993:9:7" }, @@ -8436,21 +8436,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1425, + "referencedDeclaration": 1434, "type": "uint256", "value": "transactionId" }, - "id": 1457, + "id": 1466, "name": "Identifier", "src": "7003:13:7" } ], - "id": 1458, + "id": 1467, "name": "FunctionCall", "src": "6993:24:7" } ], - "id": 1459, + "id": 1468, "name": "ExpressionStatement", "src": "6993:24:7" }, @@ -8484,11 +8484,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 891, + "referencedDeclaration": 900, "type": "function (uint256)", "value": "ExecutionFailure" }, - "id": 1460, + "id": 1469, "name": "Identifier", "src": "7054:16:7" }, @@ -8498,21 +8498,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1425, + "referencedDeclaration": 1434, "type": "uint256", "value": "transactionId" }, - "id": 1461, + "id": 1470, "name": "Identifier", "src": "7071:13:7" } ], - "id": 1462, + "id": 1471, "name": "FunctionCall", "src": "7054:31:7" } ], - "id": 1463, + "id": 1472, "name": "ExpressionStatement", "src": "7054:31:7" }, @@ -8537,7 +8537,7 @@ "isPure": false, "lValueRequested": true, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -8547,16 +8547,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1435, + "referencedDeclaration": 1444, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1464, + "id": 1473, "name": "Identifier", "src": "7103:2:7" } ], - "id": 1466, + "id": 1475, "name": "MemberAccess", "src": "7103:11:7" }, @@ -8573,47 +8573,47 @@ "type": "bool", "value": "false" }, - "id": 1467, + "id": 1476, "name": "Literal", "src": "7117:5:7" } ], - "id": 1468, + "id": 1477, "name": "Assignment", "src": "7103:19:7" } ], - "id": 1469, + "id": 1478, "name": "ExpressionStatement", "src": "7103:19:7" } ], - "id": 1470, + "id": 1479, "name": "Block", "src": "7036:101:7" } ], - "id": 1471, + "id": 1480, "name": "IfStatement", "src": "6927:210:7" } ], - "id": 1472, + "id": 1481, "name": "Block", "src": "6823:324:7" } ], - "id": 1473, + "id": 1482, "name": "IfStatement", "src": "6791:356:7" } ], - "id": 1474, + "id": 1483, "name": "Block", "src": "6781:372:7" } ], - "id": 1475, + "id": 1484, "name": "FunctionDefinition", "src": "6679:474:7" }, @@ -8627,7 +8627,7 @@ ], "name": "isConfirmed", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -8639,7 +8639,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1518, + "scope": 1527, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -8652,17 +8652,17 @@ "name": "uint", "type": "uint256" }, - "id": 1476, + "id": 1485, "name": "ElementaryTypeName", "src": "7325:4:7" } ], - "id": 1477, + "id": 1486, "name": "VariableDeclaration", "src": "7325:18:7" } ], - "id": 1478, + "id": 1487, "name": "ParameterList", "src": "7324:20:7" }, @@ -8672,7 +8672,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1518, + "scope": 1527, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -8685,17 +8685,17 @@ "name": "bool", "type": "bool" }, - "id": 1479, + "id": 1488, "name": "ElementaryTypeName", "src": "7394:4:7" } ], - "id": 1480, + "id": 1489, "name": "VariableDeclaration", "src": "7394:4:7" } ], - "id": 1481, + "id": 1490, "name": "ParameterList", "src": "7393:6:7" }, @@ -8704,7 +8704,7 @@ { "attributes": { "assignments": [ - 1483 + 1492 ] }, "children": [ @@ -8712,7 +8712,7 @@ "attributes": { "constant": false, "name": "count", - "scope": 1518, + "scope": 1527, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -8725,12 +8725,12 @@ "name": "uint", "type": "uint256" }, - "id": 1482, + "id": 1491, "name": "ElementaryTypeName", "src": "7414:4:7" } ], - "id": 1483, + "id": 1492, "name": "VariableDeclaration", "src": "7414:10:7" }, @@ -8747,12 +8747,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1484, + "id": 1493, "name": "Literal", "src": "7427:1:7" } ], - "id": 1485, + "id": 1494, "name": "VariableDeclarationStatement", "src": "7414:14:7" }, @@ -8761,7 +8761,7 @@ { "attributes": { "assignments": [ - 1487 + 1496 ] }, "children": [ @@ -8769,7 +8769,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1518, + "scope": 1527, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -8782,12 +8782,12 @@ "name": "uint", "type": "uint256" }, - "id": 1486, + "id": 1495, "name": "ElementaryTypeName", "src": "7443:4:7" } ], - "id": 1487, + "id": 1496, "name": "VariableDeclaration", "src": "7443:6:7" }, @@ -8804,12 +8804,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1488, + "id": 1497, "name": "Literal", "src": "7450:1:7" } ], - "id": 1489, + "id": 1498, "name": "VariableDeclarationStatement", "src": "7443:8:7" }, @@ -8834,11 +8834,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1487, + "referencedDeclaration": 1496, "type": "uint256", "value": "i" }, - "id": 1490, + "id": 1499, "name": "Identifier", "src": "7453:1:7" }, @@ -8860,21 +8860,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1491, + "id": 1500, "name": "Identifier", "src": "7455:6:7" } ], - "id": 1492, + "id": 1501, "name": "MemberAccess", "src": "7455:13:7" } ], - "id": 1493, + "id": 1502, "name": "BinaryOperation", "src": "7453:15:7" }, @@ -8898,21 +8898,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1487, + "referencedDeclaration": 1496, "type": "uint256", "value": "i" }, - "id": 1494, + "id": 1503, "name": "Identifier", "src": "7470:1:7" } ], - "id": 1495, + "id": 1504, "name": "UnaryOperation", "src": "7470:3:7" } ], - "id": 1496, + "id": 1505, "name": "ExpressionStatement", "src": "7470:3:7" }, @@ -8949,11 +8949,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1497, + "id": 1506, "name": "Identifier", "src": "7493:13:7" }, @@ -8963,16 +8963,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1477, + "referencedDeclaration": 1486, "type": "uint256", "value": "transactionId" }, - "id": 1498, + "id": 1507, "name": "Identifier", "src": "7507:13:7" } ], - "id": 1499, + "id": 1508, "name": "IndexAccess", "src": "7493:28:7" }, @@ -8992,11 +8992,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1500, + "id": 1509, "name": "Identifier", "src": "7522:6:7" }, @@ -9006,21 +9006,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1487, + "referencedDeclaration": 1496, "type": "uint256", "value": "i" }, - "id": 1501, + "id": 1510, "name": "Identifier", "src": "7529:1:7" } ], - "id": 1502, + "id": 1511, "name": "IndexAccess", "src": "7522:9:7" } ], - "id": 1503, + "id": 1512, "name": "IndexAccess", "src": "7493:39:7" }, @@ -9043,11 +9043,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1483, + "referencedDeclaration": 1492, "type": "uint256", "value": "count" }, - "id": 1504, + "id": 1513, "name": "Identifier", "src": "7550:5:7" }, @@ -9064,22 +9064,22 @@ "type": "int_const 1", "value": "1" }, - "id": 1505, + "id": 1514, "name": "Literal", "src": "7559:1:7" } ], - "id": 1506, + "id": 1515, "name": "Assignment", "src": "7550:10:7" } ], - "id": 1507, + "id": 1516, "name": "ExpressionStatement", "src": "7550:10:7" } ], - "id": 1508, + "id": 1517, "name": "IfStatement", "src": "7489:71:7" }, @@ -9109,11 +9109,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1483, + "referencedDeclaration": 1492, "type": "uint256", "value": "count" }, - "id": 1509, + "id": 1518, "name": "Identifier", "src": "7578:5:7" }, @@ -9123,22 +9123,22 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 928, + "referencedDeclaration": 937, "type": "uint256", "value": "required" }, - "id": 1510, + "id": 1519, "name": "Identifier", "src": "7587:8:7" } ], - "id": 1511, + "id": 1520, "name": "BinaryOperation", "src": "7578:17:7" }, { "attributes": { - "functionReturnParameters": 1481 + "functionReturnParameters": 1490 }, "children": [ { @@ -9154,37 +9154,37 @@ "type": "bool", "value": "true" }, - "id": 1512, + "id": 1521, "name": "Literal", "src": "7620:4:7" } ], - "id": 1513, + "id": 1522, "name": "Return", "src": "7613:11:7" } ], - "id": 1514, + "id": 1523, "name": "IfStatement", "src": "7574:50:7" } ], - "id": 1515, + "id": 1524, "name": "Block", "src": "7475:160:7" } ], - "id": 1516, + "id": 1525, "name": "ForStatement", "src": "7438:197:7" } ], - "id": 1517, + "id": 1526, "name": "Block", "src": "7404:237:7" } ], - "id": 1518, + "id": 1527, "name": "FunctionDefinition", "src": "7304:337:7" }, @@ -9195,7 +9195,7 @@ "isConstructor": false, "name": "addTransaction", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -9207,7 +9207,7 @@ "attributes": { "constant": false, "name": "destination", - "scope": 1556, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -9220,12 +9220,12 @@ "name": "address", "type": "address" }, - "id": 1519, + "id": 1528, "name": "ElementaryTypeName", "src": "7998:7:7" } ], - "id": 1520, + "id": 1529, "name": "VariableDeclaration", "src": "7998:19:7" }, @@ -9233,7 +9233,7 @@ "attributes": { "constant": false, "name": "value", - "scope": 1556, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -9246,12 +9246,12 @@ "name": "uint", "type": "uint256" }, - "id": 1521, + "id": 1530, "name": "ElementaryTypeName", "src": "8019:4:7" } ], - "id": 1522, + "id": 1531, "name": "VariableDeclaration", "src": "8019:10:7" }, @@ -9259,7 +9259,7 @@ "attributes": { "constant": false, "name": "data", - "scope": 1556, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "bytes memory", @@ -9272,17 +9272,17 @@ "name": "bytes", "type": "bytes storage pointer" }, - "id": 1523, + "id": 1532, "name": "ElementaryTypeName", "src": "8031:5:7" } ], - "id": 1524, + "id": 1533, "name": "VariableDeclaration", "src": "8031:10:7" } ], - "id": 1525, + "id": 1534, "name": "ParameterList", "src": "7997:45:7" }, @@ -9292,7 +9292,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1556, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -9305,17 +9305,17 @@ "name": "uint", "type": "uint256" }, - "id": 1529, + "id": 1538, "name": "ElementaryTypeName", "src": "8106:4:7" } ], - "id": 1530, + "id": 1539, "name": "VariableDeclaration", "src": "8106:18:7" } ], - "id": 1531, + "id": 1540, "name": "ParameterList", "src": "8105:20:7" }, @@ -9327,11 +9327,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1042, + "referencedDeclaration": 1051, "type": "modifier (address)", "value": "notNull" }, - "id": 1526, + "id": 1535, "name": "Identifier", "src": "8068:7:7" }, @@ -9341,16 +9341,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1520, + "referencedDeclaration": 1529, "type": "address", "value": "destination" }, - "id": 1527, + "id": 1536, "name": "Identifier", "src": "8076:11:7" } ], - "id": 1528, + "id": 1537, "name": "ModifierInvocation", "src": "8068:20:7" }, @@ -9375,11 +9375,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1530, + "referencedDeclaration": 1539, "type": "uint256", "value": "transactionId" }, - "id": 1532, + "id": 1541, "name": "Identifier", "src": "8140:13:7" }, @@ -9389,21 +9389,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 930, + "referencedDeclaration": 939, "type": "uint256", "value": "transactionCount" }, - "id": 1533, + "id": 1542, "name": "Identifier", "src": "8156:16:7" } ], - "id": 1534, + "id": 1543, "name": "Assignment", "src": "8140:32:7" } ], - "id": 1535, + "id": 1544, "name": "ExpressionStatement", "src": "8140:32:7" }, @@ -9436,11 +9436,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1536, + "id": 1545, "name": "Identifier", "src": "8182:12:7" }, @@ -9450,16 +9450,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1530, + "referencedDeclaration": 1539, "type": "uint256", "value": "transactionId" }, - "id": 1537, + "id": 1546, "name": "Identifier", "src": "8195:13:7" } ], - "id": 1538, + "id": 1547, "name": "IndexAccess", "src": "8182:27:7" }, @@ -9487,11 +9487,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 948, "type": "type(struct MultiSigWallet.Transaction storage pointer)", "value": "Transaction" }, - "id": 1539, + "id": 1548, "name": "Identifier", "src": "8212:11:7" }, @@ -9501,11 +9501,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1520, + "referencedDeclaration": 1529, "type": "address", "value": "destination" }, - "id": 1540, + "id": 1549, "name": "Identifier", "src": "8251:11:7" }, @@ -9515,11 +9515,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1522, + "referencedDeclaration": 1531, "type": "uint256", "value": "value" }, - "id": 1541, + "id": 1550, "name": "Identifier", "src": "8283:5:7" }, @@ -9529,11 +9529,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1524, + "referencedDeclaration": 1533, "type": "bytes memory", "value": "data" }, - "id": 1542, + "id": 1551, "name": "Identifier", "src": "8308:4:7" }, @@ -9550,22 +9550,22 @@ "type": "bool", "value": "false" }, - "id": 1543, + "id": 1552, "name": "Literal", "src": "8336:5:7" } ], - "id": 1544, + "id": 1553, "name": "FunctionCall", "src": "8212:140:7" } ], - "id": 1545, + "id": 1554, "name": "Assignment", "src": "8182:170:7" } ], - "id": 1546, + "id": 1555, "name": "ExpressionStatement", "src": "8182:170:7" }, @@ -9588,11 +9588,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 930, + "referencedDeclaration": 939, "type": "uint256", "value": "transactionCount" }, - "id": 1547, + "id": 1556, "name": "Identifier", "src": "8362:16:7" }, @@ -9609,17 +9609,17 @@ "type": "int_const 1", "value": "1" }, - "id": 1548, + "id": 1557, "name": "Literal", "src": "8382:1:7" } ], - "id": 1549, + "id": 1558, "name": "Assignment", "src": "8362:21:7" } ], - "id": 1550, + "id": 1559, "name": "ExpressionStatement", "src": "8362:21:7" }, @@ -9651,11 +9651,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 883, + "referencedDeclaration": 892, "type": "function (uint256)", "value": "Submission" }, - "id": 1551, + "id": 1560, "name": "Identifier", "src": "8393:10:7" }, @@ -9665,31 +9665,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1530, + "referencedDeclaration": 1539, "type": "uint256", "value": "transactionId" }, - "id": 1552, + "id": 1561, "name": "Identifier", "src": "8404:13:7" } ], - "id": 1553, + "id": 1562, "name": "FunctionCall", "src": "8393:25:7" } ], - "id": 1554, + "id": 1563, "name": "ExpressionStatement", "src": "8393:25:7" } ], - "id": 1555, + "id": 1564, "name": "Block", "src": "8130:295:7" } ], - "id": 1556, + "id": 1565, "name": "FunctionDefinition", "src": "7974:451:7" }, @@ -9703,7 +9703,7 @@ ], "name": "getConfirmationCount", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -9715,7 +9715,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1588, + "scope": 1597, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -9728,17 +9728,17 @@ "name": "uint", "type": "uint256" }, - "id": 1557, + "id": 1566, "name": "ElementaryTypeName", "src": "8652:4:7" } ], - "id": 1558, + "id": 1567, "name": "VariableDeclaration", "src": "8652:18:7" } ], - "id": 1559, + "id": 1568, "name": "ParameterList", "src": "8651:20:7" }, @@ -9748,7 +9748,7 @@ "attributes": { "constant": false, "name": "count", - "scope": 1588, + "scope": 1597, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -9761,17 +9761,17 @@ "name": "uint", "type": "uint256" }, - "id": 1560, + "id": 1569, "name": "ElementaryTypeName", "src": "8721:4:7" } ], - "id": 1561, + "id": 1570, "name": "VariableDeclaration", "src": "8721:10:7" } ], - "id": 1562, + "id": 1571, "name": "ParameterList", "src": "8720:12:7" }, @@ -9782,7 +9782,7 @@ { "attributes": { "assignments": [ - 1564 + 1573 ] }, "children": [ @@ -9790,7 +9790,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1588, + "scope": 1597, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -9803,12 +9803,12 @@ "name": "uint", "type": "uint256" }, - "id": 1563, + "id": 1572, "name": "ElementaryTypeName", "src": "8752:4:7" } ], - "id": 1564, + "id": 1573, "name": "VariableDeclaration", "src": "8752:6:7" }, @@ -9825,12 +9825,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1565, + "id": 1574, "name": "Literal", "src": "8759:1:7" } ], - "id": 1566, + "id": 1575, "name": "VariableDeclarationStatement", "src": "8752:8:7" }, @@ -9855,11 +9855,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1573, "type": "uint256", "value": "i" }, - "id": 1567, + "id": 1576, "name": "Identifier", "src": "8762:1:7" }, @@ -9881,21 +9881,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1568, + "id": 1577, "name": "Identifier", "src": "8764:6:7" } ], - "id": 1569, + "id": 1578, "name": "MemberAccess", "src": "8764:13:7" } ], - "id": 1570, + "id": 1579, "name": "BinaryOperation", "src": "8762:15:7" }, @@ -9919,21 +9919,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1573, "type": "uint256", "value": "i" }, - "id": 1571, + "id": 1580, "name": "Identifier", "src": "8779:1:7" } ], - "id": 1572, + "id": 1581, "name": "UnaryOperation", "src": "8779:3:7" } ], - "id": 1573, + "id": 1582, "name": "ExpressionStatement", "src": "8779:3:7" }, @@ -9968,11 +9968,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1574, + "id": 1583, "name": "Identifier", "src": "8800:13:7" }, @@ -9982,16 +9982,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1558, + "referencedDeclaration": 1567, "type": "uint256", "value": "transactionId" }, - "id": 1575, + "id": 1584, "name": "Identifier", "src": "8814:13:7" } ], - "id": 1576, + "id": 1585, "name": "IndexAccess", "src": "8800:28:7" }, @@ -10011,11 +10011,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1577, + "id": 1586, "name": "Identifier", "src": "8829:6:7" }, @@ -10025,21 +10025,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1573, "type": "uint256", "value": "i" }, - "id": 1578, + "id": 1587, "name": "Identifier", "src": "8836:1:7" } ], - "id": 1579, + "id": 1588, "name": "IndexAccess", "src": "8829:9:7" } ], - "id": 1580, + "id": 1589, "name": "IndexAccess", "src": "8800:39:7" }, @@ -10062,11 +10062,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1570, "type": "uint256", "value": "count" }, - "id": 1581, + "id": 1590, "name": "Identifier", "src": "8857:5:7" }, @@ -10083,37 +10083,37 @@ "type": "int_const 1", "value": "1" }, - "id": 1582, + "id": 1591, "name": "Literal", "src": "8866:1:7" } ], - "id": 1583, + "id": 1592, "name": "Assignment", "src": "8857:10:7" } ], - "id": 1584, + "id": 1593, "name": "ExpressionStatement", "src": "8857:10:7" } ], - "id": 1585, + "id": 1594, "name": "IfStatement", "src": "8796:71:7" } ], - "id": 1586, + "id": 1595, "name": "ForStatement", "src": "8747:120:7" } ], - "id": 1587, + "id": 1596, "name": "Block", "src": "8737:137:7" } ], - "id": 1588, + "id": 1597, "name": "FunctionDefinition", "src": "8622:252:7" }, @@ -10127,7 +10127,7 @@ ], "name": "getTransactionCount", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -10139,7 +10139,7 @@ "attributes": { "constant": false, "name": "pending", - "scope": 1628, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -10152,12 +10152,12 @@ "name": "bool", "type": "bool" }, - "id": 1589, + "id": 1598, "name": "ElementaryTypeName", "src": "9165:4:7" } ], - "id": 1590, + "id": 1599, "name": "VariableDeclaration", "src": "9165:12:7" }, @@ -10165,7 +10165,7 @@ "attributes": { "constant": false, "name": "executed", - "scope": 1628, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -10178,17 +10178,17 @@ "name": "bool", "type": "bool" }, - "id": 1591, + "id": 1600, "name": "ElementaryTypeName", "src": "9179:4:7" } ], - "id": 1592, + "id": 1601, "name": "VariableDeclaration", "src": "9179:13:7" } ], - "id": 1593, + "id": 1602, "name": "ParameterList", "src": "9164:29:7" }, @@ -10198,7 +10198,7 @@ "attributes": { "constant": false, "name": "count", - "scope": 1628, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -10211,17 +10211,17 @@ "name": "uint", "type": "uint256" }, - "id": 1594, + "id": 1603, "name": "ElementaryTypeName", "src": "9243:4:7" } ], - "id": 1595, + "id": 1604, "name": "VariableDeclaration", "src": "9243:10:7" } ], - "id": 1596, + "id": 1605, "name": "ParameterList", "src": "9242:12:7" }, @@ -10232,7 +10232,7 @@ { "attributes": { "assignments": [ - 1598 + 1607 ] }, "children": [ @@ -10240,7 +10240,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1628, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -10253,12 +10253,12 @@ "name": "uint", "type": "uint256" }, - "id": 1597, + "id": 1606, "name": "ElementaryTypeName", "src": "9274:4:7" } ], - "id": 1598, + "id": 1607, "name": "VariableDeclaration", "src": "9274:6:7" }, @@ -10275,12 +10275,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1599, + "id": 1608, "name": "Literal", "src": "9281:1:7" } ], - "id": 1600, + "id": 1609, "name": "VariableDeclarationStatement", "src": "9274:8:7" }, @@ -10305,11 +10305,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1598, + "referencedDeclaration": 1607, "type": "uint256", "value": "i" }, - "id": 1601, + "id": 1610, "name": "Identifier", "src": "9284:1:7" }, @@ -10319,16 +10319,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 930, + "referencedDeclaration": 939, "type": "uint256", "value": "transactionCount" }, - "id": 1602, + "id": 1611, "name": "Identifier", "src": "9286:16:7" } ], - "id": 1603, + "id": 1612, "name": "BinaryOperation", "src": "9284:18:7" }, @@ -10352,21 +10352,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1598, + "referencedDeclaration": 1607, "type": "uint256", "value": "i" }, - "id": 1604, + "id": 1613, "name": "Identifier", "src": "9304:1:7" } ], - "id": 1605, + "id": 1614, "name": "UnaryOperation", "src": "9304:3:7" } ], - "id": 1606, + "id": 1615, "name": "ExpressionStatement", "src": "9304:3:7" }, @@ -10411,11 +10411,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1590, + "referencedDeclaration": 1599, "type": "bool", "value": "pending" }, - "id": 1607, + "id": 1616, "name": "Identifier", "src": "9328:7:7" }, @@ -10439,7 +10439,7 @@ "isPure": false, "lValueRequested": false, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -10459,11 +10459,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1608, + "id": 1617, "name": "Identifier", "src": "9340:12:7" }, @@ -10473,31 +10473,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1598, + "referencedDeclaration": 1607, "type": "uint256", "value": "i" }, - "id": 1609, + "id": 1618, "name": "Identifier", "src": "9353:1:7" } ], - "id": 1610, + "id": 1619, "name": "IndexAccess", "src": "9340:15:7" } ], - "id": 1611, + "id": 1620, "name": "MemberAccess", "src": "9340:24:7" } ], - "id": 1612, + "id": 1621, "name": "UnaryOperation", "src": "9339:25:7" } ], - "id": 1613, + "id": 1622, "name": "BinaryOperation", "src": "9328:36:7" }, @@ -10522,11 +10522,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1601, "type": "bool", "value": "executed" }, - "id": 1614, + "id": 1623, "name": "Identifier", "src": "9384:8:7" }, @@ -10538,7 +10538,7 @@ "isPure": false, "lValueRequested": false, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -10558,11 +10558,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1615, + "id": 1624, "name": "Identifier", "src": "9396:12:7" }, @@ -10572,31 +10572,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1598, + "referencedDeclaration": 1607, "type": "uint256", "value": "i" }, - "id": 1616, + "id": 1625, "name": "Identifier", "src": "9409:1:7" } ], - "id": 1617, + "id": 1626, "name": "IndexAccess", "src": "9396:15:7" } ], - "id": 1618, + "id": 1627, "name": "MemberAccess", "src": "9396:24:7" } ], - "id": 1619, + "id": 1628, "name": "BinaryOperation", "src": "9384:36:7" } ], - "id": 1620, + "id": 1629, "name": "BinaryOperation", "src": "9328:92:7" }, @@ -10619,11 +10619,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1604, "type": "uint256", "value": "count" }, - "id": 1621, + "id": 1630, "name": "Identifier", "src": "9438:5:7" }, @@ -10640,37 +10640,37 @@ "type": "int_const 1", "value": "1" }, - "id": 1622, + "id": 1631, "name": "Literal", "src": "9447:1:7" } ], - "id": 1623, + "id": 1632, "name": "Assignment", "src": "9438:10:7" } ], - "id": 1624, + "id": 1633, "name": "ExpressionStatement", "src": "9438:10:7" } ], - "id": 1625, + "id": 1634, "name": "IfStatement", "src": "9321:127:7" } ], - "id": 1626, + "id": 1635, "name": "ForStatement", "src": "9269:179:7" } ], - "id": 1627, + "id": 1636, "name": "Block", "src": "9259:196:7" } ], - "id": 1628, + "id": 1637, "name": "FunctionDefinition", "src": "9136:319:7" }, @@ -10684,7 +10684,7 @@ ], "name": "getOwners", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -10697,7 +10697,7 @@ ] }, "children": [], - "id": 1629, + "id": 1638, "name": "ParameterList", "src": "9557:2:7" }, @@ -10707,7 +10707,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1637, + "scope": 1646, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -10726,22 +10726,22 @@ "name": "address", "type": "address" }, - "id": 1630, + "id": 1639, "name": "ElementaryTypeName", "src": "9609:7:7" } ], - "id": 1631, + "id": 1640, "name": "ArrayTypeName", "src": "9609:9:7" } ], - "id": 1632, + "id": 1641, "name": "VariableDeclaration", "src": "9609:9:7" } ], - "id": 1633, + "id": 1642, "name": "ParameterList", "src": "9608:11:7" }, @@ -10749,7 +10749,7 @@ "children": [ { "attributes": { - "functionReturnParameters": 1633 + "functionReturnParameters": 1642 }, "children": [ { @@ -10758,26 +10758,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1634, + "id": 1643, "name": "Identifier", "src": "9641:6:7" } ], - "id": 1635, + "id": 1644, "name": "Return", "src": "9634:13:7" } ], - "id": 1636, + "id": 1645, "name": "Block", "src": "9624:30:7" } ], - "id": 1637, + "id": 1646, "name": "FunctionDefinition", "src": "9539:115:7" }, @@ -10791,7 +10791,7 @@ ], "name": "getConfirmations", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -10803,7 +10803,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1724, + "scope": 1733, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -10816,17 +10816,17 @@ "name": "uint", "type": "uint256" }, - "id": 1638, + "id": 1647, "name": "ElementaryTypeName", "src": "9859:4:7" } ], - "id": 1639, + "id": 1648, "name": "VariableDeclaration", "src": "9859:18:7" } ], - "id": 1640, + "id": 1649, "name": "ParameterList", "src": "9858:20:7" }, @@ -10836,7 +10836,7 @@ "attributes": { "constant": false, "name": "_confirmations", - "scope": 1724, + "scope": 1733, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -10855,22 +10855,22 @@ "name": "address", "type": "address" }, - "id": 1641, + "id": 1650, "name": "ElementaryTypeName", "src": "9928:7:7" } ], - "id": 1642, + "id": 1651, "name": "ArrayTypeName", "src": "9928:9:7" } ], - "id": 1643, + "id": 1652, "name": "VariableDeclaration", "src": "9928:24:7" } ], - "id": 1644, + "id": 1653, "name": "ParameterList", "src": "9927:26:7" }, @@ -10879,7 +10879,7 @@ { "attributes": { "assignments": [ - 1648 + 1657 ] }, "children": [ @@ -10887,7 +10887,7 @@ "attributes": { "constant": false, "name": "confirmationsTemp", - "scope": 1724, + "scope": 1733, "stateVariable": false, "storageLocation": "memory", "type": "address[] memory", @@ -10906,17 +10906,17 @@ "name": "address", "type": "address" }, - "id": 1646, + "id": 1655, "name": "ElementaryTypeName", "src": "9968:7:7" } ], - "id": 1647, + "id": 1656, "name": "ArrayTypeName", "src": "9968:9:7" } ], - "id": 1648, + "id": 1657, "name": "VariableDeclaration", "src": "9968:34:7" }, @@ -10961,17 +10961,17 @@ "name": "address", "type": "address" }, - "id": 1649, + "id": 1658, "name": "ElementaryTypeName", "src": "10009:7:7" } ], - "id": 1650, + "id": 1659, "name": "ArrayTypeName", "src": "10009:9:7" } ], - "id": 1651, + "id": 1660, "name": "NewExpression", "src": "10005:13:7" }, @@ -10993,33 +10993,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1652, + "id": 1661, "name": "Identifier", "src": "10019:6:7" } ], - "id": 1653, + "id": 1662, "name": "MemberAccess", "src": "10019:13:7" } ], - "id": 1654, + "id": 1663, "name": "FunctionCall", "src": "10005:28:7" } ], - "id": 1655, + "id": 1664, "name": "VariableDeclarationStatement", "src": "9968:65:7" }, { "attributes": { "assignments": [ - 1657 + 1666 ] }, "children": [ @@ -11027,7 +11027,7 @@ "attributes": { "constant": false, "name": "count", - "scope": 1724, + "scope": 1733, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -11040,12 +11040,12 @@ "name": "uint", "type": "uint256" }, - "id": 1656, + "id": 1665, "name": "ElementaryTypeName", "src": "10043:4:7" } ], - "id": 1657, + "id": 1666, "name": "VariableDeclaration", "src": "10043:10:7" }, @@ -11062,12 +11062,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1658, + "id": 1667, "name": "Literal", "src": "10056:1:7" } ], - "id": 1659, + "id": 1668, "name": "VariableDeclarationStatement", "src": "10043:14:7" }, @@ -11083,7 +11083,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1724, + "scope": 1733, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -11096,17 +11096,17 @@ "name": "uint", "type": "uint256" }, - "id": 1660, + "id": 1669, "name": "ElementaryTypeName", "src": "10067:4:7" } ], - "id": 1661, + "id": 1670, "name": "VariableDeclaration", "src": "10067:6:7" } ], - "id": 1662, + "id": 1671, "name": "VariableDeclarationStatement", "src": "10067:6:7" }, @@ -11131,11 +11131,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1663, + "id": 1672, "name": "Identifier", "src": "10088:1:7" }, @@ -11152,17 +11152,17 @@ "type": "int_const 0", "value": "0" }, - "id": 1664, + "id": 1673, "name": "Literal", "src": "10090:1:7" } ], - "id": 1665, + "id": 1674, "name": "Assignment", "src": "10088:3:7" } ], - "id": 1666, + "id": 1675, "name": "ExpressionStatement", "src": "10088:3:7" }, @@ -11187,11 +11187,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1667, + "id": 1676, "name": "Identifier", "src": "10093:1:7" }, @@ -11213,21 +11213,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1668, + "id": 1677, "name": "Identifier", "src": "10095:6:7" } ], - "id": 1669, + "id": 1678, "name": "MemberAccess", "src": "10095:13:7" } ], - "id": 1670, + "id": 1679, "name": "BinaryOperation", "src": "10093:15:7" }, @@ -11251,21 +11251,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1671, + "id": 1680, "name": "Identifier", "src": "10110:1:7" } ], - "id": 1672, + "id": 1681, "name": "UnaryOperation", "src": "10110:3:7" } ], - "id": 1673, + "id": 1682, "name": "ExpressionStatement", "src": "10110:3:7" }, @@ -11300,11 +11300,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 919, + "referencedDeclaration": 928, "type": "mapping(uint256 => mapping(address => bool))", "value": "confirmations" }, - "id": 1674, + "id": 1683, "name": "Identifier", "src": "10131:13:7" }, @@ -11314,16 +11314,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1639, + "referencedDeclaration": 1648, "type": "uint256", "value": "transactionId" }, - "id": 1675, + "id": 1684, "name": "Identifier", "src": "10145:13:7" } ], - "id": 1676, + "id": 1685, "name": "IndexAccess", "src": "10131:28:7" }, @@ -11343,11 +11343,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1677, + "id": 1686, "name": "Identifier", "src": "10160:6:7" }, @@ -11357,21 +11357,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1678, + "id": 1687, "name": "Identifier", "src": "10167:1:7" } ], - "id": 1679, + "id": 1688, "name": "IndexAccess", "src": "10160:9:7" } ], - "id": 1680, + "id": 1689, "name": "IndexAccess", "src": "10131:39:7" }, @@ -11406,11 +11406,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1648, + "referencedDeclaration": 1657, "type": "address[] memory", "value": "confirmationsTemp" }, - "id": 1681, + "id": 1690, "name": "Identifier", "src": "10190:17:7" }, @@ -11420,16 +11420,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1666, "type": "uint256", "value": "count" }, - "id": 1682, + "id": 1691, "name": "Identifier", "src": "10208:5:7" } ], - "id": 1683, + "id": 1692, "name": "IndexAccess", "src": "10190:24:7" }, @@ -11449,11 +11449,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 926, + "referencedDeclaration": 935, "type": "address[] storage ref", "value": "owners" }, - "id": 1684, + "id": 1693, "name": "Identifier", "src": "10217:6:7" }, @@ -11463,26 +11463,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1685, + "id": 1694, "name": "Identifier", "src": "10224:1:7" } ], - "id": 1686, + "id": 1695, "name": "IndexAccess", "src": "10217:9:7" } ], - "id": 1687, + "id": 1696, "name": "Assignment", "src": "10190:36:7" } ], - "id": 1688, + "id": 1697, "name": "ExpressionStatement", "src": "10190:36:7" }, @@ -11505,11 +11505,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1666, "type": "uint256", "value": "count" }, - "id": 1689, + "id": 1698, "name": "Identifier", "src": "10244:5:7" }, @@ -11526,32 +11526,32 @@ "type": "int_const 1", "value": "1" }, - "id": 1690, + "id": 1699, "name": "Literal", "src": "10253:1:7" } ], - "id": 1691, + "id": 1700, "name": "Assignment", "src": "10244:10:7" } ], - "id": 1692, + "id": 1701, "name": "ExpressionStatement", "src": "10244:10:7" } ], - "id": 1693, + "id": 1702, "name": "Block", "src": "10172:97:7" } ], - "id": 1694, + "id": 1703, "name": "IfStatement", "src": "10127:142:7" } ], - "id": 1695, + "id": 1704, "name": "ForStatement", "src": "10083:186:7" }, @@ -11574,11 +11574,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1643, + "referencedDeclaration": 1652, "type": "address[] memory", "value": "_confirmations" }, - "id": 1696, + "id": 1705, "name": "Identifier", "src": "10278:14:7" }, @@ -11623,17 +11623,17 @@ "name": "address", "type": "address" }, - "id": 1697, + "id": 1706, "name": "ElementaryTypeName", "src": "10299:7:7" } ], - "id": 1698, + "id": 1707, "name": "ArrayTypeName", "src": "10299:9:7" } ], - "id": 1699, + "id": 1708, "name": "NewExpression", "src": "10295:13:7" }, @@ -11643,26 +11643,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1666, "type": "uint256", "value": "count" }, - "id": 1700, + "id": 1709, "name": "Identifier", "src": "10309:5:7" } ], - "id": 1701, + "id": 1710, "name": "FunctionCall", "src": "10295:20:7" } ], - "id": 1702, + "id": 1711, "name": "Assignment", "src": "10278:37:7" } ], - "id": 1703, + "id": 1712, "name": "ExpressionStatement", "src": "10278:37:7" }, @@ -11687,11 +11687,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1704, + "id": 1713, "name": "Identifier", "src": "10330:1:7" }, @@ -11708,17 +11708,17 @@ "type": "int_const 0", "value": "0" }, - "id": 1705, + "id": 1714, "name": "Literal", "src": "10332:1:7" } ], - "id": 1706, + "id": 1715, "name": "Assignment", "src": "10330:3:7" } ], - "id": 1707, + "id": 1716, "name": "ExpressionStatement", "src": "10330:3:7" }, @@ -11743,11 +11743,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1708, + "id": 1717, "name": "Identifier", "src": "10335:1:7" }, @@ -11757,16 +11757,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1666, "type": "uint256", "value": "count" }, - "id": 1709, + "id": 1718, "name": "Identifier", "src": "10337:5:7" } ], - "id": 1710, + "id": 1719, "name": "BinaryOperation", "src": "10335:7:7" }, @@ -11790,21 +11790,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1711, + "id": 1720, "name": "Identifier", "src": "10344:1:7" } ], - "id": 1712, + "id": 1721, "name": "UnaryOperation", "src": "10344:3:7" } ], - "id": 1713, + "id": 1722, "name": "ExpressionStatement", "src": "10344:3:7" }, @@ -11837,11 +11837,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1643, + "referencedDeclaration": 1652, "type": "address[] memory", "value": "_confirmations" }, - "id": 1714, + "id": 1723, "name": "Identifier", "src": "10361:14:7" }, @@ -11851,16 +11851,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1715, + "id": 1724, "name": "Identifier", "src": "10376:1:7" } ], - "id": 1716, + "id": 1725, "name": "IndexAccess", "src": "10361:17:7" }, @@ -11880,11 +11880,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1648, + "referencedDeclaration": 1657, "type": "address[] memory", "value": "confirmationsTemp" }, - "id": 1717, + "id": 1726, "name": "Identifier", "src": "10381:17:7" }, @@ -11894,41 +11894,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1661, + "referencedDeclaration": 1670, "type": "uint256", "value": "i" }, - "id": 1718, + "id": 1727, "name": "Identifier", "src": "10399:1:7" } ], - "id": 1719, + "id": 1728, "name": "IndexAccess", "src": "10381:20:7" } ], - "id": 1720, + "id": 1729, "name": "Assignment", "src": "10361:40:7" } ], - "id": 1721, + "id": 1730, "name": "ExpressionStatement", "src": "10361:40:7" } ], - "id": 1722, + "id": 1731, "name": "ForStatement", "src": "10325:76:7" } ], - "id": 1723, + "id": 1732, "name": "Block", "src": "9958:450:7" } ], - "id": 1724, + "id": 1733, "name": "FunctionDefinition", "src": "9833:575:7" }, @@ -11942,7 +11942,7 @@ ], "name": "getTransactionIds", "payable": false, - "scope": 1825, + "scope": 1834, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -11954,7 +11954,7 @@ "attributes": { "constant": false, "name": "from", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -11967,12 +11967,12 @@ "name": "uint", "type": "uint256" }, - "id": 1725, + "id": 1734, "name": "ElementaryTypeName", "src": "10784:4:7" } ], - "id": 1726, + "id": 1735, "name": "VariableDeclaration", "src": "10784:9:7" }, @@ -11980,7 +11980,7 @@ "attributes": { "constant": false, "name": "to", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -11993,12 +11993,12 @@ "name": "uint", "type": "uint256" }, - "id": 1727, + "id": 1736, "name": "ElementaryTypeName", "src": "10795:4:7" } ], - "id": 1728, + "id": 1737, "name": "VariableDeclaration", "src": "10795:7:7" }, @@ -12006,7 +12006,7 @@ "attributes": { "constant": false, "name": "pending", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -12019,12 +12019,12 @@ "name": "bool", "type": "bool" }, - "id": 1729, + "id": 1738, "name": "ElementaryTypeName", "src": "10804:4:7" } ], - "id": 1730, + "id": 1739, "name": "VariableDeclaration", "src": "10804:12:7" }, @@ -12032,7 +12032,7 @@ "attributes": { "constant": false, "name": "executed", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -12045,17 +12045,17 @@ "name": "bool", "type": "bool" }, - "id": 1731, + "id": 1740, "name": "ElementaryTypeName", "src": "10818:4:7" } ], - "id": 1732, + "id": 1741, "name": "VariableDeclaration", "src": "10818:13:7" } ], - "id": 1733, + "id": 1742, "name": "ParameterList", "src": "10783:49:7" }, @@ -12065,7 +12065,7 @@ "attributes": { "constant": false, "name": "_transactionIds", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "uint256[] memory", @@ -12084,22 +12084,22 @@ "name": "uint", "type": "uint256" }, - "id": 1734, + "id": 1743, "name": "ElementaryTypeName", "src": "10882:4:7" } ], - "id": 1735, + "id": 1744, "name": "ArrayTypeName", "src": "10882:6:7" } ], - "id": 1736, + "id": 1745, "name": "VariableDeclaration", "src": "10882:22:7" } ], - "id": 1737, + "id": 1746, "name": "ParameterList", "src": "10881:24:7" }, @@ -12108,7 +12108,7 @@ { "attributes": { "assignments": [ - 1741 + 1750 ] }, "children": [ @@ -12116,7 +12116,7 @@ "attributes": { "constant": false, "name": "transactionIdsTemp", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "memory", "type": "uint256[] memory", @@ -12135,17 +12135,17 @@ "name": "uint", "type": "uint256" }, - "id": 1739, + "id": 1748, "name": "ElementaryTypeName", "src": "10920:4:7" } ], - "id": 1740, + "id": 1749, "name": "ArrayTypeName", "src": "10920:6:7" } ], - "id": 1741, + "id": 1750, "name": "VariableDeclaration", "src": "10920:32:7" }, @@ -12190,17 +12190,17 @@ "name": "uint", "type": "uint256" }, - "id": 1742, + "id": 1751, "name": "ElementaryTypeName", "src": "10959:4:7" } ], - "id": 1743, + "id": 1752, "name": "ArrayTypeName", "src": "10959:6:7" } ], - "id": 1744, + "id": 1753, "name": "NewExpression", "src": "10955:10:7" }, @@ -12210,28 +12210,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 930, + "referencedDeclaration": 939, "type": "uint256", "value": "transactionCount" }, - "id": 1745, + "id": 1754, "name": "Identifier", "src": "10966:16:7" } ], - "id": 1746, + "id": 1755, "name": "FunctionCall", "src": "10955:28:7" } ], - "id": 1747, + "id": 1756, "name": "VariableDeclarationStatement", "src": "10920:63:7" }, { "attributes": { "assignments": [ - 1749 + 1758 ] }, "children": [ @@ -12239,7 +12239,7 @@ "attributes": { "constant": false, "name": "count", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -12252,12 +12252,12 @@ "name": "uint", "type": "uint256" }, - "id": 1748, + "id": 1757, "name": "ElementaryTypeName", "src": "10993:4:7" } ], - "id": 1749, + "id": 1758, "name": "VariableDeclaration", "src": "10993:10:7" }, @@ -12274,12 +12274,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1750, + "id": 1759, "name": "Literal", "src": "11006:1:7" } ], - "id": 1751, + "id": 1760, "name": "VariableDeclarationStatement", "src": "10993:14:7" }, @@ -12295,7 +12295,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1824, + "scope": 1833, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -12308,17 +12308,17 @@ "name": "uint", "type": "uint256" }, - "id": 1752, + "id": 1761, "name": "ElementaryTypeName", "src": "11017:4:7" } ], - "id": 1753, + "id": 1762, "name": "VariableDeclaration", "src": "11017:6:7" } ], - "id": 1754, + "id": 1763, "name": "VariableDeclarationStatement", "src": "11017:6:7" }, @@ -12343,11 +12343,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1755, + "id": 1764, "name": "Identifier", "src": "11038:1:7" }, @@ -12364,17 +12364,17 @@ "type": "int_const 0", "value": "0" }, - "id": 1756, + "id": 1765, "name": "Literal", "src": "11040:1:7" } ], - "id": 1757, + "id": 1766, "name": "Assignment", "src": "11038:3:7" } ], - "id": 1758, + "id": 1767, "name": "ExpressionStatement", "src": "11038:3:7" }, @@ -12399,11 +12399,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1759, + "id": 1768, "name": "Identifier", "src": "11043:1:7" }, @@ -12413,16 +12413,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 930, + "referencedDeclaration": 939, "type": "uint256", "value": "transactionCount" }, - "id": 1760, + "id": 1769, "name": "Identifier", "src": "11045:16:7" } ], - "id": 1761, + "id": 1770, "name": "BinaryOperation", "src": "11043:18:7" }, @@ -12446,21 +12446,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1762, + "id": 1771, "name": "Identifier", "src": "11063:1:7" } ], - "id": 1763, + "id": 1772, "name": "UnaryOperation", "src": "11063:3:7" } ], - "id": 1764, + "id": 1773, "name": "ExpressionStatement", "src": "11063:3:7" }, @@ -12505,11 +12505,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1730, + "referencedDeclaration": 1739, "type": "bool", "value": "pending" }, - "id": 1765, + "id": 1774, "name": "Identifier", "src": "11087:7:7" }, @@ -12533,7 +12533,7 @@ "isPure": false, "lValueRequested": false, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -12553,11 +12553,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1766, + "id": 1775, "name": "Identifier", "src": "11099:12:7" }, @@ -12567,31 +12567,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1767, + "id": 1776, "name": "Identifier", "src": "11112:1:7" } ], - "id": 1768, + "id": 1777, "name": "IndexAccess", "src": "11099:15:7" } ], - "id": 1769, + "id": 1778, "name": "MemberAccess", "src": "11099:24:7" } ], - "id": 1770, + "id": 1779, "name": "UnaryOperation", "src": "11098:25:7" } ], - "id": 1771, + "id": 1780, "name": "BinaryOperation", "src": "11087:36:7" }, @@ -12616,11 +12616,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1732, + "referencedDeclaration": 1741, "type": "bool", "value": "executed" }, - "id": 1772, + "id": 1781, "name": "Identifier", "src": "11143:8:7" }, @@ -12632,7 +12632,7 @@ "isPure": false, "lValueRequested": false, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -12652,11 +12652,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1773, + "id": 1782, "name": "Identifier", "src": "11155:12:7" }, @@ -12666,31 +12666,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1774, + "id": 1783, "name": "Identifier", "src": "11168:1:7" } ], - "id": 1775, + "id": 1784, "name": "IndexAccess", "src": "11155:15:7" } ], - "id": 1776, + "id": 1785, "name": "MemberAccess", "src": "11155:24:7" } ], - "id": 1777, + "id": 1786, "name": "BinaryOperation", "src": "11143:36:7" } ], - "id": 1778, + "id": 1787, "name": "BinaryOperation", "src": "11087:92:7" }, @@ -12725,11 +12725,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1741, + "referencedDeclaration": 1750, "type": "uint256[] memory", "value": "transactionIdsTemp" }, - "id": 1779, + "id": 1788, "name": "Identifier", "src": "11211:18:7" }, @@ -12739,16 +12739,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1749, + "referencedDeclaration": 1758, "type": "uint256", "value": "count" }, - "id": 1780, + "id": 1789, "name": "Identifier", "src": "11230:5:7" } ], - "id": 1781, + "id": 1790, "name": "IndexAccess", "src": "11211:25:7" }, @@ -12758,21 +12758,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1782, + "id": 1791, "name": "Identifier", "src": "11239:1:7" } ], - "id": 1783, + "id": 1792, "name": "Assignment", "src": "11211:29:7" } ], - "id": 1784, + "id": 1793, "name": "ExpressionStatement", "src": "11211:29:7" }, @@ -12795,11 +12795,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1749, + "referencedDeclaration": 1758, "type": "uint256", "value": "count" }, - "id": 1785, + "id": 1794, "name": "Identifier", "src": "11258:5:7" }, @@ -12816,32 +12816,32 @@ "type": "int_const 1", "value": "1" }, - "id": 1786, + "id": 1795, "name": "Literal", "src": "11267:1:7" } ], - "id": 1787, + "id": 1796, "name": "Assignment", "src": "11258:10:7" } ], - "id": 1788, + "id": 1797, "name": "ExpressionStatement", "src": "11258:10:7" } ], - "id": 1789, + "id": 1798, "name": "Block", "src": "11193:90:7" } ], - "id": 1790, + "id": 1799, "name": "IfStatement", "src": "11080:203:7" } ], - "id": 1791, + "id": 1800, "name": "ForStatement", "src": "11033:250:7" }, @@ -12864,11 +12864,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1745, "type": "uint256[] memory", "value": "_transactionIds" }, - "id": 1792, + "id": 1801, "name": "Identifier", "src": "11292:15:7" }, @@ -12913,17 +12913,17 @@ "name": "uint", "type": "uint256" }, - "id": 1793, + "id": 1802, "name": "ElementaryTypeName", "src": "11314:4:7" } ], - "id": 1794, + "id": 1803, "name": "ArrayTypeName", "src": "11314:6:7" } ], - "id": 1795, + "id": 1804, "name": "NewExpression", "src": "11310:10:7" }, @@ -12948,11 +12948,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1728, + "referencedDeclaration": 1737, "type": "uint256", "value": "to" }, - "id": 1796, + "id": 1805, "name": "Identifier", "src": "11321:2:7" }, @@ -12962,31 +12962,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1726, + "referencedDeclaration": 1735, "type": "uint256", "value": "from" }, - "id": 1797, + "id": 1806, "name": "Identifier", "src": "11326:4:7" } ], - "id": 1798, + "id": 1807, "name": "BinaryOperation", "src": "11321:9:7" } ], - "id": 1799, + "id": 1808, "name": "FunctionCall", "src": "11310:21:7" } ], - "id": 1800, + "id": 1809, "name": "Assignment", "src": "11292:39:7" } ], - "id": 1801, + "id": 1810, "name": "ExpressionStatement", "src": "11292:39:7" }, @@ -13011,11 +13011,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1802, + "id": 1811, "name": "Identifier", "src": "11346:1:7" }, @@ -13025,21 +13025,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1726, + "referencedDeclaration": 1735, "type": "uint256", "value": "from" }, - "id": 1803, + "id": 1812, "name": "Identifier", "src": "11348:4:7" } ], - "id": 1804, + "id": 1813, "name": "Assignment", "src": "11346:6:7" } ], - "id": 1805, + "id": 1814, "name": "ExpressionStatement", "src": "11346:6:7" }, @@ -13064,11 +13064,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1806, + "id": 1815, "name": "Identifier", "src": "11354:1:7" }, @@ -13078,16 +13078,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1728, + "referencedDeclaration": 1737, "type": "uint256", "value": "to" }, - "id": 1807, + "id": 1816, "name": "Identifier", "src": "11356:2:7" } ], - "id": 1808, + "id": 1817, "name": "BinaryOperation", "src": "11354:4:7" }, @@ -13111,21 +13111,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1809, + "id": 1818, "name": "Identifier", "src": "11360:1:7" } ], - "id": 1810, + "id": 1819, "name": "UnaryOperation", "src": "11360:3:7" } ], - "id": 1811, + "id": 1820, "name": "ExpressionStatement", "src": "11360:3:7" }, @@ -13158,11 +13158,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1745, "type": "uint256[] memory", "value": "_transactionIds" }, - "id": 1812, + "id": 1821, "name": "Identifier", "src": "11377:15:7" }, @@ -13187,11 +13187,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1813, + "id": 1822, "name": "Identifier", "src": "11393:1:7" }, @@ -13201,21 +13201,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1726, + "referencedDeclaration": 1735, "type": "uint256", "value": "from" }, - "id": 1814, + "id": 1823, "name": "Identifier", "src": "11397:4:7" } ], - "id": 1815, + "id": 1824, "name": "BinaryOperation", "src": "11393:8:7" } ], - "id": 1816, + "id": 1825, "name": "IndexAccess", "src": "11377:25:7" }, @@ -13235,11 +13235,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1741, + "referencedDeclaration": 1750, "type": "uint256[] memory", "value": "transactionIdsTemp" }, - "id": 1817, + "id": 1826, "name": "Identifier", "src": "11405:18:7" }, @@ -13249,63 +13249,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1753, + "referencedDeclaration": 1762, "type": "uint256", "value": "i" }, - "id": 1818, + "id": 1827, "name": "Identifier", "src": "11424:1:7" } ], - "id": 1819, + "id": 1828, "name": "IndexAccess", "src": "11405:21:7" } ], - "id": 1820, + "id": 1829, "name": "Assignment", "src": "11377:49:7" } ], - "id": 1821, + "id": 1830, "name": "ExpressionStatement", "src": "11377:49:7" } ], - "id": 1822, + "id": 1831, "name": "ForStatement", "src": "11341:85:7" } ], - "id": 1823, + "id": 1832, "name": "Block", "src": "10910:523:7" } ], - "id": 1824, + "id": 1833, "name": "FunctionDefinition", "src": "10757:676:7" } ], - "id": 1825, + "id": 1834, "name": "ContractDefinition", "src": "186:11249:7" }, { "attributes": { "contractDependencies": [ - 1825 + 1834 ], "contractKind": "contract", "documentation": "@title Multisignature wallet with daily limit - Allows an owner to withdraw a daily limit without multisig.\n @author Stefan George - ", "fullyImplemented": true, "linearizedBaseContracts": [ - 2019, - 1825 + 2028, + 1834 ], "name": "MultiSigWalletWithDailyLimit", - "scope": 2020 + "scope": 2029 }, "children": [ { @@ -13319,15 +13319,15 @@ "attributes": { "contractScope": null, "name": "MultiSigWallet", - "referencedDeclaration": 1825, + "referencedDeclaration": 1834, "type": "contract MultiSigWallet" }, - "id": 1826, + "id": 1835, "name": "UserDefinedTypeName", "src": "11649:14:7" } ], - "id": 1827, + "id": 1836, "name": "InheritanceSpecifier", "src": "11649:14:7" }, @@ -13344,7 +13344,7 @@ "constant": false, "indexed": false, "name": "dailyLimit", - "scope": 1831, + "scope": 1840, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -13357,22 +13357,22 @@ "name": "uint", "type": "uint256" }, - "id": 1828, + "id": 1837, "name": "ElementaryTypeName", "src": "11694:4:7" } ], - "id": 1829, + "id": 1838, "name": "VariableDeclaration", "src": "11694:15:7" } ], - "id": 1830, + "id": 1839, "name": "ParameterList", "src": "11693:17:7" } ], - "id": 1831, + "id": 1840, "name": "EventDefinition", "src": "11671:40:7" }, @@ -13380,7 +13380,7 @@ "attributes": { "constant": false, "name": "dailyLimit", - "scope": 2019, + "scope": 2028, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -13393,12 +13393,12 @@ "name": "uint", "type": "uint256" }, - "id": 1832, + "id": 1841, "name": "ElementaryTypeName", "src": "11717:4:7" } ], - "id": 1833, + "id": 1842, "name": "VariableDeclaration", "src": "11717:22:7" }, @@ -13406,7 +13406,7 @@ "attributes": { "constant": false, "name": "lastDay", - "scope": 2019, + "scope": 2028, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -13419,12 +13419,12 @@ "name": "uint", "type": "uint256" }, - "id": 1834, + "id": 1843, "name": "ElementaryTypeName", "src": "11745:4:7" } ], - "id": 1835, + "id": 1844, "name": "VariableDeclaration", "src": "11745:19:7" }, @@ -13432,7 +13432,7 @@ "attributes": { "constant": false, "name": "spentToday", - "scope": 2019, + "scope": 2028, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -13445,12 +13445,12 @@ "name": "uint", "type": "uint256" }, - "id": 1836, + "id": 1845, "name": "ElementaryTypeName", "src": "11770:4:7" } ], - "id": 1837, + "id": 1846, "name": "VariableDeclaration", "src": "11770:22:7" }, @@ -13461,7 +13461,7 @@ "isConstructor": true, "name": "MultiSigWalletWithDailyLimit", "payable": false, - "scope": 2019, + "scope": 2028, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -13473,7 +13473,7 @@ "attributes": { "constant": false, "name": "_owners", - "scope": 1856, + "scope": 1865, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -13492,17 +13492,17 @@ "name": "address", "type": "address" }, - "id": 1838, + "id": 1847, "name": "ElementaryTypeName", "src": "12201:7:7" } ], - "id": 1839, + "id": 1848, "name": "ArrayTypeName", "src": "12201:9:7" } ], - "id": 1840, + "id": 1849, "name": "VariableDeclaration", "src": "12201:17:7" }, @@ -13510,7 +13510,7 @@ "attributes": { "constant": false, "name": "_required", - "scope": 1856, + "scope": 1865, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -13523,12 +13523,12 @@ "name": "uint", "type": "uint256" }, - "id": 1841, + "id": 1850, "name": "ElementaryTypeName", "src": "12220:4:7" } ], - "id": 1842, + "id": 1851, "name": "VariableDeclaration", "src": "12220:14:7" }, @@ -13536,7 +13536,7 @@ "attributes": { "constant": false, "name": "_dailyLimit", - "scope": 1856, + "scope": 1865, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -13549,17 +13549,17 @@ "name": "uint", "type": "uint256" }, - "id": 1843, + "id": 1852, "name": "ElementaryTypeName", "src": "12236:4:7" } ], - "id": 1844, + "id": 1853, "name": "VariableDeclaration", "src": "12236:16:7" } ], - "id": 1845, + "id": 1854, "name": "ParameterList", "src": "12200:53:7" }, @@ -13570,7 +13570,7 @@ ] }, "children": [], - "id": 1850, + "id": 1859, "name": "ParameterList", "src": "12316:0:7" }, @@ -13582,11 +13582,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1825, + "referencedDeclaration": 1834, "type": "type(contract MultiSigWallet)", "value": "MultiSigWallet" }, - "id": 1846, + "id": 1855, "name": "Identifier", "src": "12277:14:7" }, @@ -13596,11 +13596,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1840, + "referencedDeclaration": 1849, "type": "address[] memory", "value": "_owners" }, - "id": 1847, + "id": 1856, "name": "Identifier", "src": "12292:7:7" }, @@ -13610,16 +13610,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1842, + "referencedDeclaration": 1851, "type": "uint256", "value": "_required" }, - "id": 1848, + "id": 1857, "name": "Identifier", "src": "12301:9:7" } ], - "id": 1849, + "id": 1858, "name": "ModifierInvocation", "src": "12277:34:7" }, @@ -13644,11 +13644,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 1851, + "id": 1860, "name": "Identifier", "src": "12326:10:7" }, @@ -13658,31 +13658,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1844, + "referencedDeclaration": 1853, "type": "uint256", "value": "_dailyLimit" }, - "id": 1852, + "id": 1861, "name": "Identifier", "src": "12339:11:7" } ], - "id": 1853, + "id": 1862, "name": "Assignment", "src": "12326:24:7" } ], - "id": 1854, + "id": 1863, "name": "ExpressionStatement", "src": "12326:24:7" } ], - "id": 1855, + "id": 1864, "name": "Block", "src": "12316:41:7" } ], - "id": 1856, + "id": 1865, "name": "FunctionDefinition", "src": "12163:194:7" }, @@ -13693,7 +13693,7 @@ "isConstructor": false, "name": "changeDailyLimit", "payable": false, - "scope": 2019, + "scope": 2028, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -13705,7 +13705,7 @@ "attributes": { "constant": false, "name": "_dailyLimit", - "scope": 1872, + "scope": 1881, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -13718,17 +13718,17 @@ "name": "uint", "type": "uint256" }, - "id": 1857, + "id": 1866, "name": "ElementaryTypeName", "src": "12516:4:7" } ], - "id": 1858, + "id": 1867, "name": "VariableDeclaration", "src": "12516:16:7" } ], - "id": 1859, + "id": 1868, "name": "ParameterList", "src": "12515:18:7" }, @@ -13739,7 +13739,7 @@ ] }, "children": [], - "id": 1862, + "id": 1871, "name": "ParameterList", "src": "12572:0:7" }, @@ -13756,16 +13756,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 951, + "referencedDeclaration": 960, "type": "modifier ()", "value": "onlyWallet" }, - "id": 1860, + "id": 1869, "name": "Identifier", "src": "12557:10:7" } ], - "id": 1861, + "id": 1870, "name": "ModifierInvocation", "src": "12557:10:7" }, @@ -13790,11 +13790,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 1863, + "id": 1872, "name": "Identifier", "src": "12582:10:7" }, @@ -13804,21 +13804,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1858, + "referencedDeclaration": 1867, "type": "uint256", "value": "_dailyLimit" }, - "id": 1864, + "id": 1873, "name": "Identifier", "src": "12595:11:7" } ], - "id": 1865, + "id": 1874, "name": "Assignment", "src": "12582:24:7" } ], - "id": 1866, + "id": 1875, "name": "ExpressionStatement", "src": "12582:24:7" }, @@ -13850,11 +13850,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1840, "type": "function (uint256)", "value": "DailyLimitChange" }, - "id": 1867, + "id": 1876, "name": "Identifier", "src": "12616:16:7" }, @@ -13864,31 +13864,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1858, + "referencedDeclaration": 1867, "type": "uint256", "value": "_dailyLimit" }, - "id": 1868, + "id": 1877, "name": "Identifier", "src": "12633:11:7" } ], - "id": 1869, + "id": 1878, "name": "FunctionCall", "src": "12616:29:7" } ], - "id": 1870, + "id": 1879, "name": "ExpressionStatement", "src": "12616:29:7" } ], - "id": 1871, + "id": 1880, "name": "Block", "src": "12572:80:7" } ], - "id": 1872, + "id": 1881, "name": "FunctionDefinition", "src": "12490:162:7" }, @@ -13899,9 +13899,9 @@ "isConstructor": false, "name": "executeTransaction", "payable": false, - "scope": 2019, + "scope": 2028, "stateMutability": "nonpayable", - "superFunction": 1475, + "superFunction": 1484, "visibility": "public" }, "children": [ @@ -13911,7 +13911,7 @@ "attributes": { "constant": false, "name": "transactionId", - "scope": 1955, + "scope": 1964, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -13924,17 +13924,17 @@ "name": "uint", "type": "uint256" }, - "id": 1873, + "id": 1882, "name": "ElementaryTypeName", "src": "12842:4:7" } ], - "id": 1874, + "id": 1883, "name": "VariableDeclaration", "src": "12842:18:7" } ], - "id": 1875, + "id": 1884, "name": "ParameterList", "src": "12841:20:7" }, @@ -13945,7 +13945,7 @@ ] }, "children": [], - "id": 1879, + "id": 1888, "name": "ParameterList", "src": "12916:0:7" }, @@ -13957,11 +13957,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1031, + "referencedDeclaration": 1040, "type": "modifier (uint256)", "value": "notExecuted" }, - "id": 1876, + "id": 1885, "name": "Identifier", "src": "12885:11:7" }, @@ -13971,16 +13971,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1874, + "referencedDeclaration": 1883, "type": "uint256", "value": "transactionId" }, - "id": 1877, + "id": 1886, "name": "Identifier", "src": "12897:13:7" } ], - "id": 1878, + "id": 1887, "name": "ModifierInvocation", "src": "12885:26:7" }, @@ -13989,7 +13989,7 @@ { "attributes": { "assignments": [ - 1881 + 1890 ] }, "children": [ @@ -13997,7 +13997,7 @@ "attributes": { "constant": false, "name": "tx", - "scope": 1955, + "scope": 1964, "stateVariable": false, "storageLocation": "default", "type": "struct MultiSigWallet.Transaction storage pointer", @@ -14009,15 +14009,15 @@ "attributes": { "contractScope": null, "name": "Transaction", - "referencedDeclaration": 939, + "referencedDeclaration": 948, "type": "struct MultiSigWallet.Transaction storage pointer" }, - "id": 1880, + "id": 1889, "name": "UserDefinedTypeName", "src": "12926:11:7" } ], - "id": 1881, + "id": 1890, "name": "VariableDeclaration", "src": "12926:14:7" }, @@ -14037,11 +14037,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 913, + "referencedDeclaration": 922, "type": "mapping(uint256 => struct MultiSigWallet.Transaction storage ref)", "value": "transactions" }, - "id": 1882, + "id": 1891, "name": "Identifier", "src": "12943:12:7" }, @@ -14051,28 +14051,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1874, + "referencedDeclaration": 1883, "type": "uint256", "value": "transactionId" }, - "id": 1883, + "id": 1892, "name": "Identifier", "src": "12956:13:7" } ], - "id": 1884, + "id": 1893, "name": "IndexAccess", "src": "12943:27:7" } ], - "id": 1885, + "id": 1894, "name": "VariableDeclarationStatement", "src": "12926:44:7" }, { "attributes": { "assignments": [ - 1887 + 1896 ] }, "children": [ @@ -14080,7 +14080,7 @@ "attributes": { "constant": false, "name": "confirmed", - "scope": 1955, + "scope": 1964, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -14093,12 +14093,12 @@ "name": "bool", "type": "bool" }, - "id": 1886, + "id": 1895, "name": "ElementaryTypeName", "src": "12980:4:7" } ], - "id": 1887, + "id": 1896, "name": "VariableDeclaration", "src": "12980:14:7" }, @@ -14128,11 +14128,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1518, + "referencedDeclaration": 1527, "type": "function (uint256) view returns (bool)", "value": "isConfirmed" }, - "id": 1888, + "id": 1897, "name": "Identifier", "src": "12997:11:7" }, @@ -14142,21 +14142,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1874, + "referencedDeclaration": 1883, "type": "uint256", "value": "transactionId" }, - "id": 1889, + "id": 1898, "name": "Identifier", "src": "13009:13:7" } ], - "id": 1890, + "id": 1899, "name": "FunctionCall", "src": "12997:26:7" } ], - "id": 1891, + "id": 1900, "name": "VariableDeclarationStatement", "src": "12980:43:7" }, @@ -14186,11 +14186,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1887, + "referencedDeclaration": 1896, "type": "bool", "value": "confirmed" }, - "id": 1892, + "id": 1901, "name": "Identifier", "src": "13037:9:7" }, @@ -14244,7 +14244,7 @@ "isPure": false, "lValueRequested": false, "member_name": "data", - "referencedDeclaration": 936, + "referencedDeclaration": 945, "type": "bytes storage ref" }, "children": [ @@ -14254,21 +14254,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1893, + "id": 1902, "name": "Identifier", "src": "13050:2:7" } ], - "id": 1894, + "id": 1903, "name": "MemberAccess", "src": "13050:7:7" } ], - "id": 1895, + "id": 1904, "name": "MemberAccess", "src": "13050:14:7" }, @@ -14285,12 +14285,12 @@ "type": "int_const 0", "value": "0" }, - "id": 1896, + "id": 1905, "name": "Literal", "src": "13068:1:7" } ], - "id": 1897, + "id": 1906, "name": "BinaryOperation", "src": "13050:19:7" }, @@ -14320,11 +14320,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1994, + "referencedDeclaration": 2003, "type": "function (uint256) returns (bool)", "value": "isUnderLimit" }, - "id": 1898, + "id": 1907, "name": "Identifier", "src": "13073:12:7" }, @@ -14336,7 +14336,7 @@ "isPure": false, "lValueRequested": false, "member_name": "value", - "referencedDeclaration": 934, + "referencedDeclaration": 943, "type": "uint256" }, "children": [ @@ -14346,31 +14346,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1899, + "id": 1908, "name": "Identifier", "src": "13086:2:7" } ], - "id": 1900, + "id": 1909, "name": "MemberAccess", "src": "13086:8:7" } ], - "id": 1901, + "id": 1910, "name": "FunctionCall", "src": "13073:22:7" } ], - "id": 1902, + "id": 1911, "name": "BinaryOperation", "src": "13050:45:7" } ], - "id": 1903, + "id": 1912, "name": "BinaryOperation", "src": "13037:58:7" }, @@ -14397,7 +14397,7 @@ "isPure": false, "lValueRequested": true, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -14407,16 +14407,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1904, + "id": 1913, "name": "Identifier", "src": "13111:2:7" } ], - "id": 1906, + "id": 1915, "name": "MemberAccess", "src": "13111:11:7" }, @@ -14433,17 +14433,17 @@ "type": "bool", "value": "true" }, - "id": 1907, + "id": 1916, "name": "Literal", "src": "13125:4:7" } ], - "id": 1908, + "id": 1917, "name": "Assignment", "src": "13111:18:7" } ], - "id": 1909, + "id": 1918, "name": "ExpressionStatement", "src": "13111:18:7" }, @@ -14470,16 +14470,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1887, + "referencedDeclaration": 1896, "type": "bool", "value": "confirmed" }, - "id": 1910, + "id": 1919, "name": "Identifier", "src": "13148:9:7" } ], - "id": 1911, + "id": 1920, "name": "UnaryOperation", "src": "13147:10:7" }, @@ -14502,11 +14502,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1912, + "id": 1921, "name": "Identifier", "src": "13175:10:7" }, @@ -14518,7 +14518,7 @@ "isPure": false, "lValueRequested": false, "member_name": "value", - "referencedDeclaration": 934, + "referencedDeclaration": 943, "type": "uint256" }, "children": [ @@ -14528,31 +14528,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1913, + "id": 1922, "name": "Identifier", "src": "13189:2:7" } ], - "id": 1914, + "id": 1923, "name": "MemberAccess", "src": "13189:8:7" } ], - "id": 1915, + "id": 1924, "name": "Assignment", "src": "13175:22:7" } ], - "id": 1916, + "id": 1925, "name": "ExpressionStatement", "src": "13175:22:7" } ], - "id": 1917, + "id": 1926, "name": "IfStatement", "src": "13143:54:7" }, @@ -14630,7 +14630,7 @@ "isPure": false, "lValueRequested": false, "member_name": "destination", - "referencedDeclaration": 932, + "referencedDeclaration": 941, "type": "address" }, "children": [ @@ -14640,26 +14640,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1918, + "id": 1927, "name": "Identifier", "src": "13215:2:7" } ], - "id": 1919, + "id": 1928, "name": "MemberAccess", "src": "13215:14:7" } ], - "id": 1920, + "id": 1929, "name": "MemberAccess", "src": "13215:19:7" } ], - "id": 1921, + "id": 1930, "name": "MemberAccess", "src": "13215:25:7" }, @@ -14671,7 +14671,7 @@ "isPure": false, "lValueRequested": false, "member_name": "value", - "referencedDeclaration": 934, + "referencedDeclaration": 943, "type": "uint256" }, "children": [ @@ -14681,21 +14681,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1922, + "id": 1931, "name": "Identifier", "src": "13241:2:7" } ], - "id": 1923, + "id": 1932, "name": "MemberAccess", "src": "13241:8:7" } ], - "id": 1924, + "id": 1933, "name": "FunctionCall", "src": "13215:35:7" }, @@ -14707,7 +14707,7 @@ "isPure": false, "lValueRequested": false, "member_name": "data", - "referencedDeclaration": 936, + "referencedDeclaration": 945, "type": "bytes storage ref" }, "children": [ @@ -14717,21 +14717,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1925, + "id": 1934, "name": "Identifier", "src": "13251:2:7" } ], - "id": 1926, + "id": 1935, "name": "MemberAccess", "src": "13251:7:7" } ], - "id": 1927, + "id": 1936, "name": "FunctionCall", "src": "13215:44:7" }, @@ -14763,11 +14763,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 896, "type": "function (uint256)", "value": "Execution" }, - "id": 1928, + "id": 1937, "name": "Identifier", "src": "13277:9:7" }, @@ -14777,21 +14777,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1874, + "referencedDeclaration": 1883, "type": "uint256", "value": "transactionId" }, - "id": 1929, + "id": 1938, "name": "Identifier", "src": "13287:13:7" } ], - "id": 1930, + "id": 1939, "name": "FunctionCall", "src": "13277:24:7" } ], - "id": 1931, + "id": 1940, "name": "ExpressionStatement", "src": "13277:24:7" }, @@ -14825,11 +14825,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 891, + "referencedDeclaration": 900, "type": "function (uint256)", "value": "ExecutionFailure" }, - "id": 1932, + "id": 1941, "name": "Identifier", "src": "13338:16:7" }, @@ -14839,21 +14839,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1874, + "referencedDeclaration": 1883, "type": "uint256", "value": "transactionId" }, - "id": 1933, + "id": 1942, "name": "Identifier", "src": "13355:13:7" } ], - "id": 1934, + "id": 1943, "name": "FunctionCall", "src": "13338:31:7" } ], - "id": 1935, + "id": 1944, "name": "ExpressionStatement", "src": "13338:31:7" }, @@ -14878,7 +14878,7 @@ "isPure": false, "lValueRequested": true, "member_name": "executed", - "referencedDeclaration": 938, + "referencedDeclaration": 947, "type": "bool" }, "children": [ @@ -14888,16 +14888,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1936, + "id": 1945, "name": "Identifier", "src": "13387:2:7" } ], - "id": 1938, + "id": 1947, "name": "MemberAccess", "src": "13387:11:7" }, @@ -14914,17 +14914,17 @@ "type": "bool", "value": "false" }, - "id": 1939, + "id": 1948, "name": "Literal", "src": "13401:5:7" } ], - "id": 1940, + "id": 1949, "name": "Assignment", "src": "13387:19:7" } ], - "id": 1941, + "id": 1950, "name": "ExpressionStatement", "src": "13387:19:7" }, @@ -14951,16 +14951,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1887, + "referencedDeclaration": 1896, "type": "bool", "value": "confirmed" }, - "id": 1942, + "id": 1951, "name": "Identifier", "src": "13429:9:7" } ], - "id": 1943, + "id": 1952, "name": "UnaryOperation", "src": "13428:10:7" }, @@ -14983,11 +14983,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1944, + "id": 1953, "name": "Identifier", "src": "13460:10:7" }, @@ -14999,7 +14999,7 @@ "isPure": false, "lValueRequested": false, "member_name": "value", - "referencedDeclaration": 934, + "referencedDeclaration": 943, "type": "uint256" }, "children": [ @@ -15009,61 +15009,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1881, + "referencedDeclaration": 1890, "type": "struct MultiSigWallet.Transaction storage pointer", "value": "tx" }, - "id": 1945, + "id": 1954, "name": "Identifier", "src": "13474:2:7" } ], - "id": 1946, + "id": 1955, "name": "MemberAccess", "src": "13474:8:7" } ], - "id": 1947, + "id": 1956, "name": "Assignment", "src": "13460:22:7" } ], - "id": 1948, + "id": 1957, "name": "ExpressionStatement", "src": "13460:22:7" } ], - "id": 1949, + "id": 1958, "name": "IfStatement", "src": "13424:58:7" } ], - "id": 1950, + "id": 1959, "name": "Block", "src": "13320:177:7" } ], - "id": 1951, + "id": 1960, "name": "IfStatement", "src": "13211:286:7" } ], - "id": 1952, + "id": 1961, "name": "Block", "src": "13097:410:7" } ], - "id": 1953, + "id": 1962, "name": "IfStatement", "src": "13033:474:7" } ], - "id": 1954, + "id": 1963, "name": "Block", "src": "12916:597:7" } ], - "id": 1955, + "id": 1964, "name": "FunctionDefinition", "src": "12814:699:7" }, @@ -15077,7 +15077,7 @@ ], "name": "isUnderLimit", "payable": false, - "scope": 2019, + "scope": 2028, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -15089,7 +15089,7 @@ "attributes": { "constant": false, "name": "amount", - "scope": 1994, + "scope": 2003, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -15102,17 +15102,17 @@ "name": "uint", "type": "uint256" }, - "id": 1956, + "id": 1965, "name": "ElementaryTypeName", "src": "13770:4:7" } ], - "id": 1957, + "id": 1966, "name": "VariableDeclaration", "src": "13770:11:7" } ], - "id": 1958, + "id": 1967, "name": "ParameterList", "src": "13769:13:7" }, @@ -15122,7 +15122,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1994, + "scope": 2003, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -15135,17 +15135,17 @@ "name": "bool", "type": "bool" }, - "id": 1959, + "id": 1968, "name": "ElementaryTypeName", "src": "13817:4:7" } ], - "id": 1960, + "id": 1969, "name": "VariableDeclaration", "src": "13817:4:7" } ], - "id": 1961, + "id": 1970, "name": "ParameterList", "src": "13816:6:7" }, @@ -15177,11 +15177,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3727, + "referencedDeclaration": 4513, "type": "uint256", "value": "now" }, - "id": 1962, + "id": 1971, "name": "Identifier", "src": "13841:3:7" }, @@ -15206,11 +15206,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1835, + "referencedDeclaration": 1844, "type": "uint256", "value": "lastDay" }, - "id": 1963, + "id": 1972, "name": "Identifier", "src": "13847:7:7" }, @@ -15227,17 +15227,17 @@ "type": "int_const 86400", "value": "24" }, - "id": 1964, + "id": 1973, "name": "Literal", "src": "13857:8:7" } ], - "id": 1965, + "id": 1974, "name": "BinaryOperation", "src": "13847:18:7" } ], - "id": 1966, + "id": 1975, "name": "BinaryOperation", "src": "13841:24:7" }, @@ -15262,11 +15262,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1835, + "referencedDeclaration": 1844, "type": "uint256", "value": "lastDay" }, - "id": 1967, + "id": 1976, "name": "Identifier", "src": "13881:7:7" }, @@ -15276,21 +15276,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3727, + "referencedDeclaration": 4513, "type": "uint256", "value": "now" }, - "id": 1968, + "id": 1977, "name": "Identifier", "src": "13891:3:7" } ], - "id": 1969, + "id": 1978, "name": "Assignment", "src": "13881:13:7" } ], - "id": 1970, + "id": 1979, "name": "ExpressionStatement", "src": "13881:13:7" }, @@ -15313,11 +15313,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1971, + "id": 1980, "name": "Identifier", "src": "13908:10:7" }, @@ -15334,27 +15334,27 @@ "type": "int_const 0", "value": "0" }, - "id": 1972, + "id": 1981, "name": "Literal", "src": "13921:1:7" } ], - "id": 1973, + "id": 1982, "name": "Assignment", "src": "13908:14:7" } ], - "id": 1974, + "id": 1983, "name": "ExpressionStatement", "src": "13908:14:7" } ], - "id": 1975, + "id": 1984, "name": "Block", "src": "13867:66:7" } ], - "id": 1976, + "id": 1985, "name": "IfStatement", "src": "13837:96:7" }, @@ -15414,11 +15414,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1977, + "id": 1986, "name": "Identifier", "src": "13946:10:7" }, @@ -15428,16 +15428,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1957, + "referencedDeclaration": 1966, "type": "uint256", "value": "amount" }, - "id": 1978, + "id": 1987, "name": "Identifier", "src": "13959:6:7" } ], - "id": 1979, + "id": 1988, "name": "BinaryOperation", "src": "13946:19:7" }, @@ -15447,16 +15447,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 1980, + "id": 1989, "name": "Identifier", "src": "13968:10:7" } ], - "id": 1981, + "id": 1990, "name": "BinaryOperation", "src": "13946:32:7" }, @@ -15496,11 +15496,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1982, + "id": 1991, "name": "Identifier", "src": "13982:10:7" }, @@ -15510,16 +15510,16 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1957, + "referencedDeclaration": 1966, "type": "uint256", "value": "amount" }, - "id": 1983, + "id": 1992, "name": "Identifier", "src": "13995:6:7" } ], - "id": 1984, + "id": 1993, "name": "BinaryOperation", "src": "13982:19:7" }, @@ -15529,27 +15529,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 1985, + "id": 1994, "name": "Identifier", "src": "14004:10:7" } ], - "id": 1986, + "id": 1995, "name": "BinaryOperation", "src": "13982:32:7" } ], - "id": 1987, + "id": 1996, "name": "BinaryOperation", "src": "13946:68:7" }, { "attributes": { - "functionReturnParameters": 1961 + "functionReturnParameters": 1970 }, "children": [ { @@ -15565,23 +15565,23 @@ "type": "bool", "value": "false" }, - "id": 1988, + "id": 1997, "name": "Literal", "src": "14035:5:7" } ], - "id": 1989, + "id": 1998, "name": "Return", "src": "14028:12:7" } ], - "id": 1990, + "id": 1999, "name": "IfStatement", "src": "13942:98:7" }, { "attributes": { - "functionReturnParameters": 1961 + "functionReturnParameters": 1970 }, "children": [ { @@ -15597,22 +15597,22 @@ "type": "bool", "value": "true" }, - "id": 1991, + "id": 2000, "name": "Literal", "src": "14057:4:7" } ], - "id": 1992, + "id": 2001, "name": "Return", "src": "14050:11:7" } ], - "id": 1993, + "id": 2002, "name": "Block", "src": "13827:241:7" } ], - "id": 1994, + "id": 2003, "name": "FunctionDefinition", "src": "13748:320:7" }, @@ -15626,7 +15626,7 @@ ], "name": "calcMaxWithdraw", "payable": false, - "scope": 2019, + "scope": 2028, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -15639,7 +15639,7 @@ ] }, "children": [], - "id": 1995, + "id": 2004, "name": "ParameterList", "src": "14218:2:7" }, @@ -15649,7 +15649,7 @@ "attributes": { "constant": false, "name": "", - "scope": 2018, + "scope": 2027, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -15662,17 +15662,17 @@ "name": "uint", "type": "uint256" }, - "id": 1996, + "id": 2005, "name": "ElementaryTypeName", "src": "14270:4:7" } ], - "id": 1997, + "id": 2006, "name": "VariableDeclaration", "src": "14270:4:7" } ], - "id": 1998, + "id": 2007, "name": "ParameterList", "src": "14269:6:7" }, @@ -15704,11 +15704,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3727, + "referencedDeclaration": 4513, "type": "uint256", "value": "now" }, - "id": 1999, + "id": 2008, "name": "Identifier", "src": "14294:3:7" }, @@ -15733,11 +15733,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1835, + "referencedDeclaration": 1844, "type": "uint256", "value": "lastDay" }, - "id": 2000, + "id": 2009, "name": "Identifier", "src": "14300:7:7" }, @@ -15754,23 +15754,23 @@ "type": "int_const 86400", "value": "24" }, - "id": 2001, + "id": 2010, "name": "Literal", "src": "14310:8:7" } ], - "id": 2002, + "id": 2011, "name": "BinaryOperation", "src": "14300:18:7" } ], - "id": 2003, + "id": 2012, "name": "BinaryOperation", "src": "14294:24:7" }, { "attributes": { - "functionReturnParameters": 1998 + "functionReturnParameters": 2007 }, "children": [ { @@ -15779,21 +15779,21 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 2004, + "id": 2013, "name": "Identifier", "src": "14339:10:7" } ], - "id": 2005, + "id": 2014, "name": "Return", "src": "14332:17:7" } ], - "id": 2006, + "id": 2015, "name": "IfStatement", "src": "14290:59:7" }, @@ -15823,11 +15823,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 2007, + "id": 2016, "name": "Identifier", "src": "14363:10:7" }, @@ -15837,22 +15837,22 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 2008, + "id": 2017, "name": "Identifier", "src": "14376:10:7" } ], - "id": 2009, + "id": 2018, "name": "BinaryOperation", "src": "14363:23:7" }, { "attributes": { - "functionReturnParameters": 1998 + "functionReturnParameters": 2007 }, "children": [ { @@ -15868,23 +15868,23 @@ "type": "int_const 0", "value": "0" }, - "id": 2010, + "id": 2019, "name": "Literal", "src": "14407:1:7" } ], - "id": 2011, + "id": 2020, "name": "Return", "src": "14400:8:7" } ], - "id": 2012, + "id": 2021, "name": "IfStatement", "src": "14359:49:7" }, { "attributes": { - "functionReturnParameters": 1998 + "functionReturnParameters": 2007 }, "children": [ { @@ -15908,11 +15908,11 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1833, + "referencedDeclaration": 1842, "type": "uint256", "value": "dailyLimit" }, - "id": 2013, + "id": 2022, "name": "Identifier", "src": "14425:10:7" }, @@ -15922,41 +15922,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1837, + "referencedDeclaration": 1846, "type": "uint256", "value": "spentToday" }, - "id": 2014, + "id": 2023, "name": "Identifier", "src": "14438:10:7" } ], - "id": 2015, + "id": 2024, "name": "BinaryOperation", "src": "14425:23:7" } ], - "id": 2016, + "id": 2025, "name": "Return", "src": "14418:30:7" } ], - "id": 2017, + "id": 2026, "name": "Block", "src": "14280:175:7" } ], - "id": 2018, + "id": 2027, "name": "FunctionDefinition", "src": "14194:261:7" } ], - "id": 2019, + "id": 2028, "name": "ContractDefinition", "src": "11608:2849:7" } ], - "id": 2020, + "id": 2029, "name": "SourceUnit", "src": "0:14457:7" }, @@ -15966,5 +15966,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-11T15:50:26.126Z" + "updatedAt": "2018-01-15T16:10:12.644Z" } \ No newline at end of file diff --git a/build/contracts/Ownable.json b/build/contracts/Ownable.json index aa2cabf..21f47e5 100644 --- a/build/contracts/Ownable.json +++ b/build/contracts/Ownable.json @@ -55,8 +55,8 @@ ], "bytecode": "0x6060604052341561000f57600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506102858061005e6000396000f30060606040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610051578063f2fde38b146100a6575b600080fd5b341561005c57600080fd5b6100646100df565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100b157600080fd5b6100dd600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610104565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561015f57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561019b57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a72305820f30365f006fa0b6576470c4d3332c44f6dd06a73143ffef4b93bf199a1bd9eb50029", "deployedBytecode": "0x60606040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610051578063f2fde38b146100a6575b600080fd5b341561005c57600080fd5b6100646100df565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100b157600080fd5b6100dd600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610104565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561015f57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561019b57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a72305820f30365f006fa0b6576470c4d3332c44f6dd06a73143ffef4b93bf199a1bd9eb50029", - "sourceMap": "313:787:6:-;;;563:55;;;;;;;;603:10;595:5;;:18;;;;;;;;;;;;;;;;;;313:787;;;;;;", - "deployedSourceMap": "313:787:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20;;;;;;;;;;;;;:::o;928:169::-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o", + "sourceMap": "313:787:8:-;;;563:55;;;;;;;;603:10;595:5;;:18;;;;;;;;;;;;;;;;;;313:787;;;;;;", + "deployedSourceMap": "313:787:8:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20;;;;;;;;;;;;;:::o;928:169::-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o", "source": "pragma solidity ^0.4.18;\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 * https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/ownership/Ownable.sol\n */\ncontract Ownable {\n address public owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\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}", "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/Ownable.sol", "ast": { @@ -64,7 +64,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/Ownable.sol", "exportedSymbols": { "Ownable": [ - 873 + 2084 ] } }, @@ -78,9 +78,9 @@ ".18" ] }, - "id": 819, + "id": 2030, "name": "PragmaDirective", - "src": "0:24:6" + "src": "0:24:8" }, { "attributes": { @@ -94,17 +94,17 @@ "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\".\nhttps://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/ownership/Ownable.sol", "fullyImplemented": true, "linearizedBaseContracts": [ - 873 + 2084 ], "name": "Ownable", - "scope": 874 + "scope": 2085 }, "children": [ { "attributes": { "constant": false, "name": "owner", - "scope": 873, + "scope": 2084, "stateVariable": true, "storageLocation": "default", "type": "address", @@ -117,14 +117,14 @@ "name": "address", "type": "address" }, - "id": 820, + "id": 2031, "name": "ElementaryTypeName", - "src": "334:7:6" + "src": "334:7:8" } ], - "id": 821, + "id": 2032, "name": "VariableDeclaration", - "src": "334:20:6" + "src": "334:20:8" }, { "attributes": { @@ -139,7 +139,7 @@ "constant": false, "indexed": true, "name": "previousOwner", - "scope": 827, + "scope": 2038, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -152,21 +152,21 @@ "name": "address", "type": "address" }, - "id": 822, + "id": 2033, "name": "ElementaryTypeName", - "src": "386:7:6" + "src": "386:7:8" } ], - "id": 823, + "id": 2034, "name": "VariableDeclaration", - "src": "386:29:6" + "src": "386:29:8" }, { "attributes": { "constant": false, "indexed": true, "name": "newOwner", - "scope": 827, + "scope": 2038, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -179,24 +179,24 @@ "name": "address", "type": "address" }, - "id": 824, + "id": 2035, "name": "ElementaryTypeName", - "src": "417:7:6" + "src": "417:7:8" } ], - "id": 825, + "id": 2036, "name": "VariableDeclaration", - "src": "417:24:6" + "src": "417:24:8" } ], - "id": 826, + "id": 2037, "name": "ParameterList", - "src": "385:57:6" + "src": "385:57:8" } ], - "id": 827, + "id": 2038, "name": "EventDefinition", - "src": "359:84:6" + "src": "359:84:8" }, { "attributes": { @@ -208,7 +208,7 @@ ], "name": "Ownable", "payable": false, - "scope": 873, + "scope": 2084, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -221,9 +221,9 @@ ] }, "children": [], - "id": 828, + "id": 2039, "name": "ParameterList", - "src": "579:2:6" + "src": "579:2:8" }, { "attributes": { @@ -232,9 +232,9 @@ ] }, "children": [], - "id": 829, + "id": 2040, "name": "ParameterList", - "src": "589:0:6" + "src": "589:0:8" }, { "children": [ @@ -257,13 +257,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 821, + "referencedDeclaration": 2032, "type": "address", "value": "owner" }, - "id": 830, + "id": 2041, "name": "Identifier", - "src": "595:5:6" + "src": "595:5:8" }, { "attributes": { @@ -283,38 +283,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 831, + "id": 2042, "name": "Identifier", - "src": "603:3:6" + "src": "603:3:8" } ], - "id": 832, + "id": 2043, "name": "MemberAccess", - "src": "603:10:6" + "src": "603:10:8" } ], - "id": 833, + "id": 2044, "name": "Assignment", - "src": "595:18:6" + "src": "595:18:8" } ], - "id": 834, + "id": 2045, "name": "ExpressionStatement", - "src": "595:18:6" + "src": "595:18:8" } ], - "id": 835, + "id": 2046, "name": "Block", - "src": "589:29:6" + "src": "589:29:8" } ], - "id": 836, + "id": 2047, "name": "FunctionDefinition", - "src": "563:55:6" + "src": "563:55:8" }, { "attributes": { @@ -329,9 +329,9 @@ ] }, "children": [], - "id": 837, + "id": 2048, "name": "ParameterList", - "src": "717:2:6" + "src": "717:2:8" }, { "children": [ @@ -363,13 +363,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 838, + "id": 2049, "name": "Identifier", - "src": "726:7:6" + "src": "726:7:8" }, { "attributes": { @@ -404,18 +404,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 839, + "id": 2050, "name": "Identifier", - "src": "734:3:6" + "src": "734:3:8" } ], - "id": 840, + "id": 2051, "name": "MemberAccess", - "src": "734:10:6" + "src": "734:10:8" }, { "attributes": { @@ -423,43 +423,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 821, + "referencedDeclaration": 2032, "type": "address", "value": "owner" }, - "id": 841, + "id": 2052, "name": "Identifier", - "src": "748:5:6" + "src": "748:5:8" } ], - "id": 842, + "id": 2053, "name": "BinaryOperation", - "src": "734:19:6" + "src": "734:19:8" } ], - "id": 843, + "id": 2054, "name": "FunctionCall", - "src": "726:28:6" + "src": "726:28:8" } ], - "id": 844, + "id": 2055, "name": "ExpressionStatement", - "src": "726:28:6" + "src": "726:28:8" }, { - "id": 845, + "id": 2056, "name": "PlaceholderStatement", - "src": "760:1:6" + "src": "760:1:8" } ], - "id": 846, + "id": 2057, "name": "Block", - "src": "720:46:6" + "src": "720:46:8" } ], - "id": 847, + "id": 2058, "name": "ModifierDefinition", - "src": "699:67:6" + "src": "699:67:8" }, { "attributes": { @@ -468,7 +468,7 @@ "isConstructor": false, "name": "transferOwnership", "payable": false, - "scope": 873, + "scope": 2084, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -480,7 +480,7 @@ "attributes": { "constant": false, "name": "newOwner", - "scope": 872, + "scope": 2083, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -493,19 +493,19 @@ "name": "address", "type": "address" }, - "id": 848, + "id": 2059, "name": "ElementaryTypeName", - "src": "955:7:6" + "src": "955:7:8" } ], - "id": 849, + "id": 2060, "name": "VariableDeclaration", - "src": "955:16:6" + "src": "955:16:8" } ], - "id": 850, + "id": 2061, "name": "ParameterList", - "src": "954:18:6" + "src": "954:18:8" }, { "attributes": { @@ -514,9 +514,9 @@ ] }, "children": [], - "id": 853, + "id": 2064, "name": "ParameterList", - "src": "990:0:6" + "src": "990:0:8" }, { "attributes": { @@ -531,18 +531,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 2058, "type": "modifier ()", "value": "onlyOwner" }, - "id": 851, + "id": 2062, "name": "Identifier", - "src": "980:9:6" + "src": "980:9:8" } ], - "id": 852, + "id": 2063, "name": "ModifierInvocation", - "src": "980:9:6" + "src": "980:9:8" }, { "children": [ @@ -574,13 +574,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 854, + "id": 2065, "name": "Identifier", - "src": "996:7:6" + "src": "996:7:8" }, { "attributes": { @@ -603,13 +603,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 849, + "referencedDeclaration": 2060, "type": "address", "value": "newOwner" }, - "id": 855, + "id": 2066, "name": "Identifier", - "src": "1004:8:6" + "src": "1004:8:8" }, { "attributes": { @@ -641,9 +641,9 @@ "type": "type(address)", "value": "address" }, - "id": 856, + "id": 2067, "name": "ElementaryTypeNameExpression", - "src": "1016:7:6" + "src": "1016:7:8" }, { "attributes": { @@ -658,29 +658,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 2068, "name": "Literal", - "src": "1024:1:6" + "src": "1024:1:8" } ], - "id": 858, + "id": 2069, "name": "FunctionCall", - "src": "1016:10:6" + "src": "1016:10:8" } ], - "id": 859, + "id": 2070, "name": "BinaryOperation", - "src": "1004:22:6" + "src": "1004:22:8" } ], - "id": 860, + "id": 2071, "name": "FunctionCall", - "src": "996:31:6" + "src": "996:31:8" } ], - "id": 861, + "id": 2072, "name": "ExpressionStatement", - "src": "996:31:6" + "src": "996:31:8" }, { "children": [ @@ -714,13 +714,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 827, + "referencedDeclaration": 2038, "type": "function (address,address)", "value": "OwnershipTransferred" }, - "id": 862, + "id": 2073, "name": "Identifier", - "src": "1033:20:6" + "src": "1033:20:8" }, { "attributes": { @@ -728,13 +728,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 821, + "referencedDeclaration": 2032, "type": "address", "value": "owner" }, - "id": 863, + "id": 2074, "name": "Identifier", - "src": "1054:5:6" + "src": "1054:5:8" }, { "attributes": { @@ -742,23 +742,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 849, + "referencedDeclaration": 2060, "type": "address", "value": "newOwner" }, - "id": 864, + "id": 2075, "name": "Identifier", - "src": "1061:8:6" + "src": "1061:8:8" } ], - "id": 865, + "id": 2076, "name": "FunctionCall", - "src": "1033:37:6" + "src": "1033:37:8" } ], - "id": 866, + "id": 2077, "name": "ExpressionStatement", - "src": "1033:37:6" + "src": "1033:37:8" }, { "children": [ @@ -779,13 +779,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 821, + "referencedDeclaration": 2032, "type": "address", "value": "owner" }, - "id": 867, + "id": 2078, "name": "Identifier", - "src": "1076:5:6" + "src": "1076:5:8" }, { "attributes": { @@ -793,43 +793,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 849, + "referencedDeclaration": 2060, "type": "address", "value": "newOwner" }, - "id": 868, + "id": 2079, "name": "Identifier", - "src": "1084:8:6" + "src": "1084:8:8" } ], - "id": 869, + "id": 2080, "name": "Assignment", - "src": "1076:16:6" + "src": "1076:16:8" } ], - "id": 870, + "id": 2081, "name": "ExpressionStatement", - "src": "1076:16:6" + "src": "1076:16:8" } ], - "id": 871, + "id": 2082, "name": "Block", - "src": "990:107:6" + "src": "990:107:8" } ], - "id": 872, + "id": 2083, "name": "FunctionDefinition", - "src": "928:169:6" + "src": "928:169:8" } ], - "id": 873, + "id": 2084, "name": "ContractDefinition", - "src": "313:787:6" + "src": "313:787:8" } ], - "id": 874, + "id": 2085, "name": "SourceUnit", - "src": "0:1100:6" + "src": "0:1100:8" }, "compiler": { "name": "solc", @@ -837,5 +837,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T09:25:39.450Z" + "updatedAt": "2018-01-15T16:10:12.647Z" } \ No newline at end of file diff --git a/build/contracts/PoD.json b/build/contracts/PoD.json index 6e4f5c7..a0db798 100644 --- a/build/contracts/PoD.json +++ b/build/contracts/PoD.json @@ -323,7 +323,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoD.sol", "exportedSymbols": { "PoD": [ - 1138 + 2349 ] } }, @@ -337,54 +337,54 @@ ".18" ] }, - "id": 875, + "id": 2086, "name": "PragmaDirective", - "src": "0:24:7" + "src": "0:24:9" }, { "attributes": { - "SourceUnit": 874, + "SourceUnit": 2085, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/Ownable.sol", "file": "./Ownable.sol", - "scope": 1139, + "scope": 2350, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 876, + "id": 2087, "name": "ImportDirective", - "src": "25:23:7" + "src": "25:23:9" }, { "attributes": { - "SourceUnit": 2153, + "SourceUnit": 4500, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/SafeMath.sol", "file": "./SafeMath.sol", - "scope": 1139, + "scope": 2350, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 877, + "id": 2088, "name": "ImportDirective", - "src": "49:24:7" + "src": "49:24:9" }, { "attributes": { "contractDependencies": [ - 873 + 2084 ], "contractKind": "contract", "documentation": "@title PoD - PoD Based contract\n @author - Yusaku Senga - \n license let's see in LICENSE", "fullyImplemented": false, "linearizedBaseContracts": [ - 1138, - 873 + 2349, + 2084 ], "name": "PoD", - "scope": 1139 + "scope": 2350 }, "children": [ { @@ -398,17 +398,17 @@ "attributes": { "contractScope": null, "name": "Ownable", - "referencedDeclaration": 873, + "referencedDeclaration": 2084, "type": "contract Ownable" }, - "id": 878, + "id": 2089, "name": "UserDefinedTypeName", - "src": "210:7:7" + "src": "210:7:9" } ], - "id": 879, + "id": 2090, "name": "InheritanceSpecifier", - "src": "210:7:7" + "src": "210:7:9" }, { "children": [ @@ -416,32 +416,32 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 2152, + "referencedDeclaration": 4499, "type": "library SafeMath" }, - "id": 880, + "id": 2091, "name": "UserDefinedTypeName", - "src": "228:8:7" + "src": "228:8:9" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 881, + "id": 2092, "name": "ElementaryTypeName", - "src": "241:7:7" + "src": "241:7:9" } ], - "id": 882, + "id": 2093, "name": "UsingForDirective", - "src": "222:27:7" + "src": "222:27:9" }, { "attributes": { "constant": false, "name": "name", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -454,20 +454,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 883, + "id": 2094, "name": "ElementaryTypeName", - "src": "281:6:7" + "src": "281:6:9" } ], - "id": 884, + "id": 2095, "name": "VariableDeclaration", - "src": "281:19:7" + "src": "281:19:9" }, { "attributes": { "constant": false, "name": "version", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -480,20 +480,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 885, + "id": 2096, "name": "ElementaryTypeName", - "src": "304:6:7" + "src": "304:6:9" } ], - "id": 886, + "id": 2097, "name": "VariableDeclaration", - "src": "304:22:7" + "src": "304:22:9" }, { "attributes": { "constant": false, "name": "wallet", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "address", @@ -506,20 +506,20 @@ "name": "address", "type": "address" }, - "id": 887, + "id": 2098, "name": "ElementaryTypeName", - "src": "330:7:7" + "src": "330:7:9" } ], - "id": 888, + "id": 2099, "name": "VariableDeclaration", - "src": "330:21:7" + "src": "330:21:9" }, { "attributes": { "constant": false, "name": "startTime", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -532,20 +532,20 @@ "name": "uint256", "type": "uint256" }, - "id": 889, + "id": 2100, "name": "ElementaryTypeName", - "src": "356:7:7" + "src": "356:7:9" } ], - "id": 890, + "id": 2101, "name": "VariableDeclaration", - "src": "356:17:7" + "src": "356:17:9" }, { "attributes": { "constant": false, "name": "endTime", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -558,20 +558,20 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 2102, "name": "ElementaryTypeName", - "src": "377:7:7" + "src": "377:7:9" } ], - "id": 892, + "id": 2103, "name": "VariableDeclaration", - "src": "377:15:7" + "src": "377:15:9" }, { "attributes": { "constant": false, "name": "tokenPrice", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -584,20 +584,20 @@ "name": "uint256", "type": "uint256" }, - "id": 893, + "id": 2104, "name": "ElementaryTypeName", - "src": "396:7:7" + "src": "396:7:9" } ], - "id": 894, + "id": 2105, "name": "VariableDeclaration", - "src": "396:18:7" + "src": "396:18:9" }, { "attributes": { "constant": false, "name": "totalReceivedWei", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -610,20 +610,20 @@ "name": "uint256", "type": "uint256" }, - "id": 895, + "id": 2106, "name": "ElementaryTypeName", - "src": "418:7:7" + "src": "418:7:9" } ], - "id": 896, + "id": 2107, "name": "VariableDeclaration", - "src": "418:24:7" + "src": "418:24:9" }, { "attributes": { "constant": false, "name": "proofOfDonationCapOfToken", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -636,20 +636,20 @@ "name": "uint256", "type": "uint256" }, - "id": 897, + "id": 2108, "name": "ElementaryTypeName", - "src": "446:7:7" + "src": "446:7:9" } ], - "id": 898, + "id": 2109, "name": "VariableDeclaration", - "src": "446:33:7" + "src": "446:33:9" }, { "attributes": { "constant": false, "name": "proofOfDonationCapOfWei", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -662,20 +662,20 @@ "name": "uint256", "type": "uint256" }, - "id": 899, + "id": 2110, "name": "ElementaryTypeName", - "src": "483:7:7" + "src": "483:7:9" } ], - "id": 900, + "id": 2111, "name": "VariableDeclaration", - "src": "483:31:7" + "src": "483:31:9" }, { "attributes": { "constant": false, "name": "weiBalances", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => uint256)", @@ -693,28 +693,28 @@ "name": "address", "type": "address" }, - "id": 901, + "id": 2112, "name": "ElementaryTypeName", - "src": "527:7:7" + "src": "527:7:9" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 902, + "id": 2113, "name": "ElementaryTypeName", - "src": "538:7:7" + "src": "538:7:9" } ], - "id": 903, + "id": 2114, "name": "Mapping", - "src": "518:28:7" + "src": "518:28:9" } ], - "id": 904, + "id": 2115, "name": "VariableDeclaration", - "src": "518:40:7" + "src": "518:40:9" }, { "attributes": { @@ -726,36 +726,36 @@ "attributes": { "name": "PoDDeployed" }, - "id": 905, + "id": 2116, "name": "EnumValue", - "src": "581:11:7" + "src": "581:11:9" }, { "attributes": { "name": "PoDStarted" }, - "id": 906, + "id": 2117, "name": "EnumValue", - "src": "598:10:7" + "src": "598:10:9" }, { "attributes": { "name": "PoDEnded" }, - "id": 907, + "id": 2118, "name": "EnumValue", - "src": "614:8:7" + "src": "614:8:9" } ], - "id": 908, + "id": 2119, "name": "EnumDefinition", - "src": "563:63:7" + "src": "563:63:9" }, { "attributes": { "constant": false, "name": "status", - "scope": 1138, + "scope": 2349, "stateVariable": true, "storageLocation": "default", "type": "enum PoD.Status", @@ -767,17 +767,17 @@ "attributes": { "contractScope": null, "name": "Status", - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "enum PoD.Status" }, - "id": 909, + "id": 2120, "name": "UserDefinedTypeName", - "src": "629:6:7" + "src": "629:6:9" } ], - "id": 910, + "id": 2121, "name": "VariableDeclaration", - "src": "629:20:7" + "src": "629:20:9" }, { "attributes": { @@ -792,7 +792,7 @@ "constant": false, "indexed": false, "name": "user", - "scope": 916, + "scope": 2127, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -805,21 +805,21 @@ "name": "address", "type": "address" }, - "id": 911, + "id": 2122, "name": "ElementaryTypeName", - "src": "695:7:7" + "src": "695:7:9" } ], - "id": 912, + "id": 2123, "name": "VariableDeclaration", - "src": "695:12:7" + "src": "695:12:9" }, { "attributes": { "constant": false, "indexed": false, "name": "amount", - "scope": 916, + "scope": 2127, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -832,24 +832,24 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 2124, "name": "ElementaryTypeName", - "src": "709:7:7" + "src": "709:7:9" } ], - "id": 914, + "id": 2125, "name": "VariableDeclaration", - "src": "709:14:7" + "src": "709:14:9" } ], - "id": 915, + "id": 2126, "name": "ParameterList", - "src": "694:30:7" + "src": "694:30:9" } ], - "id": 916, + "id": 2127, "name": "EventDefinition", - "src": "681:44:7" + "src": "681:44:9" }, { "attributes": { @@ -864,7 +864,7 @@ "constant": false, "indexed": false, "name": "time", - "scope": 920, + "scope": 2131, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -877,24 +877,24 @@ "name": "uint256", "type": "uint256" }, - "id": 917, + "id": 2128, "name": "ElementaryTypeName", - "src": "740:7:7" + "src": "740:7:9" } ], - "id": 918, + "id": 2129, "name": "VariableDeclaration", - "src": "740:12:7" + "src": "740:12:9" } ], - "id": 919, + "id": 2130, "name": "ParameterList", - "src": "739:14:7" + "src": "739:14:9" } ], - "id": 920, + "id": 2131, "name": "EventDefinition", - "src": "728:26:7" + "src": "728:26:9" }, { "attributes": { @@ -906,7 +906,7 @@ ], "name": "PoD", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -919,9 +919,9 @@ ] }, "children": [], - "id": 921, + "id": 2132, "name": "ParameterList", - "src": "853:2:7" + "src": "853:2:9" }, { "attributes": { @@ -930,9 +930,9 @@ ] }, "children": [], - "id": 922, + "id": 2133, "name": "ParameterList", - "src": "863:0:7" + "src": "863:0:9" }, { "children": [ @@ -955,13 +955,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 923, + "id": 2134, "name": "Identifier", - "src": "869:6:7" + "src": "869:6:9" }, { "attributes": { @@ -981,28 +981,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 924, + "id": 2135, "name": "Identifier", - "src": "878:6:7" + "src": "878:6:9" } ], - "id": 925, + "id": 2136, "name": "MemberAccess", - "src": "878:18:7" + "src": "878:18:9" } ], - "id": 926, + "id": 2137, "name": "Assignment", - "src": "869:27:7" + "src": "869:27:9" } ], - "id": 927, + "id": 2138, "name": "ExpressionStatement", - "src": "869:27:7" + "src": "869:27:9" }, { "children": [ @@ -1023,13 +1023,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 896, + "referencedDeclaration": 2107, "type": "uint256", "value": "totalReceivedWei" }, - "id": 928, + "id": 2139, "name": "Identifier", - "src": "902:16:7" + "src": "902:16:9" }, { "attributes": { @@ -1044,19 +1044,19 @@ "type": "int_const 0", "value": "0" }, - "id": 929, + "id": 2140, "name": "Literal", - "src": "921:1:7" + "src": "921:1:9" } ], - "id": 930, + "id": 2141, "name": "Assignment", - "src": "902:20:7" + "src": "902:20:9" } ], - "id": 931, + "id": 2142, "name": "ExpressionStatement", - "src": "902:20:7" + "src": "902:20:9" }, { "children": [ @@ -1077,13 +1077,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 2099, "type": "address", "value": "wallet" }, - "id": 932, + "id": 2143, "name": "Identifier", - "src": "928:6:7" + "src": "928:6:9" }, { "attributes": { @@ -1103,38 +1103,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 933, + "id": 2144, "name": "Identifier", - "src": "937:3:7" + "src": "937:3:9" } ], - "id": 934, + "id": 2145, "name": "MemberAccess", - "src": "937:10:7" + "src": "937:10:9" } ], - "id": 935, + "id": 2146, "name": "Assignment", - "src": "928:19:7" + "src": "928:19:9" } ], - "id": 936, + "id": 2147, "name": "ExpressionStatement", - "src": "928:19:7" + "src": "928:19:9" } ], - "id": 937, + "id": 2148, "name": "Block", - "src": "863:89:7" + "src": "863:89:9" } ], - "id": 938, + "id": 2149, "name": "FunctionDefinition", - "src": "841:111:7" + "src": "841:111:9" }, { "attributes": { @@ -1146,7 +1146,7 @@ ], "name": "donate", "payable": true, - "scope": 1138, + "scope": 2349, "stateMutability": "payable", "superFunction": null, "visibility": "public" @@ -1159,9 +1159,9 @@ ] }, "children": [], - "id": 939, + "id": 2150, "name": "ParameterList", - "src": "1034:2:7" + "src": "1034:2:9" }, { "children": [ @@ -1169,7 +1169,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1009, + "scope": 2220, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1182,19 +1182,19 @@ "name": "bool", "type": "bool" }, - "id": 940, + "id": 2151, "name": "ElementaryTypeName", - "src": "1061:4:7" + "src": "1061:4:9" } ], - "id": 941, + "id": 2152, "name": "VariableDeclaration", - "src": "1061:4:7" + "src": "1061:4:9" } ], - "id": 942, + "id": 2153, "name": "ParameterList", - "src": "1060:6:7" + "src": "1060:6:9" }, { "children": [ @@ -1226,19 +1226,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 943, + "id": 2154, "name": "Identifier", - "src": "1074:7:7" + "src": "1074:7:9" }, { "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$908", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -1255,13 +1255,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 944, + "id": 2155, "name": "Identifier", - "src": "1082:6:7" + "src": "1082:6:9" }, { "attributes": { @@ -1281,33 +1281,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 945, + "id": 2156, "name": "Identifier", - "src": "1092:6:7" + "src": "1092:6:9" } ], - "id": 946, + "id": 2157, "name": "MemberAccess", - "src": "1092:17:7" + "src": "1092:17:9" } ], - "id": 947, + "id": 2158, "name": "BinaryOperation", - "src": "1082:27:7" + "src": "1082:27:9" } ], - "id": 948, + "id": 2159, "name": "FunctionCall", - "src": "1074:36:7" + "src": "1074:36:9" } ], - "id": 949, + "id": 2160, "name": "ExpressionStatement", - "src": "1074:36:7" + "src": "1074:36:9" }, { "children": [ @@ -1337,13 +1337,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 950, + "id": 2161, "name": "Identifier", - "src": "1117:7:7" + "src": "1117:7:9" }, { "attributes": { @@ -1378,18 +1378,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2156, + "referencedDeclaration": 4503, "type": "block", "value": "block" }, - "id": 951, + "id": 2162, "name": "Identifier", - "src": "1125:5:7" + "src": "1125:5:9" } ], - "id": 952, + "id": 2163, "name": "MemberAccess", - "src": "1125:15:7" + "src": "1125:15:9" }, { "attributes": { @@ -1397,28 +1397,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 2101, "type": "uint256", "value": "startTime" }, - "id": 953, + "id": 2164, "name": "Identifier", - "src": "1144:9:7" + "src": "1144:9:9" } ], - "id": 954, + "id": 2165, "name": "BinaryOperation", - "src": "1125:28:7" + "src": "1125:28:9" } ], - "id": 955, + "id": 2166, "name": "FunctionCall", - "src": "1117:37:7" + "src": "1117:37:9" } ], - "id": 956, + "id": 2167, "name": "ExpressionStatement", - "src": "1117:37:7" + "src": "1117:37:9" }, { "children": [ @@ -1448,13 +1448,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 957, + "id": 2168, "name": "Identifier", - "src": "1204:7:7" + "src": "1204:7:9" }, { "attributes": { @@ -1489,18 +1489,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2174, + "referencedDeclaration": 4521, "type": "tx", "value": "tx" }, - "id": 958, + "id": 2169, "name": "Identifier", - "src": "1212:2:7" + "src": "1212:2:9" } ], - "id": 959, + "id": 2170, "name": "MemberAccess", - "src": "1212:11:7" + "src": "1212:11:9" }, { "attributes": { @@ -1515,24 +1515,24 @@ "type": "int_const 80000000000", "value": "80000000000" }, - "id": 960, + "id": 2171, "name": "Literal", - "src": "1227:11:7" + "src": "1227:11:9" } ], - "id": 961, + "id": 2172, "name": "BinaryOperation", - "src": "1212:26:7" + "src": "1212:26:9" } ], - "id": 962, + "id": 2173, "name": "FunctionCall", - "src": "1204:35:7" + "src": "1204:35:9" } ], - "id": 963, + "id": 2174, "name": "ExpressionStatement", - "src": "1204:35:7" + "src": "1204:35:9" }, { "children": [ @@ -1562,13 +1562,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 964, + "id": 2175, "name": "Identifier", - "src": "1246:7:7" + "src": "1246:7:9" }, { "attributes": { @@ -1603,18 +1603,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 965, + "id": 2176, "name": "Identifier", - "src": "1254:3:7" + "src": "1254:3:9" } ], - "id": 966, + "id": 2177, "name": "MemberAccess", - "src": "1254:9:7" + "src": "1254:9:9" }, { "attributes": { @@ -1629,24 +1629,24 @@ "type": "int_const 0", "value": "0" }, - "id": 967, + "id": 2178, "name": "Literal", - "src": "1266:1:7" + "src": "1266:1:9" } ], - "id": 968, + "id": 2179, "name": "BinaryOperation", - "src": "1254:13:7" + "src": "1254:13:9" } ], - "id": 969, + "id": 2180, "name": "FunctionCall", - "src": "1246:22:7" + "src": "1246:22:9" } ], - "id": 970, + "id": 2181, "name": "ExpressionStatement", - "src": "1246:22:7" + "src": "1246:22:9" }, { "attributes": { @@ -1691,13 +1691,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1130, + "referencedDeclaration": 2341, "type": "function (address) returns (bool)", "value": "processDonate" }, - "id": 971, + "id": 2182, "name": "Identifier", - "src": "1315:13:7" + "src": "1315:13:9" }, { "attributes": { @@ -1717,28 +1717,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 972, + "id": 2183, "name": "Identifier", - "src": "1329:3:7" + "src": "1329:3:9" } ], - "id": 973, + "id": 2184, "name": "MemberAccess", - "src": "1329:10:7" + "src": "1329:10:9" } ], - "id": 974, + "id": 2185, "name": "FunctionCall", - "src": "1315:25:7" + "src": "1315:25:9" } ], - "id": 975, + "id": 2186, "name": "UnaryOperation", - "src": "1314:26:7" + "src": "1314:26:9" }, { "children": [ @@ -1761,13 +1761,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 892, + "referencedDeclaration": 2103, "type": "uint256", "value": "endTime" }, - "id": 976, + "id": 2187, "name": "Identifier", - "src": "1350:7:7" + "src": "1350:7:9" }, { "attributes": { @@ -1775,23 +1775,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2166, + "referencedDeclaration": 4513, "type": "uint256", "value": "now" }, - "id": 977, + "id": 2188, "name": "Identifier", - "src": "1360:3:7" + "src": "1360:3:9" } ], - "id": 978, + "id": 2189, "name": "Assignment", - "src": "1350:13:7" + "src": "1350:13:9" } ], - "id": 979, + "id": 2190, "name": "ExpressionStatement", - "src": "1350:13:7" + "src": "1350:13:9" }, { "children": [ @@ -1812,13 +1812,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 980, + "id": 2191, "name": "Identifier", - "src": "1371:6:7" + "src": "1371:6:9" }, { "attributes": { @@ -1838,28 +1838,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 981, + "id": 2192, "name": "Identifier", - "src": "1380:6:7" + "src": "1380:6:9" } ], - "id": 982, + "id": 2193, "name": "MemberAccess", - "src": "1380:15:7" + "src": "1380:15:9" } ], - "id": 983, + "id": 2194, "name": "Assignment", - "src": "1371:24:7" + "src": "1371:24:9" } ], - "id": 984, + "id": 2195, "name": "ExpressionStatement", - "src": "1371:24:7" + "src": "1371:24:9" }, { "children": [ @@ -1889,13 +1889,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 920, + "referencedDeclaration": 2131, "type": "function (uint256)", "value": "Ended" }, - "id": 985, + "id": 2196, "name": "Identifier", - "src": "1403:5:7" + "src": "1403:5:9" }, { "attributes": { @@ -1903,33 +1903,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 892, + "referencedDeclaration": 2103, "type": "uint256", "value": "endTime" }, - "id": 986, + "id": 2197, "name": "Identifier", - "src": "1409:7:7" + "src": "1409:7:9" } ], - "id": 987, + "id": 2198, "name": "FunctionCall", - "src": "1403:14:7" + "src": "1403:14:9" } ], - "id": 988, + "id": 2199, "name": "ExpressionStatement", - "src": "1403:14:7" + "src": "1403:14:9" } ], - "id": 989, + "id": 2200, "name": "Block", - "src": "1342:82:7" + "src": "1342:82:9" } ], - "id": 990, + "id": 2201, "name": "IfStatement", - "src": "1310:114:7" + "src": "1310:114:9" }, { "children": [ @@ -1950,13 +1950,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 896, + "referencedDeclaration": 2107, "type": "uint256", "value": "totalReceivedWei" }, - "id": 991, + "id": 2202, "name": "Identifier", - "src": "1431:16:7" + "src": "1431:16:9" }, { "attributes": { @@ -1986,7 +1986,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 2151, + "referencedDeclaration": 4498, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1996,18 +1996,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 896, + "referencedDeclaration": 2107, "type": "uint256", "value": "totalReceivedWei" }, - "id": 992, + "id": 2203, "name": "Identifier", - "src": "1450:16:7" + "src": "1450:16:9" } ], - "id": 993, + "id": 2204, "name": "MemberAccess", - "src": "1450:20:7" + "src": "1450:20:9" }, { "attributes": { @@ -2027,33 +2027,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 994, + "id": 2205, "name": "Identifier", - "src": "1471:3:7" + "src": "1471:3:9" } ], - "id": 995, + "id": 2206, "name": "MemberAccess", - "src": "1471:9:7" + "src": "1471:9:9" } ], - "id": 996, + "id": 2207, "name": "FunctionCall", - "src": "1450:31:7" + "src": "1450:31:9" } ], - "id": 997, + "id": 2208, "name": "Assignment", - "src": "1431:50:7" + "src": "1431:50:9" } ], - "id": 998, + "id": 2209, "name": "ExpressionStatement", - "src": "1431:50:7" + "src": "1431:50:9" }, { "children": [ @@ -2087,13 +2087,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 916, + "referencedDeclaration": 2127, "type": "function (address,uint256)", "value": "Donated" }, - "id": 999, + "id": 2210, "name": "Identifier", - "src": "1488:7:7" + "src": "1488:7:9" }, { "attributes": { @@ -2113,18 +2113,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1000, + "id": 2211, "name": "Identifier", - "src": "1496:3:7" + "src": "1496:3:9" } ], - "id": 1001, + "id": 2212, "name": "MemberAccess", - "src": "1496:10:7" + "src": "1496:10:9" }, { "attributes": { @@ -2144,32 +2144,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1002, + "id": 2213, "name": "Identifier", - "src": "1508:3:7" + "src": "1508:3:9" } ], - "id": 1003, + "id": 2214, "name": "MemberAccess", - "src": "1508:9:7" + "src": "1508:9:9" } ], - "id": 1004, + "id": 2215, "name": "FunctionCall", - "src": "1488:30:7" + "src": "1488:30:9" } ], - "id": 1005, + "id": 2216, "name": "ExpressionStatement", - "src": "1488:30:7" + "src": "1488:30:9" }, { "attributes": { - "functionReturnParameters": 942 + "functionReturnParameters": 2153 }, "children": [ { @@ -2185,24 +2185,24 @@ "type": "bool", "value": "true" }, - "id": 1006, + "id": 2217, "name": "Literal", - "src": "1531:4:7" + "src": "1531:4:9" } ], - "id": 1007, + "id": 2218, "name": "Return", - "src": "1524:11:7" + "src": "1524:11:9" } ], - "id": 1008, + "id": 2219, "name": "Block", - "src": "1067:473:7" + "src": "1067:473:9" } ], - "id": 1009, + "id": 2220, "name": "FunctionDefinition", - "src": "1019:521:7" + "src": "1019:521:9" }, { "attributes": { @@ -2211,7 +2211,7 @@ "isConstructor": false, "name": "resetWeiBalance", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2223,7 +2223,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1034, + "scope": 2245, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2236,19 +2236,19 @@ "name": "address", "type": "address" }, - "id": 1010, + "id": 2221, "name": "ElementaryTypeName", - "src": "1678:7:7" + "src": "1678:7:9" } ], - "id": 1011, + "id": 2222, "name": "VariableDeclaration", - "src": "1678:13:7" + "src": "1678:13:9" } ], - "id": 1012, + "id": 2223, "name": "ParameterList", - "src": "1677:15:7" + "src": "1677:15:9" }, { "children": [ @@ -2256,7 +2256,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1034, + "scope": 2245, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -2269,19 +2269,19 @@ "name": "bool", "type": "bool" }, - "id": 1015, + "id": 2226, "name": "ElementaryTypeName", - "src": "1721:4:7" + "src": "1721:4:9" } ], - "id": 1016, + "id": 2227, "name": "VariableDeclaration", - "src": "1721:4:7" + "src": "1721:4:9" } ], - "id": 1017, + "id": 2228, "name": "ParameterList", - "src": "1720:6:7" + "src": "1720:6:9" }, { "attributes": { @@ -2296,18 +2296,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 2058, "type": "modifier ()", "value": "onlyOwner" }, - "id": 1013, + "id": 2224, "name": "Identifier", - "src": "1700:9:7" + "src": "1700:9:9" } ], - "id": 1014, + "id": 2225, "name": "ModifierInvocation", - "src": "1700:11:7" + "src": "1700:11:9" }, { "children": [ @@ -2339,19 +2339,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1018, + "id": 2229, "name": "Identifier", - "src": "1734:7:7" + "src": "1734:7:9" }, { "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$908", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -2368,13 +2368,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1019, + "id": 2230, "name": "Identifier", - "src": "1742:6:7" + "src": "1742:6:9" }, { "attributes": { @@ -2394,33 +2394,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1020, + "id": 2231, "name": "Identifier", - "src": "1752:6:7" + "src": "1752:6:9" } ], - "id": 1021, + "id": 2232, "name": "MemberAccess", - "src": "1752:15:7" + "src": "1752:15:9" } ], - "id": 1022, + "id": 2233, "name": "BinaryOperation", - "src": "1742:25:7" + "src": "1742:25:9" } ], - "id": 1023, + "id": 2234, "name": "FunctionCall", - "src": "1734:34:7" + "src": "1734:34:9" } ], - "id": 1024, + "id": 2235, "name": "ExpressionStatement", - "src": "1734:34:7" + "src": "1734:34:9" }, { "children": [ @@ -2451,13 +2451,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1025, + "id": 2236, "name": "Identifier", - "src": "1809:11:7" + "src": "1809:11:9" }, { "attributes": { @@ -2465,18 +2465,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1011, + "referencedDeclaration": 2222, "type": "address", "value": "_user" }, - "id": 1026, + "id": 2237, "name": "Identifier", - "src": "1821:5:7" + "src": "1821:5:9" } ], - "id": 1027, + "id": 2238, "name": "IndexAccess", - "src": "1809:18:7" + "src": "1809:18:9" }, { "attributes": { @@ -2491,23 +2491,23 @@ "type": "int_const 0", "value": "0" }, - "id": 1028, + "id": 2239, "name": "Literal", - "src": "1830:1:7" + "src": "1830:1:9" } ], - "id": 1029, + "id": 2240, "name": "Assignment", - "src": "1809:22:7" + "src": "1809:22:9" } ], - "id": 1030, + "id": 2241, "name": "ExpressionStatement", - "src": "1809:22:7" + "src": "1809:22:9" }, { "attributes": { - "functionReturnParameters": 1017 + "functionReturnParameters": 2228 }, "children": [ { @@ -2523,24 +2523,24 @@ "type": "bool", "value": "true" }, - "id": 1031, + "id": 2242, "name": "Literal", - "src": "1845:4:7" + "src": "1845:4:9" } ], - "id": 1032, + "id": 2243, "name": "Return", - "src": "1838:11:7" + "src": "1838:11:9" } ], - "id": 1033, + "id": 2244, "name": "Block", - "src": "1727:128:7" + "src": "1727:128:9" } ], - "id": 1034, + "id": 2245, "name": "FunctionDefinition", - "src": "1653:202:7" + "src": "1653:202:9" }, { "attributes": { @@ -2552,7 +2552,7 @@ ], "name": "getBalanceOfWei", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -2564,7 +2564,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1046, + "scope": 2257, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2577,19 +2577,19 @@ "name": "address", "type": "address" }, - "id": 1035, + "id": 2246, "name": "ElementaryTypeName", - "src": "1937:7:7" + "src": "1937:7:9" } ], - "id": 1036, + "id": 2247, "name": "VariableDeclaration", - "src": "1937:13:7" + "src": "1937:13:9" } ], - "id": 1037, + "id": 2248, "name": "ParameterList", - "src": "1936:15:7" + "src": "1936:15:9" }, { "children": [ @@ -2597,7 +2597,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1046, + "scope": 2257, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2610,25 +2610,25 @@ "name": "uint", "type": "uint256" }, - "id": 1038, + "id": 2249, "name": "ElementaryTypeName", - "src": "1976:4:7" + "src": "1976:4:9" } ], - "id": 1039, + "id": 2250, "name": "VariableDeclaration", - "src": "1976:4:7" + "src": "1976:4:9" } ], - "id": 1040, + "id": 2251, "name": "ParameterList", - "src": "1975:6:7" + "src": "1975:6:9" }, { "children": [ { "attributes": { - "functionReturnParameters": 1040 + "functionReturnParameters": 2251 }, "children": [ { @@ -2647,13 +2647,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1041, + "id": 2252, "name": "Identifier", - "src": "1995:11:7" + "src": "1995:11:9" }, { "attributes": { @@ -2661,33 +2661,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1036, + "referencedDeclaration": 2247, "type": "address", "value": "_user" }, - "id": 1042, + "id": 2253, "name": "Identifier", - "src": "2007:5:7" + "src": "2007:5:9" } ], - "id": 1043, + "id": 2254, "name": "IndexAccess", - "src": "1995:18:7" + "src": "1995:18:9" } ], - "id": 1044, + "id": 2255, "name": "Return", - "src": "1988:25:7" + "src": "1988:25:9" } ], - "id": 1045, + "id": 2256, "name": "Block", - "src": "1982:36:7" + "src": "1982:36:9" } ], - "id": 1046, + "id": 2257, "name": "FunctionDefinition", - "src": "1912:106:7" + "src": "1912:106:9" }, { "attributes": { @@ -2699,7 +2699,7 @@ ], "name": "getTokenPrice", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -2712,9 +2712,9 @@ ] }, "children": [], - "id": 1047, + "id": 2258, "name": "ParameterList", - "src": "2086:2:7" + "src": "2086:2:9" }, { "children": [ @@ -2722,7 +2722,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1054, + "scope": 2265, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2735,25 +2735,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1048, + "id": 2259, "name": "ElementaryTypeName", - "src": "2113:7:7" + "src": "2113:7:9" } ], - "id": 1049, + "id": 2260, "name": "VariableDeclaration", - "src": "2113:7:7" + "src": "2113:7:9" } ], - "id": 1050, + "id": 2261, "name": "ParameterList", - "src": "2112:9:7" + "src": "2112:9:9" }, { "children": [ { "attributes": { - "functionReturnParameters": 1050 + "functionReturnParameters": 2261 }, "children": [ { @@ -2762,28 +2762,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 894, + "referencedDeclaration": 2105, "type": "uint256", "value": "tokenPrice" }, - "id": 1051, + "id": 2262, "name": "Identifier", - "src": "2135:10:7" + "src": "2135:10:9" } ], - "id": 1052, + "id": 2263, "name": "Return", - "src": "2128:17:7" + "src": "2128:17:9" } ], - "id": 1053, + "id": 2264, "name": "Block", - "src": "2122:28:7" + "src": "2122:28:9" } ], - "id": 1054, + "id": 2265, "name": "FunctionDefinition", - "src": "2064:86:7" + "src": "2064:86:9" }, { "attributes": { @@ -2795,7 +2795,7 @@ ], "name": "getCapOfToken", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -2808,9 +2808,9 @@ ] }, "children": [], - "id": 1055, + "id": 2266, "name": "ParameterList", - "src": "2232:2:7" + "src": "2232:2:9" }, { "children": [ @@ -2818,7 +2818,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1062, + "scope": 2273, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2831,25 +2831,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1056, + "id": 2267, "name": "ElementaryTypeName", - "src": "2259:7:7" + "src": "2259:7:9" } ], - "id": 1057, + "id": 2268, "name": "VariableDeclaration", - "src": "2259:7:7" + "src": "2259:7:9" } ], - "id": 1058, + "id": 2269, "name": "ParameterList", - "src": "2258:9:7" + "src": "2258:9:9" }, { "children": [ { "attributes": { - "functionReturnParameters": 1058 + "functionReturnParameters": 2269 }, "children": [ { @@ -2858,28 +2858,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 898, + "referencedDeclaration": 2109, "type": "uint256", "value": "proofOfDonationCapOfToken" }, - "id": 1059, + "id": 2270, "name": "Identifier", - "src": "2281:25:7" + "src": "2281:25:9" } ], - "id": 1060, + "id": 2271, "name": "Return", - "src": "2274:32:7" + "src": "2274:32:9" } ], - "id": 1061, + "id": 2272, "name": "Block", - "src": "2268:43:7" + "src": "2268:43:9" } ], - "id": 1062, + "id": 2273, "name": "FunctionDefinition", - "src": "2210:101:7" + "src": "2210:101:9" }, { "attributes": { @@ -2891,7 +2891,7 @@ ], "name": "getCapOfWei", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -2904,9 +2904,9 @@ ] }, "children": [], - "id": 1063, + "id": 2274, "name": "ParameterList", - "src": "2388:2:7" + "src": "2388:2:9" }, { "children": [ @@ -2914,7 +2914,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1070, + "scope": 2281, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2927,25 +2927,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 2275, "name": "ElementaryTypeName", - "src": "2415:7:7" + "src": "2415:7:9" } ], - "id": 1065, + "id": 2276, "name": "VariableDeclaration", - "src": "2415:7:7" + "src": "2415:7:9" } ], - "id": 1066, + "id": 2277, "name": "ParameterList", - "src": "2414:9:7" + "src": "2414:9:9" }, { "children": [ { "attributes": { - "functionReturnParameters": 1066 + "functionReturnParameters": 2277 }, "children": [ { @@ -2954,28 +2954,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 900, + "referencedDeclaration": 2111, "type": "uint256", "value": "proofOfDonationCapOfWei" }, - "id": 1067, + "id": 2278, "name": "Identifier", - "src": "2437:23:7" + "src": "2437:23:9" } ], - "id": 1068, + "id": 2279, "name": "Return", - "src": "2430:30:7" + "src": "2430:30:9" } ], - "id": 1069, + "id": 2280, "name": "Block", - "src": "2424:41:7" + "src": "2424:41:9" } ], - "id": 1070, + "id": 2281, "name": "FunctionDefinition", - "src": "2368:97:7" + "src": "2368:97:9" }, { "attributes": { @@ -2987,7 +2987,7 @@ ], "name": "getStartTime", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -3000,9 +3000,9 @@ ] }, "children": [], - "id": 1071, + "id": 2282, "name": "ParameterList", - "src": "2544:2:7" + "src": "2544:2:9" }, { "children": [ @@ -3010,7 +3010,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1078, + "scope": 2289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3023,25 +3023,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1072, + "id": 2283, "name": "ElementaryTypeName", - "src": "2572:7:7" + "src": "2572:7:9" } ], - "id": 1073, + "id": 2284, "name": "VariableDeclaration", - "src": "2572:7:7" + "src": "2572:7:9" } ], - "id": 1074, + "id": 2285, "name": "ParameterList", - "src": "2571:9:7" + "src": "2571:9:9" }, { "children": [ { "attributes": { - "functionReturnParameters": 1074 + "functionReturnParameters": 2285 }, "children": [ { @@ -3050,28 +3050,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 2101, "type": "uint256", "value": "startTime" }, - "id": 1075, + "id": 2286, "name": "Identifier", - "src": "2594:9:7" + "src": "2594:9:9" } ], - "id": 1076, + "id": 2287, "name": "Return", - "src": "2587:16:7" + "src": "2587:16:9" } ], - "id": 1077, + "id": 2288, "name": "Block", - "src": "2581:27:7" + "src": "2581:27:9" } ], - "id": 1078, + "id": 2289, "name": "FunctionDefinition", - "src": "2523:85:7" + "src": "2523:85:9" }, { "attributes": { @@ -3083,7 +3083,7 @@ ], "name": "getEndTime", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -3096,9 +3096,9 @@ ] }, "children": [], - "id": 1079, + "id": 2290, "name": "ParameterList", - "src": "2676:2:7" + "src": "2676:2:9" }, { "children": [ @@ -3106,7 +3106,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1086, + "scope": 2297, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3119,25 +3119,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1080, + "id": 2291, "name": "ElementaryTypeName", - "src": "2704:7:7" + "src": "2704:7:9" } ], - "id": 1081, + "id": 2292, "name": "VariableDeclaration", - "src": "2704:7:7" + "src": "2704:7:9" } ], - "id": 1082, + "id": 2293, "name": "ParameterList", - "src": "2703:9:7" + "src": "2703:9:9" }, { "children": [ { "attributes": { - "functionReturnParameters": 1082 + "functionReturnParameters": 2293 }, "children": [ { @@ -3146,28 +3146,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 892, + "referencedDeclaration": 2103, "type": "uint256", "value": "endTime" }, - "id": 1083, + "id": 2294, "name": "Identifier", - "src": "2726:7:7" + "src": "2726:7:9" } ], - "id": 1084, + "id": 2295, "name": "Return", - "src": "2719:14:7" + "src": "2719:14:9" } ], - "id": 1085, + "id": 2296, "name": "Block", - "src": "2713:25:7" + "src": "2713:25:9" } ], - "id": 1086, + "id": 2297, "name": "FunctionDefinition", - "src": "2657:81:7" + "src": "2657:81:9" }, { "attributes": { @@ -3179,7 +3179,7 @@ ], "name": "isPoDStarted", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -3192,9 +3192,9 @@ ] }, "children": [], - "id": 1087, + "id": 2298, "name": "ParameterList", - "src": "2823:2:7" + "src": "2823:2:9" }, { "children": [ @@ -3202,7 +3202,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1101, + "scope": 2312, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3215,19 +3215,19 @@ "name": "bool", "type": "bool" }, - "id": 1088, + "id": 2299, "name": "ElementaryTypeName", - "src": "2850:4:7" + "src": "2850:4:9" } ], - "id": 1089, + "id": 2300, "name": "VariableDeclaration", - "src": "2850:4:7" + "src": "2850:4:9" } ], - "id": 1090, + "id": 2301, "name": "ParameterList", - "src": "2849:6:7" + "src": "2849:6:9" }, { "children": [ @@ -3240,7 +3240,7 @@ "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$908", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -3257,13 +3257,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1091, + "id": 2302, "name": "Identifier", - "src": "2866:6:7" + "src": "2866:6:9" }, { "attributes": { @@ -3283,27 +3283,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1092, + "id": 2303, "name": "Identifier", - "src": "2876:6:7" + "src": "2876:6:9" } ], - "id": 1093, + "id": 2304, "name": "MemberAccess", - "src": "2876:17:7" + "src": "2876:17:9" } ], - "id": 1094, + "id": 2305, "name": "BinaryOperation", - "src": "2866:27:7" + "src": "2866:27:9" }, { "attributes": { - "functionReturnParameters": 1090 + "functionReturnParameters": 2301 }, "children": [ { @@ -3319,23 +3319,23 @@ "type": "bool", "value": "true" }, - "id": 1095, + "id": 2306, "name": "Literal", - "src": "2908:4:7" + "src": "2908:4:9" } ], - "id": 1096, + "id": 2307, "name": "Return", - "src": "2901:11:7" + "src": "2901:11:9" } ], - "id": 1097, + "id": 2308, "name": "IfStatement", - "src": "2862:50:7" + "src": "2862:50:9" }, { "attributes": { - "functionReturnParameters": 1090 + "functionReturnParameters": 2301 }, "children": [ { @@ -3351,24 +3351,24 @@ "type": "bool", "value": "false" }, - "id": 1098, + "id": 2309, "name": "Literal", - "src": "2925:5:7" + "src": "2925:5:9" } ], - "id": 1099, + "id": 2310, "name": "Return", - "src": "2918:12:7" + "src": "2918:12:9" } ], - "id": 1100, + "id": 2311, "name": "Block", - "src": "2856:79:7" + "src": "2856:79:9" } ], - "id": 1101, + "id": 2312, "name": "FunctionDefinition", - "src": "2802:133:7" + "src": "2802:133:9" }, { "attributes": { @@ -3380,7 +3380,7 @@ ], "name": "isPoDEnded", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -3393,9 +3393,9 @@ ] }, "children": [], - "id": 1102, + "id": 2313, "name": "ParameterList", - "src": "3016:2:7" + "src": "3016:2:9" }, { "children": [ @@ -3403,7 +3403,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1116, + "scope": 2327, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3416,19 +3416,19 @@ "name": "bool", "type": "bool" }, - "id": 1103, + "id": 2314, "name": "ElementaryTypeName", - "src": "3043:4:7" + "src": "3043:4:9" } ], - "id": 1104, + "id": 2315, "name": "VariableDeclaration", - "src": "3043:4:7" + "src": "3043:4:9" } ], - "id": 1105, + "id": 2316, "name": "ParameterList", - "src": "3042:6:7" + "src": "3042:6:9" }, { "children": [ @@ -3441,7 +3441,7 @@ "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$908", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -3458,13 +3458,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1106, + "id": 2317, "name": "Identifier", - "src": "3059:6:7" + "src": "3059:6:9" }, { "attributes": { @@ -3484,27 +3484,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1107, + "id": 2318, "name": "Identifier", - "src": "3069:6:7" + "src": "3069:6:9" } ], - "id": 1108, + "id": 2319, "name": "MemberAccess", - "src": "3069:15:7" + "src": "3069:15:9" } ], - "id": 1109, + "id": 2320, "name": "BinaryOperation", - "src": "3059:25:7" + "src": "3059:25:9" }, { "attributes": { - "functionReturnParameters": 1105 + "functionReturnParameters": 2316 }, "children": [ { @@ -3520,23 +3520,23 @@ "type": "bool", "value": "true" }, - "id": 1110, + "id": 2321, "name": "Literal", - "src": "3099:4:7" + "src": "3099:4:9" } ], - "id": 1111, + "id": 2322, "name": "Return", - "src": "3092:11:7" + "src": "3092:11:9" } ], - "id": 1112, + "id": 2323, "name": "IfStatement", - "src": "3055:48:7" + "src": "3055:48:9" }, { "attributes": { - "functionReturnParameters": 1105 + "functionReturnParameters": 2316 }, "children": [ { @@ -3552,24 +3552,24 @@ "type": "bool", "value": "false" }, - "id": 1113, + "id": 2324, "name": "Literal", - "src": "3116:5:7" + "src": "3116:5:9" } ], - "id": 1114, + "id": 2325, "name": "Return", - "src": "3109:12:7" + "src": "3109:12:9" } ], - "id": 1115, + "id": 2326, "name": "Block", - "src": "3049:77:7" + "src": "3049:77:9" } ], - "id": 1116, + "id": 2327, "name": "FunctionDefinition", - "src": "2997:129:7" + "src": "2997:129:9" }, { "attributes": { @@ -3581,7 +3581,7 @@ ], "name": "", "payable": true, - "scope": 1138, + "scope": 2349, "stateMutability": "payable", "superFunction": null, "visibility": "public" @@ -3594,9 +3594,9 @@ ] }, "children": [], - "id": 1117, + "id": 2328, "name": "ParameterList", - "src": "3175:2:7" + "src": "3175:2:9" }, { "attributes": { @@ -3605,9 +3605,9 @@ ] }, "children": [], - "id": 1118, + "id": 2329, "name": "ParameterList", - "src": "3193:0:7" + "src": "3193:0:9" }, { "children": [ @@ -3639,33 +3639,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1009, + "referencedDeclaration": 2220, "type": "function () returns (bool)", "value": "donate" }, - "id": 1119, + "id": 2330, "name": "Identifier", - "src": "3199:6:7" + "src": "3199:6:9" } ], - "id": 1120, + "id": 2331, "name": "FunctionCall", - "src": "3199:8:7" + "src": "3199:8:9" } ], - "id": 1121, + "id": 2332, "name": "ExpressionStatement", - "src": "3199:8:7" + "src": "3199:8:9" } ], - "id": 1122, + "id": 2333, "name": "Block", - "src": "3193:19:7" + "src": "3193:19:9" } ], - "id": 1123, + "id": 2334, "name": "FunctionDefinition", - "src": "3166:46:7" + "src": "3166:46:9" }, { "attributes": { @@ -3678,7 +3678,7 @@ ], "name": "processDonate", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -3690,7 +3690,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1130, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3703,19 +3703,19 @@ "name": "address", "type": "address" }, - "id": 1124, + "id": 2335, "name": "ElementaryTypeName", - "src": "3279:7:7" + "src": "3279:7:9" } ], - "id": 1125, + "id": 2336, "name": "VariableDeclaration", - "src": "3279:13:7" + "src": "3279:13:9" } ], - "id": 1126, + "id": 2337, "name": "ParameterList", - "src": "3278:15:7" + "src": "3278:15:9" }, { "children": [ @@ -3723,7 +3723,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1130, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3736,24 +3736,24 @@ "name": "bool", "type": "bool" }, - "id": 1127, + "id": 2338, "name": "ElementaryTypeName", - "src": "3312:4:7" + "src": "3312:4:9" } ], - "id": 1128, + "id": 2339, "name": "VariableDeclaration", - "src": "3312:4:7" + "src": "3312:4:9" } ], - "id": 1129, + "id": 2340, "name": "ParameterList", - "src": "3311:6:7" + "src": "3311:6:9" } ], - "id": 1130, + "id": 2341, "name": "FunctionDefinition", - "src": "3256:62:7" + "src": "3256:62:9" }, { "attributes": { @@ -3766,7 +3766,7 @@ ], "name": "getBalanceOfToken", "payable": false, - "scope": 1138, + "scope": 2349, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -3778,7 +3778,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1137, + "scope": 2348, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3791,19 +3791,19 @@ "name": "address", "type": "address" }, - "id": 1131, + "id": 2342, "name": "ElementaryTypeName", - "src": "3349:7:7" + "src": "3349:7:9" } ], - "id": 1132, + "id": 2343, "name": "VariableDeclaration", - "src": "3349:13:7" + "src": "3349:13:9" } ], - "id": 1133, + "id": 2344, "name": "ParameterList", - "src": "3348:15:7" + "src": "3348:15:9" }, { "children": [ @@ -3811,7 +3811,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1137, + "scope": 2348, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3824,34 +3824,34 @@ "name": "uint256", "type": "uint256" }, - "id": 1134, + "id": 2345, "name": "ElementaryTypeName", - "src": "3389:7:7" + "src": "3389:7:9" } ], - "id": 1135, + "id": 2346, "name": "VariableDeclaration", - "src": "3389:7:7" + "src": "3389:7:9" } ], - "id": 1136, + "id": 2347, "name": "ParameterList", - "src": "3388:9:7" + "src": "3388:9:9" } ], - "id": 1137, + "id": 2348, "name": "FunctionDefinition", - "src": "3322:76:7" + "src": "3322:76:9" } ], - "id": 1138, + "id": 2349, "name": "ContractDefinition", - "src": "194:3206:7" + "src": "194:3206:9" } ], - "id": 1139, + "id": 2350, "name": "SourceUnit", - "src": "0:3400:7" + "src": "0:3400:9" }, "compiler": { "name": "solc", @@ -3859,5 +3859,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T09:25:39.457Z" + "updatedAt": "2018-01-15T16:10:12.648Z" } \ No newline at end of file diff --git a/build/contracts/RICO.json b/build/contracts/RICO.json index a1c1df6..5e739da 100644 --- a/build/contracts/RICO.json +++ b/build/contracts/RICO.json @@ -268,10 +268,10 @@ "type": "event" } ], - "bytecode": "0x60606040526040805190810160405280600d81526020017f5249434f20636f6e7472616374000000000000000000000000000000000000008152506001908051906020019062000051929190620000f2565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200009f929190620000f2565b503415620000ac57600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001a1565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200013557805160ff191683800117855562000166565b8280016001018555821562000166579182015b828111156200016557825182559160200191906001019062000148565b5b50905062000175919062000179565b5090565b6200019e91905b808211156200019a57600081600090555060010162000180565b5090565b90565b612f8080620001b16000396000f3006060604052600436106100a4576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806305ef6848146100a957806306fdde03146101375780631db4012d146101c55780634f64b2be1461031057806354fd4d50146103735780636dfada86146104015780638d956f1e1461047a5780638da5cb5b146104b3578063932852af14610508578063f2fde38b14610555575b600080fd5b34156100b457600080fd5b6100e0600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061058e565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610123578082015181840152602081019050610108565b505050509050019250505060405180910390f35b341561014257600080fd5b61014a610661565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561018a57808201518184015260208101905061016f565b50505050905090810190601f1680156101b75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d057600080fd5b6102ce600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff169060200190919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106ff565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561031b57600080fd5b6103316004808035906020019091905050610b8a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037e57600080fd5b610386610bc9565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103c65780820151818401526020810190506103ab565b50505050905090810190601f1680156103f35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561040c57600080fd5b610460600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c67565b604051808215151515815260200191505060405180910390f35b341561048557600080fd5b6104b1600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506110ba565b005b34156104be57600080fd5b6104c66112c8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561051357600080fd5b61053f600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506112ed565b6040518082815260200191505060405180910390f35b341561056057600080fd5b61058c600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611305565b005b61059661166a565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561065557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161060b575b50505050509050919050565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b505050505081565b600080600061070d8561145a565b915060008211151561071e57600080fd5b61072661167e565b604051809103906000f080151561073c57600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff166398cbefbe898989886000604051602001526040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018560ff1660ff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838103835287818151815260200191508051906020019080838360005b838110156108145780820151818401526020810190506107f9565b50505050905090810190601f1680156108415780820380516001836020036101000a031916815260200191505b50838103825286818151815260200191508051906020019080838360005b8381101561087a57808201518184015260208101905061085f565b50505050905090810190601f1680156108a75780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15156108c957600080fd5b6102c65a03f115156108da57600080fd5b505050604051805190505084600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020908051906020019061093892919061168e565b5081600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600380548060010182816109919190611718565b9160005260206000209001600083909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550507f3c2cba77c9f52a23d345af4adc0a71124e8121df1f17d857055c2e3c08e74b438888888589866040518080602001806020018760ff1660ff168152602001868152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184810384528a818151815260200191508051906020019080838360005b83811015610a93578082015181840152602081019050610a78565b50505050905090810190601f168015610ac05780820380516001836020036101000a031916815260200191505b50848103835289818151815260200191508051906020019080838360005b83811015610af9578082015181840152602081019050610ade565b50505050905090810190601f168015610b265780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b83811015610b62578082015181840152602081019050610b47565b50505050905001995050505050505050505060405180910390a1809250505095945050505050565b600381815481101515610b9957fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c5f5780601f10610c3457610100808354040283529160200191610c5f565b820191906000526020600020905b815481529060010190602001808311610c4257829003601f168201915b505050505081565b600080600080600033935060008673ffffffffffffffffffffffffffffffffffffffff16141515610c96578593505b6000600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002088815481101515610ce457fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151515610d3357600080fd5b600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002087815481101515610d7f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1692508273ffffffffffffffffffffffffffffffffffffffff16638f85f92c6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515610e1957600080fd5b6102c65a03f11515610e2a57600080fd5b505050604051805190501515610e3f57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166383786f8c856000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610ee257600080fd5b6102c65a03f11515610ef357600080fd5b505050604051805190509150600082111515610f0e57600080fd5b8790508073ffffffffffffffffffffffffffffffffffffffff166340c10f1985846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515610fbc57600080fd5b6102c65a03f11515610fcd57600080fd5b505050604051805190501515610fe257600080fd5b8273ffffffffffffffffffffffffffffffffffffffff1663112ed3f5856000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561108557600080fd5b6102c65a03f1151561109657600080fd5b5050506040518051905015156110ab57600080fd5b60019450505050509392505050565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561111857600080fd5b8291508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15156111be57600080fd5b6102c65a03f115156111cf57600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156112a757600080fd5b6102c65a03f115156112b857600080fd5b5050506040518051905050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60056020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561136057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561139c57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060008060008060009450600093505b865184101561163e57868481518110151561148357fe5b9060200190602002015192508291508173ffffffffffffffffffffffffffffffffffffffff16639b3dfce06000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156114fe57600080fd5b6102c65a03f1151561150f57600080fd5b5050506040518051905015156115285760009550611642565b8173ffffffffffffffffffffffffffffffffffffffff166397722acf6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561159457600080fd5b6102c65a03f115156115a557600080fd5b5050506040518051905090506115c4818661164c90919063ffffffff16565b94507f73d563903347723905a32c77ec9e60577b6f569b3cbcb367d71dd532c52d469f8282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1838060010194505061146c565b8495505b5050505050919050565b600080828401905083811015151561166057fe5b8091505092915050565b602060405190810160405280600081525090565b6040516117a8806117ad83390190565b828054828255906000526020600020908101928215611707579160200282015b828111156117065782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906116ae565b5b5090506117149190611744565b5090565b81548183558181151161173f5781836000526020600020918201910161173e9190611787565b5b505050565b61178491905b8082111561178057600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161174a565b5090565b90565b6117a991905b808211156117a557600081600090555060010161178d565b5090565b90560060606040526000600360146101000a81548160ff0219169083151502179055506000600360156101000a81548160ff021916908315150217905550341561004557600080fd5b33600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611713806100956000396000f3006060604052600436106100fc576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806305d2035b1461010157806306fdde031461012e578063095ea7b3146101bc578063158ef93e1461021657806318160ddd1461024357806323b872dd1461026c578063313ce567146102e557806340c10f191461031457806370a082311461036e5780637d64bcb4146103bb5780638d956f1e146103e85780638da5cb5b1461043957806395d89b411461048e57806398cbefbe1461051c578063a4475ce4146105ff578063a9059cbb14610654578063dd62ed3e146106ae578063f2fde38b1461071a575b600080fd5b341561010c57600080fd5b610114610753565b604051808215151515815260200191505060405180910390f35b341561013957600080fd5b610141610766565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610181578082015181840152602081019050610166565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b6101fc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610804565b604051808215151515815260200191505060405180910390f35b341561022157600080fd5b6102296108f6565b604051808215151515815260200191505060405180910390f35b341561024e57600080fd5b610256610909565b6040518082815260200191505060405180910390f35b341561027757600080fd5b6102cb600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061090f565b604051808215151515815260200191505060405180910390f35b34156102f057600080fd5b6102f8610ba9565b604051808260ff1660ff16815260200191505060405180910390f35b341561031f57600080fd5b610354600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610bbc565b604051808215151515815260200191505060405180910390f35b341561037957600080fd5b6103a5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610da4565b6040518082815260200191505060405180910390f35b34156103c657600080fd5b6103ce610ded565b604051808215151515815260200191505060405180910390f35b34156103f357600080fd5b61041f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610eb5565b604051808215151515815260200191505060405180910390f35b341561044457600080fd5b61044c6110c9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561049957600080fd5b6104a16110ef565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104e15780820151818401526020810190506104c6565b50505050905090810190601f16801561050e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561052757600080fd5b6105e5600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061118d565b604051808215151515815260200191505060405180910390f35b341561060a57600080fd5b6106126112c6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561065f57600080fd5b610694600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506112ec565b604051808215151515815260200191505060405180910390f35b34156106b957600080fd5b610704600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611445565b6040518082815260200191505060405180910390f35b341561072557600080fd5b610751600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506114cc565b005b600360149054906101000a900460ff1681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107fc5780601f106107d1576101008083540402835291602001916107fc565b820191906000526020600020905b8154815290600101906020018083116107df57829003601f168201915b505050505081565b600081600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b600360159054906101000a900460ff1681565b60005481565b600080600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101580156109e05750828110155b15156109eb57600080fd5b82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610b385782600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150509392505050565b600660009054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c1a57600080fd5b600360149054906101000a900460ff16151515610c3657600080fd5b610c4b8260005461162490919063ffffffff16565b600081905550610ca382600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461162490919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885836040518082815260200191505060405180910390a28273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600360149054906101000a900460ff16151515610e0b57600080fd5b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e6757600080fd5b6001600360146101000a81548160ff0219169083151502179055507fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a16001905090565b6000806000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f1657600080fd5b8391508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610fbc57600080fd5b6102c65a03f11515610fcd57600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156110a657600080fd5b6102c65a03f115156110b757600080fd5b50505060405180519050505050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111855780601f1061115a57610100808354040283529160200191611185565b820191906000526020600020905b81548152906001019060200180831161116857829003601f168201915b505050505081565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111eb57600080fd5b600360159054906101000a900460ff1615151561120757600080fd5b846004908051906020019061121d929190611642565b508360059080519060200190611234929190611642565b5082600660006101000a81548160ff021916908360ff16021790555081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360156101000a81548160ff021916908315150217905550600360159054906101000a900460ff169050949350505050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561133c57600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561152857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561156457600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080828401905083811015151561163857fe5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061168357805160ff19168380011785556116b1565b828001600101855582156116b1579182015b828111156116b0578251825591602001919060010190611695565b5b5090506116be91906116c2565b5090565b6116e491905b808211156116e05760008160009055506001016116c8565b5090565b905600a165627a7a723058203327e7425e43f5490e8fa2451bc02e05f123d3ff56f23af725b4b73eb7c1f2a20029a165627a7a723058207f96a6d27e16aa7f10028d85cad334018359fa679cb5981968b1d47e017fda410029", - "deployedBytecode": "0x6060604052600436106100a4576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806305ef6848146100a957806306fdde03146101375780631db4012d146101c55780634f64b2be1461031057806354fd4d50146103735780636dfada86146104015780638d956f1e1461047a5780638da5cb5b146104b3578063932852af14610508578063f2fde38b14610555575b600080fd5b34156100b457600080fd5b6100e0600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061058e565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610123578082015181840152602081019050610108565b505050509050019250505060405180910390f35b341561014257600080fd5b61014a610661565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561018a57808201518184015260208101905061016f565b50505050905090810190601f1680156101b75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d057600080fd5b6102ce600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff169060200190919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106ff565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561031b57600080fd5b6103316004808035906020019091905050610b8a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037e57600080fd5b610386610bc9565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103c65780820151818401526020810190506103ab565b50505050905090810190601f1680156103f35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561040c57600080fd5b610460600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c67565b604051808215151515815260200191505060405180910390f35b341561048557600080fd5b6104b1600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506110ba565b005b34156104be57600080fd5b6104c66112c8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561051357600080fd5b61053f600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506112ed565b6040518082815260200191505060405180910390f35b341561056057600080fd5b61058c600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611305565b005b61059661166a565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561065557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161060b575b50505050509050919050565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b505050505081565b600080600061070d8561145a565b915060008211151561071e57600080fd5b61072661167e565b604051809103906000f080151561073c57600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff166398cbefbe898989886000604051602001526040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018560ff1660ff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838103835287818151815260200191508051906020019080838360005b838110156108145780820151818401526020810190506107f9565b50505050905090810190601f1680156108415780820380516001836020036101000a031916815260200191505b50838103825286818151815260200191508051906020019080838360005b8381101561087a57808201518184015260208101905061085f565b50505050905090810190601f1680156108a75780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15156108c957600080fd5b6102c65a03f115156108da57600080fd5b505050604051805190505084600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020908051906020019061093892919061168e565b5081600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600380548060010182816109919190611718565b9160005260206000209001600083909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550507f3c2cba77c9f52a23d345af4adc0a71124e8121df1f17d857055c2e3c08e74b438888888589866040518080602001806020018760ff1660ff168152602001868152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184810384528a818151815260200191508051906020019080838360005b83811015610a93578082015181840152602081019050610a78565b50505050905090810190601f168015610ac05780820380516001836020036101000a031916815260200191505b50848103835289818151815260200191508051906020019080838360005b83811015610af9578082015181840152602081019050610ade565b50505050905090810190601f168015610b265780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b83811015610b62578082015181840152602081019050610b47565b50505050905001995050505050505050505060405180910390a1809250505095945050505050565b600381815481101515610b9957fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c5f5780601f10610c3457610100808354040283529160200191610c5f565b820191906000526020600020905b815481529060010190602001808311610c4257829003601f168201915b505050505081565b600080600080600033935060008673ffffffffffffffffffffffffffffffffffffffff16141515610c96578593505b6000600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002088815481101515610ce457fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151515610d3357600080fd5b600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002087815481101515610d7f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1692508273ffffffffffffffffffffffffffffffffffffffff16638f85f92c6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515610e1957600080fd5b6102c65a03f11515610e2a57600080fd5b505050604051805190501515610e3f57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166383786f8c856000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610ee257600080fd5b6102c65a03f11515610ef357600080fd5b505050604051805190509150600082111515610f0e57600080fd5b8790508073ffffffffffffffffffffffffffffffffffffffff166340c10f1985846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515610fbc57600080fd5b6102c65a03f11515610fcd57600080fd5b505050604051805190501515610fe257600080fd5b8273ffffffffffffffffffffffffffffffffffffffff1663112ed3f5856000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561108557600080fd5b6102c65a03f1151561109657600080fd5b5050506040518051905015156110ab57600080fd5b60019450505050509392505050565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561111857600080fd5b8291508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15156111be57600080fd5b6102c65a03f115156111cf57600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156112a757600080fd5b6102c65a03f115156112b857600080fd5b5050506040518051905050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60056020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561136057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561139c57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060008060008060009450600093505b865184101561163e57868481518110151561148357fe5b9060200190602002015192508291508173ffffffffffffffffffffffffffffffffffffffff16639b3dfce06000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156114fe57600080fd5b6102c65a03f1151561150f57600080fd5b5050506040518051905015156115285760009550611642565b8173ffffffffffffffffffffffffffffffffffffffff166397722acf6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561159457600080fd5b6102c65a03f115156115a557600080fd5b5050506040518051905090506115c4818661164c90919063ffffffff16565b94507f73d563903347723905a32c77ec9e60577b6f569b3cbcb367d71dd532c52d469f8282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1838060010194505061146c565b8495505b5050505050919050565b600080828401905083811015151561166057fe5b8091505092915050565b602060405190810160405280600081525090565b6040516117a8806117ad83390190565b828054828255906000526020600020908101928215611707579160200282015b828111156117065782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906116ae565b5b5090506117149190611744565b5090565b81548183558181151161173f5781836000526020600020918201910161173e9190611787565b5b505050565b61178491905b8082111561178057600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161174a565b5090565b90565b6117a991905b808211156117a557600081600090555060010161178d565b5090565b90560060606040526000600360146101000a81548160ff0219169083151502179055506000600360156101000a81548160ff021916908315150217905550341561004557600080fd5b33600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611713806100956000396000f3006060604052600436106100fc576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806305d2035b1461010157806306fdde031461012e578063095ea7b3146101bc578063158ef93e1461021657806318160ddd1461024357806323b872dd1461026c578063313ce567146102e557806340c10f191461031457806370a082311461036e5780637d64bcb4146103bb5780638d956f1e146103e85780638da5cb5b1461043957806395d89b411461048e57806398cbefbe1461051c578063a4475ce4146105ff578063a9059cbb14610654578063dd62ed3e146106ae578063f2fde38b1461071a575b600080fd5b341561010c57600080fd5b610114610753565b604051808215151515815260200191505060405180910390f35b341561013957600080fd5b610141610766565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610181578082015181840152602081019050610166565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b6101fc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610804565b604051808215151515815260200191505060405180910390f35b341561022157600080fd5b6102296108f6565b604051808215151515815260200191505060405180910390f35b341561024e57600080fd5b610256610909565b6040518082815260200191505060405180910390f35b341561027757600080fd5b6102cb600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061090f565b604051808215151515815260200191505060405180910390f35b34156102f057600080fd5b6102f8610ba9565b604051808260ff1660ff16815260200191505060405180910390f35b341561031f57600080fd5b610354600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610bbc565b604051808215151515815260200191505060405180910390f35b341561037957600080fd5b6103a5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610da4565b6040518082815260200191505060405180910390f35b34156103c657600080fd5b6103ce610ded565b604051808215151515815260200191505060405180910390f35b34156103f357600080fd5b61041f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610eb5565b604051808215151515815260200191505060405180910390f35b341561044457600080fd5b61044c6110c9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561049957600080fd5b6104a16110ef565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104e15780820151818401526020810190506104c6565b50505050905090810190601f16801561050e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561052757600080fd5b6105e5600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061118d565b604051808215151515815260200191505060405180910390f35b341561060a57600080fd5b6106126112c6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561065f57600080fd5b610694600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506112ec565b604051808215151515815260200191505060405180910390f35b34156106b957600080fd5b610704600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611445565b6040518082815260200191505060405180910390f35b341561072557600080fd5b610751600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506114cc565b005b600360149054906101000a900460ff1681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107fc5780601f106107d1576101008083540402835291602001916107fc565b820191906000526020600020905b8154815290600101906020018083116107df57829003601f168201915b505050505081565b600081600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b600360159054906101000a900460ff1681565b60005481565b600080600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101580156109e05750828110155b15156109eb57600080fd5b82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610b385782600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150509392505050565b600660009054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c1a57600080fd5b600360149054906101000a900460ff16151515610c3657600080fd5b610c4b8260005461162490919063ffffffff16565b600081905550610ca382600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461162490919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885836040518082815260200191505060405180910390a28273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600360149054906101000a900460ff16151515610e0b57600080fd5b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e6757600080fd5b6001600360146101000a81548160ff0219169083151502179055507fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a16001905090565b6000806000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f1657600080fd5b8391508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610fbc57600080fd5b6102c65a03f11515610fcd57600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156110a657600080fd5b6102c65a03f115156110b757600080fd5b50505060405180519050505050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111855780601f1061115a57610100808354040283529160200191611185565b820191906000526020600020905b81548152906001019060200180831161116857829003601f168201915b505050505081565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111eb57600080fd5b600360159054906101000a900460ff1615151561120757600080fd5b846004908051906020019061121d929190611642565b508360059080519060200190611234929190611642565b5082600660006101000a81548160ff021916908360ff16021790555081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360156101000a81548160ff021916908315150217905550600360159054906101000a900460ff169050949350505050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561133c57600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561152857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561156457600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080828401905083811015151561163857fe5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061168357805160ff19168380011785556116b1565b828001600101855582156116b1579182015b828111156116b0578251825591602001919060010190611695565b5b5090506116be91906116c2565b5090565b6116e491905b808211156116e05760008160009055506001016116c8565b5090565b905600a165627a7a723058203327e7425e43f5490e8fa2451bc02e05f123d3ff56f23af725b4b73eb7c1f2a20029a165627a7a723058207f96a6d27e16aa7f10028d85cad334018359fa679cb5981968b1d47e017fda410029", - "sourceMap": "214:3401:11:-;;;520:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;560:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;802:26;;;;;;;;603:10:6;595:5;;:18;;;;;;;;;;;;;;;;;;214:3401:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "214:3401:11:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3502:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;520:36:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1183:598:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;596:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;560:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2598:564:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3229:201;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;669:46:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;3502:111:11;3565:9;;:::i;:::-;3589:11;:19;3601:6;3589:19;;;;;;;;;;;;;;;3582:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3502:111;;;:::o;520:36::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1183:598::-;1336:7;1354:19;1473;1376:16;1386:5;1376:9;:16::i;:::-;1354:38;;1421:1;1407:11;:15;1399:24;;;;;;;;1495:19;;:::i;:::-;;;;;;;;;;;;;;;;;;1473:41;;1521:5;:10;;;1532:5;1539:7;1548:9;1559:13;1521:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1521:52:11;1601:5;1580:11;:18;1592:5;1580:18;;;;;;;;;;;;;;;:26;;;;;;;;;;;;:::i;:::-;;1634:11;1613;:18;1625:5;1613:18;;;;;;;;;;;;;;;:32;;;;1652:6;:18;;;;;;;;;;;:::i;:::-;;;;;;;;;;1664:5;1652:18;;;;;;;;;;;;;;;;;;;;;;;1677:71;1695:5;1702:7;1711:9;1722:11;1735:5;1742;1677:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;1770:5:11;1755:21;;1183:598;;;;;;;;;:::o;596:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;560:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2598:564::-;2680:4;2693:12;2831:10;2922:18;3007:19;2708:10;2693:25;;2739:3;2730:5;:12;;;;2726:45;;;2759:5;2752:12;;2726:45;2820:3;2785:11;:23;2797:10;2785:23;;;;;;;;;;;;;;;2809:6;2785:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;:38;;;;2777:47;;;;;;;;2851:11;:23;2863:10;2851:23;;;;;;;;;;;;;;;2875:6;2851:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;2831:52;;2898:3;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2890:25;;;;;;;;2943:3;:21;;;2965:4;2943:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2922:48;;2998:1;2985:10;:14;2977:23;;;;;;;;3043:10;3007:47;;3069:5;:10;;;3080:4;3086:10;3069:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3061:37;;;;;;;;3113:3;:19;;;3133:4;3113:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3105:34;;;;;;;;3153:4;3146:11;;2598:564;;;;;;;;;:::o;3229:201::-;3298:19;3348:12;748:5:6;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;3334:6:11;3298:43;;3363:5;:15;;;3379:4;3363:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3348:36;;3395:5;:14;;;3410:5;;;;;;;;;;;3417:7;3395:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3229:201;;;:::o;334:20:6:-;;;;;;;;;;;;;:::o;669:46:11:-;;;;;;;;;;;;;;;;;:::o;928:169:6:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;1913:440:11:-;1967:7;1982:17;2014:6;2057:15;2091:10;2184:18;2002:1;1982:21;;2023:1;2014:10;;2009:317;2030:5;:12;2026:1;:16;2009:317;;;2075:5;2081:1;2075:8;;;;;;;;;;;;;;;;;;2057:26;;2111:7;2091:28;;2133:3;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2132:19;2128:41;;;2168:1;2161:8;;;;2128:41;2205:3;:17;;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2184:40;;2244:25;2258:10;2244:9;:13;;:25;;;;:::i;:::-;2232:37;;2277:42;2302:3;2308:10;2277:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;2044:3;;;;;;;2009:317;;;2339:9;2332:16;;1913:440;;;;;;;;;:::o;759:128:12:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;214:3401:11:-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", + "bytecode": "0x60606040526040805190810160405280600d81526020017f5249434f20636f6e7472616374000000000000000000000000000000000000008152506001908051906020019062000051929190620000f2565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200009f929190620000f2565b503415620000ac57600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001a1565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200013557805160ff191683800117855562000166565b8280016001018555821562000166579182015b828111156200016557825182559160200191906001019062000148565b5b50905062000175919062000179565b5090565b6200019e91905b808211156200019a57600081600090555060010162000180565b5090565b90565b612f8080620001b16000396000f3006060604052600436106100a4576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806305ef6848146100a957806306fdde03146101375780631db4012d146101c55780634f64b2be1461031057806354fd4d50146103735780636dfada86146104015780638d956f1e1461047a5780638da5cb5b146104b3578063932852af14610508578063f2fde38b14610555575b600080fd5b34156100b457600080fd5b6100e0600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061058e565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610123578082015181840152602081019050610108565b505050509050019250505060405180910390f35b341561014257600080fd5b61014a610661565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561018a57808201518184015260208101905061016f565b50505050905090810190601f1680156101b75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d057600080fd5b6102ce600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff169060200190919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106ff565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561031b57600080fd5b6103316004808035906020019091905050610b8a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037e57600080fd5b610386610bc9565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103c65780820151818401526020810190506103ab565b50505050905090810190601f1680156103f35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561040c57600080fd5b610460600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c67565b604051808215151515815260200191505060405180910390f35b341561048557600080fd5b6104b1600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506110ba565b005b34156104be57600080fd5b6104c66112c8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561051357600080fd5b61053f600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506112ed565b6040518082815260200191505060405180910390f35b341561056057600080fd5b61058c600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611305565b005b61059661166a565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561065557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161060b575b50505050509050919050565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b505050505081565b600080600061070d8561145a565b915060008211151561071e57600080fd5b61072661167e565b604051809103906000f080151561073c57600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff166398cbefbe898989886000604051602001526040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018560ff1660ff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838103835287818151815260200191508051906020019080838360005b838110156108145780820151818401526020810190506107f9565b50505050905090810190601f1680156108415780820380516001836020036101000a031916815260200191505b50838103825286818151815260200191508051906020019080838360005b8381101561087a57808201518184015260208101905061085f565b50505050905090810190601f1680156108a75780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15156108c957600080fd5b6102c65a03f115156108da57600080fd5b505050604051805190505084600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020908051906020019061093892919061168e565b5081600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600380548060010182816109919190611718565b9160005260206000209001600083909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550507f3c2cba77c9f52a23d345af4adc0a71124e8121df1f17d857055c2e3c08e74b438888888589866040518080602001806020018760ff1660ff168152602001868152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184810384528a818151815260200191508051906020019080838360005b83811015610a93578082015181840152602081019050610a78565b50505050905090810190601f168015610ac05780820380516001836020036101000a031916815260200191505b50848103835289818151815260200191508051906020019080838360005b83811015610af9578082015181840152602081019050610ade565b50505050905090810190601f168015610b265780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b83811015610b62578082015181840152602081019050610b47565b50505050905001995050505050505050505060405180910390a1809250505095945050505050565b600381815481101515610b9957fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c5f5780601f10610c3457610100808354040283529160200191610c5f565b820191906000526020600020905b815481529060010190602001808311610c4257829003601f168201915b505050505081565b600080600080600033935060008673ffffffffffffffffffffffffffffffffffffffff16141515610c96578593505b6000600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002088815481101515610ce457fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151515610d3357600080fd5b600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002087815481101515610d7f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1692508273ffffffffffffffffffffffffffffffffffffffff16638f85f92c6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515610e1957600080fd5b6102c65a03f11515610e2a57600080fd5b505050604051805190501515610e3f57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166383786f8c856000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610ee257600080fd5b6102c65a03f11515610ef357600080fd5b505050604051805190509150600082111515610f0e57600080fd5b8790508073ffffffffffffffffffffffffffffffffffffffff166340c10f1985846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515610fbc57600080fd5b6102c65a03f11515610fcd57600080fd5b505050604051805190501515610fe257600080fd5b8273ffffffffffffffffffffffffffffffffffffffff1663112ed3f5856000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561108557600080fd5b6102c65a03f1151561109657600080fd5b5050506040518051905015156110ab57600080fd5b60019450505050509392505050565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561111857600080fd5b8291508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15156111be57600080fd5b6102c65a03f115156111cf57600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156112a757600080fd5b6102c65a03f115156112b857600080fd5b5050506040518051905050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60056020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561136057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561139c57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060008060008060009450600093505b865184101561163e57868481518110151561148357fe5b9060200190602002015192508291508173ffffffffffffffffffffffffffffffffffffffff16639b3dfce06000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156114fe57600080fd5b6102c65a03f1151561150f57600080fd5b5050506040518051905015156115285760009550611642565b8173ffffffffffffffffffffffffffffffffffffffff166397722acf6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561159457600080fd5b6102c65a03f115156115a557600080fd5b5050506040518051905090506115c4818661164c90919063ffffffff16565b94507f73d563903347723905a32c77ec9e60577b6f569b3cbcb367d71dd532c52d469f8282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1838060010194505061146c565b8495505b5050505050919050565b600080828401905083811015151561166057fe5b8091505092915050565b602060405190810160405280600081525090565b6040516117a8806117ad83390190565b828054828255906000526020600020908101928215611707579160200282015b828111156117065782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906116ae565b5b5090506117149190611744565b5090565b81548183558181151161173f5781836000526020600020918201910161173e9190611787565b5b505050565b61178491905b8082111561178057600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161174a565b5090565b90565b6117a991905b808211156117a557600081600090555060010161178d565b5090565b90560060606040526000600360146101000a81548160ff0219169083151502179055506000600360156101000a81548160ff021916908315150217905550341561004557600080fd5b33600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611713806100956000396000f3006060604052600436106100fc576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806305d2035b1461010157806306fdde031461012e578063095ea7b3146101bc578063158ef93e1461021657806318160ddd1461024357806323b872dd1461026c578063313ce567146102e557806340c10f191461031457806370a082311461036e5780637d64bcb4146103bb5780638d956f1e146103e85780638da5cb5b1461043957806395d89b411461048e57806398cbefbe1461051c578063a4475ce4146105ff578063a9059cbb14610654578063dd62ed3e146106ae578063f2fde38b1461071a575b600080fd5b341561010c57600080fd5b610114610753565b604051808215151515815260200191505060405180910390f35b341561013957600080fd5b610141610766565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610181578082015181840152602081019050610166565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b6101fc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610804565b604051808215151515815260200191505060405180910390f35b341561022157600080fd5b6102296108f6565b604051808215151515815260200191505060405180910390f35b341561024e57600080fd5b610256610909565b6040518082815260200191505060405180910390f35b341561027757600080fd5b6102cb600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061090f565b604051808215151515815260200191505060405180910390f35b34156102f057600080fd5b6102f8610ba9565b604051808260ff1660ff16815260200191505060405180910390f35b341561031f57600080fd5b610354600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610bbc565b604051808215151515815260200191505060405180910390f35b341561037957600080fd5b6103a5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610da4565b6040518082815260200191505060405180910390f35b34156103c657600080fd5b6103ce610ded565b604051808215151515815260200191505060405180910390f35b34156103f357600080fd5b61041f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610eb5565b604051808215151515815260200191505060405180910390f35b341561044457600080fd5b61044c6110c9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561049957600080fd5b6104a16110ef565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104e15780820151818401526020810190506104c6565b50505050905090810190601f16801561050e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561052757600080fd5b6105e5600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061118d565b604051808215151515815260200191505060405180910390f35b341561060a57600080fd5b6106126112c6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561065f57600080fd5b610694600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506112ec565b604051808215151515815260200191505060405180910390f35b34156106b957600080fd5b610704600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611445565b6040518082815260200191505060405180910390f35b341561072557600080fd5b610751600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506114cc565b005b600360149054906101000a900460ff1681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107fc5780601f106107d1576101008083540402835291602001916107fc565b820191906000526020600020905b8154815290600101906020018083116107df57829003601f168201915b505050505081565b600081600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b600360159054906101000a900460ff1681565b60005481565b600080600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101580156109e05750828110155b15156109eb57600080fd5b82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610b385782600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150509392505050565b600660009054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c1a57600080fd5b600360149054906101000a900460ff16151515610c3657600080fd5b610c4b8260005461162490919063ffffffff16565b600081905550610ca382600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461162490919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885836040518082815260200191505060405180910390a28273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600360149054906101000a900460ff16151515610e0b57600080fd5b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e6757600080fd5b6001600360146101000a81548160ff0219169083151502179055507fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a16001905090565b6000806000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f1657600080fd5b8391508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610fbc57600080fd5b6102c65a03f11515610fcd57600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156110a657600080fd5b6102c65a03f115156110b757600080fd5b50505060405180519050505050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111855780601f1061115a57610100808354040283529160200191611185565b820191906000526020600020905b81548152906001019060200180831161116857829003601f168201915b505050505081565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111eb57600080fd5b600360159054906101000a900460ff1615151561120757600080fd5b846004908051906020019061121d929190611642565b508360059080519060200190611234929190611642565b5082600660006101000a81548160ff021916908360ff16021790555081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360156101000a81548160ff021916908315150217905550600360159054906101000a900460ff169050949350505050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561133c57600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561152857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561156457600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080828401905083811015151561163857fe5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061168357805160ff19168380011785556116b1565b828001600101855582156116b1579182015b828111156116b0578251825591602001919060010190611695565b5b5090506116be91906116c2565b5090565b6116e491905b808211156116e05760008160009055506001016116c8565b5090565b905600a165627a7a723058203327e7425e43f5490e8fa2451bc02e05f123d3ff56f23af725b4b73eb7c1f2a20029a165627a7a72305820a817fc6d19dd378f9d8670219f4f2626a5155f55d2cfdd9c2c25826271ba09dd0029", + "deployedBytecode": "0x6060604052600436106100a4576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806305ef6848146100a957806306fdde03146101375780631db4012d146101c55780634f64b2be1461031057806354fd4d50146103735780636dfada86146104015780638d956f1e1461047a5780638da5cb5b146104b3578063932852af14610508578063f2fde38b14610555575b600080fd5b34156100b457600080fd5b6100e0600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061058e565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610123578082015181840152602081019050610108565b505050509050019250505060405180910390f35b341561014257600080fd5b61014a610661565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561018a57808201518184015260208101905061016f565b50505050905090810190601f1680156101b75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d057600080fd5b6102ce600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff169060200190919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106ff565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561031b57600080fd5b6103316004808035906020019091905050610b8a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037e57600080fd5b610386610bc9565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103c65780820151818401526020810190506103ab565b50505050905090810190601f1680156103f35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561040c57600080fd5b610460600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c67565b604051808215151515815260200191505060405180910390f35b341561048557600080fd5b6104b1600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506110ba565b005b34156104be57600080fd5b6104c66112c8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561051357600080fd5b61053f600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506112ed565b6040518082815260200191505060405180910390f35b341561056057600080fd5b61058c600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611305565b005b61059661166a565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561065557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161060b575b50505050509050919050565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b505050505081565b600080600061070d8561145a565b915060008211151561071e57600080fd5b61072661167e565b604051809103906000f080151561073c57600080fd5b90508073ffffffffffffffffffffffffffffffffffffffff166398cbefbe898989886000604051602001526040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018080602001806020018560ff1660ff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838103835287818151815260200191508051906020019080838360005b838110156108145780820151818401526020810190506107f9565b50505050905090810190601f1680156108415780820380516001836020036101000a031916815260200191505b50838103825286818151815260200191508051906020019080838360005b8381101561087a57808201518184015260208101905061085f565b50505050905090810190601f1680156108a75780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15156108c957600080fd5b6102c65a03f115156108da57600080fd5b505050604051805190505084600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020908051906020019061093892919061168e565b5081600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600380548060010182816109919190611718565b9160005260206000209001600083909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550507f3c2cba77c9f52a23d345af4adc0a71124e8121df1f17d857055c2e3c08e74b438888888589866040518080602001806020018760ff1660ff168152602001868152602001806020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184810384528a818151815260200191508051906020019080838360005b83811015610a93578082015181840152602081019050610a78565b50505050905090810190601f168015610ac05780820380516001836020036101000a031916815260200191505b50848103835289818151815260200191508051906020019080838360005b83811015610af9578082015181840152602081019050610ade565b50505050905090810190601f168015610b265780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019060200280838360005b83811015610b62578082015181840152602081019050610b47565b50505050905001995050505050505050505060405180910390a1809250505095945050505050565b600381815481101515610b9957fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c5f5780601f10610c3457610100808354040283529160200191610c5f565b820191906000526020600020905b815481529060010190602001808311610c4257829003601f168201915b505050505081565b600080600080600033935060008673ffffffffffffffffffffffffffffffffffffffff16141515610c96578593505b6000600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002088815481101515610ce457fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151515610d3357600080fd5b600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002087815481101515610d7f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1692508273ffffffffffffffffffffffffffffffffffffffff16638f85f92c6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1515610e1957600080fd5b6102c65a03f11515610e2a57600080fd5b505050604051805190501515610e3f57600080fd5b8273ffffffffffffffffffffffffffffffffffffffff166383786f8c856000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610ee257600080fd5b6102c65a03f11515610ef357600080fd5b505050604051805190509150600082111515610f0e57600080fd5b8790508073ffffffffffffffffffffffffffffffffffffffff166340c10f1985846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515610fbc57600080fd5b6102c65a03f11515610fcd57600080fd5b505050604051805190501515610fe257600080fd5b8273ffffffffffffffffffffffffffffffffffffffff1663112ed3f5856000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561108557600080fd5b6102c65a03f1151561109657600080fd5b5050506040518051905015156110ab57600080fd5b60019450505050509392505050565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561111857600080fd5b8291508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15156111be57600080fd5b6102c65a03f115156111cf57600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156112a757600080fd5b6102c65a03f115156112b857600080fd5b5050506040518051905050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60056020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561136057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561139c57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060008060008060009450600093505b865184101561163e57868481518110151561148357fe5b9060200190602002015192508291508173ffffffffffffffffffffffffffffffffffffffff16639b3dfce06000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156114fe57600080fd5b6102c65a03f1151561150f57600080fd5b5050506040518051905015156115285760009550611642565b8173ffffffffffffffffffffffffffffffffffffffff166397722acf6000604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561159457600080fd5b6102c65a03f115156115a557600080fd5b5050506040518051905090506115c4818661164c90919063ffffffff16565b94507f73d563903347723905a32c77ec9e60577b6f569b3cbcb367d71dd532c52d469f8282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1838060010194505061146c565b8495505b5050505050919050565b600080828401905083811015151561166057fe5b8091505092915050565b602060405190810160405280600081525090565b6040516117a8806117ad83390190565b828054828255906000526020600020908101928215611707579160200282015b828111156117065782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906116ae565b5b5090506117149190611744565b5090565b81548183558181151161173f5781836000526020600020918201910161173e9190611787565b5b505050565b61178491905b8082111561178057600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161174a565b5090565b90565b6117a991905b808211156117a557600081600090555060010161178d565b5090565b90560060606040526000600360146101000a81548160ff0219169083151502179055506000600360156101000a81548160ff021916908315150217905550341561004557600080fd5b33600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611713806100956000396000f3006060604052600436106100fc576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806305d2035b1461010157806306fdde031461012e578063095ea7b3146101bc578063158ef93e1461021657806318160ddd1461024357806323b872dd1461026c578063313ce567146102e557806340c10f191461031457806370a082311461036e5780637d64bcb4146103bb5780638d956f1e146103e85780638da5cb5b1461043957806395d89b411461048e57806398cbefbe1461051c578063a4475ce4146105ff578063a9059cbb14610654578063dd62ed3e146106ae578063f2fde38b1461071a575b600080fd5b341561010c57600080fd5b610114610753565b604051808215151515815260200191505060405180910390f35b341561013957600080fd5b610141610766565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610181578082015181840152602081019050610166565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b6101fc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610804565b604051808215151515815260200191505060405180910390f35b341561022157600080fd5b6102296108f6565b604051808215151515815260200191505060405180910390f35b341561024e57600080fd5b610256610909565b6040518082815260200191505060405180910390f35b341561027757600080fd5b6102cb600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061090f565b604051808215151515815260200191505060405180910390f35b34156102f057600080fd5b6102f8610ba9565b604051808260ff1660ff16815260200191505060405180910390f35b341561031f57600080fd5b610354600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610bbc565b604051808215151515815260200191505060405180910390f35b341561037957600080fd5b6103a5600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610da4565b6040518082815260200191505060405180910390f35b34156103c657600080fd5b6103ce610ded565b604051808215151515815260200191505060405180910390f35b34156103f357600080fd5b61041f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610eb5565b604051808215151515815260200191505060405180910390f35b341561044457600080fd5b61044c6110c9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561049957600080fd5b6104a16110ef565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104e15780820151818401526020810190506104c6565b50505050905090810190601f16801561050e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561052757600080fd5b6105e5600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061118d565b604051808215151515815260200191505060405180910390f35b341561060a57600080fd5b6106126112c6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561065f57600080fd5b610694600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506112ec565b604051808215151515815260200191505060405180910390f35b34156106b957600080fd5b610704600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611445565b6040518082815260200191505060405180910390f35b341561072557600080fd5b610751600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506114cc565b005b600360149054906101000a900460ff1681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107fc5780601f106107d1576101008083540402835291602001916107fc565b820191906000526020600020905b8154815290600101906020018083116107df57829003601f168201915b505050505081565b600081600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b600360159054906101000a900460ff1681565b60005481565b600080600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101580156109e05750828110155b15156109eb57600080fd5b82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555082600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610b385782600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150509392505050565b600660009054906101000a900460ff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c1a57600080fd5b600360149054906101000a900460ff16151515610c3657600080fd5b610c4b8260005461162490919063ffffffff16565b600081905550610ca382600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461162490919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885836040518082815260200191505060405180910390a28273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600360149054906101000a900460ff16151515610e0b57600080fd5b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e6757600080fd5b6001600360146101000a81548160ff0219169083151502179055507fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a16001905090565b6000806000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f1657600080fd5b8391508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515610fbc57600080fd5b6102c65a03f11515610fcd57600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156110a657600080fd5b6102c65a03f115156110b757600080fd5b50505060405180519050505050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111855780601f1061115a57610100808354040283529160200191611185565b820191906000526020600020905b81548152906001019060200180831161116857829003601f168201915b505050505081565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111eb57600080fd5b600360159054906101000a900460ff1615151561120757600080fd5b846004908051906020019061121d929190611642565b508360059080519060200190611234929190611642565b5082600660006101000a81548160ff021916908360ff16021790555081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360156101000a81548160ff021916908315150217905550600360159054906101000a900460ff169050949350505050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561133c57600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561152857600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561156457600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080828401905083811015151561163857fe5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061168357805160ff19168380011785556116b1565b828001600101855582156116b1579182015b828111156116b0578251825591602001919060010190611695565b5b5090506116be91906116c2565b5090565b6116e491905b808211156116e05760008160009055506001016116c8565b5090565b905600a165627a7a723058203327e7425e43f5490e8fa2451bc02e05f123d3ff56f23af725b4b73eb7c1f2a20029a165627a7a72305820a817fc6d19dd378f9d8670219f4f2626a5155f55d2cfdd9c2c25826271ba09dd0029", + "sourceMap": "214:3401:15:-;;;520:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;560:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;802:26;;;;;;;;603:10:8;595:5;;:18;;;;;;;;;;;;;;;;;;214:3401:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "214:3401:15:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3502:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;520:36:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1183:598:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;596:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;560:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2598:564:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3229:201;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;669:46:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;3502:111:15;3565:9;;:::i;:::-;3589:11;:19;3601:6;3589:19;;;;;;;;;;;;;;;3582:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3502:111;;;:::o;520:36::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1183:598::-;1336:7;1354:19;1473;1376:16;1386:5;1376:9;:16::i;:::-;1354:38;;1421:1;1407:11;:15;1399:24;;;;;;;;1495:19;;:::i;:::-;;;;;;;;;;;;;;;;;;1473:41;;1521:5;:10;;;1532:5;1539:7;1548:9;1559:13;1521:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1521:52:15;1601:5;1580:11;:18;1592:5;1580:18;;;;;;;;;;;;;;;:26;;;;;;;;;;;;:::i;:::-;;1634:11;1613;:18;1625:5;1613:18;;;;;;;;;;;;;;;:32;;;;1652:6;:18;;;;;;;;;;;:::i;:::-;;;;;;;;;;1664:5;1652:18;;;;;;;;;;;;;;;;;;;;;;;1677:71;1695:5;1702:7;1711:9;1722:11;1735:5;1742;1677:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;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;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;1770:5:15;1755:21;;1183:598;;;;;;;;;:::o;596:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;560:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2598:564::-;2680:4;2693:12;2831:10;2922:18;3007:19;2708:10;2693:25;;2739:3;2730:5;:12;;;;2726:45;;;2759:5;2752:12;;2726:45;2820:3;2785:11;:23;2797:10;2785:23;;;;;;;;;;;;;;;2809:6;2785:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;:38;;;;2777:47;;;;;;;;2851:11;:23;2863:10;2851:23;;;;;;;;;;;;;;;2875:6;2851:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;2831:52;;2898:3;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2890:25;;;;;;;;2943:3;:21;;;2965:4;2943:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2922:48;;2998:1;2985:10;:14;2977:23;;;;;;;;3043:10;3007:47;;3069:5;:10;;;3080:4;3086:10;3069:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3061:37;;;;;;;;3113:3;:19;;;3133:4;3113:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3105:34;;;;;;;;3153:4;3146:11;;2598:564;;;;;;;;;:::o;3229:201::-;3298:19;3348:12;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;3334:6:15;3298:43;;3363:5;:15;;;3379:4;3363:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3348:36;;3395:5;:14;;;3410:5;;;;;;;;;;;3417:7;3395:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3229:201;;;:::o;334:20:8:-;;;;;;;;;;;;;:::o;669:46:15:-;;;;;;;;;;;;;;;;;:::o;928:169:8:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;1913:440:15:-;1967:7;1982:17;2014:6;2057:15;2091:10;2184:18;2002:1;1982:21;;2023:1;2014:10;;2009:317;2030:5;:12;2026:1;:16;2009:317;;;2075:5;2081:1;2075:8;;;;;;;;;;;;;;;;;;2057:26;;2111:7;2091:28;;2133:3;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2132:19;2128:41;;;2168:1;2161:8;;;;2128:41;2205:3;:17;;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2184:40;;2244:25;2258:10;2244:9;:13;;:25;;;;:::i;:::-;2232:37;;2277:42;2302:3;2308:10;2277:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;2044:3;;;;;;;2009:317;;;2339:9;2332:16;;1913:440;;;;;;;;;:::o;759:128:16:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;214:3401:15:-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", "source": "pragma solidity ^0.4.18;\nimport \"./MintableToken.sol\";\nimport \"./AbsPoD.sol\";\n\n/// @title RICO - Responsible Initial Coin Offering\n/// @author - Yusaku Senga - \n/// license let's see in LICENSE\n\ncontract RICO is Ownable {\n /// using safemath\n using SafeMath for uint256;\n /**\n * Events \n */\n\n event CreatedNewProject(string name, string symbol, uint8 decimals, uint256 supply, address[] pods, address token);\n event CheckedPodsToken(address pod, uint256 supply);\n\n /**\n * Storage\n */\n\n string public name = \"RICO contract\";\n string public version = \"0.9.3\";\n\n address[] public tokens;\n\n mapping(address => address[]) tokenToPods;\n mapping(address => uint256) public maxSupplies;\n\n /**\n * constructor\n * @dev define owner when this contract deployed.\n */\n\n function RICO() public { }\n\n /**\n * @dev newToken token meta Data implement for ERC-20 Token Standard Format.\n * @param _name Token name of RICO format.\n * @param _symbol Token symbol of RICO format.\n * @param _decimals Token decimals of RICO format.\n * @param _pods PoD contract addresses.\n * @param _projectOwner Token's owner.\n */\n \n function newProject(\n string _name, \n string _symbol, \n uint8 _decimals, \n address[] _pods,\n address _projectOwner\n ) \n public returns (address) \n {\n uint256 totalSupply = checkPoDs(_pods);\n\n require(totalSupply > 0);\n \n //generate a ERC20 mintable token.\n MintableToken token = new MintableToken();\n\n token.init(_name, _symbol, _decimals, _projectOwner);\n\n tokenToPods[token] = _pods;\n\n maxSupplies[token] = totalSupply;\n\n tokens.push(token);\n\n CreatedNewProject(_name, _symbol, _decimals, totalSupply, _pods, token);\n\n return address(token);\n }\n\n\n /**\n * @dev To confirm pods and check the token maximum supplies.\n * @param _pods PoD contract addresses.\n */\n\n function checkPoDs(address[] _pods) internal returns (uint256) {\n uint256 nowSupply = 0;\n for (uint i = 0; i < _pods.length; i++) {\n address podAddr = _pods[i];\n AbsPoD pod = AbsPoD(podAddr);\n\n if (!pod.isPoDStarted())\n return 0;\n \n uint256 capOfToken = pod.getCapOfToken();\n nowSupply = nowSupply.add(capOfToken);\n CheckedPodsToken(address(pod), capOfToken);\n }\n\n return nowSupply;\n }\n\n /**\n * @dev executes claim token when pod's status was ended.\n * @param _tokenAddr the project's token address.\n * @param _index pods num of registered array.\n * @param _user minter address.\n */\n\n function mintToken(address _tokenAddr, uint _index, address _user) public returns(bool) {\n\n address user = msg.sender;\n \n if (_user != 0x0) {\n user = _user;\n }\n\n require(tokenToPods[_tokenAddr][_index] != 0x0);\n\n AbsPoD pod = AbsPoD(tokenToPods[_tokenAddr][_index]);\n\n require(pod.isPoDEnded());\n\n uint256 tokenValue = pod.getBalanceOfToken(user);\n\n require(tokenValue > 0);\n\n MintableToken token = MintableToken(_tokenAddr);\n\n require(token.mint(user, tokenValue));\n\n require(pod.resetWeiBalance(user));\n\n return true;\n }\n\n /**\n * @dev Emergency call for token transfer miss.\n */\n\n function tokenTransfer(address _token) public onlyOwner() {\n \n MintableToken token = MintableToken(_token);\n\n uint balance = token.balanceOf(this);\n \n token.transfer(owner, balance);\n }\n\n \n\n /**\n * @dev To get pods addresses attached to token.\n */\n\n function getTokenPods(address _token) public constant returns (address[]) {\n return tokenToPods[_token];\n }\n}", "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/RICO.sol", "ast": { @@ -279,7 +279,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/RICO.sol", "exportedSymbols": { "RICO": [ - 2057 + 4404 ] } }, @@ -293,55 +293,55 @@ ".18" ] }, - "id": 1735, + "id": 4082, "name": "PragmaDirective", - "src": "0:24:11" + "src": "0:24:15" }, { "attributes": { - "SourceUnit": 818, + "SourceUnit": 872, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/MintableToken.sol", "file": "./MintableToken.sol", - "scope": 2058, + "scope": 4405, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 1736, + "id": 4083, "name": "ImportDirective", - "src": "25:29:11" + "src": "25:29:15" }, { "attributes": { - "SourceUnit": 52, + "SourceUnit": 47, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/AbsPoD.sol", "file": "./AbsPoD.sol", - "scope": 2058, + "scope": 4405, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 1737, + "id": 4084, "name": "ImportDirective", - "src": "55:22:11" + "src": "55:22:15" }, { "attributes": { "contractDependencies": [ - 817, - 873 + 871, + 2084 ], "contractKind": "contract", "documentation": "@title RICO - Responsible Initial Coin Offering\n @author - Yusaku Senga - \n license let's see in LICENSE", "fullyImplemented": true, "linearizedBaseContracts": [ - 2057, - 873 + 4404, + 2084 ], "name": "RICO", - "scope": 2058 + "scope": 4405 }, "children": [ { @@ -355,17 +355,17 @@ "attributes": { "contractScope": null, "name": "Ownable", - "referencedDeclaration": 873, + "referencedDeclaration": 2084, "type": "contract Ownable" }, - "id": 1738, + "id": 4085, "name": "UserDefinedTypeName", - "src": "231:7:11" + "src": "231:7:15" } ], - "id": 1739, + "id": 4086, "name": "InheritanceSpecifier", - "src": "231:7:11" + "src": "231:7:15" }, { "children": [ @@ -373,26 +373,26 @@ "attributes": { "contractScope": null, "name": "SafeMath", - "referencedDeclaration": 2152, + "referencedDeclaration": 4499, "type": "library SafeMath" }, - "id": 1740, + "id": 4087, "name": "UserDefinedTypeName", - "src": "270:8:11" + "src": "270:8:15" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1741, + "id": 4088, "name": "ElementaryTypeName", - "src": "283:7:11" + "src": "283:7:15" } ], - "id": 1742, + "id": 4089, "name": "UsingForDirective", - "src": "264:27:11" + "src": "264:27:15" }, { "attributes": { @@ -407,7 +407,7 @@ "constant": false, "indexed": false, "name": "name", - "scope": 1757, + "scope": 4104, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -420,21 +420,21 @@ "name": "string", "type": "string storage pointer" }, - "id": 1743, + "id": 4090, "name": "ElementaryTypeName", - "src": "344:6:11" + "src": "344:6:15" } ], - "id": 1744, + "id": 4091, "name": "VariableDeclaration", - "src": "344:11:11" + "src": "344:11:15" }, { "attributes": { "constant": false, "indexed": false, "name": "symbol", - "scope": 1757, + "scope": 4104, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -447,21 +447,21 @@ "name": "string", "type": "string storage pointer" }, - "id": 1745, + "id": 4092, "name": "ElementaryTypeName", - "src": "357:6:11" + "src": "357:6:15" } ], - "id": 1746, + "id": 4093, "name": "VariableDeclaration", - "src": "357:13:11" + "src": "357:13:15" }, { "attributes": { "constant": false, "indexed": false, "name": "decimals", - "scope": 1757, + "scope": 4104, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -474,21 +474,21 @@ "name": "uint8", "type": "uint8" }, - "id": 1747, + "id": 4094, "name": "ElementaryTypeName", - "src": "372:5:11" + "src": "372:5:15" } ], - "id": 1748, + "id": 4095, "name": "VariableDeclaration", - "src": "372:14:11" + "src": "372:14:15" }, { "attributes": { "constant": false, "indexed": false, "name": "supply", - "scope": 1757, + "scope": 4104, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -501,21 +501,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1749, + "id": 4096, "name": "ElementaryTypeName", - "src": "388:7:11" + "src": "388:7:15" } ], - "id": 1750, + "id": 4097, "name": "VariableDeclaration", - "src": "388:14:11" + "src": "388:14:15" }, { "attributes": { "constant": false, "indexed": false, "name": "pods", - "scope": 1757, + "scope": 4104, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -534,26 +534,26 @@ "name": "address", "type": "address" }, - "id": 1751, + "id": 4098, "name": "ElementaryTypeName", - "src": "404:7:11" + "src": "404:7:15" } ], - "id": 1752, + "id": 4099, "name": "ArrayTypeName", - "src": "404:9:11" + "src": "404:9:15" } ], - "id": 1753, + "id": 4100, "name": "VariableDeclaration", - "src": "404:14:11" + "src": "404:14:15" }, { "attributes": { "constant": false, "indexed": false, "name": "token", - "scope": 1757, + "scope": 4104, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -566,24 +566,24 @@ "name": "address", "type": "address" }, - "id": 1754, + "id": 4101, "name": "ElementaryTypeName", - "src": "420:7:11" + "src": "420:7:15" } ], - "id": 1755, + "id": 4102, "name": "VariableDeclaration", - "src": "420:13:11" + "src": "420:13:15" } ], - "id": 1756, + "id": 4103, "name": "ParameterList", - "src": "343:91:11" + "src": "343:91:15" } ], - "id": 1757, + "id": 4104, "name": "EventDefinition", - "src": "320:115:11" + "src": "320:115:15" }, { "attributes": { @@ -598,7 +598,7 @@ "constant": false, "indexed": false, "name": "pod", - "scope": 1763, + "scope": 4110, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -611,21 +611,21 @@ "name": "address", "type": "address" }, - "id": 1758, + "id": 4105, "name": "ElementaryTypeName", - "src": "461:7:11" + "src": "461:7:15" } ], - "id": 1759, + "id": 4106, "name": "VariableDeclaration", - "src": "461:11:11" + "src": "461:11:15" }, { "attributes": { "constant": false, "indexed": false, "name": "supply", - "scope": 1763, + "scope": 4110, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -638,30 +638,30 @@ "name": "uint256", "type": "uint256" }, - "id": 1760, + "id": 4107, "name": "ElementaryTypeName", - "src": "474:7:11" + "src": "474:7:15" } ], - "id": 1761, + "id": 4108, "name": "VariableDeclaration", - "src": "474:14:11" + "src": "474:14:15" } ], - "id": 1762, + "id": 4109, "name": "ParameterList", - "src": "460:29:11" + "src": "460:29:15" } ], - "id": 1763, + "id": 4110, "name": "EventDefinition", - "src": "438:52:11" + "src": "438:52:15" }, { "attributes": { "constant": false, "name": "name", - "scope": 2057, + "scope": 4404, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -673,9 +673,9 @@ "name": "string", "type": "string storage pointer" }, - "id": 1764, + "id": 4111, "name": "ElementaryTypeName", - "src": "520:6:11" + "src": "520:6:15" }, { "attributes": { @@ -690,20 +690,20 @@ "type": "literal_string \"RICO contract\"", "value": "RICO contract" }, - "id": 1765, + "id": 4112, "name": "Literal", - "src": "541:15:11" + "src": "541:15:15" } ], - "id": 1766, + "id": 4113, "name": "VariableDeclaration", - "src": "520:36:11" + "src": "520:36:15" }, { "attributes": { "constant": false, "name": "version", - "scope": 2057, + "scope": 4404, "stateVariable": true, "storageLocation": "default", "type": "string storage ref", @@ -715,9 +715,9 @@ "name": "string", "type": "string storage pointer" }, - "id": 1767, + "id": 4114, "name": "ElementaryTypeName", - "src": "560:6:11" + "src": "560:6:15" }, { "attributes": { @@ -732,20 +732,20 @@ "type": "literal_string \"0.9.3\"", "value": "0.9.3" }, - "id": 1768, + "id": 4115, "name": "Literal", - "src": "584:7:11" + "src": "584:7:15" } ], - "id": 1769, + "id": 4116, "name": "VariableDeclaration", - "src": "560:31:11" + "src": "560:31:15" }, { "attributes": { "constant": false, "name": "tokens", - "scope": 2057, + "scope": 4404, "stateVariable": true, "storageLocation": "default", "type": "address[] storage ref", @@ -764,25 +764,25 @@ "name": "address", "type": "address" }, - "id": 1770, + "id": 4117, "name": "ElementaryTypeName", - "src": "596:7:11" + "src": "596:7:15" } ], - "id": 1771, + "id": 4118, "name": "ArrayTypeName", - "src": "596:9:11" + "src": "596:9:15" } ], - "id": 1772, + "id": 4119, "name": "VariableDeclaration", - "src": "596:23:11" + "src": "596:23:15" }, { "attributes": { "constant": false, "name": "tokenToPods", - "scope": 2057, + "scope": 4404, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => address[] storage ref)", @@ -800,9 +800,9 @@ "name": "address", "type": "address" }, - "id": 1773, + "id": 4120, "name": "ElementaryTypeName", - "src": "632:7:11" + "src": "632:7:15" }, { "attributes": { @@ -815,30 +815,30 @@ "name": "address", "type": "address" }, - "id": 1774, + "id": 4121, "name": "ElementaryTypeName", - "src": "643:7:11" + "src": "643:7:15" } ], - "id": 1775, + "id": 4122, "name": "ArrayTypeName", - "src": "643:9:11" + "src": "643:9:15" } ], - "id": 1776, + "id": 4123, "name": "Mapping", - "src": "624:29:11" + "src": "624:29:15" } ], - "id": 1777, + "id": 4124, "name": "VariableDeclaration", - "src": "624:41:11" + "src": "624:41:15" }, { "attributes": { "constant": false, "name": "maxSupplies", - "scope": 2057, + "scope": 4404, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => uint256)", @@ -856,28 +856,28 @@ "name": "address", "type": "address" }, - "id": 1778, + "id": 4125, "name": "ElementaryTypeName", - "src": "677:7:11" + "src": "677:7:15" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1779, + "id": 4126, "name": "ElementaryTypeName", - "src": "688:7:11" + "src": "688:7:15" } ], - "id": 1780, + "id": 4127, "name": "Mapping", - "src": "669:27:11" + "src": "669:27:15" } ], - "id": 1781, + "id": 4128, "name": "VariableDeclaration", - "src": "669:46:11" + "src": "669:46:15" }, { "attributes": { @@ -889,7 +889,7 @@ ], "name": "RICO", "payable": false, - "scope": 2057, + "scope": 4404, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -902,9 +902,9 @@ ] }, "children": [], - "id": 1782, + "id": 4129, "name": "ParameterList", - "src": "815:2:11" + "src": "815:2:15" }, { "attributes": { @@ -913,9 +913,9 @@ ] }, "children": [], - "id": 1783, + "id": 4130, "name": "ParameterList", - "src": "825:0:11" + "src": "825:0:15" }, { "attributes": { @@ -924,14 +924,14 @@ ] }, "children": [], - "id": 1784, + "id": 4131, "name": "Block", - "src": "825:3:11" + "src": "825:3:15" } ], - "id": 1785, + "id": 4132, "name": "FunctionDefinition", - "src": "802:26:11" + "src": "802:26:15" }, { "attributes": { @@ -943,7 +943,7 @@ ], "name": "newProject", "payable": false, - "scope": 2057, + "scope": 4404, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -955,7 +955,7 @@ "attributes": { "constant": false, "name": "_name", - "scope": 1860, + "scope": 4207, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -968,20 +968,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 1786, + "id": 4133, "name": "ElementaryTypeName", - "src": "1208:6:11" + "src": "1208:6:15" } ], - "id": 1787, + "id": 4134, "name": "VariableDeclaration", - "src": "1208:12:11" + "src": "1208:12:15" }, { "attributes": { "constant": false, "name": "_symbol", - "scope": 1860, + "scope": 4207, "stateVariable": false, "storageLocation": "default", "type": "string memory", @@ -994,20 +994,20 @@ "name": "string", "type": "string storage pointer" }, - "id": 1788, + "id": 4135, "name": "ElementaryTypeName", - "src": "1227:6:11" + "src": "1227:6:15" } ], - "id": 1789, + "id": 4136, "name": "VariableDeclaration", - "src": "1227:14:11" + "src": "1227:14:15" }, { "attributes": { "constant": false, "name": "_decimals", - "scope": 1860, + "scope": 4207, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -1020,20 +1020,20 @@ "name": "uint8", "type": "uint8" }, - "id": 1790, + "id": 4137, "name": "ElementaryTypeName", - "src": "1248:5:11" + "src": "1248:5:15" } ], - "id": 1791, + "id": 4138, "name": "VariableDeclaration", - "src": "1248:15:11" + "src": "1248:15:15" }, { "attributes": { "constant": false, "name": "_pods", - "scope": 1860, + "scope": 4207, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -1052,25 +1052,25 @@ "name": "address", "type": "address" }, - "id": 1792, + "id": 4139, "name": "ElementaryTypeName", - "src": "1270:7:11" + "src": "1270:7:15" } ], - "id": 1793, + "id": 4140, "name": "ArrayTypeName", - "src": "1270:9:11" + "src": "1270:9:15" } ], - "id": 1794, + "id": 4141, "name": "VariableDeclaration", - "src": "1270:15:11" + "src": "1270:15:15" }, { "attributes": { "constant": false, "name": "_projectOwner", - "scope": 1860, + "scope": 4207, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1083,19 +1083,19 @@ "name": "address", "type": "address" }, - "id": 1795, + "id": 4142, "name": "ElementaryTypeName", - "src": "1291:7:11" + "src": "1291:7:15" } ], - "id": 1796, + "id": 4143, "name": "VariableDeclaration", - "src": "1291:21:11" + "src": "1291:21:15" } ], - "id": 1797, + "id": 4144, "name": "ParameterList", - "src": "1202:114:11" + "src": "1202:114:15" }, { "children": [ @@ -1103,7 +1103,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1860, + "scope": 4207, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1116,26 +1116,26 @@ "name": "address", "type": "address" }, - "id": 1798, + "id": 4145, "name": "ElementaryTypeName", - "src": "1336:7:11" + "src": "1336:7:15" } ], - "id": 1799, + "id": 4146, "name": "VariableDeclaration", - "src": "1336:7:11" + "src": "1336:7:15" } ], - "id": 1800, + "id": 4147, "name": "ParameterList", - "src": "1335:9:11" + "src": "1335:9:15" }, { "children": [ { "attributes": { "assignments": [ - 1802 + 4149 ] }, "children": [ @@ -1143,7 +1143,7 @@ "attributes": { "constant": false, "name": "totalSupply", - "scope": 1860, + "scope": 4207, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1156,14 +1156,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 4148, "name": "ElementaryTypeName", - "src": "1354:7:11" + "src": "1354:7:15" } ], - "id": 1802, + "id": 4149, "name": "VariableDeclaration", - "src": "1354:19:11" + "src": "1354:19:15" }, { "attributes": { @@ -1191,13 +1191,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1927, + "referencedDeclaration": 4274, "type": "function (address[] memory) returns (uint256)", "value": "checkPoDs" }, - "id": 1803, + "id": 4150, "name": "Identifier", - "src": "1376:9:11" + "src": "1376:9:15" }, { "attributes": { @@ -1205,23 +1205,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1794, + "referencedDeclaration": 4141, "type": "address[] memory", "value": "_pods" }, - "id": 1804, + "id": 4151, "name": "Identifier", - "src": "1386:5:11" + "src": "1386:5:15" } ], - "id": 1805, + "id": 4152, "name": "FunctionCall", - "src": "1376:16:11" + "src": "1376:16:15" } ], - "id": 1806, + "id": 4153, "name": "VariableDeclarationStatement", - "src": "1354:38:11" + "src": "1354:38:15" }, { "children": [ @@ -1251,13 +1251,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1807, + "id": 4154, "name": "Identifier", - "src": "1399:7:11" + "src": "1399:7:15" }, { "attributes": { @@ -1280,13 +1280,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 4149, "type": "uint256", "value": "totalSupply" }, - "id": 1808, + "id": 4155, "name": "Identifier", - "src": "1407:11:11" + "src": "1407:11:15" }, { "attributes": { @@ -1301,29 +1301,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1809, + "id": 4156, "name": "Literal", - "src": "1421:1:11" + "src": "1421:1:15" } ], - "id": 1810, + "id": 4157, "name": "BinaryOperation", - "src": "1407:15:11" + "src": "1407:15:15" } ], - "id": 1811, + "id": 4158, "name": "FunctionCall", - "src": "1399:24:11" + "src": "1399:24:15" } ], - "id": 1812, + "id": 4159, "name": "ExpressionStatement", - "src": "1399:24:11" + "src": "1399:24:15" }, { "attributes": { "assignments": [ - 1814 + 4161 ] }, "children": [ @@ -1331,7 +1331,7 @@ "attributes": { "constant": false, "name": "token", - "scope": 1860, + "scope": 4207, "stateVariable": false, "storageLocation": "default", "type": "contract MintableToken", @@ -1343,17 +1343,17 @@ "attributes": { "contractScope": null, "name": "MintableToken", - "referencedDeclaration": 817, + "referencedDeclaration": 871, "type": "contract MintableToken" }, - "id": 1813, + "id": 4160, "name": "UserDefinedTypeName", - "src": "1473:13:11" + "src": "1473:13:15" } ], - "id": 1814, + "id": 4161, "name": "VariableDeclaration", - "src": "1473:19:11" + "src": "1473:19:15" }, { "attributes": { @@ -1389,27 +1389,27 @@ "attributes": { "contractScope": null, "name": "MintableToken", - "referencedDeclaration": 817, + "referencedDeclaration": 871, "type": "contract MintableToken" }, - "id": 1815, + "id": 4162, "name": "UserDefinedTypeName", - "src": "1499:13:11" + "src": "1499:13:15" } ], - "id": 1816, + "id": 4163, "name": "NewExpression", - "src": "1495:17:11" + "src": "1495:17:15" } ], - "id": 1817, + "id": 4164, "name": "FunctionCall", - "src": "1495:19:11" + "src": "1495:19:15" } ], - "id": 1818, + "id": 4165, "name": "VariableDeclarationStatement", - "src": "1473:41:11" + "src": "1473:41:15" }, { "children": [ @@ -1453,7 +1453,7 @@ "isPure": false, "lValueRequested": false, "member_name": "init", - "referencedDeclaration": 710, + "referencedDeclaration": 764, "type": "function (string memory,string memory,uint8,address) external returns (bool)" }, "children": [ @@ -1463,18 +1463,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1814, + "referencedDeclaration": 4161, "type": "contract MintableToken", "value": "token" }, - "id": 1819, + "id": 4166, "name": "Identifier", - "src": "1521:5:11" + "src": "1521:5:15" } ], - "id": 1821, + "id": 4168, "name": "MemberAccess", - "src": "1521:10:11" + "src": "1521:10:15" }, { "attributes": { @@ -1482,13 +1482,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1787, + "referencedDeclaration": 4134, "type": "string memory", "value": "_name" }, - "id": 1822, + "id": 4169, "name": "Identifier", - "src": "1532:5:11" + "src": "1532:5:15" }, { "attributes": { @@ -1496,13 +1496,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1789, + "referencedDeclaration": 4136, "type": "string memory", "value": "_symbol" }, - "id": 1823, + "id": 4170, "name": "Identifier", - "src": "1539:7:11" + "src": "1539:7:15" }, { "attributes": { @@ -1510,13 +1510,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1791, + "referencedDeclaration": 4138, "type": "uint8", "value": "_decimals" }, - "id": 1824, + "id": 4171, "name": "Identifier", - "src": "1548:9:11" + "src": "1548:9:15" }, { "attributes": { @@ -1524,23 +1524,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1796, + "referencedDeclaration": 4143, "type": "address", "value": "_projectOwner" }, - "id": 1825, + "id": 4172, "name": "Identifier", - "src": "1559:13:11" + "src": "1559:13:15" } ], - "id": 1826, + "id": 4173, "name": "FunctionCall", - "src": "1521:52:11" + "src": "1521:52:15" } ], - "id": 1827, + "id": 4174, "name": "ExpressionStatement", - "src": "1521:52:11" + "src": "1521:52:15" }, { "children": [ @@ -1571,13 +1571,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1777, + "referencedDeclaration": 4124, "type": "mapping(address => address[] storage ref)", "value": "tokenToPods" }, - "id": 1828, + "id": 4175, "name": "Identifier", - "src": "1580:11:11" + "src": "1580:11:15" }, { "attributes": { @@ -1585,18 +1585,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1814, + "referencedDeclaration": 4161, "type": "contract MintableToken", "value": "token" }, - "id": 1829, + "id": 4176, "name": "Identifier", - "src": "1592:5:11" + "src": "1592:5:15" } ], - "id": 1830, + "id": 4177, "name": "IndexAccess", - "src": "1580:18:11" + "src": "1580:18:15" }, { "attributes": { @@ -1604,23 +1604,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1794, + "referencedDeclaration": 4141, "type": "address[] memory", "value": "_pods" }, - "id": 1831, + "id": 4178, "name": "Identifier", - "src": "1601:5:11" + "src": "1601:5:15" } ], - "id": 1832, + "id": 4179, "name": "Assignment", - "src": "1580:26:11" + "src": "1580:26:15" } ], - "id": 1833, + "id": 4180, "name": "ExpressionStatement", - "src": "1580:26:11" + "src": "1580:26:15" }, { "children": [ @@ -1651,13 +1651,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1781, + "referencedDeclaration": 4128, "type": "mapping(address => uint256)", "value": "maxSupplies" }, - "id": 1834, + "id": 4181, "name": "Identifier", - "src": "1613:11:11" + "src": "1613:11:15" }, { "attributes": { @@ -1665,18 +1665,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1814, + "referencedDeclaration": 4161, "type": "contract MintableToken", "value": "token" }, - "id": 1835, + "id": 4182, "name": "Identifier", - "src": "1625:5:11" + "src": "1625:5:15" } ], - "id": 1836, + "id": 4183, "name": "IndexAccess", - "src": "1613:18:11" + "src": "1613:18:15" }, { "attributes": { @@ -1684,23 +1684,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 4149, "type": "uint256", "value": "totalSupply" }, - "id": 1837, + "id": 4184, "name": "Identifier", - "src": "1634:11:11" + "src": "1634:11:15" } ], - "id": 1838, + "id": 4185, "name": "Assignment", - "src": "1613:32:11" + "src": "1613:32:15" } ], - "id": 1839, + "id": 4186, "name": "ExpressionStatement", - "src": "1613:32:11" + "src": "1613:32:15" }, { "children": [ @@ -1723,7 +1723,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MintableToken_$817", + "typeIdentifier": "t_contract$_MintableToken_$871", "typeString": "contract MintableToken" } ], @@ -1742,18 +1742,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1772, + "referencedDeclaration": 4119, "type": "address[] storage ref", "value": "tokens" }, - "id": 1840, + "id": 4187, "name": "Identifier", - "src": "1652:6:11" + "src": "1652:6:15" } ], - "id": 1842, + "id": 4189, "name": "MemberAccess", - "src": "1652:11:11" + "src": "1652:11:15" }, { "attributes": { @@ -1761,23 +1761,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1814, + "referencedDeclaration": 4161, "type": "contract MintableToken", "value": "token" }, - "id": 1843, + "id": 4190, "name": "Identifier", - "src": "1664:5:11" + "src": "1664:5:15" } ], - "id": 1844, + "id": 4191, "name": "FunctionCall", - "src": "1652:18:11" + "src": "1652:18:15" } ], - "id": 1845, + "id": 4192, "name": "ExpressionStatement", - "src": "1652:18:11" + "src": "1652:18:15" }, { "children": [ @@ -1820,20 +1820,20 @@ "typeString": "address[] memory" }, { - "typeIdentifier": "t_contract$_MintableToken_$817", + "typeIdentifier": "t_contract$_MintableToken_$871", "typeString": "contract MintableToken" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1757, + "referencedDeclaration": 4104, "type": "function (string memory,string memory,uint8,uint256,address[] memory,address)", "value": "CreatedNewProject" }, - "id": 1846, + "id": 4193, "name": "Identifier", - "src": "1677:17:11" + "src": "1677:17:15" }, { "attributes": { @@ -1841,13 +1841,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1787, + "referencedDeclaration": 4134, "type": "string memory", "value": "_name" }, - "id": 1847, + "id": 4194, "name": "Identifier", - "src": "1695:5:11" + "src": "1695:5:15" }, { "attributes": { @@ -1855,13 +1855,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1789, + "referencedDeclaration": 4136, "type": "string memory", "value": "_symbol" }, - "id": 1848, + "id": 4195, "name": "Identifier", - "src": "1702:7:11" + "src": "1702:7:15" }, { "attributes": { @@ -1869,13 +1869,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1791, + "referencedDeclaration": 4138, "type": "uint8", "value": "_decimals" }, - "id": 1849, + "id": 4196, "name": "Identifier", - "src": "1711:9:11" + "src": "1711:9:15" }, { "attributes": { @@ -1883,13 +1883,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 4149, "type": "uint256", "value": "totalSupply" }, - "id": 1850, + "id": 4197, "name": "Identifier", - "src": "1722:11:11" + "src": "1722:11:15" }, { "attributes": { @@ -1897,13 +1897,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1794, + "referencedDeclaration": 4141, "type": "address[] memory", "value": "_pods" }, - "id": 1851, + "id": 4198, "name": "Identifier", - "src": "1735:5:11" + "src": "1735:5:15" }, { "attributes": { @@ -1911,27 +1911,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1814, + "referencedDeclaration": 4161, "type": "contract MintableToken", "value": "token" }, - "id": 1852, + "id": 4199, "name": "Identifier", - "src": "1742:5:11" + "src": "1742:5:15" } ], - "id": 1853, + "id": 4200, "name": "FunctionCall", - "src": "1677:71:11" + "src": "1677:71:15" } ], - "id": 1854, + "id": 4201, "name": "ExpressionStatement", - "src": "1677:71:11" + "src": "1677:71:15" }, { "attributes": { - "functionReturnParameters": 1800 + "functionReturnParameters": 4147 }, "children": [ { @@ -1953,7 +1953,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MintableToken_$817", + "typeIdentifier": "t_contract$_MintableToken_$871", "typeString": "contract MintableToken" } ], @@ -1964,9 +1964,9 @@ "type": "type(address)", "value": "address" }, - "id": 1855, + "id": 4202, "name": "ElementaryTypeNameExpression", - "src": "1762:7:11" + "src": "1762:7:15" }, { "attributes": { @@ -1974,33 +1974,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1814, + "referencedDeclaration": 4161, "type": "contract MintableToken", "value": "token" }, - "id": 1856, + "id": 4203, "name": "Identifier", - "src": "1770:5:11" + "src": "1770:5:15" } ], - "id": 1857, + "id": 4204, "name": "FunctionCall", - "src": "1762:14:11" + "src": "1762:14:15" } ], - "id": 1858, + "id": 4205, "name": "Return", - "src": "1755:21:11" + "src": "1755:21:15" } ], - "id": 1859, + "id": 4206, "name": "Block", - "src": "1348:433:11" + "src": "1348:433:15" } ], - "id": 1860, + "id": 4207, "name": "FunctionDefinition", - "src": "1183:598:11" + "src": "1183:598:15" }, { "attributes": { @@ -2012,7 +2012,7 @@ ], "name": "checkPoDs", "payable": false, - "scope": 2057, + "scope": 4404, "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" @@ -2024,7 +2024,7 @@ "attributes": { "constant": false, "name": "_pods", - "scope": 1927, + "scope": 4274, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -2043,24 +2043,24 @@ "name": "address", "type": "address" }, - "id": 1861, + "id": 4208, "name": "ElementaryTypeName", - "src": "1932:7:11" + "src": "1932:7:15" } ], - "id": 1862, + "id": 4209, "name": "ArrayTypeName", - "src": "1932:9:11" + "src": "1932:9:15" } ], - "id": 1863, + "id": 4210, "name": "VariableDeclaration", - "src": "1932:15:11" + "src": "1932:15:15" } ], - "id": 1864, + "id": 4211, "name": "ParameterList", - "src": "1931:17:11" + "src": "1931:17:15" }, { "children": [ @@ -2068,7 +2068,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1927, + "scope": 4274, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2081,26 +2081,26 @@ "name": "uint256", "type": "uint256" }, - "id": 1865, + "id": 4212, "name": "ElementaryTypeName", - "src": "1967:7:11" + "src": "1967:7:15" } ], - "id": 1866, + "id": 4213, "name": "VariableDeclaration", - "src": "1967:7:11" + "src": "1967:7:15" } ], - "id": 1867, + "id": 4214, "name": "ParameterList", - "src": "1966:9:11" + "src": "1966:9:15" }, { "children": [ { "attributes": { "assignments": [ - 1869 + 4216 ] }, "children": [ @@ -2108,7 +2108,7 @@ "attributes": { "constant": false, "name": "nowSupply", - "scope": 1927, + "scope": 4274, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2121,14 +2121,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1868, + "id": 4215, "name": "ElementaryTypeName", - "src": "1982:7:11" + "src": "1982:7:15" } ], - "id": 1869, + "id": 4216, "name": "VariableDeclaration", - "src": "1982:17:11" + "src": "1982:17:15" }, { "attributes": { @@ -2143,21 +2143,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1870, + "id": 4217, "name": "Literal", - "src": "2002:1:11" + "src": "2002:1:15" } ], - "id": 1871, + "id": 4218, "name": "VariableDeclarationStatement", - "src": "1982:21:11" + "src": "1982:21:15" }, { "children": [ { "attributes": { "assignments": [ - 1873 + 4220 ] }, "children": [ @@ -2165,7 +2165,7 @@ "attributes": { "constant": false, "name": "i", - "scope": 1927, + "scope": 4274, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2178,14 +2178,14 @@ "name": "uint", "type": "uint256" }, - "id": 1872, + "id": 4219, "name": "ElementaryTypeName", - "src": "2014:4:11" + "src": "2014:4:15" } ], - "id": 1873, + "id": 4220, "name": "VariableDeclaration", - "src": "2014:6:11" + "src": "2014:6:15" }, { "attributes": { @@ -2200,14 +2200,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1874, + "id": 4221, "name": "Literal", - "src": "2023:1:11" + "src": "2023:1:15" } ], - "id": 1875, + "id": 4222, "name": "VariableDeclarationStatement", - "src": "2014:10:11" + "src": "2014:10:15" }, { "attributes": { @@ -2230,13 +2230,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1873, + "referencedDeclaration": 4220, "type": "uint256", "value": "i" }, - "id": 1876, + "id": 4223, "name": "Identifier", - "src": "2026:1:11" + "src": "2026:1:15" }, { "attributes": { @@ -2256,23 +2256,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1863, + "referencedDeclaration": 4210, "type": "address[] memory", "value": "_pods" }, - "id": 1877, + "id": 4224, "name": "Identifier", - "src": "2030:5:11" + "src": "2030:5:15" } ], - "id": 1878, + "id": 4225, "name": "MemberAccess", - "src": "2030:12:11" + "src": "2030:12:15" } ], - "id": 1879, + "id": 4226, "name": "BinaryOperation", - "src": "2026:16:11" + "src": "2026:16:15" }, { "children": [ @@ -2294,30 +2294,30 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1873, + "referencedDeclaration": 4220, "type": "uint256", "value": "i" }, - "id": 1880, + "id": 4227, "name": "Identifier", - "src": "2044:1:11" + "src": "2044:1:15" } ], - "id": 1881, + "id": 4228, "name": "UnaryOperation", - "src": "2044:3:11" + "src": "2044:3:15" } ], - "id": 1882, + "id": 4229, "name": "ExpressionStatement", - "src": "2044:3:11" + "src": "2044:3:15" }, { "children": [ { "attributes": { "assignments": [ - 1884 + 4231 ] }, "children": [ @@ -2325,7 +2325,7 @@ "attributes": { "constant": false, "name": "podAddr", - "scope": 1927, + "scope": 4274, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2338,14 +2338,14 @@ "name": "address", "type": "address" }, - "id": 1883, + "id": 4230, "name": "ElementaryTypeName", - "src": "2057:7:11" + "src": "2057:7:15" } ], - "id": 1884, + "id": 4231, "name": "VariableDeclaration", - "src": "2057:15:11" + "src": "2057:15:15" }, { "attributes": { @@ -2363,13 +2363,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1863, + "referencedDeclaration": 4210, "type": "address[] memory", "value": "_pods" }, - "id": 1885, + "id": 4232, "name": "Identifier", - "src": "2075:5:11" + "src": "2075:5:15" }, { "attributes": { @@ -2377,28 +2377,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1873, + "referencedDeclaration": 4220, "type": "uint256", "value": "i" }, - "id": 1886, + "id": 4233, "name": "Identifier", - "src": "2081:1:11" + "src": "2081:1:15" } ], - "id": 1887, + "id": 4234, "name": "IndexAccess", - "src": "2075:8:11" + "src": "2075:8:15" } ], - "id": 1888, + "id": 4235, "name": "VariableDeclarationStatement", - "src": "2057:26:11" + "src": "2057:26:15" }, { "attributes": { "assignments": [ - 1890 + 4237 ] }, "children": [ @@ -2406,7 +2406,7 @@ "attributes": { "constant": false, "name": "pod", - "scope": 1927, + "scope": 4274, "stateVariable": false, "storageLocation": "default", "type": "contract AbsPoD", @@ -2418,17 +2418,17 @@ "attributes": { "contractScope": null, "name": "AbsPoD", - "referencedDeclaration": 51, + "referencedDeclaration": 46, "type": "contract AbsPoD" }, - "id": 1889, + "id": 4236, "name": "UserDefinedTypeName", - "src": "2091:6:11" + "src": "2091:6:15" } ], - "id": 1890, + "id": 4237, "name": "VariableDeclaration", - "src": "2091:10:11" + "src": "2091:10:15" }, { "attributes": { @@ -2456,13 +2456,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 51, + "referencedDeclaration": 46, "type": "type(contract AbsPoD)", "value": "AbsPoD" }, - "id": 1891, + "id": 4238, "name": "Identifier", - "src": "2104:6:11" + "src": "2104:6:15" }, { "attributes": { @@ -2470,23 +2470,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1884, + "referencedDeclaration": 4231, "type": "address", "value": "podAddr" }, - "id": 1892, + "id": 4239, "name": "Identifier", - "src": "2111:7:11" + "src": "2111:7:15" } ], - "id": 1893, + "id": 4240, "name": "FunctionCall", - "src": "2104:15:11" + "src": "2104:15:15" } ], - "id": 1894, + "id": 4241, "name": "VariableDeclarationStatement", - "src": "2091:28:11" + "src": "2091:28:15" }, { "attributes": { @@ -2533,7 +2533,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isPoDStarted", - "referencedDeclaration": 30, + "referencedDeclaration": 25, "type": "function () view external returns (bool)" }, "children": [ @@ -2543,32 +2543,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1890, + "referencedDeclaration": 4237, "type": "contract AbsPoD", "value": "pod" }, - "id": 1895, + "id": 4242, "name": "Identifier", - "src": "2133:3:11" + "src": "2133:3:15" } ], - "id": 1896, + "id": 4243, "name": "MemberAccess", - "src": "2133:16:11" + "src": "2133:16:15" } ], - "id": 1897, + "id": 4244, "name": "FunctionCall", - "src": "2133:18:11" + "src": "2133:18:15" } ], - "id": 1898, + "id": 4245, "name": "UnaryOperation", - "src": "2132:19:11" + "src": "2132:19:15" }, { "attributes": { - "functionReturnParameters": 1867 + "functionReturnParameters": 4214 }, "children": [ { @@ -2584,24 +2584,24 @@ "type": "int_const 0", "value": "0" }, - "id": 1899, + "id": 4246, "name": "Literal", - "src": "2168:1:11" + "src": "2168:1:15" } ], - "id": 1900, + "id": 4247, "name": "Return", - "src": "2161:8:11" + "src": "2161:8:15" } ], - "id": 1901, + "id": 4248, "name": "IfStatement", - "src": "2128:41:11" + "src": "2128:41:15" }, { "attributes": { "assignments": [ - 1903 + 4250 ] }, "children": [ @@ -2609,7 +2609,7 @@ "attributes": { "constant": false, "name": "capOfToken", - "scope": 1927, + "scope": 4274, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2622,14 +2622,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1902, + "id": 4249, "name": "ElementaryTypeName", - "src": "2184:7:11" + "src": "2184:7:15" } ], - "id": 1903, + "id": 4250, "name": "VariableDeclaration", - "src": "2184:18:11" + "src": "2184:18:15" }, { "attributes": { @@ -2659,7 +2659,7 @@ "isPure": false, "lValueRequested": false, "member_name": "getCapOfToken", - "referencedDeclaration": 25, + "referencedDeclaration": 20, "type": "function () view external returns (uint256)" }, "children": [ @@ -2669,28 +2669,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1890, + "referencedDeclaration": 4237, "type": "contract AbsPoD", "value": "pod" }, - "id": 1904, + "id": 4251, "name": "Identifier", - "src": "2205:3:11" + "src": "2205:3:15" } ], - "id": 1905, + "id": 4252, "name": "MemberAccess", - "src": "2205:17:11" + "src": "2205:17:15" } ], - "id": 1906, + "id": 4253, "name": "FunctionCall", - "src": "2205:19:11" + "src": "2205:19:15" } ], - "id": 1907, + "id": 4254, "name": "VariableDeclarationStatement", - "src": "2184:40:11" + "src": "2184:40:15" }, { "children": [ @@ -2711,13 +2711,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 4216, "type": "uint256", "value": "nowSupply" }, - "id": 1908, + "id": 4255, "name": "Identifier", - "src": "2232:9:11" + "src": "2232:9:15" }, { "attributes": { @@ -2747,7 +2747,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 2151, + "referencedDeclaration": 4498, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2757,18 +2757,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 4216, "type": "uint256", "value": "nowSupply" }, - "id": 1909, + "id": 4256, "name": "Identifier", - "src": "2244:9:11" + "src": "2244:9:15" } ], - "id": 1910, + "id": 4257, "name": "MemberAccess", - "src": "2244:13:11" + "src": "2244:13:15" }, { "attributes": { @@ -2776,28 +2776,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 4250, "type": "uint256", "value": "capOfToken" }, - "id": 1911, + "id": 4258, "name": "Identifier", - "src": "2258:10:11" + "src": "2258:10:15" } ], - "id": 1912, + "id": 4259, "name": "FunctionCall", - "src": "2244:25:11" + "src": "2244:25:15" } ], - "id": 1913, + "id": 4260, "name": "Assignment", - "src": "2232:37:11" + "src": "2232:37:15" } ], - "id": 1914, + "id": 4261, "name": "ExpressionStatement", - "src": "2232:37:11" + "src": "2232:37:15" }, { "children": [ @@ -2831,13 +2831,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1763, + "referencedDeclaration": 4110, "type": "function (address,uint256)", "value": "CheckedPodsToken" }, - "id": 1915, + "id": 4262, "name": "Identifier", - "src": "2277:16:11" + "src": "2277:16:15" }, { "attributes": { @@ -2858,7 +2858,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_AbsPoD_$51", + "typeIdentifier": "t_contract$_AbsPoD_$46", "typeString": "contract AbsPoD" } ], @@ -2869,9 +2869,9 @@ "type": "type(address)", "value": "address" }, - "id": 1916, + "id": 4263, "name": "ElementaryTypeNameExpression", - "src": "2294:7:11" + "src": "2294:7:15" }, { "attributes": { @@ -2879,18 +2879,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1890, + "referencedDeclaration": 4237, "type": "contract AbsPoD", "value": "pod" }, - "id": 1917, + "id": 4264, "name": "Identifier", - "src": "2302:3:11" + "src": "2302:3:15" } ], - "id": 1918, + "id": 4265, "name": "FunctionCall", - "src": "2294:12:11" + "src": "2294:12:15" }, { "attributes": { @@ -2898,37 +2898,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 4250, "type": "uint256", "value": "capOfToken" }, - "id": 1919, + "id": 4266, "name": "Identifier", - "src": "2308:10:11" + "src": "2308:10:15" } ], - "id": 1920, + "id": 4267, "name": "FunctionCall", - "src": "2277:42:11" + "src": "2277:42:15" } ], - "id": 1921, + "id": 4268, "name": "ExpressionStatement", - "src": "2277:42:11" + "src": "2277:42:15" } ], - "id": 1922, + "id": 4269, "name": "Block", - "src": "2049:277:11" + "src": "2049:277:15" } ], - "id": 1923, + "id": 4270, "name": "ForStatement", - "src": "2009:317:11" + "src": "2009:317:15" }, { "attributes": { - "functionReturnParameters": 1867 + "functionReturnParameters": 4214 }, "children": [ { @@ -2937,28 +2937,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 4216, "type": "uint256", "value": "nowSupply" }, - "id": 1924, + "id": 4271, "name": "Identifier", - "src": "2339:9:11" + "src": "2339:9:15" } ], - "id": 1925, + "id": 4272, "name": "Return", - "src": "2332:16:11" + "src": "2332:16:15" } ], - "id": 1926, + "id": 4273, "name": "Block", - "src": "1976:377:11" + "src": "1976:377:15" } ], - "id": 1927, + "id": 4274, "name": "FunctionDefinition", - "src": "1913:440:11" + "src": "1913:440:15" }, { "attributes": { @@ -2970,7 +2970,7 @@ ], "name": "mintToken", "payable": false, - "scope": 2057, + "scope": 4404, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2982,7 +2982,7 @@ "attributes": { "constant": false, "name": "_tokenAddr", - "scope": 2015, + "scope": 4362, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2995,20 +2995,20 @@ "name": "address", "type": "address" }, - "id": 1928, + "id": 4275, "name": "ElementaryTypeName", - "src": "2617:7:11" + "src": "2617:7:15" } ], - "id": 1929, + "id": 4276, "name": "VariableDeclaration", - "src": "2617:18:11" + "src": "2617:18:15" }, { "attributes": { "constant": false, "name": "_index", - "scope": 2015, + "scope": 4362, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3021,20 +3021,20 @@ "name": "uint", "type": "uint256" }, - "id": 1930, + "id": 4277, "name": "ElementaryTypeName", - "src": "2637:4:11" + "src": "2637:4:15" } ], - "id": 1931, + "id": 4278, "name": "VariableDeclaration", - "src": "2637:11:11" + "src": "2637:11:15" }, { "attributes": { "constant": false, "name": "_user", - "scope": 2015, + "scope": 4362, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3047,19 +3047,19 @@ "name": "address", "type": "address" }, - "id": 1932, + "id": 4279, "name": "ElementaryTypeName", - "src": "2650:7:11" + "src": "2650:7:15" } ], - "id": 1933, + "id": 4280, "name": "VariableDeclaration", - "src": "2650:13:11" + "src": "2650:13:15" } ], - "id": 1934, + "id": 4281, "name": "ParameterList", - "src": "2616:48:11" + "src": "2616:48:15" }, { "children": [ @@ -3067,7 +3067,7 @@ "attributes": { "constant": false, "name": "", - "scope": 2015, + "scope": 4362, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3080,26 +3080,26 @@ "name": "bool", "type": "bool" }, - "id": 1935, + "id": 4282, "name": "ElementaryTypeName", - "src": "2680:4:11" + "src": "2680:4:15" } ], - "id": 1936, + "id": 4283, "name": "VariableDeclaration", - "src": "2680:4:11" + "src": "2680:4:15" } ], - "id": 1937, + "id": 4284, "name": "ParameterList", - "src": "2679:6:11" + "src": "2679:6:15" }, { "children": [ { "attributes": { "assignments": [ - 1939 + 4286 ] }, "children": [ @@ -3107,7 +3107,7 @@ "attributes": { "constant": false, "name": "user", - "scope": 2015, + "scope": 4362, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3120,14 +3120,14 @@ "name": "address", "type": "address" }, - "id": 1938, + "id": 4285, "name": "ElementaryTypeName", - "src": "2693:7:11" + "src": "2693:7:15" } ], - "id": 1939, + "id": 4286, "name": "VariableDeclaration", - "src": "2693:12:11" + "src": "2693:12:15" }, { "attributes": { @@ -3147,23 +3147,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1940, + "id": 4287, "name": "Identifier", - "src": "2708:3:11" + "src": "2708:3:15" } ], - "id": 1941, + "id": 4288, "name": "MemberAccess", - "src": "2708:10:11" + "src": "2708:10:15" } ], - "id": 1942, + "id": 4289, "name": "VariableDeclarationStatement", - "src": "2693:25:11" + "src": "2693:25:15" }, { "attributes": { @@ -3191,13 +3191,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1933, + "referencedDeclaration": 4280, "type": "address", "value": "_user" }, - "id": 1943, + "id": 4290, "name": "Identifier", - "src": "2730:5:11" + "src": "2730:5:15" }, { "attributes": { @@ -3212,14 +3212,14 @@ "type": "int_const 0", "value": "0x0" }, - "id": 1944, + "id": 4291, "name": "Literal", - "src": "2739:3:11" + "src": "2739:3:15" } ], - "id": 1945, + "id": 4292, "name": "BinaryOperation", - "src": "2730:12:11" + "src": "2730:12:15" }, { "children": [ @@ -3242,13 +3242,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 4286, "type": "address", "value": "user" }, - "id": 1946, + "id": 4293, "name": "Identifier", - "src": "2752:4:11" + "src": "2752:4:15" }, { "attributes": { @@ -3256,33 +3256,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1933, + "referencedDeclaration": 4280, "type": "address", "value": "_user" }, - "id": 1947, + "id": 4294, "name": "Identifier", - "src": "2759:5:11" + "src": "2759:5:15" } ], - "id": 1948, + "id": 4295, "name": "Assignment", - "src": "2752:12:11" + "src": "2752:12:15" } ], - "id": 1949, + "id": 4296, "name": "ExpressionStatement", - "src": "2752:12:11" + "src": "2752:12:15" } ], - "id": 1950, + "id": 4297, "name": "Block", - "src": "2744:27:11" + "src": "2744:27:15" } ], - "id": 1951, + "id": 4298, "name": "IfStatement", - "src": "2726:45:11" + "src": "2726:45:15" }, { "children": [ @@ -3312,13 +3312,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1952, + "id": 4299, "name": "Identifier", - "src": "2777:7:11" + "src": "2777:7:15" }, { "attributes": { @@ -3361,13 +3361,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1777, + "referencedDeclaration": 4124, "type": "mapping(address => address[] storage ref)", "value": "tokenToPods" }, - "id": 1953, + "id": 4300, "name": "Identifier", - "src": "2785:11:11" + "src": "2785:11:15" }, { "attributes": { @@ -3375,18 +3375,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1929, + "referencedDeclaration": 4276, "type": "address", "value": "_tokenAddr" }, - "id": 1954, + "id": 4301, "name": "Identifier", - "src": "2797:10:11" + "src": "2797:10:15" } ], - "id": 1955, + "id": 4302, "name": "IndexAccess", - "src": "2785:23:11" + "src": "2785:23:15" }, { "attributes": { @@ -3394,18 +3394,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1931, + "referencedDeclaration": 4278, "type": "uint256", "value": "_index" }, - "id": 1956, + "id": 4303, "name": "Identifier", - "src": "2809:6:11" + "src": "2809:6:15" } ], - "id": 1957, + "id": 4304, "name": "IndexAccess", - "src": "2785:31:11" + "src": "2785:31:15" }, { "attributes": { @@ -3420,29 +3420,29 @@ "type": "int_const 0", "value": "0x0" }, - "id": 1958, + "id": 4305, "name": "Literal", - "src": "2820:3:11" + "src": "2820:3:15" } ], - "id": 1959, + "id": 4306, "name": "BinaryOperation", - "src": "2785:38:11" + "src": "2785:38:15" } ], - "id": 1960, + "id": 4307, "name": "FunctionCall", - "src": "2777:47:11" + "src": "2777:47:15" } ], - "id": 1961, + "id": 4308, "name": "ExpressionStatement", - "src": "2777:47:11" + "src": "2777:47:15" }, { "attributes": { "assignments": [ - 1963 + 4310 ] }, "children": [ @@ -3450,7 +3450,7 @@ "attributes": { "constant": false, "name": "pod", - "scope": 2015, + "scope": 4362, "stateVariable": false, "storageLocation": "default", "type": "contract AbsPoD", @@ -3462,17 +3462,17 @@ "attributes": { "contractScope": null, "name": "AbsPoD", - "referencedDeclaration": 51, + "referencedDeclaration": 46, "type": "contract AbsPoD" }, - "id": 1962, + "id": 4309, "name": "UserDefinedTypeName", - "src": "2831:6:11" + "src": "2831:6:15" } ], - "id": 1963, + "id": 4310, "name": "VariableDeclaration", - "src": "2831:10:11" + "src": "2831:10:15" }, { "attributes": { @@ -3500,13 +3500,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 51, + "referencedDeclaration": 46, "type": "type(contract AbsPoD)", "value": "AbsPoD" }, - "id": 1964, + "id": 4311, "name": "Identifier", - "src": "2844:6:11" + "src": "2844:6:15" }, { "attributes": { @@ -3534,13 +3534,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1777, + "referencedDeclaration": 4124, "type": "mapping(address => address[] storage ref)", "value": "tokenToPods" }, - "id": 1965, + "id": 4312, "name": "Identifier", - "src": "2851:11:11" + "src": "2851:11:15" }, { "attributes": { @@ -3548,18 +3548,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1929, + "referencedDeclaration": 4276, "type": "address", "value": "_tokenAddr" }, - "id": 1966, + "id": 4313, "name": "Identifier", - "src": "2863:10:11" + "src": "2863:10:15" } ], - "id": 1967, + "id": 4314, "name": "IndexAccess", - "src": "2851:23:11" + "src": "2851:23:15" }, { "attributes": { @@ -3567,28 +3567,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1931, + "referencedDeclaration": 4278, "type": "uint256", "value": "_index" }, - "id": 1968, + "id": 4315, "name": "Identifier", - "src": "2875:6:11" + "src": "2875:6:15" } ], - "id": 1969, + "id": 4316, "name": "IndexAccess", - "src": "2851:31:11" + "src": "2851:31:15" } ], - "id": 1970, + "id": 4317, "name": "FunctionCall", - "src": "2844:39:11" + "src": "2844:39:15" } ], - "id": 1971, + "id": 4318, "name": "VariableDeclarationStatement", - "src": "2831:52:11" + "src": "2831:52:15" }, { "children": [ @@ -3618,13 +3618,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1972, + "id": 4319, "name": "Identifier", - "src": "2890:7:11" + "src": "2890:7:15" }, { "attributes": { @@ -3654,7 +3654,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isPoDEnded", - "referencedDeclaration": 35, + "referencedDeclaration": 30, "type": "function () view external returns (bool)" }, "children": [ @@ -3664,38 +3664,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1963, + "referencedDeclaration": 4310, "type": "contract AbsPoD", "value": "pod" }, - "id": 1973, + "id": 4320, "name": "Identifier", - "src": "2898:3:11" + "src": "2898:3:15" } ], - "id": 1974, + "id": 4321, "name": "MemberAccess", - "src": "2898:14:11" + "src": "2898:14:15" } ], - "id": 1975, + "id": 4322, "name": "FunctionCall", - "src": "2898:16:11" + "src": "2898:16:15" } ], - "id": 1976, + "id": 4323, "name": "FunctionCall", - "src": "2890:25:11" + "src": "2890:25:15" } ], - "id": 1977, + "id": 4324, "name": "ExpressionStatement", - "src": "2890:25:11" + "src": "2890:25:15" }, { "attributes": { "assignments": [ - 1979 + 4326 ] }, "children": [ @@ -3703,7 +3703,7 @@ "attributes": { "constant": false, "name": "tokenValue", - "scope": 2015, + "scope": 4362, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3716,14 +3716,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1978, + "id": 4325, "name": "ElementaryTypeName", - "src": "2922:7:11" + "src": "2922:7:15" } ], - "id": 1979, + "id": 4326, "name": "VariableDeclaration", - "src": "2922:18:11" + "src": "2922:18:15" }, { "attributes": { @@ -3763,18 +3763,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1963, + "referencedDeclaration": 4310, "type": "contract AbsPoD", "value": "pod" }, - "id": 1980, + "id": 4327, "name": "Identifier", - "src": "2943:3:11" + "src": "2943:3:15" } ], - "id": 1981, + "id": 4328, "name": "MemberAccess", - "src": "2943:21:11" + "src": "2943:21:15" }, { "attributes": { @@ -3782,23 +3782,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 4286, "type": "address", "value": "user" }, - "id": 1982, + "id": 4329, "name": "Identifier", - "src": "2965:4:11" + "src": "2965:4:15" } ], - "id": 1983, + "id": 4330, "name": "FunctionCall", - "src": "2943:27:11" + "src": "2943:27:15" } ], - "id": 1984, + "id": 4331, "name": "VariableDeclarationStatement", - "src": "2922:48:11" + "src": "2922:48:15" }, { "children": [ @@ -3828,13 +3828,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1985, + "id": 4332, "name": "Identifier", - "src": "2977:7:11" + "src": "2977:7:15" }, { "attributes": { @@ -3857,13 +3857,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1979, + "referencedDeclaration": 4326, "type": "uint256", "value": "tokenValue" }, - "id": 1986, + "id": 4333, "name": "Identifier", - "src": "2985:10:11" + "src": "2985:10:15" }, { "attributes": { @@ -3878,29 +3878,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1987, + "id": 4334, "name": "Literal", - "src": "2998:1:11" + "src": "2998:1:15" } ], - "id": 1988, + "id": 4335, "name": "BinaryOperation", - "src": "2985:14:11" + "src": "2985:14:15" } ], - "id": 1989, + "id": 4336, "name": "FunctionCall", - "src": "2977:23:11" + "src": "2977:23:15" } ], - "id": 1990, + "id": 4337, "name": "ExpressionStatement", - "src": "2977:23:11" + "src": "2977:23:15" }, { "attributes": { "assignments": [ - 1992 + 4339 ] }, "children": [ @@ -3908,7 +3908,7 @@ "attributes": { "constant": false, "name": "token", - "scope": 2015, + "scope": 4362, "stateVariable": false, "storageLocation": "default", "type": "contract MintableToken", @@ -3920,17 +3920,17 @@ "attributes": { "contractScope": null, "name": "MintableToken", - "referencedDeclaration": 817, + "referencedDeclaration": 871, "type": "contract MintableToken" }, - "id": 1991, + "id": 4338, "name": "UserDefinedTypeName", - "src": "3007:13:11" + "src": "3007:13:15" } ], - "id": 1992, + "id": 4339, "name": "VariableDeclaration", - "src": "3007:19:11" + "src": "3007:19:15" }, { "attributes": { @@ -3958,13 +3958,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 871, "type": "type(contract MintableToken)", "value": "MintableToken" }, - "id": 1993, + "id": 4340, "name": "Identifier", - "src": "3029:13:11" + "src": "3029:13:15" }, { "attributes": { @@ -3972,23 +3972,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1929, + "referencedDeclaration": 4276, "type": "address", "value": "_tokenAddr" }, - "id": 1994, + "id": 4341, "name": "Identifier", - "src": "3043:10:11" + "src": "3043:10:15" } ], - "id": 1995, + "id": 4342, "name": "FunctionCall", - "src": "3029:25:11" + "src": "3029:25:15" } ], - "id": 1996, + "id": 4343, "name": "VariableDeclarationStatement", - "src": "3007:47:11" + "src": "3007:47:15" }, { "children": [ @@ -4018,13 +4018,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1997, + "id": 4344, "name": "Identifier", - "src": "3061:7:11" + "src": "3061:7:15" }, { "attributes": { @@ -4058,7 +4058,7 @@ "isPure": false, "lValueRequested": false, "member_name": "mint", - "referencedDeclaration": 757, + "referencedDeclaration": 811, "type": "function (address,uint256) external returns (bool)" }, "children": [ @@ -4068,18 +4068,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1992, + "referencedDeclaration": 4339, "type": "contract MintableToken", "value": "token" }, - "id": 1998, + "id": 4345, "name": "Identifier", - "src": "3069:5:11" + "src": "3069:5:15" } ], - "id": 1999, + "id": 4346, "name": "MemberAccess", - "src": "3069:10:11" + "src": "3069:10:15" }, { "attributes": { @@ -4087,13 +4087,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 4286, "type": "address", "value": "user" }, - "id": 2000, + "id": 4347, "name": "Identifier", - "src": "3080:4:11" + "src": "3080:4:15" }, { "attributes": { @@ -4101,28 +4101,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1979, + "referencedDeclaration": 4326, "type": "uint256", "value": "tokenValue" }, - "id": 2001, + "id": 4348, "name": "Identifier", - "src": "3086:10:11" + "src": "3086:10:15" } ], - "id": 2002, + "id": 4349, "name": "FunctionCall", - "src": "3069:28:11" + "src": "3069:28:15" } ], - "id": 2003, + "id": 4350, "name": "FunctionCall", - "src": "3061:37:11" + "src": "3061:37:15" } ], - "id": 2004, + "id": 4351, "name": "ExpressionStatement", - "src": "3061:37:11" + "src": "3061:37:15" }, { "children": [ @@ -4152,13 +4152,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 2005, + "id": 4352, "name": "Identifier", - "src": "3105:7:11" + "src": "3105:7:15" }, { "attributes": { @@ -4198,18 +4198,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1963, + "referencedDeclaration": 4310, "type": "contract AbsPoD", "value": "pod" }, - "id": 2006, + "id": 4353, "name": "Identifier", - "src": "3113:3:11" + "src": "3113:3:15" } ], - "id": 2007, + "id": 4354, "name": "MemberAccess", - "src": "3113:19:11" + "src": "3113:19:15" }, { "attributes": { @@ -4217,32 +4217,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 4286, "type": "address", "value": "user" }, - "id": 2008, + "id": 4355, "name": "Identifier", - "src": "3133:4:11" + "src": "3133:4:15" } ], - "id": 2009, + "id": 4356, "name": "FunctionCall", - "src": "3113:25:11" + "src": "3113:25:15" } ], - "id": 2010, + "id": 4357, "name": "FunctionCall", - "src": "3105:34:11" + "src": "3105:34:15" } ], - "id": 2011, + "id": 4358, "name": "ExpressionStatement", - "src": "3105:34:11" + "src": "3105:34:15" }, { "attributes": { - "functionReturnParameters": 1937 + "functionReturnParameters": 4284 }, "children": [ { @@ -4258,24 +4258,24 @@ "type": "bool", "value": "true" }, - "id": 2012, + "id": 4359, "name": "Literal", - "src": "3153:4:11" + "src": "3153:4:15" } ], - "id": 2013, + "id": 4360, "name": "Return", - "src": "3146:11:11" + "src": "3146:11:15" } ], - "id": 2014, + "id": 4361, "name": "Block", - "src": "2686:476:11" + "src": "2686:476:15" } ], - "id": 2015, + "id": 4362, "name": "FunctionDefinition", - "src": "2598:564:11" + "src": "2598:564:15" }, { "attributes": { @@ -4284,7 +4284,7 @@ "isConstructor": false, "name": "tokenTransfer", "payable": false, - "scope": 2057, + "scope": 4404, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -4296,7 +4296,7 @@ "attributes": { "constant": false, "name": "_token", - "scope": 2043, + "scope": 4390, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4309,19 +4309,19 @@ "name": "address", "type": "address" }, - "id": 2016, + "id": 4363, "name": "ElementaryTypeName", - "src": "3252:7:11" + "src": "3252:7:15" } ], - "id": 2017, + "id": 4364, "name": "VariableDeclaration", - "src": "3252:14:11" + "src": "3252:14:15" } ], - "id": 2018, + "id": 4365, "name": "ParameterList", - "src": "3251:16:11" + "src": "3251:16:15" }, { "attributes": { @@ -4330,9 +4330,9 @@ ] }, "children": [], - "id": 2021, + "id": 4368, "name": "ParameterList", - "src": "3287:0:11" + "src": "3287:0:15" }, { "attributes": { @@ -4347,25 +4347,25 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 2058, "type": "modifier ()", "value": "onlyOwner" }, - "id": 2019, + "id": 4366, "name": "Identifier", - "src": "3275:9:11" + "src": "3275:9:15" } ], - "id": 2020, + "id": 4367, "name": "ModifierInvocation", - "src": "3275:11:11" + "src": "3275:11:15" }, { "children": [ { "attributes": { "assignments": [ - 2023 + 4370 ] }, "children": [ @@ -4373,7 +4373,7 @@ "attributes": { "constant": false, "name": "token", - "scope": 2043, + "scope": 4390, "stateVariable": false, "storageLocation": "default", "type": "contract MintableToken", @@ -4385,17 +4385,17 @@ "attributes": { "contractScope": null, "name": "MintableToken", - "referencedDeclaration": 817, + "referencedDeclaration": 871, "type": "contract MintableToken" }, - "id": 2022, + "id": 4369, "name": "UserDefinedTypeName", - "src": "3298:13:11" + "src": "3298:13:15" } ], - "id": 2023, + "id": 4370, "name": "VariableDeclaration", - "src": "3298:19:11" + "src": "3298:19:15" }, { "attributes": { @@ -4423,13 +4423,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 871, "type": "type(contract MintableToken)", "value": "MintableToken" }, - "id": 2024, + "id": 4371, "name": "Identifier", - "src": "3320:13:11" + "src": "3320:13:15" }, { "attributes": { @@ -4437,28 +4437,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2017, + "referencedDeclaration": 4364, "type": "address", "value": "_token" }, - "id": 2025, + "id": 4372, "name": "Identifier", - "src": "3334:6:11" + "src": "3334:6:15" } ], - "id": 2026, + "id": 4373, "name": "FunctionCall", - "src": "3320:21:11" + "src": "3320:21:15" } ], - "id": 2027, + "id": 4374, "name": "VariableDeclarationStatement", - "src": "3298:43:11" + "src": "3298:43:15" }, { "attributes": { "assignments": [ - 2029 + 4376 ] }, "children": [ @@ -4466,7 +4466,7 @@ "attributes": { "constant": false, "name": "balance", - "scope": 2043, + "scope": 4390, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -4479,14 +4479,14 @@ "name": "uint", "type": "uint256" }, - "id": 2028, + "id": 4375, "name": "ElementaryTypeName", - "src": "3348:4:11" + "src": "3348:4:15" } ], - "id": 2029, + "id": 4376, "name": "VariableDeclaration", - "src": "3348:12:11" + "src": "3348:12:15" }, { "attributes": { @@ -4507,7 +4507,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_RICO_$2057", + "typeIdentifier": "t_contract$_RICO_$4404", "typeString": "contract RICO" } ], @@ -4516,7 +4516,7 @@ "isPure": false, "lValueRequested": false, "member_name": "balanceOf", - "referencedDeclaration": 285, + "referencedDeclaration": 280, "type": "function (address) view external returns (uint256)" }, "children": [ @@ -4526,18 +4526,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2023, + "referencedDeclaration": 4370, "type": "contract MintableToken", "value": "token" }, - "id": 2030, + "id": 4377, "name": "Identifier", - "src": "3363:5:11" + "src": "3363:5:15" } ], - "id": 2031, + "id": 4378, "name": "MemberAccess", - "src": "3363:15:11" + "src": "3363:15:15" }, { "attributes": { @@ -4545,23 +4545,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2197, + "referencedDeclaration": 4544, "type": "contract RICO", "value": "this" }, - "id": 2032, + "id": 4379, "name": "Identifier", - "src": "3379:4:11" + "src": "3379:4:15" } ], - "id": 2033, + "id": 4380, "name": "FunctionCall", - "src": "3363:21:11" + "src": "3363:21:15" } ], - "id": 2034, + "id": 4381, "name": "VariableDeclarationStatement", - "src": "3348:36:11" + "src": "3348:36:15" }, { "children": [ @@ -4597,7 +4597,7 @@ "isPure": false, "lValueRequested": false, "member_name": "transfer", - "referencedDeclaration": 206, + "referencedDeclaration": 201, "type": "function (address,uint256) external returns (bool)" }, "children": [ @@ -4607,18 +4607,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2023, + "referencedDeclaration": 4370, "type": "contract MintableToken", "value": "token" }, - "id": 2035, + "id": 4382, "name": "Identifier", - "src": "3395:5:11" + "src": "3395:5:15" } ], - "id": 2037, + "id": 4384, "name": "MemberAccess", - "src": "3395:14:11" + "src": "3395:14:15" }, { "attributes": { @@ -4626,13 +4626,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 821, + "referencedDeclaration": 2032, "type": "address", "value": "owner" }, - "id": 2038, + "id": 4385, "name": "Identifier", - "src": "3410:5:11" + "src": "3410:5:15" }, { "attributes": { @@ -4640,33 +4640,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2029, + "referencedDeclaration": 4376, "type": "uint256", "value": "balance" }, - "id": 2039, + "id": 4386, "name": "Identifier", - "src": "3417:7:11" + "src": "3417:7:15" } ], - "id": 2040, + "id": 4387, "name": "FunctionCall", - "src": "3395:30:11" + "src": "3395:30:15" } ], - "id": 2041, + "id": 4388, "name": "ExpressionStatement", - "src": "3395:30:11" + "src": "3395:30:15" } ], - "id": 2042, + "id": 4389, "name": "Block", - "src": "3287:143:11" + "src": "3287:143:15" } ], - "id": 2043, + "id": 4390, "name": "FunctionDefinition", - "src": "3229:201:11" + "src": "3229:201:15" }, { "attributes": { @@ -4678,7 +4678,7 @@ ], "name": "getTokenPods", "payable": false, - "scope": 2057, + "scope": 4404, "stateMutability": "view", "superFunction": null, "visibility": "public" @@ -4690,7 +4690,7 @@ "attributes": { "constant": false, "name": "_token", - "scope": 2056, + "scope": 4403, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -4703,19 +4703,19 @@ "name": "address", "type": "address" }, - "id": 2044, + "id": 4391, "name": "ElementaryTypeName", - "src": "3524:7:11" + "src": "3524:7:15" } ], - "id": 2045, + "id": 4392, "name": "VariableDeclaration", - "src": "3524:14:11" + "src": "3524:14:15" } ], - "id": 2046, + "id": 4393, "name": "ParameterList", - "src": "3523:16:11" + "src": "3523:16:15" }, { "children": [ @@ -4723,7 +4723,7 @@ "attributes": { "constant": false, "name": "", - "scope": 2056, + "scope": 4403, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -4742,30 +4742,30 @@ "name": "address", "type": "address" }, - "id": 2047, + "id": 4394, "name": "ElementaryTypeName", - "src": "3565:7:11" + "src": "3565:7:15" } ], - "id": 2048, + "id": 4395, "name": "ArrayTypeName", - "src": "3565:9:11" + "src": "3565:9:15" } ], - "id": 2049, + "id": 4396, "name": "VariableDeclaration", - "src": "3565:9:11" + "src": "3565:9:15" } ], - "id": 2050, + "id": 4397, "name": "ParameterList", - "src": "3564:11:11" + "src": "3564:11:15" }, { "children": [ { "attributes": { - "functionReturnParameters": 2050 + "functionReturnParameters": 4397 }, "children": [ { @@ -4784,13 +4784,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1777, + "referencedDeclaration": 4124, "type": "mapping(address => address[] storage ref)", "value": "tokenToPods" }, - "id": 2051, + "id": 4398, "name": "Identifier", - "src": "3589:11:11" + "src": "3589:11:15" }, { "attributes": { @@ -4798,65 +4798,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2045, + "referencedDeclaration": 4392, "type": "address", "value": "_token" }, - "id": 2052, + "id": 4399, "name": "Identifier", - "src": "3601:6:11" + "src": "3601:6:15" } ], - "id": 2053, + "id": 4400, "name": "IndexAccess", - "src": "3589:19:11" + "src": "3589:19:15" } ], - "id": 2054, + "id": 4401, "name": "Return", - "src": "3582:26:11" + "src": "3582:26:15" } ], - "id": 2055, + "id": 4402, "name": "Block", - "src": "3576:37:11" + "src": "3576:37:15" } ], - "id": 2056, + "id": 4403, "name": "FunctionDefinition", - "src": "3502:111:11" + "src": "3502:111:15" } ], - "id": 2057, + "id": 4404, "name": "ContractDefinition", - "src": "214:3401:11" + "src": "214:3401:15" } ], - "id": 2058, + "id": 4405, "name": "SourceUnit", - "src": "0:3615:11" + "src": "0:3615:15" }, "compiler": { "name": "solc", "version": "0.4.18+commit.9cf6e910.Emscripten.clang" }, - "networks": { - "3": { - "events": {}, - "links": {}, - "address": "0x9e18e5bdb7f47631cf212b34a42cd54cfd713a6d" - }, - "1515684702992": { - "events": {}, - "links": {}, - "address": "0x5a70fcf96cb3546c2e911c3e793d5866ed45d00f" - }, - "1515686685127": { - "events": {}, - "links": {}, - "address": "0x1c6f2526b0a5128b89ee0f921f8b8b794189f2ed" - } - }, + "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T11:16:12.039Z" + "updatedAt": "2018-01-15T16:10:12.656Z" } \ No newline at end of file diff --git a/build/contracts/RICOStandardPoD.json b/build/contracts/RICOStandardPoD.json index 7bb3a80..a088e5b 100644 --- a/build/contracts/RICOStandardPoD.json +++ b/build/contracts/RICOStandardPoD.json @@ -441,8 +441,8 @@ ], "bytecode": "0x606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280603181526020017f5374616e64617264506f4420737472617465677920746f6b656e50726963652081526020017f3d20636170546f6b656e2f636170576569000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b6114d680620002466000396000f300606060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461013e57806309fc93c1146101cc578063112ed3f51461021957806318deb0661461026a578063200d2ed214610338578063439f5ac21461036f5780634b94f50e14610398578063521eb273146103c157806354fd4d50146104165780636ccce7a8146104a45780637150d8ae146104cd57806383786f8c146105225780638da5cb5b1461056f5780638f85f92c146105c457806397722acf146105f15780639b3dfce01461061a578063aa985a6314610647578063ba3f5a121461068b578063c828371e146106b4578063df7271bc146106dd578063ea750d2914610740578063ed88c68e14610769578063f2fde38b1461078b575b61013b6107c4565b50005b341561014957600080fd5b61015161092f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610191578082015181840152602081019050610176565b50505050905090810190601f1680156101be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d757600080fd5b610203600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109cd565b6040518082815260200191505060405180910390f35b341561022457600080fd5b610250600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a16565b604051808215151515815260200191505060405180910390f35b341561027557600080fd5b61031e600480803560ff16906020019091908035906020019091908035906020019091908035906020019091908060400190600280602002604051908101604052809291908260026020028082843782019150505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019091905050610af4565b604051808215151515815260200191505060405180910390f35b341561034357600080fd5b61034b610ccd565b6040518082600281111561035b57fe5b60ff16815260200191505060405180910390f35b341561037a57600080fd5b610382610ce0565b6040518082815260200191505060405180910390f35b34156103a357600080fd5b6103ab610cea565b6040518082815260200191505060405180910390f35b34156103cc57600080fd5b6103d4610cf4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561042157600080fd5b610429610d1a565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561046957808201518184015260208101905061044e565b50505050905090810190601f1680156104965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156104af57600080fd5b6104b7610db8565b6040518082815260200191505060405180910390f35b34156104d857600080fd5b6104e0610dc2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561052d57600080fd5b610559600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de8565b6040518082815260200191505060405180910390f35b341561057a57600080fd5b610582610f0c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610f31565b604051808215151515815260200191505060405180910390f35b34156105fc57600080fd5b610604610f71565b6040518082815260200191505060405180910390f35b341561062557600080fd5b61062d610f7b565b604051808215151515815260200191505060405180910390f35b341561065257600080fd5b6106716004808035906020019091908035906020019091905050610fbc565b604051808215151515815260200191505060405180910390f35b341561069657600080fd5b61069e6110c4565b6040518082815260200191505060405180910390f35b34156106bf57600080fd5b6106c76110ca565b6040518082815260200191505060405180910390f35b34156106e857600080fd5b6106fe60048080359060200190919050506110d4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561074b57600080fd5b610753611113565b6040518082815260200191505060405180910390f35b6107716107c4565b604051808215151515815260200191505060405180910390f35b341561079657600080fd5b6107c2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611119565b005b6000600160028111156107d357fe5b600b60009054906101000a900460ff1660028111156107ee57fe5b1415156107fa57600080fd5b600454421015151561080b57600080fd5b6412a05f20003a1115151561081f57600080fd5b60003411151561082e57600080fd5b6108373361126e565b15156108a257426005819055506002600b60006101000a81548160ff0219169083600281111561086357fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6108b7346007546113a690919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109c55780601f1061099a576101008083540402835291602001916109c5565b820191906000526020600020905b8154815290600101906020018083116109a857829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a7357600080fd5b600280811115610a7f57fe5b600b60009054906101000a900460ff166002811115610a9a57fe5b141515610aa657600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b5157600080fd5b60006002811115610b5e57fe5b600b60009054906101000a900460ff166002811115610b7957fe5b141515610b8557600080fd5b428710151515610b9457600080fd5b8660048190555082600c9080519060200190610bb19291906113dd565b508760ff16600a0a600d819055508560088190555084600981905550600854600954600d5402811515610be057fe5b04600681905550836000600281101515610bf657fe5b6020020151600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a6000866001600281101515610c5057fe5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600e819055506001600b60006101000a81548160ff02191690836002811115610cb957fe5b021790555060019050979650505050505050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610db05780601f10610d8557610100808354040283529160200191610db0565b820191906000526020600020905b815481529060010190602001808311610d9357829003601f168201915b505050505081565b6000600954905090565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e0262ed4e006004546113a690919063ffffffff16565b421015610e125760009050610f07565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ec057600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d5402811515610eb857fe5b049050610f07565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e540290505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610f3f57fe5b600b60009054906101000a900460ff166002811115610f5a57fe5b1415610f695760019050610f6e565b600090505b90565b6000600854905090565b600060016002811115610f8a57fe5b600b60009054906101000a900460ff166002811115610fa557fe5b1415610fb45760019050610fb9565b600090505b90565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561101a57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631821115151561104057600080fd5b600c8381548110151561104f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156110ba57600080fd5b6001905092915050565b600d5481565b6000600454905090565b600c818154811015156110e357fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561117457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156111b057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415156112cd57600080fd5b6112e46007546009546113c490919063ffffffff16565b90508034111515156112f557600080fd5b61134734600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113a690919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508034141561139b57600091506113a0565b600191505b50919050565b60008082840190508381101515156113ba57fe5b8091505092915050565b60008282111515156113d257fe5b818303905092915050565b828054828255906000526020600020908101928215611456579160200282015b828111156114555782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906113fd565b5b5090506114639190611467565b5090565b6114a791905b808211156114a357600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161146d565b5090565b905600a165627a7a723058203347779edfc3a0f6305b461b9ad27f1a3b65f81a3de0b455a90fee8da7731d530029", "deployedBytecode": "0x606060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461013e57806309fc93c1146101cc578063112ed3f51461021957806318deb0661461026a578063200d2ed214610338578063439f5ac21461036f5780634b94f50e14610398578063521eb273146103c157806354fd4d50146104165780636ccce7a8146104a45780637150d8ae146104cd57806383786f8c146105225780638da5cb5b1461056f5780638f85f92c146105c457806397722acf146105f15780639b3dfce01461061a578063aa985a6314610647578063ba3f5a121461068b578063c828371e146106b4578063df7271bc146106dd578063ea750d2914610740578063ed88c68e14610769578063f2fde38b1461078b575b61013b6107c4565b50005b341561014957600080fd5b61015161092f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610191578082015181840152602081019050610176565b50505050905090810190601f1680156101be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d757600080fd5b610203600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109cd565b6040518082815260200191505060405180910390f35b341561022457600080fd5b610250600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a16565b604051808215151515815260200191505060405180910390f35b341561027557600080fd5b61031e600480803560ff16906020019091908035906020019091908035906020019091908035906020019091908060400190600280602002604051908101604052809291908260026020028082843782019150505050509190803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019091905050610af4565b604051808215151515815260200191505060405180910390f35b341561034357600080fd5b61034b610ccd565b6040518082600281111561035b57fe5b60ff16815260200191505060405180910390f35b341561037a57600080fd5b610382610ce0565b6040518082815260200191505060405180910390f35b34156103a357600080fd5b6103ab610cea565b6040518082815260200191505060405180910390f35b34156103cc57600080fd5b6103d4610cf4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561042157600080fd5b610429610d1a565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561046957808201518184015260208101905061044e565b50505050905090810190601f1680156104965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156104af57600080fd5b6104b7610db8565b6040518082815260200191505060405180910390f35b34156104d857600080fd5b6104e0610dc2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561052d57600080fd5b610559600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de8565b6040518082815260200191505060405180910390f35b341561057a57600080fd5b610582610f0c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610f31565b604051808215151515815260200191505060405180910390f35b34156105fc57600080fd5b610604610f71565b6040518082815260200191505060405180910390f35b341561062557600080fd5b61062d610f7b565b604051808215151515815260200191505060405180910390f35b341561065257600080fd5b6106716004808035906020019091908035906020019091905050610fbc565b604051808215151515815260200191505060405180910390f35b341561069657600080fd5b61069e6110c4565b6040518082815260200191505060405180910390f35b34156106bf57600080fd5b6106c76110ca565b6040518082815260200191505060405180910390f35b34156106e857600080fd5b6106fe60048080359060200190919050506110d4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561074b57600080fd5b610753611113565b6040518082815260200191505060405180910390f35b6107716107c4565b604051808215151515815260200191505060405180910390f35b341561079657600080fd5b6107c2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611119565b005b6000600160028111156107d357fe5b600b60009054906101000a900460ff1660028111156107ee57fe5b1415156107fa57600080fd5b600454421015151561080b57600080fd5b6412a05f20003a1115151561081f57600080fd5b60003411151561082e57600080fd5b6108373361126e565b15156108a257426005819055506002600b60006101000a81548160ff0219169083600281111561086357fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6108b7346007546113a690919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109c55780601f1061099a576101008083540402835291602001916109c5565b820191906000526020600020905b8154815290600101906020018083116109a857829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a7357600080fd5b600280811115610a7f57fe5b600b60009054906101000a900460ff166002811115610a9a57fe5b141515610aa657600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b5157600080fd5b60006002811115610b5e57fe5b600b60009054906101000a900460ff166002811115610b7957fe5b141515610b8557600080fd5b428710151515610b9457600080fd5b8660048190555082600c9080519060200190610bb19291906113dd565b508760ff16600a0a600d819055508560088190555084600981905550600854600954600d5402811515610be057fe5b04600681905550836000600281101515610bf657fe5b6020020151600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a6000866001600281101515610c5057fe5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600e819055506001600b60006101000a81548160ff02191690836002811115610cb957fe5b021790555060019050979650505050505050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610db05780601f10610d8557610100808354040283529160200191610db0565b820191906000526020600020905b815481529060010190602001808311610d9357829003601f168201915b505050505081565b6000600954905090565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e0262ed4e006004546113a690919063ffffffff16565b421015610e125760009050610f07565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ec057600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d5402811515610eb857fe5b049050610f07565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e540290505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610f3f57fe5b600b60009054906101000a900460ff166002811115610f5a57fe5b1415610f695760019050610f6e565b600090505b90565b6000600854905090565b600060016002811115610f8a57fe5b600b60009054906101000a900460ff166002811115610fa557fe5b1415610fb45760019050610fb9565b600090505b90565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561101a57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631821115151561104057600080fd5b600c8381548110151561104f57fe5b906000526020600020900160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156110ba57600080fd5b6001905092915050565b600d5481565b6000600454905090565b600c818154811015156110e357fe5b90600052602060002090016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561117457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156111b057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415156112cd57600080fd5b6112e46007546009546113c490919063ffffffff16565b90508034111515156112f557600080fd5b61134734600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113a690919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508034141561139b57600091506113a0565b600191505b50919050565b60008082840190508381101515156113ba57fe5b8091505092915050565b60008282111515156113d257fe5b818303905092915050565b828054828255906000526020600020908101928215611456579160200282015b828111156114555782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906113fd565b5b5090506114639190611467565b5090565b6114a791905b808211156114a357600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010161146d565b5090565b905600a165627a7a723058203347779edfc3a0f6305b461b9ad27f1a3b65f81a3de0b455a90fee8da7731d530029", - "sourceMap": "184:2223:8:-;;;348:126;;;;;;;;603:10:6;595:5;;:18;;;;;;;;;;;;;;;;;;878::7;869:6;;:27;;;;;;;;;;;;;;;;;;;;;;;;921:1;902:16;:20;;;;937:10;928:6;;:19;;;;;;;;;;;;;;;;;;388:58:8;;;;;;;;;;;;;;;;;;;;;;;:4;:58;;;;;;;;;;;;:::i;:::-;;452:17;;;;;;;;;;;;;;;;;;:7;:17;;;;;;;;;;;;:::i;:::-;;184:2223;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "184:2223:8:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3199:8:7;:6;:8::i;:::-;;184:2223:8;281:19:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1912:106:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2237:168:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;478:806;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;629:20:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2657:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2064:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;330:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2368:97:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;221:20:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1932:301;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2210:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2802:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1710:217:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;278:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2523:85:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;245:29:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;312:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521:7;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521:7;1061:4;1092:17;1082:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1074:36;;;;;;;;1144:9;;1125:15;:28;;1117:37;;;;;;;;1227:11;1212;:26;;1204:35;;;;;;;;1266:1;1254:9;:13;1246:22;;;;;;;;1315:25;1329:10;1315:13;:25::i;:::-;1314:26;1310:114;;;1360:3;1350:7;:13;;;;1380:15;1371:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1403:14;1409:7;;1403:14;;;;;;;;;;;;;;;;;;1310:114;1450:31;1471:9;1450:16;;:20;;:31;;;;:::i;:::-;1431:16;:50;;;;1488:30;1496:10;1508:9;1488:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;1531:4;1524:11;;1019:521;:::o;281:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1912:106::-;1976:4;1995:11;:18;2007:5;1995:18;;;;;;;;;;;;;;;;1988:25;;1912:106;;;:::o;2237:168:8:-;2305:4;748:5:6;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;2336:15:8;2326:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;2318:34;;;;;;;;2380:1;2359:11;:18;2371:5;2359:18;;;;;;;;;;;;;;;:22;;;;2395:4;2388:11;;2237:168;;;:::o;478:806::-;717:4;748:5:6;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;750:18:8;740:28;;;;;;;;:6;;;;;;;;;;;:28;;;;;;;;;732:37;;;;;;;;803:15;784;:34;;776:43;;;;;;;;841:15;829:9;:27;;;;880:13;865:12;:28;;;;;;;;;;;;:::i;:::-;;932:14;924:23;;918:2;:29;900:15;:47;;;;982:11;954:25;:39;;;;1025:9;999:23;:35;;;;1098:25;;1072:23;;1054:15;;:41;:69;;;;;;;;1041:10;:82;;;;1138:7;1146:1;1138:10;;;;;;;;;;;;;1130:5;;:18;;;;;;;;;;;;;;;;;;1180:1;1154:11;:23;1166:7;1174:1;1166:10;;;;;;;;;;;;;1154:23;;;;;;;;;;;;;;;:27;;;;1207:17;1188:16;:36;;;;1240:17;1231:6;;:26;;;;;;;;;;;;;;;;;;;;;;;;1275:4;1268:11;;478:806;;;;;;;;;:::o;629:20:7:-;;;;;;;;;;;;;:::o;2657:81::-;2704:7;2726;;2719:14;;2657:81;:::o;2064:86::-;2113:7;2135:10;;2128:17;;2064:86;:::o;330:21::-;;;;;;;;;;;;;:::o;304:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2368:97::-;2415:7;2437:23;;2430:30;;2368:97;:::o;221:20:8:-;;;;;;;;;;;;;:::o;1932:301::-;1999:7;2036:23;2050:8;2036:9;;:13;;:23;;;;:::i;:::-;2018:15;:41;2014:61;;;2074:1;2067:8;;;;2014:61;2095:5;;;;;;;;;;;2086:14;;:5;:14;;;2082:146;;;2156:10;;2134:11;:18;2146:5;2134:18;;;;;;;;;;;;;;;;2116:15;;:36;2115:51;;;;;;;;2108:58;;;;2082:146;2210:11;:18;2222:5;2210:18;;;;;;;;;;;;;;;;2191:16;;:37;2184:44;;1932:301;;;;:::o;334:20:6:-;;;;;;;;;;;;;:::o;2997:129:7:-;3043:4;3069:15;3059:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3055:48;;;3099:4;3092:11;;;;3055:48;3116:5;3109:12;;2997:129;;:::o;2210:101::-;2259:7;2281:25;;2274:32;;2210:101;:::o;2802:133::-;2850:4;2876:17;2866:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;2862:50;;;2908:4;2901:11;;;;2862:50;2925:5;2918:12;;2802:133;;:::o;1710:217:8:-;1779:4;1814:5;;;;;;;;;;;1800:19;;:10;:19;;;1792:28;;;;;;;;1846:4;:12;;;1835:7;:23;;1827:32;;;;;;;;1866:12;1879:6;1866:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;:29;;:38;1896:7;1866:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1918:4;1911:11;;1710:217;;;;:::o;278:30::-;;;;:::o;2523:85:7:-;2572:7;2594:9;;2587:16;;2523:85;:::o;245:29:8:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;312:31::-;;;;:::o;928:169:6:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;1288:418:8:-;1344:4;1395:15;1378:5;;;;;;;;;;;1369:14;;:5;:14;;;1361:23;;;;;;;;1413:45;1441:16;;1413:23;;:27;;:45;;;;:::i;:::-;1395:63;;1486:7;1473:9;:20;;1465:29;;;;;;;;1526:33;1549:9;1526:11;:18;1538:5;1526:18;;;;;;;;;;;;;;;;:22;;:33;;;;:::i;:::-;1505:11;:18;1517:5;1505:18;;;;;;;;;;;;;;;:54;;;;1652:7;1639:9;:20;1635:44;;;1674:5;1667:12;;;;1635:44;1697:4;1690:11;;1288:418;;;;;:::o;759:128:12:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;646:109::-;703:7;730:1;725;:6;;718:14;;;;;;749:1;745;:5;738:12;;646:109;;;;:::o;184:2223:8:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", + "sourceMap": "184:2223:12:-;;;348:126;;;;;;;;603:10:8;595:5;;:18;;;;;;;;;;;;;;;;;;878::9;869:6;;:27;;;;;;;;;;;;;;;;;;;;;;;;921:1;902:16;:20;;;;937:10;928:6;;:19;;;;;;;;;;;;;;;;;;388:58:12;;;;;;;;;;;;;;;;;;;;;;;:4;:58;;;;;;;;;;;;:::i;:::-;;452:17;;;;;;;;;;;;;;;;;;:7;:17;;;;;;;;;;;;:::i;:::-;;184:2223;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "184:2223:12:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3199:8:9;:6;:8::i;:::-;;184:2223:12;281:19:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1912:106:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2237:168:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;478:806;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;629:20:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2657:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2064:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;330:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2368:97:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;221:20:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1932:301;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:129:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2210:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2802:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1710:217:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;278:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2523:85:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;245:29:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;312:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521:9;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521:9;1061:4;1092:17;1082:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1074:36;;;;;;;;1144:9;;1125:15;:28;;1117:37;;;;;;;;1227:11;1212;:26;;1204:35;;;;;;;;1266:1;1254:9;:13;1246:22;;;;;;;;1315:25;1329:10;1315:13;:25::i;:::-;1314:26;1310:114;;;1360:3;1350:7;:13;;;;1380:15;1371:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1403:14;1409:7;;1403:14;;;;;;;;;;;;;;;;;;1310:114;1450:31;1471:9;1450:16;;:20;;:31;;;;:::i;:::-;1431:16;:50;;;;1488:30;1496:10;1508:9;1488:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;1531:4;1524:11;;1019:521;:::o;281:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1912:106::-;1976:4;1995:11;:18;2007:5;1995:18;;;;;;;;;;;;;;;;1988:25;;1912:106;;;:::o;2237:168:12:-;2305:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;2336:15:12;2326:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;2318:34;;;;;;;;2380:1;2359:11;:18;2371:5;2359:18;;;;;;;;;;;;;;;:22;;;;2395:4;2388:11;;2237:168;;;:::o;478:806::-;717:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;750:18:12;740:28;;;;;;;;:6;;;;;;;;;;;:28;;;;;;;;;732:37;;;;;;;;803:15;784;:34;;776:43;;;;;;;;841:15;829:9;:27;;;;880:13;865:12;:28;;;;;;;;;;;;:::i;:::-;;932:14;924:23;;918:2;:29;900:15;:47;;;;982:11;954:25;:39;;;;1025:9;999:23;:35;;;;1098:25;;1072:23;;1054:15;;:41;:69;;;;;;;;1041:10;:82;;;;1138:7;1146:1;1138:10;;;;;;;;;;;;;1130:5;;:18;;;;;;;;;;;;;;;;;;1180:1;1154:11;:23;1166:7;1174:1;1166:10;;;;;;;;;;;;;1154:23;;;;;;;;;;;;;;;:27;;;;1207:17;1188:16;:36;;;;1240:17;1231:6;;:26;;;;;;;;;;;;;;;;;;;;;;;;1275:4;1268:11;;478:806;;;;;;;;;:::o;629:20:9:-;;;;;;;;;;;;;:::o;2657:81::-;2704:7;2726;;2719:14;;2657:81;:::o;2064:86::-;2113:7;2135:10;;2128:17;;2064:86;:::o;330:21::-;;;;;;;;;;;;;:::o;304:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2368:97::-;2415:7;2437:23;;2430:30;;2368:97;:::o;221:20:12:-;;;;;;;;;;;;;:::o;1932:301::-;1999:7;2036:23;2050:8;2036:9;;:13;;:23;;;;:::i;:::-;2018:15;:41;2014:61;;;2074:1;2067:8;;;;2014:61;2095:5;;;;;;;;;;;2086:14;;:5;:14;;;2082:146;;;2156:10;;2134:11;:18;2146:5;2134:18;;;;;;;;;;;;;;;;2116:15;;:36;2115:51;;;;;;;;2108:58;;;;2082:146;2210:11;:18;2222:5;2210:18;;;;;;;;;;;;;;;;2191:16;;:37;2184:44;;1932:301;;;;:::o;334:20:8:-;;;;;;;;;;;;;:::o;2997:129:9:-;3043:4;3069:15;3059:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3055:48;;;3099:4;3092:11;;;;3055:48;3116:5;3109:12;;2997:129;;:::o;2210:101::-;2259:7;2281:25;;2274:32;;2210:101;:::o;2802:133::-;2850:4;2876:17;2866:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;2862:50;;;2908:4;2901:11;;;;2862:50;2925:5;2918:12;;2802:133;;:::o;1710:217:12:-;1779:4;1814:5;;;;;;;;;;;1800:19;;:10;:19;;;1792:28;;;;;;;;1846:4;:12;;;1835:7;:23;;1827:32;;;;;;;;1866:12;1879:6;1866:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;:29;;:38;1896:7;1866:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1918:4;1911:11;;1710:217;;;;:::o;278:30::-;;;;:::o;2523:85:9:-;2572:7;2594:9;;2587:16;;2523:85;:::o;245:29:12:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;312:31::-;;;;:::o;928:169:8:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;1288:418:12:-;1344:4;1395:15;1378:5;;;;;;;;;;;1369:14;;:5;:14;;;1361:23;;;;;;;;1413:45;1441:16;;1413:23;;:27;;:45;;;;:::i;:::-;1395:63;;1486:7;1473:9;:20;;1465:29;;;;;;;;1526:33;1549:9;1526:11;:18;1538:5;1526:18;;;;;;;;;;;;;;;;:22;;:33;;;;:::i;:::-;1505:11;:18;1517:5;1505:18;;;;;;;;;;;;;;;:54;;;;1652:7;1639:9;:20;1635:44;;;1674:5;1667:12;;;;1635:44;1697:4;1690:11;;1288:418;;;;;:::o;759:128:16:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;646:109::-;703:7;730:1;725;:6;;718:14;;;;;;749:1;745;:5;738:12;;646:109;;;;:::o;184:2223:12:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", "source": "pragma solidity ^0.4.18;\nimport \"../PoD.sol\";\n\n/// @title RICOStandardPoD - RICOStandardPoD contract\n/// @author - Yusaku Senga - \n/// license let's see in LICENSE\n\ncontract RICOStandardPoD is PoD {\n\n address public buyer;\n address[] public marketMakers;\n uint256 public tokenMultiplier;\n uint256 public secondCapOfToken;\n\n function RICOStandardPoD() public {\n name = \"StandardPoD strategy tokenPrice = capToken/capWei\";\n version = \"0.9.3\";\n }\n\n function init(\n uint8 _tokenDecimals, \n uint256 _startTimeOfPoD,\n uint256 _capOfToken, \n uint256 _capOfWei, \n address[2] _owners,\n address[] _marketMakers,\n uint256 _secondCapOfToken\n ) \n public onlyOwner() returns (bool) \n {\n require(status == Status.PoDDeployed);\n\n require(_startTimeOfPoD >= block.timestamp);\n \n startTime = _startTimeOfPoD;\n \n marketMakers = _marketMakers;\n\n tokenMultiplier = 10 ** uint256(_tokenDecimals);\n\n proofOfDonationCapOfToken = _capOfToken;\n proofOfDonationCapOfWei = _capOfWei;\n\n tokenPrice = tokenMultiplier * proofOfDonationCapOfWei / proofOfDonationCapOfToken;\n\n buyer = _owners[0];\n weiBalances[_owners[1]] = 1;\n\n secondCapOfToken = _secondCapOfToken;\n\n status = Status.PoDStarted;\n \n return true;\n }\n\n function processDonate(address _user) internal returns (bool) {\n \n require(_user == buyer);\n \n uint256 remains = proofOfDonationCapOfWei.sub(totalReceivedWei);\n\n require(msg.value <= remains);\n \n weiBalances[_user] = weiBalances[_user].add(msg.value);\n\n //distribute ether to wallet.\n //wallet.transfer(msg.value);\n\n if (msg.value == remains)\n return false;\n \n return true;\n }\n\n function distributeWei(uint _index, uint256 _amount) public returns (bool) {\n\n require(msg.sender == buyer);\n\n require(_amount <= this.balance);\n\n marketMakers[_index].transfer(_amount);\n\n return true;\n }\n\n\n function getBalanceOfToken(address _user) public constant returns (uint256) {\n if (block.timestamp < startTime.add(180 days))\n return 0;\n\n if (_user == buyer)\n return (tokenMultiplier * weiBalances[_user]) / tokenPrice;\n else \n return secondCapOfToken * weiBalances[_user];\n }\n\n function resetWeiBalance(address _user) public onlyOwner() returns (bool) {\n\n require(status == Status.PoDEnded);\n\n weiBalances[_user] = 0;\n\n return true;\n\n }\n}\n", "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/RICOStandardPoD.sol", "ast": { @@ -450,7 +450,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/RICOStandardPoD.sol", "exportedSymbols": { "RICOStandardPoD": [ - 1405 + 3752 ] } }, @@ -464,41 +464,41 @@ ".18" ] }, - "id": 1140, + "id": 3487, "name": "PragmaDirective", - "src": "0:24:8" + "src": "0:24:12" }, { "attributes": { - "SourceUnit": 1139, + "SourceUnit": 2350, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoD.sol", "file": "../PoD.sol", - "scope": 1406, + "scope": 3753, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 1141, + "id": 3488, "name": "ImportDirective", - "src": "25:20:8" + "src": "25:20:12" }, { "attributes": { "contractDependencies": [ - 873, - 1138 + 2084, + 2349 ], "contractKind": "contract", "documentation": "@title RICOStandardPoD - RICOStandardPoD contract\n @author - Yusaku Senga - \n license let's see in LICENSE", "fullyImplemented": true, "linearizedBaseContracts": [ - 1405, - 1138, - 873 + 3752, + 2349, + 2084 ], "name": "RICOStandardPoD", - "scope": 1406 + "scope": 3753 }, "children": [ { @@ -512,23 +512,23 @@ "attributes": { "contractScope": null, "name": "PoD", - "referencedDeclaration": 1138, + "referencedDeclaration": 2349, "type": "contract PoD" }, - "id": 1142, + "id": 3489, "name": "UserDefinedTypeName", - "src": "212:3:8" + "src": "212:3:12" } ], - "id": 1143, + "id": 3490, "name": "InheritanceSpecifier", - "src": "212:3:8" + "src": "212:3:12" }, { "attributes": { "constant": false, "name": "buyer", - "scope": 1405, + "scope": 3752, "stateVariable": true, "storageLocation": "default", "type": "address", @@ -541,20 +541,20 @@ "name": "address", "type": "address" }, - "id": 1144, + "id": 3491, "name": "ElementaryTypeName", - "src": "221:7:8" + "src": "221:7:12" } ], - "id": 1145, + "id": 3492, "name": "VariableDeclaration", - "src": "221:20:8" + "src": "221:20:12" }, { "attributes": { "constant": false, "name": "marketMakers", - "scope": 1405, + "scope": 3752, "stateVariable": true, "storageLocation": "default", "type": "address[] storage ref", @@ -573,25 +573,25 @@ "name": "address", "type": "address" }, - "id": 1146, + "id": 3493, "name": "ElementaryTypeName", - "src": "245:7:8" + "src": "245:7:12" } ], - "id": 1147, + "id": 3494, "name": "ArrayTypeName", - "src": "245:9:8" + "src": "245:9:12" } ], - "id": 1148, + "id": 3495, "name": "VariableDeclaration", - "src": "245:29:8" + "src": "245:29:12" }, { "attributes": { "constant": false, "name": "tokenMultiplier", - "scope": 1405, + "scope": 3752, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -604,20 +604,20 @@ "name": "uint256", "type": "uint256" }, - "id": 1149, + "id": 3496, "name": "ElementaryTypeName", - "src": "278:7:8" + "src": "278:7:12" } ], - "id": 1150, + "id": 3497, "name": "VariableDeclaration", - "src": "278:30:8" + "src": "278:30:12" }, { "attributes": { "constant": false, "name": "secondCapOfToken", - "scope": 1405, + "scope": 3752, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -630,14 +630,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1151, + "id": 3498, "name": "ElementaryTypeName", - "src": "312:7:8" + "src": "312:7:12" } ], - "id": 1152, + "id": 3499, "name": "VariableDeclaration", - "src": "312:31:8" + "src": "312:31:12" }, { "attributes": { @@ -649,7 +649,7 @@ ], "name": "RICOStandardPoD", "payable": false, - "scope": 1405, + "scope": 3752, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -662,9 +662,9 @@ ] }, "children": [], - "id": 1153, + "id": 3500, "name": "ParameterList", - "src": "372:2:8" + "src": "372:2:12" }, { "attributes": { @@ -673,9 +673,9 @@ ] }, "children": [], - "id": 1154, + "id": 3501, "name": "ParameterList", - "src": "382:0:8" + "src": "382:0:12" }, { "children": [ @@ -698,13 +698,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 884, + "referencedDeclaration": 2095, "type": "string storage ref", "value": "name" }, - "id": 1155, + "id": 3502, "name": "Identifier", - "src": "388:4:8" + "src": "388:4:12" }, { "attributes": { @@ -719,19 +719,19 @@ "type": "literal_string \"StandardPoD strategy tokenPrice = capToken/capWei\"", "value": "StandardPoD strategy tokenPrice = capToken/capWei" }, - "id": 1156, + "id": 3503, "name": "Literal", - "src": "395:51:8" + "src": "395:51:12" } ], - "id": 1157, + "id": 3504, "name": "Assignment", - "src": "388:58:8" + "src": "388:58:12" } ], - "id": 1158, + "id": 3505, "name": "ExpressionStatement", - "src": "388:58:8" + "src": "388:58:12" }, { "children": [ @@ -752,13 +752,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 2097, "type": "string storage ref", "value": "version" }, - "id": 1159, + "id": 3506, "name": "Identifier", - "src": "452:7:8" + "src": "452:7:12" }, { "attributes": { @@ -773,29 +773,29 @@ "type": "literal_string \"0.9.3\"", "value": "0.9.3" }, - "id": 1160, + "id": 3507, "name": "Literal", - "src": "462:7:8" + "src": "462:7:12" } ], - "id": 1161, + "id": 3508, "name": "Assignment", - "src": "452:17:8" + "src": "452:17:12" } ], - "id": 1162, + "id": 3509, "name": "ExpressionStatement", - "src": "452:17:8" + "src": "452:17:12" } ], - "id": 1163, + "id": 3510, "name": "Block", - "src": "382:92:8" + "src": "382:92:12" } ], - "id": 1164, + "id": 3511, "name": "FunctionDefinition", - "src": "348:126:8" + "src": "348:126:12" }, { "attributes": { @@ -804,7 +804,7 @@ "isConstructor": false, "name": "init", "payable": false, - "scope": 1405, + "scope": 3752, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -816,7 +816,7 @@ "attributes": { "constant": false, "name": "_tokenDecimals", - "scope": 1260, + "scope": 3607, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -829,20 +829,20 @@ "name": "uint8", "type": "uint8" }, - "id": 1165, + "id": 3512, "name": "ElementaryTypeName", - "src": "497:5:8" + "src": "497:5:12" } ], - "id": 1166, + "id": 3513, "name": "VariableDeclaration", - "src": "497:20:8" + "src": "497:20:12" }, { "attributes": { "constant": false, "name": "_startTimeOfPoD", - "scope": 1260, + "scope": 3607, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -855,20 +855,20 @@ "name": "uint256", "type": "uint256" }, - "id": 1167, + "id": 3514, "name": "ElementaryTypeName", - "src": "524:7:8" + "src": "524:7:12" } ], - "id": 1168, + "id": 3515, "name": "VariableDeclaration", - "src": "524:23:8" + "src": "524:23:12" }, { "attributes": { "constant": false, "name": "_capOfToken", - "scope": 1260, + "scope": 3607, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -881,20 +881,20 @@ "name": "uint256", "type": "uint256" }, - "id": 1169, + "id": 3516, "name": "ElementaryTypeName", - "src": "553:7:8" + "src": "553:7:12" } ], - "id": 1170, + "id": 3517, "name": "VariableDeclaration", - "src": "553:19:8" + "src": "553:19:12" }, { "attributes": { "constant": false, "name": "_capOfWei", - "scope": 1260, + "scope": 3607, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -907,20 +907,20 @@ "name": "uint256", "type": "uint256" }, - "id": 1171, + "id": 3518, "name": "ElementaryTypeName", - "src": "579:7:8" + "src": "579:7:12" } ], - "id": 1172, + "id": 3519, "name": "VariableDeclaration", - "src": "579:17:8" + "src": "579:17:12" }, { "attributes": { "constant": false, "name": "_owners", - "scope": 1260, + "scope": 3607, "stateVariable": false, "storageLocation": "default", "type": "address[2] memory", @@ -938,9 +938,9 @@ "name": "address", "type": "address" }, - "id": 1173, + "id": 3520, "name": "ElementaryTypeName", - "src": "603:7:8" + "src": "603:7:12" }, { "attributes": { @@ -955,25 +955,25 @@ "type": "int_const 2", "value": "2" }, - "id": 1174, + "id": 3521, "name": "Literal", - "src": "611:1:8" + "src": "611:1:12" } ], - "id": 1175, + "id": 3522, "name": "ArrayTypeName", - "src": "603:10:8" + "src": "603:10:12" } ], - "id": 1176, + "id": 3523, "name": "VariableDeclaration", - "src": "603:18:8" + "src": "603:18:12" }, { "attributes": { "constant": false, "name": "_marketMakers", - "scope": 1260, + "scope": 3607, "stateVariable": false, "storageLocation": "default", "type": "address[] memory", @@ -992,25 +992,25 @@ "name": "address", "type": "address" }, - "id": 1177, + "id": 3524, "name": "ElementaryTypeName", - "src": "627:7:8" + "src": "627:7:12" } ], - "id": 1178, + "id": 3525, "name": "ArrayTypeName", - "src": "627:9:8" + "src": "627:9:12" } ], - "id": 1179, + "id": 3526, "name": "VariableDeclaration", - "src": "627:23:8" + "src": "627:23:12" }, { "attributes": { "constant": false, "name": "_secondCapOfToken", - "scope": 1260, + "scope": 3607, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1023,19 +1023,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1180, + "id": 3527, "name": "ElementaryTypeName", - "src": "656:7:8" + "src": "656:7:12" } ], - "id": 1181, + "id": 3528, "name": "VariableDeclaration", - "src": "656:25:8" + "src": "656:25:12" } ], - "id": 1182, + "id": 3529, "name": "ParameterList", - "src": "491:194:8" + "src": "491:194:12" }, { "children": [ @@ -1043,7 +1043,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1260, + "scope": 3607, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1056,19 +1056,19 @@ "name": "bool", "type": "bool" }, - "id": 1185, + "id": 3532, "name": "ElementaryTypeName", - "src": "717:4:8" + "src": "717:4:12" } ], - "id": 1186, + "id": 3533, "name": "VariableDeclaration", - "src": "717:4:8" + "src": "717:4:12" } ], - "id": 1187, + "id": 3534, "name": "ParameterList", - "src": "716:6:8" + "src": "716:6:12" }, { "attributes": { @@ -1083,18 +1083,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 2058, "type": "modifier ()", "value": "onlyOwner" }, - "id": 1183, + "id": 3530, "name": "Identifier", - "src": "696:9:8" + "src": "696:9:12" } ], - "id": 1184, + "id": 3531, "name": "ModifierInvocation", - "src": "696:11:8" + "src": "696:11:12" }, { "children": [ @@ -1126,19 +1126,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1188, + "id": 3535, "name": "Identifier", - "src": "732:7:8" + "src": "732:7:12" }, { "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$908", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -1155,13 +1155,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1189, + "id": 3536, "name": "Identifier", - "src": "740:6:8" + "src": "740:6:12" }, { "attributes": { @@ -1181,33 +1181,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1190, + "id": 3537, "name": "Identifier", - "src": "750:6:8" + "src": "750:6:12" } ], - "id": 1191, + "id": 3538, "name": "MemberAccess", - "src": "750:18:8" + "src": "750:18:12" } ], - "id": 1192, + "id": 3539, "name": "BinaryOperation", - "src": "740:28:8" + "src": "740:28:12" } ], - "id": 1193, + "id": 3540, "name": "FunctionCall", - "src": "732:37:8" + "src": "732:37:12" } ], - "id": 1194, + "id": 3541, "name": "ExpressionStatement", - "src": "732:37:8" + "src": "732:37:12" }, { "children": [ @@ -1237,13 +1237,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1195, + "id": 3542, "name": "Identifier", - "src": "776:7:8" + "src": "776:7:12" }, { "attributes": { @@ -1266,13 +1266,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1168, + "referencedDeclaration": 3515, "type": "uint256", "value": "_startTimeOfPoD" }, - "id": 1196, + "id": 3543, "name": "Identifier", - "src": "784:15:8" + "src": "784:15:12" }, { "attributes": { @@ -1292,33 +1292,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2156, + "referencedDeclaration": 4503, "type": "block", "value": "block" }, - "id": 1197, + "id": 3544, "name": "Identifier", - "src": "803:5:8" + "src": "803:5:12" } ], - "id": 1198, + "id": 3545, "name": "MemberAccess", - "src": "803:15:8" + "src": "803:15:12" } ], - "id": 1199, + "id": 3546, "name": "BinaryOperation", - "src": "784:34:8" + "src": "784:34:12" } ], - "id": 1200, + "id": 3547, "name": "FunctionCall", - "src": "776:43:8" + "src": "776:43:12" } ], - "id": 1201, + "id": 3548, "name": "ExpressionStatement", - "src": "776:43:8" + "src": "776:43:12" }, { "children": [ @@ -1339,13 +1339,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 2101, "type": "uint256", "value": "startTime" }, - "id": 1202, + "id": 3549, "name": "Identifier", - "src": "829:9:8" + "src": "829:9:12" }, { "attributes": { @@ -1353,23 +1353,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1168, + "referencedDeclaration": 3515, "type": "uint256", "value": "_startTimeOfPoD" }, - "id": 1203, + "id": 3550, "name": "Identifier", - "src": "841:15:8" + "src": "841:15:12" } ], - "id": 1204, + "id": 3551, "name": "Assignment", - "src": "829:27:8" + "src": "829:27:12" } ], - "id": 1205, + "id": 3552, "name": "ExpressionStatement", - "src": "829:27:8" + "src": "829:27:12" }, { "children": [ @@ -1390,13 +1390,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1148, + "referencedDeclaration": 3495, "type": "address[] storage ref", "value": "marketMakers" }, - "id": 1206, + "id": 3553, "name": "Identifier", - "src": "865:12:8" + "src": "865:12:12" }, { "attributes": { @@ -1404,23 +1404,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1179, + "referencedDeclaration": 3526, "type": "address[] memory", "value": "_marketMakers" }, - "id": 1207, + "id": 3554, "name": "Identifier", - "src": "880:13:8" + "src": "880:13:12" } ], - "id": 1208, + "id": 3555, "name": "Assignment", - "src": "865:28:8" + "src": "865:28:12" } ], - "id": 1209, + "id": 3556, "name": "ExpressionStatement", - "src": "865:28:8" + "src": "865:28:12" }, { "children": [ @@ -1441,13 +1441,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1150, + "referencedDeclaration": 3497, "type": "uint256", "value": "tokenMultiplier" }, - "id": 1210, + "id": 3557, "name": "Identifier", - "src": "900:15:8" + "src": "900:15:12" }, { "attributes": { @@ -1477,9 +1477,9 @@ "type": "int_const 10", "value": "10" }, - "id": 1211, + "id": 3558, "name": "Literal", - "src": "918:2:8" + "src": "918:2:12" }, { "attributes": { @@ -1511,9 +1511,9 @@ "type": "type(uint256)", "value": "uint256" }, - "id": 1212, + "id": 3559, "name": "ElementaryTypeNameExpression", - "src": "924:7:8" + "src": "924:7:12" }, { "attributes": { @@ -1521,33 +1521,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1166, + "referencedDeclaration": 3513, "type": "uint8", "value": "_tokenDecimals" }, - "id": 1213, + "id": 3560, "name": "Identifier", - "src": "932:14:8" + "src": "932:14:12" } ], - "id": 1214, + "id": 3561, "name": "FunctionCall", - "src": "924:23:8" + "src": "924:23:12" } ], - "id": 1215, + "id": 3562, "name": "BinaryOperation", - "src": "918:29:8" + "src": "918:29:12" } ], - "id": 1216, + "id": 3563, "name": "Assignment", - "src": "900:47:8" + "src": "900:47:12" } ], - "id": 1217, + "id": 3564, "name": "ExpressionStatement", - "src": "900:47:8" + "src": "900:47:12" }, { "children": [ @@ -1568,13 +1568,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 898, + "referencedDeclaration": 2109, "type": "uint256", "value": "proofOfDonationCapOfToken" }, - "id": 1218, + "id": 3565, "name": "Identifier", - "src": "954:25:8" + "src": "954:25:12" }, { "attributes": { @@ -1582,44 +1582,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1170, + "referencedDeclaration": 3517, "type": "uint256", - "value": "_capOfToken", - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "member_name": "PoDStarted" + "value": "_capOfToken" }, - "id": 1219, + "id": 3566, "name": "Identifier", - "src": "982:11:8", - "children": [ - { - "attributes": { - "argumentTypes": null, - "overloadedDeclarations": [ - null - ], - "referencedDeclaration": 90, - "type": "type(enum PoD.Status)", - "value": "Status" - }, - "id": 401, - "name": "Identifier", - "src": "964:6:2" - } - ] + "src": "982:11:12" } ], - "id": 1220, + "id": 3567, "name": "Assignment", - "src": "954:39:8" + "src": "954:39:12" } ], - "id": 1221, + "id": 3568, "name": "ExpressionStatement", - "src": "954:39:8" + "src": "954:39:12" }, { "children": [ @@ -1631,11 +1610,7 @@ "isPure": false, "lValueRequested": false, "operator": "=", - "type": "uint256", - "hexvalue": "74727565", - "subdenomination": null, - "token": "bool", - "value": "true" + "type": "uint256" }, "children": [ { @@ -1644,13 +1619,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 900, + "referencedDeclaration": 2111, "type": "uint256", "value": "proofOfDonationCapOfWei" }, - "id": 1222, + "id": 3569, "name": "Identifier", - "src": "999:23:8" + "src": "999:23:12" }, { "attributes": { @@ -1658,26 +1633,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1172, + "referencedDeclaration": 3519, "type": "uint256", "value": "_capOfWei" }, - "id": 1223, + "id": 3570, "name": "Identifier", - "src": "1025:9:8" + "src": "1025:9:12" } ], - "id": 1224, + "id": 3571, "name": "Assignment", - "src": "999:35:8" + "src": "999:35:12" } ], - "id": 1225, + "id": 3572, "name": "ExpressionStatement", - "src": "999:35:8", - "attributes": { - "functionReturnParameters": 369 - } + "src": "999:35:12" }, { "children": [ @@ -1698,13 +1670,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 894, + "referencedDeclaration": 2105, "type": "uint256", "value": "tokenPrice" }, - "id": 1226, + "id": 3573, "name": "Identifier", - "src": "1041:10:8" + "src": "1041:10:12" }, { "attributes": { @@ -1742,13 +1714,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1150, + "referencedDeclaration": 3497, "type": "uint256", "value": "tokenMultiplier" }, - "id": 1227, + "id": 3574, "name": "Identifier", - "src": "1054:15:8" + "src": "1054:15:12" }, { "attributes": { @@ -1756,18 +1728,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 900, + "referencedDeclaration": 2111, "type": "uint256", "value": "proofOfDonationCapOfWei" }, - "id": 1228, + "id": 3575, "name": "Identifier", - "src": "1072:23:8" + "src": "1072:23:12" } ], - "id": 1229, + "id": 3576, "name": "BinaryOperation", - "src": "1054:41:8" + "src": "1054:41:12" }, { "attributes": { @@ -1775,28 +1747,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 898, + "referencedDeclaration": 2109, "type": "uint256", "value": "proofOfDonationCapOfToken" }, - "id": 1230, + "id": 3577, "name": "Identifier", - "src": "1098:25:8" + "src": "1098:25:12" } ], - "id": 1231, + "id": 3578, "name": "BinaryOperation", - "src": "1054:69:8" + "src": "1054:69:12" } ], - "id": 1232, + "id": 3579, "name": "Assignment", - "src": "1041:82:8" + "src": "1041:82:12" } ], - "id": 1233, + "id": 3580, "name": "ExpressionStatement", - "src": "1041:82:8" + "src": "1041:82:12" }, { "children": [ @@ -1817,13 +1789,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1145, + "referencedDeclaration": 3492, "type": "address", "value": "buyer" }, - "id": 1234, + "id": 3581, "name": "Identifier", - "src": "1130:5:8" + "src": "1130:5:12" }, { "attributes": { @@ -1841,13 +1813,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1176, + "referencedDeclaration": 3523, "type": "address[2] memory", "value": "_owners" }, - "id": 1235, + "id": 3582, "name": "Identifier", - "src": "1138:7:8" + "src": "1138:7:12" }, { "attributes": { @@ -1862,24 +1834,24 @@ "type": "int_const 0", "value": "0" }, - "id": 1236, + "id": 3583, "name": "Literal", - "src": "1146:1:8" + "src": "1146:1:12" } ], - "id": 1237, + "id": 3584, "name": "IndexAccess", - "src": "1138:10:8" + "src": "1138:10:12" } ], - "id": 1238, + "id": 3585, "name": "Assignment", - "src": "1130:18:8" + "src": "1130:18:12" } ], - "id": 1239, + "id": 3586, "name": "ExpressionStatement", - "src": "1130:18:8" + "src": "1130:18:12" }, { "children": [ @@ -1910,13 +1882,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1240, + "id": 3587, "name": "Identifier", - "src": "1154:11:8" + "src": "1154:11:12" }, { "attributes": { @@ -1934,13 +1906,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1176, + "referencedDeclaration": 3523, "type": "address[2] memory", "value": "_owners" }, - "id": 1241, + "id": 3588, "name": "Identifier", - "src": "1166:7:8" + "src": "1166:7:12" }, { "attributes": { @@ -1955,19 +1927,19 @@ "type": "int_const 1", "value": "1" }, - "id": 1242, + "id": 3589, "name": "Literal", - "src": "1174:1:8" + "src": "1174:1:12" } ], - "id": 1243, + "id": 3590, "name": "IndexAccess", - "src": "1166:10:8" + "src": "1166:10:12" } ], - "id": 1244, + "id": 3591, "name": "IndexAccess", - "src": "1154:23:8" + "src": "1154:23:12" }, { "attributes": { @@ -1982,19 +1954,19 @@ "type": "int_const 1", "value": "1" }, - "id": 1245, + "id": 3592, "name": "Literal", - "src": "1180:1:8" + "src": "1180:1:12" } ], - "id": 1246, + "id": 3593, "name": "Assignment", - "src": "1154:27:8" + "src": "1154:27:12" } ], - "id": 1247, + "id": 3594, "name": "ExpressionStatement", - "src": "1154:27:8" + "src": "1154:27:12" }, { "children": [ @@ -2015,13 +1987,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1152, + "referencedDeclaration": 3499, "type": "uint256", "value": "secondCapOfToken" }, - "id": 1248, + "id": 3595, "name": "Identifier", - "src": "1188:16:8" + "src": "1188:16:12" }, { "attributes": { @@ -2029,23 +2001,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1181, + "referencedDeclaration": 3528, "type": "uint256", "value": "_secondCapOfToken" }, - "id": 1249, + "id": 3596, "name": "Identifier", - "src": "1207:17:8" + "src": "1207:17:12" } ], - "id": 1250, + "id": 3597, "name": "Assignment", - "src": "1188:36:8" + "src": "1188:36:12" } ], - "id": 1251, + "id": 3598, "name": "ExpressionStatement", - "src": "1188:36:8" + "src": "1188:36:12" }, { "children": [ @@ -2066,13 +2038,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1252, + "id": 3599, "name": "Identifier", - "src": "1231:6:8" + "src": "1231:6:12" }, { "attributes": { @@ -2092,32 +2064,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1253, + "id": 3600, "name": "Identifier", - "src": "1240:6:8" + "src": "1240:6:12" } ], - "id": 1254, + "id": 3601, "name": "MemberAccess", - "src": "1240:17:8" + "src": "1240:17:12" } ], - "id": 1255, + "id": 3602, "name": "Assignment", - "src": "1231:26:8" + "src": "1231:26:12" } ], - "id": 1256, + "id": 3603, "name": "ExpressionStatement", - "src": "1231:26:8" + "src": "1231:26:12" }, { "attributes": { - "functionReturnParameters": 1187 + "functionReturnParameters": 3534 }, "children": [ { @@ -2133,24 +2105,24 @@ "type": "bool", "value": "true" }, - "id": 1257, + "id": 3604, "name": "Literal", - "src": "1275:4:8" + "src": "1275:4:12" } ], - "id": 1258, + "id": 3605, "name": "Return", - "src": "1268:11:8" + "src": "1268:11:12" } ], - "id": 1259, + "id": 3606, "name": "Block", - "src": "726:558:8" + "src": "726:558:12" } ], - "id": 1260, + "id": 3607, "name": "FunctionDefinition", - "src": "478:806:8" + "src": "478:806:12" }, { "attributes": { @@ -2162,9 +2134,9 @@ ], "name": "processDonate", "payable": false, - "scope": 1405, + "scope": 3752, "stateMutability": "nonpayable", - "superFunction": 1130, + "superFunction": 2341, "visibility": "internal" }, "children": [ @@ -2174,7 +2146,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1309, + "scope": 3656, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -2187,19 +2159,19 @@ "name": "address", "type": "address" }, - "id": 1261, + "id": 3608, "name": "ElementaryTypeName", - "src": "1311:7:8" + "src": "1311:7:12" } ], - "id": 1262, + "id": 3609, "name": "VariableDeclaration", - "src": "1311:13:8" + "src": "1311:13:12" } ], - "id": 1263, + "id": 3610, "name": "ParameterList", - "src": "1310:15:8" + "src": "1310:15:12" }, { "children": [ @@ -2207,7 +2179,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1309, + "scope": 3656, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -2220,19 +2192,19 @@ "name": "bool", "type": "bool" }, - "id": 1264, + "id": 3611, "name": "ElementaryTypeName", - "src": "1344:4:8" + "src": "1344:4:12" } ], - "id": 1265, + "id": 3612, "name": "VariableDeclaration", - "src": "1344:4:8" + "src": "1344:4:12" } ], - "id": 1266, + "id": 3613, "name": "ParameterList", - "src": "1343:6:8" + "src": "1343:6:12" }, { "children": [ @@ -2264,13 +2236,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1267, + "id": 3614, "name": "Identifier", - "src": "1361:7:8" + "src": "1361:7:12" }, { "attributes": { @@ -2293,13 +2265,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 3609, "type": "address", "value": "_user" }, - "id": 1268, + "id": 3615, "name": "Identifier", - "src": "1369:5:8" + "src": "1369:5:12" }, { "attributes": { @@ -2307,33 +2279,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1145, + "referencedDeclaration": 3492, "type": "address", "value": "buyer" }, - "id": 1269, + "id": 3616, "name": "Identifier", - "src": "1378:5:8" + "src": "1378:5:12" } ], - "id": 1270, + "id": 3617, "name": "BinaryOperation", - "src": "1369:14:8" + "src": "1369:14:12" } ], - "id": 1271, + "id": 3618, "name": "FunctionCall", - "src": "1361:23:8" + "src": "1361:23:12" } ], - "id": 1272, + "id": 3619, "name": "ExpressionStatement", - "src": "1361:23:8" + "src": "1361:23:12" }, { "attributes": { "assignments": [ - 1274 + 3621 ] }, "children": [ @@ -2341,7 +2313,7 @@ "attributes": { "constant": false, "name": "remains", - "scope": 1309, + "scope": 3656, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2354,14 +2326,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1273, + "id": 3620, "name": "ElementaryTypeName", - "src": "1395:7:8" + "src": "1395:7:12" } ], - "id": 1274, + "id": 3621, "name": "VariableDeclaration", - "src": "1395:15:8" + "src": "1395:15:12" }, { "attributes": { @@ -2391,7 +2363,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 2127, + "referencedDeclaration": 4474, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2401,18 +2373,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 900, + "referencedDeclaration": 2111, "type": "uint256", "value": "proofOfDonationCapOfWei" }, - "id": 1275, + "id": 3622, "name": "Identifier", - "src": "1413:23:8" + "src": "1413:23:12" } ], - "id": 1276, + "id": 3623, "name": "MemberAccess", - "src": "1413:27:8" + "src": "1413:27:12" }, { "attributes": { @@ -2420,23 +2392,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 896, + "referencedDeclaration": 2107, "type": "uint256", "value": "totalReceivedWei" }, - "id": 1277, + "id": 3624, "name": "Identifier", - "src": "1441:16:8" + "src": "1441:16:12" } ], - "id": 1278, + "id": 3625, "name": "FunctionCall", - "src": "1413:45:8" + "src": "1413:45:12" } ], - "id": 1279, + "id": 3626, "name": "VariableDeclarationStatement", - "src": "1395:63:8" + "src": "1395:63:12" }, { "children": [ @@ -2466,13 +2438,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1280, + "id": 3627, "name": "Identifier", - "src": "1465:7:8" + "src": "1465:7:12" }, { "attributes": { @@ -2507,18 +2479,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1281, + "id": 3628, "name": "Identifier", - "src": "1473:3:8" + "src": "1473:3:12" } ], - "id": 1282, + "id": 3629, "name": "MemberAccess", - "src": "1473:9:8" + "src": "1473:9:12" }, { "attributes": { @@ -2526,28 +2498,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1274, + "referencedDeclaration": 3621, "type": "uint256", "value": "remains" }, - "id": 1283, + "id": 3630, "name": "Identifier", - "src": "1486:7:8" + "src": "1486:7:12" } ], - "id": 1284, + "id": 3631, "name": "BinaryOperation", - "src": "1473:20:8" + "src": "1473:20:12" } ], - "id": 1285, + "id": 3632, "name": "FunctionCall", - "src": "1465:29:8" + "src": "1465:29:12" } ], - "id": 1286, + "id": 3633, "name": "ExpressionStatement", - "src": "1465:29:8" + "src": "1465:29:12" }, { "children": [ @@ -2578,13 +2550,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1287, + "id": 3634, "name": "Identifier", - "src": "1505:11:8" + "src": "1505:11:12" }, { "attributes": { @@ -2592,18 +2564,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 3609, "type": "address", "value": "_user" }, - "id": 1288, + "id": 3635, "name": "Identifier", - "src": "1517:5:8" + "src": "1517:5:12" } ], - "id": 1289, + "id": 3636, "name": "IndexAccess", - "src": "1505:18:8" + "src": "1505:18:12" }, { "attributes": { @@ -2633,7 +2605,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 2151, + "referencedDeclaration": 4498, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2653,13 +2625,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1290, + "id": 3637, "name": "Identifier", - "src": "1526:11:8" + "src": "1526:11:12" }, { "attributes": { @@ -2667,23 +2639,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1262, + "referencedDeclaration": 3609, "type": "address", "value": "_user" }, - "id": 1291, + "id": 3638, "name": "Identifier", - "src": "1538:5:8" + "src": "1538:5:12" } ], - "id": 1292, + "id": 3639, "name": "IndexAccess", - "src": "1526:18:8" + "src": "1526:18:12" } ], - "id": 1293, + "id": 3640, "name": "MemberAccess", - "src": "1526:22:8" + "src": "1526:22:12" }, { "attributes": { @@ -2703,33 +2675,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1294, + "id": 3641, "name": "Identifier", - "src": "1549:3:8" + "src": "1549:3:12" } ], - "id": 1295, + "id": 3642, "name": "MemberAccess", - "src": "1549:9:8" + "src": "1549:9:12" } ], - "id": 1296, + "id": 3643, "name": "FunctionCall", - "src": "1526:33:8" + "src": "1526:33:12" } ], - "id": 1297, + "id": 3644, "name": "Assignment", - "src": "1505:54:8" + "src": "1505:54:12" } ], - "id": 1298, + "id": 3645, "name": "ExpressionStatement", - "src": "1505:54:8" + "src": "1505:54:12" }, { "attributes": { @@ -2769,18 +2741,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1299, + "id": 3646, "name": "Identifier", - "src": "1639:3:8" + "src": "1639:3:12" } ], - "id": 1300, + "id": 3647, "name": "MemberAccess", - "src": "1639:9:8" + "src": "1639:9:12" }, { "attributes": { @@ -2788,22 +2760,22 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1274, + "referencedDeclaration": 3621, "type": "uint256", "value": "remains" }, - "id": 1301, + "id": 3648, "name": "Identifier", - "src": "1652:7:8" + "src": "1652:7:12" } ], - "id": 1302, + "id": 3649, "name": "BinaryOperation", - "src": "1639:20:8" + "src": "1639:20:12" }, { "attributes": { - "functionReturnParameters": 1266 + "functionReturnParameters": 3613 }, "children": [ { @@ -2819,23 +2791,23 @@ "type": "bool", "value": "false" }, - "id": 1303, + "id": 3650, "name": "Literal", - "src": "1674:5:8" + "src": "1674:5:12" } ], - "id": 1304, + "id": 3651, "name": "Return", - "src": "1667:12:8" + "src": "1667:12:12" } ], - "id": 1305, + "id": 3652, "name": "IfStatement", - "src": "1635:44:8" + "src": "1635:44:12" }, { "attributes": { - "functionReturnParameters": 1266 + "functionReturnParameters": 3613 }, "children": [ { @@ -2851,24 +2823,24 @@ "type": "bool", "value": "true" }, - "id": 1306, + "id": 3653, "name": "Literal", - "src": "1697:4:8" + "src": "1697:4:12" } ], - "id": 1307, + "id": 3654, "name": "Return", - "src": "1690:11:8" + "src": "1690:11:12" } ], - "id": 1308, + "id": 3655, "name": "Block", - "src": "1350:356:8" + "src": "1350:356:12" } ], - "id": 1309, + "id": 3656, "name": "FunctionDefinition", - "src": "1288:418:8" + "src": "1288:418:12" }, { "attributes": { @@ -2880,7 +2852,7 @@ ], "name": "distributeWei", "payable": false, - "scope": 1405, + "scope": 3752, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2892,7 +2864,7 @@ "attributes": { "constant": false, "name": "_index", - "scope": 1342, + "scope": 3689, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2905,20 +2877,20 @@ "name": "uint", "type": "uint256" }, - "id": 1310, + "id": 3657, "name": "ElementaryTypeName", - "src": "1733:4:8" + "src": "1733:4:12" } ], - "id": 1311, + "id": 3658, "name": "VariableDeclaration", - "src": "1733:11:8" + "src": "1733:11:12" }, { "attributes": { "constant": false, "name": "_amount", - "scope": 1342, + "scope": 3689, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -2931,19 +2903,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1312, + "id": 3659, "name": "ElementaryTypeName", - "src": "1746:7:8" + "src": "1746:7:12" } ], - "id": 1313, + "id": 3660, "name": "VariableDeclaration", - "src": "1746:15:8" + "src": "1746:15:12" } ], - "id": 1314, + "id": 3661, "name": "ParameterList", - "src": "1732:30:8" + "src": "1732:30:12" }, { "children": [ @@ -2951,7 +2923,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1342, + "scope": 3689, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -2964,19 +2936,19 @@ "name": "bool", "type": "bool" }, - "id": 1315, + "id": 3662, "name": "ElementaryTypeName", - "src": "1779:4:8" + "src": "1779:4:12" } ], - "id": 1316, + "id": 3663, "name": "VariableDeclaration", - "src": "1779:4:8" + "src": "1779:4:12" } ], - "id": 1317, + "id": 3664, "name": "ParameterList", - "src": "1778:6:8" + "src": "1778:6:12" }, { "children": [ @@ -3008,13 +2980,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1318, + "id": 3665, "name": "Identifier", - "src": "1792:7:8" + "src": "1792:7:12" }, { "attributes": { @@ -3049,18 +3021,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1319, + "id": 3666, "name": "Identifier", - "src": "1800:3:8" + "src": "1800:3:12" } ], - "id": 1320, + "id": 3667, "name": "MemberAccess", - "src": "1800:10:8" + "src": "1800:10:12" }, { "attributes": { @@ -3068,28 +3040,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1145, + "referencedDeclaration": 3492, "type": "address", "value": "buyer" }, - "id": 1321, + "id": 3668, "name": "Identifier", - "src": "1814:5:8" + "src": "1814:5:12" } ], - "id": 1322, + "id": 3669, "name": "BinaryOperation", - "src": "1800:19:8" + "src": "1800:19:12" } ], - "id": 1323, + "id": 3670, "name": "FunctionCall", - "src": "1792:28:8" + "src": "1792:28:12" } ], - "id": 1324, + "id": 3671, "name": "ExpressionStatement", - "src": "1792:28:8" + "src": "1792:28:12" }, { "children": [ @@ -3119,13 +3091,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1325, + "id": 3672, "name": "Identifier", - "src": "1827:7:8" + "src": "1827:7:12" }, { "attributes": { @@ -3148,13 +3120,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1313, + "referencedDeclaration": 3660, "type": "uint256", "value": "_amount" }, - "id": 1326, + "id": 3673, "name": "Identifier", - "src": "1835:7:8" + "src": "1835:7:12" }, { "attributes": { @@ -3174,33 +3146,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2193, + "referencedDeclaration": 4540, "type": "contract RICOStandardPoD", "value": "this" }, - "id": 1327, + "id": 3674, "name": "Identifier", - "src": "1846:4:8" + "src": "1846:4:12" } ], - "id": 1328, + "id": 3675, "name": "MemberAccess", - "src": "1846:12:8" + "src": "1846:12:12" } ], - "id": 1329, + "id": 3676, "name": "BinaryOperation", - "src": "1835:23:8" + "src": "1835:23:12" } ], - "id": 1330, + "id": 3677, "name": "FunctionCall", - "src": "1827:32:8" + "src": "1827:32:12" } ], - "id": 1331, + "id": 3678, "name": "ExpressionStatement", - "src": "1827:32:8" + "src": "1827:32:12" }, { "children": [ @@ -3252,13 +3224,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1148, + "referencedDeclaration": 3495, "type": "address[] storage ref", "value": "marketMakers" }, - "id": 1332, + "id": 3679, "name": "Identifier", - "src": "1866:12:8" + "src": "1866:12:12" }, { "attributes": { @@ -3266,23 +3238,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1311, + "referencedDeclaration": 3658, "type": "uint256", "value": "_index" }, - "id": 1333, + "id": 3680, "name": "Identifier", - "src": "1879:6:8" + "src": "1879:6:12" } ], - "id": 1334, + "id": 3681, "name": "IndexAccess", - "src": "1866:20:8" + "src": "1866:20:12" } ], - "id": 1335, + "id": 3682, "name": "MemberAccess", - "src": "1866:29:8" + "src": "1866:29:12" }, { "attributes": { @@ -3290,27 +3262,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1313, + "referencedDeclaration": 3660, "type": "uint256", "value": "_amount" }, - "id": 1336, + "id": 3683, "name": "Identifier", - "src": "1896:7:8" + "src": "1896:7:12" } ], - "id": 1337, + "id": 3684, "name": "FunctionCall", - "src": "1866:38:8" + "src": "1866:38:12" } ], - "id": 1338, + "id": 3685, "name": "ExpressionStatement", - "src": "1866:38:8" + "src": "1866:38:12" }, { "attributes": { - "functionReturnParameters": 1317 + "functionReturnParameters": 3664 }, "children": [ { @@ -3326,24 +3298,24 @@ "type": "bool", "value": "true" }, - "id": 1339, + "id": 3686, "name": "Literal", - "src": "1918:4:8" + "src": "1918:4:12" } ], - "id": 1340, + "id": 3687, "name": "Return", - "src": "1911:11:8" + "src": "1911:11:12" } ], - "id": 1341, + "id": 3688, "name": "Block", - "src": "1785:142:8" + "src": "1785:142:12" } ], - "id": 1342, + "id": 3689, "name": "FunctionDefinition", - "src": "1710:217:8" + "src": "1710:217:12" }, { "attributes": { @@ -3355,9 +3327,9 @@ ], "name": "getBalanceOfToken", "payable": false, - "scope": 1405, + "scope": 3752, "stateMutability": "view", - "superFunction": 1137, + "superFunction": 2348, "visibility": "public" }, "children": [ @@ -3367,7 +3339,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1379, + "scope": 3726, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3380,19 +3352,19 @@ "name": "address", "type": "address" }, - "id": 1343, + "id": 3690, "name": "ElementaryTypeName", - "src": "1959:7:8" + "src": "1959:7:12" } ], - "id": 1344, + "id": 3691, "name": "VariableDeclaration", - "src": "1959:13:8" + "src": "1959:13:12" } ], - "id": 1345, + "id": 3692, "name": "ParameterList", - "src": "1958:15:8" + "src": "1958:15:12" }, { "children": [ @@ -3400,7 +3372,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1379, + "scope": 3726, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3413,19 +3385,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1346, + "id": 3693, "name": "ElementaryTypeName", - "src": "1999:7:8" + "src": "1999:7:12" } ], - "id": 1347, + "id": 3694, "name": "VariableDeclaration", - "src": "1999:7:8" + "src": "1999:7:12" } ], - "id": 1348, + "id": 3695, "name": "ParameterList", - "src": "1998:9:8" + "src": "1998:9:12" }, { "children": [ @@ -3467,18 +3439,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2156, + "referencedDeclaration": 4503, "type": "block", "value": "block" }, - "id": 1349, + "id": 3696, "name": "Identifier", - "src": "2018:5:8" + "src": "2018:5:12" } ], - "id": 1350, + "id": 3697, "name": "MemberAccess", - "src": "2018:15:8" + "src": "2018:15:12" }, { "attributes": { @@ -3508,7 +3480,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 2151, + "referencedDeclaration": 4498, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -3518,18 +3490,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 2101, "type": "uint256", "value": "startTime" }, - "id": 1351, + "id": 3698, "name": "Identifier", - "src": "2036:9:8" + "src": "2036:9:12" } ], - "id": 1352, + "id": 3699, "name": "MemberAccess", - "src": "2036:13:8" + "src": "2036:13:12" }, { "attributes": { @@ -3544,23 +3516,23 @@ "type": "int_const 15552000", "value": "180" }, - "id": 1353, + "id": 3700, "name": "Literal", - "src": "2050:8:8" + "src": "2050:8:12" } ], - "id": 1354, + "id": 3701, "name": "FunctionCall", - "src": "2036:23:8" + "src": "2036:23:12" } ], - "id": 1355, + "id": 3702, "name": "BinaryOperation", - "src": "2018:41:8" + "src": "2018:41:12" }, { "attributes": { - "functionReturnParameters": 1348 + "functionReturnParameters": 3695 }, "children": [ { @@ -3576,19 +3548,19 @@ "type": "int_const 0", "value": "0" }, - "id": 1356, + "id": 3703, "name": "Literal", - "src": "2074:1:8" + "src": "2074:1:12" } ], - "id": 1357, + "id": 3704, "name": "Return", - "src": "2067:8:8" + "src": "2067:8:12" } ], - "id": 1358, + "id": 3705, "name": "IfStatement", - "src": "2014:61:8" + "src": "2014:61:12" }, { "children": [ @@ -3613,13 +3585,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1344, + "referencedDeclaration": 3691, "type": "address", "value": "_user" }, - "id": 1359, + "id": 3706, "name": "Identifier", - "src": "2086:5:8" + "src": "2086:5:12" }, { "attributes": { @@ -3627,22 +3599,22 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1145, + "referencedDeclaration": 3492, "type": "address", "value": "buyer" }, - "id": 1360, + "id": 3707, "name": "Identifier", - "src": "2095:5:8" + "src": "2095:5:12" } ], - "id": 1361, + "id": 3708, "name": "BinaryOperation", - "src": "2086:14:8" + "src": "2086:14:12" }, { "attributes": { - "functionReturnParameters": 1348 + "functionReturnParameters": 3695 }, "children": [ { @@ -3692,13 +3664,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1150, + "referencedDeclaration": 3497, "type": "uint256", "value": "tokenMultiplier" }, - "id": 1362, + "id": 3709, "name": "Identifier", - "src": "2116:15:8" + "src": "2116:15:12" }, { "attributes": { @@ -3716,13 +3688,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1363, + "id": 3710, "name": "Identifier", - "src": "2134:11:8" + "src": "2134:11:12" }, { "attributes": { @@ -3730,28 +3702,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1344, + "referencedDeclaration": 3691, "type": "address", "value": "_user" }, - "id": 1364, + "id": 3711, "name": "Identifier", - "src": "2146:5:8" + "src": "2146:5:12" } ], - "id": 1365, + "id": 3712, "name": "IndexAccess", - "src": "2134:18:8" + "src": "2134:18:12" } ], - "id": 1366, + "id": 3713, "name": "BinaryOperation", - "src": "2116:36:8" + "src": "2116:36:12" } ], - "id": 1367, + "id": 3714, "name": "TupleExpression", - "src": "2115:38:8" + "src": "2115:38:12" }, { "attributes": { @@ -3759,27 +3731,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 894, + "referencedDeclaration": 2105, "type": "uint256", "value": "tokenPrice" }, - "id": 1368, + "id": 3715, "name": "Identifier", - "src": "2156:10:8" + "src": "2156:10:12" } ], - "id": 1369, + "id": 3716, "name": "BinaryOperation", - "src": "2115:51:8" + "src": "2115:51:12" } ], - "id": 1370, + "id": 3717, "name": "Return", - "src": "2108:58:8" + "src": "2108:58:12" }, { "attributes": { - "functionReturnParameters": 1348 + "functionReturnParameters": 3695 }, "children": [ { @@ -3803,13 +3775,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1152, + "referencedDeclaration": 3499, "type": "uint256", "value": "secondCapOfToken" }, - "id": 1371, + "id": 3718, "name": "Identifier", - "src": "2191:16:8" + "src": "2191:16:12" }, { "attributes": { @@ -3827,13 +3799,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1372, + "id": 3719, "name": "Identifier", - "src": "2210:11:8" + "src": "2210:11:12" }, { "attributes": { @@ -3841,43 +3813,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1344, + "referencedDeclaration": 3691, "type": "address", "value": "_user" }, - "id": 1373, + "id": 3720, "name": "Identifier", - "src": "2222:5:8" + "src": "2222:5:12" } ], - "id": 1374, + "id": 3721, "name": "IndexAccess", - "src": "2210:18:8" + "src": "2210:18:12" } ], - "id": 1375, + "id": 3722, "name": "BinaryOperation", - "src": "2191:37:8" + "src": "2191:37:12" } ], - "id": 1376, + "id": 3723, "name": "Return", - "src": "2184:44:8" + "src": "2184:44:12" } ], - "id": 1377, + "id": 3724, "name": "IfStatement", - "src": "2082:146:8" + "src": "2082:146:12" } ], - "id": 1378, + "id": 3725, "name": "Block", - "src": "2008:225:8" + "src": "2008:225:12" } ], - "id": 1379, + "id": 3726, "name": "FunctionDefinition", - "src": "1932:301:8" + "src": "1932:301:12" }, { "attributes": { @@ -3886,9 +3858,9 @@ "isConstructor": false, "name": "resetWeiBalance", "payable": false, - "scope": 1405, + "scope": 3752, "stateMutability": "nonpayable", - "superFunction": 1034, + "superFunction": 2245, "visibility": "public" }, "children": [ @@ -3898,7 +3870,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1404, + "scope": 3751, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3911,19 +3883,19 @@ "name": "address", "type": "address" }, - "id": 1380, + "id": 3727, "name": "ElementaryTypeName", - "src": "2262:7:8" + "src": "2262:7:12" } ], - "id": 1381, + "id": 3728, "name": "VariableDeclaration", - "src": "2262:13:8" + "src": "2262:13:12" } ], - "id": 1382, + "id": 3729, "name": "ParameterList", - "src": "2261:15:8" + "src": "2261:15:12" }, { "children": [ @@ -3931,7 +3903,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1404, + "scope": 3751, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -3944,19 +3916,19 @@ "name": "bool", "type": "bool" }, - "id": 1385, + "id": 3732, "name": "ElementaryTypeName", - "src": "2305:4:8" + "src": "2305:4:12" } ], - "id": 1386, + "id": 3733, "name": "VariableDeclaration", - "src": "2305:4:8" + "src": "2305:4:12" } ], - "id": 1387, + "id": 3734, "name": "ParameterList", - "src": "2304:6:8" + "src": "2304:6:12" }, { "attributes": { @@ -3971,18 +3943,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 2058, "type": "modifier ()", "value": "onlyOwner" }, - "id": 1383, + "id": 3730, "name": "Identifier", - "src": "2284:9:8" + "src": "2284:9:12" } ], - "id": 1384, + "id": 3731, "name": "ModifierInvocation", - "src": "2284:11:8" + "src": "2284:11:12" }, { "children": [ @@ -4014,19 +3986,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1388, + "id": 3735, "name": "Identifier", - "src": "2318:7:8" + "src": "2318:7:12" }, { "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$908", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -4043,13 +4015,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1389, + "id": 3736, "name": "Identifier", - "src": "2326:6:8" + "src": "2326:6:12" }, { "attributes": { @@ -4069,33 +4041,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1390, + "id": 3737, "name": "Identifier", - "src": "2336:6:8" + "src": "2336:6:12" } ], - "id": 1391, + "id": 3738, "name": "MemberAccess", - "src": "2336:15:8" + "src": "2336:15:12" } ], - "id": 1392, + "id": 3739, "name": "BinaryOperation", - "src": "2326:25:8" + "src": "2326:25:12" } ], - "id": 1393, + "id": 3740, "name": "FunctionCall", - "src": "2318:34:8" + "src": "2318:34:12" } ], - "id": 1394, + "id": 3741, "name": "ExpressionStatement", - "src": "2318:34:8" + "src": "2318:34:12" }, { "children": [ @@ -4126,13 +4098,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1395, + "id": 3742, "name": "Identifier", - "src": "2359:11:8" + "src": "2359:11:12" }, { "attributes": { @@ -4140,18 +4112,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1381, + "referencedDeclaration": 3728, "type": "address", "value": "_user" }, - "id": 1396, + "id": 3743, "name": "Identifier", - "src": "2371:5:8" + "src": "2371:5:12" } ], - "id": 1397, + "id": 3744, "name": "IndexAccess", - "src": "2359:18:8" + "src": "2359:18:12" }, { "attributes": { @@ -4166,23 +4138,23 @@ "type": "int_const 0", "value": "0" }, - "id": 1398, + "id": 3745, "name": "Literal", - "src": "2380:1:8" + "src": "2380:1:12" } ], - "id": 1399, + "id": 3746, "name": "Assignment", - "src": "2359:22:8" + "src": "2359:22:12" } ], - "id": 1400, + "id": 3747, "name": "ExpressionStatement", - "src": "2359:22:8" + "src": "2359:22:12" }, { "attributes": { - "functionReturnParameters": 1387 + "functionReturnParameters": 3734 }, "children": [ { @@ -4198,34 +4170,34 @@ "type": "bool", "value": "true" }, - "id": 1401, + "id": 3748, "name": "Literal", - "src": "2395:4:8" + "src": "2395:4:12" } ], - "id": 1402, + "id": 3749, "name": "Return", - "src": "2388:11:8" + "src": "2388:11:12" } ], - "id": 1403, + "id": 3750, "name": "Block", - "src": "2311:94:8" + "src": "2311:94:12" } ], - "id": 1404, + "id": 3751, "name": "FunctionDefinition", - "src": "2237:168:8" + "src": "2237:168:12" } ], - "id": 1405, + "id": 3752, "name": "ContractDefinition", - "src": "184:2223:8" + "src": "184:2223:12" } ], - "id": 1406, + "id": 3753, "name": "SourceUnit", - "src": "0:2408:8" + "src": "0:2408:12" }, "compiler": { "name": "solc", @@ -4233,5 +4205,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T09:25:39.471Z" + "updatedAt": "2018-01-15T16:10:12.652Z" } \ No newline at end of file diff --git a/build/contracts/SafeMath.json b/build/contracts/SafeMath.json index 1bdcd53..ef4b72a 100644 --- a/build/contracts/SafeMath.json +++ b/build/contracts/SafeMath.json @@ -3,8 +3,8 @@ "abi": [], "bytecode": "0x60606040523415600e57600080fd5b603580601b6000396000f3006060604052600080fd00a165627a7a72305820aa8a6b0159570bbe893259f08bb46cd9d9e0fe1d1f7e6836809a0869e72f6f6e0029", "deployedBytecode": "0x6060604052600080fd00a165627a7a72305820aa8a6b0159570bbe893259f08bb46cd9d9e0fe1d1f7e6836809a0869e72f6f6e0029", - "sourceMap": "211:678:12:-;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "211:678:12:-;;;;;", + "sourceMap": "211:678:16:-;;;;;;;;;;;;;;;;;", + "deployedSourceMap": "211:678:16:-;;;;;", "source": "pragma solidity ^0.4.18;\n/**\n * @title SafeMath from https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol\n * @dev Math operations with safety checks that throw on error\n */\n\nlibrary SafeMath {\n function mul(uint256 a, uint256 b) internal pure returns(uint256) {\n uint256 c = a * b;\n assert(a == 0 || 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}", "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/SafeMath.sol", "ast": { @@ -12,7 +12,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/SafeMath.sol", "exportedSymbols": { "SafeMath": [ - 2152 + 4499 ] } }, @@ -26,9 +26,9 @@ ".18" ] }, - "id": 2059, + "id": 4406, "name": "PragmaDirective", - "src": "0:24:12" + "src": "0:24:16" }, { "attributes": { @@ -42,10 +42,10 @@ "documentation": "@title SafeMath from https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol\n@dev Math operations with safety checks that throw on error", "fullyImplemented": true, "linearizedBaseContracts": [ - 2152 + 4499 ], "name": "SafeMath", - "scope": 2153 + "scope": 4500 }, "children": [ { @@ -58,7 +58,7 @@ ], "name": "mul", "payable": false, - "scope": 2152, + "scope": 4499, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -70,7 +70,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 2089, + "scope": 4436, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -83,20 +83,20 @@ "name": "uint256", "type": "uint256" }, - "id": 2060, + "id": 4407, "name": "ElementaryTypeName", - "src": "245:7:12" + "src": "245:7:16" } ], - "id": 2061, + "id": 4408, "name": "VariableDeclaration", - "src": "245:9:12" + "src": "245:9:16" }, { "attributes": { "constant": false, "name": "b", - "scope": 2089, + "scope": 4436, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -109,19 +109,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2062, + "id": 4409, "name": "ElementaryTypeName", - "src": "256:7:12" + "src": "256:7:16" } ], - "id": 2063, + "id": 4410, "name": "VariableDeclaration", - "src": "256:9:12" + "src": "256:9:16" } ], - "id": 2064, + "id": 4411, "name": "ParameterList", - "src": "244:22:12" + "src": "244:22:16" }, { "children": [ @@ -129,7 +129,7 @@ "attributes": { "constant": false, "name": "", - "scope": 2089, + "scope": 4436, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -142,26 +142,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2065, + "id": 4412, "name": "ElementaryTypeName", - "src": "289:7:12" + "src": "289:7:16" } ], - "id": 2066, + "id": 4413, "name": "VariableDeclaration", - "src": "289:7:12" + "src": "289:7:16" } ], - "id": 2067, + "id": 4414, "name": "ParameterList", - "src": "288:9:12" + "src": "288:9:16" }, { "children": [ { "attributes": { "assignments": [ - 2069 + 4416 ] }, "children": [ @@ -169,7 +169,7 @@ "attributes": { "constant": false, "name": "c", - "scope": 2089, + "scope": 4436, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -182,14 +182,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2068, + "id": 4415, "name": "ElementaryTypeName", - "src": "304:7:12" + "src": "304:7:16" } ], - "id": 2069, + "id": 4416, "name": "VariableDeclaration", - "src": "304:9:12" + "src": "304:9:16" }, { "attributes": { @@ -212,13 +212,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2061, + "referencedDeclaration": 4408, "type": "uint256", "value": "a" }, - "id": 2070, + "id": 4417, "name": "Identifier", - "src": "316:1:12" + "src": "316:1:16" }, { "attributes": { @@ -226,23 +226,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2063, + "referencedDeclaration": 4410, "type": "uint256", "value": "b" }, - "id": 2071, + "id": 4418, "name": "Identifier", - "src": "320:1:12" + "src": "320:1:16" } ], - "id": 2072, + "id": 4419, "name": "BinaryOperation", - "src": "316:5:12" + "src": "316:5:16" } ], - "id": 2073, + "id": 4420, "name": "VariableDeclarationStatement", - "src": "304:17:12" + "src": "304:17:16" }, { "children": [ @@ -272,13 +272,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2155, + "referencedDeclaration": 4502, "type": "function (bool) pure", "value": "assert" }, - "id": 2074, + "id": 4421, "name": "Identifier", - "src": "327:6:12" + "src": "327:6:16" }, { "attributes": { @@ -316,13 +316,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2061, + "referencedDeclaration": 4408, "type": "uint256", "value": "a" }, - "id": 2075, + "id": 4422, "name": "Identifier", - "src": "334:1:12" + "src": "334:1:16" }, { "attributes": { @@ -337,14 +337,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2076, + "id": 4423, "name": "Literal", - "src": "339:1:12" + "src": "339:1:16" } ], - "id": 2077, + "id": 4424, "name": "BinaryOperation", - "src": "334:6:12" + "src": "334:6:16" }, { "attributes": { @@ -382,13 +382,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2069, + "referencedDeclaration": 4416, "type": "uint256", "value": "c" }, - "id": 2078, + "id": 4425, "name": "Identifier", - "src": "344:1:12" + "src": "344:1:16" }, { "attributes": { @@ -396,18 +396,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2061, + "referencedDeclaration": 4408, "type": "uint256", "value": "a" }, - "id": 2079, + "id": 4426, "name": "Identifier", - "src": "348:1:12" + "src": "348:1:16" } ], - "id": 2080, + "id": 4427, "name": "BinaryOperation", - "src": "344:5:12" + "src": "344:5:16" }, { "attributes": { @@ -415,37 +415,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2063, + "referencedDeclaration": 4410, "type": "uint256", "value": "b" }, - "id": 2081, + "id": 4428, "name": "Identifier", - "src": "353:1:12" + "src": "353:1:16" } ], - "id": 2082, + "id": 4429, "name": "BinaryOperation", - "src": "344:10:12" + "src": "344:10:16" } ], - "id": 2083, + "id": 4430, "name": "BinaryOperation", - "src": "334:20:12" + "src": "334:20:16" } ], - "id": 2084, + "id": 4431, "name": "FunctionCall", - "src": "327:28:12" + "src": "327:28:16" } ], - "id": 2085, + "id": 4432, "name": "ExpressionStatement", - "src": "327:28:12" + "src": "327:28:16" }, { "attributes": { - "functionReturnParameters": 2067 + "functionReturnParameters": 4414 }, "children": [ { @@ -454,28 +454,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2069, + "referencedDeclaration": 4416, "type": "uint256", "value": "c" }, - "id": 2086, + "id": 4433, "name": "Identifier", - "src": "368:1:12" + "src": "368:1:16" } ], - "id": 2087, + "id": 4434, "name": "Return", - "src": "361:8:12" + "src": "361:8:16" } ], - "id": 2088, + "id": 4435, "name": "Block", - "src": "298:76:12" + "src": "298:76:16" } ], - "id": 2089, + "id": 4436, "name": "FunctionDefinition", - "src": "232:142:12" + "src": "232:142:16" }, { "attributes": { @@ -487,7 +487,7 @@ ], "name": "div", "payable": false, - "scope": 2152, + "scope": 4499, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -499,7 +499,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 2107, + "scope": 4454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -512,20 +512,20 @@ "name": "uint256", "type": "uint256" }, - "id": 2090, + "id": 4437, "name": "ElementaryTypeName", - "src": "391:7:12" + "src": "391:7:16" } ], - "id": 2091, + "id": 4438, "name": "VariableDeclaration", - "src": "391:9:12" + "src": "391:9:16" }, { "attributes": { "constant": false, "name": "b", - "scope": 2107, + "scope": 4454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -538,19 +538,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2092, + "id": 4439, "name": "ElementaryTypeName", - "src": "402:7:12" + "src": "402:7:16" } ], - "id": 2093, + "id": 4440, "name": "VariableDeclaration", - "src": "402:9:12" + "src": "402:9:16" } ], - "id": 2094, + "id": 4441, "name": "ParameterList", - "src": "390:22:12" + "src": "390:22:16" }, { "children": [ @@ -558,7 +558,7 @@ "attributes": { "constant": false, "name": "", - "scope": 2107, + "scope": 4454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -571,26 +571,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2095, + "id": 4442, "name": "ElementaryTypeName", - "src": "435:7:12" + "src": "435:7:16" } ], - "id": 2096, + "id": 4443, "name": "VariableDeclaration", - "src": "435:7:12" + "src": "435:7:16" } ], - "id": 2097, + "id": 4444, "name": "ParameterList", - "src": "434:9:12" + "src": "434:9:16" }, { "children": [ { "attributes": { "assignments": [ - 2099 + 4446 ] }, "children": [ @@ -598,7 +598,7 @@ "attributes": { "constant": false, "name": "c", - "scope": 2107, + "scope": 4454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -611,14 +611,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2098, + "id": 4445, "name": "ElementaryTypeName", - "src": "524:7:12" + "src": "524:7:16" } ], - "id": 2099, + "id": 4446, "name": "VariableDeclaration", - "src": "524:9:12" + "src": "524:9:16" }, { "attributes": { @@ -641,13 +641,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2091, + "referencedDeclaration": 4438, "type": "uint256", "value": "a" }, - "id": 2100, + "id": 4447, "name": "Identifier", - "src": "536:1:12" + "src": "536:1:16" }, { "attributes": { @@ -655,27 +655,27 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2093, + "referencedDeclaration": 4440, "type": "uint256", "value": "b" }, - "id": 2101, + "id": 4448, "name": "Identifier", - "src": "540:1:12" + "src": "540:1:16" } ], - "id": 2102, + "id": 4449, "name": "BinaryOperation", - "src": "536:5:12" + "src": "536:5:16" } ], - "id": 2103, + "id": 4450, "name": "VariableDeclarationStatement", - "src": "524:17:12" + "src": "524:17:16" }, { "attributes": { - "functionReturnParameters": 2097 + "functionReturnParameters": 4444 }, "children": [ { @@ -684,28 +684,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2099, + "referencedDeclaration": 4446, "type": "uint256", "value": "c" }, - "id": 2104, + "id": 4451, "name": "Identifier", - "src": "636:1:12" + "src": "636:1:16" } ], - "id": 2105, + "id": 4452, "name": "Return", - "src": "629:8:12" + "src": "629:8:16" } ], - "id": 2106, + "id": 4453, "name": "Block", - "src": "444:198:12" + "src": "444:198:16" } ], - "id": 2107, + "id": 4454, "name": "FunctionDefinition", - "src": "378:264:12" + "src": "378:264:16" }, { "attributes": { @@ -717,7 +717,7 @@ ], "name": "sub", "payable": false, - "scope": 2152, + "scope": 4499, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -729,7 +729,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 2127, + "scope": 4474, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -742,20 +742,20 @@ "name": "uint256", "type": "uint256" }, - "id": 2108, + "id": 4455, "name": "ElementaryTypeName", - "src": "659:7:12" + "src": "659:7:16" } ], - "id": 2109, + "id": 4456, "name": "VariableDeclaration", - "src": "659:9:12" + "src": "659:9:16" }, { "attributes": { "constant": false, "name": "b", - "scope": 2127, + "scope": 4474, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -768,19 +768,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2110, + "id": 4457, "name": "ElementaryTypeName", - "src": "670:7:12" + "src": "670:7:16" } ], - "id": 2111, + "id": 4458, "name": "VariableDeclaration", - "src": "670:9:12" + "src": "670:9:16" } ], - "id": 2112, + "id": 4459, "name": "ParameterList", - "src": "658:22:12" + "src": "658:22:16" }, { "children": [ @@ -788,7 +788,7 @@ "attributes": { "constant": false, "name": "", - "scope": 2127, + "scope": 4474, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -801,19 +801,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2113, + "id": 4460, "name": "ElementaryTypeName", - "src": "703:7:12" + "src": "703:7:16" } ], - "id": 2114, + "id": 4461, "name": "VariableDeclaration", - "src": "703:7:12" + "src": "703:7:16" } ], - "id": 2115, + "id": 4462, "name": "ParameterList", - "src": "702:9:12" + "src": "702:9:16" }, { "children": [ @@ -845,13 +845,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2155, + "referencedDeclaration": 4502, "type": "function (bool) pure", "value": "assert" }, - "id": 2116, + "id": 4463, "name": "Identifier", - "src": "718:6:12" + "src": "718:6:16" }, { "attributes": { @@ -874,13 +874,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2111, + "referencedDeclaration": 4458, "type": "uint256", "value": "b" }, - "id": 2117, + "id": 4464, "name": "Identifier", - "src": "725:1:12" + "src": "725:1:16" }, { "attributes": { @@ -888,32 +888,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2109, + "referencedDeclaration": 4456, "type": "uint256", "value": "a" }, - "id": 2118, + "id": 4465, "name": "Identifier", - "src": "730:1:12" + "src": "730:1:16" } ], - "id": 2119, + "id": 4466, "name": "BinaryOperation", - "src": "725:6:12" + "src": "725:6:16" } ], - "id": 2120, + "id": 4467, "name": "FunctionCall", - "src": "718:14:12" + "src": "718:14:16" } ], - "id": 2121, + "id": 4468, "name": "ExpressionStatement", - "src": "718:14:12" + "src": "718:14:16" }, { "attributes": { - "functionReturnParameters": 2115 + "functionReturnParameters": 4462 }, "children": [ { @@ -937,13 +937,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2109, + "referencedDeclaration": 4456, "type": "uint256", "value": "a" }, - "id": 2122, + "id": 4469, "name": "Identifier", - "src": "745:1:12" + "src": "745:1:16" }, { "attributes": { @@ -951,33 +951,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2111, + "referencedDeclaration": 4458, "type": "uint256", "value": "b" }, - "id": 2123, + "id": 4470, "name": "Identifier", - "src": "749:1:12" + "src": "749:1:16" } ], - "id": 2124, + "id": 4471, "name": "BinaryOperation", - "src": "745:5:12" + "src": "745:5:16" } ], - "id": 2125, + "id": 4472, "name": "Return", - "src": "738:12:12" + "src": "738:12:16" } ], - "id": 2126, + "id": 4473, "name": "Block", - "src": "712:43:12" + "src": "712:43:16" } ], - "id": 2127, + "id": 4474, "name": "FunctionDefinition", - "src": "646:109:12" + "src": "646:109:16" }, { "attributes": { @@ -989,7 +989,7 @@ ], "name": "add", "payable": false, - "scope": 2152, + "scope": 4499, "stateMutability": "pure", "superFunction": null, "visibility": "internal" @@ -1001,7 +1001,7 @@ "attributes": { "constant": false, "name": "a", - "scope": 2151, + "scope": 4498, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1014,20 +1014,20 @@ "name": "uint256", "type": "uint256" }, - "id": 2128, + "id": 4475, "name": "ElementaryTypeName", - "src": "772:7:12" + "src": "772:7:16" } ], - "id": 2129, + "id": 4476, "name": "VariableDeclaration", - "src": "772:9:12" + "src": "772:9:16" }, { "attributes": { "constant": false, "name": "b", - "scope": 2151, + "scope": 4498, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1040,19 +1040,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2130, + "id": 4477, "name": "ElementaryTypeName", - "src": "783:7:12" + "src": "783:7:16" } ], - "id": 2131, + "id": 4478, "name": "VariableDeclaration", - "src": "783:9:12" + "src": "783:9:16" } ], - "id": 2132, + "id": 4479, "name": "ParameterList", - "src": "771:22:12" + "src": "771:22:16" }, { "children": [ @@ -1060,7 +1060,7 @@ "attributes": { "constant": false, "name": "", - "scope": 2151, + "scope": 4498, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1073,26 +1073,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2133, + "id": 4480, "name": "ElementaryTypeName", - "src": "816:7:12" + "src": "816:7:16" } ], - "id": 2134, + "id": 4481, "name": "VariableDeclaration", - "src": "816:7:12" + "src": "816:7:16" } ], - "id": 2135, + "id": 4482, "name": "ParameterList", - "src": "815:9:12" + "src": "815:9:16" }, { "children": [ { "attributes": { "assignments": [ - 2137 + 4484 ] }, "children": [ @@ -1100,7 +1100,7 @@ "attributes": { "constant": false, "name": "c", - "scope": 2151, + "scope": 4498, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1113,14 +1113,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2136, + "id": 4483, "name": "ElementaryTypeName", - "src": "831:7:12" + "src": "831:7:16" } ], - "id": 2137, + "id": 4484, "name": "VariableDeclaration", - "src": "831:9:12" + "src": "831:9:16" }, { "attributes": { @@ -1143,13 +1143,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2129, + "referencedDeclaration": 4476, "type": "uint256", "value": "a" }, - "id": 2138, + "id": 4485, "name": "Identifier", - "src": "843:1:12" + "src": "843:1:16" }, { "attributes": { @@ -1157,23 +1157,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2131, + "referencedDeclaration": 4478, "type": "uint256", "value": "b" }, - "id": 2139, + "id": 4486, "name": "Identifier", - "src": "847:1:12" + "src": "847:1:16" } ], - "id": 2140, + "id": 4487, "name": "BinaryOperation", - "src": "843:5:12" + "src": "843:5:16" } ], - "id": 2141, + "id": 4488, "name": "VariableDeclarationStatement", - "src": "831:17:12" + "src": "831:17:16" }, { "children": [ @@ -1203,13 +1203,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2155, + "referencedDeclaration": 4502, "type": "function (bool) pure", "value": "assert" }, - "id": 2142, + "id": 4489, "name": "Identifier", - "src": "854:6:12" + "src": "854:6:16" }, { "attributes": { @@ -1232,13 +1232,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2137, + "referencedDeclaration": 4484, "type": "uint256", "value": "c" }, - "id": 2143, + "id": 4490, "name": "Identifier", - "src": "861:1:12" + "src": "861:1:16" }, { "attributes": { @@ -1246,32 +1246,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2129, + "referencedDeclaration": 4476, "type": "uint256", "value": "a" }, - "id": 2144, + "id": 4491, "name": "Identifier", - "src": "866:1:12" + "src": "866:1:16" } ], - "id": 2145, + "id": 4492, "name": "BinaryOperation", - "src": "861:6:12" + "src": "861:6:16" } ], - "id": 2146, + "id": 4493, "name": "FunctionCall", - "src": "854:14:12" + "src": "854:14:16" } ], - "id": 2147, + "id": 4494, "name": "ExpressionStatement", - "src": "854:14:12" + "src": "854:14:16" }, { "attributes": { - "functionReturnParameters": 2135 + "functionReturnParameters": 4482 }, "children": [ { @@ -1280,38 +1280,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2137, + "referencedDeclaration": 4484, "type": "uint256", "value": "c" }, - "id": 2148, + "id": 4495, "name": "Identifier", - "src": "881:1:12" + "src": "881:1:16" } ], - "id": 2149, + "id": 4496, "name": "Return", - "src": "874:8:12" + "src": "874:8:16" } ], - "id": 2150, + "id": 4497, "name": "Block", - "src": "825:62:12" + "src": "825:62:16" } ], - "id": 2151, + "id": 4498, "name": "FunctionDefinition", - "src": "759:128:12" + "src": "759:128:16" } ], - "id": 2152, + "id": 4499, "name": "ContractDefinition", - "src": "211:678:12" + "src": "211:678:16" } ], - "id": 2153, + "id": 4500, "name": "SourceUnit", - "src": "0:889:12" + "src": "0:889:16" }, "compiler": { "name": "solc", @@ -1319,5 +1319,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T09:25:39.484Z" + "updatedAt": "2018-01-15T16:10:12.657Z" } \ No newline at end of file diff --git a/build/contracts/SimplePoD.json b/build/contracts/SimplePoD.json index 51b36b8..fcfb0ab 100644 --- a/build/contracts/SimplePoD.json +++ b/build/contracts/SimplePoD.json @@ -386,8 +386,8 @@ ], "bytecode": "0x606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280603081526020017f53696d706c65506f4420737472617465677920746f6b656e207072696365203d81526020017f20636170546f6b656e2f63617057656900000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b6110fe80620002466000396000f30060606040526004361061011d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461012857806309fc93c1146101b6578063112ed3f514610203578063200d2ed214610254578063439f5ac21461028b5780634b94f50e146102b45780634bb278f3146102dd578063521eb273146102f257806354fd4d50146103475780636ccce7a8146103d557806383786f8c146103fe5780638da5cb5b1461044b5780638f85f92c146104a057806397722acf146104cd5780639b3dfce0146104f6578063ba3f5a1214610523578063c7d365b01461054c578063c828371e146105c4578063ed88c68e146105ed578063ef78d4fd1461060f578063f2fde38b14610638575b610125610671565b50005b341561013357600080fd5b61013b6107dc565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561017b578082015181840152602081019050610160565b50505050905090810190601f1680156101a85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c157600080fd5b6101ed600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061087a565b6040518082815260200191505060405180910390f35b341561020e57600080fd5b61023a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108c3565b604051808215151515815260200191505060405180910390f35b341561025f57600080fd5b6102676109a1565b6040518082600281111561027757fe5b60ff16815260200191505060405180910390f35b341561029657600080fd5b61029e6109b4565b6040518082815260200191505060405180910390f35b34156102bf57600080fd5b6102c76109be565b6040518082815260200191505060405180910390f35b34156102e857600080fd5b6102f06109c8565b005b34156102fd57600080fd5b610305610a86565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561035257600080fd5b61035a610aac565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561039a57808201518184015260208101905061037f565b50505050905090810190601f1680156103c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103e057600080fd5b6103e8610b4a565b6040518082815260200191505060405180910390f35b341561040957600080fd5b610435600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b54565b6040518082815260200191505060405180910390f35b341561045657600080fd5b61045e610bae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104ab57600080fd5b6104b3610bd3565b604051808215151515815260200191505060405180910390f35b34156104d857600080fd5b6104e0610c13565b6040518082815260200191505060405180910390f35b341561050157600080fd5b610509610c1d565b604051808215151515815260200191505060405180910390f35b341561052e57600080fd5b610536610c5e565b6040518082815260200191505060405180910390f35b341561055757600080fd5b6105aa600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff16906020019091908035906020019091908035906020019091908035906020019091905050610c64565b604051808215151515815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610dd3565b6040518082815260200191505060405180910390f35b6105f5610671565b604051808215151515815260200191505060405180910390f35b341561061a57600080fd5b610622610ddd565b6040518082815260200191505060405180910390f35b341561064357600080fd5b61066f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de3565b005b60006001600281111561068057fe5b600b60009054906101000a900460ff16600281111561069b57fe5b1415156106a757600080fd5b60045442101515156106b857600080fd5b6412a05f20003a111515156106cc57600080fd5b6000341115156106db57600080fd5b6106e433610f38565b151561074f57426005819055506002600b60006101000a81548160ff0219169083600281111561071057fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6107643460075461109b90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561092057600080fd5b60028081111561092c57fe5b600b60009054906101000a900460ff16600281111561094757fe5b14151561095357600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600160028111156109d557fe5b600b60009054906101000a900460ff1660028111156109f057fe5b1415156109fc57600080fd5b610a13600d5460045461109b90919063ffffffff16565b42111515610a2057600080fd5b426005819055506002600b60006101000a81548160ff02191690836002811115610a4657fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a1565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b425780601f10610b1757610100808354040283529160200191610b42565b820191906000526020600020905b815481529060010190602001808311610b2557829003601f168201915b505050505081565b6000600954905090565b6000600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c5402811515610ba657fe5b049050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610be157fe5b600b60009054906101000a900460ff166002811115610bfc57fe5b1415610c0b5760019050610c10565b600090505b90565b6000600854905090565b600060016002811115610c2c57fe5b600b60009054906101000a900460ff166002811115610c4757fe5b1415610c565760019050610c5b565b600090505b90565b600c5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cc157600080fd5b60006002811115610cce57fe5b600b60009054906101000a900460ff166002811115610ce957fe5b141515610cf557600080fd5b60008673ffffffffffffffffffffffffffffffffffffffff1614151515610d1b57600080fd5b8360048190555085600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460ff16600a0a600c819055508260088190555081600981905550600854600954600c5402811515610d9157fe5b0460068190555062093a80600d819055506001600b60006101000a81548160ff02191690836002811115610dc157fe5b02179055506001905095945050505050565b6000600454905090565b600d5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e3e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610e7a57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080610f52600d5460045461109b90919063ffffffff16565b4211151515610f6057600080fd5b610f776007546009546110b990919063ffffffff16565b9050803411151515610f8857600080fd5b610fda34600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461109b90919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050151561107f57600080fd5b803414156110905760009150611095565b600191505b50919050565b60008082840190508381101515156110af57fe5b8091505092915050565b60008282111515156110c757fe5b8183039050929150505600a165627a7a72305820286bab54ee7ba2808756c1d2ea20abd991c2acaafbff9a9d674aee41381982d70029", "deployedBytecode": "0x60606040526004361061011d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461012857806309fc93c1146101b6578063112ed3f514610203578063200d2ed214610254578063439f5ac21461028b5780634b94f50e146102b45780634bb278f3146102dd578063521eb273146102f257806354fd4d50146103475780636ccce7a8146103d557806383786f8c146103fe5780638da5cb5b1461044b5780638f85f92c146104a057806397722acf146104cd5780639b3dfce0146104f6578063ba3f5a1214610523578063c7d365b01461054c578063c828371e146105c4578063ed88c68e146105ed578063ef78d4fd1461060f578063f2fde38b14610638575b610125610671565b50005b341561013357600080fd5b61013b6107dc565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561017b578082015181840152602081019050610160565b50505050905090810190601f1680156101a85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c157600080fd5b6101ed600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061087a565b6040518082815260200191505060405180910390f35b341561020e57600080fd5b61023a600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506108c3565b604051808215151515815260200191505060405180910390f35b341561025f57600080fd5b6102676109a1565b6040518082600281111561027757fe5b60ff16815260200191505060405180910390f35b341561029657600080fd5b61029e6109b4565b6040518082815260200191505060405180910390f35b34156102bf57600080fd5b6102c76109be565b6040518082815260200191505060405180910390f35b34156102e857600080fd5b6102f06109c8565b005b34156102fd57600080fd5b610305610a86565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561035257600080fd5b61035a610aac565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561039a57808201518184015260208101905061037f565b50505050905090810190601f1680156103c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103e057600080fd5b6103e8610b4a565b6040518082815260200191505060405180910390f35b341561040957600080fd5b610435600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b54565b6040518082815260200191505060405180910390f35b341561045657600080fd5b61045e610bae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104ab57600080fd5b6104b3610bd3565b604051808215151515815260200191505060405180910390f35b34156104d857600080fd5b6104e0610c13565b6040518082815260200191505060405180910390f35b341561050157600080fd5b610509610c1d565b604051808215151515815260200191505060405180910390f35b341561052e57600080fd5b610536610c5e565b6040518082815260200191505060405180910390f35b341561055757600080fd5b6105aa600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff16906020019091908035906020019091908035906020019091908035906020019091905050610c64565b604051808215151515815260200191505060405180910390f35b34156105cf57600080fd5b6105d7610dd3565b6040518082815260200191505060405180910390f35b6105f5610671565b604051808215151515815260200191505060405180910390f35b341561061a57600080fd5b610622610ddd565b6040518082815260200191505060405180910390f35b341561064357600080fd5b61066f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610de3565b005b60006001600281111561068057fe5b600b60009054906101000a900460ff16600281111561069b57fe5b1415156106a757600080fd5b60045442101515156106b857600080fd5b6412a05f20003a111515156106cc57600080fd5b6000341115156106db57600080fd5b6106e433610f38565b151561074f57426005819055506002600b60006101000a81548160ff0219169083600281111561071057fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b6107643460075461109b90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561092057600080fd5b60028081111561092c57fe5b600b60009054906101000a900460ff16600281111561094757fe5b14151561095357600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b600160028111156109d557fe5b600b60009054906101000a900460ff1660028111156109f057fe5b1415156109fc57600080fd5b610a13600d5460045461109b90919063ffffffff16565b42111515610a2057600080fd5b426005819055506002600b60006101000a81548160ff02191690836002811115610a4657fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a1565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b425780601f10610b1757610100808354040283529160200191610b42565b820191906000526020600020905b815481529060010190602001808311610b2557829003601f168201915b505050505081565b6000600954905090565b6000600654600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c5402811515610ba657fe5b049050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610be157fe5b600b60009054906101000a900460ff166002811115610bfc57fe5b1415610c0b5760019050610c10565b600090505b90565b6000600854905090565b600060016002811115610c2c57fe5b600b60009054906101000a900460ff166002811115610c4757fe5b1415610c565760019050610c5b565b600090505b90565b600c5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cc157600080fd5b60006002811115610cce57fe5b600b60009054906101000a900460ff166002811115610ce957fe5b141515610cf557600080fd5b60008673ffffffffffffffffffffffffffffffffffffffff1614151515610d1b57600080fd5b8360048190555085600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460ff16600a0a600c819055508260088190555081600981905550600854600954600c5402811515610d9157fe5b0460068190555062093a80600d819055506001600b60006101000a81548160ff02191690836002811115610dc157fe5b02179055506001905095945050505050565b6000600454905090565b600d5481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e3e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610e7a57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080610f52600d5460045461109b90919063ffffffff16565b4211151515610f6057600080fd5b610f776007546009546110b990919063ffffffff16565b9050803411151515610f8857600080fd5b610fda34600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461109b90919063ffffffff16565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050151561107f57600080fd5b803414156110905760009150611095565b600191505b50919050565b60008082840190508381101515156110af57fe5b8091505092915050565b60008282111515156110c757fe5b8183039050929150505600a165627a7a72305820286bab54ee7ba2808756c1d2ea20abd991c2acaafbff9a9d674aee41381982d70029", - "sourceMap": "172:1588:9:-;;;263:119;;;;;;;;603:10:6;595:5;;:18;;;;;;;;;;;;;;;;;;878::7;869:6;;:27;;;;;;;;;;;;;;;;;;;;;;;;921:1;902:16;:20;;;;937:10;928:6;;:19;;;;;;;;;;;;;;;;;;297:57:9;;;;;;;;;;;;;;;;;;;;;;;:4;:57;;;;;;;;;;;;:::i;:::-;;360:17;;;;;;;;;;;;;;;;;;:7;:17;;;;;;;;;;;;:::i;:::-;;172:1588;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "172:1588:9:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3199:8:7;:6;:8::i;:::-;;172:1588:9;281:19:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1912:106:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1653:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;629:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2657:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2064:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1407:202:9;;;;;;;;;;;;;;330:21:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2368:97:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1613:145:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2210:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2802:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;203:30:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;386:613;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2523:85:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521;;;;;;;;;;;;;;;;;;;;;;;;;;;237:21:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521:7;1061:4;1092:17;1082:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1074:36;;;;;;;;1144:9;;1125:15;:28;;1117:37;;;;;;;;1227:11;1212;:26;;1204:35;;;;;;;;1266:1;1254:9;:13;1246:22;;;;;;;;1315:25;1329:10;1315:13;:25::i;:::-;1314:26;1310:114;;;1360:3;1350:7;:13;;;;1380:15;1371:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1403:14;1409:7;;1403:14;;;;;;;;;;;;;;;;;;1310:114;1450:31;1471:9;1450:16;;:20;;:31;;;;:::i;:::-;1431:16;:50;;;;1488:30;1496:10;1508:9;1488:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;1531:4;1524:11;;1019:521;:::o;281:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1912:106::-;1976:4;1995:11;:18;2007:5;1995:18;;;;;;;;;;;;;;;;1988:25;;1912:106;;;:::o;1653:202::-;1721:4;748:5:6;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1752:15:7;1742:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;1734:34;;;;;;;;1830:1;1809:11;:18;1821:5;1809:18;;;;;;;;;;;;;;;:22;;;;1845:4;1838:11;;1653:202;;;:::o;629:20::-;;;;;;;;;;;;;:::o;2657:81::-;2704:7;2726;;2719:14;;2657:81;:::o;2064:86::-;2113:7;2135:10;;2128:17;;2064:86;:::o;1407:202:9:-;1459:17;1449:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1441:36;;;;;;;;1510:21;1524:6;;1510:9;;:13;;:21;;;;:::i;:::-;1492:15;:39;1484:48;;;;;;;;1549:3;1539:7;:13;;;;1568:15;1559:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1590:14;1596:7;;1590:14;;;;;;;;;;;;;;;;;;1407:202::o;330:21:7:-;;;;;;;;;;;;;:::o;304:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2368:97::-;2415:7;2437:23;;2430:30;;2368:97;:::o;1613:145:9:-;1680:7;1743:10;;1721:11;:18;1733:5;1721:18;;;;;;;;;;;;;;;;1703:15;;:36;1702:51;;;;;;;;1695:58;;1613:145;;;:::o;334:20:6:-;;;;;;;;;;;;;:::o;2997:129:7:-;3043:4;3069:15;3059:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3055:48;;;3099:4;3092:11;;;;3055:48;3116:5;3109:12;;2997:129;;:::o;2210:101::-;2259:7;2281:25;;2274:32;;2210:101;:::o;2802:133::-;2850:4;2876:17;2866:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;2862:50;;;2908:4;2901:11;;;;2862:50;2925:5;2918:12;;2802:133;;:::o;203:30:9:-;;;;:::o;386:613::-;561:4;748:5:6;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;594:18:9;584:28;;;;;;;;:6;;;;;;;;;;;:28;;;;;;;;;576:37;;;;;;;;638:3;627:7;:14;;;;619:23;;;;;;;;660:15;648:9;:27;;;;690:7;681:6;;:16;;;;;;;;;;;;;;;;;;735:14;727:23;;721:2;:29;703:15;:47;;;;784:11;756:25;:39;;;;827:9;801:23;:35;;;;899:25;;873:23;;855:15;;:41;:69;;;;;;;;842:10;:82;;;;939:6;930;:15;;;;960:17;951:6;;:26;;;;;;;;;;;;;;;;;;;;;;;;990:4;983:11;;386:613;;;;;;;:::o;2523:85:7:-;2572:7;2594:9;;2587:16;;2523:85;:::o;237:21:9:-;;;;:::o;928:169:6:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;1003:400:9:-;1059:4;1128:15;1099:21;1113:6;;1099:9;;:13;;:21;;;;:::i;:::-;1080:15;:40;;1072:49;;;;;;;;1146:45;1174:16;;1146:23;;:27;;:45;;;;:::i;:::-;1128:63;;1219:7;1206:9;:20;;1198:29;;;;;;;;1259:33;1282:9;1259:11;:18;1271:5;1259:18;;;;;;;;;;;;;;;;:22;;:33;;;;:::i;:::-;1238:11;:18;1250:5;1238:18;;;;;;;;;;;;;;;:54;;;;1299:6;;;;;;;;;;;:15;;:26;1315:9;1299:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1349:7;1336:9;:20;1332:44;;;1371:5;1364:12;;;;1332:44;1394:4;1387:11;;1003:400;;;;;:::o;759:128:12:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;646:109::-;703:7;730:1;725;:6;;718:14;;;;;;749:1;745;:5;738:12;;646:109;;;;:::o", + "sourceMap": "172:1588:13:-;;;263:119;;;;;;;;603:10:8;595:5;;:18;;;;;;;;;;;;;;;;;;878::9;869:6;;:27;;;;;;;;;;;;;;;;;;;;;;;;921:1;902:16;:20;;;;937:10;928:6;;:19;;;;;;;;;;;;;;;;;;297:57:13;;;;;;;;;;;;;;;;;;;;;;;:4;:57;;;;;;;;;;;;:::i;:::-;;360:17;;;;;;;;;;;;;;;;;;:7;:17;;;;;;;;;;;;:::i;:::-;;172:1588;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "172:1588:13:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3199:8:9;:6;:8::i;:::-;;172:1588:13;281:19:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1912:106:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1653:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;629:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2657:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2064:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1407:202:13;;;;;;;;;;;;;;330:21:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2368:97:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1613:145:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:129:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2210:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2802:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;203:30:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;386:613;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2523:85:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521;;;;;;;;;;;;;;;;;;;;;;;;;;;237:21:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521:9;1061:4;1092:17;1082:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1074:36;;;;;;;;1144:9;;1125:15;:28;;1117:37;;;;;;;;1227:11;1212;:26;;1204:35;;;;;;;;1266:1;1254:9;:13;1246:22;;;;;;;;1315:25;1329:10;1315:13;:25::i;:::-;1314:26;1310:114;;;1360:3;1350:7;:13;;;;1380:15;1371:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1403:14;1409:7;;1403:14;;;;;;;;;;;;;;;;;;1310:114;1450:31;1471:9;1450:16;;:20;;:31;;;;:::i;:::-;1431:16;:50;;;;1488:30;1496:10;1508:9;1488:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;1531:4;1524:11;;1019:521;:::o;281:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1912:106::-;1976:4;1995:11;:18;2007:5;1995:18;;;;;;;;;;;;;;;;1988:25;;1912:106;;;:::o;1653:202::-;1721:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1752:15:9;1742:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;1734:34;;;;;;;;1830:1;1809:11;:18;1821:5;1809:18;;;;;;;;;;;;;;;:22;;;;1845:4;1838:11;;1653:202;;;:::o;629:20::-;;;;;;;;;;;;;:::o;2657:81::-;2704:7;2726;;2719:14;;2657:81;:::o;2064:86::-;2113:7;2135:10;;2128:17;;2064:86;:::o;1407:202:13:-;1459:17;1449:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1441:36;;;;;;;;1510:21;1524:6;;1510:9;;:13;;:21;;;;:::i;:::-;1492:15;:39;1484:48;;;;;;;;1549:3;1539:7;:13;;;;1568:15;1559:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1590:14;1596:7;;1590:14;;;;;;;;;;;;;;;;;;1407:202::o;330:21:9:-;;;;;;;;;;;;;:::o;304:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2368:97::-;2415:7;2437:23;;2430:30;;2368:97;:::o;1613:145:13:-;1680:7;1743:10;;1721:11;:18;1733:5;1721:18;;;;;;;;;;;;;;;;1703:15;;:36;1702:51;;;;;;;;1695:58;;1613:145;;;:::o;334:20:8:-;;;;;;;;;;;;;:::o;2997:129:9:-;3043:4;3069:15;3059:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3055:48;;;3099:4;3092:11;;;;3055:48;3116:5;3109:12;;2997:129;;:::o;2210:101::-;2259:7;2281:25;;2274:32;;2210:101;:::o;2802:133::-;2850:4;2876:17;2866:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;2862:50;;;2908:4;2901:11;;;;2862:50;2925:5;2918:12;;2802:133;;:::o;203:30:13:-;;;;:::o;386:613::-;561:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;594:18:13;584:28;;;;;;;;:6;;;;;;;;;;;:28;;;;;;;;;576:37;;;;;;;;638:3;627:7;:14;;;;619:23;;;;;;;;660:15;648:9;:27;;;;690:7;681:6;;:16;;;;;;;;;;;;;;;;;;735:14;727:23;;721:2;:29;703:15;:47;;;;784:11;756:25;:39;;;;827:9;801:23;:35;;;;899:25;;873:23;;855:15;;:41;:69;;;;;;;;842:10;:82;;;;939:6;930;:15;;;;960:17;951:6;;:26;;;;;;;;;;;;;;;;;;;;;;;;990:4;983:11;;386:613;;;;;;;:::o;2523:85:9:-;2572:7;2594:9;;2587:16;;2523:85;:::o;237:21:13:-;;;;:::o;928:169:8:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;1003:400:13:-;1059:4;1128:15;1099:21;1113:6;;1099:9;;:13;;:21;;;;:::i;:::-;1080:15;:40;;1072:49;;;;;;;;1146:45;1174:16;;1146:23;;:27;;:45;;;;:::i;:::-;1128:63;;1219:7;1206:9;:20;;1198:29;;;;;;;;1259:33;1282:9;1259:11;:18;1271:5;1259:18;;;;;;;;;;;;;;;;:22;;:33;;;;:::i;:::-;1238:11;:18;1250:5;1238:18;;;;;;;;;;;;;;;:54;;;;1299:6;;;;;;;;;;;:15;;:26;1315:9;1299:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1349:7;1336:9;:20;1332:44;;;1371:5;1364:12;;;;1332:44;1394:4;1387:11;;1003:400;;;;;:::o;759:128:16:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;646:109::-;703:7;730:1;725;:6;;718:14;;;;;;749:1;745;:5;738:12;;646:109;;;;:::o", "source": "pragma solidity ^0.4.18;\nimport \"../PoD.sol\";\n\n/// @title SimplePoD - SimplePoD contract\n/// @author - Yusaku Senga - \n/// license let's see in LICENSE\n\ncontract SimplePoD is PoD {\n\n uint256 public tokenMultiplier;\n uint256 public period;\n\n function SimplePoD() public {\n name = \"SimplePoD strategy token price = capToken/capWei\";\n version = \"0.9.3\";\n }\n\n function init(\n address _wallet, \n uint8 _tokenDecimals,\n uint256 _startTimeOfPoD,\n uint256 _capOfToken, \n uint256 _capOfWei\n ) \n public onlyOwner() returns (bool) \n {\n require(status == Status.PoDDeployed);\n require(_wallet != 0x0);\n startTime = _startTimeOfPoD;\n wallet = _wallet;\n tokenMultiplier = 10 ** uint256(_tokenDecimals);\n proofOfDonationCapOfToken = _capOfToken;\n proofOfDonationCapOfWei = _capOfWei;\n tokenPrice = tokenMultiplier * proofOfDonationCapOfWei / proofOfDonationCapOfToken;\n period = 7 days;\n status = Status.PoDStarted;\n return true;\n }\n\n function processDonate(address _user) internal returns (bool) {\n\n require(block.timestamp <= startTime.add(period));\n\n uint256 remains = proofOfDonationCapOfWei.sub(totalReceivedWei);\n\n require(msg.value <= remains);\n \n weiBalances[_user] = weiBalances[_user].add(msg.value);\n\n wallet.transfer(msg.value);\n\n if (msg.value == remains)\n return false;\n \n return true;\n }\n\n function finalize() public {\n\n require(status == Status.PoDStarted);\n\n require(block.timestamp > startTime.add(period));\n\n endTime = now;\n\n status = Status.PoDEnded;\n\n Ended(endTime);\n }\n\n function getBalanceOfToken(address _user) public constant returns (uint256) {\n return (tokenMultiplier * weiBalances[_user]) / tokenPrice;\n }\n}\n", "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/SimplePoD.sol", "ast": { @@ -395,7 +395,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/SimplePoD.sol", "exportedSymbols": { "SimplePoD": [ - 1612 + 3959 ] } }, @@ -409,41 +409,41 @@ ".18" ] }, - "id": 1407, + "id": 3754, "name": "PragmaDirective", - "src": "0:24:9" + "src": "0:24:13" }, { "attributes": { - "SourceUnit": 1139, + "SourceUnit": 2350, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoD.sol", "file": "../PoD.sol", - "scope": 1613, + "scope": 3960, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 1408, + "id": 3755, "name": "ImportDirective", - "src": "25:20:9" + "src": "25:20:13" }, { "attributes": { "contractDependencies": [ - 873, - 1138 + 2084, + 2349 ], "contractKind": "contract", "documentation": "@title SimplePoD - SimplePoD contract\n @author - Yusaku Senga - \n license let's see in LICENSE", "fullyImplemented": true, "linearizedBaseContracts": [ - 1612, - 1138, - 873 + 3959, + 2349, + 2084 ], "name": "SimplePoD", - "scope": 1613 + "scope": 3960 }, "children": [ { @@ -457,23 +457,23 @@ "attributes": { "contractScope": null, "name": "PoD", - "referencedDeclaration": 1138, + "referencedDeclaration": 2349, "type": "contract PoD" }, - "id": 1409, + "id": 3756, "name": "UserDefinedTypeName", - "src": "194:3:9" + "src": "194:3:13" } ], - "id": 1410, + "id": 3757, "name": "InheritanceSpecifier", - "src": "194:3:9" + "src": "194:3:13" }, { "attributes": { "constant": false, "name": "tokenMultiplier", - "scope": 1612, + "scope": 3959, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -486,20 +486,20 @@ "name": "uint256", "type": "uint256" }, - "id": 1411, + "id": 3758, "name": "ElementaryTypeName", - "src": "203:7:9" + "src": "203:7:13" } ], - "id": 1412, + "id": 3759, "name": "VariableDeclaration", - "src": "203:30:9" + "src": "203:30:13" }, { "attributes": { "constant": false, "name": "period", - "scope": 1612, + "scope": 3959, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -512,14 +512,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1413, + "id": 3760, "name": "ElementaryTypeName", - "src": "237:7:9" + "src": "237:7:13" } ], - "id": 1414, + "id": 3761, "name": "VariableDeclaration", - "src": "237:21:9" + "src": "237:21:13" }, { "attributes": { @@ -531,7 +531,7 @@ ], "name": "SimplePoD", "payable": false, - "scope": 1612, + "scope": 3959, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -544,9 +544,9 @@ ] }, "children": [], - "id": 1415, + "id": 3762, "name": "ParameterList", - "src": "281:2:9" + "src": "281:2:13" }, { "attributes": { @@ -555,9 +555,9 @@ ] }, "children": [], - "id": 1416, + "id": 3763, "name": "ParameterList", - "src": "291:0:9" + "src": "291:0:13" }, { "children": [ @@ -580,13 +580,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 884, + "referencedDeclaration": 2095, "type": "string storage ref", "value": "name" }, - "id": 1417, + "id": 3764, "name": "Identifier", - "src": "297:4:9" + "src": "297:4:13" }, { "attributes": { @@ -601,19 +601,19 @@ "type": "literal_string \"SimplePoD strategy token price = capToken/capWei\"", "value": "SimplePoD strategy token price = capToken/capWei" }, - "id": 1418, + "id": 3765, "name": "Literal", - "src": "304:50:9" + "src": "304:50:13" } ], - "id": 1419, + "id": 3766, "name": "Assignment", - "src": "297:57:9" + "src": "297:57:13" } ], - "id": 1420, + "id": 3767, "name": "ExpressionStatement", - "src": "297:57:9" + "src": "297:57:13" }, { "children": [ @@ -634,13 +634,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 2097, "type": "string storage ref", "value": "version" }, - "id": 1421, + "id": 3768, "name": "Identifier", - "src": "360:7:9" + "src": "360:7:13" }, { "attributes": { @@ -655,29 +655,29 @@ "type": "literal_string \"0.9.3\"", "value": "0.9.3" }, - "id": 1422, + "id": 3769, "name": "Literal", - "src": "370:7:9" + "src": "370:7:13" } ], - "id": 1423, + "id": 3770, "name": "Assignment", - "src": "360:17:9" + "src": "360:17:13" } ], - "id": 1424, + "id": 3771, "name": "ExpressionStatement", - "src": "360:17:9" + "src": "360:17:13" } ], - "id": 1425, + "id": 3772, "name": "Block", - "src": "291:91:9" + "src": "291:91:13" } ], - "id": 1426, + "id": 3773, "name": "FunctionDefinition", - "src": "263:119:9" + "src": "263:119:13" }, { "attributes": { @@ -686,7 +686,7 @@ "isConstructor": false, "name": "init", "payable": false, - "scope": 1612, + "scope": 3959, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -698,7 +698,7 @@ "attributes": { "constant": false, "name": "_wallet", - "scope": 1500, + "scope": 3847, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -711,20 +711,20 @@ "name": "address", "type": "address" }, - "id": 1427, + "id": 3774, "name": "ElementaryTypeName", - "src": "405:7:9" + "src": "405:7:13" } ], - "id": 1428, + "id": 3775, "name": "VariableDeclaration", - "src": "405:15:9" + "src": "405:15:13" }, { "attributes": { "constant": false, "name": "_tokenDecimals", - "scope": 1500, + "scope": 3847, "stateVariable": false, "storageLocation": "default", "type": "uint8", @@ -737,20 +737,20 @@ "name": "uint8", "type": "uint8" }, - "id": 1429, + "id": 3776, "name": "ElementaryTypeName", - "src": "427:5:9" + "src": "427:5:13" } ], - "id": 1430, + "id": 3777, "name": "VariableDeclaration", - "src": "427:20:9" + "src": "427:20:13" }, { "attributes": { "constant": false, "name": "_startTimeOfPoD", - "scope": 1500, + "scope": 3847, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -763,20 +763,20 @@ "name": "uint256", "type": "uint256" }, - "id": 1431, + "id": 3778, "name": "ElementaryTypeName", - "src": "453:7:9" + "src": "453:7:13" } ], - "id": 1432, + "id": 3779, "name": "VariableDeclaration", - "src": "453:23:9" + "src": "453:23:13" }, { "attributes": { "constant": false, "name": "_capOfToken", - "scope": 1500, + "scope": 3847, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -789,20 +789,20 @@ "name": "uint256", "type": "uint256" }, - "id": 1433, + "id": 3780, "name": "ElementaryTypeName", - "src": "482:7:9" + "src": "482:7:13" } ], - "id": 1434, + "id": 3781, "name": "VariableDeclaration", - "src": "482:19:9" + "src": "482:19:13" }, { "attributes": { "constant": false, "name": "_capOfWei", - "scope": 1500, + "scope": 3847, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -815,19 +815,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1435, + "id": 3782, "name": "ElementaryTypeName", - "src": "508:7:9" + "src": "508:7:13" } ], - "id": 1436, + "id": 3783, "name": "VariableDeclaration", - "src": "508:17:9" + "src": "508:17:13" } ], - "id": 1437, + "id": 3784, "name": "ParameterList", - "src": "399:130:9" + "src": "399:130:13" }, { "children": [ @@ -835,7 +835,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1500, + "scope": 3847, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -848,19 +848,19 @@ "name": "bool", "type": "bool" }, - "id": 1440, + "id": 3787, "name": "ElementaryTypeName", - "src": "561:4:9" + "src": "561:4:13" } ], - "id": 1441, + "id": 3788, "name": "VariableDeclaration", - "src": "561:4:9" + "src": "561:4:13" } ], - "id": 1442, + "id": 3789, "name": "ParameterList", - "src": "560:6:9" + "src": "560:6:13" }, { "attributes": { @@ -875,18 +875,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 2058, "type": "modifier ()", "value": "onlyOwner" }, - "id": 1438, + "id": 3785, "name": "Identifier", - "src": "540:9:9" + "src": "540:9:13" } ], - "id": 1439, + "id": 3786, "name": "ModifierInvocation", - "src": "540:11:9" + "src": "540:11:13" }, { "children": [ @@ -918,19 +918,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1443, + "id": 3790, "name": "Identifier", - "src": "576:7:9" + "src": "576:7:13" }, { "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$908", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -947,13 +947,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1444, + "id": 3791, "name": "Identifier", - "src": "584:6:9" + "src": "584:6:13" }, { "attributes": { @@ -973,33 +973,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1445, + "id": 3792, "name": "Identifier", - "src": "594:6:9" + "src": "594:6:13" } ], - "id": 1446, + "id": 3793, "name": "MemberAccess", - "src": "594:18:9" + "src": "594:18:13" } ], - "id": 1447, + "id": 3794, "name": "BinaryOperation", - "src": "584:28:9" + "src": "584:28:13" } ], - "id": 1448, + "id": 3795, "name": "FunctionCall", - "src": "576:37:9" + "src": "576:37:13" } ], - "id": 1449, + "id": 3796, "name": "ExpressionStatement", - "src": "576:37:9" + "src": "576:37:13" }, { "children": [ @@ -1029,13 +1029,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1450, + "id": 3797, "name": "Identifier", - "src": "619:7:9" + "src": "619:7:13" }, { "attributes": { @@ -1058,13 +1058,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1428, + "referencedDeclaration": 3775, "type": "address", "value": "_wallet" }, - "id": 1451, + "id": 3798, "name": "Identifier", - "src": "627:7:9" + "src": "627:7:13" }, { "attributes": { @@ -1079,24 +1079,24 @@ "type": "int_const 0", "value": "0x0" }, - "id": 1452, + "id": 3799, "name": "Literal", - "src": "638:3:9" + "src": "638:3:13" } ], - "id": 1453, + "id": 3800, "name": "BinaryOperation", - "src": "627:14:9" + "src": "627:14:13" } ], - "id": 1454, + "id": 3801, "name": "FunctionCall", - "src": "619:23:9" + "src": "619:23:13" } ], - "id": 1455, + "id": 3802, "name": "ExpressionStatement", - "src": "619:23:9" + "src": "619:23:13" }, { "children": [ @@ -1117,13 +1117,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 2101, "type": "uint256", "value": "startTime" }, - "id": 1456, + "id": 3803, "name": "Identifier", - "src": "648:9:9" + "src": "648:9:13" }, { "attributes": { @@ -1131,23 +1131,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1432, + "referencedDeclaration": 3779, "type": "uint256", "value": "_startTimeOfPoD" }, - "id": 1457, + "id": 3804, "name": "Identifier", - "src": "660:15:9" + "src": "660:15:13" } ], - "id": 1458, + "id": 3805, "name": "Assignment", - "src": "648:27:9" + "src": "648:27:13" } ], - "id": 1459, + "id": 3806, "name": "ExpressionStatement", - "src": "648:27:9" + "src": "648:27:13" }, { "children": [ @@ -1168,13 +1168,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 2099, "type": "address", "value": "wallet" }, - "id": 1460, + "id": 3807, "name": "Identifier", - "src": "681:6:9" + "src": "681:6:13" }, { "attributes": { @@ -1182,23 +1182,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1428, + "referencedDeclaration": 3775, "type": "address", "value": "_wallet" }, - "id": 1461, + "id": 3808, "name": "Identifier", - "src": "690:7:9" + "src": "690:7:13" } ], - "id": 1462, + "id": 3809, "name": "Assignment", - "src": "681:16:9" + "src": "681:16:13" } ], - "id": 1463, + "id": 3810, "name": "ExpressionStatement", - "src": "681:16:9" + "src": "681:16:13" }, { "children": [ @@ -1219,13 +1219,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1412, + "referencedDeclaration": 3759, "type": "uint256", "value": "tokenMultiplier" }, - "id": 1464, + "id": 3811, "name": "Identifier", - "src": "703:15:9" + "src": "703:15:13" }, { "attributes": { @@ -1255,9 +1255,9 @@ "type": "int_const 10", "value": "10" }, - "id": 1465, + "id": 3812, "name": "Literal", - "src": "721:2:9" + "src": "721:2:13" }, { "attributes": { @@ -1289,9 +1289,9 @@ "type": "type(uint256)", "value": "uint256" }, - "id": 1466, + "id": 3813, "name": "ElementaryTypeNameExpression", - "src": "727:7:9" + "src": "727:7:13" }, { "attributes": { @@ -1299,33 +1299,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1430, + "referencedDeclaration": 3777, "type": "uint8", "value": "_tokenDecimals" }, - "id": 1467, + "id": 3814, "name": "Identifier", - "src": "735:14:9" + "src": "735:14:13" } ], - "id": 1468, + "id": 3815, "name": "FunctionCall", - "src": "727:23:9" + "src": "727:23:13" } ], - "id": 1469, + "id": 3816, "name": "BinaryOperation", - "src": "721:29:9" + "src": "721:29:13" } ], - "id": 1470, + "id": 3817, "name": "Assignment", - "src": "703:47:9" + "src": "703:47:13" } ], - "id": 1471, + "id": 3818, "name": "ExpressionStatement", - "src": "703:47:9" + "src": "703:47:13" }, { "children": [ @@ -1346,13 +1346,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 898, + "referencedDeclaration": 2109, "type": "uint256", "value": "proofOfDonationCapOfToken" }, - "id": 1472, + "id": 3819, "name": "Identifier", - "src": "756:25:9" + "src": "756:25:13" }, { "attributes": { @@ -1360,23 +1360,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1434, + "referencedDeclaration": 3781, "type": "uint256", "value": "_capOfToken" }, - "id": 1473, + "id": 3820, "name": "Identifier", - "src": "784:11:9" + "src": "784:11:13" } ], - "id": 1474, + "id": 3821, "name": "Assignment", - "src": "756:39:9" + "src": "756:39:13" } ], - "id": 1475, + "id": 3822, "name": "ExpressionStatement", - "src": "756:39:9" + "src": "756:39:13" }, { "children": [ @@ -1397,13 +1397,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 900, + "referencedDeclaration": 2111, "type": "uint256", "value": "proofOfDonationCapOfWei" }, - "id": 1476, + "id": 3823, "name": "Identifier", - "src": "801:23:9" + "src": "801:23:13" }, { "attributes": { @@ -1411,23 +1411,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1436, + "referencedDeclaration": 3783, "type": "uint256", "value": "_capOfWei" }, - "id": 1477, + "id": 3824, "name": "Identifier", - "src": "827:9:9" + "src": "827:9:13" } ], - "id": 1478, + "id": 3825, "name": "Assignment", - "src": "801:35:9" + "src": "801:35:13" } ], - "id": 1479, + "id": 3826, "name": "ExpressionStatement", - "src": "801:35:9" + "src": "801:35:13" }, { "children": [ @@ -1448,13 +1448,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 894, + "referencedDeclaration": 2105, "type": "uint256", "value": "tokenPrice" }, - "id": 1480, + "id": 3827, "name": "Identifier", - "src": "842:10:9" + "src": "842:10:13" }, { "attributes": { @@ -1492,13 +1492,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1412, + "referencedDeclaration": 3759, "type": "uint256", "value": "tokenMultiplier" }, - "id": 1481, + "id": 3828, "name": "Identifier", - "src": "855:15:9" + "src": "855:15:13" }, { "attributes": { @@ -1506,18 +1506,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 900, + "referencedDeclaration": 2111, "type": "uint256", "value": "proofOfDonationCapOfWei" }, - "id": 1482, + "id": 3829, "name": "Identifier", - "src": "873:23:9" + "src": "873:23:13" } ], - "id": 1483, + "id": 3830, "name": "BinaryOperation", - "src": "855:41:9" + "src": "855:41:13" }, { "attributes": { @@ -1525,28 +1525,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 898, + "referencedDeclaration": 2109, "type": "uint256", "value": "proofOfDonationCapOfToken" }, - "id": 1484, + "id": 3831, "name": "Identifier", - "src": "899:25:9" + "src": "899:25:13" } ], - "id": 1485, + "id": 3832, "name": "BinaryOperation", - "src": "855:69:9" + "src": "855:69:13" } ], - "id": 1486, + "id": 3833, "name": "Assignment", - "src": "842:82:9" + "src": "842:82:13" } ], - "id": 1487, + "id": 3834, "name": "ExpressionStatement", - "src": "842:82:9" + "src": "842:82:13" }, { "children": [ @@ -1567,13 +1567,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1414, + "referencedDeclaration": 3761, "type": "uint256", "value": "period" }, - "id": 1488, + "id": 3835, "name": "Identifier", - "src": "930:6:9" + "src": "930:6:13" }, { "attributes": { @@ -1588,19 +1588,19 @@ "type": "int_const 604800", "value": "7" }, - "id": 1489, + "id": 3836, "name": "Literal", - "src": "939:6:9" + "src": "939:6:13" } ], - "id": 1490, + "id": 3837, "name": "Assignment", - "src": "930:15:9" + "src": "930:15:13" } ], - "id": 1491, + "id": 3838, "name": "ExpressionStatement", - "src": "930:15:9" + "src": "930:15:13" }, { "children": [ @@ -1621,13 +1621,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1492, + "id": 3839, "name": "Identifier", - "src": "951:6:9" + "src": "951:6:13" }, { "attributes": { @@ -1647,32 +1647,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1493, + "id": 3840, "name": "Identifier", - "src": "960:6:9" + "src": "960:6:13" } ], - "id": 1494, + "id": 3841, "name": "MemberAccess", - "src": "960:17:9" + "src": "960:17:13" } ], - "id": 1495, + "id": 3842, "name": "Assignment", - "src": "951:26:9" + "src": "951:26:13" } ], - "id": 1496, + "id": 3843, "name": "ExpressionStatement", - "src": "951:26:9" + "src": "951:26:13" }, { "attributes": { - "functionReturnParameters": 1442 + "functionReturnParameters": 3789 }, "children": [ { @@ -1688,24 +1688,24 @@ "type": "bool", "value": "true" }, - "id": 1497, + "id": 3844, "name": "Literal", - "src": "990:4:9" + "src": "990:4:13" } ], - "id": 1498, + "id": 3845, "name": "Return", - "src": "983:11:9" + "src": "983:11:13" } ], - "id": 1499, + "id": 3846, "name": "Block", - "src": "570:429:9" + "src": "570:429:13" } ], - "id": 1500, + "id": 3847, "name": "FunctionDefinition", - "src": "386:613:9" + "src": "386:613:13" }, { "attributes": { @@ -1717,9 +1717,9 @@ ], "name": "processDonate", "payable": false, - "scope": 1612, + "scope": 3959, "stateMutability": "nonpayable", - "superFunction": 1130, + "superFunction": 2341, "visibility": "internal" }, "children": [ @@ -1729,7 +1729,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1560, + "scope": 3907, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1742,19 +1742,19 @@ "name": "address", "type": "address" }, - "id": 1501, + "id": 3848, "name": "ElementaryTypeName", - "src": "1026:7:9" + "src": "1026:7:13" } ], - "id": 1502, + "id": 3849, "name": "VariableDeclaration", - "src": "1026:13:9" + "src": "1026:13:13" } ], - "id": 1503, + "id": 3850, "name": "ParameterList", - "src": "1025:15:9" + "src": "1025:15:13" }, { "children": [ @@ -1762,7 +1762,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1560, + "scope": 3907, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1775,19 +1775,19 @@ "name": "bool", "type": "bool" }, - "id": 1504, + "id": 3851, "name": "ElementaryTypeName", - "src": "1059:4:9" + "src": "1059:4:13" } ], - "id": 1505, + "id": 3852, "name": "VariableDeclaration", - "src": "1059:4:9" + "src": "1059:4:13" } ], - "id": 1506, + "id": 3853, "name": "ParameterList", - "src": "1058:6:9" + "src": "1058:6:13" }, { "children": [ @@ -1819,13 +1819,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1507, + "id": 3854, "name": "Identifier", - "src": "1072:7:9" + "src": "1072:7:13" }, { "attributes": { @@ -1860,18 +1860,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2156, + "referencedDeclaration": 4503, "type": "block", "value": "block" }, - "id": 1508, + "id": 3855, "name": "Identifier", - "src": "1080:5:9" + "src": "1080:5:13" } ], - "id": 1509, + "id": 3856, "name": "MemberAccess", - "src": "1080:15:9" + "src": "1080:15:13" }, { "attributes": { @@ -1901,7 +1901,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 2151, + "referencedDeclaration": 4498, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1911,18 +1911,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 2101, "type": "uint256", "value": "startTime" }, - "id": 1510, + "id": 3857, "name": "Identifier", - "src": "1099:9:9" + "src": "1099:9:13" } ], - "id": 1511, + "id": 3858, "name": "MemberAccess", - "src": "1099:13:9" + "src": "1099:13:13" }, { "attributes": { @@ -1930,38 +1930,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1414, + "referencedDeclaration": 3761, "type": "uint256", "value": "period" }, - "id": 1512, + "id": 3859, "name": "Identifier", - "src": "1113:6:9" + "src": "1113:6:13" } ], - "id": 1513, + "id": 3860, "name": "FunctionCall", - "src": "1099:21:9" + "src": "1099:21:13" } ], - "id": 1514, + "id": 3861, "name": "BinaryOperation", - "src": "1080:40:9" + "src": "1080:40:13" } ], - "id": 1515, + "id": 3862, "name": "FunctionCall", - "src": "1072:49:9" + "src": "1072:49:13" } ], - "id": 1516, + "id": 3863, "name": "ExpressionStatement", - "src": "1072:49:9" + "src": "1072:49:13" }, { "attributes": { "assignments": [ - 1518 + 3865 ] }, "children": [ @@ -1969,7 +1969,7 @@ "attributes": { "constant": false, "name": "remains", - "scope": 1560, + "scope": 3907, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1982,14 +1982,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1517, + "id": 3864, "name": "ElementaryTypeName", - "src": "1128:7:9" + "src": "1128:7:13" } ], - "id": 1518, + "id": 3865, "name": "VariableDeclaration", - "src": "1128:15:9" + "src": "1128:15:13" }, { "attributes": { @@ -2019,7 +2019,7 @@ "isPure": false, "lValueRequested": false, "member_name": "sub", - "referencedDeclaration": 2127, + "referencedDeclaration": 4474, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2029,18 +2029,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 900, + "referencedDeclaration": 2111, "type": "uint256", "value": "proofOfDonationCapOfWei" }, - "id": 1519, + "id": 3866, "name": "Identifier", - "src": "1146:23:9" + "src": "1146:23:13" } ], - "id": 1520, + "id": 3867, "name": "MemberAccess", - "src": "1146:27:9" + "src": "1146:27:13" }, { "attributes": { @@ -2048,23 +2048,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 896, + "referencedDeclaration": 2107, "type": "uint256", "value": "totalReceivedWei" }, - "id": 1521, + "id": 3868, "name": "Identifier", - "src": "1174:16:9" + "src": "1174:16:13" } ], - "id": 1522, + "id": 3869, "name": "FunctionCall", - "src": "1146:45:9" + "src": "1146:45:13" } ], - "id": 1523, + "id": 3870, "name": "VariableDeclarationStatement", - "src": "1128:63:9" + "src": "1128:63:13" }, { "children": [ @@ -2094,13 +2094,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1524, + "id": 3871, "name": "Identifier", - "src": "1198:7:9" + "src": "1198:7:13" }, { "attributes": { @@ -2135,18 +2135,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1525, + "id": 3872, "name": "Identifier", - "src": "1206:3:9" + "src": "1206:3:13" } ], - "id": 1526, + "id": 3873, "name": "MemberAccess", - "src": "1206:9:9" + "src": "1206:9:13" }, { "attributes": { @@ -2154,28 +2154,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1518, + "referencedDeclaration": 3865, "type": "uint256", "value": "remains" }, - "id": 1527, + "id": 3874, "name": "Identifier", - "src": "1219:7:9" + "src": "1219:7:13" } ], - "id": 1528, + "id": 3875, "name": "BinaryOperation", - "src": "1206:20:9" + "src": "1206:20:13" } ], - "id": 1529, + "id": 3876, "name": "FunctionCall", - "src": "1198:29:9" + "src": "1198:29:13" } ], - "id": 1530, + "id": 3877, "name": "ExpressionStatement", - "src": "1198:29:9" + "src": "1198:29:13" }, { "children": [ @@ -2206,13 +2206,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1531, + "id": 3878, "name": "Identifier", - "src": "1238:11:9" + "src": "1238:11:13" }, { "attributes": { @@ -2220,18 +2220,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 3849, "type": "address", "value": "_user" }, - "id": 1532, + "id": 3879, "name": "Identifier", - "src": "1250:5:9" + "src": "1250:5:13" } ], - "id": 1533, + "id": 3880, "name": "IndexAccess", - "src": "1238:18:9" + "src": "1238:18:13" }, { "attributes": { @@ -2261,7 +2261,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 2151, + "referencedDeclaration": 4498, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2281,13 +2281,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1534, + "id": 3881, "name": "Identifier", - "src": "1259:11:9" + "src": "1259:11:13" }, { "attributes": { @@ -2295,23 +2295,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 3849, "type": "address", "value": "_user" }, - "id": 1535, + "id": 3882, "name": "Identifier", - "src": "1271:5:9" + "src": "1271:5:13" } ], - "id": 1536, + "id": 3883, "name": "IndexAccess", - "src": "1259:18:9" + "src": "1259:18:13" } ], - "id": 1537, + "id": 3884, "name": "MemberAccess", - "src": "1259:22:9" + "src": "1259:22:13" }, { "attributes": { @@ -2331,33 +2331,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1538, + "id": 3885, "name": "Identifier", - "src": "1282:3:9" + "src": "1282:3:13" } ], - "id": 1539, + "id": 3886, "name": "MemberAccess", - "src": "1282:9:9" + "src": "1282:9:13" } ], - "id": 1540, + "id": 3887, "name": "FunctionCall", - "src": "1259:33:9" + "src": "1259:33:13" } ], - "id": 1541, + "id": 3888, "name": "Assignment", - "src": "1238:54:9" + "src": "1238:54:13" } ], - "id": 1542, + "id": 3889, "name": "ExpressionStatement", - "src": "1238:54:9" + "src": "1238:54:13" }, { "children": [ @@ -2399,18 +2399,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 888, + "referencedDeclaration": 2099, "type": "address", "value": "wallet" }, - "id": 1543, + "id": 3890, "name": "Identifier", - "src": "1299:6:9" + "src": "1299:6:13" } ], - "id": 1545, + "id": 3892, "name": "MemberAccess", - "src": "1299:15:9" + "src": "1299:15:13" }, { "attributes": { @@ -2430,28 +2430,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1546, + "id": 3893, "name": "Identifier", - "src": "1315:3:9" + "src": "1315:3:13" } ], - "id": 1547, + "id": 3894, "name": "MemberAccess", - "src": "1315:9:9" + "src": "1315:9:13" } ], - "id": 1548, + "id": 3895, "name": "FunctionCall", - "src": "1299:26:9" + "src": "1299:26:13" } ], - "id": 1549, + "id": 3896, "name": "ExpressionStatement", - "src": "1299:26:9" + "src": "1299:26:13" }, { "attributes": { @@ -2491,18 +2491,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2164, + "referencedDeclaration": 4511, "type": "msg", "value": "msg" }, - "id": 1550, + "id": 3897, "name": "Identifier", - "src": "1336:3:9" + "src": "1336:3:13" } ], - "id": 1551, + "id": 3898, "name": "MemberAccess", - "src": "1336:9:9" + "src": "1336:9:13" }, { "attributes": { @@ -2510,22 +2510,22 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1518, + "referencedDeclaration": 3865, "type": "uint256", "value": "remains" }, - "id": 1552, + "id": 3899, "name": "Identifier", - "src": "1349:7:9" + "src": "1349:7:13" } ], - "id": 1553, + "id": 3900, "name": "BinaryOperation", - "src": "1336:20:9" + "src": "1336:20:13" }, { "attributes": { - "functionReturnParameters": 1506 + "functionReturnParameters": 3853 }, "children": [ { @@ -2541,23 +2541,23 @@ "type": "bool", "value": "false" }, - "id": 1554, + "id": 3901, "name": "Literal", - "src": "1371:5:9" + "src": "1371:5:13" } ], - "id": 1555, + "id": 3902, "name": "Return", - "src": "1364:12:9" + "src": "1364:12:13" } ], - "id": 1556, + "id": 3903, "name": "IfStatement", - "src": "1332:44:9" + "src": "1332:44:13" }, { "attributes": { - "functionReturnParameters": 1506 + "functionReturnParameters": 3853 }, "children": [ { @@ -2573,24 +2573,24 @@ "type": "bool", "value": "true" }, - "id": 1557, + "id": 3904, "name": "Literal", - "src": "1394:4:9" + "src": "1394:4:13" } ], - "id": 1558, + "id": 3905, "name": "Return", - "src": "1387:11:9" + "src": "1387:11:13" } ], - "id": 1559, + "id": 3906, "name": "Block", - "src": "1065:338:9" + "src": "1065:338:13" } ], - "id": 1560, + "id": 3907, "name": "FunctionDefinition", - "src": "1003:400:9" + "src": "1003:400:13" }, { "attributes": { @@ -2602,7 +2602,7 @@ ], "name": "finalize", "payable": false, - "scope": 1612, + "scope": 3959, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -2615,9 +2615,9 @@ ] }, "children": [], - "id": 1561, + "id": 3908, "name": "ParameterList", - "src": "1424:2:9" + "src": "1424:2:13" }, { "attributes": { @@ -2626,9 +2626,9 @@ ] }, "children": [], - "id": 1562, + "id": 3909, "name": "ParameterList", - "src": "1434:0:9" + "src": "1434:0:13" }, { "children": [ @@ -2660,19 +2660,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1563, + "id": 3910, "name": "Identifier", - "src": "1441:7:9" + "src": "1441:7:13" }, { "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$908", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -2689,13 +2689,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1564, + "id": 3911, "name": "Identifier", - "src": "1449:6:9" + "src": "1449:6:13" }, { "attributes": { @@ -2715,33 +2715,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1565, + "id": 3912, "name": "Identifier", - "src": "1459:6:9" + "src": "1459:6:13" } ], - "id": 1566, + "id": 3913, "name": "MemberAccess", - "src": "1459:17:9" + "src": "1459:17:13" } ], - "id": 1567, + "id": 3914, "name": "BinaryOperation", - "src": "1449:27:9" + "src": "1449:27:13" } ], - "id": 1568, + "id": 3915, "name": "FunctionCall", - "src": "1441:36:9" + "src": "1441:36:13" } ], - "id": 1569, + "id": 3916, "name": "ExpressionStatement", - "src": "1441:36:9" + "src": "1441:36:13" }, { "children": [ @@ -2771,13 +2771,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1570, + "id": 3917, "name": "Identifier", - "src": "1484:7:9" + "src": "1484:7:13" }, { "attributes": { @@ -2812,18 +2812,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2156, + "referencedDeclaration": 4503, "type": "block", "value": "block" }, - "id": 1571, + "id": 3918, "name": "Identifier", - "src": "1492:5:9" + "src": "1492:5:13" } ], - "id": 1572, + "id": 3919, "name": "MemberAccess", - "src": "1492:15:9" + "src": "1492:15:13" }, { "attributes": { @@ -2853,7 +2853,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 2151, + "referencedDeclaration": 4498, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -2863,18 +2863,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 890, + "referencedDeclaration": 2101, "type": "uint256", "value": "startTime" }, - "id": 1573, + "id": 3920, "name": "Identifier", - "src": "1510:9:9" + "src": "1510:9:13" } ], - "id": 1574, + "id": 3921, "name": "MemberAccess", - "src": "1510:13:9" + "src": "1510:13:13" }, { "attributes": { @@ -2882,33 +2882,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1414, + "referencedDeclaration": 3761, "type": "uint256", "value": "period" }, - "id": 1575, + "id": 3922, "name": "Identifier", - "src": "1524:6:9" + "src": "1524:6:13" } ], - "id": 1576, + "id": 3923, "name": "FunctionCall", - "src": "1510:21:9" + "src": "1510:21:13" } ], - "id": 1577, + "id": 3924, "name": "BinaryOperation", - "src": "1492:39:9" + "src": "1492:39:13" } ], - "id": 1578, + "id": 3925, "name": "FunctionCall", - "src": "1484:48:9" + "src": "1484:48:13" } ], - "id": 1579, + "id": 3926, "name": "ExpressionStatement", - "src": "1484:48:9" + "src": "1484:48:13" }, { "children": [ @@ -2929,13 +2929,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 892, + "referencedDeclaration": 2103, "type": "uint256", "value": "endTime" }, - "id": 1580, + "id": 3927, "name": "Identifier", - "src": "1539:7:9" + "src": "1539:7:13" }, { "attributes": { @@ -2943,23 +2943,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2166, + "referencedDeclaration": 4513, "type": "uint256", "value": "now" }, - "id": 1581, + "id": 3928, "name": "Identifier", - "src": "1549:3:9" + "src": "1549:3:13" } ], - "id": 1582, + "id": 3929, "name": "Assignment", - "src": "1539:13:9" + "src": "1539:13:13" } ], - "id": 1583, + "id": 3930, "name": "ExpressionStatement", - "src": "1539:13:9" + "src": "1539:13:13" }, { "children": [ @@ -2980,13 +2980,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1584, + "id": 3931, "name": "Identifier", - "src": "1559:6:9" + "src": "1559:6:13" }, { "attributes": { @@ -3006,28 +3006,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1585, + "id": 3932, "name": "Identifier", - "src": "1568:6:9" + "src": "1568:6:13" } ], - "id": 1586, + "id": 3933, "name": "MemberAccess", - "src": "1568:15:9" + "src": "1568:15:13" } ], - "id": 1587, + "id": 3934, "name": "Assignment", - "src": "1559:24:9" + "src": "1559:24:13" } ], - "id": 1588, + "id": 3935, "name": "ExpressionStatement", - "src": "1559:24:9" + "src": "1559:24:13" }, { "children": [ @@ -3057,13 +3057,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 920, + "referencedDeclaration": 2131, "type": "function (uint256)", "value": "Ended" }, - "id": 1589, + "id": 3936, "name": "Identifier", - "src": "1590:5:9" + "src": "1590:5:13" }, { "attributes": { @@ -3071,33 +3071,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 892, + "referencedDeclaration": 2103, "type": "uint256", "value": "endTime" }, - "id": 1590, + "id": 3937, "name": "Identifier", - "src": "1596:7:9" + "src": "1596:7:13" } ], - "id": 1591, + "id": 3938, "name": "FunctionCall", - "src": "1590:14:9" + "src": "1590:14:13" } ], - "id": 1592, + "id": 3939, "name": "ExpressionStatement", - "src": "1590:14:9" + "src": "1590:14:13" } ], - "id": 1593, + "id": 3940, "name": "Block", - "src": "1434:175:9" + "src": "1434:175:13" } ], - "id": 1594, + "id": 3941, "name": "FunctionDefinition", - "src": "1407:202:9" + "src": "1407:202:13" }, { "attributes": { @@ -3109,9 +3109,9 @@ ], "name": "getBalanceOfToken", "payable": false, - "scope": 1612, + "scope": 3959, "stateMutability": "view", - "superFunction": 1137, + "superFunction": 2348, "visibility": "public" }, "children": [ @@ -3121,7 +3121,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1611, + "scope": 3958, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -3134,19 +3134,19 @@ "name": "address", "type": "address" }, - "id": 1595, + "id": 3942, "name": "ElementaryTypeName", - "src": "1640:7:9" + "src": "1640:7:13" } ], - "id": 1596, + "id": 3943, "name": "VariableDeclaration", - "src": "1640:13:9" + "src": "1640:13:13" } ], - "id": 1597, + "id": 3944, "name": "ParameterList", - "src": "1639:15:9" + "src": "1639:15:13" }, { "children": [ @@ -3154,7 +3154,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1611, + "scope": 3958, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -3167,25 +3167,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1598, + "id": 3945, "name": "ElementaryTypeName", - "src": "1680:7:9" + "src": "1680:7:13" } ], - "id": 1599, + "id": 3946, "name": "VariableDeclaration", - "src": "1680:7:9" + "src": "1680:7:13" } ], - "id": 1600, + "id": 3947, "name": "ParameterList", - "src": "1679:9:9" + "src": "1679:9:13" }, { "children": [ { "attributes": { - "functionReturnParameters": 1600 + "functionReturnParameters": 3947 }, "children": [ { @@ -3235,13 +3235,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1412, + "referencedDeclaration": 3759, "type": "uint256", "value": "tokenMultiplier" }, - "id": 1601, + "id": 3948, "name": "Identifier", - "src": "1703:15:9" + "src": "1703:15:13" }, { "attributes": { @@ -3259,13 +3259,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1602, + "id": 3949, "name": "Identifier", - "src": "1721:11:9" + "src": "1721:11:13" }, { "attributes": { @@ -3273,28 +3273,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1596, + "referencedDeclaration": 3943, "type": "address", "value": "_user" }, - "id": 1603, + "id": 3950, "name": "Identifier", - "src": "1733:5:9" + "src": "1733:5:13" } ], - "id": 1604, + "id": 3951, "name": "IndexAccess", - "src": "1721:18:9" + "src": "1721:18:13" } ], - "id": 1605, + "id": 3952, "name": "BinaryOperation", - "src": "1703:36:9" + "src": "1703:36:13" } ], - "id": 1606, + "id": 3953, "name": "TupleExpression", - "src": "1702:38:9" + "src": "1702:38:13" }, { "attributes": { @@ -3302,43 +3302,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 894, + "referencedDeclaration": 2105, "type": "uint256", "value": "tokenPrice" }, - "id": 1607, + "id": 3954, "name": "Identifier", - "src": "1743:10:9" + "src": "1743:10:13" } ], - "id": 1608, + "id": 3955, "name": "BinaryOperation", - "src": "1702:51:9" + "src": "1702:51:13" } ], - "id": 1609, + "id": 3956, "name": "Return", - "src": "1695:58:9" + "src": "1695:58:13" } ], - "id": 1610, + "id": 3957, "name": "Block", - "src": "1689:69:9" + "src": "1689:69:13" } ], - "id": 1611, + "id": 3958, "name": "FunctionDefinition", - "src": "1613:145:9" + "src": "1613:145:13" } ], - "id": 1612, + "id": 3959, "name": "ContractDefinition", - "src": "172:1588:9" + "src": "172:1588:13" } ], - "id": 1613, + "id": 3960, "name": "SourceUnit", - "src": "0:1761:9" + "src": "0:1761:13" }, "compiler": { "name": "solc", @@ -3346,5 +3346,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T09:25:39.480Z" + "updatedAt": "2018-01-15T16:10:12.654Z" } \ No newline at end of file diff --git a/build/contracts/TokenMintPoD.json b/build/contracts/TokenMintPoD.json index 21fd124..44851c1 100644 --- a/build/contracts/TokenMintPoD.json +++ b/build/contracts/TokenMintPoD.json @@ -364,8 +364,8 @@ ], "bytecode": "0x606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff021916908360028111156200007057fe5b0217905550600060078190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606060405190810160405280602c81526020017f546f6b656e4d696e74506f44206d65616e2074686174206d696e74696e67205481526020017f6f6b656e20746f20757365720000000000000000000000000000000000000000815250600190805190602001906200013292919062000187565b506040805190810160405280600581526020017f302e392e33000000000000000000000000000000000000000000000000000000815250600290805190602001906200018092919062000187565b5062000236565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ca57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fa578251825591602001919060010190620001dd565b5b5090506200020a91906200020e565b5090565b6200023391905b808211156200022f57600081600090555060010162000215565b5090565b90565b610f3c80620002466000396000f300606060405260043610610112576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461011d57806309fc93c1146101ab5780630d668087146101f8578063112ed3f514610221578063200d2ed214610272578063439f5ac2146102a95780634b94f50e146102d25780634bb278f3146102fb578063521eb2731461031057806354fd4d50146103655780636ccce7a8146103f357806383786f8c1461041c5780638da5cb5b146104695780638f85f92c146104be57806397722acf146104eb5780639b3dfce014610514578063a4a2a9f614610541578063c828371e146105a4578063ed88c68e146105cd578063f2fde38b146105ef575b61011a610628565b50005b341561012857600080fd5b610130610793565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610170578082015181840152602081019050610155565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b657600080fd5b6101e2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610831565b6040518082815260200191505060405180910390f35b341561020357600080fd5b61020b61087a565b6040518082815260200191505060405180910390f35b341561022c57600080fd5b610258600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610880565b604051808215151515815260200191505060405180910390f35b341561027d57600080fd5b61028561095e565b6040518082600281111561029557fe5b60ff16815260200191505060405180910390f35b34156102b457600080fd5b6102bc610971565b6040518082815260200191505060405180910390f35b34156102dd57600080fd5b6102e561097b565b6040518082815260200191505060405180910390f35b341561030657600080fd5b61030e610985565b005b341561031b57600080fd5b6103236109ab565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037057600080fd5b6103786109d1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103b857808201518184015260208101905061039d565b50505050905090810190601f1680156103e55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103fe57600080fd5b610406610a6f565b6040518082815260200191505060405180910390f35b341561042757600080fd5b610453600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a79565b6040518082815260200191505060405180910390f35b341561047457600080fd5b61047c610b28565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104c957600080fd5b6104d1610b4d565b604051808215151515815260200191505060405180910390f35b34156104f657600080fd5b6104fe610b8d565b6040518082815260200191505060405180910390f35b341561051f57600080fd5b610527610b97565b604051808215151515815260200191505060405180910390f35b341561054c57600080fd5b61058a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091908035906020019091905050610bd8565b604051808215151515815260200191505060405180910390f35b34156105af57600080fd5b6105b7610d31565b6040518082815260200191505060405180910390f35b6105d5610628565b604051808215151515815260200191505060405180910390f35b34156105fa57600080fd5b610626600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d3b565b005b60006001600281111561063757fe5b600b60009054906101000a900460ff16600281111561065257fe5b14151561065e57600080fd5b600454421015151561066f57600080fd5b6412a05f20003a1115151561068357600080fd5b60003411151561069257600080fd5b61069b33610e90565b151561070657426005819055506002600b60006101000a81548160ff021916908360028111156106c757fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b61071b34600754610ebf90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108dd57600080fd5b6002808111156108e957fe5b600b60009054906101000a900460ff16600281111561090457fe5b14151561091057600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b6002600b60006101000a81548160ff021916908360028111156109a457fe5b0217905550565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a675780601f10610a3c57610100808354040283529160200191610a67565b820191906000526020600020905b815481529060010190602001808311610a4a57829003601f168201915b505050505081565b6000600954905090565b6000600d5442111515610a8f5760009050610b23565b610b20600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610edd90919063ffffffff16565b90505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610b5b57fe5b600b60009054906101000a900460ff166002811115610b7657fe5b1415610b855760019050610b8a565b600090505b90565b6000600854905090565b600060016002811115610ba657fe5b600b60009054906101000a900460ff166002811115610bc157fe5b1415610bd05760019050610bd5565b600090505b90565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c3557600080fd5b60006002811115610c4257fe5b600b60009054906101000a900460ff166002811115610c5d57fe5b141515610c6957600080fd5b82600881905550600854600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600d819055506001600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600b60006101000a81548160ff02191690836002811115610d2157fe5b0217905550600190509392505050565b6000600454905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d9657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610dd257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808273ffffffffffffffffffffffffffffffffffffffff16141515610eb657600080fd5b60019050919050565b6000808284019050838110151515610ed357fe5b8091505092915050565b60008082840290506000841480610efe5750828482811515610efb57fe5b04145b1515610f0657fe5b80915050929150505600a165627a7a72305820dfd82a33b2f534f1bb79d33b846c4b2c047d90abbd93c3239fe339e74b5991dd0029", "deployedBytecode": "0x606060405260043610610112576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461011d57806309fc93c1146101ab5780630d668087146101f8578063112ed3f514610221578063200d2ed214610272578063439f5ac2146102a95780634b94f50e146102d25780634bb278f3146102fb578063521eb2731461031057806354fd4d50146103655780636ccce7a8146103f357806383786f8c1461041c5780638da5cb5b146104695780638f85f92c146104be57806397722acf146104eb5780639b3dfce014610514578063a4a2a9f614610541578063c828371e146105a4578063ed88c68e146105cd578063f2fde38b146105ef575b61011a610628565b50005b341561012857600080fd5b610130610793565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610170578082015181840152602081019050610155565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b657600080fd5b6101e2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610831565b6040518082815260200191505060405180910390f35b341561020357600080fd5b61020b61087a565b6040518082815260200191505060405180910390f35b341561022c57600080fd5b610258600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610880565b604051808215151515815260200191505060405180910390f35b341561027d57600080fd5b61028561095e565b6040518082600281111561029557fe5b60ff16815260200191505060405180910390f35b34156102b457600080fd5b6102bc610971565b6040518082815260200191505060405180910390f35b34156102dd57600080fd5b6102e561097b565b6040518082815260200191505060405180910390f35b341561030657600080fd5b61030e610985565b005b341561031b57600080fd5b6103236109ab565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561037057600080fd5b6103786109d1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103b857808201518184015260208101905061039d565b50505050905090810190601f1680156103e55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103fe57600080fd5b610406610a6f565b6040518082815260200191505060405180910390f35b341561042757600080fd5b610453600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610a79565b6040518082815260200191505060405180910390f35b341561047457600080fd5b61047c610b28565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104c957600080fd5b6104d1610b4d565b604051808215151515815260200191505060405180910390f35b34156104f657600080fd5b6104fe610b8d565b6040518082815260200191505060405180910390f35b341561051f57600080fd5b610527610b97565b604051808215151515815260200191505060405180910390f35b341561054c57600080fd5b61058a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091908035906020019091905050610bd8565b604051808215151515815260200191505060405180910390f35b34156105af57600080fd5b6105b7610d31565b6040518082815260200191505060405180910390f35b6105d5610628565b604051808215151515815260200191505060405180910390f35b34156105fa57600080fd5b610626600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d3b565b005b60006001600281111561063757fe5b600b60009054906101000a900460ff16600281111561065257fe5b14151561065e57600080fd5b600454421015151561066f57600080fd5b6412a05f20003a1115151561068357600080fd5b60003411151561069257600080fd5b61069b33610e90565b151561070657426005819055506002600b60006101000a81548160ff021916908360028111156106c757fe5b02179055507f601095663bda08ac0f932087ef2eb08e42e4bcd1927f3a8d9500f6ad2c5aef906005546040518082815260200191505060405180910390a15b61071b34600754610ebf90919063ffffffff16565b6007819055507f2a01595cddf097c90216094025db714da3f4e5bd8877b56ba86a24ecead8e5433334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16001905090565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b505050505081565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108dd57600080fd5b6002808111156108e957fe5b600b60009054906101000a900460ff16600281111561090457fe5b14151561091057600080fd5b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060019050919050565b600b60009054906101000a900460ff1681565b6000600554905090565b6000600654905090565b6002600b60006101000a81548160ff021916908360028111156109a457fe5b0217905550565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a675780601f10610a3c57610100808354040283529160200191610a67565b820191906000526020600020905b815481529060010190602001808311610a4a57829003601f168201915b505050505081565b6000600954905090565b6000600d5442111515610a8f5760009050610b23565b610b20600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610edd90919063ffffffff16565b90505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600280811115610b5b57fe5b600b60009054906101000a900460ff166002811115610b7657fe5b1415610b855760019050610b8a565b600090505b90565b6000600854905090565b600060016002811115610ba657fe5b600b60009054906101000a900460ff166002811115610bc157fe5b1415610bd05760019050610bd5565b600090505b90565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c3557600080fd5b60006002811115610c4257fe5b600b60009054906101000a900460ff166002811115610c5d57fe5b141515610c6957600080fd5b82600881905550600854600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600d819055506001600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600b60006101000a81548160ff02191690836002811115610d2157fe5b0217905550600190509392505050565b6000600454905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d9657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610dd257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808273ffffffffffffffffffffffffffffffffffffffff16141515610eb657600080fd5b60019050919050565b6000808284019050838110151515610ed357fe5b8091505092915050565b60008082840290506000841480610efe5750828482811515610efb57fe5b04145b1515610f0657fe5b80915050929150505600a165627a7a72305820dfd82a33b2f534f1bb79d33b846c4b2c047d90abbd93c3239fe339e74b5991dd0029", - "sourceMap": "172:988:10:-;;;282:118;;;;;;;;603:10:6;595:5;;:18;;;;;;;;;;;;;;;;;;878::7;869:6;;:27;;;;;;;;;;;;;;;;;;;;;;;;921:1;902:16;:20;;;;937:10;928:6;;:19;;;;;;;;;;;;;;;;;;319:53:10;;;;;;;;;;;;;;;;;;;;;;;:4;:53;;;;;;;;;;;;:::i;:::-;;378:17;;;;;;;;;;;;;;;;;;:7;:17;;;;;;;;;;;;:::i;:::-;;172:988;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "172:988:10:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3199:8:7;:6;:8::i;:::-;;172:988:10;281:19:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1912:106:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;252:23:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1653:202:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;629:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2657:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2064:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;784:62:10;;;;;;;;;;;;;;330:21:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2368:97:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;965:193:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:129:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2210:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2802:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;404:376:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2523:85:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521:7;1061:4;1092:17;1082:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1074:36;;;;;;;;1144:9;;1125:15;:28;;1117:37;;;;;;;;1227:11;1212;:26;;1204:35;;;;;;;;1266:1;1254:9;:13;1246:22;;;;;;;;1315:25;1329:10;1315:13;:25::i;:::-;1314:26;1310:114;;;1360:3;1350:7;:13;;;;1380:15;1371:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1403:14;1409:7;;1403:14;;;;;;;;;;;;;;;;;;1310:114;1450:31;1471:9;1450:16;;:20;;:31;;;;:::i;:::-;1431:16;:50;;;;1488:30;1496:10;1508:9;1488:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;1531:4;1524:11;;1019:521;:::o;281:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1912:106::-;1976:4;1995:11;:18;2007:5;1995:18;;;;;;;;;;;;;;;;1988:25;;1912:106;;;:::o;252:23:10:-;;;;:::o;1653:202:7:-;1721:4;748:5:6;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1752:15:7;1742:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;1734:34;;;;;;;;1830:1;1809:11;:18;1821:5;1809:18;;;;;;;;;;;;;;;:22;;;;1845:4;1838:11;;1653:202;;;:::o;629:20::-;;;;;;;;;;;;;:::o;2657:81::-;2704:7;2726;;2719:14;;2657:81;:::o;2064:86::-;2113:7;2135:10;;2128:17;;2064:86;:::o;784:62:10:-;826:15;817:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;784:62::o;330:21:7:-;;;;;;;;;;;;;:::o;304:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2368:97::-;2415:7;2437:23;;2430:30;;2368:97;:::o;965:193:10:-;1032:7;1070:8;;1051:15;:27;;1047:48;;;1094:1;1087:8;;;;1047:48;1109:44;1132:13;:20;1146:5;1132:20;;;;;;;;;;;;;;;;1109:11;:18;1121:5;1109:18;;;;;;;;;;;;;;;;:22;;:44;;;;:::i;:::-;1102:51;;965:193;;;;:::o;334:20:6:-;;;;;;;;;;;;;:::o;2997:129:7:-;3043:4;3069:15;3059:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3055:48;;;3099:4;3092:11;;;;3055:48;3116:5;3109:12;;2997:129;;:::o;2210:101::-;2259:7;2281:25;;2274:32;;2210:101;:::o;2802:133::-;2850:4;2876:17;2866:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;2862:50;;;2908:4;2901:11;;;;2862:50;2925:5;2918:12;;2802:133;;:::o;404:376:10:-;521:4;748:5:6;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;554:18:10;544:28;;;;;;;;:6;;;;;;;;;;;:28;;;;;;;;;536:37;;;;;;;;607:11;579:25;:39;;;;647:25;;624:13;:20;638:5;624:20;;;;;;;;;;;;;;;:48;;;;689:9;678:8;:20;;;;725:1;704:11;:18;716:5;704:18;;;;;;;;;;;;;;;:22;;;;741:17;732:6;;:26;;;;;;;;;;;;;;;;;;;;;;;;771:4;764:11;;404:376;;;;;:::o;2523:85:7:-;2572:7;2594:9;;2587:16;;2523:85;:::o;928:169:6:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;850:111:10:-;906:4;935:3;926:5;:12;;;918:21;;;;;;;;952:4;945:11;;850:111;;;:::o;759:128:12:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;232:142::-;289:7;304:9;320:1;316;:5;304:17;;339:1;334;:6;:20;;;;353:1;348;344;:5;;;;;;;;:10;334:20;327:28;;;;;;368:1;361:8;;232:142;;;;;:::o", + "sourceMap": "172:988:14:-;;;282:118;;;;;;;;603:10:8;595:5;;:18;;;;;;;;;;;;;;;;;;878::9;869:6;;:27;;;;;;;;;;;;;;;;;;;;;;;;921:1;902:16;:20;;;;937:10;928:6;;:19;;;;;;;;;;;;;;;;;;319:53:14;;;;;;;;;;;;;;;;;;;;;;;:4;:53;;;;;;;;;;;;:::i;:::-;;378:17;;;;;;;;;;;;;;;;;;:7;:17;;;;;;;;;;;;:::i;:::-;;172:988;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "172:988:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3199:8:9;:6;:8::i;:::-;;172:988:14;281:19:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1912:106:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;252:23:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1653:202:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;629:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2657:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2064:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;784:62:14;;;;;;;;;;;;;;330:21:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;52:2;49:1;45:3;40:15;;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2368:97:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;965:193:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;334:20:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:129:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2210:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2802:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;404:376:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2523:85:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521;;;;;;;;;;;;;;;;;;;;;;;;;;;928:169:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;1019:521:9;1061:4;1092:17;1082:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;1074:36;;;;;;;;1144:9;;1125:15;:28;;1117:37;;;;;;;;1227:11;1212;:26;;1204:35;;;;;;;;1266:1;1254:9;:13;1246:22;;;;;;;;1315:25;1329:10;1315:13;:25::i;:::-;1314:26;1310:114;;;1360:3;1350:7;:13;;;;1380:15;1371:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;1403:14;1409:7;;1403:14;;;;;;;;;;;;;;;;;;1310:114;1450:31;1471:9;1450:16;;:20;;:31;;;;:::i;:::-;1431:16;:50;;;;1488:30;1496:10;1508:9;1488:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;1531:4;1524:11;;1019:521;:::o;281:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1912:106::-;1976:4;1995:11;:18;2007:5;1995:18;;;;;;;;;;;;;;;;1988:25;;1912:106;;;:::o;252:23:14:-;;;;:::o;1653:202:9:-;1721:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1752:15:9;1742:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;1734:34;;;;;;;;1830:1;1809:11;:18;1821:5;1809:18;;;;;;;;;;;;;;;:22;;;;1845:4;1838:11;;1653:202;;;:::o;629:20::-;;;;;;;;;;;;;:::o;2657:81::-;2704:7;2726;;2719:14;;2657:81;:::o;2064:86::-;2113:7;2135:10;;2128:17;;2064:86;:::o;784:62:14:-;826:15;817:6;;:24;;;;;;;;;;;;;;;;;;;;;;;;784:62::o;330:21:9:-;;;;;;;;;;;;;:::o;304:22::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2368:97::-;2415:7;2437:23;;2430:30;;2368:97;:::o;965:193:14:-;1032:7;1070:8;;1051:15;:27;;1047:48;;;1094:1;1087:8;;;;1047:48;1109:44;1132:13;:20;1146:5;1132:20;;;;;;;;;;;;;;;;1109:11;:18;1121:5;1109:18;;;;;;;;;;;;;;;;:22;;:44;;;;:::i;:::-;1102:51;;965:193;;;;:::o;334:20:8:-;;;;;;;;;;;;;:::o;2997:129:9:-;3043:4;3069:15;3059:25;;;;;;;;:6;;;;;;;;;;;:25;;;;;;;;;3055:48;;;3099:4;3092:11;;;;3055:48;3116:5;3109:12;;2997:129;;:::o;2210:101::-;2259:7;2281:25;;2274:32;;2210:101;:::o;2802:133::-;2850:4;2876:17;2866:27;;;;;;;;:6;;;;;;;;;;;:27;;;;;;;;;2862:50;;;2908:4;2901:11;;;;2862:50;2925:5;2918:12;;2802:133;;:::o;404:376:14:-;521:4;748:5:8;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;554:18:14;544:28;;;;;;;;:6;;;;;;;;;;;:28;;;;;;;;;536:37;;;;;;;;607:11;579:25;:39;;;;647:25;;624:13;:20;638:5;624:20;;;;;;;;;;;;;;;:48;;;;689:9;678:8;:20;;;;725:1;704:11;:18;716:5;704:18;;;;;;;;;;;;;;;:22;;;;741:17;732:6;;:26;;;;;;;;;;;;;;;;;;;;;;;;771:4;764:11;;404:376;;;;;:::o;2523:85:9:-;2572:7;2594:9;;2587:16;;2523:85;:::o;928:169:8:-;748:5;;;;;;;;;;;734:19;;:10;:19;;;726:28;;;;;;;;1024:1;1004:22;;:8;:22;;;;996:31;;;;;;;;1061:8;1033:37;;1054:5;;;;;;;;;;;1033:37;;;;;;;;;;;;1084:8;1076:5;;:16;;;;;;;;;;;;;;;;;;928:169;:::o;850:111:14:-;906:4;935:3;926:5;:12;;;918:21;;;;;;;;952:4;945:11;;850:111;;;:::o;759:128:16:-;816:7;831:9;847:1;843;:5;831:17;;866:1;861;:6;;854:14;;;;;;881:1;874:8;;759:128;;;;;:::o;232:142::-;289:7;304:9;320:1;316;:5;304:17;;339:1;334;:6;:20;;;;353:1;348;344;:5;;;;;;;;:10;334:20;327:28;;;;;;368:1;361:8;;232:142;;;;;:::o", "source": "pragma solidity ^0.4.18;\nimport \"../PoD.sol\";\n\n/// @title SimplePoD - SimplePoD contract\n/// @author - Yusaku Senga - \n/// license let's see in LICENSE\n\ncontract TokenMintPoD is PoD {\n\n mapping(address => uint256) tokenBalances; \n uint256 public lockTime;\n \n function TokenMintPoD() public {\n name = \"TokenMintPoD mean that minting Token to user\";\n version = \"0.9.3\";\n }\n\n function init(\n address _user, \n uint256 _capOfToken,\n uint256 _lockTime\n ) \n public onlyOwner() returns (bool) \n {\n require(status == Status.PoDDeployed);\n proofOfDonationCapOfToken = _capOfToken;\n tokenBalances[_user] = proofOfDonationCapOfToken;\n lockTime = _lockTime;\n weiBalances[_user] = 1;\n status = Status.PoDStarted;\n return true;\n }\n\n function finalize() public {\n status = Status.PoDEnded;\n }\n\n function processDonate(address _user) internal returns (bool) {\n require(_user == 0x0);\n return true;\n }\n\n function getBalanceOfToken(address _user) public constant returns (uint256) {\n if (block.timestamp <= lockTime) \n return 0;\n\n return weiBalances[_user].mul(tokenBalances[_user]);\n }\n}\n", "sourcePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/TokenMintPoD.sol", "ast": { @@ -373,7 +373,7 @@ "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoDs/TokenMintPoD.sol", "exportedSymbols": { "TokenMintPoD": [ - 1733 + 4080 ] } }, @@ -387,41 +387,41 @@ ".18" ] }, - "id": 1614, + "id": 3961, "name": "PragmaDirective", - "src": "0:24:10" + "src": "0:24:14" }, { "attributes": { - "SourceUnit": 1139, + "SourceUnit": 2350, "absolutePath": "/Users/sengayusaku/repo/RICO/contracts/PoD.sol", "file": "../PoD.sol", - "scope": 1734, + "scope": 4081, "symbolAliases": [ null ], "unitAlias": "" }, - "id": 1615, + "id": 3962, "name": "ImportDirective", - "src": "25:20:10" + "src": "25:20:14" }, { "attributes": { "contractDependencies": [ - 873, - 1138 + 2084, + 2349 ], "contractKind": "contract", "documentation": "@title SimplePoD - SimplePoD contract\n @author - Yusaku Senga - \n license let's see in LICENSE", "fullyImplemented": true, "linearizedBaseContracts": [ - 1733, - 1138, - 873 + 4080, + 2349, + 2084 ], "name": "TokenMintPoD", - "scope": 1734 + "scope": 4081 }, "children": [ { @@ -435,23 +435,23 @@ "attributes": { "contractScope": null, "name": "PoD", - "referencedDeclaration": 1138, + "referencedDeclaration": 2349, "type": "contract PoD" }, - "id": 1616, + "id": 3963, "name": "UserDefinedTypeName", - "src": "197:3:10" + "src": "197:3:14" } ], - "id": 1617, + "id": 3964, "name": "InheritanceSpecifier", - "src": "197:3:10" + "src": "197:3:14" }, { "attributes": { "constant": false, "name": "tokenBalances", - "scope": 1733, + "scope": 4080, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => uint256)", @@ -469,34 +469,34 @@ "name": "address", "type": "address" }, - "id": 1618, + "id": 3965, "name": "ElementaryTypeName", - "src": "214:7:10" + "src": "214:7:14" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1619, + "id": 3966, "name": "ElementaryTypeName", - "src": "225:7:10" + "src": "225:7:14" } ], - "id": 1620, + "id": 3967, "name": "Mapping", - "src": "206:27:10" + "src": "206:27:14" } ], - "id": 1621, + "id": 3968, "name": "VariableDeclaration", - "src": "206:41:10" + "src": "206:41:14" }, { "attributes": { "constant": false, "name": "lockTime", - "scope": 1733, + "scope": 4080, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -509,14 +509,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1622, + "id": 3969, "name": "ElementaryTypeName", - "src": "252:7:10" + "src": "252:7:14" } ], - "id": 1623, + "id": 3970, "name": "VariableDeclaration", - "src": "252:23:10" + "src": "252:23:14" }, { "attributes": { @@ -528,7 +528,7 @@ ], "name": "TokenMintPoD", "payable": false, - "scope": 1733, + "scope": 4080, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -541,9 +541,9 @@ ] }, "children": [], - "id": 1624, + "id": 3971, "name": "ParameterList", - "src": "303:2:10" + "src": "303:2:14" }, { "attributes": { @@ -552,9 +552,9 @@ ] }, "children": [], - "id": 1625, + "id": 3972, "name": "ParameterList", - "src": "313:0:10" + "src": "313:0:14" }, { "children": [ @@ -577,13 +577,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 884, + "referencedDeclaration": 2095, "type": "string storage ref", "value": "name" }, - "id": 1626, + "id": 3973, "name": "Identifier", - "src": "319:4:10" + "src": "319:4:14" }, { "attributes": { @@ -598,19 +598,19 @@ "type": "literal_string \"TokenMintPoD mean that minting Token to user\"", "value": "TokenMintPoD mean that minting Token to user" }, - "id": 1627, + "id": 3974, "name": "Literal", - "src": "326:46:10" + "src": "326:46:14" } ], - "id": 1628, + "id": 3975, "name": "Assignment", - "src": "319:53:10" + "src": "319:53:14" } ], - "id": 1629, + "id": 3976, "name": "ExpressionStatement", - "src": "319:53:10" + "src": "319:53:14" }, { "children": [ @@ -631,13 +631,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 886, + "referencedDeclaration": 2097, "type": "string storage ref", "value": "version" }, - "id": 1630, + "id": 3977, "name": "Identifier", - "src": "378:7:10" + "src": "378:7:14" }, { "attributes": { @@ -652,29 +652,29 @@ "type": "literal_string \"0.9.3\"", "value": "0.9.3" }, - "id": 1631, + "id": 3978, "name": "Literal", - "src": "388:7:10" + "src": "388:7:14" } ], - "id": 1632, + "id": 3979, "name": "Assignment", - "src": "378:17:10" + "src": "378:17:14" } ], - "id": 1633, + "id": 3980, "name": "ExpressionStatement", - "src": "378:17:10" + "src": "378:17:14" } ], - "id": 1634, + "id": 3981, "name": "Block", - "src": "313:87:10" + "src": "313:87:14" } ], - "id": 1635, + "id": 3982, "name": "FunctionDefinition", - "src": "282:118:10" + "src": "282:118:14" }, { "attributes": { @@ -683,7 +683,7 @@ "isConstructor": false, "name": "init", "payable": false, - "scope": 1733, + "scope": 4080, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -695,7 +695,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1683, + "scope": 4030, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -708,20 +708,20 @@ "name": "address", "type": "address" }, - "id": 1636, + "id": 3983, "name": "ElementaryTypeName", - "src": "423:7:10" + "src": "423:7:14" } ], - "id": 1637, + "id": 3984, "name": "VariableDeclaration", - "src": "423:13:10" + "src": "423:13:14" }, { "attributes": { "constant": false, "name": "_capOfToken", - "scope": 1683, + "scope": 4030, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -734,20 +734,20 @@ "name": "uint256", "type": "uint256" }, - "id": 1638, + "id": 3985, "name": "ElementaryTypeName", - "src": "443:7:10" + "src": "443:7:14" } ], - "id": 1639, + "id": 3986, "name": "VariableDeclaration", - "src": "443:19:10" + "src": "443:19:14" }, { "attributes": { "constant": false, "name": "_lockTime", - "scope": 1683, + "scope": 4030, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -760,19 +760,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1640, + "id": 3987, "name": "ElementaryTypeName", - "src": "468:7:10" + "src": "468:7:14" } ], - "id": 1641, + "id": 3988, "name": "VariableDeclaration", - "src": "468:17:10" + "src": "468:17:14" } ], - "id": 1642, + "id": 3989, "name": "ParameterList", - "src": "417:72:10" + "src": "417:72:14" }, { "children": [ @@ -780,7 +780,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1683, + "scope": 4030, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -793,19 +793,19 @@ "name": "bool", "type": "bool" }, - "id": 1645, + "id": 3992, "name": "ElementaryTypeName", - "src": "521:4:10" + "src": "521:4:14" } ], - "id": 1646, + "id": 3993, "name": "VariableDeclaration", - "src": "521:4:10" + "src": "521:4:14" } ], - "id": 1647, + "id": 3994, "name": "ParameterList", - "src": "520:6:10" + "src": "520:6:14" }, { "attributes": { @@ -820,18 +820,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 847, + "referencedDeclaration": 2058, "type": "modifier ()", "value": "onlyOwner" }, - "id": 1643, + "id": 3990, "name": "Identifier", - "src": "500:9:10" + "src": "500:9:14" } ], - "id": 1644, + "id": 3991, "name": "ModifierInvocation", - "src": "500:11:10" + "src": "500:11:14" }, { "children": [ @@ -863,19 +863,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1648, + "id": 3995, "name": "Identifier", - "src": "536:7:10" + "src": "536:7:14" }, { "attributes": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_Status_$908", + "typeIdentifier": "t_enum$_Status_$2119", "typeString": "enum PoD.Status" }, "isConstant": false, @@ -892,13 +892,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1649, + "id": 3996, "name": "Identifier", - "src": "544:6:10" + "src": "544:6:14" }, { "attributes": { @@ -918,33 +918,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1650, + "id": 3997, "name": "Identifier", - "src": "554:6:10" + "src": "554:6:14" } ], - "id": 1651, + "id": 3998, "name": "MemberAccess", - "src": "554:18:10" + "src": "554:18:14" } ], - "id": 1652, + "id": 3999, "name": "BinaryOperation", - "src": "544:28:10" + "src": "544:28:14" } ], - "id": 1653, + "id": 4000, "name": "FunctionCall", - "src": "536:37:10" + "src": "536:37:14" } ], - "id": 1654, + "id": 4001, "name": "ExpressionStatement", - "src": "536:37:10" + "src": "536:37:14" }, { "children": [ @@ -965,13 +965,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 898, + "referencedDeclaration": 2109, "type": "uint256", "value": "proofOfDonationCapOfToken" }, - "id": 1655, + "id": 4002, "name": "Identifier", - "src": "579:25:10" + "src": "579:25:14" }, { "attributes": { @@ -979,23 +979,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1639, + "referencedDeclaration": 3986, "type": "uint256", "value": "_capOfToken" }, - "id": 1656, + "id": 4003, "name": "Identifier", - "src": "607:11:10" + "src": "607:11:14" } ], - "id": 1657, + "id": 4004, "name": "Assignment", - "src": "579:39:10" + "src": "579:39:14" } ], - "id": 1658, + "id": 4005, "name": "ExpressionStatement", - "src": "579:39:10" + "src": "579:39:14" }, { "children": [ @@ -1026,13 +1026,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1621, + "referencedDeclaration": 3968, "type": "mapping(address => uint256)", "value": "tokenBalances" }, - "id": 1659, + "id": 4006, "name": "Identifier", - "src": "624:13:10" + "src": "624:13:14" }, { "attributes": { @@ -1040,18 +1040,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1637, + "referencedDeclaration": 3984, "type": "address", "value": "_user" }, - "id": 1660, + "id": 4007, "name": "Identifier", - "src": "638:5:10" + "src": "638:5:14" } ], - "id": 1661, + "id": 4008, "name": "IndexAccess", - "src": "624:20:10" + "src": "624:20:14" }, { "attributes": { @@ -1059,23 +1059,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 898, + "referencedDeclaration": 2109, "type": "uint256", "value": "proofOfDonationCapOfToken" }, - "id": 1662, + "id": 4009, "name": "Identifier", - "src": "647:25:10" + "src": "647:25:14" } ], - "id": 1663, + "id": 4010, "name": "Assignment", - "src": "624:48:10" + "src": "624:48:14" } ], - "id": 1664, + "id": 4011, "name": "ExpressionStatement", - "src": "624:48:10" + "src": "624:48:14" }, { "children": [ @@ -1096,13 +1096,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 3970, "type": "uint256", "value": "lockTime" }, - "id": 1665, + "id": 4012, "name": "Identifier", - "src": "678:8:10" + "src": "678:8:14" }, { "attributes": { @@ -1110,23 +1110,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1641, + "referencedDeclaration": 3988, "type": "uint256", "value": "_lockTime" }, - "id": 1666, + "id": 4013, "name": "Identifier", - "src": "689:9:10" + "src": "689:9:14" } ], - "id": 1667, + "id": 4014, "name": "Assignment", - "src": "678:20:10" + "src": "678:20:14" } ], - "id": 1668, + "id": 4015, "name": "ExpressionStatement", - "src": "678:20:10" + "src": "678:20:14" }, { "children": [ @@ -1157,13 +1157,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1669, + "id": 4016, "name": "Identifier", - "src": "704:11:10" + "src": "704:11:14" }, { "attributes": { @@ -1171,18 +1171,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1637, + "referencedDeclaration": 3984, "type": "address", "value": "_user" }, - "id": 1670, + "id": 4017, "name": "Identifier", - "src": "716:5:10" + "src": "716:5:14" } ], - "id": 1671, + "id": 4018, "name": "IndexAccess", - "src": "704:18:10" + "src": "704:18:14" }, { "attributes": { @@ -1197,19 +1197,19 @@ "type": "int_const 1", "value": "1" }, - "id": 1672, + "id": 4019, "name": "Literal", - "src": "725:1:10" + "src": "725:1:14" } ], - "id": 1673, + "id": 4020, "name": "Assignment", - "src": "704:22:10" + "src": "704:22:14" } ], - "id": 1674, + "id": 4021, "name": "ExpressionStatement", - "src": "704:22:10" + "src": "704:22:14" }, { "children": [ @@ -1230,13 +1230,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1675, + "id": 4022, "name": "Identifier", - "src": "732:6:10" + "src": "732:6:14" }, { "attributes": { @@ -1256,32 +1256,32 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1676, + "id": 4023, "name": "Identifier", - "src": "741:6:10" + "src": "741:6:14" } ], - "id": 1677, + "id": 4024, "name": "MemberAccess", - "src": "741:17:10" + "src": "741:17:14" } ], - "id": 1678, + "id": 4025, "name": "Assignment", - "src": "732:26:10" + "src": "732:26:14" } ], - "id": 1679, + "id": 4026, "name": "ExpressionStatement", - "src": "732:26:10" + "src": "732:26:14" }, { "attributes": { - "functionReturnParameters": 1647 + "functionReturnParameters": 3994 }, "children": [ { @@ -1297,24 +1297,24 @@ "type": "bool", "value": "true" }, - "id": 1680, + "id": 4027, "name": "Literal", - "src": "771:4:10" + "src": "771:4:14" } ], - "id": 1681, + "id": 4028, "name": "Return", - "src": "764:11:10" + "src": "764:11:14" } ], - "id": 1682, + "id": 4029, "name": "Block", - "src": "530:250:10" + "src": "530:250:14" } ], - "id": 1683, + "id": 4030, "name": "FunctionDefinition", - "src": "404:376:10" + "src": "404:376:14" }, { "attributes": { @@ -1326,7 +1326,7 @@ ], "name": "finalize", "payable": false, - "scope": 1733, + "scope": 4080, "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -1339,9 +1339,9 @@ ] }, "children": [], - "id": 1684, + "id": 4031, "name": "ParameterList", - "src": "801:2:10" + "src": "801:2:14" }, { "attributes": { @@ -1350,9 +1350,9 @@ ] }, "children": [], - "id": 1685, + "id": 4032, "name": "ParameterList", - "src": "811:0:10" + "src": "811:0:14" }, { "children": [ @@ -1375,13 +1375,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 910, + "referencedDeclaration": 2121, "type": "enum PoD.Status", "value": "status" }, - "id": 1686, + "id": 4033, "name": "Identifier", - "src": "817:6:10" + "src": "817:6:14" }, { "attributes": { @@ -1401,38 +1401,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 908, + "referencedDeclaration": 2119, "type": "type(enum PoD.Status)", "value": "Status" }, - "id": 1687, + "id": 4034, "name": "Identifier", - "src": "826:6:10" + "src": "826:6:14" } ], - "id": 1688, + "id": 4035, "name": "MemberAccess", - "src": "826:15:10" + "src": "826:15:14" } ], - "id": 1689, + "id": 4036, "name": "Assignment", - "src": "817:24:10" + "src": "817:24:14" } ], - "id": 1690, + "id": 4037, "name": "ExpressionStatement", - "src": "817:24:10" + "src": "817:24:14" } ], - "id": 1691, + "id": 4038, "name": "Block", - "src": "811:35:10" + "src": "811:35:14" } ], - "id": 1692, + "id": 4039, "name": "FunctionDefinition", - "src": "784:62:10" + "src": "784:62:14" }, { "attributes": { @@ -1444,9 +1444,9 @@ ], "name": "processDonate", "payable": false, - "scope": 1733, + "scope": 4080, "stateMutability": "nonpayable", - "superFunction": 1130, + "superFunction": 2341, "visibility": "internal" }, "children": [ @@ -1456,7 +1456,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1708, + "scope": 4055, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1469,19 +1469,19 @@ "name": "address", "type": "address" }, - "id": 1693, + "id": 4040, "name": "ElementaryTypeName", - "src": "873:7:10" + "src": "873:7:14" } ], - "id": 1694, + "id": 4041, "name": "VariableDeclaration", - "src": "873:13:10" + "src": "873:13:14" } ], - "id": 1695, + "id": 4042, "name": "ParameterList", - "src": "872:15:10" + "src": "872:15:14" }, { "children": [ @@ -1489,7 +1489,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1708, + "scope": 4055, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -1502,19 +1502,19 @@ "name": "bool", "type": "bool" }, - "id": 1696, + "id": 4043, "name": "ElementaryTypeName", - "src": "906:4:10" + "src": "906:4:14" } ], - "id": 1697, + "id": 4044, "name": "VariableDeclaration", - "src": "906:4:10" + "src": "906:4:14" } ], - "id": 1698, + "id": 4045, "name": "ParameterList", - "src": "905:6:10" + "src": "905:6:14" }, { "children": [ @@ -1546,13 +1546,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2167, + "referencedDeclaration": 4514, "type": "function (bool) pure", "value": "require" }, - "id": 1699, + "id": 4046, "name": "Identifier", - "src": "918:7:10" + "src": "918:7:14" }, { "attributes": { @@ -1575,13 +1575,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1694, + "referencedDeclaration": 4041, "type": "address", "value": "_user" }, - "id": 1700, + "id": 4047, "name": "Identifier", - "src": "926:5:10" + "src": "926:5:14" }, { "attributes": { @@ -1596,28 +1596,28 @@ "type": "int_const 0", "value": "0x0" }, - "id": 1701, + "id": 4048, "name": "Literal", - "src": "935:3:10" + "src": "935:3:14" } ], - "id": 1702, + "id": 4049, "name": "BinaryOperation", - "src": "926:12:10" + "src": "926:12:14" } ], - "id": 1703, + "id": 4050, "name": "FunctionCall", - "src": "918:21:10" + "src": "918:21:14" } ], - "id": 1704, + "id": 4051, "name": "ExpressionStatement", - "src": "918:21:10" + "src": "918:21:14" }, { "attributes": { - "functionReturnParameters": 1698 + "functionReturnParameters": 4045 }, "children": [ { @@ -1633,24 +1633,24 @@ "type": "bool", "value": "true" }, - "id": 1705, + "id": 4052, "name": "Literal", - "src": "952:4:10" + "src": "952:4:14" } ], - "id": 1706, + "id": 4053, "name": "Return", - "src": "945:11:10" + "src": "945:11:14" } ], - "id": 1707, + "id": 4054, "name": "Block", - "src": "912:49:10" + "src": "912:49:14" } ], - "id": 1708, + "id": 4055, "name": "FunctionDefinition", - "src": "850:111:10" + "src": "850:111:14" }, { "attributes": { @@ -1662,9 +1662,9 @@ ], "name": "getBalanceOfToken", "payable": false, - "scope": 1733, + "scope": 4080, "stateMutability": "view", - "superFunction": 1137, + "superFunction": 2348, "visibility": "public" }, "children": [ @@ -1674,7 +1674,7 @@ "attributes": { "constant": false, "name": "_user", - "scope": 1732, + "scope": 4079, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1687,19 +1687,19 @@ "name": "address", "type": "address" }, - "id": 1709, + "id": 4056, "name": "ElementaryTypeName", - "src": "992:7:10" + "src": "992:7:14" } ], - "id": 1710, + "id": 4057, "name": "VariableDeclaration", - "src": "992:13:10" + "src": "992:13:14" } ], - "id": 1711, + "id": 4058, "name": "ParameterList", - "src": "991:15:10" + "src": "991:15:14" }, { "children": [ @@ -1707,7 +1707,7 @@ "attributes": { "constant": false, "name": "", - "scope": 1732, + "scope": 4079, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1720,19 +1720,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1712, + "id": 4059, "name": "ElementaryTypeName", - "src": "1032:7:10" + "src": "1032:7:14" } ], - "id": 1713, + "id": 4060, "name": "VariableDeclaration", - "src": "1032:7:10" + "src": "1032:7:14" } ], - "id": 1714, + "id": 4061, "name": "ParameterList", - "src": "1031:9:10" + "src": "1031:9:14" }, { "children": [ @@ -1774,18 +1774,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2156, + "referencedDeclaration": 4503, "type": "block", "value": "block" }, - "id": 1715, + "id": 4062, "name": "Identifier", - "src": "1051:5:10" + "src": "1051:5:14" } ], - "id": 1716, + "id": 4063, "name": "MemberAccess", - "src": "1051:15:10" + "src": "1051:15:14" }, { "attributes": { @@ -1793,22 +1793,22 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 3970, "type": "uint256", "value": "lockTime" }, - "id": 1717, + "id": 4064, "name": "Identifier", - "src": "1070:8:10" + "src": "1070:8:14" } ], - "id": 1718, + "id": 4065, "name": "BinaryOperation", - "src": "1051:27:10" + "src": "1051:27:14" }, { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 4061 }, "children": [ { @@ -1824,23 +1824,23 @@ "type": "int_const 0", "value": "0" }, - "id": 1719, + "id": 4066, "name": "Literal", - "src": "1094:1:10" + "src": "1094:1:14" } ], - "id": 1720, + "id": 4067, "name": "Return", - "src": "1087:8:10" + "src": "1087:8:14" } ], - "id": 1721, + "id": 4068, "name": "IfStatement", - "src": "1047:48:10" + "src": "1047:48:14" }, { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 4061 }, "children": [ { @@ -1871,7 +1871,7 @@ "isPure": false, "lValueRequested": false, "member_name": "mul", - "referencedDeclaration": 2089, + "referencedDeclaration": 4436, "type": "function (uint256,uint256) pure returns (uint256)" }, "children": [ @@ -1891,13 +1891,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 904, + "referencedDeclaration": 2115, "type": "mapping(address => uint256)", "value": "weiBalances" }, - "id": 1722, + "id": 4069, "name": "Identifier", - "src": "1109:11:10" + "src": "1109:11:14" }, { "attributes": { @@ -1905,23 +1905,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 4057, "type": "address", "value": "_user" }, - "id": 1723, + "id": 4070, "name": "Identifier", - "src": "1121:5:10" + "src": "1121:5:14" } ], - "id": 1724, + "id": 4071, "name": "IndexAccess", - "src": "1109:18:10" + "src": "1109:18:14" } ], - "id": 1725, + "id": 4072, "name": "MemberAccess", - "src": "1109:22:10" + "src": "1109:22:14" }, { "attributes": { @@ -1939,13 +1939,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1621, + "referencedDeclaration": 3968, "type": "mapping(address => uint256)", "value": "tokenBalances" }, - "id": 1726, + "id": 4073, "name": "Identifier", - "src": "1132:13:10" + "src": "1132:13:14" }, { "attributes": { @@ -1953,48 +1953,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 4057, "type": "address", "value": "_user" }, - "id": 1727, + "id": 4074, "name": "Identifier", - "src": "1146:5:10" + "src": "1146:5:14" } ], - "id": 1728, + "id": 4075, "name": "IndexAccess", - "src": "1132:20:10" + "src": "1132:20:14" } ], - "id": 1729, + "id": 4076, "name": "FunctionCall", - "src": "1109:44:10" + "src": "1109:44:14" } ], - "id": 1730, + "id": 4077, "name": "Return", - "src": "1102:51:10" + "src": "1102:51:14" } ], - "id": 1731, + "id": 4078, "name": "Block", - "src": "1041:117:10" + "src": "1041:117:14" } ], - "id": 1732, + "id": 4079, "name": "FunctionDefinition", - "src": "965:193:10" + "src": "965:193:14" } ], - "id": 1733, + "id": 4080, "name": "ContractDefinition", - "src": "172:988:10" + "src": "172:988:14" } ], - "id": 1734, + "id": 4081, "name": "SourceUnit", - "src": "0:1161:10" + "src": "0:1161:14" }, "compiler": { "name": "solc", @@ -2002,5 +2002,5 @@ }, "networks": {}, "schemaVersion": "1.0.1", - "updatedAt": "2018-01-12T09:25:39.482Z" + "updatedAt": "2018-01-15T16:10:12.655Z" } \ No newline at end of file diff --git a/contracts/PoDs/DaicoPoD.sol b/contracts/PoDs/DaicoPoD.sol new file mode 100644 index 0000000..57cca14 --- /dev/null +++ b/contracts/PoDs/DaicoPoD.sol @@ -0,0 +1,343 @@ +pragma solidity ^0.4.18; +import "../PoD.sol"; +import "../EIP20StandardToken.sol"; + +/// @title DaicoPoD - DaicoPoD contract +/// @author - Yusaku Senga - +/// license let's see in LICENSE + +contract DaicoPoD is PoD { + + // The tap is withdrawal limit (wei / sec) of founder's multisig wallet. + uint256 public tap; + // Latest withdrawal time. + uint256 public lastWithdrawn; + // Locked token balances of users. + mapping(address => uint256) lockedTokenBalances; + // Contract has the total amount of all voters. + uint256 public voterCount; + // Contract should be called refund function if the contract is refundable (withdraw mode). + bool public refundable; + // EIP20 token that locked to vote. + EIP20StandardToken public token; + // Token tokenMultiplier; e.g. 10 ** uint256(18) + uint256 tokenMultiplier; + // Flag that whether proposed vote or not. + bool isProposed; + + // Proposal struct is DAICO proposal + struct Proposal { + // Starting vote process at openVoteTime. + uint256 openVoteTime; + // Closing vote process at openVoteTime. + uint256 closeVoteTime; + // Ensure totalVoted Counter in a proposal. + uint256 totalVoted; + // Update tap value if proposal approved. + uint256 tapAmount; + // Represent the flag this proposal contains a Destructor call + bool isDestruct; + // Represent a voter's intention counter; e.g. Yes[true] of No[false] + mapping(bool => uint256) voted; + // Represent the flag to whether a voter voted or not. + mapping(address => bool) isVote; + } + // Storage of proposals. + Proposal[] proposals; + + /** + * Events + */ + + event Voted(address _user, bool _flag); + event DepositToken(address _user, uint256 _amount); + event WithdrawalToken(address _user, uint256 _amount); + event SubmittedProposal(uint256 _nextOpenTime, uint256 _nextCloseTime, uint256 _nextTapAmount, bool _isDestruct); + event ModifiedTap(uint256 _tapAmount); + event Withdraw(address _user, uint256 _amount, uint256 _time); + event Refund(address _user, uint256 _amount); + + + /** + * Constructor + * @dev Set the owner when this contract deployed. + */ + + function DaicoPoD() public { + name = "DaicoPoD strategy token with dao"; + version = "0.9.3"; + tap = 0; + voterCount = 0; + refundable = false; + isProposed = false; + } + + + /** + * @dev Initialized PoD. + * @param _wallet Address of founder's multisig wallet. + * @param _tokenDecimals Token decimals for EIP20 token contract. + * @param _token Address of EIP20 token contract. + */ + function init( + address _wallet, + uint8 _tokenDecimals, + address _token + ) + public onlyOwner() returns (bool) + { + require(status == Status.PoDDeployed); + require(_wallet != 0x0); + wallet = _wallet; + startTime = block.timestamp; + token = EIP20StandardToken(_token); + tokenMultiplier = 10 ** uint256(_tokenDecimals); + // The first time of contract deployed, contract's token balance should be zero. + require(token.balanceOf(this) == 0); + status = Status.PoDStarted; + return true; + } + + /** + * Public fucntions. + */ + + + /** + * @dev Deposit token to this contract for EIP20 token format. + * And lockedTokenBalances represents the amount of deposited token. + * @param _amount The amount of token allowed. + */ + function depositToken(uint256 _amount) public returns (bool) { + + require(!refundable); + + require(token.transferFrom(msg.sender, this, _amount)); + + lockedTokenBalances[msg.sender] = lockedTokenBalances[msg.sender].add(_amount); + + voterCount = voterCount.add(1); + + DepositToken(msg.sender, _amount); + + return true; + } + + /** + * @dev Withdraw token from this contract. + */ + function withdrawalToken() public returns (bool) { + + Proposal storage proposal = proposals[proposals.length-1]; + + require(!proposal.isVote[msg.sender]); + + uint256 amount = lockedTokenBalances[msg.sender]; + + require(amount > 0); + + token.transfer(msg.sender, lockedTokenBalances[msg.sender]); + + voterCount = voterCount.sub(1); + + lockedTokenBalances[msg.sender] = 0; + + WithdrawalToken(msg.sender, amount); + return true; + } + + + /** + * @dev Calling vote function is available while the proposal is opening. + * @param _flag The Flag of voter's intention. + */ + + function vote(bool _flag) public returns (bool) { + + Proposal storage proposal = proposals[proposals.length-1]; + + require(block.timestamp >= proposal.openVoteTime); + require(block.timestamp < proposal.closeVoteTime); + + require(!proposal.isVote[msg.sender]); + + require(lockedTokenBalances[msg.sender] >= tokenMultiplier.mul(15000)); + + proposal.isVote[msg.sender] = true; + proposal.voted[_flag] = proposal.voted[_flag].add(1); + proposal.totalVoted = proposal.totalVoted.add(1); + + Voted(msg.sender, _flag); + + return true; + } + + /** + * @dev Submitting proposal to increase tap or destruct funds. + * @param _nextOpenTime The open time of next proposal. + * @param _nextCloseTime The close time of next proposal. + * @param _nextTapAmount The next tap amount ( wei / sec ). + * @param _isDestruct The flag to whether a voter voted or not. + */ + + function submitProposal(uint256 _nextOpenTime, uint256 _nextCloseTime, uint256 _nextTapAmount, bool _isDestruct) public returns (bool) { + + require(block.timestamp >= _nextOpenTime); + require(_nextCloseTime >= _nextOpenTime.add(7 days)); + + require(lockedTokenBalances[msg.sender] >= tokenMultiplier.mul(30000)); + + require(tap < _nextTapAmount); + + require(!isProposed); + + Proposal memory newProposal = Proposal({ + openVoteTime: _nextOpenTime, + closeVoteTime: _nextCloseTime, + tapAmount: _nextTapAmount, + isDestruct: _isDestruct, + totalVoted: 0 + }); + + proposals.push(newProposal); + + isProposed = true; + + SubmittedProposal(_nextOpenTime, _nextCloseTime, _nextTapAmount, _isDestruct); + return true; + } + + /** + * @dev Aggregate the voted results. + * return uint 0 => No executed, 1 => Modified tap amount, 2 => Transition to withdraw mode + */ + + function aggregateVotes() public returns (uint) { + + Proposal storage proposal = proposals[proposals.length-1]; + + require(block.timestamp >= proposal.closeVoteTime); + + require(!refundable); + + uint votedUsers = proposal.voted[true].add(proposal.voted[false]); + + isProposed = false; + + if (votedUsers <= 20) { + return 0; + } + + uint absent = voterCount.sub(votedUsers); + + uint threshold = absent.mul(10000).div(6); + + if (proposal.voted[true].mul(10000) > proposal.voted[false].mul(10000).add(threshold)) { + if (proposal.isDestruct) { + refundable = true; + tap = 0; + return 2; + } else { + modifyTap(proposal.tapAmount); + return 1; + } + } + return 0; + } + + /** + * @dev Founder can withdraw ether from the contract. + * receiver `wallet` would be called failback function to receiving ether. + */ + + function withdraw() public returns (bool) { + + require(block.timestamp > lastWithdrawn.add(30 days)); + + uint256 amount = (block.timestamp - lastWithdrawn) * tap; + wallet.transfer(amount); + + lastWithdrawn = block.timestamp; + + Withdraw(wallet, amount, lastWithdrawn); + return true; + } + + /** + * @dev Founder can decrease the tap amount at anytime. + * @param _tapAmount The tap amount. + */ + + function decreaseTap(uint256 _tapAmount) public returns (bool) { + // Only called by founder's multisig wallet. + require(msg.sender == wallet); + + require(tap > _tapAmount); + + modifyTap(_tapAmount); + + return true; + } + + /** + * @dev If the contract to be refundable, project supporter can withdraw ether from the contract. + * Basically, supporter gets the amount of ether has dependent by a locked amount of token. + */ + + function refund() public returns (bool) { + + require(refundable); + + uint refundAmount = this.balance * lockedTokenBalances[msg.sender] / token.balanceOf(this); + + require(refundAmount > 0); + + msg.sender.transfer(refundAmount); + + lockedTokenBalances[msg.sender] = 0; + + Refund(msg.sender, refundAmount); + return true; + } + + + /** + * Private fucntions. + */ + + + /** + * @dev Modify tap amount. + * @param tapAmount The withdrawal limit for project owner tap = (wei / sec). + */ + + function modifyTap(uint256 tapAmount) internal returns (bool) { + withdraw(); + tap = tapAmount; + ModifiedTap(tap); + return true; + } + + /** + * Defined functions of RICO's PoD architecture. + */ + + /** + * @dev Called by fallback function. (dependent PoD architecture). + * Assumed that this contract received ether re-directly from other contract based on PoD + */ + + function processDonate(address _user) internal returns (bool) { + require(_user != 0x0); + return true; + } + + + /** + * @dev get reserved token balances of _user. inherits PoD architecture. (Not used). + */ + function getBalanceOfToken(address _user) public constant returns (uint256) { + require(_user != 0x0); + return 0; + } +} diff --git a/exec/DAICO/deploy.js b/exec/DAICO/deploy.js new file mode 100644 index 0000000..7496886 --- /dev/null +++ b/exec/DAICO/deploy.js @@ -0,0 +1,39 @@ +const DaicoPoD = artifacts.require("./PoDs/DaicoPoD.sol") +const MultiSigWalletWithDailyLimit = artifacts.require("./MultiSigWalletWithDailyLimit.sol") +const MintableToken = artifacts.require("./MintableToken.sol") + +module.exports = async function (callback) { + + const owner = await getAccount() + const daico = await DaicoPoD.new() + const token = await MintableToken.new() + + const tokenDecimals = 18 + const tokenInitialized = await token.init("DAICOToken", "DIO", tokenDecimals, owner) + + const now = parseInt(new Date() / 1000) + + const firstOpenTime = now + 10000 + const firstCloseTime = now + 624800 + const firstTapAmount = 1 * 10 ** 18 // 1 ether + + const validator = 0x8a20a13b75d0aefb995c0626f22df0d98031a4b6; + + const wallet = await MultiSigWalletWithDailyLimit.new([owner, validator], 2, 200 * 10 ** 18) + + console.log(`token: ${token.address}, decimals: ${tokenDecimals}, multisigWallet:${wallet.address}`) + + const init = await daico.init(wallet.address, tokenDecimals, token.address); + + console.log(`tx:${init.tx}`) + +} + +function getAccount() { + return new Promise((resolve, reject) => { + web3.eth.getAccounts((err, accounts) => { + const owner = accounts[0] + resolve(owner) + }) + }) +} \ No newline at end of file diff --git a/test/TokenMintPoD.js b/test/TokenMintPoD.js index ef6f49a..598e764 100644 --- a/test/TokenMintPoD.js +++ b/test/TokenMintPoD.js @@ -52,6 +52,14 @@ contract('TokenMintPoD', function (accounts) { }) it("Check the tokenBalance for owner", async function () { + const setTime = await web3.currentProvider.send({ + jsonrpc: "2.0", + + method: "evm_increaseTime", + params: [20], + id: 0 + }) + const status = await pod.status.call() assert.strictEqual(status.toNumber(), 2, 'status is not 2')