Skip to content

Commit 6deb6bd

Browse files
committed
chore: migration of version [ci skip]
LOG: Compiling ./contracts/Migrations.sol... Compiling ./contracts/W12Lister.sol... Compiling ./contracts/W12ListerStub.sol... Compiling ./contracts/access/roles/AdminRole.sol... Compiling ./contracts/access/roles/IAdminRole.sol... Compiling ./contracts/access/roles/IPricerRole.sol... Compiling ./contracts/access/roles/IProjectOwnerRole.sol... Compiling ./contracts/access/roles/ISuggestorRole.sol... Compiling ./contracts/access/roles/PricerRole.sol... Compiling ./contracts/access/roles/ProjectOwnerRole.sol... Compiling ./contracts/access/roles/SuggestorRole.sol... Compiling ./contracts/crowdsale/IW12Crowdsale.sol... Compiling ./contracts/crowdsale/IW12Fund.sol... Compiling ./contracts/crowdsale/W12Crowdsale.sol... Compiling ./contracts/crowdsale/W12Fund.sol... Compiling ./contracts/crowdsale/factories/IW12CrowdsaleFactory.sol... Compiling ./contracts/crowdsale/factories/IW12FundFactory.sol... Compiling ./contracts/crowdsale/factories/W12CrowdsaleFactory.sol... Compiling ./contracts/crowdsale/factories/W12FundFactory.sol... Compiling ./contracts/libs/Crowdsale.sol... Compiling ./contracts/libs/Fund.sol... Compiling ./contracts/libs/FundAccount.sol... Compiling ./contracts/libs/PaymentMethods.sol... Compiling ./contracts/libs/Percent.sol... Compiling ./contracts/libs/PurchaseProcessing.sol... Compiling ./contracts/libs/TokenListing.sol... Compiling ./contracts/libs/Utils.sol... Compiling ./contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol... Compiling ./contracts/mocks/crowdsale/W12CrowdsaleStub.sol... Compiling ./contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol... Compiling ./contracts/mocks/crowdsale/W12FundStub.sol... Compiling ./contracts/mocks/libs/PercentMock.sol... Compiling ./contracts/mocks/libs/PurchaseProcessing.sol... Compiling ./contracts/mocks/libs/Utils.sol... Compiling ./contracts/mocks/lister/W12Lister__W12CrowdsaleFactoryMock.sol... Compiling ./contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol... Compiling ./contracts/mocks/lister/W12Lister__W12FundMock.sol... Compiling ./contracts/mocks/rates/RatesGuard__RatesMock.sol... Compiling ./contracts/mocks/token/ERC20Mock.sol... Compiling ./contracts/rates/IRates.sol... Compiling ./contracts/rates/ISymbols.sol... Compiling ./contracts/rates/Rates.sol... Compiling ./contracts/rates/RatesGuard.sol... Compiling ./contracts/rates/Symbols.sol... Compiling ./contracts/token/IWToken.sol... Compiling ./contracts/token/WToken.sol... Compiling ./contracts/token/WTokenStub.sol... Compiling ./contracts/token/WTokenTestHelper.sol... Compiling ./contracts/token/exchanger/ITokenExchange.sol... Compiling ./contracts/token/exchanger/ITokenExchanger.sol... Compiling ./contracts/token/exchanger/ITokenLedger.sol... Compiling ./contracts/token/exchanger/TokenExchanger.sol... Compiling ./contracts/versioning/Versionable.sol... Compiling ./contracts/versioning/VersionsLedger.sol... Compiling ./contracts/wallets/IWallets.sol... Compiling ./contracts/wallets/Wallets.sol... Compiling openzeppelin-solidity/contracts/access/Roles.sol... Compiling openzeppelin-solidity/contracts/access/roles/MinterRole.sol... Compiling openzeppelin-solidity/contracts/math/SafeMath.sol... Compiling openzeppelin-solidity/contracts/ownership/Secondary.sol... Compiling openzeppelin-solidity/contracts/token/ERC20/ERC20.sol... Compiling openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol... Compiling openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol... Compiling openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol... Compiling openzeppelin-solidity/contracts/token/ERC20/IERC20.sol... Compiling openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol... Compiling openzeppelin-solidity/contracts/utils/ReentrancyGuard.sol... Compiling solidity-bytes-utils/contracts/BytesLib.sol... Compilation warnings encountered: /home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/rates/RatesGuard.sol:378:58: Warning: This variable is of storage pointer type and might be returned without assignment. This can cause storage corruption. Assign the variable (potentially from itself) to remove this warning. function _findBestSuggestion() internal view returns(Suggestion storage result, address suggestor, bool found) { ^-----------------------^ /home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/rates/RatesGuard.sol:378:5: Problematic end of function: function _findBestSuggestion() internal view returns(Suggestion storage result, address suggestor, bool found) { ^ (Relevant source part starts here and spans across multiple lines). ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:10:27: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setCrowdsale(IW12Crowdsale _crowdsale) external {} ^----------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:12:31: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setServiceWallet(address _serviceWallet) external {} ^--------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:14:22: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setSwap(address _swap) external {} ^-----------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:16:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function transferPrimary(address _address) public {} ^--------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:18:22: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function isAdmin(address account) public view returns (bool) {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:20:23: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function addAdmin(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:24:26: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function removeAdmin(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:26:29: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function isProjectOwner(address account) public view returns (bool) {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:28:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function addProjectOwner(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12CrowdsaleFundStub.sol:32:33: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function removeProjectOwner(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:35:22: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function isAdmin(address account) public view returns (bool) {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:37:23: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function addAdmin(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:41:26: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function removeAdmin(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:43:29: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function isProjectOwner(address account) public view returns (bool) {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:45:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function addProjectOwner(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:49:33: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function removeProjectOwner(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:51:28: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setParameters(uint price) external {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:53:57: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function updatePurchaseFeeParameterForPaymentMethod(bytes32 method, bool has, uint value) public {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:53:73: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function updatePurchaseFeeParameterForPaymentMethod(bytes32 method, bool has, uint value) public {} ^------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:53:83: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function updatePurchaseFeeParameterForPaymentMethod(bytes32 method, bool has, uint value) public {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:55:54: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getPurchaseFeeParameterForPaymentMethod(bytes32 method) public view returns (bool, uint) {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:57:45: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getPurchaseFeeForPaymentMethod(bytes32 method) public view returns (uint) {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:60:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint[6][] parametersOfStages, ^--------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:61:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint[] bonusConditionsOfStages, ^----------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:62:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint[4][] parametersOfMilestones, ^------------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:63:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint32[] nameAndDescriptionsOffsetOfMilestones, ^--------------------------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:64:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. bytes nameAndDescriptionsOfMilestones, ^-----------------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:65:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. bytes32[] paymentMethodsList ^--------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:98:23: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getStage(uint index) public view returns (uint32, uint32, uint, uint32, uint[], uint[]) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:120:58: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getCurrentStageIndex() public view returns (uint index, bool found) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:120:70: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getCurrentStageIndex() public view returns (uint index, bool found) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:122:33: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getSaleVolumeBonus(uint value) public view returns (uint bonus) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:122:66: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getSaleVolumeBonus(uint value) public view returns (uint bonus) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:130:24: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function buyTokens(bytes32 method, uint amount) payable public {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:130:40: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function buyTokens(bytes32 method, uint amount) payable public {} ^---------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:8:27: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setCrowdsale(IW12Crowdsale _crowdsale) external {} ^----------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:10:31: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setServiceWallet(address _serviceWallet) external {} ^--------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:12:22: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setSwap(address _swap) external {} ^-----------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:14:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function transferPrimary(address _address) public {} ^--------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:16:22: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function isAdmin(address account) public view returns (bool) {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:26:26: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function removeAdmin(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:28:29: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function isProjectOwner(address account) public view returns (bool) {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:30:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function addProjectOwner(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:34:33: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function removeProjectOwner(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:37:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. address investor, ^--------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:38:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint tokenAmount, ^--------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:39:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. bytes32 symbol, ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:40:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint cost, ^-------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12FundMock.sol:41:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint costUSD ^----------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:15:22: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function isAdmin(address account) public view returns (bool) {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:25:26: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function removeAdmin(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:27:29: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function isProjectOwner(address account) public view returns (bool) {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:29:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function addProjectOwner(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:33:33: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function removeProjectOwner(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:39:28: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setParameters(uint price) external {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:67:54: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getPurchaseFeeParameterForPaymentMethod(bytes32 method) public view returns (bool, uint) {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:69:45: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getPurchaseFeeForPaymentMethod(bytes32 method) public view returns (uint) {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:71:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function transferPrimary(address _address) public {} ^--------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:74:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint[6][] parametersOfStages, ^--------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:75:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint[] bonusConditionsOfStages, ^----------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:76:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint[4][] parametersOfMilestones, ^------------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:77:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. uint32[] nameAndDescriptionsOffsetOfMilestones, ^--------------------------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:78:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. bytes nameAndDescriptionsOfMilestones, ^-----------------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:79:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. bytes32[] paymentMethodsList ^--------------------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:84:27: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getMilestone(uint index) public view returns (uint32, uint, uint32, uint32, bytes, bytes) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:86:23: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getStage(uint index) public view returns (uint32, uint32, uint, uint32, uint[], uint[]) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:90:59: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getLastMilestoneIndex() public view returns (uint index, bool found) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:90:71: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getLastMilestoneIndex() public view returns (uint index, bool found) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:94:58: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getCurrentStageIndex() public view returns (uint index, bool found) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:94:70: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getCurrentStageIndex() public view returns (uint index, bool found) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:96:33: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getSaleVolumeBonus(uint value) public view returns (uint bonus) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:96:66: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getSaleVolumeBonus(uint value) public view returns (uint bonus) {} ^--------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:104:24: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function buyTokens(bytes32 method, uint amount) payable public {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:104:40: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function buyTokens(bytes32 method, uint amount) payable public {} ^---------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:7:40: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function addSymbolWithTokenAddress(bytes32 symbol, address _address) public {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:7:56: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function addSymbolWithTokenAddress(bytes32 symbol, address _address) public {} ^--------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:9:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setTokenAddress(bytes32 symbol, address _address) public {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:9:46: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function setTokenAddress(bytes32 symbol, address _address) public {} ^--------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:11:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function getTokenAddress(bytes32 symbol) public view returns (address) {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:13:22: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function isToken(bytes32 symbol) public view returns (bool) {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:55:24: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function addSymbol(bytes32 symbol) public {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:57:27: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function removeSymbol(bytes32 symbol) public {} ^------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:71:23: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function isPricer(address account) public view returns (bool) {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:73:24: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function addPricer(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/rates/RatesGuard__RatesMock.sol:75:27: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. function removePricer(address account) public {} ^-------------^ ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/libs/PurchaseProcessing.sol:37:5: Warning: Function state mutability can be restricted to pure function invoice( ^ (Relevant source part starts here and spans across multiple lines). ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/libs/PurchaseProcessing.sol:135:5: Warning: Function state mutability can be restricted to pure function invoiceByTokenAmount( ^ (Relevant source part starts here and spans across multiple lines). ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/libs/PurchaseProcessing.sol:8:5: Warning: Function state mutability can be restricted to pure function checkInvoiceInput( ^ (Relevant source part starts here and spans across multiple lines). ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/libs/PurchaseProcessing.sol:56:5: Warning: Function state mutability can be restricted to pure function fee(uint tokenAmount, uint cost, uint tokenFee, uint purchaseFee) public view returns(uint[2]) { ^ (Relevant source part starts here and spans across multiple lines). ,/home/hokid/projects/work/W12-Product-Blockchain-Protocol/contracts/mocks/libs/PurchaseProcessing.sol:96:5: Warning: Function state mutability can be restricted to pure function getBonus(uint value, uint[] volumeBoundaries, uint[] volumeBonuses) public view returns(uint bonus) { ^ (Relevant source part starts here and spans across multiple lines). Writing artifacts to ./build/contracts MIGRATION: Network Mainnet VersionsLedger - 0x5f1dee87b0c8f17512183a7fa6ba16d29defd033 Migrations - 0x92b6ecc23addb31ef5363b3ecd2139e1a4c00247 Wallets - 0x751d85776e933139cf389bf03946a04488d9a412 Rates - 0xb07fb445a7fa2047a073743d8221747d3ddb0d01 RatesGuard - 0xe6682b035f638bbdb57d5e7c86e7d07ade95c51d Percent - 0x09de53eab103bdc7c4cfb391eb1e75e6c97b7598 Utils - 0xe25775c6f0e232fcfd6046c1f064cd33b3c2f6cd FundAccount - 0x5f73c607cafa2c7291d76f6619a134c0c9467539 PaymentMethods - 0x1e79abe7ad97b81276fa1357a0292edf0c6f987b Crowdsale - 0x6f0f122bd419c8d41a86c606fcbcb20e825997d8 PurchaseProcessing - 0xae73d35123af5c4ea71f2e83a617f226e91a6563 W12FundFactory - 0xc40e1a5622ea9c6791ebfd24a659d897f9654c9f W12CrowdsaleFactory - 0x93f33fe2c944c05606c9f7597cac240310a78a4d TokenExchanger - 0x53d6ef3293ce77c4ccc68b2ca3031b717da848ff W12Lister - 0x5c394ed801a0189e32d714454ca902772c3fa809 Owner - 0xa21e4cebb5dc15de9cff47e0de59b63b3c795733 Service wallet - 0xa21e4cebb5dc15de9cff47e0de59b63b3c795733
1 parent a87fb76 commit 6deb6bd

File tree

148 files changed

+148707
-132381
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+148707
-132381
lines changed

abi/0.29.1/AdminRole.json

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"contractName": "AdminRole",
3+
"abi": [
4+
{
5+
"inputs": [],
6+
"payable": false,
7+
"stateMutability": "nonpayable",
8+
"type": "constructor"
9+
},
10+
{
11+
"anonymous": false,
12+
"inputs": [
13+
{
14+
"indexed": true,
15+
"name": "account",
16+
"type": "address"
17+
}
18+
],
19+
"name": "AdminAdded",
20+
"type": "event"
21+
},
22+
{
23+
"anonymous": false,
24+
"inputs": [
25+
{
26+
"indexed": true,
27+
"name": "account",
28+
"type": "address"
29+
}
30+
],
31+
"name": "AdminRemoved",
32+
"type": "event"
33+
},
34+
{
35+
"constant": true,
36+
"inputs": [
37+
{
38+
"name": "account",
39+
"type": "address"
40+
}
41+
],
42+
"name": "isAdmin",
43+
"outputs": [
44+
{
45+
"name": "",
46+
"type": "bool"
47+
}
48+
],
49+
"payable": false,
50+
"stateMutability": "view",
51+
"type": "function"
52+
},
53+
{
54+
"constant": false,
55+
"inputs": [],
56+
"name": "renounceAdmin",
57+
"outputs": [],
58+
"payable": false,
59+
"stateMutability": "nonpayable",
60+
"type": "function"
61+
}
62+
]
63+
}

abi/0.29.1/BytesLib.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"contractName": "BytesLib",
3+
"abi": []
4+
}

abi/0.29.1/Crowdsale.json

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"contractName": "Crowdsale",
3+
"abi": [
4+
{
5+
"constant": false,
6+
"inputs": [
7+
{
8+
"name": "stages",
9+
"type": "Crowdsale.Stage[] storage"
10+
},
11+
{
12+
"name": "milestones",
13+
"type": "Crowdsale.Milestone[] storage"
14+
},
15+
{
16+
"name": "parameters",
17+
"type": "uint256[6][]"
18+
},
19+
{
20+
"name": "bonusConditions",
21+
"type": "uint256[]"
22+
}
23+
],
24+
"name": "setStages",
25+
"outputs": [],
26+
"payable": false,
27+
"stateMutability": "nonpayable",
28+
"type": "function"
29+
},
30+
{
31+
"constant": false,
32+
"inputs": [
33+
{
34+
"name": "stages",
35+
"type": "Crowdsale.Stage[] storage"
36+
},
37+
{
38+
"name": "stageIndex",
39+
"type": "uint8"
40+
},
41+
{
42+
"name": "start",
43+
"type": "uint8"
44+
},
45+
{
46+
"name": "end",
47+
"type": "uint8"
48+
},
49+
{
50+
"name": "bonusConditions",
51+
"type": "uint256[]"
52+
}
53+
],
54+
"name": "setStageBonusConditions",
55+
"outputs": [],
56+
"payable": false,
57+
"stateMutability": "nonpayable",
58+
"type": "function"
59+
},
60+
{
61+
"constant": false,
62+
"inputs": [
63+
{
64+
"name": "stages",
65+
"type": "Crowdsale.Stage[] storage"
66+
},
67+
{
68+
"name": "milestones",
69+
"type": "Crowdsale.Milestone[] storage"
70+
},
71+
{
72+
"name": "parameters",
73+
"type": "uint256[4][]"
74+
},
75+
{
76+
"name": "offsets",
77+
"type": "uint32[]"
78+
},
79+
{
80+
"name": "namesAndDescriptions",
81+
"type": "bytes"
82+
}
83+
],
84+
"name": "setMilestones",
85+
"outputs": [],
86+
"payable": false,
87+
"stateMutability": "nonpayable",
88+
"type": "function"
89+
}
90+
]
91+
}

0 commit comments

Comments
 (0)