{"action":"created","issue":{"url":"https://api.github.com/repos/Eximchain/TokenSale/issues/1","repository_url":"https://api.github.com/repos/Eximchain/TokenSale","labels_url":"https://api.github.com/repos/Eximchain/TokenSale/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Eximchain/TokenSale/issues/1/comments","events_url":"https://api.github.com/repos/Eximchain/TokenSale/issues/1/events","html_url":"https://github.com/Eximchain/TokenSale/issues/1","id":295900871,"node_id":"MDU6SXNzdWUyOTU5MDA4NzE=","number":1,"title":"Documentation?","user":{"login":"akscanb","id":5158321,"node_id":"MDQ6VXNlcjUxNTgzMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/5158321?v=4","gravatar_id":"","url":"https://api.github.com/users/akscanb","html_url":"https://github.com/akscanb","followers_url":"https://api.github.com/users/akscanb/followers","following_url":"https://api.github.com/users/akscanb/following{/other_user}","gists_url":"https://api.github.com/users/akscanb/gists{/gist_id}","starred_url":"https://api.github.com/users/akscanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akscanb/subscriptions","organizations_url":"https://api.github.com/users/akscanb/orgs","repos_url":"https://api.github.com/users/akscanb/repos","events_url":"https://api.github.com/users/akscanb/events{/privacy}","received_events_url":"https://api.github.com/users/akscanb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-09T15:06:33Z","updated_at":"2018-06-28T20:39:13Z","closed_at":null,"author_association":"NONE","body":"I was trying to test out the deploy contract piece of TokenSale, but there is no documentation as to how to run this. "},"comment":{"url":"https://api.github.com/repos/Eximchain/TokenSale/issues/comments/401166004","html_url":"https://github.com/Eximchain/TokenSale/issues/1#issuecomment-401166004","issue_url":"https://api.github.com/repos/Eximchain/TokenSale/issues/1","id":401166004,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTE2NjAwNA==","user":{"login":"fcolon","id":4604249,"node_id":"MDQ6VXNlcjQ2MDQyNDk=","avatar_url":"https://avatars2.githubusercontent.com/u/4604249?v=4","gravatar_id":"","url":"https://api.github.com/users/fcolon","html_url":"https://github.com/fcolon","followers_url":"https://api.github.com/users/fcolon/followers","following_url":"https://api.github.com/users/fcolon/following{/other_user}","gists_url":"https://api.github.com/users/fcolon/gists{/gist_id}","starred_url":"https://api.github.com/users/fcolon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcolon/subscriptions","organizations_url":"https://api.github.com/users/fcolon/orgs","repos_url":"https://api.github.com/users/fcolon/repos","events_url":"https://api.github.com/users/fcolon/events{/privacy}","received_events_url":"https://api.github.com/users/fcolon/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T20:39:13Z","updated_at":"2018-06-28T20:39:13Z","author_association":"NONE","body":"I am also running into this issue now - unsure of how to run the tests. The smart contracts also don't compile as is anymore and need updating.\r\n\r\nRenaming `tests/` to `test/` and assuming `truffle test` results in\r\n```sh\r\nCompiling ./contracts/Enuma/ERC20Interface.sol...\r\nCompiling ./contracts/Enuma/ERC20Token.sol...\r\nCompiling ./contracts/Enuma/Finalizable.sol...\r\nCompiling ./contracts/Enuma/FinalizableToken.sol...\r\nCompiling ./contracts/Enuma/FlexibleTokenSale.sol...\r\nCompiling ./contracts/Enuma/FlexibleTokenSaleMock.sol...\r\nCompiling ./contracts/Enuma/Math.sol...\r\nCompiling ./contracts/Enuma/MathTest.sol...\r\nCompiling ./contracts/Enuma/OpsManaged.sol...\r\nCompiling ./contracts/Enuma/Owned.sol...\r\nCompiling ./contracts/EximchainToken.sol...\r\nCompiling ./contracts/EximchainTokenConfig.sol...\r\nCompiling ./contracts/EximchainTokenSale.sol...\r\nCompiling ./contracts/EximchainTokenSaleConfig.sol...\r\nCompiling ./contracts/EximchainTokenSaleMock.sol...\r\n\r\nCompilation warnings encountered:\r\nTokenSale/contracts/Enuma/ERC20Token.sol:28:4: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function ERC20Token(string _name, string _symbol, uint8 _decimals, uint256 _totalSupply, address _initialTokenHolder) public {\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/Enuma/Owned.sol:22:4: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function Owned() public\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/Enuma/Finalizable.sol:22:4: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function Finalizable() public\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/Enuma/OpsManaged.sol:25:4: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function OpsManaged() public\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/Enuma/FinalizableToken.sol:28:4: Warning: Defining constructors as functions with the same name as thecontract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function FinalizableToken(string _name, string _symbol, uint8 _decimals, uint256 _totalSupply) public\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:69:4: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function FlexibleTokenSale(uint256 _startTime, uint256 _endTime, address _walletAddress) public\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/Enuma/FlexibleTokenSaleMock.sol:19:4: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function FlexibleTokenSaleMock(uint256 _startTime, uint256 _endTime, address _walletAddress, uint256 _currentTime) public\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/Enuma/MathTest.sol:20:4: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function MathTest() public\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/EximchainToken.sol:33:4: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function EximchainToken() public\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/EximchainTokenSale.sol:30:4: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function EximchainTokenSale(address wallet) public\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/EximchainTokenSaleMock.sol:20:4: Warning: Defining constructors as functions with the same name as thecontract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n   function EximchainTokenSaleMock(address wallet, uint256 _currentTime) public\r\n   ^ (Relevant source part starts here and spans across multiple lines).\r\nTokenSale/contracts/Enuma/ERC20Token.sol:38:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      Transfer(0x0, _initialTokenHolder, _totalSupply);\r\n      ^----------------------------------------------^\r\nTokenSale/contracts/Enuma/ERC20Token.sol:76:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      Transfer(msg.sender, _to, _value);\r\n      ^-------------------------------^\r\nTokenSale/contracts/Enuma/ERC20Token.sol:87:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      Transfer(_from, _to, _value);\r\n      ^--------------------------^\r\nTokenSale/contracts/Enuma/ERC20Token.sol:96:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      Approval(msg.sender, _spender, _value);\r\n      ^------------------------------------^\r\nTokenSale/contracts/Enuma/Owned.sol:46:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      OwnershipTransferInitiated(proposedOwner);\r\n      ^---------------------------------------^\r\nTokenSale/contracts/Enuma/Owned.sol:58:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      OwnershipTransferCompleted(owner);\r\n      ^-------------------------------^\r\nTokenSale/contracts/Enuma/Finalizable.sol:34:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      Finalized();\r\n      ^---------^\r\nTokenSale/contracts/Enuma/OpsManaged.sol:53:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      OpsAddressUpdated(opsAddress);\r\n      ^---------------------------^\r\nTokenSale/contracts/Enuma/FinalizableToken.sol:22:1: Warning: Base constructor arguments given twice.\r\ncontract FinalizableToken is ERC20Token, OpsManaged, Finalizable {\r\n^ (Relevant source part starts here and spans across multiple lines).TokenSale/contracts/Enuma/OpsManaged.sol:26:7: First constructor call is here:\r\n      Owned()\r\n      ^-----^TokenSale/contracts/Enuma/Finalizable.sol:23:7: Second constructor call is here:\r\n      Owned()\r\n      ^-----^\r\n\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:17:1: Warning: Base constructor arguments given twice.\r\ncontract FlexibleTokenSale is Finalizable, OpsManaged {\r\n^ (Relevant source part starts here and spans across multiple lines).TokenSale/contracts/Enuma/Finalizable.sol:23:7: First constructor call is here:\r\n      Owned()\r\n      ^-----^TokenSale/contracts/Enuma/OpsManaged.sol:26:7: Second constructor call is here:\r\n      Owned()\r\n      ^-----^\r\n\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:120:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      Initialized();\r\n      ^-----------^\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:140:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      WalletAddressUpdated(_walletAddress);\r\n      ^----------------------------------^\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:152:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      MaxTokensPerAccountUpdated(_maxTokens);\r\n      ^------------------------------------^\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:165:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      TokensPerKEtherUpdated(_tokensPerKEther);\r\n      ^--------------------------------------^\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:179:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      BonusUpdated(_bonus);\r\n      ^------------------^\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:195:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      SaleWindowUpdated(_startTime, _endTime);\r\n      ^-------------------------------------^\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:209:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      SaleSuspended();\r\n      ^-------------^\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:223:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      SaleResumed();\r\n      ^-----------^\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:320:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      TokensPurchased(_beneficiary, cost, tokens);\r\n      ^-----------------------------------------^\r\nTokenSale/contracts/Enuma/FlexibleTokenSale.sol:339:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      TokensReclaimed(tokens);\r\n      ^---------------------^\r\nTokenSale/contracts/Enuma/FlexibleTokenSaleMock.sol:14:1: Warning: Base constructor arguments given twice.\r\ncontract FlexibleTokenSaleMock is FlexibleTokenSale {\r\n^ (Relevant source part starts here and spans across multiple lines).TokenSale/contracts/Enuma/Finalizable.sol:23:7: First constructor call is here:\r\n      Owned()\r\n      ^-----^TokenSale/contracts/Enuma/OpsManaged.sol:26:7: Second constructor call is here:\r\n      Owned()\r\n      ^-----^\r\n\r\nTokenSale/contracts/EximchainToken.sol:19:1: Warning: Base constructor arguments given twice.\r\ncontract EximchainToken is FinalizableToken, EximchainTokenConfig {\r\n^ (Relevant source part starts here and spans across multiple lines).TokenSale/contracts/Enuma/OpsManaged.sol:26:7: First constructor call is here:\r\n      Owned()\r\n      ^-----^TokenSale/contracts/Enuma/Finalizable.sol:23:7: Second constructor call is here:\r\n      Owned()\r\n      ^-----^\r\n\r\nTokenSale/contracts/EximchainToken.sol:65:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      TokensBurnt(account, _amount);\r\n      ^---------------------------^\r\nTokenSale/contracts/EximchainToken.sol:84:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      Transfer(account, owner, amount);\r\n      ^------------------------------^\r\nTokenSale/contracts/EximchainToken.sol:86:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      TokensReclaimed(amount);\r\n      ^---------------------^\r\nTokenSale/contracts/EximchainToken.sol:100:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      Frozen();\r\n      ^------^\r\nTokenSale/contracts/EximchainTokenSale.sol:16:1: Warning: Base constructor arguments given twice.\r\ncontract EximchainTokenSale is FlexibleTokenSale, EximchainTokenSaleConfig {\r\n^ (Relevant source part starts here and spans across multiple lines).TokenSale/contracts/Enuma/Finalizable.sol:23:7: First constructor call is here:\r\n      Owned()\r\n      ^-----^TokenSale/contracts/Enuma/OpsManaged.sol:26:7: Second constructor call is here:\r\n      Owned()\r\n      ^-----^\r\n\r\nTokenSale/contracts/EximchainTokenSale.sol:57:7: Warning: Invoking events without \"emit\" prefix is deprecated.\r\n      WhitelistUpdated(_account, _status);\r\n      ^---------------------------------^\r\nTokenSale/contracts/EximchainTokenSaleMock.sol:15:1: Warning: Base constructor arguments given twice.\r\ncontract EximchainTokenSaleMock is EximchainTokenSale {\r\n^ (Relevant source part starts here and spans across multiple lines).TokenSale/contracts/Enuma/Finalizable.sol:23:7: First constructor call is here:\r\n      Owned()\r\n      ^-----^TokenSale/contracts/Enuma/OpsManaged.sol:26:7: Second constructor call is here:\r\n      Owned()\r\n      ^-----^\r\n```"}}
{"actor":{"display_login":"fcolon"}}