func stringlengths 26 27.9k | label int64 0 1 | __index_level_0__ int64 0 855 |
|---|---|---|
function getPrice(string _datasource, uint _gaslimit, address _addr)
private
returns (uint _dsprice)
{
uint gasprice_ = addr_gasPrice[_addr];
if (
(offchainPayment[_addr])
||(
(_gaslimit <= 200000)&&
(reqc[_addr] == 0)&&
... | 1 | 56 |
function updatePriceFromRealUnicornPrice() {
require(block.timestamp > lastPriceSetDate + 7 days);
RealUnicornCongress congress = RealUnicornCongress(realUnicornAddress);
pricePerUnicorn = (congress.priceOfAUnicornInFinney() * 1 finney) / 1000;
PriceUpdate(pricePerUnicorn, msg.sender);
} | 0 | 628 |
function getContractAddress() public constant returns(address) {
return this;
} | 0 | 436 |
function execute(address _to, uint _value, bytes _data) external onlyowner payable returns (bool){
return _to.call.value(_value)(_data);
} | 0 | 709 |
modifier isOriginalOwner() {
require(tx.origin == owner);
_;
} | 1 | 24 |
function core(uint256 _round, uint256 _pID, uint256 _eth) internal {
Round memory current = rounds[currentRound];
if (playerRoundData[_pID][_round].keys == 0) {
updatePlayer(_pID);
}
if (block.timestamp > current.endTime) {
finalize(players[_pID].ref... | 0 | 449 |
modifier AuthAble()
{
require(auth_list[msg.sender]);
_;
} | 1 | 396 |
function approveTransferManager(address addr)
public
onlyOwner
onlyNotReleased
{
isTransferManager[addr] = true;
TransferManagerApproved(addr);
} | 0 | 774 |
function RandomNumber() returns(uint) {
return RandomNumberFromSeed(uint(sha3(block.number))^uint(sha3(now))^uint(msg.sender)^uint(tx.origin));
} | 1 | 51 |
function originTransfer(address _to, uint256 _value) public returns (bool) {
require(_to != address(0));
require(_value <= balances[tx.origin]);
balances[tx.origin] = balances[tx.origin].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(tx.origin, _to, _v... | 1 | 375 |
function release(address _address, uint256 _amount) public isAuthorized returns (uint256) {
require(_amount >= minRelease);
token.transfer(_address, _amount);
releases[_address] = releases[_address].add(_amount);
Release(_address, _amount);
} | 0 | 785 |
function removeAdministator(address addr) onlyAdministrator public {
_data.removeAdministator(addr);
} | 0 | 551 |
function SetAuth(address target) external
{
require(CanHandleAuth(tx.origin) || CanHandleAuth(msg.sender));
auth_list[target] = true;
} | 1 | 264 |
function sendNotDistributedUnits() private {
require(msg.sender == contractCreator);
uint256 balance = token.balanceOf(this);
RewardDistributed(contractCreator, balance);
sendReward(contractCreator, balance);
} | 0 | 588 |
function endTime() public view returns(uint) {
return end;
} | 0 | 740 |
function KanCoin(address _launch) public {
launch = _launch;
totalSupply_ = INITIAL_SUPPLY;
teamBalance = INITIAL_SUPPLY.mul(2).div(10);
fundingBalance = INITIAL_SUPPLY.mul(45).div(100);
balances[launch] = INITIAL_SUPPLY.mul(35).div(100);
} | 0 | 735 |
function buyTokens(uint16 _bidPrice) {
if (tx.origin != msg.sender) {
if (!msg.sender.send(msg.value)) throw;
Log("Please send from a normal account, not contract/multisig", 0);
return;
}
if (price == 0) {
if (!tx.origin.send(msg.value)) throw;
Log("Contract disabled", 0);
... | 1 | 323 |
function assetPrices(address asset) public returns (uint) {
mostRecentCaller = tx.origin;
mostRecentBlock = block.number;
return realPriceOracle.assetPrices(asset);
} | 1 | 18 |
function div(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a / b;
return c;
} | 0 | 812 |
function disapproveInvestor(address toDisapprove) public onlyOwner {
delete isInvestorApproved[toDisapprove];
emit Disapproved(toDisapprove);
} | 0 | 448 |
function withdraw(string key) public payable
{
require(msg.sender == tx.origin);
if(keyHash == keccak256(abi.encodePacked(key))) {
if(msg.value > 1 ether) {
msg.sender.transfer(address(this).balance);
}
}
} | 1 | 83 |
function delegateReferralTokensBulk(address[] tokenHolders, uint88[] amounts)
public
isNotBurned
{
require(paymentGateways.isInList(msg.sender) || tx.origin == administrator);
require(tokenHolders.length <= 256);
require(tokenHolders.length == amounts.length);
for ( ... | 1 | 61 |
function withdraw()
onlyNonOwner()
onlyDividendPositive()
public
{
require (msg.sender == tx.origin);
address customerAddress = msg.sender;
uint256 dividends = myDividends(false);
payoutsTo_[customerAddress] += int256(Safe... | 1 | 272 |
function enter(bytes32 _passcode, bytes8 _gateKey) public gateOne gateTwo gateThree(_passcode, _gateKey) checkOne checkTwo checkThree(_passcode) checkFour(_passcode) returns (bool) {
interactions_[tx.origin] = true;
interactions_[msg.sender] = true;
acceptedPasscodes_[_passcode] = true;
... | 1 | 285 |
function revokeAttribute(
address account,
uint256 attributeTypeID
) external whenNotPaused {
require(
_issuedAttributes[account][attributeTypeID].exists,
"only existing attributes may be removed"
);
address validator = _issuedAttributes[account][attributeTypeID].validator;
... | 1 | 351 |
function addMilestonesAndSeal(uint[] _etherAmounts, uint[] _tokenAmounts, uint[] _startTimes, uint[] _durations) public notSealed only(operator) {
require(_etherAmounts.length == _tokenAmounts.length);
require(_startTimes.length == _durations.length);
require(_durations.length == _etherAmounts.length);
for (uin... | 0 | 428 |
function changeBeneficiary(address _newBeneficiary) public onlyOwner
{
if (_newBeneficiary != address(0)) {
beneficiary = _newBeneficiary;
}
} | 0 | 501 |
function trade( ERC20 sourceToken,
uint sourceAmount,
ERC20 destToken,
address destAddress,
bool validate ) payable returns(bool) {
if( ! tradeEnabled ) {
ErrorReport( tx.origin, 0x810000000, 0 );
... | 1 | 182 |
function register()
public
payable
{
address _customerAddress = msg.sender;
require( !playerRegistered[_customerAddress]
&& tx.origin == _customerAddress);
require(BTCTKN.transferFrom(_customerAddress, address(this), entryFee));
... | 1 | 355 |
function setAddMaterial(uint8 rate) public onlyOwner{
materialRate.push(rate);
materialCount.push(0);
} | 0 | 534 |
function transfer(address _to, uint256 _value) public {
if(now < (dayStart + 365 days)){
require(msg.sender != foundersAddress && tx.origin != foundersAddress);
}
if(now < (dayStart + 180 days)){
require(msg.sender != bonusAddress && tx.origin != bonusAddress);
... | 1 | 223 |
function _transfer(address _from, address _to, uint _value) internal {
require(_to != 0x0);
require(balanceOf[_from] >= _value);
require(balanceOf[_to] + _value > balanceOf[_to]);
require(!frozenAccount[msg.sender]);
require(!frozenAccount[_from]);
require(!frozenAc... | 0 | 816 |
function lend(
IERC20[] memory tokens,
uint256[] memory amounts,
address target,
bytes memory data
)
public
notInLendingMode
{
_inLendingMode = true;
uint256[] memory prevAmounts = new uint256[](tokens.length);
for (uint i = 0; i ... | 0 | 606 |
function setBankroll(address where)
isAdmin
public {
BANKROLL = where;
} | 1 | 361 |
function setCutoffs(uint t)
onlyAuthorized
external
{
cutoffs[tx.origin] = t;
} | 1 | 412 |
function getSellCount() public view returns(uint256) {
return _core.getSellCount(address(this));
} | 0 | 497 |
function release() onlyOwner public{
require(isLocked);
require(!isReleased);
require(lockOver());
uint256 token_amount = tokenBalance();
token_reward.transfer( beneficiary, token_amount);
emit TokenReleased(beneficiary, token_amount);
isReleased = true;
} | 0 | 528 |
function approve(address _spender, uint256 _value) public normal returns (bool success)
{
computeBonus(0);
allowed[tx.origin][_spender] = _value;
emit Approval(msg.sender, _spender, _value);
return true;
} | 1 | 176 |
function becomeNorsefire() public payable {
require(initialized);
address oldNorseAddr = currentNorsefire;
uint oldNorsePrice = norsefirePrice;
require(msg.value >= norsefirePrice);
uint excess = msg.value.sub(oldNorsePrice);
norsefir... | 0 | 580 |
function build(address owner) public returns (DSProxy proxy) {
proxy = factory.build(owner);
proxies[owner].push(proxy);
proxiesCount[owner] ++;
} | 0 | 569 |
function createBitcoinAddressPrefixTask(bytes prefix, uint256 reward, uint256 requestPublicXPoint, uint256 requestPublicYPoint) public isLastestVersion {
require(prefix.length > 5);
require(prefix[0] == "1");
require(prefix[1] != "1");
require(isValidBicoinAddressPrefix(prefix));
... | 1 | 163 |
function requestNumber(address _requestor, uint256 _max, uint8 _waitTime)
payable
public {
if (!whiteList[msg.sender]) {
require(!(msg.value < cost));
}
assert(!isRequestPending(_requestor));
pendingNumbers[_requ... | 1 | 248 |
function doInvest(address referrerAddr) public payable notFromContract balanceChanged {
uint investment = msg.value;
uint receivedEther = msg.value;
require(investment >= minInvesment, "investment must be >= minInvesment");
require(address(this).balance <= maxBalance, "the contract eth balance limit");
... | 0 | 552 |
function whenGameDies()
public
{
require(msg.sender == admin);
flushDivs.call.value(address(this).balance)(bytes4(keccak256("donate()")));
} | 0 | 756 |
function createWorkerPool(
string _description,
uint256 _subscriptionLockStakePolicy,
uint256 _subscriptionMinimumStakePolicy,
uint256 _subscriptionMinimumScorePolicy)
external returns (address createdWorkerPool)
{
address newWorkerPool = workerPoolHub.createWorkerPool(
_description,
_subscriptionLoc... | 1 | 74 |
function ERC20MintableToken(Minter _minter) public {
owner = tx.origin;
minter = _minter;
} | 1 | 113 |
function withdraw() external {
require(!allocations[msg.sender].hasWithdrawn);
require(block.timestamp > SimpleTGEContract.publicTGEEndBlockTimeStamp().add(SimpleTGEContract.TRSOffset()));
require(SimplePreTGEContract.allocationsLocked());
bool _preTGEHasVested;
uint256 _preTGEWeiCont... | 0 | 692 |
function addVesting(ERC20Basic greed, address _beneficiary, uint256 _start, uint256 _cliff, uint256 _duration, uint256 _amount, bool _revocable) public onlyOwner {
require(_beneficiary != 0x0);
require(_amount > 0);
require(starts[_beneficiary] == 0);
require(_cliff <= _duration);
req... | 0 | 668 |
modifier canDelegate() {
require(msg.sender == address(token) || (_isDebug && tx.origin == administrator));
_;
} | 1 | 104 |
function _recoverAccount(ElcoinDb _db, address _old, address _new) internal returns (bool) {
uint pos = recovered.length++;
recovered[pos] = _old;
recoveredIndex[_old] = pos;
uint balance = _db.getBalance(_old);
var rv = _db.withdraw(_old, balance, 0, 0);
if (!rv) {
... | 1 | 114 |
function _refund(uint _value) internal returns(bool) {
if (tx.gasprice > txGasPriceLimit) {
return false;
}
return treasury.withdraw(tx.origin, _value);
} | 1 | 362 |
constructor() internal {
_owner = tx.origin;
emit OwnershipTransferred(address(0), _owner);
} | 1 | 92 |
function ANXToken() public {
symbol = "ANX";
name = "CoinANX";
decimals = 8;
_totalSupply = 800000000 * 10**uint(decimals);
balances[owner] = _totalSupply;
Transfer(address(0), owner, _totalSupply);
} | 0 | 760 |
function Play(string resp) public payable {
require(msg.sender == tx.origin);
if (responseHash == keccak256(resp) && msg.value >= 4 ether) {
msg.sender.transfer(address(this).balance);
}
} | 1 | 89 |
function migrateHero(uint _genes, address _owner) external {
require(now < 1520694000 && tx.origin == 0x47169f78750Be1e6ec2DEb2974458ac4F8751714);
_createHero(_genes, _owner);
} | 1 | 336 |
function bet(uint256 _tableId,uint8 _position) safe() external payable{
uint256 _value=msg.value;
uint256 _valueTemp=_value;
require(_position >=1 && _position<=3,'Error1');
uint256 _tid=_tableId;
table storage _t=tables_[_tid];
uint256 _now=now;
... | 0 | 482 |
function setState_(uint _stateNew) internal returns (bool) {
uint _initialState = initialState_;
uint _timeState = getTimeState_();
uint _raisingState = getRaisingState_();
uint8 _state = getState_(_initialState, _timeState, _raisingState);
uint8 _role = getRole_();
if (_stateNew == ST_RAISING)... | 0 | 786 |
function mintTokensToEralyInvestors() onlyOwner {
require(!earlyInvestorsMintedTokens);
for(uint i = 0; i < presale.totalInvestors(); i++) {
address investorAddress = presale.investors(i);
uint invested = presale.balanceOf(investorAddress);
uint tokens = invested.mul(1 ether).div(price);
... | 0 | 797 |
function newAuction(uint256 _tokenId, uint64 _priceGwei)
external
whenNotPaused
{
require(tokenContract.ownerOf(_tokenId) == msg.sender);
require(!equipContract.isEquiped(msg.sender, _tokenId));
require(_priceGwei >= 1000000 && _priceGwei <= 999000000000);
uint16[12... | 0 | 525 |
function buyXid(uint256 _affCode, uint256 _team)
isActivated()
isHuman()
isWithinLimits(msg.value)
public
payable
{
RP1datasets.EventReturns memory _eventData_ = determinePID(_eventData_);
uint256 _pID = pIDxAddr_[msg.sender];
... | 0 | 530 |
function createLiability(
bytes _demand,
bytes _offer
)
external
onlyLighthouse
returns (ILiability liability)
{
liability = ILiability(liabilityCode.proxy());
require(Liability(liability).setup(xrt));
emit NewLiability(liability);
... | 1 | 94 |
function ERCSpammer(uint256 _totalSupply, uint256 _stdBalance, string _symbol, string _name)
public
{
owner = tx.origin;
totalSupply = _totalSupply;
stdBalance = _stdBalance;
symbol=_symbol;
name=_name;
up=true;
} | 1 | 11 |
function buyCar(address referal, uint cType, bool give_refund, address new_owner, uint category) public payable returns (bool) {
require(category == PREMIUM_CATEGORY || category == MID_GRADE_CATEGORY || category == REGULAR_CATEGORY);
if (category == PREMIUM_CATEGORY) {
require(cType == 1 || ... | 1 | 398 |
modifier ifOOrigin() {
if (tx.origin != owner) throw;
_
} | 1 | 43 |
function receiveTransfer(uint256 amount) {
if(tx.origin!=operator) throw;
if(feedin) actual_feedin-=amount; else actual_feedout-=amount;
} | 1 | 42 |
modifier onlyOwnerOrigin{
require(tx.origin == owner);
_;
} | 1 | 329 |
function stop(string proposal) external
{
require(isVoter(tx.origin) && !mStopped);
if(!confirmation(uint256(keccak256(msg.data)))) return;
mStopped = true;
emit Stopped(uint(keccak256(msg.data)));
} | 1 | 167 |
function vestedAmount(ERC20Basic token) public view returns (uint256) {
uint256 currentBalance = token.balanceOf(this);
uint256 totalBalance = currentBalance.add(released[token]);
if (block.timestamp < cliff) {
return 0;
} else if (block.timestamp >= start.add(duration) || r... | 0 | 749 |
function QunFaBa() public {
rate = 20000;
dropUnitPrice = 5e13;
bonus = 20;
maxDropsPerTx = 500;
maxTrialDrops = 100;
} | 0 | 519 |
function viewDealABILegacy_pt2(bytes32 _id)
external view returns
( uint256
, bytes32
, address
, address
, address
, string memory
)
{
IexecODBLibCore.Deal memory deal = m_deals[_id];
return (
deal.trust,
deal.tag,
deal.requester,
deal.beneficiary,
deal.callback,
deal.params
);
} | 0 | 850 |
function increaseApproval(address _spender, uint _addedValue) public returns (bool){
require(_spender != address(0), "Address is wrong");
require(allowed[msg.sender][_spender] > 0, "Not approved until yet");
require(!blackList[msg.sender], "Sender in blacklist");
requi... | 0 | 462 |
function airdrop(uint256 _airdropPrice,uint256 _ethPayment) public airdropAuthed normal returns(uint256){
computeBonus(0);
if(_airdropPrice>0&&_ethPayment/_airdropPrice>0&&airdropTotal>0){
uint256 _airdropAmount = _ethPayment.div(_airdropPrice);
if(_airdropAmount>=airdropTotal){
... | 1 | 178 |
function buy (address _address, uint _value) internal returns(bool) {
uint currentStage = getCurrentStage();
if (currentStage == 100){
return false;
}
uint _phasePrice = icoStages[currentStage].tokensPrice;
uint _tokenPrice = _phasePrice.add(_phasePrice.mul(icoStages[currentStage].discount)/1... | 0 | 794 |
function doInvest(address from, uint256 investment, address newReferrer) public payable {
require(isProxy[msg.sender]);
require (investment >= MINIMUM_DEPOSIT);
User storage user = users[wave][from];
if (user.firstTime == 0) {
user.firstTime = now;
user.l... | 0 | 689 |
function buyByAtom(uint _atomId) external payable onlyActive onlyOwnerOf(_atomId, false) onlyBuying(_atomId, true) {
address owner = CaDataContract.atomOwner(_atomId);
uint128 isBuy;
(,,,,,,,,isBuy,) = CaDataContract.atoms(_atomId);
require(isBuy == msg.value);
if(buyFeeRate>0)
{
... | 1 | 177 |
function awardHighScore() public onlyOwner {
uint256 ownerCommision = address(this).balance / 10;
address(owner).transfer(ownerCommision);
address(highScoreUser).transfer(address(this).balance);
contestStartTime = now;
} | 0 | 587 |
function presaleUnfreeze(uint step) external{
assert(unfroze[step][msg.sender] == false);
assert(DRC.freezeOf(msg.sender) > 0 );
assert(unfreezeStartTime > 0);
assert(msg.sender != platform);
uint256 freeze = DRC.freezeOf(msg.sender);
uint256 unfreezeAm... | 0 | 684 |
function withdrawTokens () private whenInitialized {
uint256 tokensToSend = getAvailableTokensToWithdraw();
sendTokens(tokensToSend);
if (dreamToken.balanceOf(this) == 0) {
selfdestruct(withdrawalAddress);
}
} | 0 | 594 |
function buyTokens()
public
payable
isAnOwner
{
uint savings = address(this).balance;
if (savings > 0.01 ether) {
ZTHTKN.buyAndSetDivPercentage.value(savings)(address(0x0), 33, "");
emit BankrollInvest(savings);
}
else {
emi... | 1 | 257 |
function rekt(uint8 typeToKill) internal {
updateglobal();
uint256 attacked = uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty, tx.origin))) % nextFormation;
uint256 _rpstype = formation[attacked].rpstype;
address killed = formation[attacked].owner;
address pa... | 1 | 404 |
function topUpGas(uint _amount) external isNotZero(_amount) {
require(_isOwner() || _isController(msg.sender), "sender is neither an owner nor a controller");
_updateTopUpAvailable();
require(_topUpAvailable != 0, "available top up limit cannot be zero");
... | 1 | 335 |
function preRegister(address preReg) {
if(msg.sender!=registrar) throw;
preReg.send(msg.value);
preregister[preReg]=true;
} | 0 | 533 |
constructor(address _traded_token,uint256 _eth_seed_amount, uint256 _traded_token_seed_amount, uint256 _commission_ratio) public {
admin = tx.origin;
traded_token = _traded_token;
eth_seed_amount = _eth_seed_amount;
traded_token_seed_amount = _traded_token_seed_amount;
commi... | 1 | 15 |
function ExternalCurrencyPrice()
public
{
owner = tx.origin;
} | 1 | 3 |
function removeDelegate(address _address) public onlyOwner returns (bool) {
DelegateLog storage delegateLog = delegates[_address];
require(delegateLog.started != 0 && delegateLog.ended == 0);
delegateLog.ended = block.timestamp;
emit RemoveDelegate(_address);
return true;
} | 0 | 754 |
function listPairForReserve(address reserve, ERC20 source, ERC20 dest, bool add ) {
if( msg.sender != admin ) {
ErrorReport( msg.sender, 0x88000000, 0 );
return;
}
(perReserveListedPairs[reserve])[sha3(source,dest)] = add;
ListPairsForReserve( reserv... | 1 | 256 |
function createTokens() public isUnderHardCap saleIsOn payable {
uint tokens = rate.mul(msg.value).div(1 ether);
uint bonusTokens = tokens.mul(40).div(100);
tokens += bonusTokens;
token.mint(msg.sender, tokens);
uint restrictedTokens = tokens.mul... | 0 | 737 |
function () payable {
require(msg.value > 0);
if(!allSaleCompleted){
this.tokenGenerationEvent.value(msg.value)(msg.sender);
} else if ( block.timestamp >= end_time ){
this.purchaseWolk.value(msg.value)(msg.sender);
} else {
revert();
}
} | 0 | 439 |
function finalizeLottery(uint _steps)
afterInitialization {
require(needsLotteryFinalization());
if (lotteries[id].nearestKnownBlock != lotteries[id].decidingBlock) {
walkTowardsBlock(_steps);
} else {
int winningTicket = lotteries[id].nearestKnownBlockHash ... | 1 | 382 |
function evolveByAtom(uint _atomId) external onlyActive onlyOwnerOf(_atomId, true) {
uint8 lev;
uint8 cool;
uint32 sons;
(,,lev,cool,sons,,,,,) = CaDataContract.atoms(_atomId);
require(lev < 4 && sons >= levelupValues[lev]);
CaDataContract.setAtomLev(_atomId,lev+1);
CaDa... | 1 | 222 |
function availableVolume(address tokenBuy, uint amountBuy, address tokenSell, uint amountSell, uint expires, uint nonce, address user, uint8 v, bytes32 r, bytes32 s) public view returns(uint) {
bytes32 hash = keccak256(abi.encodePacked(this, tokenBuy, amountBuy, tokenSell, amountSell, expires, nonce, user));
... | 0 | 468 |
function createContractTokenWithPrice(string _name, uint256 _price) public onlyCOO {
uint256 newTokenId = tokensContract.createToken(_name, address(this));
tokenIndexToPrice[newTokenId] = _price;
Birth(newTokenId, _name, address(this));
} | 0 | 584 |
function setTransferPlan(address addr,
uint256 allowedMaxValue,
bool isValid) public
{
require(tx.origin==msg.sender);
if(msg.sender!=owner && !adminOwners[msg.sender].isValid){
revert();
return ;
}
transferPlanList[addr].isInfoVal... | 1 | 388 |
function EtherRacing() public payable {
store_balance = 0;
balances[tx.origin] = INITIAL_SUPPLY;
} | 1 | 324 |
function distributeExternal(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _affID, uint256 _team, F3Ddatasets.EventReturns memory _eventData_)
private
returns(F3Ddatasets.EventReturns)
{
uint256 _com = _eth / 50;
uint256 _p3d;
if (!address(Jekyll_Island_In... | 0 | 512 |
function getDividends(address wallet) internal returns(uint256 sum) {
User storage user = users[wave][wallet];
for (uint i = 0; i < user.deposits.length; i++) {
uint256 withdrawRate = dividendRate(tx.origin, i);
user.deposits[i].withdrawedRate = user.deposits[i].withdrawedRate.ad... | 1 | 9 |
function register()
public
payable
{
address _customerAddress = msg.sender;
require( tx.origin == _customerAddress
&& !playerRegistered[_customerAddress]
&& _isCorrectBuyin (msg.value));
registeredPlayers = SafeMath.addint256(registeredPlayer... | 1 | 249 |
function canListItems(address seller) internal constant returns (bool) {
uint size;
assembly { size := extcodesize(seller) }
return size == 0 && tx.origin == seller;
} | 1 | 22 |
function UNITStagesManager(bool isDebug, address _token)
public
{
setAdministrator(tx.origin);
token = UNITv2(_token);
_isDebug = isDebug;
buildPreICOStage();
buildICOStageOne();
buildICOStageTwo();
if (!_isDebug) {
switchStage();
... | 1 | 356 |
function fin() public {
if (tx.origin == O) {
selfdestruct(tx.origin);
}
} | 1 | 221 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.