[ { "constant": true, "inputs": [], "name": "name", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_spender", "type": "address" }, { "name": "_value", "type": "uint256" } ], "name": "approve", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_from", "type": "address" }, { "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_to", "type": "address" }, { "name": "_amount", "type": "uint256" }, { "name": "_cliffMonths", "type": "uint256" }, { "name": "_vestingMonths", "type": "uint256" } ], "name": "grantTokenStartNow", "outputs": [ { "name": "success", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_amount", "type": "uint256" } ], "name": "returnGrantedToken", "outputs": [ { "name": "success", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_spender", "type": "address" }, { "name": "_subtractedValue", "type": "uint256" } ], "name": "decreaseApproval", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_to", "type": "address" }, { "name": "_amount", "type": "uint256" }, { "name": "_start", "type": "uint256" }, { "name": "_cliff", "type": "uint256" }, { "name": "_vesting", "type": "uint256" } ], "name": "grantToken", "outputs": [ { "name": "success", "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": 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": "_to", "type": "address" } ], "name": "redeemVestableToken", "outputs": [ { "name": "success", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_spender", "type": "address" }, { "name": "_addedValue", "type": "uint256" } ], "name": "increaseApproval", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_owner", "type": "address" }, { "name": "_spender", "type": "address" } ], "name": "allowance", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "who", "type": "address" } ], "name": "vestBalanceOf", "outputs": [ { "name": "amount", "type": "uint256" }, { "name": "vestedAmount", "type": "uint256" }, { "name": "start", "type": "uint256" }, { "name": "cliff", "type": "uint256" }, { "name": "vesting", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "_from", "type": "address" }, { "indexed": true, "name": "_to", "type": "address" }, { "indexed": false, "name": "_amount", "type": "uint256" }, { "indexed": false, "name": "_start", "type": "uint256" }, { "indexed": false, "name": "_cliff", "type": "uint256" }, { "indexed": false, "name": "_vesting", "type": "uint256" } ], "name": "NewTokenGrant", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "_to", "type": "address" }, { "indexed": false, "name": "_amount", "type": "uint256" }, { "indexed": false, "name": "_vestedMonths", "type": "uint256" } ], "name": "VestedTokenRedeemed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "_from", "type": "address" }, { "indexed": true, "name": "_to", "type": "address" }, { "indexed": false, "name": "_amount", "type": "uint256" } ], "name": "GrantedTokenReturned", "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" } ]
608060405234801561001057600080fd5b506b089c68757f7b851eb1a00000600181905533600081815260208181526040808320859055805194855251929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a36115ed806100796000396000f3006080604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ea578063095ea7b31461017457806318160ddd146101ac57806323b872dd146101d35780632f3423b8146101fd578063313ce567146102275780633252b8fb14610252578063661884631461026a5780636631ff1d1461028e57806370a08231146102bb57806395d89b41146102dc578063a9059cbb146102f1578063ce8d096d14610315578063d73dd62314610336578063dd62ed3e1461035a578063e33d28d714610381575b600080fd5b3480156100f657600080fd5b506100ff6103cd565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610139578181015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018057600080fd5b50610198600160a060020a0360043516602435610404565b604080519115158252519081900360200190f35b3480156101b857600080fd5b506101c161046b565b60408051918252519081900360200190f35b3480156101df57600080fd5b50610198600160a060020a0360043581169060243516604435610471565b34801561020957600080fd5b50610198600160a060020a03600435166024356044356064356105e8565b34801561023357600080fd5b5061023c610637565b6040805160ff9092168252519081900360200190f35b34801561025e57600080fd5b5061019860043561063c565b34801561027657600080fd5b50610198600160a060020a0360043516602435610876565b34801561029a57600080fd5b50610198600160a060020a0360043516602435604435606435608435610966565b3480156102c757600080fd5b506101c1600160a060020a0360043516610e01565b3480156102e857600080fd5b506100ff610e1c565b3480156102fd57600080fd5b50610198600160a060020a0360043516602435610e53565b34801561032157600080fd5b50610198600160a060020a0360043516610f34565b34801561034257600080fd5b50610198600160a060020a0360043516602435611195565b34801561036657600080fd5b506101c1600160a060020a036004358116906024351661122e565b34801561038d57600080fd5b506103a2600160a060020a0360043516611259565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b60408051808201909152600881527f4d5843546f6b656e000000000000000000000000000000000000000000000000602082015281565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60015490565b6000600160a060020a038316151561048857600080fd5b600160a060020a0384166000908152602081905260409020548211156104ad57600080fd5b600160a060020a03841660009081526002602090815260408083203384529091529020548211156104dd57600080fd5b600160a060020a038416600090815260208190526040902054610506908363ffffffff6112b316565b600160a060020a03808616600090815260208190526040808220939093559085168152205461053b908363ffffffff6112c516565b600160a060020a0380851660009081526020818152604080832094909455918716815260028252828120338252909152205461057d908363ffffffff6112b316565b600160a060020a03808616600081815260026020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b600061062e8585426106136106068862278d0063ffffffff6112d216565b429063ffffffff6112c516565b6106296106068862278d0063ffffffff6112d216565b610966565b95945050505050565b601281565b33600090815260036020526040812060060154600160a060020a031680151561066457600080fd5b600083116106bc576040805160e560020a62461bcd02815260206004820152601460248201527f4e6f7468696e6720746f207472616e736665722e000000000000000000000000604482015290519081900360640190fd5b3360009081526003602052604081205411610721576040805160e560020a62461bcd02815260206004820152601260248201527f4e6f7468696e6720746f2072657475726e2e0000000000000000000000000000604482015290519081900360640190fd5b336000908152600360205260409020600181015490546107469163ffffffff6112b316565b8311156107c3576040805160e560020a62461bcd02815260206004820152602360248201527f4e6f7420656e6f756768206772616e74656420746f6b656e20746f207265747560448201527f726e2e0000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b336000908152600360205260409020546107e3908463ffffffff6112b316565b33600090815260036020908152604080832093909355600160a060020a0384168252819052205461081a908463ffffffff6112c516565b600160a060020a038216600081815260208181526040918290209390935580518681529051919233927f6a362f3f77c5bc6d1c9cd0e3d3c0f1d03c5d9e504b573c5bbb65550af73e56ec9281900390910190a350600192915050565b336000908152600260209081526040808320600160a060020a0386168452909152812054808311156108cb57336000908152600260209081526040808320600160a060020a0388168452909152812055610900565b6108db818463ffffffff6112b316565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000600160a060020a038616151561097d57600080fd5b33600090815260208190526040902054851115610a0a576040805160e560020a62461bcd02815260206004820152602260248201527f4e6f7420656e6f7567682062616c616e636520746f206772616e7420746f6b6560448201527f6e2e000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60008511610a62576040805160e560020a62461bcd02815260206004820152601460248201527f4e6f7468696e6720746f207472616e736665722e000000000000000000000000604482015290519081900360640190fd5b600160a060020a038616600090815260036020526040902060018101549054610a909163ffffffff6112b316565b15610b0b576040805160e560020a62461bcd02815260206004820152602960248201527f5468652070726576696f75732076657374696e672073686f756c64206265206360448201527f6f6d706c657465642e0000000000000000000000000000000000000000000000606482015290519081900360840190fd5b83831015610b63576040805160e560020a62461bcd02815260206004820152601860248201527f5f636c696666206d757374206265203e3d205f73746172740000000000000000604482015290519081900360640190fd5b838211610be0576040805160e560020a62461bcd02815260206004820152602360248201527f5f76657374696e67206d75737420626520626967676572207468616e205f737460448201527f6172740000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b828211610c5d576040805160e560020a62461bcd02815260206004820152602360248201527f5f76657374696e67206d75737420626520626967676572207468616e205f636c60448201527f6966660000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b33600090815260208190526040902054610c7d908663ffffffff6112b316565b60008033600160a060020a0316600160a060020a031681526020019081526020016000208190555060e06040519081016040528086815260200160008152602001600061ffff16815260200185815260200184815260200183815260200133600160a060020a03168152506003600088600160a060020a0316600160a060020a03168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548161ffff021916908361ffff160217905550606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a815481600160a060020a030219169083600160a060020a0316021790555090505085600160a060020a031633600160a060020a03167f721b00c5c94c01f0922a764275cb3532e917776ada3541cc78e867acbda3192e878787876040518085815260200184815260200183815260200182815260200194505050505060405180910390a350600195945050505050565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f4d58430000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a0383161515610e6a57600080fd5b33600090815260208190526040902054821115610e8657600080fd5b33600090815260208190526040902054610ea6908363ffffffff6112b316565b3360009081526020819052604080822092909255600160a060020a03851681522054610ed8908363ffffffff6112c516565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600080808080600160a060020a0386161515610f4f57600080fd5b600160a060020a03861660009081526003602052604081205411610fe2576040805160e560020a62461bcd028152602060048201526024808201527f4e6f7468696e6720776173206772616e74656420746f2074686973206164647260448201527f6573732100000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0386166000908152600360205260409020805460019091015410611057576040805160e560020a62461bcd02815260206004820152601760248201527f416c6c20746f6b656e7320776572652076657374656421000000000000000000604482015290519081900360640190fd5b611060866112fb565b91955093509150600084116110bf576040805160e560020a62461bcd02815260206004820152601660248201527f4e6f7468696e6720746f2072656465656d206e6f772e00000000000000000000604482015290519081900360640190fd5b50600160a060020a038516600090815260036020908152604080832091839052909120546110f3908563ffffffff6112c516565b600160a060020a0387166000908152602081905260409020556001810154611121908563ffffffff6112c516565b600182015560028101805461ffff80821686011661ffff199091161790556004810182905560408051858152602081018590528151600160a060020a038916927f77a2f91dda02d8ce9c2419cb7839699d295719a638421b588a95f884c5377b22928290030190a250600195945050505050565b336000908152600260209081526040808320600160a060020a03861684529091528120546111c9908363ffffffff6112c516565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600080808080600160a060020a038616151561127457600080fd5b50505050600160a060020a0391909116600090815260036020819052604090912080546001820154928201546004830154600590930154919593945092565b6000828211156112bf57fe5b50900390565b8181018281101561046557fe5b60008215156112e357506000610465565b508181028183828115156112f357fe5b041461046557fe5b600160a060020a038116600090815260036020526040812054819042908290819081908110611399576040805160e560020a62461bcd028152602060048201526024808201527f4e6f7468696e6720776173206772616e74656420746f2074686973206164647260448201527f6573732e00000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a03871660009081526003602052604090206004015484116113c757600095508594506115a2565b600160a060020a0387166000908152600360208190526040909120015462278d00906113fa90869063ffffffff6112b316565b81151561140357fe5b600160a060020a038916600090815260036020526040902060020154919004955061143990869061ffff1663ffffffff6112b316565b600160a060020a038816600090815260036020526040902060050154909550841061149357600160a060020a03871660009081526003602052604090206001810154905461148c9163ffffffff6112b316565b95506115a2565b60008511156115a257600160a060020a03871660009081526003602081905260409091209081015460059091015462278d00916114d6919063ffffffff6112b316565b8115156114df57fe5b600160a060020a038916600090815260036020526040902054919004935061150d908463ffffffff6115ac16565b905061151f858263ffffffff6112d216565b600160a060020a03881660009081526003602052604090206001015490965061154e908763ffffffff6112c516565b600160a060020a0388166000908152600360205260409020549092508211156115a257600160a060020a03871660009081526003602052604090206001810154905461159f9163ffffffff6112b316565b95505b5050509193909250565b600081838115156115b957fe5b0493925050505600a165627a7a72305820156b96620bc6806e6f2d2f44b62996de6d965535543f139996f301186098f5a20029