Contract Overview
Balance: 0.00006575937116815 Ether
Ether Value: $0.01 (@ $210.14/ETH)
Transactions: 108 txns
 Latest 25 txns From a total of 108 Transactions

TxHash Age From To Value [TxFee]
0x6158e1b4ba99f4ae4e4a8e34474266372b1aee0fa6ff625d2e17b0529af5cb0298 days 15 hrs ago0x9ebf6734ebf95effb99dbe6dc5faf086ec394d94  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df0 Ether0.00028494
0x88991b4c61fceec1d0d8838f3ba2d837c075c7fe5d20cb11db6cc18c87b6c108102 days 12 hrs ago0x9ebf6734ebf95effb99dbe6dc5faf086ec394d94  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df0 Ether0.000565089
0xe2d523409bf1a1f1ff8455d2c03fcb6c2d07fb9302beaae8674caf3d0d06905b109 days 10 hrs ago0xf778b92dd782213e450ffa6304c1ad1b8c8e19e4  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df0.5 Ether0.002012567
0xc1485434b14e3b35e47c4863ccb7fb2df3421bbe61e2730c5dc03a8e1851afc5109 days 15 hrs ago0x75b746bd885ac01e54b1bef0c31e89cf9c21c72e  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df4 Ether0.002012567
0x6273194baaba78e3e4ab6dc35b792e5a542bbe459dd33057da01d918c7f621bc112 days 10 hrs ago0x020db54451f8c9d9ac122ccd1f505c68af999e1e  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df3 Ether0.002012567
0xff8f3bec715d2739e33ae3f11d52ee01cb66f44cc77fa04040cd8c62b690393f112 days 10 hrs ago0x020db54451f8c9d9ac122ccd1f505c68af999e1e  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df3 Ether0.000861
0xd11aa98b82b4f1e996b8b19eb463801ffc2b8bbbc0c6678784876bc9698d733e112 days 15 hrs ago0xde01273f005d78bdbdaa3dccaeaaac76f8f3043c  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df1 Ether0.002012567
0x9780cc9036e9e9bc6721d5801d881796db690836e23799c5227b2f71747d7988116 days 17 hrs ago0xf83abd7ebf153a6dccee55677e24744a9f1433e9  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df0.75 Ether0.002012567
0x325fb3490c2d4f98943084c7e87a93122bcd91b23f955783eb034d3ddc0574e4117 days 7 hrs ago0x04196a450f21d9aa8fb21d5750cdfe39dd245680  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df4 Ether0.002012567
0x831de5e4835708e305f507d230b38a55aea441aec510eea3bd0c6bf348c21f2d117 days 16 hrs ago0xfe944ad54ad1d4834e41ad0849ac4b165d5d6dd2  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df1 Ether0.002012567
0x72ca88f28bcb8f26c47488ead2601aaf3c22d4b7800d21925833f3180a43dcd2117 days 16 hrs ago0x39e5a30658a8e8f70fdf6fe60e74225279418c09  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df2.6 Ether0.002012567
0x6427cb61437d60630585a9e3cf8624a6ec966908372115d40f410ab543bc7ba4117 days 19 hrs ago0x39e5a30658a8e8f70fdf6fe60e74225279418c09  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df2.6 Ether0.001804
0xfec675f78670117d0eb1307b72ddcaadbbe2af0b6b2e1fcbfa78335f7f027d42117 days 19 hrs ago0x39e5a30658a8e8f70fdf6fe60e74225279418c09  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df2.6 Ether0.000861
0xa9d90231c2f47c5502b3c584bcd61ba8cbc9ea863ae022797e859092355dab3d117 days 19 hrs ago0xfc0988bef5b1e21508b1796c868d9642b7c59137  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df0.2 Ether0.002012567
0x47a8ecb090520a5c1068ea70b14480e26725b59b077fb2f0bc7763311e70d903120 days 13 hrs ago0x78fa5cd535fca01b76af51a4e16a21923ca95841  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df0.8 Ether0.001397567
0xffd240d2fb704cd79b5a65351973087d02a7c9e0a7ebe95ba9094e97ac551d92124 days 1 hr ago0x78fa5cd535fca01b76af51a4e16a21923ca95841  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df3 Ether0.002012567
0xcf8fdaeb1a9768dd9db56219fe7c99f35e81dd3888a181ce8175583e32cb6d2b124 days 2 hrs ago0x1fbe2852d2d331b231d2348cd9cb42be1d804874  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df2.84 Ether0.002012567
0xd636bbde67174518ff2b60526b302c9d67390a74a858a0c12c526f37b17c5bf7124 days 2 hrs ago0xac9fc98f46a6e8eb5e2b8c1e340f318cb5bf2bcc  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df2.5 Ether0.002012567
0xc91f5e52637d8277b42863cb85bf453defe6bae2bdaf965c73fb5813b713bf7f124 days 3 hrs ago0x1fbe2852d2d331b231d2348cd9cb42be1d804874  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df2.84 Ether0.000861
0xa9680b921f4d3db0c118b8ecce0ae483009b1253c29e0c4df8e15e537ce00fdf125 days 17 hrs ago0x0f264a1421db518859469efcc3426626d13027b6  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df5 Ether0.002012567
0x66f600aaf45f860cc2729eacde2d79bf1efccd0da682180e914ede2a01789854126 days 2 hrs ago0xe44999477c33d7f301299fc53c27ec04ac53e5e8  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df0.92 Ether0.002012567
0x72fc5b647ffe87b2212df1578e0d9b8e85f72cdceabec0feea07468235754302126 days 3 hrs ago0x0601dfdf4cef74aecc31d377f1144e73f36d7ed4  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df2.09 Ether0.002012567
0x49dd3c83a0cef23d1bc9502f8a544517fad7b5d74f695931f01b92289b45ffda126 days 3 hrs ago0x90075037898c6dac3fd3bc9f679f7dcb0f2a0c12  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df1 Ether0.002012567
0xe8bcf3af0f5626f9a1d6b4e2cef7322accbd05612ba182eded93b9e04bf0985d126 days 3 hrs ago0x9730ed9cadd4bb163699e4f1324a12b248a20fd2  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df1.89 Ether0.002012567
0xac2a34d812db1aa997140ffd081e5b6ef4862527ab360e8ea1e14e1928ce16d5128 days 3 hrs ago0xe6e9015c9e5831fd9effa794286a0bb42cb0b124  IN   0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df0.5 Ether0.002012567
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 1 Internal Transaction

ParentTxHash Block Age From To Value
0x6158e1b4ba99f4ae4e4a8e34474266372b1aee0fa6ff625d2e17b0529af5cb02593063998 days 15 hrs ago0xa7fa7588cd7ebf3d0e128f07da7406dd74e241df0x776c8b8c9cad553f0cf4b449d2fcadf9d981344d118.2186 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: TWQCrowdsale
Compiler Text: v0.4.20-nightly.2018.1.6+commit.2548228b
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.16;

contract TWQCrowdsale {
    address public owner;
    uint256 public amount;
    uint256 public hard_limit;
    uint256 public token_price;
    mapping (address => uint256) public tokens_backed;
    address public contract_admin;
    uint256 public start_block;
    uint256 public end_block;
    
    event FundTransfer(address backer, uint256 amount_paid);
    event Withdrawal(address owner, uint256 total_amount);
    
    function TWQCrowdsale (address crowdsale_owner, uint256 set_limit, uint256 price, uint256 time_limit) public {
        owner = crowdsale_owner;
        hard_limit = set_limit * 1 ether;
        token_price = price * 100 szabo;
        contract_admin = msg.sender;
        start_block = block.number;
        end_block = ((time_limit * 1 hours) / 15 seconds) + start_block;
    }
    
    function () public payable {
        if (msg.value < 0.01 ether || msg.value + amount > hard_limit) revert();
        if (block.number < start_block || block.number > end_block) revert();
        FundTransfer(msg.sender, msg.value);
        amount += msg.value;
        tokens_backed[msg.sender] += msg.value / token_price;
    }
    
    modifier authorized {
        if (msg.sender != contract_admin) revert (); 
        _;
    }
    
    function owner_withdrawal(uint256 withdraw_amount) authorized public {
        withdraw_amount = withdraw_amount * 100 szabo;
        Withdrawal(owner, withdraw_amount);
        owner.transfer(withdraw_amount);
    }
    
    function add_hard_limit(uint256 additional_limit) authorized  public {
        hard_limit += additional_limit * 100 szabo;
    }
    
    function change_start_block(uint256 new_block) authorized public {
        start_block = new_block;
    }
    
    function extend_end_block(uint256 end_time_period) authorized public {
        end_block += ((end_time_period * 1 hours) / 15 seconds); 
    }
    
    function shorten_end_block(uint256 end_time_period) authorized public {
        end_block -= ((end_time_period * 1 hours) / 15 seconds);
    }
    
    function set_end_block(uint256 block_number) authorized public {
        end_block = block_number;
    }
    
    function end_now() authorized public {
        end_block = block.number;
    }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"end_time_period","type":"uint256"}],"name":"extend_end_block","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"new_block","type":"uint256"}],"name":"change_start_block","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"end_block","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"contract_admin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token_price","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"end_time_period","type":"uint256"}],"name":"shorten_end_block","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"hard_limit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"amount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"additional_limit","type":"uint256"}],"name":"add_hard_limit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"end_now","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"start_block","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"block_number","type":"uint256"}],"name":"set_end_block","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"withdraw_amount","type":"uint256"}],"name":"owner_withdrawal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokens_backed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"crowdsale_owner","type":"address"},{"name":"set_limit","type":"uint256"},{"name":"price","type":"uint256"},{"name":"time_limit","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"backer","type":"address"},{"indexed":false,"name":"amount_paid","type":"uint256"}],"name":"FundTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"total_amount","type":"uint256"}],"name":"Withdrawal","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b604051608080610a6283398101604052808051906020019091908051906020019091908051906020019091908051906020019091905050836000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550670de0b6b3a76400008302600281905550655af3107a4000820260038190555033600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555043600681905550600654600f610e10830281151561010157fe5b0401600781905550505050506109468061011c6000396000f3006060604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680632feceb46146101f1578063301d5eda146102145780635e0b1259146102375780636da36c06146102605780637b4fd96e146102b55780637dc8e069146102de578063810a3919146103015780638da5cb5b1461032a578063aa8c217c1461037f578063ada7061b146103a8578063b33c4b1f146103cb578063b87fb3db146103e0578063e31e0c4614610409578063ebd057fa1461042c578063f84907d71461044f575b662386f26fc100003410806100f557506002546001543401115b156100ff57600080fd5b600654431080610110575060075443115b1561011a57600080fd5b7f97c35397cb6acebd9df368c206404479fc4c80dd6034d1b28943aaf5826318703334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a134600160008282540192505081905550600354348115156101a257fe5b04600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550005b34156101fc57600080fd5b610212600480803590602001909190505061049c565b005b341561021f57600080fd5b610235600480803590602001909190505061051b565b005b341561024257600080fd5b61024a610581565b6040518082815260200191505060405180910390f35b341561026b57600080fd5b610273610587565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102c057600080fd5b6102c86105ad565b6040518082815260200191505060405180910390f35b34156102e957600080fd5b6102ff60048080359060200190919050506105b3565b005b341561030c57600080fd5b610314610632565b6040518082815260200191505060405180910390f35b341561033557600080fd5b61033d610638565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561038a57600080fd5b61039261065d565b6040518082815260200191505060405180910390f35b34156103b357600080fd5b6103c96004808035906020019091905050610663565b005b34156103d657600080fd5b6103de6106da565b005b34156103eb57600080fd5b6103f361073f565b6040518082815260200191505060405180910390f35b341561041457600080fd5b61042a6004808035906020019091905050610745565b005b341561043757600080fd5b61044d60048080359060200190919050506107ab565b005b341561045a57600080fd5b610486600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610902565b6040518082815260200191505060405180910390f35b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156104f857600080fd5b600f610e10820281151561050857fe5b0460076000828254019250508190555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561057757600080fd5b8060068190555050565b60075481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561060f57600080fd5b600f610e10820281151561061f57fe5b0460076000828254039250508190555050565b60025481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156106bf57600080fd5b655af3107a4000810260026000828254019250508190555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561073657600080fd5b43600781905550565b60065481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156107a157600080fd5b8060078190555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561080757600080fd5b655af3107a4000810290507f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b656000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a16000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156108ff57600080fd5b50565b600460205280600052604060002060009150905054815600a165627a7a72305820b487c667aa33d024b326fb2a2f9a91f4b095265fc8911ff40b7d7195ef9f60940029000000000000000000000000776c8b8c9cad553f0cf4b449d2fcadf9d981344d000000000000000000000000000000000000000000000000000000000000b798000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000005a0

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

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000776c8b8c9cad553f0cf4b449d2fcadf9d981344d
Arg [1] : 000000000000000000000000000000000000000000000000000000000000b798
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 00000000000000000000000000000000000000000000000000000000000005a0


   Swarm Source:
bzzr://b487c667aa33d024b326fb2a2f9a91f4b095265fc8911ff40b7d7195ef9f6094

 

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.