Contract 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f6865 2

 
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x91b66662a391ba95bcf0dca5bc8c8ffd458a91778d763bec6459455598192e8b87281462021-06-29 19:57:4737 days 6 hrs ago0x7ce98d529546b192622bce105d1ba5cbd1d62435 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650 BNB0.00014543
0x1b097cac86c473772bf16f65dc9ee781713fe6a3bceca688d2373b8a2b43dfff84867952021-06-21 9:56:3745 days 16 hrs ago0x601e4f8cb546ea486282c5a2b226cf86376d8dcc IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650 BNB0.00014543
0x4e9d45efe13545cf99a674cef56d3f9dc3418525d0b24ef42b47de50efc735e284046922021-06-18 13:10:3648 days 13 hrs ago0x32d30a943ec5ca11c000291d619dab797a665ed9 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.12 BNB0.000410405
0x2c27c7de0f62315837dd8bc4e11c993e7cfa80420a1cd8f091d9d543a592da9284046722021-06-18 13:09:3648 days 13 hrs ago0x32d30a943ec5ca11c000291d619dab797a665ed9 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650 BNB0.00014543
0x74c60fcc5532fa8cbd62357a6f11d780e7f505d3bd5744c4d9d772a43632335084041772021-06-18 12:44:5148 days 14 hrs ago0x143d42a3e51a4ebe5467b6f926cfeef967c69942 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.01 BNB0.000410405
0xb97e55732a1264ac53bc673ddfd2657ae8092ee0993f4a53054a8686c722ddbc83285272021-06-15 21:10:0351 days 5 hrs ago0x6c5714694f46d7d4ca682b95a8c23f623cc550c7 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650 BNB0.00014543
0xc3c9f158be5315a05cbbd1b85b73f599846507468dcbbe96dac5f01b41e65f9b83167912021-06-15 11:15:4451 days 15 hrs ago0x1b39de84afa27837f507da9d37c50b313d1f5848 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650 BNB0.00014543
0x67e3df75c0abd51a1b57f4f501e6dbf39da7c43afe9a1eefe44e06e5edf2f77882672092021-06-13 17:21:2153 days 9 hrs ago0x10f3a6d1427d46cbb5fb964589ee29065d0df8a2 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68655 BNB0.000410405
0x65ba7c2e9b653978e9b2dbad176b5da5e6005810aad100d039e4131f8195258e81853312021-06-10 20:45:4556 days 5 hrs ago0x8a75fd77baf415b973f0963b2aa371cfcb695cef IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.5 BNB0.000410405
0xf9b5b722521750694b064fe62ebeab62217643daf20a845c22806f1be4dcbd9881851092021-06-10 20:34:3956 days 6 hrs ago0xc28ae5581e8832bbd72f20926506426a90fc840c IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.0029 BNB0.000335405
0x6ba99c69b4d4fc0f3d72adb5263315ef71a54556ee406f76131c6ee18f8980c881849692021-06-10 20:27:3956 days 6 hrs ago0xc28ae5581e8832bbd72f20926506426a90fc840c IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.00009 BNB0.000335405
0xfef13b4f065cd1283c73eca3c6a1ee943a005050bfe832f952ee5663b3c39dc381849642021-06-10 20:27:2456 days 6 hrs ago0xc28ae5581e8832bbd72f20926506426a90fc840c IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.00009 BNB0.000410405
0xc554a8c7e0b886430cb8518b5713ae09aa0e3325389d54c508714459542955fc81846472021-06-10 20:11:3356 days 6 hrs ago0x877faada2714fd2f7eaea3dbefe959a65949551c IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68655 BNB0.000410405
0x39d107835417b5310dca2a7d8ce210ea3db575f217b9fdd15197797da254bd4f81842982021-06-10 19:54:0056 days 6 hrs ago0x6723b5b5294afff5679370ec939c459ab7019094 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68651 BNB0.000410405
0x3aa38ecbf2a2fbdeac92eba676c90d5610775cd7feac750a2a0aee5fe64a774881841362021-06-10 19:45:5456 days 6 hrs ago0x4140d4f1d0bf21db59a1dce679dde92231dc6d7a IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.2 BNB0.000410405
0x19e776e26d035112d9eb5b7a5a7e65b12e40be1391c940813774325ef904cbb181840482021-06-10 19:41:1156 days 7 hrs ago0xdea3f855a770b2a246e1dc32a35858a75a6a3651 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68651 BNB0.000410405
0x016b3b72ebee76246def5b49fce926b21c4c53ebfcc9bac7d9014432070b19d881834692021-06-10 19:11:2356 days 7 hrs ago0xf314eb2e373ea98ac50707baf646eec8567521c9 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68651.139999999999999 BNB0.000410405
0xfb5cda59bf1e0d5638cf49d60826e0ea980841c2e3802659b50a350332531aad81833082021-06-10 19:03:0456 days 7 hrs ago0xdaed721e31f499b482255be8e8f921fe61e02c6f IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650 BNB0.00014543
0xfd85feaafca75272aba3a03460ba68023fa84ec9268562ecbc1cc2655f68800381832422021-06-10 18:59:4656 days 7 hrs ago0x993aff569121df6f6a1ce866a680dc402290c83f IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.1 BNB0.000410405
0xe40839bce515752c758baf7d37beb95c7a662db184009776da466bd54a66331f81832362021-06-10 18:59:2856 days 7 hrs ago0xdaed721e31f499b482255be8e8f921fe61e02c6f IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650 BNB0.00014543
0xf4bf7aa34524204be2dc6cd5c670afd2339692f4d05b7af5588c21fb95fe8a2281831722021-06-10 18:56:1656 days 7 hrs ago0xb226f2ae490e2508ff1b04113fed2aec988cf89a IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68651 BNB0.000410405
0xd01331c575c83bb91a44f053fbe4efdf956b900b75aeca3ff3d17177dd39d25581780112021-06-10 14:35:5056 days 12 hrs ago0x9dda38c1b03bf586d79c8e7f508d29f752a5131d IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.1 BNB0.000410405
0x40482f77506b41bba8822410fe6a2174957b5af4fa5a938d28b48e5b725b21a981768162021-06-10 13:35:4056 days 13 hrs ago0x626949405d1f0017411f758c99a0e12fbd9c3485 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.2 BNB0.000335405
0x1da041c01d65cf11c4595299ed5e57e64c2b8d449dc3dc099e0191fd7e342ea481768142021-06-10 13:35:3356 days 13 hrs ago0x626949405d1f0017411f758c99a0e12fbd9c3485 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650.2 BNB0.000410405
0x232cca59ea53c81844cb1cb1bae42b35e75ea5495e9a3bde160bace4d54a3cda81707552021-06-10 8:32:1056 days 18 hrs ago0x160fa61b621225923e5d0aa3d1dc7adb8d04ba09 IN  0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650 BNB0.00014543
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x4e9d45efe13545cf99a674cef56d3f9dc3418525d0b24ef42b47de50efc735e284046922021-06-18 13:10:3648 days 13 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.12 BNB
0x74c60fcc5532fa8cbd62357a6f11d780e7f505d3bd5744c4d9d772a43632335084041772021-06-18 12:44:5148 days 14 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.01 BNB
0x67e3df75c0abd51a1b57f4f501e6dbf39da7c43afe9a1eefe44e06e5edf2f77882672092021-06-13 17:21:2153 days 9 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f035 BNB
0x65ba7c2e9b653978e9b2dbad176b5da5e6005810aad100d039e4131f8195258e81853312021-06-10 20:45:4556 days 5 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.5 BNB
0xf9b5b722521750694b064fe62ebeab62217643daf20a845c22806f1be4dcbd9881851092021-06-10 20:34:3956 days 6 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.0029 BNB
0x6ba99c69b4d4fc0f3d72adb5263315ef71a54556ee406f76131c6ee18f8980c881849692021-06-10 20:27:3956 days 6 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.00009 BNB
0xfef13b4f065cd1283c73eca3c6a1ee943a005050bfe832f952ee5663b3c39dc381849642021-06-10 20:27:2456 days 6 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.00009 BNB
0xc554a8c7e0b886430cb8518b5713ae09aa0e3325389d54c508714459542955fc81846472021-06-10 20:11:3356 days 6 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f035 BNB
0x39d107835417b5310dca2a7d8ce210ea3db575f217b9fdd15197797da254bd4f81842982021-06-10 19:54:0056 days 6 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f031 BNB
0x3aa38ecbf2a2fbdeac92eba676c90d5610775cd7feac750a2a0aee5fe64a774881841362021-06-10 19:45:5456 days 6 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.2 BNB
0x19e776e26d035112d9eb5b7a5a7e65b12e40be1391c940813774325ef904cbb181840482021-06-10 19:41:1156 days 7 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f031 BNB
0x016b3b72ebee76246def5b49fce926b21c4c53ebfcc9bac7d9014432070b19d881834692021-06-10 19:11:2356 days 7 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f031.1399999999999999 BNB
0xfd85feaafca75272aba3a03460ba68023fa84ec9268562ecbc1cc2655f68800381832422021-06-10 18:59:4656 days 7 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.1 BNB
0xf4bf7aa34524204be2dc6cd5c670afd2339692f4d05b7af5588c21fb95fe8a2281831722021-06-10 18:56:1656 days 7 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f031 BNB
0xd01331c575c83bb91a44f053fbe4efdf956b900b75aeca3ff3d17177dd39d25581780112021-06-10 14:35:5056 days 12 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.1 BNB
0x40482f77506b41bba8822410fe6a2174957b5af4fa5a938d28b48e5b725b21a981768162021-06-10 13:35:4056 days 13 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.2 BNB
0x1da041c01d65cf11c4595299ed5e57e64c2b8d449dc3dc099e0191fd7e342ea481768142021-06-10 13:35:3356 days 13 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.2 BNB
0xe2a2146a54100d200bc9701649aa6c9fbe78f5e3927fa4dacb10f7fb3970f44681192672021-06-08 13:29:4058 days 13 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.5 BNB
0xb0c496daf6e104828e0c6cd0ff17d515b96267a2c17d3a2e7a1414269dfc3f1b81190882021-06-08 13:20:4358 days 13 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.5 BNB
0x0a635811aca87d966b76be384ee8f11eda7643366f7ca77909dc0830d4cd98c581190532021-06-08 13:18:5858 days 13 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.5 BNB
0x4916b461d6ae673825760d98dba36fa8933feec3e7cc51324145eecd9610ff5281190242021-06-08 13:17:3158 days 13 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.001 BNB
0x1e5bd3c96960491c3f7a175043f170dfbff2683e92126e5217cbf848990a8c8681190212021-06-08 13:17:2258 days 13 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f031 BNB
0x71b3a8e9ed22272b0889792011417f281b7b390c4a7a35db6e1f37321ff4030680883922021-06-07 11:42:4059 days 15 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.001 BNB
0xedbc0b330f47a883516a5aa338430756ed7c9a4c40180fb6962b0040a82cd9a980883852021-06-07 11:42:1959 days 15 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.001 BNB
0xf27a8d7543326e293771aeda6945f7899107461450584521ade5bb43bf3f86ff80871092021-06-07 10:38:3159 days 16 hrs ago 0x2c74fd1f8a952a3c6c6f4c8fedeef1c4bb3f68650xa4fc4ff53083f99722ec83595f1bb4802f604f030.5 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x933b0F7b77A1369ed98B1e6C75c2Ced589156657

Contract Name:
CrowdsaleRaspberry

Compiler Version
v0.5.7+commit.6da8b019

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-06-02
*/

/**

WPSmartContracts.com

Blockchain Made Easy

http://wpsmartcontracts.com/

*/

pragma solidity ^0.5.7;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that revert on error
 */
library SafeMath {
    
    int256 constant private INT256_MIN = -2**255;

    /**
    * @dev Multiplies two unsigned integers, reverts on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b);

        return c;
    }

    /**
    * @dev Multiplies two signed integers, reverts on overflow.
    */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
        if (a == 0) {
            return 0;
        }

        require(!(a == -1 && b == INT256_MIN)); // This is the only case of overflow not detected by the check below

        int256 c = a * b;
        require(c / a == b);

        return c;
    }

    /**
    * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
    */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
    * @dev Integer division of two signed integers truncating the quotient, reverts on division by zero.
    */
    function div(int256 a, int256 b) internal pure returns (int256) {
        require(b != 0); // Solidity only automatically asserts when dividing by 0
        require(!(b == -1 && a == INT256_MIN)); // This is the only case of overflow

        int256 c = a / b;

        return c;
    }

    /**
    * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).
    */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a);
        uint256 c = a - b;

        return c;
    }

    /**
    * @dev Subtracts two signed integers, reverts on overflow.
    */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));

        return c;
    }

    /**
    * @dev Adds two unsigned integers, reverts on overflow.
    */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a);

        return c;
    }

    /**
    * @dev Adds two signed integers, reverts on overflow.
    */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));

        return c;
    }

    /**
    * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),
    * reverts when dividing by zero.
    */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0);
        return a % b;
    }
}


/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address who) external view returns (uint256);

    function allowance(address owner, address spender) external view returns (uint256);

    function transfer(address to, uint256 value) external returns (bool);

    function approve(address spender, uint256 value) external returns (bool);

    function transferFrom(address from, address to, uint256 value) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract ERC20Pistachio is IERC20 {

    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowed;

    uint256 private _totalSupply;

    /**
    * @dev Public parameters to define the token
    */

    // Token symbol (short)
    string public symbol;

    // Token name (Long)
    string public  name;

    // Decimals (18 maximum)
    uint8 public decimals;

    /**
    * @dev Public functions to make the contract accesible
    */
    constructor (address initialAccount, string memory _tokenSymbol, string memory _tokenName, uint256 initialBalance) public {

        // Initialize Contract Parameters
        symbol = _tokenSymbol;
        name = _tokenName;
        decimals = 18;  // default decimals is going to be 18 always

        _mint(initialAccount, initialBalance);

    }

    /**
    * @dev Total number of tokens in existence
    */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
    * @dev Gets the balance of the specified address.
    * @param owner The address to query the balance of.
    * @return An uint256 representing the amount owned by the passed address.
    */
    function balanceOf(address owner) public view returns (uint256) {
        return _balances[owner];
    }

    /**
     * @dev Function to check the amount of tokens that an owner allowed to a spender.
     * @param owner address The address which owns the funds.
     * @param spender address The address which will spend the funds.
     * @return A uint256 specifying the amount of tokens still available for the spender.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowed[owner][spender];
    }

    /**
    * @dev Transfer token for a specified address
    * @param to The address to transfer to.
    * @param value The amount to be transferred.
    */
    function transfer(address to, uint256 value) public returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
     * Beware that changing an allowance with this method brings the risk that someone may use both the old
     * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
     * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value) public returns (bool) {
        require(spender != address(0));

        _allowed[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Transfer tokens from one address to another.
     * Note that while this function emits an Approval event, this is not required as per the specification,
     * and other compliant implementations may not emit the event.
     * @param from address The address which you want to send tokens from
     * @param to address The address which you want to transfer to
     * @param value uint256 the amount of tokens to be transferred
     */
    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value);
        _transfer(from, to, value);
        emit Approval(from, msg.sender, _allowed[from][msg.sender]);
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner allowed to a spender.
     * approve should be called when allowed_[_spender] == 0. To increment
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * Emits an Approval event.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        require(spender != address(0));

        _allowed[msg.sender][spender] = _allowed[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner allowed to a spender.
     * approve should be called when allowed_[_spender] == 0. To decrement
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * Emits an Approval event.
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        require(spender != address(0));

        _allowed[msg.sender][spender] = _allowed[msg.sender][spender].sub(subtractedValue);
        emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
        return true;
    }

    /**
    * @dev Transfer token for a specified addresses
    * @param from The address to transfer from.
    * @param to The address to transfer to.
    * @param value The amount to be transferred.
    */
    function _transfer(address from, address to, uint256 value) internal {
        require(to != address(0));

        _balances[from] = _balances[from].sub(value);
        _balances[to] = _balances[to].add(value);
        emit Transfer(from, to, value);
    }

    /**
     * @dev Internal function that mints an amount of the token and assigns it to
     * an account. This encapsulates the modification of balances such that the
     * proper events are emitted.
     * @param account The account that will receive the created tokens.
     * @param value The amount that will be created.
     */
    function _mint(address account, uint256 value) internal {
        require(account != address(0));

        _totalSupply = _totalSupply.add(value);
        _balances[account] = _balances[account].add(value);
        emit Transfer(address(0), account, value);
    }

    /**
     * @dev Internal function that burns an amount of the token of a given
     * account.
     * @param account The account whose tokens will be burnt.
     * @param value The amount that will be burnt.
     */
    function _burn(address account, uint256 value) internal {
        require(account != address(0));

        _totalSupply = _totalSupply.sub(value);
        _balances[account] = _balances[account].sub(value);
        emit Transfer(account, address(0), value);
    }

    /**
     * @dev Internal function that burns an amount of the token of a given
     * account, deducting from the sender's allowance for said account. Uses the
     * internal burn function.
     * Emits an Approval event (reflecting the reduced allowance).
     * @param account The account whose tokens will be burnt.
     * @param value The amount that will be burnt.
     */
    function _burnFrom(address account, uint256 value) internal {
        _allowed[account][msg.sender] = _allowed[account][msg.sender].sub(value);
        _burn(account, value);
        emit Approval(account, msg.sender, _allowed[account][msg.sender]);
    }

}

/**
 * @title Burnable Token
 * @dev Token that can be irreversibly burned (destroyed).
 */
contract ERC20Burnable is ERC20Pistachio {

    bool private _burnableActive;

    /**
     * @dev Burns a specific amount of tokens.
     * @param value The amount of token to be burned.
     */
    function burn(uint256 value) public whenBurnableActive {
        _burn(msg.sender, value);
    }

    /**
     * @dev Burns a specific amount of tokens from the target address and decrements allowance
     * @param from address The address which you want to send tokens from
     * @param value uint256 The amount of token to be burned
     */
    function burnFrom(address from, uint256 value) public whenBurnableActive {
        _burnFrom(from, value);
    }

    /**
     * @dev Options to activate or deactivate Burn ability
     */

    function _setBurnableActive(bool _active) internal {
        _burnableActive = _active;
    }

    modifier whenBurnableActive() {
        require(_burnableActive);
        _;
    }

}

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev give an account access to this role
     */
    function add(Role storage role, address account) internal {
        require(account != address(0));
        require(!has(role, account));

        role.bearer[account] = true;
    }

    /**
     * @dev remove an account's access to this role
     */
    function remove(Role storage role, address account) internal {
        require(account != address(0));
        require(has(role, account));

        role.bearer[account] = false;
    }

    /**
     * @dev check if an account has this role
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0));
        return role.bearer[account];
    }
}

contract MinterRole {
    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    constructor () internal {
        _addMinter(msg.sender);
    }

    modifier onlyMinter() {
        require(isMinter(msg.sender));
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) public onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(msg.sender);
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }
}

/**
 * @title ERC20Mintable
 * @dev ERC20 minting logic
 */
contract ERC20Mintable is ERC20Pistachio, MinterRole {

    bool private _mintableActive;
    /**
     * @dev Function to mint tokens
     * @param to The address that will receive the minted tokens.
     * @param value The amount of tokens to mint.
     * @return A boolean that indicates if the operation was successful.
     */
    function mint(address to, uint256 value) public onlyMinter whenMintableActive returns (bool) {
        _mint(to, value);
        return true;
    }

    /**
     * @dev Options to activate or deactivate Burn ability
     */

    function _setMintableActive(bool _active) internal {
        _mintableActive = _active;
    }

    modifier whenMintableActive() {
        require(_mintableActive);
        _;
    }

}

contract PauserRole {
    using Roles for Roles.Role;

    event PauserAdded(address indexed account);
    event PauserRemoved(address indexed account);

    Roles.Role private _pausers;

    constructor () internal {
        _addPauser(msg.sender);
    }

    modifier onlyPauser() {
        require(isPauser(msg.sender));
        _;
    }

    function isPauser(address account) public view returns (bool) {
        return _pausers.has(account);
    }

    function addPauser(address account) public onlyPauser {
        _addPauser(account);
    }

    function renouncePauser() public {
        _removePauser(msg.sender);
    }

    function _addPauser(address account) internal {
        _pausers.add(account);
        emit PauserAdded(account);
    }

    function _removePauser(address account) internal {
        _pausers.remove(account);
        emit PauserRemoved(account);
    }
}

/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is PauserRole {
    event Paused(address account);
    event Unpaused(address account);

    bool private _pausableActive;
    bool private _paused;

    constructor () internal {
        _paused = false;
    }

    /**
     * @return true if the contract is paused, false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     */
    modifier whenNotPaused() {
        require(!_paused);
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     */
    modifier whenPaused() {
        require(_paused);
        _;
    }

    /**
     * @dev called by the owner to pause, triggers stopped state
     */
    function pause() public onlyPauser whenNotPaused whenPausableActive {
        _paused = true;
        emit Paused(msg.sender);
    }

    /**
     * @dev called by the owner to unpause, returns to normal state
     */
    function unpause() public onlyPauser whenPaused whenPausableActive {
        _paused = false;
        emit Unpaused(msg.sender);
    }

    /**
     * @dev Options to activate or deactivate Pausable ability
     */

    function _setPausableActive(bool _active) internal {
        _pausableActive = _active;
    }

    modifier whenPausableActive() {
        require(_pausableActive);
        _;
    }

}

/**
 * @title Advanced ERC20 token
 *
 * @dev Implementation of the basic standard token plus mint and burn public functions.
 *
 * Version 2. This version delegates the minter and pauser renounce to parent-factory contract
 * that allows ICOs to be minter for token selling
 *
 */
contract ERC20Chocolate is ERC20Pistachio, ERC20Burnable, ERC20Mintable, Pausable {

    // maximum capital, if defined > 0
    uint256 private _cap;

    constructor (
        address initialAccount, string memory _tokenSymbol, string memory _tokenName, uint256 initialBalance, uint256 cap,
        bool _burnableOption, bool _mintableOption, bool _pausableOption
    ) public
        ERC20Pistachio(initialAccount, _tokenSymbol, _tokenName, initialBalance) {

        // we must add customer account as the first minter
        addMinter(initialAccount);

        // add customer as pauser
        addPauser(initialAccount);

        if (cap > 0) {
            _cap = cap; // maximum capitalization limited
        } else {
            _cap = 0; // unlimited capitalization
        }

        // activate or deactivate options
        _setBurnableActive(_burnableOption);
        _setMintableActive(_mintableOption);
        _setPausableActive(_pausableOption);

    }

    /**
     * @return the cap for the token minting.
     */
    function cap() public view returns (uint256) {
        return _cap;
    }

    /**
     * limit the mint to a maximum cap only if cap is defined
     */
    function _mint(address account, uint256 value) internal {
        if (_cap > 0) {
            require(totalSupply().add(value) <= _cap);
        }
        super._mint(account, value);
    }

    /**
     * Pausable options
     */
    function transfer(address to, uint256 value) public whenNotPaused returns (bool) {
        return super.transfer(to, value);
    }

    function transferFrom(address from,address to, uint256 value) public whenNotPaused returns (bool) {
        return super.transferFrom(from, to, value);
    }

    function approve(address spender, uint256 value) public whenNotPaused returns (bool) {
        return super.approve(spender, value);
    }

    function increaseAllowance(address spender, uint addedValue) public whenNotPaused returns (bool success) {
        return super.increaseAllowance(spender, addedValue);
    }

    function decreaseAllowance(address spender, uint subtractedValue) public whenNotPaused returns (bool success) {
        return super.decreaseAllowance(spender, subtractedValue);
    }

}

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be aplied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 */
contract ReentrancyGuard {
    // counter to allow mutex lock with only one SSTORE operation
    uint256 private _guardCounter;

    constructor () internal {
        // The counter starts at one to prevent changing it from zero to a non-zero
        // value, which is a more expensive operation.
        _guardCounter = 1;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _guardCounter += 1;
        uint256 localCounter = _guardCounter;
        _;
        require(localCounter == _guardCounter, "ReentrancyGuard: reentrant call");
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing a contract.
     *
     * IMPORTANT: It is unsafe to assume that an address for which this
     * function returns false is an externally-owned account (EOA) and not a
     * contract.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.
        
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != 0x0 && codehash != accountHash);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }
}

/**
 * @title Crowdsale
 * @dev Crowdsale is a base contract for managing a token crowdsale,
 * allowing investors to purchase tokens with ether. This contract implements
 * such functionality in its most fundamental form and can be extended to provide additional
 * functionality and/or custom behavior.
 * The external interface represents the basic interface for purchasing tokens, and conforms
 * the base architecture for crowdsales. It is *not* intended to be modified / overridden.
 * The internal interface conforms the extensible and modifiable surface of crowdsales. Override
 * the methods to add functionality. Consider using 'super' where appropriate to concatenate
 * behavior.
 */
contract Crowdsale is ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for ERC20Chocolate;

    // The token being sold
    ERC20Chocolate private _token;

    // Address where funds are collected
    address payable private _wallet;

    // How many token units a buyer gets per wei.
    // The rate is the conversion between wei and the smallest and indivisible token unit.
    // So, if you are using a rate of 1 with a ERC20Detailed token with 3 decimals called TOK
    // 1 wei will give you 1 unit, or 0.001 TOK.
    uint256 private _rate;

    // Amount of wei raised
    uint256 private _weiRaised;

    /**
     * Event for token purchase logging
     * @param purchaser who paid for the tokens
     * @param beneficiary who got the tokens
     * @param value weis paid for purchase
     * @param amount amount of tokens purchased
     */
    event TokensPurchased(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount);

    /**
     * @param rate Number of token units a buyer gets per wei
     * @dev The rate is the conversion between wei and the smallest and indivisible
     * token unit. So, if you are using a rate of 1 with a ERC20Detailed token
     * with 3 decimals called TOK, 1 wei will give you 1 unit, or 0.001 TOK.
     * @param wallet Address where collected funds will be forwarded to
     * @param token Address of the token being sold
     */
    constructor (uint256 rate, address payable wallet, ERC20Chocolate token) public {
        require(rate > 0, "Crowdsale: rate is 0");
        require(wallet != address(0), "Crowdsale: wallet is the zero address");
        require(address(token) != address(0), "Crowdsale: token is the zero address");

        _rate = rate;
        _wallet = wallet;
        _token = token;
    }

    /**
     * @dev fallback function ***DO NOT OVERRIDE***
     * Note that other contracts will transfer funds with a base gas stipend
     * of 2300, which is not enough to call buyTokens. Consider calling
     * buyTokens directly when purchasing tokens from a contract.
     */
    function () external payable {
        buyTokens(msg.sender);
    }

    /**
     * @return the token being sold.
     */
    function token() public view returns (IERC20) {
        return _token;
    }

    /**
     * @return the address where funds are collected.
     */
    function wallet() public view returns (address payable) {
        return _wallet;
    }

    /**
     * @return the number of token units a buyer gets per wei.
     */
    function rate() public view returns (uint256) {
        return _rate;
    }

    /**
     * @return the amount of wei raised.
     */
    function weiRaised() public view returns (uint256) {
        return _weiRaised;
    }

    /**
     * @dev low level token purchase ***DO NOT OVERRIDE***
     * This function has a non-reentrancy guard, so it shouldn't be called by
     * another `nonReentrant` function.
     * @param beneficiary Recipient of the token purchase
     */
    function buyTokens(address beneficiary) public nonReentrant payable {
        uint256 weiAmount = msg.value;
        _preValidatePurchase(beneficiary, weiAmount);

        // calculate token amount to be created
        uint256 tokens = _getTokenAmount(weiAmount);

        // update state
        _weiRaised = _weiRaised.add(weiAmount);

        _processPurchase(beneficiary, tokens);
        emit TokensPurchased(msg.sender, beneficiary, weiAmount, tokens);

        _updatePurchasingState(beneficiary, weiAmount);

        _forwardFunds();
        _postValidatePurchase(beneficiary, weiAmount);
    }

    /**
     * @dev Validation of an incoming purchase. Use require statements to revert state when conditions are not met.
     * Use `super` in contracts that inherit from Crowdsale to extend their validations.
     * Example from CappedCrowdsale.sol's _preValidatePurchase method:
     *     super._preValidatePurchase(beneficiary, weiAmount);
     *     require(weiRaised().add(weiAmount) <= cap);
     * @param beneficiary Address performing the token purchase
     * @param weiAmount Value in wei involved in the purchase
     */
    function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal view {
        require(beneficiary != address(0), "Crowdsale: beneficiary is the zero address");
        require(weiAmount != 0, "Crowdsale: weiAmount is 0");
    }

    /**
     * @dev Validation of an executed purchase. Observe state and use revert statements to undo rollback when valid
     * conditions are not met.
     * @param beneficiary Address performing the token purchase
     * @param weiAmount Value in wei involved in the purchase
     */
    function _postValidatePurchase(address beneficiary, uint256 weiAmount) internal view {
        // solhint-disable-previous-line no-empty-blocks
    }

    /**
     * @dev Source of tokens. Override this method to modify the way in which the crowdsale ultimately gets and sends
     * its tokens.
     * @param beneficiary Address performing the token purchase
     * @param tokenAmount Number of tokens to be emitted
     */
    function _deliverTokens(address beneficiary, uint256 tokenAmount) internal {
        _token.safeTransfer(beneficiary, tokenAmount);
    }

    /**
     * @dev Executed when a purchase has been validated and is ready to be executed. Doesn't necessarily emit/send
     * tokens.
     * @param beneficiary Address receiving the tokens
     * @param tokenAmount Number of tokens to be purchased
     */
    function _processPurchase(address beneficiary, uint256 tokenAmount) internal {
        _deliverTokens(beneficiary, tokenAmount);
    }

    /**
     * @dev Override for extensions that require an internal state to check for validity (current user contributions,
     * etc.)
     * @param beneficiary Address receiving the tokens
     * @param weiAmount Value in wei involved in the purchase
     */
    function _updatePurchasingState(address beneficiary, uint256 weiAmount) internal {
        // solhint-disable-previous-line no-empty-blocks
    }

    /**
     * @dev Override to extend the way in which ether is converted to tokens.
     * @param weiAmount Value in wei to be converted into tokens
     * @return Number of tokens that can be purchased with the specified _weiAmount
     */
    function _getTokenAmount(uint256 weiAmount) internal view returns (uint256) {
        return weiAmount.mul(_rate);
    }

    /**
     * @dev Determines how ETH is stored/forwarded on purchases.
     */
    function _forwardFunds() internal {
        _wallet.transfer(msg.value);
    }
}

/**
 * @title MintedCrowdsale
 * @dev Extension of Crowdsale contract whose tokens are minted in each purchase.
 * Token ownership should be transferred to MintedCrowdsale for minting.
 */
contract MintedCrowdsale is Crowdsale {
    /**
     * @dev Overrides delivery by minting tokens upon purchase.
     * @param beneficiary Token purchaser
     * @param tokenAmount Number of tokens to be minted
     */
    function _deliverTokens(address beneficiary, uint256 tokenAmount) internal {
        // Potentially dangerous assumption about the type of the token.
        require(
            ERC20Mintable(address(token())).mint(beneficiary, tokenAmount),
                "MintedCrowdsale: minting failed"
        );
    }
}

/**
 * @title PausableCrowdsale
 * @dev Extension of Crowdsale contract where purchases can be paused and unpaused by the pauser role.
 */
contract PausableCrowdsale is Crowdsale, Pausable {
    /**
     * @dev Validation of an incoming purchase. Use require statements to revert state when conditions are not met.
     * Use super to concatenate validations.
     * Adds the validation that the crowdsale must not be paused.
     * @param _beneficiary Address performing the token purchase
     * @param _weiAmount Value in wei involved in the purchase
     */
    function _preValidatePurchase(address _beneficiary, uint256 _weiAmount) internal view whenNotPaused {
        return super._preValidatePurchase(_beneficiary, _weiAmount);
    }
}

/**
 * Main Crowdsale basic contract
 * version 1.0
 */
contract CrowdsaleRaspberry is MintedCrowdsale, PausableCrowdsale {
    constructor (uint256 rate, address payable wallet, ERC20Chocolate token, bool _isPausable) public
    Crowdsale(rate, wallet, token) {
        // solhint-disable-previous-line no-empty-blocks
        _setPausableActive(_isPausable);
    }
}

Contract ABI

[{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isPauser","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"rate","type":"uint256"},{"name":"wallet","type":"address"},{"name":"token","type":"address"},{"name":"_isPausable","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"purchaser","type":"address"},{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokensPurchased","type":"event"}]

60806040523480156200001157600080fd5b5060405160808062001202833981018060405260808110156200003357600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190505050838383600160008190555060008311620000e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f43726f776473616c653a2072617465206973203000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200016c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180620011dd6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620001f4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180620011b96024913960400191505060405180910390fd5b8260038190555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506200029133620002c760201b60201c565b6000600660016101000a81548160ff021916908315150217905550620002bd816200032860201b60201c565b505050506200048e565b620002e28160056200034560201b62000c191790919060201c565b8073ffffffffffffffffffffffffffffffffffffffff167f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f860405160405180910390a250565b80600660006101000a81548160ff02191690831515021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200038057600080fd5b620003928282620003fb60201b60201c565b156200039d57600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200043757600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610d1b806200049e6000396000f3fe60806040526004361061009c5760003560e01c80635c975abb116100645780635c975abb146101d45780636ef8d66d1461020357806382dc1ec41461021a5780638456cb591461026b578063ec8ac4d814610282578063fc0c546a146102c65761009c565b80632c4e722e146100a75780633f4ba83a146100d25780634042b66f146100e957806346fbf68e14610114578063521eb2731461017d575b6100a53361031d565b005b3480156100b357600080fd5b506100bc61047a565b6040518082815260200191505060405180910390f35b3480156100de57600080fd5b506100e7610484565b005b3480156100f557600080fd5b506100fe610548565b6040518082815260200191505060405180910390f35b34801561012057600080fd5b506101636004803603602081101561013757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610552565b604051808215151515815260200191505060405180910390f35b34801561018957600080fd5b5061019261056f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101e057600080fd5b506101e9610599565b604051808215151515815260200191505060405180910390f35b34801561020f57600080fd5b506102186105b0565b005b34801561022657600080fd5b506102696004803603602081101561023d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105bb565b005b34801561027757600080fd5b506102806105d9565b005b6102c46004803603602081101561029857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061031d565b005b3480156102d257600080fd5b506102db61069e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60016000808282540192505081905550600080549050600034905061034283826106c8565b600061034d826106f0565b90506103648260045461070e90919063ffffffff16565b600481905550610374848261072d565b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f6faf93231a456e552dbc9961f58d9713ee4f2e69d15f1975b050ef0911053a7b8484604051808381526020018281526020019250505060405180910390a36103eb848361073b565b6103f361073f565b6103fd84836107aa565b50506000548114610476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b5050565b6000600354905090565b61048d33610552565b61049657600080fd5b600660019054906101000a900460ff166104af57600080fd5b600660009054906101000a900460ff166104c857600080fd5b6000600660016101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000600454905090565b60006105688260056107ae90919063ffffffff16565b9050919050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600660019054906101000a900460ff16905090565b6105b933610840565b565b6105c433610552565b6105cd57600080fd5b6105d68161089a565b50565b6105e233610552565b6105eb57600080fd5b600660019054906101000a900460ff161561060557600080fd5b600660009054906101000a900460ff1661061e57600080fd5b6001600660016101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25833604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600660019054906101000a900460ff16156106e257600080fd5b6106ec82826108f4565b5050565b6000610707600354836109f590919063ffffffff16565b9050919050565b60008082840190508381101561072357600080fd5b8091505092915050565b6107378282610a2f565b5050565b5050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156107a7573d6000803e3d6000fd5b50565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156107e957600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610854816005610b6e90919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e60405160405180910390a250565b6108ae816005610c1990919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f860405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180610cc6602a913960400191505060405180910390fd5b60008114156109f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f43726f776473616c653a20776569416d6f756e7420697320300000000000000081525060200191505060405180910390fd5b5050565b600080831415610a085760009050610a29565b6000828402905082848281610a1957fe5b0414610a2457600080fd5b809150505b92915050565b610a3761069e565b73ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610abd57600080fd5b505af1158015610ad1573d6000803e3d6000fd5b505050506040513d6020811015610ae757600080fd5b8101908080519060200190929190505050610b6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4d696e74656443726f776473616c653a206d696e74696e67206661696c65640081525060200191505060405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ba857600080fd5b610bb282826107ae565b610bbb57600080fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c5357600080fd5b610c5d82826107ae565b15610c6757600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505056fe43726f776473616c653a2062656e656669636961727920697320746865207a65726f2061646472657373a165627a7a72305820fe732fcbb0a75bc9b680b2c6d872a3d32121bd20bbea300a73a4094d5de62397002943726f776473616c653a20746f6b656e20697320746865207a65726f206164647265737343726f776473616c653a2077616c6c657420697320746865207a65726f20616464726573730000000000000000000000000000000000000000000000000000000000000001000000000000000000000000bf112617bf6de09aa276249356a74e456226fe4e000000000000000000000000faf4cf39d4fe6ecb908b4344b402d0a7dfb76de40000000000000000000000000000000000000000000000000000000000000001

Deployed ByteCode Sourcemap

37112:318:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30925:21;30935:10;30925:9;:21::i;:::-;37112:318;31356:77;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31356:77:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18176:137;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18176:137:0;;;:::i;:::-;;31501:87;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31501:87:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16396:109;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16396:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;16396:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;31177:89;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31177:89:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;17410:78;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17410:78:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;16613:77;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16613:77:0;;;:::i;:::-;;16513:92;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16513:92:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;16513:92:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;17946:135;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17946:135:0;;;:::i;:::-;;31853:620;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;31853:620:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;31018:78;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31018:78:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;31853:620;22522:1;22505:13;;:18;;;;;;;;;;;22534:20;22557:13;;22534:36;;31932:17;31952:9;31932:29;;31972:44;31993:11;32006:9;31972:20;:44::i;:::-;32078:14;32095:26;32111:9;32095:15;:26::i;:::-;32078:43;;32172:25;32187:9;32172:10;;:14;;:25;;;;:::i;:::-;32159:10;:38;;;;32210:37;32227:11;32240:6;32210:16;:37::i;:::-;32291:11;32263:59;;32279:10;32263:59;;;32304:9;32315:6;32263:59;;;;;;;;;;;;;;;;;;;;;;;;32335:46;32358:11;32371:9;32335:22;:46::i;:::-;32394:15;:13;:15::i;:::-;32420:45;32442:11;32455:9;32420:21;:45::i;:::-;22581:1;;22617:13;;22601:12;:29;22593:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31853:620;;:::o;31356:77::-;31393:7;31420:5;;31413:12;;31356:77;:::o;18176:137::-;16347:20;16356:10;16347:8;:20::i;:::-;16339:29;;;;;;17826:7;;;;;;;;;;;17818:16;;;;;;18557:15;;;;;;;;;;;18549:24;;;;;;18264:5;18254:7;;:15;;;;;;;;;;;;;;;;;;18285:20;18294:10;18285:20;;;;;;;;;;;;;;;;;;;;;;18176:137::o;31501:87::-;31543:7;31570:10;;31563:17;;31501:87;:::o;16396:109::-;16452:4;16476:21;16489:7;16476:8;:12;;:21;;;;:::i;:::-;16469:28;;16396:109;;;:::o;31177:89::-;31216:15;31251:7;;;;;;;;;;;31244:14;;31177:89;:::o;17410:78::-;17449:4;17473:7;;;;;;;;;;;17466:14;;17410:78;:::o;16613:77::-;16657:25;16671:10;16657:13;:25::i;:::-;16613:77::o;16513:92::-;16347:20;16356:10;16347:8;:20::i;:::-;16339:29;;;;;;16578:19;16589:7;16578:10;:19::i;:::-;16513:92;:::o;17946:135::-;16347:20;16356:10;16347:8;:20::i;:::-;16339:29;;;;;;17647:7;;;;;;;;;;;17646:8;17638:17;;;;;;18557:15;;;;;;;;;;;18549:24;;;;;;18035:4;18025:7;;:14;;;;;;;;;;;;;;;;;;18055:18;18062:10;18055:18;;;;;;;;;;;;;;;;;;;;;;17946:135::o;31018:78::-;31056:6;31082;;;;;;;;;;;31075:13;;31018:78;:::o;36867:178::-;17647:7;;;;;;;;;;;17646:8;17638:17;;;;;;36985:52;37012:12;37026:10;36985:26;:52::i;:::-;36867:178;;:::o;35244:122::-;35311:7;35338:20;35352:5;;35338:9;:13;;:20;;;;:::i;:::-;35331:27;;35244:122;;;:::o;2952:150::-;3010:7;3030:9;3046:1;3042;:5;3030:17;;3071:1;3066;:6;;3058:15;;;;;;3093:1;3086:8;;;2952:150;;;;:::o;34427:136::-;34515:40;34530:11;34543;34515:14;:40::i;:::-;34427:136;;:::o;34841:147::-;;;:::o;35458:80::-;35503:7;;;;;;;;;;;:16;;:27;35520:9;35503:27;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35503:27:0;35458:80::o;33575:151::-;;;:::o;14086:165::-;14158:4;14202:1;14183:21;;:7;:21;;;;14175:30;;;;;;14223:4;:11;;:20;14235:7;14223:20;;;;;;;;;;;;;;;;;;;;;;;;;14216:27;;14086:165;;;;:::o;16828:130::-;16888:24;16904:7;16888:8;:15;;:24;;;;:::i;:::-;16942:7;16928:22;;;;;;;;;;;;16828:130;:::o;16698:122::-;16755:21;16768:7;16755:8;:12;;:21;;;;:::i;:::-;16804:7;16792:20;;;;;;;;;;;;16698:122;:::o;33026:246::-;33152:1;33129:25;;:11;:25;;;;33121:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33233:1;33220:9;:14;;33212:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33026:246;;:::o;382:433::-;440:7;689:1;684;:6;680:47;;;714:1;707:8;;;;680:47;739:9;755:1;751;:5;739:17;;784:1;779;775;:5;;;;;;:10;767:19;;;;;;806:1;799:8;;;382:433;;;;;:::o;35967:315::-;36171:7;:5;:7::i;:::-;36149:36;;;36186:11;36199;36149:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36149:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36149:62:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;36149:62:0;;;;;;;;;;;;;;;;36127:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35967:315;;:::o;13803:189::-;13902:1;13883:21;;:7;:21;;;;13875:30;;;;;;13924:18;13928:4;13934:7;13924:3;:18::i;:::-;13916:27;;;;;;13979:5;13956:4;:11;;:20;13968:7;13956:20;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;13803:189;;:::o;13538:186::-;13634:1;13615:21;;:7;:21;;;;13607:30;;;;;;13657:18;13661:4;13667:7;13657:3;:18::i;:::-;13656:19;13648:28;;;;;;13712:4;13689;:11;;:20;13701:7;13689:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;13538:186;;:::o

Swarm Source

bzzr://fe732fcbb0a75bc9b680b2c6d872a3d32121bd20bbea300a73a4094d5de62397
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.