Skip to content

Commit

Permalink
chore: migration of version v0.29.0-alpha.0 [ci skip]
Browse files Browse the repository at this point in the history
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/circleci/code/contracts/rates/RatesGuard.sol:201:41: Warning: This declaration shadows an existing declaration.
    function suggest(bytes32[] symbols, uint[] rates) public onlySuggestor {
                                        ^----------^
/home/circleci/code/contracts/rates/RatesGuard.sol:23:5: The shadowed declaration is here:
    IRates public rates;
    ^-----------------^

,/home/circleci/code/contracts/rates/RatesGuard.sol:208:67: Warning: This declaration shadows an existing declaration.
    function _addSuggestion(address suggestor, bytes32[] symbols, uint[] rates) internal {
                                                                  ^----------^
/home/circleci/code/contracts/rates/RatesGuard.sol:23:5: The shadowed declaration is here:
    IRates public rates;
    ^-----------------^

,/home/circleci/code/contracts/rates/RatesGuard.sol:353: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/circleci/code/contracts/rates/RatesGuard.sol:353: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/circleci/code/contracts/libs/Fund.sol:98:14: Warning: Unused local variable.
        (,,, uint32 lastWithdrawalWindow,,) = crowdsale.getMilestone(lastIndex);
             ^-------------------------^
,/home/circleci/code/contracts/libs/Fund.sol:103:34: Warning: Unused local variable.
        (, uint tranchePercent,, uint32 withdrawalWindow,,) = crowdsale.getMilestone(index);
                                 ^---------------------^
,/home/circleci/code/contracts/crowdsale/W12Fund.sol:229:22: Warning: Unused local variable.
        (uint index, bool found) = crowdsale.getCurrentMilestoneIndex();
                     ^--------^
,/home/circleci/code/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/circleci/code/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/circleci/code/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/circleci/code/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/circleci/code/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/circleci/code/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/circleci/code/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/circleci/code/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/circleci/code/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/circleci/code/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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:34: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:36:23: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function addAdmin(address account) public {}
                      ^-------------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:40:26: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function removeAdmin(address account) public {}
                         ^-------------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:42: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:44:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function addProjectOwner(address account) public {}
                             ^-------------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:48:33: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function removeProjectOwner(address account) public {}
                                ^-------------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:50:28: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function setParameters(uint price) external {}
                           ^--------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:52: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:52: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:52: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:54: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:56: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:59:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint[6][] parametersOfStages,
        ^--------------------------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:60:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint[] bonusConditionsOfStages,
        ^----------------------------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:61:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint[4][] parametersOfMilestones,
        ^------------------------------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:62:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint32[] nameAndDescriptionsOffsetOfMilestones,
        ^--------------------------------------------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:63:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        bytes nameAndDescriptionsOfMilestones,
        ^-----------------------------------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:64:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        bytes32[] paymentMethodsList
        ^--------------------------^
,/home/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:97: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:119: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:119: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:121: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:121: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:129: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/circleci/code/contracts/mocks/crowdsale/W12FundCrowdsaleStub.sol:129: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/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:7:27: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function setCrowdsale(IW12Crowdsale _crowdsale) external {}
                          ^----------------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:9:31: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function setServiceWallet(address _serviceWallet) external {}
                              ^--------------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:11:22: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function setSwap(address _swap) external {}
                     ^-----------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:13:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function transferPrimary(address _address) public {}
                             ^--------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.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/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:25:26: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function removeAdmin(address account) public {}
                         ^-------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.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/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:29:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function addProjectOwner(address account) public {}
                             ^-------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:33:33: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function removeProjectOwner(address account) public {}
                                ^-------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:36:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        address investor,
        ^--------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:37:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint tokenAmount,
        ^--------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:38:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        bytes32 symbol,
        ^------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:39:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint cost,
        ^-------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12FundMock.sol:40:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint costUSD
        ^----------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:14: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:24:26: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function removeAdmin(address account) public {}
                         ^-------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:28:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function addProjectOwner(address account) public {}
                             ^-------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:32:33: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function removeProjectOwner(address account) public {}
                                ^-------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:38:28: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function setParameters(uint price) external {}
                           ^--------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:66: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:68: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:70:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function transferPrimary(address _address) public {}
                             ^--------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:73:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint[6][] parametersOfStages,
        ^--------------------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:74:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint[] bonusConditionsOfStages,
        ^----------------------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:75:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint[4][] parametersOfMilestones,
        ^------------------------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:76:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        uint32[] nameAndDescriptionsOffsetOfMilestones,
        ^--------------------------------------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:77:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        bytes nameAndDescriptionsOfMilestones,
        ^-----------------------------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:78:9: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
        bytes32[] paymentMethodsList
        ^--------------------------^
,/home/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:83: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:85: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:89: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:89: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:93: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:93: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:95: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:95: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:103: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/circleci/code/contracts/mocks/lister/W12Lister__W12CrowdsaleMock.sol:103: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/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:6:40: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function addSymbolWithTokenAddress(bytes32 symbol, address _address) public {}
                                       ^------------^
,/home/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:6:56: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function addSymbolWithTokenAddress(bytes32 symbol, address _address) public {}
                                                       ^--------------^
,/home/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:8:30: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function setTokenAddress(bytes32 symbol, address _address) public {}
                             ^------------^
,/home/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:8:46: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function setTokenAddress(bytes32 symbol, address _address) public {}
                                             ^--------------^
,/home/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:10: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/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:12: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/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:54:24: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function addSymbol(bytes32 symbol) public {}
                       ^------------^
,/home/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:56:27: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function removeSymbol(bytes32 symbol) public {}
                          ^------------^
,/home/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:70: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/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:72:24: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function addPricer(address account) public {}
                       ^-------------^
,/home/circleci/code/contracts/mocks/rates/RatesGuard__RatesMock.sol:74:27: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
    function removePricer(address account) public {}
                          ^-------------^
,/home/circleci/code/contracts/libs/PurchaseProcessing.sol:289: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).
,/home/circleci/code/contracts/mocks/libs/PurchaseProcessing.sol:7:5: Warning: Function state mutability can be restricted to pure
    function checkInvoiceInput(
    ^ (Relevant source part starts here and spans across multiple lines).
,/home/circleci/code/contracts/mocks/libs/PurchaseProcessing.sol:55: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).

Writing artifacts to ./build/contracts

Using network 'test'.

Running migration: 1_migration_manager.js
  Running step...
  Didn't deploy VersionsLedger; using 0x1bfac5dc3c39af592cad1c19579354961ffa85ce
deployed versions:  0.20.5, 0.21.3, 0.23.2, 0.26.0, 0.27.0, 0.27.1, 0.28.0
  Replacing Migrations...
  ... 0x166fd7b426629d626dc6d059db2f1d34ce739d1633fc565c8ad3f08184088431
  Migrations: 0xc2ad49dae7166cc50ebcf38bda23772ff3c62471
  Didn't deploy Wallets; using 0x9fa6140daae59eb93e02ca0972ebb375efe803fb
Saving successful migration to network...
  ... 0x7b339e92145e140a248d71fa900891bcba30ea719239c3450a4004b8939d4fbb
Saving artifacts...
Running migration: 2_token.js
  Running step...
  Replacing WTokenStub...
  ... 0x4f79630ae47aba11ed03616e2d793d69d13a9070aa9dcfafa6366729ab726bfa
  WTokenStub: 0x9c2acfe34c38bbab9640ed7d5553c7f20cb45ab2
  Didn't deploy WTokenTestHelper; using 0xd29d17008b9f032d5c758fbe70301ff7b0b3f796
Saving successful migration to network...
  ... 0x00e9030fd14ad2debe6ae2158f9717b7f7fa3c7859182e9aaac2dbc036484db2
Saving artifacts...
Running migration: 3_rates.js
  Running step...
skip deploying Rates.sol, deployed address:  0x3955ea944203d6259098c255f7fb779c79ba4094
  Deploying RatesGuard...
  ... 0xb5cda058b30e469bf19de83fe3e2341ae13e86bb006340f4012017de0345c818
  RatesGuard: 0x9ae4f5fac90d0503fc82b528f3b63687026076dd
  ... 0x50c180b0edd698f2b304e3845894bd6e735fb245a1414f3d80a0757ff87afaf6
Saving successful migration to network...
  ... 0xf3de84f9036b2dfdadecfbf785967b59e881be710e44f218531343756546df56
Saving artifacts...
Running migration: 4_libs.js
  Running step...
  Replacing Utils...
  ... 0x3d003e8e6f6a7ab613588a20473dbe39b38fdd03c8f506282804122c08d7b523
  Utils: 0xa0c8064f61825fc25fa989ed30221dae7b0e6033
  Replacing Percent...
  ... 0x641c4238759db88b904b6d310f159203ada0a0fceefec91f1cd0199c69c21b0e
  Percent: 0x588130f2b9af7e75daedae9516414327fec48af2
  Replacing FundAccount...
  ... 0x3e1161477a746468fc4cbcdde6c2c358642f652507ff8be2df2939478f7755bf
  FundAccount: 0xa3073d04a052481b3faa290ae6267f914fa80e42
  Replacing PaymentMethods...
  ... 0x25603f68182582932671dfb0c222241fbe140ac78aeb53547490d25293a1e86e
  PaymentMethods: 0xc4f3b12060c45d478384b256e14b13b12a183143
  Replacing Fund...
  ... 0xb62f1b0f74ed6706262d57f2d461b7acab0a8c454daa6a1fed0d66c3cfddcd63
  Fund: 0x20c59f37c4048df32f21ecc2855d52b0b29bf449
  Replacing Crowdsale...
  ... 0x557c41270eb4cd74ebb3c0f3c2956a0e46b4bafe26ec336c52001cec754fff9a
  Crowdsale: 0xacf2a404ec7315c085d2b9d10a9f6b38fc6df7ce
  Replacing PurchaseProcessing...
  ... 0x5b92df81e909a830950afc4e052de02fd215ee1dc2036d8006656ce0880c1db2
  PurchaseProcessing: 0x5ed93fead05d1b766582830daf4129b6fd897a6c
Saving successful migration to network...
  ... 0x94fe19c48cd78939ace9ccc65927efdba90c70d49dc1b4f65c0e76bb105b5908
Saving artifacts...
Running migration: 5_factory.js
  Running step...
  Replacing W12FundFactory...
  ... 0x5c7e13dead878a5b4123566d6e56e11154a25ac7016fa889756215018cfd40d2
  W12FundFactory: 0x8d07ba9c9cd22302d644421b0dc3c685da06f539
  Replacing W12CrowdsaleFactory...
  ... 0xe1685bf0600ebca2aacdbe80c92911661fdee4010caeb67652ede002965f32c3
  W12CrowdsaleFactory: 0xbea1c50281b854d4705ea651500da79ab53ab469
Saving successful migration to network...
  ... 0xd4baaabcf3f3feaa2ca2bed405cf2efee660beed28a9812f80663f2d700d60fa
Saving artifacts...
Running migration: 6_lister.js
  Running step...
  Replacing TokenExchanger...
  ... 0x04b98b17157ad7fcaf77492e7967c3bb081b975e614cc297ed5e0370e1418897
  TokenExchanger: 0x9497dd36776a7011a2422d0457dbc7faa6b55a7a
  Replacing W12ListerStub...
  ... 0xbf2f0f0e5c8ca9078afaa3bbe0a58a329e5bbba8d2a119d5bc68c846d16f8205
  W12ListerStub: 0x9c37e805561dafc1c841379112cdf47187528945
  ... 0x108024eadade13bbcda0e8449a000b155f27142be8a758f3b824f741c4143d69
  ... 0x1b28d1e2d7fb9019e8a570e539c328e5246d8f286e2a529bfec7bc07dd055cf1
Saving successful migration to network...
  ... 0x9a508e957c0939d49738eb73f8aa28c8c90fe002013d2899d1771e9b1ffe2458
Saving artifacts...
MIGRATION:
Network Rinkeby
VersionsLedger - 0x1bfac5dc3c39af592cad1c19579354961ffa85ce
Migrations - 0xc2ad49dae7166cc50ebcf38bda23772ff3c62471
Wallets - 0x9fa6140daae59eb93e02ca0972ebb375efe803fb
WTokenStub - 0x9c2acfe34c38bbab9640ed7d5553c7f20cb45ab2
WTokenTestHelper - 0xd29d17008b9f032d5c758fbe70301ff7b0b3f796
Rates - 0x3955ea944203d6259098c255f7fb779c79ba4094
RatesGuard - 0x9ae4f5fac90d0503fc82b528f3b63687026076dd
Percent - 0x588130f2b9af7e75daedae9516414327fec48af2
Utils - 0xa0c8064f61825fc25fa989ed30221dae7b0e6033
FundAccount - 0xa3073d04a052481b3faa290ae6267f914fa80e42
PaymentMethods - 0xc4f3b12060c45d478384b256e14b13b12a183143
Crowdsale - 0xacf2a404ec7315c085d2b9d10a9f6b38fc6df7ce
PurchaseProcessing - 0x5ed93fead05d1b766582830daf4129b6fd897a6c
W12FundFactory - 0x8d07ba9c9cd22302d644421b0dc3c685da06f539
W12CrowdsaleFactory - 0xbea1c50281b854d4705ea651500da79ab53ab469
TokenExchanger - 0x9497dd36776a7011a2422d0457dbc7faa6b55a7a
W12ListerStub - 0x9c37e805561dafc1c841379112cdf47187528945
Owner - 0x0360d0068f30f8952eccde246ab2a96fac889ffd
Service wallet - 0x0360d0068f30f8952eccde246ab2a96fac889ffd
  • Loading branch information
Hokid committed Dec 12, 2018
1 parent fa7f84e commit 2c6634e
Show file tree
Hide file tree
Showing 144 changed files with 156,543 additions and 78,443 deletions.
63 changes: 63 additions & 0 deletions abi/0.29.0/AdminRole.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"contractName": "AdminRole",
"abi": [
{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
}
],
"name": "AdminAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
}
],
"name": "AdminRemoved",
"type": "event"
},
{
"constant": true,
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "isAdmin",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "renounceAdmin",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]
}
4 changes: 4 additions & 0 deletions abi/0.29.0/BytesLib.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"contractName": "BytesLib",
"abi": []
}
91 changes: 91 additions & 0 deletions abi/0.29.0/Crowdsale.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"contractName": "Crowdsale",
"abi": [
{
"constant": false,
"inputs": [
{
"name": "stages",
"type": "Crowdsale.Stage[] storage"
},
{
"name": "milestones",
"type": "Crowdsale.Milestone[] storage"
},
{
"name": "parameters",
"type": "uint256[6][]"
},
{
"name": "bonusConditions",
"type": "uint256[]"
}
],
"name": "setStages",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "stages",
"type": "Crowdsale.Stage[] storage"
},
{
"name": "stageIndex",
"type": "uint8"
},
{
"name": "start",
"type": "uint8"
},
{
"name": "end",
"type": "uint8"
},
{
"name": "bonusConditions",
"type": "uint256[]"
}
],
"name": "setStageBonusConditions",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "stages",
"type": "Crowdsale.Stage[] storage"
},
{
"name": "milestones",
"type": "Crowdsale.Milestone[] storage"
},
{
"name": "parameters",
"type": "uint256[4][]"
},
{
"name": "offsets",
"type": "uint32[]"
},
{
"name": "namesAndDescriptions",
"type": "bytes"
}
],
"name": "setMilestones",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]
}
Loading

0 comments on commit 2c6634e

Please sign in to comment.