Sponsored:   Ubex.com - Crypto Valley IAB member. Traded on Bitforex, Bitmart, Btc-Alpha, IDEX, Bilaxy, soon on Lbank.
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 63972 txns
Token Tracker: Atoshima Konsato
 Latest 25 txns From a total of 63972 Transactions

TxHash Age From To Value [TxFee]
0xd0ef76ac6c9ce7f45e36f7e148babf12c158b1998a232b7c02076ad01c9fec523 mins ago0x769b018496ccc5675df3687574df125565471bb4  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a632.0591836 Ether0.000549981
0x8c7127c9d878f1bad5840e3fa8da8a48404f943e52a3ed2768b39718836a73743 mins ago0x060f49f6512af216376652e52f81b52cd633210a  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a68.814999 Ether0.000916635
0x70e38bf59ba3e71714a2647f9a315e5336e9106594a813538761bd698a1d5a617 mins ago0xca22746ed37d2d532b402e0a171c7356b954d589  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a627.92398108 Ether0.000427763
0x57c7935bab1b803d1bdf4d82f08e77780e71eee86347c611ec0563d902a3369f9 mins ago0x50f53ab328dd291c9fc2d93ed5d5b19f8bbd7961  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a644 Ether0.000488872
0xd55a3d0db4718b5b7b69c40e8d84bd73efc9500934347c2155add0aa25f34c439 mins ago0xa8288d5f091c71265e14be8e2a9051b66753de56  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60.7532776 Ether0.00061109
0x1be5701de4718bdb2794c07c2666df604c07bc5a62cd529c926fb0f5517bae6310 mins ago0xfaee3c5765296abdaa89acb3c6ae6c639d611659  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60.9256421 Ether0.000733308
0x8b0bdab43157ed83e154ec37480fb3bc7c6d41cccb91234661b607e625c5937311 mins ago0x3f5c92a944b07f7405a885770161b77f83efdf2b  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60.4507924 Ether0.001037448
0xce789ebc119b61bd19e0073512e0c40610175d508616227fc0dd0ac557182e0914 mins ago0x954ff14d3b61d27bdb7e72efb5d046d8f02766ea  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a617.461088 Ether0.00046109
0x1a37d52c7a8548c3ac5e17ce60282be8eddb3289b34d2db1b51d8833d9fe733315 mins ago0x00b51c41aa1ef3c4dc31db4ef8b8eadb365e1268  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a630.6375379 Ether0.00061109
0xe477cc888c586fa2f2c6cd00a43b5d92c9e91d38a7a28063463576402b306a2316 mins ago0x739c3754c20693b9dc29180ae334984c85644279  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a68.471343 Ether0.000414981
0x5aa98d97d30733d6c7d3a11a16305f5aa1ba5fcacf4487ad8f2d648b6cdec73321 mins ago0xbbc2d786b0789f1eddf24cae966341078e2fc4b1  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a61.422683 Ether0.000672199
0x98dce050b71ff0561904c6261a5ac3c483ea61a9eafa8b0d2186b57eb57d4ef322 mins ago0x954ff14d3b61d27bdb7e72efb5d046d8f02766ea  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a611.809802 Ether0.000322763
0x66e4f2d6135142a2dc72d4055a4f17bc659905d9e4626a6c045bafeb604a661f22 mins ago0xc6646377a7fd3b23dd7ad0eee6832823d9e74add  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60.41385269 Ether0.000645526
0x6768be38315aa209d576df440e18c59be218719ede63a33829170e3d2a4516ea23 mins ago0xc732b73813d4104364f56d9da857d4c0702d9279  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a618.4363613 Ether0.000549981
0xac30b0401b84effb5545787fb6365c79afb4fce8c35165872bd1cf80af8c9cc225 mins ago0xef2096c618009ee40d9ef8b0bc645ce21a2ed0d7  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a624.591342 Ether0.000414981
0x8d025be9cd6867d755e75f30b795219ccf6250c8212a8f2297217fd1e87b00e125 mins ago0xaf5c5b010359975545ccd861649a4b04b8f78a46  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a617.54854 Ether0.000553308
0x2ed3a16b660d6a0995ad846917ef8e65e68ae9f8a019a007254243fe3c4001d125 mins ago0x34f4c38440f76f114fbda74ef818dd41c3e8f630  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a68.567128 Ether0.000737744
0xa0a156e56b57fffd4ff6db73a256775dd6677d075aa67975e3a1633a5df5c6e428 mins ago0x97c6609a27ac76ad50fe883e17fbe03359278391  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a63.3071513 Ether0.00046109
0xadec8528b901bd93a24eb0166c4da74d61a124974293a8459c975891b2e30b1128 mins ago0x5f0b785bc679b6b35a1b5598355dc4d4ddebd997  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a620.6 Ether0.00046109
0x67e7d858f33c49fbeb7b9781c060f7af0c674812aba134e39a58132e99c5936329 mins ago0x9f0be3e0e8598a99496f97eb646ee4c798dfde00  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a66.2084319 Ether0.000414981
0xffc31b3324b24c5584c2994a48b13526c5e3355e41edd529323ca894a18f553230 mins ago0x1bd4247ed2f518c41c3789c51ebeb09b129a4590  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a65.31795965 Ether0.000691635
0xebe53b0c0e6886fbac2d1acfbf61b91217c297f4f15fd016e4667fb8388f580e31 mins ago0xb3605466990fdd20cd5922632f9f2a8a98a55e2e  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a69.9203568 Ether0.000414981
0x5163a999195838293df514758df7cdf6051538d29ccd517692cecd51b73379a232 mins ago0xc6d47a41f3b66bbf6708b3651757374e6ac2c7d6  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a611.953702 Ether0.000672199
0x081b648959650f7db8b066cda44356b4446c9984bc865fc26ac1f1504f2558a333 mins ago0x50f53ab328dd291c9fc2d93ed5d5b19f8bbd7961  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a67.3338325 Ether0.00046109
0xea7c972c457b4f32f9b58476fc8be2f978bd0c8effecdce5e301404a0987a48933 mins ago0xa8288d5f091c71265e14be8e2a9051b66753de56  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a614.317648 Ether0.000645526
[ 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
0xd0ef76ac6c9ce7f45e36f7e148babf12c158b1998a232b7c02076ad01c9fec5263896883 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f32.0591836 Ether
0x8c7127c9d878f1bad5840e3fa8da8a48404f943e52a3ed2768b39718836a737463896853 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f8.814999 Ether
0x70e38bf59ba3e71714a2647f9a315e5336e9106594a813538761bd698a1d5a6163896717 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f27.92398108 Ether
0x57c7935bab1b803d1bdf4d82f08e77780e71eee86347c611ec0563d902a3369f63896569 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f44 Ether
0xd55a3d0db4718b5b7b69c40e8d84bd73efc9500934347c2155add0aa25f34c4363896569 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f0.7532776 Ether
0x1be5701de4718bdb2794c07c2666df604c07bc5a62cd529c926fb0f5517bae63638965110 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f0.9256421 Ether
0x8b0bdab43157ed83e154ec37480fb3bc7c6d41cccb91234661b607e625c59373638964611 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f0.4507924 Ether
0xce789ebc119b61bd19e0073512e0c40610175d508616227fc0dd0ac557182e09638963814 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f17.461088 Ether
0x1a37d52c7a8548c3ac5e17ce60282be8eddb3289b34d2db1b51d8833d9fe7333638963715 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f30.6375379 Ether
0xe477cc888c586fa2f2c6cd00a43b5d92c9e91d38a7a28063463576402b306a23638963216 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f8.471343 Ether
0x5aa98d97d30733d6c7d3a11a16305f5aa1ba5fcacf4487ad8f2d648b6cdec733638960921 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f1.422683 Ether
0x98dce050b71ff0561904c6261a5ac3c483ea61a9eafa8b0d2186b57eb57d4ef3638960422 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f11.809802 Ether
0x66e4f2d6135142a2dc72d4055a4f17bc659905d9e4626a6c045bafeb604a661f638960122 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f0.41385269 Ether
0x6768be38315aa209d576df440e18c59be218719ede63a33829170e3d2a4516ea638960023 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f18.4363613 Ether
0xac30b0401b84effb5545787fb6365c79afb4fce8c35165872bd1cf80af8c9cc2638959225 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f24.591342 Ether
0x8d025be9cd6867d755e75f30b795219ccf6250c8212a8f2297217fd1e87b00e1638959125 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f17.54854 Ether
0x2ed3a16b660d6a0995ad846917ef8e65e68ae9f8a019a007254243fe3c4001d1638959125 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f8.567128 Ether
0xa0a156e56b57fffd4ff6db73a256775dd6677d075aa67975e3a1633a5df5c6e4638957928 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f3.3071513 Ether
0xadec8528b901bd93a24eb0166c4da74d61a124974293a8459c975891b2e30b11638957828 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f20.6 Ether
0x67e7d858f33c49fbeb7b9781c060f7af0c674812aba134e39a58132e99c59363638957529 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f6.2084319 Ether
0xffc31b3324b24c5584c2994a48b13526c5e3355e41edd529323ca894a18f5532638957030 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f5.31795965 Ether
0xebe53b0c0e6886fbac2d1acfbf61b91217c297f4f15fd016e4667fb8388f580e638956331 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f9.9203568 Ether
0x5163a999195838293df514758df7cdf6051538d29ccd517692cecd51b73379a2638955932 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f11.953702 Ether
0x081b648959650f7db8b066cda44356b4446c9984bc865fc26ac1f1504f2558a3638955733 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f7.3338325 Ether
0xea7c972c457b4f32f9b58476fc8be2f978bd0c8effecdce5e301404a0987a489638955733 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f14.317648 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: Coinage
Compiler Text: v0.4.19+commit.c4cbbb05
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

library SafeMath {

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {if (a == 0) {return 0;} uint256 c = a * b; assert(c / a == b); return c;}
    function div(uint256 a, uint256 b) internal pure returns (uint256) {uint256 c = a / b; return c;}
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {assert(b <= a); return a - b;}
    function add(uint256 a, uint256 b) internal pure returns (uint256) {uint256 c = a + b; assert(c >= a); return c;}}

contract Bitcoin {

    // 図書館
    using SafeMath for uint256;

    // 変数
    uint8 public decimals;uint256 public supplyCap;string public website;string public email = "[email protected]";address private oW;address public coinage;uint256 public totalSupply;mapping (address => uint256) private balances;mapping (address => mapping (address => uint256)) internal allowed;bool private mintable = true;

    // コンストラクタ
    function Bitcoin(uint256 cap, uint8 dec) public {oW = msg.sender; decimals=dec;supplyCap=cap * (10 ** uint256(decimals));}

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
    event Mint(address indexed to, uint256 amount);


    // 修飾語
    modifier oO(){require(msg.sender == oW); _;}modifier oOOrContract(){require(msg.sender == oW || msg.sender == coinage); _;}modifier canMint() {require(mintable); _;}

    // 機能
    function transfer(address _to, uint256 _value) public returns (bool) {require(_to != address(0)); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true;}
    function balanceOf(address _owner) public view returns (uint256 balance) {return balances[_owner];}
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); Transfer(_from, _to, _value); return true;}
    function approve(address _spender, uint256 _value) public returns (bool) {allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true;}
    function allowance(address _owner, address _spender) public view returns (uint256) {return allowed[_owner][_spender];}
    function increaseApproval(address _spender, uint _addedValue) public returns (bool) {allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true;}
    function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) {allowed[msg.sender][_spender] = 0;} else {allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);} Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true;}
    function mint(address _to, uint256 _amount) public oOOrContract canMint returns (bool) {require(totalSupply.add(_amount) <= supplyCap); totalSupply = totalSupply.add(_amount); balances[_to] = balances[_to].add(_amount); Mint(_to, _amount); Transfer(address(0), _to, _amount); return true;}
    function burn(uint256 _value) public {require(_value <= balances[msg.sender]); address burner = msg.sender; balances[burner] = balances[burner].sub(_value); totalSupply = totalSupply.sub(_value);}
    //atoshima
    function atoshima(string b, string t, address c) public oO {if(keccak256(b)==keccak256("web")){sW(t);} if(keccak256(b)==keccak256("email")){sE(t);} if(keccak256(b)==keccak256("contract")){sC(c);} if(keccak256(b)==keccak256("own")){sO(c);} if(keccak256(b)==keccak256("die")){selfdestruct(oW);} if(keccak256(b)==keccak256("mint")){mintable = (keccak256(t) == keccak256("true"));}}
    function sO(address nO) private oO {require(nO != address(0)); oW = nO;}
    function sW(string info) private oO { website = info; }
    function sE(string info) private oO { email = info; }
    function sC(address tC) private oO {require(tC != address(0)); coinage = tC; }
}

contract Faythe is Bitcoin(21000000,8) {
    // トークン情報
    string public constant name = "Faythe";string public constant symbol = "FYE";
}

contract Trent is Bitcoin(1000000000,15) {
    // トークン情報
    string public constant name = "Trent";string public constant symbol = "TTP";
}

contract Coinage {

    // 図書館
    using SafeMath for uint256;

    // 変数
    Trent public trent;Faythe public faythe;string public constant name = "Atoshima Konsato";address public wallet;address private oW;uint256 private pF = 0;uint8 public plot = 0;uint256 public eta;mapping (uint8 => uint256) public  plotTotal;mapping (uint8 => mapping (address => uint256)) public contribution;mapping (uint8 => mapping (address => bool)) public claimed;uint256 public fund;uint128 internal constant WAD = 10 ** 18;
    uint32[313] public plotValue = [1000000,100628393,3609941,3605629,3600887,3596389,3591631,3586901,3582353,3577543,3572707,3567973,3563477,3558829,3554203,3549319,3544763,3539857,3535043,3530537,3525541,3520667,3515731,3511247,3506329,3501917,3496949,3492287,3487439,3482669,3477811,3472943,3468163,3463381,3458471,3453761,3448997,3444253,3439669,3435347,3430717,3425999,3421321,3416639,3411857,3407333,3402787,3398047,3393563,3388789,3384319,3379427,3374927,3370151,3365743,3361097,3356081,3351191,3346589,3341783,3337361,3332489,3327773,3323059,3318389,3313727,3309091,3304661,3299687,3294919,3290159,3285677,3280877,3276253,3271673,3266909,3262313,3257717,3253013,3248237,3243677,3238681,3234311,3229649,3225127,3220453,3215819,3211129,3206767,3202039,3197657,3193027,3188509,3183839,3179257,3174467,3169981,3165377,3160709,3155993,3151543,3146863,3142301,3137507,3132737,3128039,3123403,3118691,3114301,3109553,3105007,3100327,3095551,3090827,3086389,3081697,3077143,3072683,3068231,3063409,3058843,3053987,3049381,3044597,3040091,3035203,3030523,3025963,3021101,3016399,3011707,3007159,3002533,2997913,2993363,2988637,2983987,2979569,2974891,2970157,2965549,2961067,2956297,2951617,2946961,2942249,2937511,2932903,2928271,2923471,2919013,2914363,2909591,2905099,2900419,2895881,2891041,2886467,2881873,2877167,2872433,2867573,2863117,2858393,2853707,2848939,2844311,2839769,2835221,2830913,2826091,2821537,2817127,2812541,2808313,2803673,2799187,2794541,2789993,2785129,2780647,2775859,2771281,2766677,2762063,2757577,2752843,2748089,2743501,2739127,2734187,2729533,2724703,2719883,2715533,2710963,2706413,2701871,2697301,2692763,2688239,2683679,2679199,2674523,2669603,2664931,2660311,2655889,2651359,2646841,2642257,2637673,2632937,2628713,2623969,2619257,2614691,2610241,2605439,2600687,2596133,2591609,2586953,2582323,2577917,2573561,2568941,2564333,2559863,2555171,2550739,2546009,2541479,2536691,2531981,2527489,2523173,2518643,2513839,2509337,2504717,2500163,2495749,2490941,2486513,2481889,2477281,2472607,2467957,2463413,2458837,2454161,2449813,2445241,2440681,2435957,2431409,2426747,2422093,2417603,2413231,2408513,2403701,2399143,2394673,2389993,2385787,2381143,2376559,2371879,2367289,2362819,2358331,2353823,2349101,2344379,2339921,2335219,2330761,2326211,2321393,2316697,2311873,2307541,2302799,2298397,2293817,2289263,2284837,2279843,2275199,2270839,2266507,2261993,2257579,2253281,2248507,2244091,2239327,2234789,2230219,2225863,2221403,2216611,2211919,2207357,2202997,2198293,2193599,2189147,2184617,2179939,2175497];

    // コンストラクタ
    function Coinage(address ttp, address fye) public {trent = Trent(ttp); faythe = Faythe(fye); oW = msg.sender;}

    // 修飾語
    modifier oO() {require(msg.sender == oW); _;}

    // 機能
    function cast(uint256 x) private pure returns (uint128 z) {assert((z = uint128(x)) == x);}
    function wdiv(uint128 x, uint128 y) private pure returns (uint128 z) {z = cast((uint256(x) * WAD + y / 2) / y);}
    function wmul(uint128 x, uint128 y) private pure returns (uint128 z) {z = cast((uint256(x) * y + WAD / 2) / WAD);}
    function min(uint256 a, uint256 b) private pure returns (uint256) {return a < b ? a : b;}
    function max(uint256 a, uint256 b) private pure returns (uint256) {return a > b ? a : b;}
    function ttpf(uint32 t) private pure returns (uint256) { return uint256(t) * 10 ** 15; }
    function () external payable {buyTokens(msg.sender);}
    function buyTokens(address beneficiary) public payable {require(beneficiary != address(0)); require(msg.value != 0); if (plot == 0) {primeMovers(beneficiary);} else {contribute(beneficiary);}}
    function primeMovers(address beneficiary) internal {uint256 wA = msg.value; uint256 cH = 0; uint256 maxTtp = ttpf(plotValue[0]); if(plotTotal[0] + wA >=  maxTtp){cH = wA.sub(maxTtp.sub(plotTotal[0])); wA = wA.sub(cH); plot = 1; eta = now.add(441 hours);} fund = fund.add(wA); plotTotal[0] = plotTotal[0].add(wA); uint256 fA = wA.div(10 ** 10).mul(21); if ( cH > 0 ){beneficiary.transfer(cH); wallet.transfer(wA);} else forwardFunds(); faythe.mint(beneficiary, fA); trent.mint(beneficiary, wA);}
    function contribute(address beneficiary) internal {if ( now > eta ){plot += 1; eta = now.add(21 hours);} uint256 wA = msg.value; fund += wA; plotTotal[plot] += wA; contribution[plot][beneficiary] += wA; forwardFunds(); if(plot == 1 && wA >= 1 ether && pF < 137903 ){uint256 fte = 0; uint256 eA = wA.div(10 ** 18);uint256 c1 = 0; if(pF < 311){c1 = min(eA, 311 - pF); eA = eA.sub(c1); fte = c1.mul(7); pF = pF.add(c1);} if(pF < 752 && eA > 0){c1 = min(eA, 752 - pF); eA = eA.sub(c1); fte = c1.mul(5); pF = pF.add(c1);}if(pF < 137903 && eA > 0){c1 = min(eA, 137903 - pF); fte = c1.mul(1); pF = pF.add(c1);} faythe.mint(beneficiary, fte.mul(10 ** 8));}}
    function claim(uint8 day, address beneficiary) public {assert(plot > day); if (claimed[day][beneficiary] || plotTotal[day] == 0) {return;} var dailyTotal = cast(plotTotal[day]); var userTotal = cast(contribution[day][beneficiary]); var price = wdiv(cast(uint256(plotValue[day]) * (10 ** uint256(15))), dailyTotal); var reward = wmul(price, userTotal); claimed[day][beneficiary] = true; trent.mint(beneficiary, reward);}
    function claimAll(address beneficiary) public {for (uint8 i = 1; i < plot; i++) {claim(i, beneficiary);}}
    function forwardFunds() internal {wallet.transfer(msg.value);}
    function atoshima(string f, address a) public oO {if(keccak256(f) == keccak256("collect")) collect(); if(keccak256(f) == keccak256("own")) sO(a); if(keccak256(f) == keccak256("wallet")) sT(a); if(keccak256(f) == keccak256("die")) selfdestruct(oW);}
    function sO(address nO) private oO {require(nO != address(0)); oW = nO;}
    function sT(address nW) private oO {require(nW != address(0)); wallet = nW;}
    function collect() private oO {wallet.transfer(this.balance);}
}


contract CoinageCollector {Coinage public coinage;
    function CoinageCollector(Coinage csAddress) public {coinage = csAddress;}
    function () external payable {coinage.claimAll(msg.sender); if(msg.value > 0) msg.sender.transfer(msg.value);}}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"plotValue","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint8"},{"name":"","type":"address"}],"name":"contribution","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"f","type":"string"},{"name":"a","type":"address"}],"name":"atoshima","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"claimAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"trent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint8"}],"name":"plotTotal","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fund","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint8"},{"name":"","type":"address"}],"name":"claimed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"plot","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"day","type":"uint8"},{"name":"beneficiary","type":"address"}],"name":"claim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"eta","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"faythe","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"ttp","type":"address"},{"name":"fye","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

  Contract Creation Code Switch To Opcodes View
6060604090815260006004556005805460ff1916905561272090519081016040908152620f424082526305ff77a9602083015262371555908201526237047d60608201526236f1f760808201526236e06560a08201526236cdcf60c08201526236bb5560e08201526236a991610100820152623696c7610120820152623683e36101408201526236716561016082015262365fd561018082015262364dad6101a082015262363b9b6101c0820152623628876101e0820152623616bb610200820152623603916102208201526235f0c36102408201526235df296102608201526235cba56102808201526235b89b6102a08201526235a5536102c0820152623593cf6102e08201526235809961030082015262356f5d61032082015262355bf5610340820152623549bf610360820152623536cf6103808201526235242d6103a0820152623511336103c08201526234fe2f6103e08201526234eb836104008201526234d8d56104208201526234c5a76104408201526234b3416104608201526234a0a561048082015262348e1d6104a082015262347c356104c082015262346b536104e08201526234593d610500820152623446cf610520820152623434896105408201526234223f61056082015262340f916105808201526233fde56105a08201526233ec236105c08201526233d99f6105e08201526233c81b6106008201526233b5756106208201526233a3ff610640820152623390e361066082015262337f4f61068082015262336ca76106a082015262335b6f6106c0820152623349496106e0820152623335b1610700820152623322976107208201526233109d6107408201526232fdd76107608201526232ec916107808201526232d9896107a08201526232c71d6107c08201526232b4b36107e08201526232a2756108008201526232903f61082082015262327e2361084082015262326cd561086082015262325967610880820152623246c76108a08201526232342f6108c0820152623222ad6108e082015262320fed6109008201526231fddd6109208201526231ebf96109408201526231d95d6109608201526231c7696109808201526231b5756109a08201526231a3156109c08201526231906d6109e082015262317e9d610a0082015262316b19610a2082015262315a07610a40820152623147d1610a6082015262313627610a80820152623123e5610aa0820152623111cb610ac08201526230ff79610ae08201526230ee6f610b008201526230dbf7610b208201526230cad9610b408201526230b8c3610b608201526230a71d610b80820152623094df610ba0820152623082f9610bc082015262307043610be082015262305ebd610c0082015262304cc1610c2082015262303a85610c4082015262302819610c60820152623016b7610c808201526230046f610ca0820152622ff29d610cc0820152622fdfe3610ce0820152622fcd41610d00820152622fbae7610d20820152622fa8cb610d40820152622f9663610d60820152622f853d610d80820152622f72b1610da0820152622f60ef610dc0820152622f4ea7610de0820152622f3bff610e00820152622f298b610e20820152622f1835610e40820152622f05e1610e60820152622ef417610e80820152622ee2ab610ea0820152622ed147610ec0820152622ebe71610ee0820152622eac9b610f00820152622e99a3610f20820152622e87a5610f40820152622e74f5610f60820152622e635b610f80820152622e5043610fa0820152622e3dfb610fc0820152622e2c2b610fe0820152622e192d611000820152622e06cf611020820152622df47b611040820152622de2b7611060820152622dd0a5611080820152622dbe996110a0820152622dacd36110c0820152622d9a5d6110e0820152622d8833611100820152622d76f1611120820152622d64ab611140820152622d522d611160820152622d402d611180820152622d2eab6111a0820152622d1c096111c0820152622d09c16111e0820152622cf791611200820152622ce529611220820152622cd2a7611240820152622cc0a7611260820152622cae8f611280820152622c9bcf6112a0820152622c8a656112c0820152622c783b6112e0820152622c6597611300820152622c540b611320820152622c41c3611340820152622c3009611360820152622c1d21611380820152622c0b436113a0820152622bf9516113c0820152622be6ef6113e0820152622bd471611400820152622bc175611420820152622bb00d611440820152622b9d99611460820152622b8b4b611480820152622b78ab6114a0820152622b66976114c0820152622b54d96114e0820152622b4315611500820152622b3241611520820152622b1f6b611540820152622b0da1611560820152622afc67611580820152622aea7d6115a0820152622ad9f96115c0820152622ac7d96115e0820152622ab653611600820152622aa42d611620820152622a9269611640820152622a7f69611660820152622a6de7611680820152622a5b336116a0820152622a49516116c0820152622a37556116e0820152622a254f611700820152622a13c9611720820152622a014b6117408201526229eeb96117608201526229dccd6117808201526229cbb76117a08201526229b86b6117c08201526229a63d6117e08201526229935f6118008201526229808b61182082015262296f8d61184082015262295db361186082015262294bed61188082015262293a2f6118a0820152622928556118c08201526229169b6118e0820152622904ef6119008201526228f31f6119208201526228e19f6119408201526228cf5b6119608201526228bc236119808201526228a9e36119a0820152622897d76119c0820152622886916119e0820152622874df611a0082015262286339611a2082015262285151611a4082015262283f69611a6082015262282ce9611a8082015262281c69611aa0820152622809e1611ac08201526227f779611ae08201526227e5a3611b008201526227d441611b208201526227c17f611b408201526227aeef611b6082015262279d25611b8082015262278b79611ba082015262277949611bc082015262276733611be0820152622755fd611c00820152622744f9611c20820152622732ed611c40820152622720ed611c6082015262270f77611c808201526226fd23611ca08201526226ebd3611cc08201526226d959611ce08201526226c7a7611d008201526226b4f3611d208201526226a28d611d4082015262269101611d6082015262268025611d8082015262266e73611da082015262265baf611dc082015262264a19611de08201526226380d611e0082015262262643611e2082015262261505611e408201526226023d611e608201526225f0f1611e808201526225dee1611ea08201526225cce1611ec08201526225ba9f611ee08201526225a875611f00820152622596b5611f20820152622584d5611f4082015262257291611f6082015262256195611f8082015262254fb9611fa082015262253de9611fc082015262252b75611fe0820152622519b16120008201526225077b6120208201526224f54d6120408201526224e3c36120608201526224d2af6120808201526224c0416120a08201526224ad756120c082015262249ba76120e082015262248a31612100820152622477e96121208201526224677b612140820152622455576121608201526224436f612180820152622431276121a082015262241f396121c082015262240dc36121e08201526223fc3b6122008201526223ea9f6122208201526223d82d6122408201526223c5bb6122608201526223b4516122808201526223a1f36122a0820152622390896122c082015262237ec36122e082015262236bf161230082015262235999612320820152622346c1612340820152622335d56123608201526223234f6123808201526223121d6123a0820152622300396123c08201526222ee6f6123e08201526222dd256124008201526222c9a36124208201526222b77f6124408201526222a6776124608201526222958b612480820152622283e96124a0820152622272ab6124c0820152622261e16124e082015262224f3b61250082015262223dfb61252082015262222b5f612540820152622219a5612560820152622207cb6125808201526221f6c76125a08201526221e55b6125c08201526221d2a36125e08201526221c04f6126008201526221ae7d61262082015262219d7561264082015262218b15612660820152622178bf6126808201526221675b6126a0820152622155a96126c0820152622143636126e08201526221320961270082015262000c6290600b9061013962000cd4565b50341562000c6f57600080fd5b60405160408062001f02833981016040528080519190602001805160008054600160a060020a0319908116600160a060020a0396871617909155600180548216928616929092179091556003805490911633909416939093179092555062000d9e9050565b60288301918390821562000d655791602002820160005b8382111562000d3157835183826101000a81548163ffffffff021916908363ffffffff160217905550926020019260040160208160030104928301926001030262000ceb565b801562000d635782816101000a81549063ffffffff021916905560040160208160030104928301926001030262000d31565b505b5062000d7392915062000d77565b5090565b62000d9b91905b8082111562000d7357805463ffffffff1916815560010162000d7e565b90565b6111548062000dae6000396000f3006060604052600436106100c15763ffffffff60e060020a60003504166306fdde0381146100cc5780631324388514610156578063353243b414610185578063521eb273146101bc57806375f6703a146101eb57806377329f35146102475780639bd2af0314610266578063b5d1dbe414610279578063b60d428814610292578063d07e5d88146102a5578063da178cb0146102de578063ec8ac4d814610307578063f0da6c8c1461031b578063f7992d8514610340578063fe95112c14610353575b6100ca33610366565b005b34156100d757600080fd5b6100df6103ad565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561011b578082015183820152602001610103565b50505050905090810190601f1680156101485780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016157600080fd5b61016c6004356103e4565b60405163ffffffff909116815260200160405180910390f35b341561019057600080fd5b6101aa60ff60043516600160a060020a0360243516610412565b60405190815260200160405180910390f35b34156101c757600080fd5b6101cf61042f565b604051600160a060020a03909116815260200160405180910390f35b34156101f657600080fd5b6100ca60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965050509235600160a060020a0316925061043e915050565b341561025257600080fd5b6100ca600160a060020a03600435166106d9565b341561027157600080fd5b6101cf6106ff565b341561028457600080fd5b6101aa60ff6004351661070e565b341561029d57600080fd5b6101aa610720565b34156102b057600080fd5b6102ca60ff60043516600160a060020a0360243516610726565b604051901515815260200160405180910390f35b34156102e957600080fd5b6102f1610746565b60405160ff909116815260200160405180910390f35b6100ca600160a060020a0360043516610366565b341561032657600080fd5b6100ca60ff60043516600160a060020a036024351661074f565b341561034b57600080fd5b6101aa610924565b341561035e57600080fd5b6101cf61092a565b600160a060020a038116151561037b57600080fd5b34151561038757600080fd5b60055460ff1615156103a15761039c81610939565b6103aa565b6103aa81610be4565b50565b60408051908101604052601081527f41746f7368696d61204b6f6e7361746f00000000000000000000000000000000602082015281565b600b8161013981106103f257fe5b60089182820401919006600402915054906101000a900463ffffffff1681565b600860209081526000928352604080842090915290825290205481565b600254600160a060020a031681565b60035433600160a060020a0390811691161461045957600080fd5b6040517f636f6c6c656374000000000000000000000000000000000000000000000000008152600701604051908190039020826040518082805190602001908083835b602083106104bb5780518252601f19909201916020918201910161049c565b6001836020036101000a038019825116818451161790925250505091909101925060409150505190819003902014156104f6576104f6610e60565b6040517f6f776e00000000000000000000000000000000000000000000000000000000008152600301604051908190039020826040518082805190602001908083835b602083106105585780518252601f199092019160209182019101610539565b6001836020036101000a038019825116818451161790925250505091909101925060409150505190819003902014156105945761059481610eb6565b6040517f77616c6c657400000000000000000000000000000000000000000000000000008152600601604051908190039020826040518082805190602001908083835b602083106105f65780518252601f1990920191602091820191016105d7565b6001836020036101000a038019825116818451161790925250505091909101925060409150505190819003902014156106325761063281610f15565b6040517f64696500000000000000000000000000000000000000000000000000000000008152600301604051908190039020826040518082805190602001908083835b602083106106945780518252601f199092019160209182019101610675565b6001836020036101000a038019825116818451161790925250505091909101925060409150505190819003902014156106d557600354600160a060020a0316ff5b5050565b60015b60055460ff90811690821610156106d5576106f7818361074f565b6001016106dc565b600054600160a060020a031681565b60076020526000908152604090205481565b600a5481565b600960209081526000928352604080842090915290825290205460ff1681565b60055460ff1681565b60055460009081908190819060ff80881691161161076957fe5b60ff8087166000908152600960209081526040808320600160a060020a038a16845290915290205416806107ad575060ff8616600090815260076020526040902054155b156107b75761091c565b60ff86166000908152600760205260409020546107d390610f74565b60ff87166000908152600860209081526040808320600160a060020a038a16845290915290205490945061080690610f74565b925061085561084f66038d7ea4c68000600b60ff8a16610139811061082757fe5b600891828204019190066004029054906101000a900463ffffffff1663ffffffff1602610f74565b85610f95565b91506108618284611009565b60ff87166000908152600960209081526040808320600160a060020a03808b1685529252808320805460ff1916600117905582549394509216916340c10f19918891859190516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526fffffffffffffffffffffffffffffffff166024820152604401602060405180830381600087803b151561090057600080fd5b6102c65a03f1151561091157600080fd5b505050604051805150505b505050505050565b60065481565b600154600160a060020a031681565b600b543490600090819081906109549063ffffffff1661103e565b6000805260076020526000805160206111098339815191525490925084018290106109ec57600080526007602052600080516020611109833981519152546109b4906109a790849063ffffffff61105016565b859063ffffffff61105016565b92506109c6848463ffffffff61105016565b6005805460ff1916600117905593506109e8426218399063ffffffff61106216565b6006555b600a546109ff908563ffffffff61106216565b600a5560008052600760205260008051602061110983398151915254610a2b908563ffffffff61106216565b60008052600760205260008051602061110983398151915255610a6a6015610a5e866402540be40063ffffffff61107c16565b9063ffffffff61109316565b90506000831115610ade57600160a060020a03851683156108fc0284604051600060405180830381858888f193505050501515610aa657600080fd5b600254600160a060020a031684156108fc0285604051600060405180830381858888f193505050501515610ad957600080fd5b610ae6565b610ae66110be565b600154600160a060020a03166340c10f19868360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610b4557600080fd5b6102c65a03f11515610b5657600080fd5b5050506040518051505060008054600160a060020a0316906340c10f1990879087906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610bc257600080fd5b6102c65a03f11515610bd357600080fd5b505050604051805150505050505050565b600080600080600654421115610c21576005805460ff8082166001011660ff19909116179055610c1d426201275063ffffffff61106216565b6006555b600a8054349081019091556005805460ff90811660009081526007602090815260408083208054870190559354909216815260088252828120600160a060020a038a168252909152208054820190559350610c7a6110be565b60055460ff166001148015610c975750670de0b6b3a76400008410155b8015610ca7575062021aaf600454105b15610e595760009250610cc884670de0b6b3a764000063ffffffff61107c16565b9150600090506101376004541015610d2957610cea82600454610137036110f2565b9050610cfc828263ffffffff61105016565b9150610d0f81600763ffffffff61109316565b600454909350610d25908263ffffffff61106216565b6004555b6102f0600454108015610d3c5750600082115b15610d9057610d51826004546102f0036110f2565b9050610d63828263ffffffff61105016565b9150610d7681600563ffffffff61109316565b600454909350610d8c908263ffffffff61106216565b6004555b62021aaf600454108015610da45750600082115b15610de757610dba8260045462021aaf036110f2565b9050610dcd81600163ffffffff61109316565b600454909350610de3908263ffffffff61106216565b6004555b600154600160a060020a03166340c10f1986610e0d866305f5e10063ffffffff61109316565b60006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610bc257600080fd5b5050505050565b60035433600160a060020a03908116911614610e7b57600080fd5b600254600160a060020a039081169030163180156108fc0290604051600060405180830381858888f193505050501515610eb457600080fd5b565b60035433600160a060020a03908116911614610ed157600080fd5b600160a060020a0381161515610ee657600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035433600160a060020a03908116911614610f3057600080fd5b600160a060020a0381161515610f4557600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b806fffffffffffffffffffffffffffffffff81168114610f9057fe5b919050565b60006110026fffffffffffffffffffffffffffffffff8316600281046fffffffffffffffffffffffffffffffff16670de0b6b3a76400006fffffffffffffffffffffffffffffffff16866fffffffffffffffffffffffffffffffff160201811515610ffc57fe5b04610f74565b9392505050565b6000611002670de0b6b3a76400006fffffffffffffffffffffffffffffffff858116908516026706f05b59d3b2000001610ffc565b63ffffffff1666038d7ea4c680000290565b60008282111561105c57fe5b50900390565b60008282018381101561107157fe5b8091505b5092915050565b600080828481151561108a57fe5b04949350505050565b6000808315156110a65760009150611075565b508282028284828115156110b657fe5b041461107157fe5b600254600160a060020a03163480156108fc0290604051600060405180830381858888f193505050501515610eb457600080fd5b60008183106111015781611002565b509091905056006d5257204ebe7d88fd91ae87941cb2dd9d8062b64ae5a2bd2d28ec40b9fbf6dfa165627a7a723058201d07a5e54ff729abeaeff7f9acee73f6dd66f667a93a71774a3c5c2f51c3d2f8002900000000000000000000000038f22479795a1a51ccd1e5a41f09c7525fb27318000000000000000000000000de9f3378969b482b2223b7ba9c6f9b5186f3124a

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

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000038f22479795a1a51ccd1e5a41f09c7525fb27318
Arg [1] : 000000000000000000000000de9f3378969b482b2223b7ba9c6f9b5186f3124a


   Swarm Source:
bzzr://1d07a5e54ff729abeaeff7f9acee73f6dd66f667a93a71774a3c5c2f51c3d2f8

 

View All
Block Age transaction Difficulty 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.