Sponsored:   LH-CRYPTO - 200 instruments (BTC, EUR, GOLD, OIL, SHARES). Leverage up to 1:500. OPEN ACCOUNT
Contract Overview | GodzillionCrowdsale
Balance: 0 Ether
Ether Value: $0
Transactions: 96 txns
 Latest 25 transactions from a total of 96 transactions

TxHash Age From To Value [TxFee]
0xe92cde9d59f8c90f0a080b637a8449c5069a42c59ef2fe94d1ce44829195b74b401 days 15 hrs ago0x467d5988249a68614716659840ed0ae6f6f457bc  IN   GodzillionCrowdsale0 Ether0.00043828
0xf2f1950724ea0a7bdb5a1a625fe5d4b309b7a672c1cac30d08606b456862e981415 days 3 hrs ago0xdc198642f5df2917380850ce94f57b5f70eed3ab  IN   GodzillionCrowdsale0.01 Ether0.000967533
0xd5c03102d977b0eb2d5b892b3ac003833316c395d6113279fb15d36ab98c09da415 days 8 hrs ago0x629874e0d6e877dba0961ad9286a82fdd06fec51  IN   GodzillionCrowdsale0.365 Ether0.001759926
0x528593f1ddbf098317d5a818a52e376e5eb4eda2a6eaddc6a6bb2551fdb1e382415 days 10 hrs ago0x4d7dbc3736e848ce4a47ee1afde5215a1c2f8636  IN   GodzillionCrowdsale0.5 Ether0.0041903
0x892d925db57909b0b17d0a9ab9d3a71de359b606f554dfadc6341fa92dc5c762416 days 5 hrs ago0x51238cba404bf194d83727b2d89be17991a9b7af  IN   GodzillionCrowdsale0.5 Ether0.00251418
0x862155252fee541d143f92dbeb0b13f56bfa39b51d8a582a8ae836d6af5446b6417 days 18 hrs ago0xdc198642f5df2917380850ce94f57b5f70eed3ab  IN   GodzillionCrowdsale0.1 Ether0.001449987
0xc4942d3108aec7f15d571816523840cd46ccc71523635d5ee54d5559aa0ddc70418 days 6 hrs ago0x8b3cca8581f4b8435c54b4c5dd96eabd8e9a83f7  IN   GodzillionCrowdsale0.1 Ether0.001759926
0x4ae77b519e91df932bb31557778a72db29447076fd0bc291dbebff5c0d5fb3d8418 days 19 hrs ago0x405401c17db6f4272e068ac5565d7c3b73670401  IN   GodzillionCrowdsale0.08 Ether0.001759926
0x9c663c09c64f2e2bc8adab91f43082702f445a243744f06f101f48359746f077419 days 5 hrs ago0x5ea8f48ccb3955477c721fc2e7aba9a252755ea2  IN   GodzillionCrowdsale0.3 Ether0.001759926
0xe92dacdf022abb513f21488c83d26c7f53b3b21153003a1edaca53f76dd230ae419 days 16 hrs ago0x467d5988249a68614716659840ed0ae6f6f457bc  IN   GodzillionCrowdsale1 Ether0.000083806
0x7edecfcf789fed7ced8c64c6ad5692e688d905658865dce4027fb5b86f34160c423 days 4 hrs ago0x725467c1f8440ecb139275619e6f9c954acf9d75  IN   GodzillionCrowdsale1 Ether0.001444926
0x8269e6b5b1aebce4de2ad4393238f5fbcadae62b073f7c0cdd295fd2e825f55f423 days 5 hrs ago0x725467c1f8440ecb139275619e6f9c954acf9d75  IN   GodzillionCrowdsale1 Ether0.000441
0x542e16998681c5f179376faf4836e06638a1906fedeb0df60a8ac81fa421efad429 days 9 hrs ago0x886511258b2a9ffc4dadf2efbc12e74ad01dcb94  IN   GodzillionCrowdsale31.5 Ether0.003066198839
0x30dd97e5629dab925ab9a76b7bc945accff6dba984f949c53f84760169b24f14429 days 9 hrs ago0x886511258b2a9ffc4dadf2efbc12e74ad01dcb94  IN   GodzillionCrowdsale32 Ether0.001899602639
0xef2a99aebfcc321de00006a6c12509d7c46f2d95f0efe7027e07aa62ecbac8aa429 days 9 hrs ago0x886511258b2a9ffc4dadf2efbc12e74ad01dcb94  IN   GodzillionCrowdsale1 Ether0.001835125322
0xece2d93fae8dc764a87b6121805baebfeb9d12e2d6bb77560f2f58060888f29d429 days 12 hrs ago0x2f8a15e92e38abbb7f712162150b7dbdf3118d0b  IN   GodzillionCrowdsale10 Ether0.001843732
0x55690d95a6b1afcb4c08a1b204006e99e1740295b90ac1aef8f643704139c71a429 days 22 hrs ago0x09b7aceb4458bd12f8f3fd4ba68a6bdc28c006d6  IN   GodzillionCrowdsale4 Ether0.000660107562
0x9f2c03ac2a0d5bf29f3fc88f55ee5991f73e7f013a86dd1abf13a6493d31e4fc429 days 23 hrs ago0x09b7aceb4458bd12f8f3fd4ba68a6bdc28c006d6  IN   GodzillionCrowdsale1 Ether0.001196854437
0xacf7141683194dc16cd964c11858cfd97a80ae75955d547f72b50d72ec22ab65430 days 1 hr ago0xdeccbbec3682340767c893cd25988d6bbe9954dc  IN   GodzillionCrowdsale0.5 Ether0.001759926
0x1263c7382b75dd97415f447b5dfec671a376da8b4ea8ae25c1c2020baf43756a431 days 10 hrs ago0x450c8e07b53fdccbe185c04d3bd61c5342e93c1e  IN   GodzillionCrowdsale0.3125 Ether0.0034178265
0xcfacd1d18b89160f53bba5c64dc9fad10e1c7d04f8e64961a56d80dd47675300431 days 10 hrs ago0x450c8e07b53fdccbe185c04d3bd61c5342e93c1e  IN   GodzillionCrowdsale0.3125 Ether0.001089
0xcb661e070d7b901e4904e5339edbd31861e661fd999cbb8a31755b80b8fd8645432 days 12 hrs ago0x18a9ec6e53860458df421f51418c4a0096522b77  IN   GodzillionCrowdsale0.1 Ether0.001759926
0xe82db10110f587fdcd3cf19e484dac9026c2d00bb34b68681e9850a2c16e0b2d432 days 16 hrs ago0x450c8e07b53fdccbe185c04d3bd61c5342e93c1e  IN   GodzillionCrowdsale0.3125 Ether0.003158924632
0xfd179eb0bcdd993952e5ef7c7955b15ab547ae0d60c388415f3a1f7208d1aea0433 days 46 mins ago0x0d30a563bc0a5af8df47413fd49e09a3bc81ca90  IN   GodzillionCrowdsale0.1 Ether0.001444926
0x4e60390ba7b4608d1141e830088e22a376eeb9461dbb9fd698f30bff0809ae28433 days 51 mins ago0x0d30a563bc0a5af8df47413fd49e09a3bc81ca90  IN   GodzillionCrowdsale0.1 Ether0.001759926
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0xf2f1950724ea0a7bdb5a1a625fe5d4b309b7a672c1cac30d08606b456862e9814308747415 days 3 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0xdc198642f5df2917380850ce94f57b5f70eed3ab0.01 Ether
0xd5c03102d977b0eb2d5b892b3ac003833316c395d6113279fb15d36ab98c09da4308128415 days 8 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.365 Ether
0x528593f1ddbf098317d5a818a52e376e5eb4eda2a6eaddc6a6bb2551fdb1e3824307900415 days 10 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.5 Ether
0x892d925db57909b0b17d0a9ab9d3a71de359b606f554dfadc6341fa92dc5c7624305654416 days 5 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.5 Ether
0x862155252fee541d143f92dbeb0b13f56bfa39b51d8a582a8ae836d6af5446b64301142417 days 18 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.1 Ether
0xc4942d3108aec7f15d571816523840cd46ccc71523635d5ee54d5559aa0ddc704299486418 days 6 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.1 Ether
0x4ae77b519e91df932bb31557778a72db29447076fd0bc291dbebff5c0d5fb3d84297429418 days 19 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.08 Ether
0x9c663c09c64f2e2bc8adab91f43082702f445a243744f06f101f48359746f0774295879419 days 5 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.3 Ether
0xe92dacdf022abb513f21488c83d26c7f53b3b21153003a1edaca53f76dd230ae4294334419 days 16 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d311 Ether
0x7edecfcf789fed7ced8c64c6ad5692e688d905658865dce4027fb5b86f34160c4281611423 days 4 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d311 Ether
0x542e16998681c5f179376faf4836e06638a1906fedeb0df60a8ac81fa421efad4259463429 days 9 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x88915327bf46a835de49362aded040bc15119d6231.5 Ether
0x30dd97e5629dab925ab9a76b7bc945accff6dba984f949c53f84760169b24f144259460429 days 9 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x88915327bf46a835de49362aded040bc15119d6232 Ether
0xef2a99aebfcc321de00006a6c12509d7c46f2d95f0efe7027e07aa62ecbac8aa4259431429 days 9 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d311 Ether
0xece2d93fae8dc764a87b6121805baebfeb9d12e2d6bb77560f2f58060888f29d4258929429 days 12 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d3110 Ether
0x55690d95a6b1afcb4c08a1b204006e99e1740295b90ac1aef8f643704139c71a4257511429 days 22 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d314 Ether
0x9f2c03ac2a0d5bf29f3fc88f55ee5991f73e7f013a86dd1abf13a6493d31e4fc4257373429 days 23 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d311 Ether
0xacf7141683194dc16cd964c11858cfd97a80ae75955d547f72b50d72ec22ab654256978430 days 1 hr ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.5 Ether
0x1263c7382b75dd97415f447b5dfec671a376da8b4ea8ae25c1c2020baf43756a4252126431 days 10 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.3125 Ether
0xcb661e070d7b901e4904e5339edbd31861e661fd999cbb8a31755b80b8fd86454248281432 days 12 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.1 Ether
0xe82db10110f587fdcd3cf19e484dac9026c2d00bb34b68681e9850a2c16e0b2d4247714432 days 16 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.3125 Ether
0xfd179eb0bcdd993952e5ef7c7955b15ab547ae0d60c388415f3a1f7208d1aea04246460433 days 46 mins ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.1 Ether
0x4e60390ba7b4608d1141e830088e22a376eeb9461dbb9fd698f30bff0809ae284246448433 days 51 mins ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.1 Ether
0x7a06aface1e0dd9f7cb0f451588e6c6fc0f5ca6813ee37d363a8e7d5f17d84f54242695434 days 2 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.00625 Ether
0xff27727671e9b5b49e0719962276d240c746b2f1ed709ccf9981d3bf6e0e47474242663434 days 2 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.00625 Ether
0x3c18a021660045d9fcb53fb83b91ef4e9ac15000df04b46a0afac4808970ea2f4241472434 days 10 hrs ago0x83f602311629f84929804b7e00adc67e17eda7fb0x1e95ebb48045be65462342988b53ad5aba5a1d310.01 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), NestedArrayFunctionCallDecoder (medium-severity), ZeroFunctionSelector (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: GodzSwapGodzEther
Compiler Text: v0.4.16+commit.d7661dd9
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^ 0.4.15;

/**
*library name : SafeMath
*purpose : be the library for the smart contract for the swap between the godz and ether
*goal : to achieve the secure basic math operations
*/
library SafeMath {

  /*function name : mul*/
  /*purpose : be the funcion for safe multiplicate*/
  function mul(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a * b;
    /*assert(a == 0 || c / a == b);*/
    return c;
  }

  /*function name : div*/
  /*purpose : be the funcion for safe division*/
  function div(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a / b;
    return c;
  }

  /*function name : sub*/
  /*purpose : be the funcion for safe substract*/
  function sub(uint256 a, uint256 b) internal constant returns (uint256) {
    /*assert(b <= a);*/
    return a - b;
  }

  /*function name : add*/
  /*purpose : be the funcion for safe sum*/
  function add(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a + b;
    /*assert(c >= a);*/
    return c;
  }
}

/**
*contract name : ReentryProtected
*/
contract ReentryProtected{
    /*The reentry protection state mutex.*/
    bool __reMutex;

    /**
    *This modifier can be used on functions with external calls to
    *prevent reentry attacks.
    *Constraints:
    *Protected functions must have only one point of exit.
    *Protected functions cannot use the `return` keyword
    *Protected functions return values must be through return parameters.
    */
    modifier preventReentry() {
        require(!__reMutex);
        __reMutex = true;
        _;
        delete __reMutex;
        return;
    }

    /**
    *This modifier can be applied to public access state mutation functions
    *to protect against reentry if a `preventReentry` function has already
    *set the mutex. This prevents the contract from being reenter under a
    *different memory context which can break state variable integrity.
    */
    modifier noReentry() {
        require(!__reMutex);
        _;
    }
}

/**
*contract name : GodzSwapGodzEtherCompliance
*purpose : be the smart contract for compliance of the greater than usd5000
*/
contract GodzSwapGodzEtherCompliance{
    //address of the owner of the contract
    address public owner;
    
    /*structure for store the sale*/
    struct GodzBuyAccounts
    {
        uint256 amount;/*amount sent*/
        address account;/*account that sent*/
        uint sendGodz;/*if send the godz back*/
    }

    /*mapping of the acounts that send more than usd5000*/
    mapping(uint=>GodzBuyAccounts) public accountsHolding;
    
    /*index of the account information*/
    uint public indexAccount = 0;

    /*account information*/
    address public swapContract;/*address of the swap contract*/


    /*function name : GodzSwapGodzEtherCompliance*/
    /*purpose : be the constructor and the setter of the owner*/
    /*goal : to set the owner of the contract*/    
    function GodzSwapGodzEtherCompliance()
    {
        /*sets the owner of the contract than compliance with the greater than usd5000 maximiun*/
        owner = msg.sender;
    }

    /*function name : setHolderInformation*/
    /*purpose : be the setter of the swap contract and wallet holder*/
    /*goal : to set de swap contract address and the wallet holder address*/    
    function setHolderInformation(address _swapContract)
    {    
        /*if the owner is setting the information of the holder and the swap*/
        if (msg.sender==owner)
        {
            /*address of the swap contract*/
            swapContract = _swapContract;
        }
    }

    /*function name : SaveAccountBuyingGodz*/
    /*purpose : be the safe function that map the account that send it*/
    /*goal : to store the account information*/
    function SaveAccountBuyingGodz(address account, uint256 amount) public returns (bool success) 
    {
        /*if the sender is the swapContract*/
        if (msg.sender==swapContract)
        {
            /*increment the index*/
            indexAccount += 1;
            /*store the account informacion*/
            accountsHolding[indexAccount].account = account;
            accountsHolding[indexAccount].amount = amount;
            accountsHolding[indexAccount].sendGodz = 0;
            /*transfer the ether to the wallet holder*/
            /*account save was completed*/
            return true;
        }
        else
        {
            return false;
        }
    }

    /*function name : setSendGodz*/
    /*purpose : be the flag update for the compliance account*/
    /*goal : to get the flag on the account*/
    function setSendGodz(uint index) public 
    {
        if (owner == msg.sender)
        {
            accountsHolding[index].sendGodz = 1;
        }
    }

    /*function name : getAccountInformation*/
    /*purpose : be the getter of the information of the account*/
    /*goal : to get the amount and the acount of a compliance account*/
    function getAccountInformation(uint index) public returns (address account, uint256 amount, uint sendGodz)
    {
        /*return the account of a compliance*/
        return (accountsHolding[index].account, accountsHolding[index].amount, accountsHolding[index].sendGodz);
    }
}

/**
*contract name : GodzSwapGodzEther
*purpose : be the smart contract for the swap between the godz and ether
*goal : to achieve the swap transfers
*/
contract GodzSwapGodzEther  is ReentryProtected{
    address public seller;/*address of the owner of the contract creation*/
    address public tokenContract;/*address of the erc20 token smart contract for the swap*/
    address public complianceContract;/*compliance contract*/
    address public complianceWallet;/*compliance wallet address*/
    uint256 public sellPrice;/*value price of the swap*/
    uint256 public sellQuantity;/*quantity value of the swap*/

    /*function name : GodzSwapGodzEther*/
    /*purpose : be the constructor of the swap smart contract*/
    /*goal : register the basic information of the swap smart contract*/
    function GodzSwapGodzEther(
    address token,
    address complianceC,
    address complianceW
    ){
        tokenContract = token;
        /*owner of the quantity of supply of the erc20 token*/
        seller = msg.sender;
        /*swap price of the token supply*/
        sellPrice = 0.00625 * 1 ether;
        /*total quantity to swap*/
        sellQuantity = SafeMath.mul(210000000, 1 ether);
        /*compliance contract store accounts*/
        complianceContract = complianceC;
        /*compliance wallet holder*/
        complianceWallet = complianceW;
    }

    /*function name : () payable*/
    /*purpose : be the swap executor*/
    /*goal : to transfer the godz to the investor and the ether to the owner of the godz*/
    function() payable preventReentry
    {
        /*address of the buyer*/
        address buyer = msg.sender;

        /*value paid and receive on the swap call*/
        uint256 valuePaid = msg.value;

        /*set the quantity of godz on behalf of the ether that is send to this function*/
  		  uint256 buyQuantity = SafeMath.mul((SafeMath.div(valuePaid, sellPrice)), 1 ether);

        /*gets the balance of the owner of the godz*/
        uint256 balanceSeller = Token(tokenContract).balanceOf(seller);

        /*get the allowance of the owner of the godz*/
  		uint256 balanceAllowed = Token(tokenContract).allowance(seller,this);

        if (seller!=buyer) /*if the seller of godz on swap is different than the investor buying*/
        {
            /*if the balance and the allowance match a valid quantity swap*/
      		if ((balanceAllowed >= buyQuantity) && (balanceSeller >= buyQuantity))
            {
                /*if the msg.value(ether sent) is greater than compliance, store it and sent to the wallet holder*/
                if (valuePaid>(20 * 1 ether))
                {
                    /*transfer the value(ether) to the compliance holder wallet*/
                    complianceWallet.transfer(valuePaid);
                    /*save the account information*/
                    require(GodzSwapGodzEtherCompliance(complianceContract).SaveAccountBuyingGodz(buyer, valuePaid));
                }
                else
                {
                    /*transfer the ether inside to the seller of the godz*/
                    seller.transfer(valuePaid);
                    /*call the transferfrom function of the erc20 token smart contract*/
                    require(Token(tokenContract).transferFrom(seller, buyer, buyQuantity));
                }
            }
            else/*if not a valid match between allowance and balance of the owner of godz, return the ether*/
            {
                /*send back the ether received*/
                buyer.transfer(valuePaid);
            }
        }
    }

    /*function name : safeWithdrawal*/
    /*purpose : be the safe withrow function in case of the contract keep ether inside*/
    /*goal : to transfer the ether to the owner of the swap contract*/
    function safeWithdrawal()
    {
        /*requires that the contract call is the owner of the swap contract*/
        /*require(seller == msg.sender);*/
        /*if the seller of the godz is the call contract address*/
        if (seller == msg.sender)
        {
            /*transfer the ether inside to the seller of the godz*/
            seller.transfer(this.balance);
        }
    }
}

/**
*contract name : tokenRecipient
*/
contract tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData); }

/**
*contract name : Token
*/
contract Token {
    /*using the secure math library for basic math operations*/
    using SafeMath for uint256;

    /* Public variables of the token */
    string public standard = 'DSCS.GODZ.TOKEN';
    string public name;
    string public symbol;
    uint8 public decimals;
    uint256 public totalSupply;

    /* This creates an array with all balances */
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    /* This generates a public event on the blockchain that will notify clients */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /* Initializes contract with initial supply tokens to the creator of the contract */
    function Token(
        uint256 initialSupply,
        string tokenName,
        uint8 decimalUnits,
        string tokenSymbol
        ) {
        balanceOf[msg.sender] = initialSupply;                  /* Give the creator all initial tokens*/
        totalSupply = initialSupply;                            /* Update total supply*/
        name = tokenName;                                       /* Set the name for display purposes*/
        symbol = tokenSymbol;                                   /* Set the symbol for display purposes*/
        decimals = decimalUnits;                                /* Amount of decimals for display purposes*/
    }

    /* Send coins */
    function transfer(address _to, uint256 _value) {
        if (_to == 0x0) revert();                               /* Prevent transfer to 0x0 address. Use burn() instead*/
        if (balanceOf[msg.sender] < _value) revert();           /* Check if the sender has enough*/
        if (balanceOf[_to] + _value < balanceOf[_to]) revert(); /* Check for overflows*/
        balanceOf[msg.sender] = balanceOf[msg.sender].sub(_value);                        /* Subtract from the sender*/
        balanceOf[_to] = balanceOf[_to].add(_value);                               /* Add the same to the recipient*/
        Transfer(msg.sender, _to, _value);                      /* Notify anyone listening that this transfer took place*/
    }

    /* Allow another contract to spend some tokens in your behalf */
    function approve(address _spender, uint256 _value)
        returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }

    /* Approve and then communicate the approved contract in a single tx */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData)
        returns (bool success) {
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }

    /* A contract attempts to get the coins but transfer from the origin*/
    function transferFromOrigin(address _to, uint256 _value)  returns (bool success) {
        address origin = tx.origin;
        if (origin == 0x0) revert();
        if (_to == 0x0) revert();                                /* Prevent transfer to 0x0 address.*/
        if (balanceOf[origin] < _value) revert();                /* Check if the sender has enough*/
        if (balanceOf[_to] + _value < balanceOf[_to]) revert();  /* Check for overflows*/
        balanceOf[origin] = balanceOf[origin].sub(_value);       /* Subtract from the sender*/
        balanceOf[_to] = balanceOf[_to].add(_value);             /* Add the same to the recipient*/
        return true;
    }

    /* A contract attempts to get the coins */
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        if (_to == 0x0) revert();                                /* Prevent transfer to 0x0 address.*/
        if (balanceOf[_from] < _value) revert();                 /* Check if the sender has enough*/
        if (balanceOf[_to] + _value < balanceOf[_to]) revert();  /* Check for overflows*/
        if (_value > allowance[_from][msg.sender]) revert();     /* Check allowance*/
        balanceOf[_from] = balanceOf[_from].sub(_value);                              /* Subtract from the sender*/
        balanceOf[_to] = balanceOf[_to].add(_value);                                /* Add the same to the recipient*/
        allowance[_from][msg.sender] = allowance[_from][msg.sender].sub(_value);
        Transfer(_from, _to, _value);
        return true;
    }

}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"seller","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sellQuantity","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"complianceWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"complianceContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"safeWithdrawal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"token","type":"address"},{"name":"complianceC","type":"address"},{"name":"complianceW","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b6040516060806106fd8339810160405280805191906020018051919060200180519150505b60018054600160a060020a031916600160a060020a03858116919091179091556000805461010060a860020a03191661010033909316929092029190911790556616345785d8a0006004556100a2630c845880670de0b6b3a76400006401000000006100de81026105211704565b60055560028054600160a060020a03808516600160a060020a03199283161790925560038054928416929091169190911790555b5050506100ea565b818102805b5092915050565b610604806100f96000396000f300606060405236156100675763ffffffff60e060020a60003504166308551a5381146103ea5780633a180fee146104195780634b7503341461043e57806355a373d6146104635780638861026f14610492578063b2a2a4e2146104c1578063fd6b7ef8146104f0575b5b60008054819081908190819060ff161561008157600080fd5b6000805460ff191660011790556004543395503494506100b4906100a6908690610505565b670de0b6b3a7640000610521565b60015460008054929550600160a060020a03918216926370a082319261010090910416906040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561011d57600080fd5b6102c65a03f1151561012e57600080fd5b505050604051805160015460008054929550600160a060020a03918216935063dd62ed3e9261010090049091169030906040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b15156101aa57600080fd5b6102c65a03f115156101bb57600080fd5b5050506040518051600054909250600160a060020a03878116610100909204161490506103d5578281101580156101f25750828210155b156103a4576801158e460913d000008411156102c557600354600160a060020a031684156108fc0285604051600060405180830381858888f19350505050151561023b57600080fd5b600254600160a060020a0316637eaf45f8868660006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561029a57600080fd5b6102c65a03f115156102ab57600080fd5b5050506040518051905015156102c057600080fd5b61039e565b6000546101009004600160a060020a03166108fc85150285604051600060405180830381858888f1935050505015156102fd57600080fd5b60015460008054600160a060020a03928316926323b872dd926101009092041690889087906040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561037857600080fd5b6102c65a03f1151561038957600080fd5b50505060405180519050151561039e57600080fd5b5b6103d5565b600160a060020a03851684156108fc0285604051600060405180830381858888f1935050505015156103d557600080fd5b5b5b5b6000805460ff191690555b5050505050005b34156103f557600080fd5b6103fd61052d565b604051600160a060020a03909116815260200160405180910390f35b341561042457600080fd5b61042c610541565b60405190815260200160405180910390f35b341561044957600080fd5b61042c610547565b60405190815260200160405180910390f35b341561046e57600080fd5b6103fd61054d565b604051600160a060020a03909116815260200160405180910390f35b341561049d57600080fd5b6103fd61055c565b604051600160a060020a03909116815260200160405180910390f35b34156104cc57600080fd5b6103fd61056b565b604051600160a060020a03909116815260200160405180910390f35b34156104fb57600080fd5b61050361057a565b005b600080828481151561051357fe5b0490508091505b5092915050565b818102805b5092915050565b6000546101009004600160a060020a031681565b60055481565b60045481565b600154600160a060020a031681565b600354600160a060020a031681565b600254600160a060020a031681565b60005433600160a060020a039081166101009092041614156105d457600054600160a060020a0361010090910481169030163180156108fc0290604051600060405180830381858888f1935050505015156105d457600080fd5b5b5b5600a165627a7a723058202430a99ee58b142a82eb90d89cced71476756ff9a8f543d7144ec37d141fa87b002900000000000000000000000061d0407edb149dc453c47fe31139fae9c1472da60000000000000000000000003fff7a8bfacfe01c901980b894f716987446364d00000000000000000000000088915327bf46a835de49362aded040bc15119d62

    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000061d0407edb149dc453c47fe31139fae9c1472da60000000000000000000000003fff7a8bfacfe01c901980b894f716987446364d00000000000000000000000088915327bf46a835de49362aded040bc15119d62

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000061d0407edb149dc453c47fe31139fae9c1472da6
Arg [1] : 0000000000000000000000003fff7a8bfacfe01c901980b894f716987446364d
Arg [2] : 00000000000000000000000088915327bf46a835de49362aded040bc15119d62


   Swarm Source:
bzzr://2430a99ee58b142a82eb90d89cced71476756ff9a8f543d7144ec37d141fa87b

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.