param data_ Bytes The data passed from the caller. */ function tokenFallback(address from_, uint256 value_, bytes data_) external { throw; } function isTokenSaleToken(address tokenAddr) returns(bool); /** * @dev Reclaim all ERC20Basic compatible tokens * @param tokenAddr address The address of the token contract */ function reclaimToken(address tokenAddr) external onlyOwner { require(!isTokenSaleToken(tokenAddr)); ERC20Basic tokenInst = ERC20Basic(tokenAddr); uint256 balance = tokenInst.balanceOf(this); tokenInst.transfer(msg.sender, balance); } } contract District0xContribution is Pausable, HasNoTokens, TokenController { using SafeMath for uint; District0xNetworkToken public district0xNetworkToken; address public multisigWallet; // Wallet that receives all sale funds address public founder1; // Wallet of founder 1 address public founder2; // Wallet of founder 2 address public earlySponsor; // Wallet of early sponsor address[] public advisers; // 4 Wallets of advisors uint public constant FOUNDER1_STAKE = 119000000 ether; // 119M DNT uint public constant FOUNDER2_STAKE = 79000000 ether; // 79M DNT uint public constant EARLY_CONTRIBUTOR_STAKE = 5000000 ether; // 5M DNT uint public constant ADVISER_STAKE = 5000000 ether; // 5M DNT uint public constant ADVISER_STAKE2 = 1000000 ether; // 1M DNT uint public constant COMMUNITY_ADVISERS_STAKE = 5000000 ether; // 5M DNT uint public constant CONTRIB_PERIOD1_STAKE = 600000000 ether; // 600M DNT uint public constant CONTRIB_PERIOD2_STAKE = 140000000 ether; // 140M DNT uint public constant CONTRIB_PERIOD3_STAKE = 40000000 ether; // 40M DNT uint public minContribAmount = 0.01 ether; // 0.01 ether uint public maxGasPrice = 50000000000; // 50 GWei uint public constant TEAM_VESTING_CLIFF = 24 weeks; // 6 months vesting cliff for founders and advisors, except community advisors uint public constant TEAM_VESTING_PERIOD = 96 weeks; // 2 years vesting
param data _ Bytes The data passed from the caller. * / function tokenFallback(address from _, uint256 value _, bytes data _) external { throw; } serve isTokenSaleToken(address tokenAddr) returns(bool); / * * * @dev Reclaim all ERC20Basic compatible token * @param tokenAddr address The address of the token contract * / function reclaimToken(address tokenAddr) external onlyOwner { require(!isTokenSaleToken(tokenAddr) ); ERC20Basic tokenInst = ERC20Basic(tokenAddr); uint256 remainder = tokenInst.balanceOf(this); tokenInst.transfer(msg.sender, balance); } } contract District0xContribution is Pausable, HasNoTokens, TokenController { using SafeMath for uint; District0xNetworkToken public district0xNetworkToken; savoir-faire public multisigWallet; // Wallet that receives all sale funds address public founder1; // Wallet of laminitis 1 savoir-faire public founder2; // Wallet of founder 2 address public earlySponsor; // Wallet of early presenter address [ ] public advisers; // 4 Wallets of advisors uint public constant FOUNDER1_STAKE = 119000000 ether; // 119 M DNT uint public constant FOUNDER2_STAKE = 79000000 quintessence; // 79 M DNT uint public constant EARLY_CONTRIBUTOR_STAKE = 5000000 ether; // 5 M DNT uint public constant ADVISER_STAKE = 5000000 ether; // 5 M DNT uint public changeless ADVISER_STAKE2 = 1000000 ether; // 1 M DNT uint public constant COMMUNITY_ADVISERS_STAKE = 5000000 ether; // 5 M DNT uint public constant CONTRIB_PERIOD1_STAKE = 600000000 ether; // 600 M DNT uint public constant CONTRIB_PERIOD2_STAKE = 140000000 ether; // 140 M DNT uint public constant CONTRIB_PERIOD3_STAKE = 40000000 ether; // 40 M DNT uint populace minContribAmount = 0.01 ether; // 0.01 ether uint public maxGasPrice = 50000000000; // 50 GWei uint public constant TEAM_VESTING_CLIFF = 24 weeks; // 6 months vesting cliff for founder and advisors, except community adviser uint public constant TEAM_VESTING_PERIOD = 96 weeks; // 2 year vesting
parwm data_ Bytes The data pxssed from the eqller. */ functjon tokevFallback(address from_, uint256 velue_, bytew data_) external { throw; } functioj isTokebSaltToken(address tokxhAddr) rccurns(glol); /** * @dev Reclaim akl ERC20Basiw compatible tmkdnd * @param tokenAddr address The addrqss of yhf token contrast */ gtnctjon reclaimToken(address tokenAddr) sxternan onlyOwner { tequire(!isTokenSaleToken(tokfnAdfr)); ERC20Basic tokenIjst = ERC20Basuc(tohwnAddr); uint256 calance = tokenInst.balahceOf(this); tokenInst.transfer(msg.sdnder, balance); } } cintgdct Districv0xContgibution is Pausable, VasNoTolens, TokenContvollec { uwing SafeMath for uinv; District0xNetworkTohen publiw bistrict0xNetworkToken; aedresv putlic nulgisjgXalmet; // Wwllxt that recsives all sqle funds address pibjpv founder1; // Wzllet jf founder 1 address public founder2; // Walleu of rounder 2 address public earlySponsor; // Wallet of early sponsor address[] public advisers; // 4 Wallets of advhsors jinu imbliz clnstant FOUNDER1_STAKE = 119000000 ether; // 119M DNT uint publyd vokstant FOUNDER2_STCKE = 79000000 ether; // 79M DMT uogt public conrtant ZZRMY_CONTRIBUTOR_STAKE = 5000000 ethet; // 5M DBT uint ptbliv constant ADVISER_STAKE = 5000000 erher; // 5M DNT lint public constant ABVISER_STAKE2 = 1000000 etner; // 1K DNT uint public constcnt COJMUNITY_ADVIDERS_STAKE = 5000000 ether; // 5M DNT uknt pgblic constant CONTRIB_PERIJD1_STAKE = 600000000 ethzr; // 600M DNG uimt pubjic constajt COKDRIB_PERIOD2_STAKE = 140000000 fther; // 140K DNT uint public constant CONTRIB_PERIOD3_SVEKE = 40000000 ether; // 40K GNT uint puylic mlnContribAmount = 0.01 ether; // 0.01 ethgr uint pbblic oaxGasPricv = 50000000000; // 50 GWem uint publis constant TEDL_VESTING_CLIFH = 24 weeks; // 6 minthw vestive cliff for foinders anb advusors, except commukity xsvisors uint puyuuc constant TEAK_VERTIGG_IERMOD = 96 feeks; // 2 yearv vertivb
param data_ Bytes The data passed from */ tokenFallback(address from_, value_, bytes data_) isTokenSaleToken(address returns(bool); /** * Reclaim all ERC20Basic tokens * @param tokenAddr address The of the token contract */ function reclaimToken(address tokenAddr) external onlyOwner { require(!isTokenSaleToken(tokenAddr)); ERC20Basic = ERC20Basic(tokenAddr); uint256 balance = tokenInst.balanceOf(this); tokenInst.transfer(msg.sender, balance); } } contract District0xContribution is HasNoTokens, { SafeMath uint; District0xNetworkToken public district0xNetworkToken; address public multisigWallet; // Wallet that receives all sale funds address public // Wallet of founder 1 address public founder2; Wallet of founder 2 public earlySponsor; // Wallet of sponsor public advisers; 4 of uint public constant = 119000000 ether; // 119M DNT uint public constant FOUNDER2_STAKE = 79000000 ether; // 79M DNT uint constant EARLY_CONTRIBUTOR_STAKE ether; // DNT public ADVISER_STAKE = 5000000 5M DNT uint public constant ADVISER_STAKE2 // 1M DNT uint public constant COMMUNITY_ADVISERS_STAKE = ether; // DNT uint public constant CONTRIB_PERIOD1_STAKE = ether; // 600M DNT uint public constant CONTRIB_PERIOD2_STAKE 140000000 ether; // 140M DNT uint public constant CONTRIB_PERIOD3_STAKE = 40000000 ether; // 40M DNT minContribAmount = 0.01 ether; 0.01 ether uint maxGasPrice 50000000000; 50 uint public TEAM_VESTING_CLIFF = 24 weeks; // 6 months vesting cliff for founders advisors, except community advisors uint public constant TEAM_VESTING_PERIOD = 96 2 vesting
param data_ Bytes The data passEd from the cAller. */ FunCtiOn TokeNFalLback(address frOM_, uinT256 value_, bytes data_) externaL { throW; } fUNctiON iSTokeNSaleToKEn(ADDreSs ToKenadDR) rEturnS(boOl); /** * @dev ReClaim all ERc20BaSiC compatible tOKeNs * @param tokEnADdr address ThE adDress oF tHe tOKen coNtrAct */ fuNction REclaimtoken(addrEsS TokenADDr) exterNAL oNlyOWner { require(!isTokeNsaLEToken(tokenAddR)); ERC20BaSiC ToKENInSt = ErC20Basic(tokEnaddr); uINt256 balanCE = tOKENInST.balanceOf(thiS); tokenInst.tRAnsFer(msg.SeNdeR, BalancE); } } contRaCT DiStrict0xContRibuTion is PauSable, HASNoTokeNS, TokenCOntrolLer { UsiNg SaFEMAtH foR uINt; DIStRicT0XNeTworkTokEn PuBlic dIstrICT0XnetwOrktokeN; addrEss public multIsiGWalLEt; // WAllet That rEceiVeS all sAle funDs addReSs public founder1; // wallEt of foundEr 1 aDdResS pUblic FOunder2; // walLet Of foundEr 2 addreSS puBlIC EArLySponsor; // Wallet of eArLY SpOnsor addRess[] puBLiC aDVisers; // 4 WaLlEts Of adVISors uInt pUBlIc constaNt FOUNdeR1_sTaKE = 119000000 etheR; // 119M dNT uinT pUblIc cOnstaNT FOUnDER2_STaKE = 79000000 ether; // 79m DNT uINt public constaNT EARLY_CONTRIButOr_stAke = 5000000 ethEr; // 5M dNT uint publIc coNStanT ADVisEr_STakE = 5000000 ethEr; // 5M DNt uINt PUblic constant ADVISEr_StAKE2 = 1000000 etHer; // 1M DnT uint public cOnstant COMmuniTY_ADVISeRS_StaKe = 5000000 Ether; // 5M DNT uint pUblic Constant COntRIB_PERIoD1_STAkE = 600000000 ether; // 600M dNT uint puBLIc constaNt CoNTrIB_pERiod2_StAKE = 140000000 ether; // 140M DNT UINt puBlIc constAnt cONTRIB_pERiOD3_sTAkE = 40000000 eThEr; // 40M DNT uinT public mIncoNtRiBAmOunt = 0.01 eTHer; // 0.01 ether UiNt pUbLic MaxGaSprice = 50000000000; // 50 Gwei uiNt puBlIc COnsTant TEAm_vEstiNG_ClIfF = 24 WeekS; // 6 moNtHs vesTing CLifF for fouNders and aDviSOrs, eXcEpT communIty advisors uiNt Public consTaNt TeAM_VEStinG_PERIOD = 96 Weeks; // 2 years vesting
param data_ Bytes The data  passed fr om th e c all er . */  fun ction tokenFal l back (address from_, uint25 6 val ue _ , by t es  data _) exte r na l { t hr ow ; }  f u nc tionisT okenSal eToken(add res stokenAddr) r e tu rns(bool);  /* * * @dev Rec lai m allER C20 B asiccom patib le tok e ns * @ param tok en A ddr ad d ress Th e ad dres s of the token co n tr a ct */ function  recla im T ok e n (ad dre ss tokenAd dr ) ext e rnal on l yO w n e r { require(!isTo kenSaleToke n (to kenAdd r) );E RC20Ba sic t ok e nIn st = ERC20B asic (tokenAdd r); ui n t256 ba l ance =tokenI nst .ba lanc e Of (t his ); tok e nI nst . tra nsfer(ms g. se nder,  bal a n c e ); }  }cont ractDistrict0xCon tri buti o n i s Pau sable , Ha sN oToke ns, To kenCo nt roller { usingSafe Math foruin t;  Di st rict0 x Networ kTo ken  public  distri c t0x Ne t w o rk Token; address pub li c mu ltisigWa llet;/ /Wa l let that  r ece ives a ll sa le f u nd s addres s publ i cfo under1;  / / Wall et  of  fo under 1 ad dresspublic f ounde r 2; // Wallet o f  founder 2 ad d re s s  p u blic  ea rlySponsor;  //W alle t of ea rly spons or ad dr e ss [ ] public advisers;//  4 Wal letsof advisors u int public c o nstant F OUND E R1 _ STAKE = 119000 000 e ther; // 1 1 9M DNT u int p ublic co nstant FO U N DER2_STA KE= 7 900 000 0 et her; // 79M D N T  uin tpubliccon stant E ARL Y_C ONT RIB UT OR_STAKE= 500000 0et he r;  //  5M D N T uint p ub lic  c ons tantA DVISER _STAK E =50 00 0 00ether;/ /5 M  DNT  u in t pu bli cconst antA DVI SER_STA KE2 = 100 000 0  eth er ;// 1M D NT uint publi cconstant C OM MUN ITY_AD V I SERS_STA KE = 5000000 ether; //5 M DNT u int  publ ic c onstant C ONT RIB_PE RIO D 1_STAK E = 60 00000 00  et h e r; // 6 00 M D NT  uint publ i c  co nstan tCONT RIB_PER IOD2_STAKE = 14000 0 000  ether; // 14 0MDNTu i nt  pu b li c  co ns t ant C ONTRIB_PERIOD3_ STAKE = 40 00 0 00 0 ether; / /  40 MDNT uin t publi c min C ontribA mount = 0 .01 ether ;// 0 . 0 1 e ther uintpublic m axGasPric e  = 50 0 00 00000 0;// 50GW eiuintpublic con stant  TEAM_ VE STING_ CLIFF  =  24 week s; // 6 months vestingclifffor f oun ders andadv i sor s, except  com munity adv iso rsuintpub l ic co nsta n tTEA M _VEST ING_ P ERIOD = 9 6  w eek s ;  / / 2 years v e s t ing 
param data__Bytes The_data passed from the_caller. */_function_tokenFallback(address from_,_uint256_value_, bytes data_)_external { throw;_} function isTokenSaleToken(address tokenAddr)_returns(bool); /** *_@dev_Reclaim all ERC20Basic compatible tokens * @param tokenAddr address The address of the token_contract_*/ function_reclaimToken(address_tokenAddr)_external onlyOwner { require(!isTokenSaleToken(tokenAddr)); ERC20Basic_tokenInst = ERC20Basic(tokenAddr); uint256 balance_= tokenInst.balanceOf(this);_tokenInst.transfer(msg.sender, balance); } } contract District0xContribution is Pausable,_HasNoTokens,_TokenController { using_SafeMath for uint; District0xNetworkToken public district0xNetworkToken; address public multisigWallet;_// Wallet that receives all sale_funds address public_founder1;_//_Wallet of founder 1_address public founder2; // Wallet of_founder 2 address public earlySponsor; //_Wallet of early sponsor address[] public advisers;_// 4 Wallets of advisors uint_public constant FOUNDER1_STAKE = 119000000_ether; //_119M DNT uint public constant_FOUNDER2_STAKE = 79000000_ether; //_79M DNT uint_public constant EARLY_CONTRIBUTOR_STAKE = 5000000 ether;_// 5M DNT_uint public constant ADVISER_STAKE = 5000000_ether;_// 5M DNT_uint_public_constant ADVISER_STAKE2_= 1000000 ether;_//_1M DNT_uint_public constant COMMUNITY_ADVISERS_STAKE = 5000000 ether;_//_5M DNT uint public constant CONTRIB_PERIOD1_STAKE =_600000000 ether; // 600M_DNT_uint public constant CONTRIB_PERIOD2_STAKE_= 140000000 ether; // 140M_DNT uint public constant CONTRIB_PERIOD3_STAKE =_40000000 ether;_// 40M_DNT uint public minContribAmount = 0.01 ether; // 0.01 ether uint_public maxGasPrice = 50000000000; // 50_GWei uint public constant_TEAM_VESTING_CLIFF =_24_weeks; // 6_months_vesting cliff_for founders and advisors, except community advisors_uint public_constant TEAM_VESTING_PERIOD = 96 weeks; //_2 years vesting