arc_dx
Version:
A platform for building DAOs
906 lines (905 loc) • 112 kB
JSON
{
"contractName": "DAOToken",
"abi": [
{
"constant": true,
"inputs": [],
"name": "mintingFinished",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "name",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "decimals",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "cap",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"name": "transferAndCall",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_value",
"type": "uint256"
}
],
"name": "burn",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_subtractedValue",
"type": "uint256"
}
],
"name": "decreaseApproval",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "finishMinting",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_addedValue",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"name": "increaseApprovalAndCall",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "symbol",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"name": "transferFromAndCall",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"name": "approveAndCall",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_subtractedValue",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"name": "decreaseApprovalAndCall",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_addedValue",
"type": "uint256"
}
],
"name": "increaseApproval",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
},
{
"name": "_spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"name": "_name",
"type": "string"
},
{
"name": "_symbol",
"type": "string"
},
{
"name": "_cap",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "burner",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Burn",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "to",
"type": "address"
},
{
"indexed": false,
"name": "amount",
"type": "uint256"
}
],
"name": "Mint",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "MintFinished",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
}
],
"name": "OwnershipRenounced",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "owner",
"type": "address"
},
{
"indexed": true,
"name": "spender",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
}
],
"name": "mint",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x60806040526003805460a060020a60ff02191690553480156200002157600080fd5b50604051620012f4380380620012f483398101604090815281516020808401519284015160038054600160a060020a0319163317905591840180519094939093019262000075916004919086019062000098565b5081516200008b90600590602085019062000098565b50600655506200013d9050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620000db57805160ff19168380011785556200010b565b828001600101855582156200010b579182015b828111156200010b578251825591602001919060010190620000ee565b50620001199291506200011d565b5090565b6200013a91905b8082111562000119576000815560010162000124565b90565b6111a7806200014d6000396000f30060806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461014257806306fdde031461016b578063095ea7b3146101f557806318160ddd1461021957806323b872dd14610240578063313ce5671461026a578063355274ea146102955780634000aea0146102aa57806340c10f191461030657806342966c681461032a578063661884631461034457806370a0823114610368578063715018a6146103895780637d64bcb41461039e5780638da5cb5b146103b357806390db623f146103e457806395d89b4114610440578063a9059cbb14610455578063c1d34b8914610479578063cae9ca51146104db578063cb3993be14610537578063d73dd62314610593578063dd62ed3e146105b7578063f2fde38b146105de575b600080fd5b34801561014e57600080fd5b506101576105ff565b604080519115158252519081900360200190f35b34801561017757600080fd5b5061018061060f565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020157600080fd5b50610157600160a060020a036004351660243561069d565b34801561022557600080fd5b5061022e610703565b60408051918252519081900360200190f35b34801561024c57600080fd5b50610157600160a060020a0360043581169060243516604435610709565b34801561027657600080fd5b5061027f61086c565b6040805160ff9092168252519081900360200190f35b3480156102a157600080fd5b5061022e610871565b604080516020600460443581810135601f8101849004840285018401909552848452610157948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506108779650505050505050565b34801561031257600080fd5b50610157600160a060020a0360043516602435610927565b34801561033657600080fd5b50610342600435610995565b005b34801561035057600080fd5b50610157600160a060020a03600435166024356109a2565b34801561037457600080fd5b5061022e600160a060020a0360043516610a91565b34801561039557600080fd5b50610342610aac565b3480156103aa57600080fd5b50610157610b1a565b3480156103bf57600080fd5b506103c8610b9e565b60408051600160a060020a039092168252519081900360200190f35b604080516020600460443581810135601f8101849004840285018401909552848452610157948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610bad9650505050505050565b34801561044c57600080fd5b50610180610bcf565b34801561046157600080fd5b50610157600160a060020a0360043516602435610c2a565b604080516020601f60643560048181013592830184900484028501840190955281845261015794600160a060020a038135811695602480359092169560443595369560849401918190840183828082843750949750610cf79650505050505050565b604080516020600460443581810135601f8101849004840285018401909552848452610157948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610da99650505050505050565b604080516020600460443581810135601f8101849004840285018401909552848452610157948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610dcb9650505050505050565b34801561059f57600080fd5b50610157600160a060020a0360043516602435610ded565b3480156105c357600080fd5b5061022e600160a060020a0360043581169060243516610e86565b3480156105ea57600080fd5b50610342600160a060020a0360043516610eb1565b60035460a060020a900460ff1681565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b505050505081565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60015490565b600160a060020a03831660009081526020819052604081205482111561072e57600080fd5b600160a060020a038416600090815260026020908152604080832033845290915290205482111561075e57600080fd5b600160a060020a038316151561077357600080fd5b600160a060020a03841660009081526020819052604090205461079c908363ffffffff610ed116565b600160a060020a0380861660009081526020819052604080822093909355908516815220546107d1908363ffffffff610ee316565b600160a060020a03808516600090815260208181526040808320949094559187168152600282528281203382529091522054610813908363ffffffff610ed116565b600160a060020a038086166000818152600260209081526040808320338452825291829020949094558051868152905192871693919260008051602061115c833981519152929181900390910190a35060019392505050565b601281565b60065481565b6000600160a060020a03841630141561088f57600080fd5b6108998484610c2a565b5083600160a060020a0316348360405180828051906020019080838360005b838110156108d05781810151838201526020016108b8565b50505050905090810190601f1680156108fd5780820380516001836020036101000a031916815260200191505b5091505060006040518083038185875af192505050151561091d57600080fd5b5060019392505050565b600354600090600160a060020a0316331461094157600080fd5b60035460a060020a900460ff161561095857600080fd5b6000600654111561098457600654600154610979908463ffffffff610ee316565b111561098457600080fd5b61098e8383610ef6565b9392505050565b61099f3382610fee565b50565b336000908152600260209081526040808320600160a060020a03861684529091528120548083106109f657336000908152600260209081526040808320600160a060020a0388168452909152812055610a2b565b610a06818463ffffffff610ed116565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b600354600160a060020a03163314610ac357600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600090600160a060020a03163314610b3457600080fd5b60035460a060020a900460ff1615610b4b57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b600354600160a060020a031681565b6000600160a060020a038416301415610bc557600080fd5b6108998484610ded565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106955780601f1061066a57610100808354040283529160200191610695565b33600090815260208190526040812054821115610c4657600080fd5b600160a060020a0383161515610c5b57600080fd5b33600090815260208190526040902054610c7b908363ffffffff610ed116565b3360009081526020819052604080822092909255600160a060020a03851681522054610cad908363ffffffff610ee316565b600160a060020a0384166000818152602081815260409182902093909355805185815290519192339260008051602061115c8339815191529281900390910190a350600192915050565b6000600160a060020a038416301415610d0f57600080fd5b610d1a858585610709565b5083600160a060020a0316348360405180828051906020019080838360005b83811015610d51578181015183820152602001610d39565b50505050905090810190601f168015610d7e5780820380516001836020036101000a031916815260200191505b5091505060006040518083038185875af1925050501515610d9e57600080fd5b506001949350505050565b6000600160a060020a038416301415610dc157600080fd5b610899848461069d565b6000600160a060020a038416301415610de357600080fd5b61089984846109a2565b336000908152600260209081526040808320600160a060020a0386168452909152812054610e21908363ffffffff610ee316565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a03163314610ec857600080fd5b61099f816110dd565b600082821115610edd57fe5b50900390565b81810182811015610ef057fe5b92915050565b600354600090600160a060020a03163314610f1057600080fd5b60035460a060020a900460ff1615610f2757600080fd5b600154610f3a908363ffffffff610ee316565b600155600160a060020a038316600090815260208190526040902054610f66908363ffffffff610ee316565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a0385169160009160008051602061115c8339815191529181900360200190a350600192915050565b600160a060020a03821660009081526020819052604090205481111561101357600080fd5b600160a060020a03821660009081526020819052604090205461103c908263ffffffff610ed116565b600160a060020a038316600090815260208190526040902055600154611068908263ffffffff610ed116565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a0385169160008051602061115c8339815191529181900360200190a35050565b600160a060020a03811615156110f257600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820d31572728db3eeffe46e2f39126a3fd2ca3658582aaca847d13c84e599fc4bb70029",
"deployedBytecode": "0x60806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461014257806306fdde031461016b578063095ea7b3146101f557806318160ddd1461021957806323b872dd14610240578063313ce5671461026a578063355274ea146102955780634000aea0146102aa57806340c10f191461030657806342966c681461032a578063661884631461034457806370a0823114610368578063715018a6146103895780637d64bcb41461039e5780638da5cb5b146103b357806390db623f146103e457806395d89b4114610440578063a9059cbb14610455578063c1d34b8914610479578063cae9ca51146104db578063cb3993be14610537578063d73dd62314610593578063dd62ed3e146105b7578063f2fde38b146105de575b600080fd5b34801561014e57600080fd5b506101576105ff565b604080519115158252519081900360200190f35b34801561017757600080fd5b5061018061060f565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020157600080fd5b50610157600160a060020a036004351660243561069d565b34801561022557600080fd5b5061022e610703565b60408051918252519081900360200190f35b34801561024c57600080fd5b50610157600160a060020a0360043581169060243516604435610709565b34801561027657600080fd5b5061027f61086c565b6040805160ff9092168252519081900360200190f35b3480156102a157600080fd5b5061022e610871565b604080516020600460443581810135601f8101849004840285018401909552848452610157948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506108779650505050505050565b34801561031257600080fd5b50610157600160a060020a0360043516602435610927565b34801561033657600080fd5b50610342600435610995565b005b34801561035057600080fd5b50610157600160a060020a03600435166024356109a2565b34801561037457600080fd5b5061022e600160a060020a0360043516610a91565b34801561039557600080fd5b50610342610aac565b3480156103aa57600080fd5b50610157610b1a565b3480156103bf57600080fd5b506103c8610b9e565b60408051600160a060020a039092168252519081900360200190f35b604080516020600460443581810135601f8101849004840285018401909552848452610157948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610bad9650505050505050565b34801561044c57600080fd5b50610180610bcf565b34801561046157600080fd5b50610157600160a060020a0360043516602435610c2a565b604080516020601f60643560048181013592830184900484028501840190955281845261015794600160a060020a038135811695602480359092169560443595369560849401918190840183828082843750949750610cf79650505050505050565b604080516020600460443581810135601f8101849004840285018401909552848452610157948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610da99650505050505050565b604080516020600460443581810135601f8101849004840285018401909552848452610157948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610dcb9650505050505050565b34801561059f57600080fd5b50610157600160a060020a0360043516602435610ded565b3480156105c357600080fd5b5061022e600160a060020a0360043581169060243516610e86565b3480156105ea57600080fd5b50610342600160a060020a0360043516610eb1565b60035460a060020a900460ff1681565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b505050505081565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60015490565b600160a060020a03831660009081526020819052604081205482111561072e57600080fd5b600160a060020a038416600090815260026020908152604080832033845290915290205482111561075e57600080fd5b600160a060020a038316151561077357600080fd5b600160a060020a03841660009081526020819052604090205461079c908363ffffffff610ed116565b600160a060020a0380861660009081526020819052604080822093909355908516815220546107d1908363ffffffff610ee316565b600160a060020a03808516600090815260208181526040808320949094559187168152600282528281203382529091522054610813908363ffffffff610ed116565b600160a060020a038086166000818152600260209081526040808320338452825291829020949094558051868152905192871693919260008051602061115c833981519152929181900390910190a35060019392505050565b601281565b60065481565b6000600160a060020a03841630141561088f57600080fd5b6108998484610c2a565b5083600160a060020a0316348360405180828051906020019080838360005b838110156108d05781810151838201526020016108b8565b50505050905090810190601f1680156108fd5780820380516001836020036101000a031916815260200191505b5091505060006040518083038185875af192505050151561091d57600080fd5b5060019392505050565b600354600090600160a060020a0316331461094157600080fd5b60035460a060020a900460ff161561095857600080fd5b6000600654111561098457600654600154610979908463ffffffff610ee316565b111561098457600080fd5b61098e8383610ef6565b9392505050565b61099f3382610fee565b50565b336000908152600260209081526040808320600160a060020a03861684529091528120548083106109f657336000908152600260209081526040808320600160a060020a0388168452909152812055610a2b565b610a06818463ffffffff610ed116565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b600354600160a060020a03163314610ac357600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600090600160a060020a03163314610b3457600080fd5b60035460a060020a900460ff1615610b4b57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b600354600160a060020a031681565b6000600160a060020a038416301415610bc557600080fd5b6108998484610ded565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106955780601f1061066a57610100808354040283529160200191610695565b33600090815260208190526040812054821115610c4657600080fd5b600160a060020a0383161515610c5b57600080fd5b33600090815260208190526040902054610c7b908363ffffffff610ed116565b3360009081526020819052604080822092909255600160a060020a03851681522054610cad908363ffffffff610ee316565b600160a060020a0384166000818152602081815260409182902093909355805185815290519192339260008051602061115c8339815191529281900390910190a350600192915050565b6000600160a060020a038416301415610d0f57600080fd5b610d1a858585610709565b5083600160a060020a0316348360405180828051906020019080838360005b83811015610d51578181015183820152602001610d39565b50505050905090810190601f168015610d7e5780820380516001836020036101000a031916815260200191505b5091505060006040518083038185875af1925050501515610d9e57600080fd5b506001949350505050565b6000600160a060020a038416301415610dc157600080fd5b610899848461069d565b6000600160a060020a038416301415610de357600080fd5b61089984846109a2565b336000908152600260209081526040808320600160a060020a0386168452909152812054610e21908363ffffffff610ee316565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a03163314610ec857600080fd5b61099f816110dd565b600082821115610edd57fe5b50900390565b81810182811015610ef057fe5b92915050565b600354600090600160a060020a03163314610f1057600080fd5b60035460a060020a900460ff1615610f2757600080fd5b600154610f3a908363ffffffff610ee316565b600155600160a060020a038316600090815260208190526040902054610f66908363ffffffff610ee316565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a0385169160009160008051602061115c8339815191529181900360200190a350600192915050565b600160a060020a03821660009081526020819052604090205481111561101357600080fd5b600160a060020a03821660009081526020819052604090205461103c908263ffffffff610ed116565b600160a060020a038316600090815260208190526040902055600154611068908263ffffffff610ed116565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a0385169160008051602061115c8339815191529181900360200190a35050565b600160a060020a03811615156110f257600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820d31572728db3eeffe46e2f39126a3fd2ca3658582aaca847d13c84e599fc4bb70029",
"sourceMap": "350:976:4:-;;;436:35:60;;;-1:-1:-1;;;;;;436:35:60;;;732:134:4;5:2:-1;;;;30:1;27;20:12;5:2;732:134:4;;;;;;;;;;;;;;;;;;;;;;;;;;;567:5:55;:18;;-1:-1:-1;;;;;;567:18:55;575:10;567:18;;;732:134:4;;;801:12;;732:134;;;;;;;801:12;;:4;;:12;;;;;:::i;:::-;-1:-1:-1;823:16:4;;;;:6;;:16;;;;;:::i;:::-;-1:-1:-1;849:3:4;:10;-1:-1:-1;350:976:4;;-1:-1:-1;350:976:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;350:976:4;;;-1:-1:-1;350:976:4;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;",
"deployedSourceMap": "350:976:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;436:35:60;;8:9:-1;5:2;;;30:1;27;20:12;5:2;436:35:60;;;;;;;;;;;;;;;;;;;;;;418:18:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;418:18:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;418:18:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1814:188:62;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1814:188:62;;;-1:-1:-1;;;;;1814:188:62;;;;;389:83:56;;8:9:-1;5:2;;;30:1;27;20:12;5:2;389:83:56;;;;;;;;;;;;;;;;;;;;726:470:62;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;726:470:62;-1:-1:-1;;;;;726:470:62;;;;;;;;;;;;510:35:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;510:35:4;;;;;;;;;;;;;;;;;;;;;;;551:15;;8:9:-1;5:2;;;30:1;27;20:12;5:2;551:15:4;;;;2082:359:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2082:359:25;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2082:359:25;;-1:-1:-1;2082:359:25;;-1:-1:-1;;;;;;;2082:359:25;1116:208:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1116:208:4;;;-1:-1:-1;;;;;1116:208:4;;;;;353:73:57;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;353:73:57;;;;;;;3679:432:62;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3679:432:62;;;-1:-1:-1;;;;;3679:432:62;;;;;1149:99:56;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1149:99:56;;;-1:-1:-1;;;;;1149:99:56;;;1001:111:55;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1001:111:55;;;;1280:140:60;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1280:140:60;;;;238:20:55;;8:9:-1;5:2;;;30:1;27;20:12;5:2;238:20:55;;;;;;;;-1:-1:-1;;;;;238:20:55;;;;;;;;;;;;;;3905:403:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3905:403:25;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3905:403:25;;-1:-1:-1;3905:403:25;;-1:-1:-1;;;;;;;3905:403:25;442:20:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;442:20:4;;;;626:321:56;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;626:321:56;;;-1:-1:-1;;;;;626:321:56;;;;;2912:389:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2912:389:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2912:389:25;;-1:-1:-1;2912:389:25;;-1:-1:-1;;;;;;;2912:389:25;1275:378;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1275:378:25;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1275:378:25;;-1:-1:-1;1275:378:25;;-1:-1:-1;;;;;;;1275:378:25;4917:413;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4917:413:25;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4917:413:25;;-1:-1:-1;4917:413:25;;-1:-1:-1;;;;;;;4917:413:25;2926:296:62;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2926:296:62;;;-1:-1:-1;;;;;2926:296:62;;;;;2321:153;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2321:153:62;-1:-1:-1;;;;;2321:153:62;;;;;;;;;;1274:103:55;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1274:103:55;;;-1:-1:-1;;;;;1274:103:55;;;436:35:60;;;-1:-1:-1;;;436:35:60;;;;;:::o;418:18:4:-;;;;;;;;;;;;;;;-1:-1:-1;;418:18:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1814:188:62:-;1901:10;1881:4;1893:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1893:29:62;;;;;;;;;;;:38;;;1942;;;;;;;1881:4;;1893:29;;1901:10;;1942:38;;;;;;;;-1:-1:-1;1993:4:62;1814:188;;;;:::o;389:83:56:-;455:12;;389:83;:::o;726:470:62:-;-1:-1:-1;;;;;864:15:62;;832:4;864:15;;;;;;;;;;;854:25;;;846:34;;;;;;-1:-1:-1;;;;;904:14:62;;;;;;-1:-1:-1;904:14:62;;;;;;;;919:10;904:26;;;;;;;;894:36;;;886:45;;;;;;-1:-1:-1;;;;;945:17:62;;;;937:26;;;;;;-1:-1:-1;;;;;988:15:62;;:8;:15;;;;;;;;;;;:27;;1008:6;988:19;:27::i;:::-;-1:-1:-1;;;;;970:15:62;;;:8;:15;;;;;;;;;;;:45;;;;1037:13;;;;;;;:25;;1055:6;1037:17;:25::i;:::-;-1:-1:-1;;;;;1021:13:62;;;:8;:13;;;;;;;;;;;:41;;;;1097:14;;;;;-1:-1:-1;1097:14:62;;;;;1112:10;1097:26;;;;;;;:38;;1128:6;1097:30;:38::i;:::-;-1:-1:-1;;;;;1068:14:62;;;;;;;-1:-1:-1;1068:14:62;;;;;;;;1083:10;1068:26;;;;;;;:67;;;;1146:28;;;;;;;-1:-1:-1;;1146:28:62;;;;1068:14;;;;1146:28;;;1068:14;-1:-1:-1;1068:14:62;-1:-1:-1;;;;;1146:28:62;;;;;;;;;;-1:-1:-1;1187:4:62;726:470;;;;;:::o;510:35:4:-;543:2;510:35;:::o;551:15::-;;;;:::o;2082:359:25:-;2215:4;2258;-1:-1:-1;;;;;2243:20:25;;;;2235:29;;;;;;2275:27;2290:3;2295:6;2275:14;:27::i;:::-;;2380:3;-1:-1:-1;;;;;2380:8:25;2395:9;2406:5;2380:32;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2380:32:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2372:41;;;;;;;;-1:-1:-1;2430:4:25;2082:359;;;;;:::o;1116:208:4:-;719:5:55;;1194:4:4;;-1:-1:-1;;;;;719:5:55;705:10;:19;697:28;;;;;;511:15:60;;-1:-1:-1;;;511:15:60;;;;510:16;502:25;;;;;;1220:1:4;1214:3;;:7;1210:66;;;1272:3;;1243:12;;:25;;1260:7;1243:25;:16;:25;:::i;:::-;:32;;1235:41;;;;;;1293:24;1304:3;1309:7;1293:10;:24::i;:::-;1286:31;1116:208;-1:-1:-1;;;1116:208:4:o;353:73:57:-;396:25;402:10;414:6;396:5;:25::i;:::-;353:73;:::o;3679:432:62:-;3826:10;3785:4;3818:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3818:29:62;;;;;;;;;;3857:28;;;3853:165;;3903:10;3927:1;3895:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3895:29:62;;;;;;;;;:33;3853:165;;;3981:30;:8;3994:16;3981:30;:12;:30;:::i;:::-;3957:10;3949:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3949:29:62;;;;;;;;;:62;3853:165;4037:10;4059:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;4028:61:62;;4059:29;;;;;;;;;;;4028:61;;;;;;;;;4037:10;4028:61;;;;;;;;;;;-1:-1:-1;4102:4:62;;3679:432;-1:-1:-1;;;3679:432:62:o;1149:99:56:-;-1:-1:-1;;;;;1227:16:56;1205:7;1227:16;;;;;;;;;;;;1149:99::o;1001:111:55:-;719:5;;-1:-1:-1;;;;;719:5:55;705:10;:19;697:28;;;;;;1077:5;;1058:25;;-1:-1:-1;;;;;1077:5:55;;;;1058:25;;1077:5;;1058:25;1089:5;:18;;-1:-1:-1;;1089:18:55;;;1001:111::o;1280:140:60:-;719:5:55;;1339:4:60;;-1:-1:-1;;;;;719:5:55;705:10;:19;697:28;;;;;;511:15:60;;-1:-1:-1;;;511:15:60;;;;510:16;502:25;;;;;;1351:15;:22;;-1:-1:-1;;1351:22:60;-1:-1:-1;;;1351:22:60;;;1384:14;;;;-1:-1:-1;;1384:14:60;-1:-1:-1;1411:4:60;1280:140;:::o;238:20:55:-;;;-1:-1:-1;;;;;238:20:55;;:::o;3905:403:25:-;4053:4;4101;-1:-1:-1;;;;;4081:25:25;;;;4073:34;;;;;;4118:45;4141:8;4151:11;4118:22;:45::i;442:20:4:-;;;;;;;;;;;;;;;-1:-1:-1;;442:20:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;626:321:56;728:10;689:4;719:20;;;;;;;;;;;709:30;;;701:39;;;;;;-1:-1:-1;;;;;754:17:56;;;;746:26;;;;;;811:10;802:8;:20;;;;;;;;;;;:32;;827:6;802:32;:24;:32;:::i;:::-;788:10;779:8;:20;;;;;;;;;;;:55;;;;-1:-1:-1;;;;;856:13:56;;;;;;:25;;874:6;856:17;:25::i;:::-;-1:-1:-1;;;;;840:13:56;;:8;:13;;;;;;;;;;;:41;;;;892:33;;;;;;;-1:-1:-1;;840:13:56;;901:10;;892:33;;840:8;:13;-1:-1:-1;840:8:56;-1:-1:-1;;;;;892:33:56;;;;;;;;;-1:-1:-1;938:4:56;626:321;;;;:::o;2912:389:25:-;3064:4;3107;-1:-1:-1;;;;;3092:20:25;;;;3084:29;;;;;;3124:38;3143:5;3150:3;3155:6;3124:18;:38::i;:::-;;3240:3;-1:-1:-1;;;;;3240:8:25;3255:9;3266:5;3240:32;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3240:32:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3232:41;;;;;;;;-1:-1:-1;3290:4:25;2912:389;;;;;;:::o;1275:378::-;1412:4;1460;-1:-1:-1;;;;;1440:25:25;;;;1432:34;;;;;;1477:31;1491:8;1501:6;1477:13;:31::i;4917:413::-;5070:4;5118;-1:-1:-1;;;;;5098:25:25;;;;5090:34;;;;;;5135:50;5158:8;5168:16;5135:22;:50::i;2926:296:62:-;3089:10;3027:4;3081:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3081:29:62;;;;;;;;;;:46;;3115:11;3081:33;:46::i;:::-;3049:10;3041:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3041:29:62;;;;;;;;;;;;:87;;;3139:61;;;;;;3041:29;;3139:61;;;;;;;;;;;-1:-1:-1;3213:4:62;2926:296;;;;:::o;2321:153::-;-1:-1:-1;;;;;2444:15:62;;;2420:7;2444:15;;;-1:-1:-1;2444:15:62;;;;;;;;:25;;;;;;;;;;;;;2321:153::o;1274:103:55:-;719:5;;-1:-1:-1;;;;;719:5:55;705:10;:19;697:28;;;;;;1343:29;1362:9;1343:18;:29::i;1060:116:54:-;1120:7;1142:8;;;;1135:16;;;;-1:-1:-1;1164:7:54;;;1060:116::o;1238:128::-;1319:7;;;1339;;;;1332:15;;;;1238:128;;;;:::o;854:312:60:-;600:5;;968:4;;-1:-1:-1;;;;;600:5:60;586:10;:19;578:28;;;;;;511:15;;-1:-1:-1;;;511:15:60;;;;510:16;502:25;;;;;;997:12;;:25;;1014:7;997:25;:16;:25;:::i;:::-;982:12;:40;-1:-1:-1;;;;;1044:13:60;;:8;:13;;;;;;;;;;;:26;;1062:7;1044:17;:26::i;:::-;-1:-1:-1;;;;;1028:13:60;;:8;:13;;;;;;;;;;;;:42;;;;1081:18;;;;;;;1028:13;;1081:18;;;;;;;;;1110:34;;;;;;;;1127:1;-1:-1:-1;;;;;;;1110:34:60;;;1127:1;;1110:34;1127:1;;-1:-1:-1;;1127:1:60;-1:-1:-1;;;;;1110:34:60;;;;;;;;-1:-1:-1;1157:4:60;854:312;;;;:::o;430:438:57:-;-1:-1:-1;;;;;508:14:57;;:8;:14;;;;;;;;;;;498:24;;;490:33;;;;;;-1:-1:-1;;;;;718:14:57;;:8;:14;;;;;;;;;;;:26;;737:6;718:18;:26::i;:::-;-1:-1:-1;;;;;701:14:57;;:8;:14;;;;;;;;;;:43;-1:-1:-1;765:12:57;:24;;782:6;765:16;:24::i;:::-;750:12;:39;800:18;;;;;;;;-1:-1:-1;;;;;800:18:57;;;;;;;;;;;;;829:34;;;;;;;;852:1;;-1:-1:-1;;;;;829:34:57;;;-1:-1:-1;;;;;;;;;;;829:34:57;;;;;;;;430:438;;:::o;1512:171:55:-;-1:-1:-1;;;;;1582:23:55;;;;1574:32;;;;;;1638:5;;1617:38;;-1:-1:-1;;;;;1617:38:55;;;;1638:5;;1617:38;;1638:5;;1617:38;1661:5;:17;;-1:-1:-1;;1661:17:55;-1:-1:-1;;;;;1661:17:55;;;;;;;;;;1512:171::o",
"source": "pragma solidity ^0.4.25;\n\nimport \"openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol\";\nimport \"openzeppelin-solidity/contracts/token/ERC20/BurnableToken.sol\";\nimport \"../token/ERC827/ERC827Token.sol\";\n\n\n/**\n * @title DAOToken, base on zeppelin contract.\n * @dev ERC20 compatible token. It is a mintable, destructible, burnable token.\n */\n\ncontract DAOToken is ERC827Token,MintableToken,BurnableToken {\n\n string public name;\n string public symbol;\n // solium-disable-next-line uppercase\n uint8 public constant decimals = 18;\n uint public cap;\n\n /**\n * @dev Constructor\n * @param _name - token name\n * @param _symbol - token symbol\n * @param _cap - token cap - 0 value means no cap\n */\n constructor(string _name, string _symbol,uint _cap) public {\n name = _name;\n symbol = _symbol;\n cap = _cap;\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) public onlyOwner canMint returns (bool) {\n if (cap > 0)\n require(totalSupply_.add(_amount) <= cap);\n return super.mint(_to, _amount);\n }\n}\n",
"sourcePath": "/Users/oren/daostack/daostack2/daostack/contracts/controller/DAOToken.sol",
"ast": {
"absolutePath": "/Users/oren/daostack/daostack2/daostack/contracts/controller/DAOToken.sol",
"exportedSymbols": {
"DAOToken": [
2082
]
},
"id": 2083,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2008,
"literals": [
"solidity",
"^",
"0.4",
".25"
],
"nodeType": "PragmaDirective",
"src": "0:24:4"
},
{
"absolutePath": "openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol",
"file": "openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol",
"id": 2009,
"nodeType": "ImportDirective",
"scope": 2083,
"sourceUnit": 21226,
"src": "26:71:4",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": "openzeppelin-solidity/contracts/token/ERC20/BurnableToken.sol",
"file": "openzeppelin-solidity/contracts/token/ERC20/BurnableToken.sol",
"id": 2010,
"nodeType": "ImportDirective",
"scope": 2083,
"sourceUnit": 21045,
"src": "98:71:4",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": "/Users/oren/daostack/daostack2/daostack/contracts/token/ERC827/ERC827Token.sol",
"file": "../token/ERC827/ERC827Token.sol",
"id": 2011,
"nodeType": "ImportDirective",
"scope": 2083,
"sourceUnit": 7075,
"src": "170:41:4",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 2012,
"name": "ERC827Token",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 7074,
"src": "371:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC827Token_$7074",
"typeString": "contract ERC827Token"
}
},
"id": 2013,
"nodeType": "InheritanceSpecifier",
"src": "371:11:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 2014,
"name": "MintableToken",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 21225,
"src": "383:13:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_MintableToken_$21225",
"typeString": "contract MintableToken"
}
},
"id": 2015,
"nodeType": "InheritanceSpecifier",
"src": "383:13:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 2016,
"name": "BurnableToken",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 21044,
"src": "397:13:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_BurnableToken_$21044",
"typeString": "contract BurnableToken"
}
},
"id": 2017,
"nodeType": "InheritanceSpecifier",
"src": "397:13:4"
}
],
"contractDependencies": [
6862,
7074,
20877,
20973,
21044,
21087,
21119,
21225,
21534
],
"contractKind": "contract",
"documentation": "@title DAOToken, base on zeppelin contract.\n@dev ERC20 compatible token. It is a mintable, destructible, burnable token.",
"fullyImplemented": true,
"id": 2082,
"linearizedBaseContracts": [
2082,
21044,
21225,
20877,
7074,
21534,
20973,
6862,
21087,
21119
],
"name": "DAOToken",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"id": 2019,
"name": "name",
"nodeType": "VariableDeclaration",
"scope": 2082,
"src": "418:18:4",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_storage",
"typeString": "string"
},
"typeName": {
"id": 2018,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "418:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "public"
},
{
"constant": false,
"id": 2021,
"name": "symbol",
"nodeType": "VariableDeclaration",
"scope": 2082,
"src": "442:20:4",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_storage",
"typeString": "string"
},
"typeName": {
"id": 2020,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "442:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "public"
},
{
"constant": true,
"id": 2024,
"name": "decimals",
"nodeType": "VariableDeclaration",
"scope": 2082,
"src": "510:35:4",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 2022,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "510:5:4",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"value": {
"argumentTypes": null,
"hexValue": "3138",
"id": 2023,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "543:2:4",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_18_by_1",
"typeString": "int_const 18"
},
"value": "18"
},
"visibility": "public"
},
{
"constant": false,
"id": 2026,
"name": "cap",
"nodeType": "VariableDeclaration",
"scope": 2082,
"src": "551:15:4",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2025,
"name": "uint",
"nodeType": "ElementaryTypeName",
"src": "551:4:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "public"
},
{
"body": {
"id": 2047,
"nodeType": "Block",
"src": "791:75:4",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 2037,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 2035,
"name": "name",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2019,
"src": "801:4:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage",
"typeString": "string storage ref"
}
},
"nodeType": "Assignment",
"operator": "=",