Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 215401 txns
Token Tracker: Atoshima Konsato
 Latest 25 transactions from a total of 215401 transactions

TxHash Age From To Value [TxFee]
0x1387a793fe9d4a8093f9cf0dcdeead9483dd5376fb36d62be3e1fb124741deff1 min ago0x6ec36d96dd38e7d7be51472f9bd07a94a5de1097  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a618.5802294 Ether0.000599417
0x23e0ae0c6fbede3490b1d5f231e0c2b761d813fbdf358427e641edbddc2262d52 mins ago0xecdaa7ce0b5732c0f3e81889d1318dfb85babcd5  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a61.013446 Ether0.000322763
0x5e61dbf23661a07fcc4550b9c46d9c18c8526b6669d0999d4e80707bc71258db2 mins ago0x5a53d82febe15e61272f665ef423e367b7abf6eb  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a638.3870088 Ether0.000414981
0x755a5726d957192d918c43706c4b5d8ebdc2a5302c3914ec2b2ae250d3e315843 mins ago0xac4fde8677581e003a83e78108a963d807b66802  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a61.5976763 Ether0.000414981
0xac77479f3d6a7b82029f6642e67f9c01cf0b0843f5e3d4919bae416fcbf27e874 mins ago0x52d9592628671983a6bd8b6550adbb4bd40e5027  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60.0508451 Ether0.000553308
0x20fdd2accce86f558874c061bd66cdcb362ef6303f114845547563d08299444a5 mins ago0x71aa03c7a04c3cd2088e540f308986f1f2ec9755  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a67.299073 Ether0.000549981
0xd94a3c7d3c5adace22e22597f830d2e59c79a0642cb24304703289881416a2d010 mins ago0xb1f4e322dd189af4149bafb4d588a03c0927d582  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a620.116372 Ether0.000427763
0x2af2cb1a36ac14258be8a5d08fe106333f1da309271f035b9a1f9b424b7a45c412 mins ago0x7c9b58ac18dc4a9bc6bde7e1d5882af39a1cf2e5  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a63.1907538 Ether0.000322763
0x5b135728ed7d72a494621f201504c333996c5be7c72c5acfa9cd8580efb6625512 mins ago0xc2973185295407487a0b8bd3c283ecfd046d79da  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a62.17653734 Ether0.000368872
0xc7745adf00ee17113d88c9333bcc0015101d5b21dd9056108fc7a51aa336618813 mins ago0x2b116e671d94257688e7a49f32aefad123393bf8  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a61.3699786 Ether0.000645526
0x03a447feb2d3e7c3220ba4075e44fce22a3b4f15879c1dd02a0d3387ba8b720914 mins ago0xeb2ac1eb1e72d2dd665a215f3d67ae54813a5e99  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a63.897954 Ether0.000507199
0x1deca8856388b2fdd8ae554afe4150b88b16a10e0bd5df2c07efc664ad5b9b0015 mins ago0x1cbb2df8c35d43f24da9f2e563de569c53a3eda7  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a626.03 Ether0.000322763
0xe34088d3cc2c0d209d5b594951884aed459c9ee9121f75b1a579a31c148394fd16 mins ago0x0fce6bf10889b3e3260096cfac31d3a5e6253487  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a644.828146 Ether0.000414981
0x192c7a75c0ed22ec0cd3091d2a2bb0cbf3fc6292cb950f9e545d051b6c1e39b716 mins ago0xcd7a6ae1b949592756a6a0712818d96fcf1521df  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a638.67132458 Ether0.00061109
0x665c414400617c7797c21273fecf9609aef6dd2bedc332d44a5e41d793e1c64e16 mins ago0xca86232cf75c51f39ae40fffb519ad63c7ef7608  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60.850782 Ether0.000276654
0xf2e384a488cc753791fdbe6493b2ac0e018ff609c67e7018875b52a00212a8bd17 mins ago0x1ae66fd790581dd595cf14f9663e93adf188a41e  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60.8947325 Ether0.000276654
0x78a324e81cce133a078d7a926f23c8bd833176189452eb3e92da80109338e45a17 mins ago0x93b15d0558ab7f595eec9e4bcda233a9e099ede1  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a624.55 Ether0.000488872
0x3f6c5a655b87e440d4d6445b4f40bc6e389c4e4a5245cde876f9c63c4fe5749d18 mins ago0x7ef2888cfaa32fa812e78f38cd3e6e2273af8e92  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60.42879 Ether0.000507199
0xd3b7503f7bb76e7ce6edfb0699fd346ca8df4a017348fb31a3266627d7b3a0cb22 mins ago0xecdaa7ce0b5732c0f3e81889d1318dfb85babcd5  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a61.6456204 Ether0.000977744
0x08180cde3847f7236a8f695d97ace61f22bc9a66f5df2d5bc67b63df266797c723 mins ago0x25a3661ae0fcedc06f9c9a5531988eee9735fd9b  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a68.433602 Ether0.000645526
0x31fc9a578bf02ab8ced4aca8616006065cba67a44d4b417fec16cac55c0f118c23 mins ago0x80db1c698192a29151362b37cdd0d00e0d4859cc  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a614.479279 Ether0.000322763
0x33a911166e2da47cf7c97866adbbe30410f5983b13f693b7a0bfe6a22ae8cbf925 mins ago0x7c15759866d320d8d5af51a80e43e5dfadbe696e  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a633.0407434 Ether0.000599417
0x41020f33935e69785010858b8a5b71c1fe43d31cfc2926232e86e30d6daa091226 mins ago0x23f707492e31a80e3cd9bb5d2443d01e956f33f5  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a61.7 Ether0.000368872
0x45e33338ddd2352660f1cf381eb5a57d393a0c92eefc523aa6f27ba313b1512627 mins ago0xf3e99dad3b289469225e5f966023de015d1a0aaa  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a64.689502 Ether0.000507199
0xcd03f85792a0ec6ce9897d176428508cd2820861907e3d348d1e3e001bedfbd530 mins ago0xdab4da5a26175f8b073a3b69062e3b78bed51551  IN   0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a65.0121202 Ether0.000599417
[ 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
0x1387a793fe9d4a8093f9cf0dcdeead9483dd5376fb36d62be3e1fb124741deff70764911 min ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f18.5802294 Ether
0x23e0ae0c6fbede3490b1d5f231e0c2b761d813fbdf358427e641edbddc2262d570764882 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f1.013446 Ether
0x5e61dbf23661a07fcc4550b9c46d9c18c8526b6669d0999d4e80707bc71258db70764852 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f38.3870088 Ether
0x755a5726d957192d918c43706c4b5d8ebdc2a5302c3914ec2b2ae250d3e3158470764783 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f1.5976763 Ether
0xac77479f3d6a7b82029f6642e67f9c01cf0b0843f5e3d4919bae416fcbf27e8770764744 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f0.0508451 Ether
0x20fdd2accce86f558874c061bd66cdcb362ef6303f114845547563d08299444a70764685 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f7.299073 Ether
0xd94a3c7d3c5adace22e22597f830d2e59c79a0642cb24304703289881416a2d0707645410 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f20.116372 Ether
0x2af2cb1a36ac14258be8a5d08fe106333f1da309271f035b9a1f9b424b7a45c4707644912 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f3.1907538 Ether
0x5b135728ed7d72a494621f201504c333996c5be7c72c5acfa9cd8580efb66255707644912 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f2.17653734 Ether
0xc7745adf00ee17113d88c9333bcc0015101d5b21dd9056108fc7a51aa3366188707644613 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f1.3699786 Ether
0x03a447feb2d3e7c3220ba4075e44fce22a3b4f15879c1dd02a0d3387ba8b7209707644414 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f3.897954 Ether
0x1deca8856388b2fdd8ae554afe4150b88b16a10e0bd5df2c07efc664ad5b9b00707644115 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f26.03 Ether
0xe34088d3cc2c0d209d5b594951884aed459c9ee9121f75b1a579a31c148394fd707644016 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f44.828146 Ether
0x192c7a75c0ed22ec0cd3091d2a2bb0cbf3fc6292cb950f9e545d051b6c1e39b7707644016 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f38.67132458 Ether
0x665c414400617c7797c21273fecf9609aef6dd2bedc332d44a5e41d793e1c64e707643916 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f0.850782 Ether
0xf2e384a488cc753791fdbe6493b2ac0e018ff609c67e7018875b52a00212a8bd707643017 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f0.8947325 Ether
0x78a324e81cce133a078d7a926f23c8bd833176189452eb3e92da80109338e45a707643017 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f24.55 Ether
0x3f6c5a655b87e440d4d6445b4f40bc6e389c4e4a5245cde876f9c63c4fe5749d707642318 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f0.42879 Ether
0xd3b7503f7bb76e7ce6edfb0699fd346ca8df4a017348fb31a3266627d7b3a0cb707640722 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f1.6456204 Ether
0x08180cde3847f7236a8f695d97ace61f22bc9a66f5df2d5bc67b63df266797c7707640523 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f8.433602 Ether
0x31fc9a578bf02ab8ced4aca8616006065cba67a44d4b417fec16cac55c0f118c707640223 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f14.479279 Ether
0x33a911166e2da47cf7c97866adbbe30410f5983b13f693b7a0bfe6a22ae8cbf9707639025 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f33.0407434 Ether
0x41020f33935e69785010858b8a5b71c1fe43d31cfc2926232e86e30d6daa0912707638726 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f1.7 Ether
0x45e33338ddd2352660f1cf381eb5a57d393a0c92eefc523aa6f27ba313b15126707637627 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f4.689502 Ether
0xcd03f85792a0ec6ce9897d176428508cd2820861907e3d348d1e3e001bedfbd5707636630 mins ago0x7415c7bf3e2415fa9a55f1fd8b6fccf2914c39a60xae065fdded2befce6b8cbd511ab977ca25e44c5f5.0121202 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 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.