{
  "contractName": "SaleTemplate",
  "abi": [
    {
      "constant": true,
      "inputs": [
        {
          "name": "_interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "InterfaceId_ERC165",
      "outputs": [
        {
          "name": "",
          "type": "bytes4"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "beneficiary",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "bytecodeHash",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_locale",
          "type": "string"
        }
      ],
      "name": "name",
      "outputs": [
        {
          "name": "",
          "type": "string"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "InterfaceId_Template",
      "outputs": [
        {
          "name": "",
          "type": "bytes4"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "renounceOwnership",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "_locale",
          "type": "string"
        }
      ],
      "name": "description",
      "outputs": [
        {
          "name": "",
          "type": "string"
        }
      ],
      "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": "price",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_locale",
          "type": "string"
        },
        {
          "name": "_name",
          "type": "string"
        },
        {
          "name": "_description",
          "type": "string"
        }
      ],
      "name": "setNameAndDescription",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "name": "_bytecodeHash",
          "type": "bytes32"
        },
        {
          "name": "_price",
          "type": "uint256"
        },
        {
          "name": "_beneficiary",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "creator",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "contractAddress",
          "type": "address"
        }
      ],
      "name": "Instantiated",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "previousOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipRenounced",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "previousOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipTransferred",
      "type": "event"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_bytecode",
          "type": "bytes"
        },
        {
          "name": "_args",
          "type": "bytes"
        }
      ],
      "name": "instantiate",
      "outputs": [
        {
          "name": "contractAddress",
          "type": "address"
        }
      ],
      "payable": true,
      "stateMutability": "payable",
      "type": "function"
    }
  ],
  "bytecode": "0x608060405234801561001057600080fd5b50604051606080610ed083398101604090815281516020830151919092015160008054600160a060020a031916331790558282826100767f01ffc9a7000000000000000000000000000000000000000000000000000000006401000000006100f8810204565b6004839055600582905560068054600160a060020a031916600160a060020a03831617905560008211156100bb57600654600160a060020a031615156100bb57600080fd5b6100ed7fd48445ff000000000000000000000000000000000000000000000000000000006401000000006100f8810204565b505050505050610167565b7fffffffff00000000000000000000000000000000000000000000000000000000808216141561012757600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152600160208190526040909120805460ff19169091179055565b610d5a806101766000396000f3006080604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a781146100c957806319fa8f501461011457806338af3eed1461015b578063420c6a2c1461018c5780635b43bc99146101b35780636535b4a5146102815780636e63d1091461030b578063715018a61461032057806388255199146103375780638da5cb5b14610390578063a035b1fe146103a5578063b649c913146103ba578063f2fde38b1461048f575b600080fd5b3480156100d557600080fd5b506101007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19600435166104b0565b604080519115158252519081900360200190f35b34801561012057600080fd5b506101296104e4565b604080517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff199092168252519081900360200190f35b34801561016757600080fd5b506101706104f2565b60408051600160a060020a039092168252519081900360200190f35b34801561019857600080fd5b506101a1610501565b60408051918252519081900360200190f35b3480156101bf57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261020c9436949293602493928401919081908401838280828437509497506105079650505050505050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024657818101518382015260200161022e565b50505050905090810190601f1680156102735780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6040805160206004803580820135601f810184900484028501840190955284845261017094369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506105fb9650505050505050565b34801561031757600080fd5b506101296106b5565b34801561032c57600080fd5b506103356106d9565b005b34801561034357600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261020c9436949293602493928401919081908401838280828437509497506107459650505050505050565b34801561039c57600080fd5b50610170610778565b3480156103b157600080fd5b506101a1610787565b3480156103c657600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261033594369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375094975061078d9650505050505050565b34801561049b57600080fd5b50610335600160a060020a0360043516610893565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191660009081526001602052604090205460ff1690565b60e060020a6301ffc9a70281565b600654600160a060020a031681565b60045481565b60606002826040518082805190602001908083835b6020831061053b5780518252601f19909201916020918201910161051c565b518151600019602094850361010090810a820192831692199390931691909117909252949092019687526040805197889003820188208054601f60026001831615909802909501169590950492830182900482028801820190528187529294509250508301828280156105ef5780601f106105c4576101008083540402835291602001916105ef565b820191906000526020600020905b8154815290600101906020018083116105d257829003601f168201915b50505050509050919050565b60008061060884846108b6565b6040805160e060020a6301ffc9a70281527f5efbb0220000000000000000000000000000000000000000000000000000000060048201529051919250600160a060020a038316916301ffc9a7916024808201926020929091908290030181600087803b15801561067757600080fd5b505af115801561068b573d6000803e3d6000fd5b505050506040513d60208110156106a157600080fd5b505115156106ae57600080fd5b9392505050565b7fd48445ff0000000000000000000000000000000000000000000000000000000081565b600054600160a060020a031633146106f057600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b60606003826040518082805190602001908083836020831061053b5780518252601f19909201916020918201910161051c565b600054600160a060020a031681565b60055481565b600054600160a060020a031633146107a457600080fd5b816002846040518082805190602001908083835b602083106107d75780518252601f1990920191602091820191016107b8565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810190932084516108189591949190910192509050610c93565b50806003846040518082805190602001908083835b6020831061084c5780518252601f19909201916020918201910161082d565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101909320845161088d9591949190910192509050610c93565b50505050565b600054600160a060020a031633146108aa57600080fd5b6108b381610c16565b50565b600060606000846040518082805190602001908083835b602083106108ec5780518252601f1990920191602091820191016108cd565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912060045414925061092791505057600080fd5b84846040516020018083805190602001908083835b6020831061095b5780518252601f19909201916020918201910161093c565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106109a35780518252601f199092019160209182019101610984565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405291508151602083016000f09250600160a060020a0383161515610a5c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f43616e6e6f7420696e7374616e746961746520636f6e74726163740000000000604482015290519081900360640190fd5b506040805160e060020a6301ffc9a702808252600482015290518391600160a060020a038316916301ffc9a7916024808201926020929091908290030181600087803b158015610aab57600080fd5b505af1158015610abf573d6000803e3d6000fd5b505050506040513d6020811015610ad557600080fd5b50511515610ae257600080fd5b6040805160e060020a6301ffc9a70281527f6125ede50000000000000000000000000000000000000000000000000000000060048201529051600160a060020a038316916301ffc9a79160248083019260209291908290030181600087803b158015610b4d57600080fd5b505af1158015610b61573d6000803e3d6000fd5b505050506040513d6020811015610b7757600080fd5b50511515610b8457600080fd5b60006005541115610bd8576005543414610b9d57600080fd5b600654604051600160a060020a03909116903480156108fc02916000818181858888f19350505050158015610bd6573d6000803e3d6000fd5b505b604051600160a060020a0384169033907f4b9699a19830f077a7203307c78b030d114793c7d90c38f8293304371864b5e190600090a3505092915050565b600160a060020a0381161515610c2b57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610cd457805160ff1916838001178555610d01565b82800160010185558215610d01579182015b82811115610d01578251825591602001919060010190610ce6565b50610d0d929150610d11565b5090565b610d2b91905b80821115610d0d5760008155600101610d17565b905600a165627a7a72305820209bfe5ef94384a774dbd60eb158de275707e9a7d2fc0e184d037da7be4836a10029",
  "deployedBytecode": "0x6080604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a781146100c957806319fa8f501461011457806338af3eed1461015b578063420c6a2c1461018c5780635b43bc99146101b35780636535b4a5146102815780636e63d1091461030b578063715018a61461032057806388255199146103375780638da5cb5b14610390578063a035b1fe146103a5578063b649c913146103ba578063f2fde38b1461048f575b600080fd5b3480156100d557600080fd5b506101007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19600435166104b0565b604080519115158252519081900360200190f35b34801561012057600080fd5b506101296104e4565b604080517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff199092168252519081900360200190f35b34801561016757600080fd5b506101706104f2565b60408051600160a060020a039092168252519081900360200190f35b34801561019857600080fd5b506101a1610501565b60408051918252519081900360200190f35b3480156101bf57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261020c9436949293602493928401919081908401838280828437509497506105079650505050505050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024657818101518382015260200161022e565b50505050905090810190601f1680156102735780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6040805160206004803580820135601f810184900484028501840190955284845261017094369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506105fb9650505050505050565b34801561031757600080fd5b506101296106b5565b34801561032c57600080fd5b506103356106d9565b005b34801561034357600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261020c9436949293602493928401919081908401838280828437509497506107459650505050505050565b34801561039c57600080fd5b50610170610778565b3480156103b157600080fd5b506101a1610787565b3480156103c657600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261033594369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375094975061078d9650505050505050565b34801561049b57600080fd5b50610335600160a060020a0360043516610893565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191660009081526001602052604090205460ff1690565b60e060020a6301ffc9a70281565b600654600160a060020a031681565b60045481565b60606002826040518082805190602001908083835b6020831061053b5780518252601f19909201916020918201910161051c565b518151600019602094850361010090810a820192831692199390931691909117909252949092019687526040805197889003820188208054601f60026001831615909802909501169590950492830182900482028801820190528187529294509250508301828280156105ef5780601f106105c4576101008083540402835291602001916105ef565b820191906000526020600020905b8154815290600101906020018083116105d257829003601f168201915b50505050509050919050565b60008061060884846108b6565b6040805160e060020a6301ffc9a70281527f5efbb0220000000000000000000000000000000000000000000000000000000060048201529051919250600160a060020a038316916301ffc9a7916024808201926020929091908290030181600087803b15801561067757600080fd5b505af115801561068b573d6000803e3d6000fd5b505050506040513d60208110156106a157600080fd5b505115156106ae57600080fd5b9392505050565b7fd48445ff0000000000000000000000000000000000000000000000000000000081565b600054600160a060020a031633146106f057600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b60606003826040518082805190602001908083836020831061053b5780518252601f19909201916020918201910161051c565b600054600160a060020a031681565b60055481565b600054600160a060020a031633146107a457600080fd5b816002846040518082805190602001908083835b602083106107d75780518252601f1990920191602091820191016107b8565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810190932084516108189591949190910192509050610c93565b50806003846040518082805190602001908083835b6020831061084c5780518252601f19909201916020918201910161082d565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101909320845161088d9591949190910192509050610c93565b50505050565b600054600160a060020a031633146108aa57600080fd5b6108b381610c16565b50565b600060606000846040518082805190602001908083835b602083106108ec5780518252601f1990920191602091820191016108cd565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912060045414925061092791505057600080fd5b84846040516020018083805190602001908083835b6020831061095b5780518252601f19909201916020918201910161093c565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106109a35780518252601f199092019160209182019101610984565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405291508151602083016000f09250600160a060020a0383161515610a5c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f43616e6e6f7420696e7374616e746961746520636f6e74726163740000000000604482015290519081900360640190fd5b506040805160e060020a6301ffc9a702808252600482015290518391600160a060020a038316916301ffc9a7916024808201926020929091908290030181600087803b158015610aab57600080fd5b505af1158015610abf573d6000803e3d6000fd5b505050506040513d6020811015610ad557600080fd5b50511515610ae257600080fd5b6040805160e060020a6301ffc9a70281527f6125ede50000000000000000000000000000000000000000000000000000000060048201529051600160a060020a038316916301ffc9a79160248083019260209291908290030181600087803b158015610b4d57600080fd5b505af1158015610b61573d6000803e3d6000fd5b505050506040513d6020811015610b7757600080fd5b50511515610b8457600080fd5b60006005541115610bd8576005543414610b9d57600080fd5b600654604051600160a060020a03909116903480156108fc02916000818181858888f19350505050158015610bd6573d6000803e3d6000fd5b505b604051600160a060020a0384169033907f4b9699a19830f077a7203307c78b030d114793c7d90c38f8293304371864b5e190600090a3505092915050565b600160a060020a0381161515610c2b57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610cd457805160ff1916838001178555610d01565b82800160010185558215610d01579182015b82811115610d01578251825591602001919060010190610ce6565b50610d0d929150610d11565b5090565b610d2b91905b80821115610d0d5760008155600101610d17565b905600a165627a7a72305820209bfe5ef94384a774dbd60eb158de275707e9a7d2fc0e184d037da7be4836a10029",
  "sourceMap": "83:514:14:-;;;123:194;8:9:-1;5:2;;;30:1;27;20:12;5:2;123:194:14;;;;;;;;;;;;;;;;;;;;;;;;;567:5:30;:18;;-1:-1:-1;;;;;;567:18:30;575:10;567:18;;;123:194:14;;;649:38:28;668:18;649;;;;:38;:::i;:::-;1591:12:13;:28;;;1629:5;:14;;;1653:11;:26;;-1:-1:-1;;;;;;1653:26:13;-1:-1:-1;;;;;1653:26:13;;;;;-1:-1:-1;1693:9:13;;1689:74;;;1726:11;;-1:-1:-1;;;;;1726:11:13;:25;;1718:34;;;;;;1773:40;1792:20;1773:18;;;;:40;:::i;:::-;1474:346;;;123:194:14;;;83:514;;987:156:28;1065:26;;;;;;1057:35;;;;;;1098:33;;;;;;1134:4;1098:33;;;;;;;;:40;;-1:-1:-1;;1098:40:28;;;;;;987:156::o;83:514:14:-;;;;;;;",
  "deployedSourceMap": "83:514:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;775:142:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;775:142:28;-1:-1:-1;;775:142:28;;;;;;;;;;;;;;;;;;;;;;;230:54;;8:9:-1;5:2;;;30:1;27;20:12;5:2;230:54:28;;;;;;;;-1:-1:-1;;230:54:28;;;;;;;;;;;;;;1095:26:13;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1095:26:13;;;;;;;;-1:-1:-1;;;;;1095:26:13;;;;;;;;;;;;;;918:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;918:27:13;;;;;;;;;;;;;;;;;;;;1965:104;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1965:104:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1965:104:13;;-1:-1:-1;1965:104:13;;-1:-1:-1;;;;;;;1965:104:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1965:104:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;323:272:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;323:272:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;323:272:14;;;;-1:-1:-1;323:272:14;-1:-1:-1;323:272:14;;-1:-1:-1;323:272:14;;;;;;;;-1:-1:-1;323:272:14;;-1:-1:-1;323:272:14;;-1:-1:-1;;;;;;;323:272:14;688:56:13;;8:9:-1;5:2;;;30:1;27;20:12;5:2;688:56:13;;;;1001:111:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1001:111:30;;;;;;2221:118:13;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2221:118:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2221:118:13;;-1:-1:-1;2221:118:13;;-1:-1:-1;;;;;;;2221:118:13;238:20:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;238:20:30;;;;1014:17:13;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1014:17:13;;;;2528:198;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2528:198:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2528:198:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2528:198:13;;;;-1:-1:-1;2528:198:13;-1:-1:-1;2528:198:13;;-1:-1:-1;2528:198:13;;;;;;;;-1:-1:-1;;2528:198:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2528:198:13;;;;-1:-1:-1;2528:198:13;-1:-1:-1;2528:198:13;;-1:-1:-1;2528:198:13;;;;;;;;-1:-1:-1;2528:198:13;;-1:-1:-1;2528:198:13;;-1:-1:-1;;;;;;;2528:198:13;1274:103:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1274:103:30;-1:-1:-1;;;;;1274:103:30;;;;;775:142:28;-1:-1:-1;;879:33:28;858:4;879:33;;;:19;:33;;;;;;;;;775:142::o;230:54::-;-1:-1:-1;;;;;230:54:28;:::o;1095:26:13:-;;;-1:-1:-1;;;;;1095:26:13;;:::o;918:27::-;;;;:::o;1965:104::-;2016:6;2041:12;2054:7;2041:21;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;-1:-1;;263:2;259:12;;;254:3;250:22;;;246:30;;340:21;;;311:9;;295:26;;;;377:20;;;;365:33;;;2041:21:13;;;;;;;;;;;;;;;;;;2034:28;;;;274:1:-1;2034:28:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2041:21;;-1:-1:-1;2034:28:13;-1:-1:-1;;2034:28:13;;2041:21;2034:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1965:104;;;:::o;323:272:14:-;398:23;433:9;450:35;468:9;479:5;450:17;:35::i;:::-;532:34;;;-1:-1:-1;;;;;532:34:14;;;;;;;;;433:53;;-1:-1:-1;;;;;;532:22:14;;;;;:34;;;;;;;;;;;;;;;-1:-1:-1;532:22:14;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;532:34:14;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;532:34:14;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;532:34:14;524:43;;;;;;;;584:4;323:272;-1:-1:-1;;;323:272:14:o;688:56:13:-;;;:::o;1001:111:30:-;719:5;;-1:-1:-1;;;;;719:5:30;705:10;:19;697:28;;;;;;1077:5;;;1058:25;;-1:-1:-1;;;;;1077:5:30;;;;1058:25;;;1105:1;1089:18;;-1:-1:-1;;1089:18:30;;;1001:111::o;2221:118:13:-;2279:6;2304:19;2324:7;2304:28;;;;;;;;;;;;;66:2:-1;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;238:20:30;;;-1:-1:-1;;;;;238:20:30;;:::o;1014:17:13:-;;;;:::o;2528:198::-;719:5:30;;-1:-1:-1;;;;;719:5:30;705:10;:19;697:28;;;;;;2661:5:13;2637:12;2650:7;2637:21;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;2637:21:13;;;;;-1:-1:-1;2637:21:13;;;;;;;;;;;:29;;;;:21;;:29;;;;;-1:-1:-1;2637:29:13;-1:-1:-1;2637:29:13;:::i;:::-;;2707:12;2676:19;2696:7;2676:28;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;2676:28:13;;;;;-1:-1:-1;2676:28:13;;;;;;;;;;;:43;;;;:28;;:43;;;;;-1:-1:-1;2676:43:13;-1:-1:-1;2676:43:13;:::i;:::-;;2528:198;;;:::o;1274:103:30:-;719:5;;-1:-1:-1;;;;;719:5:30;705:10;:19;697:28;;;;;;1343:29;1362:9;1343:18;:29::i;:::-;1274:103;:::o;3079:889:13:-;3154:23;3244:21;3537:10;3223:9;3213:20;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;;;;365:33;;3213:20:13;;;;;;;;;;3197:12;;:36;;-1:-1:-1;3189:45:13;;-1:-1:-1;;3189:45:13;;;;;3285:9;3296:5;3268:34;;;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;3268:34:13;;;;;;;;;;-1:-1:-1;3268:34:13;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;3268:34:13;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;3268:34:13;;;3244:58;;3391:8;3385:15;3378:4;3368:8;3364:19;3361:1;3354:47;3335:66;-1:-1:-1;;;;;;3424:29:13;;;3420:542;;;3469:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3420:542;-1:-1:-1;3631:31:13;;;-1:-1:-1;;;;;3631:31:13;;;;;;;;;3559:15;;-1:-1:-1;;;;;3631:19:13;;;;;:31;;;;;;;;;;;;;;;-1:-1:-1;3631:19:13;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;3631:31:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3631:31:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3631:31:13;3623:40;;;;;;;;3721:31;;;-1:-1:-1;;;;;3721:31:13;;;;;;;;;-1:-1:-1;;;;;3721:19:13;;;;;:31;;;;;;;;;;;;;;-1:-1:-1;3721:19:13;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;3721:31:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3721:31:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3721:31:13;3713:40;;;;;;;;3780:1;3772:5;;:9;3768:124;;;3822:5;;3809:9;:18;3801:27;;;;;;3846:11;;:31;;-1:-1:-1;;;;;3846:11:13;;;;3867:9;3846:31;;;;;:11;:31;:11;:31;3867:9;3846:11;:31;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3846:31:13;3768:124;3910:41;;-1:-1:-1;;;;;3910:41:13;;;3923:10;;3910:41;;;;;3079:889;;;;;;:::o;1512:171:30:-;-1:-1:-1;;;;;1582:23:30;;;;1574:32;;;;;;1638:5;;;1617:38;;-1:-1:-1;;;;;1617:38:30;;;;1638:5;;;1617:38;;;1661:5;:17;;-1:-1:-1;;1661:17:30;-1:-1:-1;;;;;1661:17:30;;;;;;;;;;1512:171::o;83:514:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;83:514:14;;;-1:-1:-1;83:514:14;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o",
  "source": "pragma solidity ^0.4.24;\n\nimport \"../Template.sol\";\nimport \"../../sale/Sale.sol\";\n\ncontract SaleTemplate is Template {\n    constructor(\n        bytes32 _bytecodeHash,\n        uint _price,\n        address _beneficiary\n    ) public\n    Template(\n        _bytecodeHash,\n        _price,\n        _beneficiary\n    ) {\n    }\n\n    function instantiate(bytes _bytecode, bytes _args) public payable returns (address contractAddress) {\n        Sale sale = Sale(super.instantiate(_bytecode, _args));\n        // InterfaceId_Sale\n        require(sale.supportsInterface(0x5efbb022));\n        return sale;\n    }\n}\n",
  "sourcePath": "tokenboost-solidity/contracts/template/sale/SaleTemplate.sol",
  "ast": {
    "absolutePath": "tokenboost-solidity/contracts/template/sale/SaleTemplate.sol",
    "exportedSymbols": {
      "SaleTemplate": [
        2418
      ]
    },
    "id": 2419,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 2369,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:24:14"
      },
      {
        "absolutePath": "tokenboost-solidity/contracts/template/Template.sol",
        "file": "../Template.sol",
        "id": 2370,
        "nodeType": "ImportDirective",
        "scope": 2419,
        "sourceUnit": 2368,
        "src": "26:25:14",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "tokenboost-solidity/contracts/sale/Sale.sol",
        "file": "../../sale/Sale.sol",
        "id": 2371,
        "nodeType": "ImportDirective",
        "scope": 2419,
        "sourceUnit": 2032,
        "src": "52:29:14",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 2372,
              "name": "Template",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 2367,
              "src": "108:8:14",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Template_$2367",
                "typeString": "contract Template"
              }
            },
            "id": 2373,
            "nodeType": "InheritanceSpecifier",
            "src": "108:8:14"
          }
        ],
        "contractDependencies": [
          2367,
          5247,
          5298,
          5478
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 2418,
        "linearizedBaseContracts": [
          2418,
          2367,
          5298,
          5247,
          5478
        ],
        "name": "SaleTemplate",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 2387,
              "nodeType": "Block",
              "src": "310:7:14",
              "statements": []
            },
            "documentation": null,
            "id": 2388,
            "implemented": true,
            "isConstructor": true,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 2382,
                    "name": "_bytecodeHash",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 2375,
                    "src": "252:13:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 2383,
                    "name": "_price",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 2377,
                    "src": "275:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 2384,
                    "name": "_beneficiary",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 2379,
                    "src": "291:12:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  }
                ],
                "id": 2385,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 2381,
                  "name": "Template",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 2367,
                  "src": "234:8:14",
                  "typeDescriptions": {
                    "typeIdentifier": "t_type$_t_contract$_Template_$2367_$",
                    "typeString": "type(contract Template)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "234:75:14"
              }
            ],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 2380,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2375,
                  "name": "_bytecodeHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 2388,
                  "src": "144:21:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 2374,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "144:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 2377,
                  "name": "_price",
                  "nodeType": "VariableDeclaration",
                  "scope": 2388,
                  "src": "175:11:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 2376,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "175:4:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 2379,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 2388,
                  "src": "196:20:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2378,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "196:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "134:88:14"
            },
            "payable": false,
            "returnParameters": {
              "id": 2386,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "310:0:14"
            },
            "scope": 2418,
            "src": "123:194:14",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 2416,
              "nodeType": "Block",
              "src": "423:172:14",
              "statements": [
                {
                  "assignments": [
                    2398
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2398,
                      "name": "sale",
                      "nodeType": "VariableDeclaration",
                      "scope": 2417,
                      "src": "433:9:14",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Sale_$2031",
                        "typeString": "contract Sale"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 2397,
                        "name": "Sale",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 2031,
                        "src": "433:4:14",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Sale_$2031",
                          "typeString": "contract Sale"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2406,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 2402,
                            "name": "_bytecode",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 2390,
                            "src": "468:9:14",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "id": 2403,
                            "name": "_args",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 2392,
                            "src": "479:5:14",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            },
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          ],
                          "expression": {
                            "argumentTypes": null,
                            "id": 2400,
                            "name": "super",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5642,
                            "src": "450:5:14",
                            "typeDescriptions": {
                              "typeIdentifier": "t_super$_SaleTemplate_$2418",
                              "typeString": "contract super SaleTemplate"
                            }
                          },
                          "id": 2401,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "instantiate",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 2366,
                          "src": "450:17:14",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_address_$",
                            "typeString": "function (bytes memory,bytes memory) returns (address)"
                          }
                        },
                        "id": 2404,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "450:35:14",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 2399,
                      "name": "Sale",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 2031,
                      "src": "445:4:14",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_Sale_$2031_$",
                        "typeString": "type(contract Sale)"
                      }
                    },
                    "id": 2405,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "445:41:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Sale_$2031",
                      "typeString": "contract Sale"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "433:53:14"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "hexValue": "30783565666262303232",
                            "id": 2410,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "555:10:14",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_1593552930_by_1",
                              "typeString": "int_const 1593552930"
                            },
                            "value": "0x5efbb022"
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_rational_1593552930_by_1",
                              "typeString": "int_const 1593552930"
                            }
                          ],
                          "expression": {
                            "argumentTypes": null,
                            "id": 2408,
                            "name": "sale",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 2398,
                            "src": "532:4:14",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Sale_$2031",
                              "typeString": "contract Sale"
                            }
                          },
                          "id": 2409,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "supportsInterface",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5279,
                          "src": "532:22:14",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$_t_bytes4_$returns$_t_bool_$",
                            "typeString": "function (bytes4) view external returns (bool)"
                          }
                        },
                        "id": 2411,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "532:34:14",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 2407,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        5571,
                        5572
                      ],
                      "referencedDeclaration": 5571,
                      "src": "524:7:14",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 2412,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "524:43:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 2413,
                  "nodeType": "ExpressionStatement",
                  "src": "524:43:14"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 2414,
                    "name": "sale",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 2398,
                    "src": "584:4:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Sale_$2031",
                      "typeString": "contract Sale"
                    }
                  },
                  "functionReturnParameters": 2396,
                  "id": 2415,
                  "nodeType": "Return",
                  "src": "577:11:14"
                }
              ]
            },
            "documentation": null,
            "id": 2417,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "instantiate",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 2393,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2390,
                  "name": "_bytecode",
                  "nodeType": "VariableDeclaration",
                  "scope": 2417,
                  "src": "344:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 2389,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "344:5:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 2392,
                  "name": "_args",
                  "nodeType": "VariableDeclaration",
                  "scope": 2417,
                  "src": "361:11:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 2391,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "361:5:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "343:30:14"
            },
            "payable": true,
            "returnParameters": {
              "id": 2396,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2395,
                  "name": "contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 2417,
                  "src": "398:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2394,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "398:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "397:25:14"
            },
            "scope": 2418,
            "src": "323:272:14",
            "stateMutability": "payable",
            "superFunction": 2366,
            "visibility": "public"
          }
        ],
        "scope": 2419,
        "src": "83:514:14"
      }
    ],
    "src": "0:598:14"
  },
  "legacyAST": {
    "absolutePath": "tokenboost-solidity/contracts/template/sale/SaleTemplate.sol",
    "exportedSymbols": {
      "SaleTemplate": [
        2418
      ]
    },
    "id": 2419,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 2369,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:24:14"
      },
      {
        "absolutePath": "tokenboost-solidity/contracts/template/Template.sol",
        "file": "../Template.sol",
        "id": 2370,
        "nodeType": "ImportDirective",
        "scope": 2419,
        "sourceUnit": 2368,
        "src": "26:25:14",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "tokenboost-solidity/contracts/sale/Sale.sol",
        "file": "../../sale/Sale.sol",
        "id": 2371,
        "nodeType": "ImportDirective",
        "scope": 2419,
        "sourceUnit": 2032,
        "src": "52:29:14",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 2372,
              "name": "Template",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 2367,
              "src": "108:8:14",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Template_$2367",
                "typeString": "contract Template"
              }
            },
            "id": 2373,
            "nodeType": "InheritanceSpecifier",
            "src": "108:8:14"
          }
        ],
        "contractDependencies": [
          2367,
          5247,
          5298,
          5478
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 2418,
        "linearizedBaseContracts": [
          2418,
          2367,
          5298,
          5247,
          5478
        ],
        "name": "SaleTemplate",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 2387,
              "nodeType": "Block",
              "src": "310:7:14",
              "statements": []
            },
            "documentation": null,
            "id": 2388,
            "implemented": true,
            "isConstructor": true,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 2382,
                    "name": "_bytecodeHash",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 2375,
                    "src": "252:13:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 2383,
                    "name": "_price",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 2377,
                    "src": "275:6:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 2384,
                    "name": "_beneficiary",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 2379,
                    "src": "291:12:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  }
                ],
                "id": 2385,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 2381,
                  "name": "Template",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 2367,
                  "src": "234:8:14",
                  "typeDescriptions": {
                    "typeIdentifier": "t_type$_t_contract$_Template_$2367_$",
                    "typeString": "type(contract Template)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "234:75:14"
              }
            ],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 2380,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2375,
                  "name": "_bytecodeHash",
                  "nodeType": "VariableDeclaration",
                  "scope": 2388,
                  "src": "144:21:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 2374,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "144:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 2377,
                  "name": "_price",
                  "nodeType": "VariableDeclaration",
                  "scope": 2388,
                  "src": "175:11:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 2376,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "175:4:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 2379,
                  "name": "_beneficiary",
                  "nodeType": "VariableDeclaration",
                  "scope": 2388,
                  "src": "196:20:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2378,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "196:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "134:88:14"
            },
            "payable": false,
            "returnParameters": {
              "id": 2386,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "310:0:14"
            },
            "scope": 2418,
            "src": "123:194:14",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 2416,
              "nodeType": "Block",
              "src": "423:172:14",
              "statements": [
                {
                  "assignments": [
                    2398
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 2398,
                      "name": "sale",
                      "nodeType": "VariableDeclaration",
                      "scope": 2417,
                      "src": "433:9:14",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_Sale_$2031",
                        "typeString": "contract Sale"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 2397,
                        "name": "Sale",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 2031,
                        "src": "433:4:14",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Sale_$2031",
                          "typeString": "contract Sale"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 2406,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 2402,
                            "name": "_bytecode",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 2390,
                            "src": "468:9:14",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "id": 2403,
                            "name": "_args",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 2392,
                            "src": "479:5:14",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            },
                            {
                              "typeIdentifier": "t_bytes_memory_ptr",
                              "typeString": "bytes memory"
                            }
                          ],
                          "expression": {
                            "argumentTypes": null,
                            "id": 2400,
                            "name": "super",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5642,
                            "src": "450:5:14",
                            "typeDescriptions": {
                              "typeIdentifier": "t_super$_SaleTemplate_$2418",
                              "typeString": "contract super SaleTemplate"
                            }
                          },
                          "id": 2401,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "instantiate",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 2366,
                          "src": "450:17:14",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_nonpayable$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_address_$",
                            "typeString": "function (bytes memory,bytes memory) returns (address)"
                          }
                        },
                        "id": 2404,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "450:35:14",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 2399,
                      "name": "Sale",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 2031,
                      "src": "445:4:14",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_Sale_$2031_$",
                        "typeString": "type(contract Sale)"
                      }
                    },
                    "id": 2405,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "445:41:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Sale_$2031",
                      "typeString": "contract Sale"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "433:53:14"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "hexValue": "30783565666262303232",
                            "id": 2410,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "555:10:14",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_1593552930_by_1",
                              "typeString": "int_const 1593552930"
                            },
                            "value": "0x5efbb022"
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_rational_1593552930_by_1",
                              "typeString": "int_const 1593552930"
                            }
                          ],
                          "expression": {
                            "argumentTypes": null,
                            "id": 2408,
                            "name": "sale",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 2398,
                            "src": "532:4:14",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_Sale_$2031",
                              "typeString": "contract Sale"
                            }
                          },
                          "id": 2409,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "supportsInterface",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 5279,
                          "src": "532:22:14",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_external_view$_t_bytes4_$returns$_t_bool_$",
                            "typeString": "function (bytes4) view external returns (bool)"
                          }
                        },
                        "id": 2411,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "532:34:14",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 2407,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        5571,
                        5572
                      ],
                      "referencedDeclaration": 5571,
                      "src": "524:7:14",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 2412,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "524:43:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 2413,
                  "nodeType": "ExpressionStatement",
                  "src": "524:43:14"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 2414,
                    "name": "sale",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 2398,
                    "src": "584:4:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_Sale_$2031",
                      "typeString": "contract Sale"
                    }
                  },
                  "functionReturnParameters": 2396,
                  "id": 2415,
                  "nodeType": "Return",
                  "src": "577:11:14"
                }
              ]
            },
            "documentation": null,
            "id": 2417,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "instantiate",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 2393,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2390,
                  "name": "_bytecode",
                  "nodeType": "VariableDeclaration",
                  "scope": 2417,
                  "src": "344:15:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 2389,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "344:5:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 2392,
                  "name": "_args",
                  "nodeType": "VariableDeclaration",
                  "scope": 2417,
                  "src": "361:11:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 2391,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "361:5:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "343:30:14"
            },
            "payable": true,
            "returnParameters": {
              "id": 2396,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 2395,
                  "name": "contractAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 2417,
                  "src": "398:23:14",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 2394,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "398:7:14",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "397:25:14"
            },
            "scope": 2418,
            "src": "323:272:14",
            "stateMutability": "payable",
            "superFunction": 2366,
            "visibility": "public"
          }
        ],
        "scope": 2419,
        "src": "83:514:14"
      }
    ],
    "src": "0:598:14"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "2.0.1",
  "updatedAt": "2018-10-31T09:11:16.799Z"
}