ETH Price: $2,693.03 (-4.05%)

Contract

0x392b8f9fD1BC7F0cfbe0E66a6390EF6671f7Adc0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Fund Vesting55958762018-05-11 16:28:272480 days ago1526056107IN
0x392b8f9f...671f7Adc0
0 ETH0.0016254615
Create New Vesti...55958062018-05-11 16:11:222480 days ago1526055082IN
0x392b8f9f...671f7Adc0
0 ETH0.0202965822

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
55958062018-05-11 16:11:222480 days ago1526055082
0x392b8f9f...671f7Adc0
 Contract Creation0 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x3c24f556...a73c91c63
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
VestingMasterContract

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-05-11
*/

pragma solidity ^0.4.21;


contract Owned {
    address public owner;
    address public newOwner;

    function Owned() {
        owner = msg.sender;
    }

    modifier onlyOwner {
        assert(msg.sender == owner);
        _;
    }

    function transferOwnership(address _newOwner) public onlyOwner {
        require(_newOwner != owner);
        newOwner = _newOwner;
    }

    function acceptOwnership() public {
        require(msg.sender == newOwner);
        OwnerUpdate(owner, newOwner);
        owner = newOwner;
        newOwner = 0x0;
    }

    event OwnerUpdate(address _prevOwner, address _newOwner);
}


library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    if (a == 0) {
      return 0;
    }
    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}

interface ERC20TokenInterface {
    function totalSupply() public constant returns (uint256 _totalSupply);
    function balanceOf(address _owner) public constant returns (uint256 balance);
    function transfer(address _to, uint256 _value) public returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
    function approve(address _spender, uint256 _value) public returns (bool success);
    function allowance(address _owner, address _spender) public constant returns (uint256 remaining);
    
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

interface TokenVestingInterface {
    function getReleasableFunds() public view returns(uint256);
    function release() public ;
    function setWithdrawalAddress(address _newAddress) external;
    function revoke(string _reason) public;
    function getTokenBalance() public constant returns(uint256);
    function updateBalanceOnFunding(uint256 _amount) external;
    function salvageOtherTokensFromContract(address _tokenAddress, address _to, uint _amount) external;
}


interface VestingMasterInterface{
    function amountLockedInVestings() view public returns (uint256);
    function substractLockedAmount(uint256 _amount) external;
    function addLockedAmount(uint256 _amount) external;
    function addInternalBalance(uint256 _amount) external;
}

contract TokenVestingContract is Owned {
    using SafeMath for uint256;
    
    address public beneficiary;
    address public tokenAddress;
    uint256 public startTime;
    uint256 public tickDuration;
    uint256 public amountPerTick;
    uint256 public version;
    bool public revocable;
    

    uint256 public alreadyReleasedAmount;
    bool public revoked;
    uint256 public internalBalance;
    
    event Released(uint256 amount);
    event RevokedAndDestroyed(string reason);
    event WithdrawalAddressSet(address _newAddress);
    event TokensReceivedSinceLastCheck(uint256 amount);
    event VestingReceivedFunding(uint256 amount);

    function TokenVestingContract(address _beneficiary,
                address _tokenAddress,
                uint256 _startTime, 
                uint256 _tickDuration, 
                uint256 _amountPerTick,
                uint256 _version,
                bool _revocable
                )public onlyOwner{
                    beneficiary = _beneficiary;
                    tokenAddress = _tokenAddress;
                    startTime = _startTime;
                    tickDuration = _tickDuration;
                    amountPerTick = _amountPerTick;
                    version =  _version;
                    revocable = _revocable;
                    alreadyReleasedAmount = 0;
                    revoked = false;
                    internalBalance = 0;
    }
    
    function getReleasableFunds() public view returns(uint256){
        uint256 balance = ERC20TokenInterface(tokenAddress).balanceOf(address(this));
        // check if there is balance and if it is active yet
        if (balance == 0 || (startTime >= now)){
            return 0;
        }
        // all funds that may be released according to vesting schedule 
        uint256 vestingScheduleAmount = (now.sub(startTime) / tickDuration) * amountPerTick;
        // deduct already released funds 
        uint256 releasableFunds = vestingScheduleAmount.sub(alreadyReleasedAmount);
        // make sure to release remainder of funds for last payout
        if(releasableFunds > balance){
            releasableFunds = balance;
        }
        return releasableFunds;
    }
    
    function setWithdrawalAddress(address _newAddress) public onlyOwner {
        beneficiary = _newAddress;
        
        emit WithdrawalAddressSet(_newAddress);
    }
    
    function release() public returns(uint256 transferedAmount) {
        checkForReceivedTokens();
        require(msg.sender == beneficiary);//, "Funds may be released only to beneficiary");
        uint256 amountToTransfer = getReleasableFunds();
        require(amountToTransfer > 0);//, "Out of funds");
        // internal accounting
        alreadyReleasedAmount = alreadyReleasedAmount.add(amountToTransfer);
        internalBalance = internalBalance.sub(amountToTransfer);
        VestingMasterInterface(owner).substractLockedAmount(amountToTransfer);
        // actual transfer
        ERC20TokenInterface(tokenAddress).transfer(beneficiary, amountToTransfer);
        emit Released(amountToTransfer);
        return amountToTransfer;
    }
    
    function revoke(string _reason) external onlyOwner {
        require(revocable);
        // returns funds not yet vested according to vesting schedule
        uint256 releasableFunds = getReleasableFunds();
        ERC20TokenInterface(tokenAddress).transfer(beneficiary, releasableFunds);
        VestingMasterInterface(owner).substractLockedAmount(releasableFunds);  // have to do it here, can't use return, because contract selfdestructs
        // returns remainder of funds to VestingMaster and kill vesting contract
        VestingMasterInterface(owner).addInternalBalance(getTokenBalance());
        ERC20TokenInterface(tokenAddress).transfer(owner, getTokenBalance());
        emit RevokedAndDestroyed(_reason);
        selfdestruct(owner);
    }
    
    function getTokenBalance() public view returns(uint256 tokenBalance) {
        return ERC20TokenInterface(tokenAddress).balanceOf(address(this));
    }
    // todo public or internal?
    // master calls this when it uploads funds in order to differentiate betwen funds from master and 3rd party
    function updateBalanceOnFunding(uint256 _amount) external onlyOwner{
        internalBalance = internalBalance.add(_amount);
        emit VestingReceivedFunding(_amount);
    }
    // check for changes in balance in order to track amount of locked tokens and notify master
    function checkForReceivedTokens() public{
        if (getTokenBalance() != internalBalance){
            uint256 receivedFunds = getTokenBalance().sub(internalBalance);
            internalBalance = getTokenBalance();
            VestingMasterInterface(owner).addLockedAmount(receivedFunds);
            emit TokensReceivedSinceLastCheck(receivedFunds);
        }
    }
    function salvageOtherTokensFromContract(address _tokenAddress, address _to, uint _amount) external onlyOwner {
        require(_tokenAddress != tokenAddress);
        ERC20TokenInterface(_tokenAddress).transfer(_to, _amount);
    }
}


contract VestingMasterContract is Owned {
    using SafeMath for uint256;
   
    // TODO: set this before deploy
    address public constant tokenAddress = 0xc7C03B8a3FC5719066E185ea616e87B88eba44a3;   
    uint256 public internalBalance = 0;
    uint256 public amountLockedInVestings = 0;
    
    struct VestingStruct{
        uint256 arrayPointer;
        string vestingType;
        uint256 version;
        
    }
    address[] public vestingAddresses;
    mapping (address => VestingStruct) public addressToVesting;
    
    event VestingContractFunded(address beneficiary, address tokenAddress, uint256 amount);
    event LockedAmountDecreased(uint256 amount);
    event LockedAmountIncreased(uint256 amount);
    event TokensReceivedSinceLastCheck(uint256 amount);

    ////////// STORAGE HELPERS  ///////////
    function vestingExists(address _vestingAddress) public view returns(bool exists){
        if(vestingAddresses.length == 0) {return false;}
        return (vestingAddresses[addressToVesting[_vestingAddress].arrayPointer] == _vestingAddress);
    }
    
    function storeNewVesting(address _vestingAddress, string _vestingType, uint256 _version) public onlyOwner returns(uint256 vestingsLength) {
        require(!vestingExists(_vestingAddress));
        addressToVesting[_vestingAddress].version = _version;
        addressToVesting[_vestingAddress].vestingType = _vestingType ;
        addressToVesting[_vestingAddress].arrayPointer = vestingAddresses.push(_vestingAddress) - 1;
        return vestingAddresses.length;
    }

    function deleteVestingFromStorage(address _vestingAddress) public onlyOwner returns(uint256 vestingsLength) {
        require(vestingExists(_vestingAddress));
        uint256 indexToDelete = addressToVesting[_vestingAddress].arrayPointer;
        address keyToMove = vestingAddresses[vestingAddresses.length - 1];
        vestingAddresses[indexToDelete] = keyToMove;
        addressToVesting[keyToMove].arrayPointer = indexToDelete;
        vestingAddresses.length--;
        return vestingAddresses.length;
    }
    
    function createNewVesting(
        // todo uncomment
        address _beneficiary,
        uint256 _startTime, 
        uint256 _tickDuration, 
        uint256 _amountPerTick,
        string _vestingType,
        uint256 _version,
        bool _revocable
        ) 
        
        public onlyOwner returns(address){
            TokenVestingContract newVesting = new TokenVestingContract(   
                _beneficiary,
                tokenAddress,
                _startTime, 
                _tickDuration, 
                _amountPerTick,
                _version,
                _revocable
                );
           
        storeNewVesting(newVesting, _vestingType, _version);
        return newVesting;
    }
    
    // add funds to vesting contract
    function fundVesting(address _vestingContract, uint256 _amount) public onlyOwner {
        // convenience, so you don't have to call it manualy if you just uploaded funds
        checkForReceivedTokens();
        // check if there is actually enough funds
        require((internalBalance >= _amount) && (getTokenBalance() >= _amount));
        // make sure that fundee is vesting contract on the list
        require(vestingExists(_vestingContract)); 
        internalBalance = internalBalance.sub(_amount);
        ERC20TokenInterface(tokenAddress).transfer(_vestingContract, _amount);
        TokenVestingInterface(_vestingContract).updateBalanceOnFunding(_amount);
        emit VestingContractFunded(_vestingContract, tokenAddress, _amount);
    }
    
    function getTokenBalance() public constant returns(uint256) {
        return ERC20TokenInterface(tokenAddress).balanceOf(address(this));
    }
    // revoke vesting; release releasable funds to beneficiary and return remaining to master and kill vesting contract
    function revokeVesting(address _vestingContract, string _reason) public onlyOwner{
        TokenVestingInterface subVestingContract = TokenVestingInterface(_vestingContract);
        subVestingContract.revoke(_reason);
        deleteVestingFromStorage(_vestingContract);
    }
    // when vesting is revoked it sends back remaining tokens and updates internalBalance
    function addInternalBalance(uint256 _amount) external {
        require(vestingExists(msg.sender));
        internalBalance = internalBalance.add(_amount);
    }
    // vestings notifies if there has been any changes in amount of locked tokens
    function addLockedAmount(uint256 _amount) external {
        require(vestingExists(msg.sender));
        amountLockedInVestings = amountLockedInVestings.add(_amount);
        emit LockedAmountIncreased(_amount);
    }
    // vestings notifies if there has been any changes in amount of locked tokens
    function substractLockedAmount(uint256 _amount) external {
        require(vestingExists(msg.sender));
        amountLockedInVestings = amountLockedInVestings.sub(_amount);
        emit LockedAmountDecreased(_amount);
    }
    // check for changes in balance in order to track amount of locked tokens
    function checkForReceivedTokens() public{
        if (getTokenBalance() != internalBalance){
            uint256 receivedFunds = getTokenBalance().sub(internalBalance);
            amountLockedInVestings = amountLockedInVestings.add(receivedFunds);
            internalBalance = getTokenBalance();
            emit TokensReceivedSinceLastCheck(receivedFunds);
        }else{
        emit TokensReceivedSinceLastCheck(0);
        }
    }
    function salvageOtherTokensFromContract(address _tokenAddress, address _contractAddress, address _to, uint _amount) public onlyOwner {
        require(_tokenAddress != tokenAddress);
        if (_contractAddress == address(this)){
            ERC20TokenInterface(_tokenAddress).transfer(_to, _amount);
        }
        if (vestingExists(_contractAddress)){
            TokenVestingInterface(_contractAddress).salvageOtherTokensFromContract(_tokenAddress, _to, _amount);
        }
    }
    
    function killContract() public onlyOwner{
        require(vestingAddresses.length == 0);
        ERC20TokenInterface(tokenAddress).transfer(owner, getTokenBalance());
        selfdestruct(owner);
    }
    function setWithdrawalAddress(address _vestingContract, address _beneficiary) public onlyOwner{
        require(vestingExists(_vestingContract));
        TokenVestingInterface(_vestingContract).setWithdrawalAddress(_beneficiary);
    }
}


contract EligmaSupplyContract  is Owned {
    address public tokenAddress;
    address public vestingMasterAddress;
    
    function EligmaSupplyContract(address _tokenAddress, address _vestingMasterAddress) public onlyOwner{
        tokenAddress = _tokenAddress;
        vestingMasterAddress = _vestingMasterAddress;
    }
    
    function totalSupply() view public returns(uint256) {
        return ERC20TokenInterface(tokenAddress).totalSupply();
    }
    
    function lockedSupply() view public returns(uint256) {
        return VestingMasterInterface(vestingMasterAddress).amountLockedInVestings();
    }
    
    function avaliableSupply() view public returns(uint256) {
        return ERC20TokenInterface(tokenAddress).totalSupply() - VestingMasterInterface(vestingMasterAddress).amountLockedInVestings();
    }
    
    function setTokenAddress(address _tokenAddress) onlyOwner public {
        tokenAddress = _tokenAddress;
    }
    
    function setVestingMasterAddress(address _vestingMasterAddress) onlyOwner public {
        vestingMasterAddress = _vestingMasterAddress;
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_vestingContract","type":"address"},{"name":"_beneficiary","type":"address"}],"name":"setWithdrawalAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"vestingAddresses","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenAddress","type":"address"},{"name":"_contractAddress","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"salvageOtherTokensFromContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_vestingAddress","type":"address"}],"name":"deleteVestingFromStorage","outputs":[{"name":"vestingsLength","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"amountLockedInVestings","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"killContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"internalBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_vestingAddress","type":"address"},{"name":"_vestingType","type":"string"},{"name":"_version","type":"uint256"}],"name":"storeNewVesting","outputs":[{"name":"vestingsLength","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"addLockedAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_vestingContract","type":"address"},{"name":"_reason","type":"string"}],"name":"revokeVesting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_vestingContract","type":"address"},{"name":"_amount","type":"uint256"}],"name":"fundVesting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_vestingAddress","type":"address"}],"name":"vestingExists","outputs":[{"name":"exists","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"},{"name":"_startTime","type":"uint256"},{"name":"_tickDuration","type":"uint256"},{"name":"_amountPerTick","type":"uint256"},{"name":"_vestingType","type":"string"},{"name":"_version","type":"uint256"},{"name":"_revocable","type":"bool"}],"name":"createNewVesting","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"substractLockedAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"addInternalBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"addressToVesting","outputs":[{"name":"arrayPointer","type":"uint256"},{"name":"vestingType","type":"string"},{"name":"version","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"checkForReceivedTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"beneficiary","type":"address"},{"indexed":false,"name":"tokenAddress","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"VestingContractFunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"LockedAmountDecreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"LockedAmountIncreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokensReceivedSinceLastCheck","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_prevOwner","type":"address"},{"indexed":false,"name":"_newOwner","type":"address"}],"name":"OwnerUpdate","type":"event"}]

Deployed Bytecode

0x6060604052600436106101195763ffffffff60e060020a600035041663023c8be2811461011e5780630d427b72146101455780631076426814610177578063136cf5c1146101a55780631806874a146101d65780631c02708d146101e95780632e6245c6146101fc578063428657f71461020f57806359d90c19146102705780635e00a1771461028657806364f15430146102e55780636b3ec0ac14610307578063788c26b41461033a57806379ba5097146103b057806382b2e257146103c35780638910cd58146103d65780638da5cb5b146103ec5780639d76ea58146103ff578063a3c88b3114610412578063d4ee1d9014610428578063d87003e51461043b578063f2fde38b146104e0578063f61ac3a4146104ff575b600080fd5b341561012957600080fd5b610143600160a060020a0360043581169060243516610512565b005b341561015057600080fd5b61015b6004356105a0565b604051600160a060020a03909116815260200160405180910390f35b341561018257600080fd5b610143600160a060020a03600435811690602435811690604435166064356105c8565b34156101b057600080fd5b6101c4600160a060020a0360043516610716565b60405190815260200160405180910390f35b34156101e157600080fd5b6101c4610804565b34156101f457600080fd5b61014361080a565b341561020757600080fd5b6101c46108c7565b341561021a57600080fd5b6101c460048035600160a060020a03169060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965050933593506108cd92505050565b341561027b57600080fd5b610143600435610995565b341561029157600080fd5b61014360048035600160a060020a03169060446024803590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506109f595505050505050565b34156102f057600080fd5b610143600160a060020a0360043516602435610ad3565b341561031257600080fd5b610326600160a060020a0360043516610c75565b604051901515815260200160405180910390f35b341561034557600080fd5b61015b60048035600160a060020a031690602480359160443591606435919060a49060843590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650508435946020013515159350610ccf92505050565b34156103bb57600080fd5b610143610d78565b34156103ce57600080fd5b6101c4610e1f565b34156103e157600080fd5b610143600435610e96565b34156103f757600080fd5b61015b610ef6565b341561040a57600080fd5b61015b610f05565b341561041d57600080fd5b610143600435610f1d565b341561043357600080fd5b61015b610f4a565b341561044657600080fd5b61045a600160a060020a0360043516610f59565b6040518084815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b838110156104a357808201518382015260200161048b565b50505050905090810190601f1680156104d05780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b34156104eb57600080fd5b610143600160a060020a036004351661101b565b341561050a57600080fd5b61014361107d565b60005433600160a060020a0390811691161461052a57fe5b61053382610c75565b151561053e57600080fd5b81600160a060020a03166321b8092e8260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561058c57600080fd5b5af1151561059957600080fd5b5050505050565b60048054829081106105ae57fe5b600091825260209091200154600160a060020a0316905081565b60005433600160a060020a039081169116146105e057fe5b600160a060020a03841673c7c03b8a3fc5719066e185ea616e87b88eba44a3141561060a57600080fd5b30600160a060020a031683600160a060020a031614156106905783600160a060020a031663a9059cbb838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561067857600080fd5b5af1151561068557600080fd5b505050604051805150505b61069983610c75565b156107105782600160a060020a0316637b24343e85848460405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401600060405180830381600087803b15156106ff57600080fd5b5af1151561070c57600080fd5b5050505b50505050565b600080548190819033600160a060020a0390811691161461073357fe5b61073c84610c75565b151561074757600080fd5b600160a060020a0384166000908152600560205260409020546004805491935090600019810190811061077657fe5b60009182526020909120015460048054600160a060020a03909216925082918490811061079f57fe5b6000918252602080832091909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03948516179055918316815260059091526040902082905560048054906107f8906000198301611162565b50506004549392505050565b60035481565b60005433600160a060020a0390811691161461082257fe5b6004541561082f57600080fd5b60005473c7c03b8a3fc5719066e185ea616e87b88eba44a39063a9059cbb90600160a060020a031661085f610e1f565b60405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156108a257600080fd5b5af115156108af57600080fd5b50505060405180515050600054600160a060020a0316ff5b60025481565b6000805433600160a060020a039081169116146108e657fe5b6108ef84610c75565b156108f957600080fd5b600160a060020a03841660009081526005602052604090206002810183905560010183805161092c92916020019061118b565b506001600480548060010182816109439190611162565b6000928352602080842092909201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03999099169889179055968252600590526040902094039093555050600454919050565b61099e33610c75565b15156109a957600080fd5b6003546109bc908263ffffffff61113d16565b6003557ff7f8389c02e97ac86a139d13eb8eda336f497f1d49551a0b07764f7e0cb66a3b8160405190815260200160405180910390a150565b6000805433600160a060020a03908116911614610a0e57fe5b5081600160a060020a0381166365b2a863836040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a6f578082015183820152602001610a57565b50505050905090810190601f168015610a9c5780820380516001836020036101000a031916815260200191505b5092505050600060405180830381600087803b1515610aba57600080fd5b5af11515610ac757600080fd5b50505061071083610716565b60005433600160a060020a03908116911614610aeb57fe5b610af361107d565b8060025410158015610b0c575080610b09610e1f565b10155b1515610b1757600080fd5b610b2082610c75565b1515610b2b57600080fd5b600254610b3e908263ffffffff61115016565b60025573c7c03b8a3fc5719066e185ea616e87b88eba44a363a9059cbb838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610ba057600080fd5b5af11515610bad57600080fd5b50505060405180515050600160a060020a0382166326000ba28260405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b1515610bfd57600080fd5b5af11515610c0a57600080fd5b5050507f6e2e2b234d6c1b0fadd2c59ae182cb8570e6bc7a0a0411082d5539c671bece998273c7c03b8a3fc5719066e185ea616e87b88eba44a383604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a15050565b6004546000901515610c8957506000610cca565b600160a060020a038216600081815260056020526040902054600480549091908110610cb157fe5b600091825260209091200154600160a060020a03161490505b919050565b60008054819033600160a060020a03908116911614610cea57fe5b8873c7c03b8a3fc5719066e185ea616e87b88eba44a38989898888610d0d611209565b600160a060020a0397881681529590961660208601526040808601949094526060850192909252608084015260a083015291151560c082015260e0019051809103906000f0801515610d5e57600080fd5b9050610d6b8186866108cd565b5098975050505050505050565b60015433600160a060020a03908116911614610d9357600080fd5b6000546001547f343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a91600160a060020a039081169116604051600160a060020a039283168152911660208201526040908101905180910390a1600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600073c7c03b8a3fc5719066e185ea616e87b88eba44a36370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610e7a57600080fd5b5af11515610e8757600080fd5b50505060405180519150505b90565b610e9f33610c75565b1515610eaa57600080fd5b600354610ebd908263ffffffff61115016565b6003557f525e77d2448a79b0e98aff8273b7fca02fbc5d7e691a4ab35e551d4b135e6dbd8160405190815260200160405180910390a150565b600054600160a060020a031681565b73c7c03b8a3fc5719066e185ea616e87b88eba44a381565b610f2633610c75565b1515610f3157600080fd5b600254610f44908263ffffffff61113d16565b60025550565b600154600160a060020a031681565b6005602052806000526040600020600091509050806000015490806001018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561100b5780601f10610fe05761010080835404028352916020019161100b565b820191906000526020600020905b815481529060010190602001808311610fee57829003601f168201915b5050505050908060020154905083565b60005433600160a060020a0390811691161461103357fe5b600054600160a060020a038281169116141561104e57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600060025461108a610e1f565b14611105576110a960025461109d610e1f565b9063ffffffff61115016565b6003549091506110bf908263ffffffff61113d16565b6003556110ca610e1f565b6002557f48b8ff4fe8ea2ab1b59a975094d8616a92b5b37035d6bbeb92ed27a213046ade8160405190815260200160405180910390a161113a565b7f48b8ff4fe8ea2ab1b59a975094d8616a92b5b37035d6bbeb92ed27a213046ade600060405190815260200160405180910390a15b50565b8181018281101561114a57fe5b92915050565b60008282111561115c57fe5b50900390565b81548183558181151161118657600083815260209020611186918101908301611219565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106111cc57805160ff19168380011785556111f9565b828001600101855582156111f9579182015b828111156111f95782518255916020019190600101906111de565b50611205929150611219565b5090565b604051610d348061123483390190565b610e9391905b80821115611205576000815560010161121f56006060604052341561000f57600080fd5b60405160e080610d348339810160405280805191906020018051919060200180519190602001805191906020018051919060200180519190602001805160008054600160a060020a03338116600160a060020a0319909216821792839055929450911614905061007b57fe5b60028054600160a060020a03988916600160a060020a03199182161790915560038054979098169616959095179095556004929092556005556006556007919091556008805491151560ff1992831617905560006009819055600a8054909216909155600b55610c44806100f06000396000f30060606040526004361061010e5763ffffffff60e060020a60003504166303991aea811461011357806321b8092e1461013857806326000ba2146101595780632e6245c61461016f57806337dafa5b1461018257806338af3eed1461019557806354fd4d50146101c457806363d256ce146101d757806365b2a863146101fe57806369a89b851461021c57806378e979251461022f57806379ba5097146102425780637b24343e1461025557806382b2e2571461027d57806386d1a69f14610290578063872a7810146102a35780638da5cb5b146102b65780639d76ea58146102c9578063b888c479146102dc578063d4ee1d90146102ef578063f2fde38b14610302578063f61ac3a414610321575b600080fd5b341561011e57600080fd5b610126610334565b60405190815260200160405180910390f35b341561014357600080fd5b610157600160a060020a0360043516610415565b005b341561016457600080fd5b610157600435610495565b341561017a57600080fd5b6101266104f9565b341561018d57600080fd5b6101266104ff565b34156101a057600080fd5b6101a8610505565b604051600160a060020a03909116815260200160405180910390f35b34156101cf57600080fd5b610126610514565b34156101e257600080fd5b6101ea61051a565b604051901515815260200160405180910390f35b341561020957600080fd5b6101576004803560248101910135610523565b341561022757600080fd5b61012661075b565b341561023a57600080fd5b610126610761565b341561024d57600080fd5b610157610767565b341561026057600080fd5b610157600160a060020a036004358116906024351660443561080e565b341561028857600080fd5b6101266108b1565b341561029b57600080fd5b61012661091f565b34156102ae57600080fd5b6101ea610a8d565b34156102c157600080fd5b6101a8610a96565b34156102d457600080fd5b6101a8610aa5565b34156102e757600080fd5b610126610ab4565b34156102fa57600080fd5b6101a8610aba565b341561030d57600080fd5b610157600160a060020a0360043516610ac9565b341561032c57600080fd5b610157610b2b565b600354600090819081908190600160a060020a03166370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561038d57600080fd5b5af1151561039a57600080fd5b50505060405180519350508215806103b457504260045410155b156103c2576000935061040f565b6006546005546004546103dc90429063ffffffff610bf316565b8115156103e557fe5b040291506103fe60095483610bf390919063ffffffff16565b90508281111561040b5750815b8093505b50505090565b60005433600160a060020a0390811691161461042d57fe5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790557f66bd5eddcaea62631fc3d03cff2d463154d0c3bf23bb98750762931a81b9428981604051600160a060020a03909116815260200160405180910390a150565b60005433600160a060020a039081169116146104ad57fe5b600b546104c0908263ffffffff610c0516565b600b557fb9a94bb34695fb39c3d607f7377ce796b12d78acc361b308b9718a7e2de221ec8160405190815260200160405180910390a150565b600b5481565b60055481565b600254600160a060020a031681565b60075481565b600a5460ff1681565b6000805433600160a060020a0390811691161461053c57fe5b60085460ff16151561054d57600080fd5b610555610334565b600354600254919250600160a060020a039081169163a9059cbb91168360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156105b557600080fd5b5af115156105c257600080fd5b50505060405180515050600054600160a060020a0316638910cd588260405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b151561061457600080fd5b5af1151561062157600080fd5b5050600054600160a060020a0316905063a3c88b3161063e6108b1565b60405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b151561067457600080fd5b5af1151561068157600080fd5b5050600354600054600160a060020a03918216925063a9059cbb91166106a56108b1565b60405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156106e857600080fd5b5af115156106f557600080fd5b50505060405180519050507f2983ef16ace1cb3d9d816aac0a9461443d6551087d36f18e8a5531c1b8dc43d483836040516020808252810182905280604081018484808284378201915050935050505060405180910390a1600054600160a060020a0316ff5b60065481565b60045481565b60015433600160a060020a0390811691161461078257600080fd5b6000546001547f343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a91600160a060020a039081169116604051600160a060020a039283168152911660208201526040908101905180910390a1600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b60005433600160a060020a0390811691161461082657fe5b600354600160a060020a038481169116141561084157600080fd5b82600160a060020a031663a9059cbb838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561089557600080fd5b5af115156108a257600080fd5b50505060405180515050505050565b600354600090600160a060020a03166370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561090457600080fd5b5af1151561091157600080fd5b505050604051805191505090565b60008061092a610b2b565b60025433600160a060020a0390811691161461094557600080fd5b61094d610334565b90506000811161095c57600080fd5b60095461096f908263ffffffff610c0516565b600955600b54610985908263ffffffff610bf316565b600b55600054600160a060020a0316638910cd588260405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b15156109d057600080fd5b5af115156109dd57600080fd5b5050600354600254600160a060020a03918216925063a9059cbb91168360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610a3d57600080fd5b5af11515610a4a57600080fd5b50505060405180519050507ffb81f9b30d73d830c3544b34d827c08142579ee75710b490bab0b3995468c5658160405190815260200160405180910390a1919050565b60085460ff1681565b600054600160a060020a031681565b600354600160a060020a031681565b60095481565b600154600160a060020a031681565b60005433600160a060020a03908116911614610ae157fe5b600054600160a060020a0382811691161415610afc57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600b54610b386108b1565b14610bf057610b57600b54610b4b6108b1565b9063ffffffff610bf316565b9050610b616108b1565b600b55600054600160a060020a03166359d90c198260405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b1515610bac57600080fd5b5af11515610bb957600080fd5b5050507f48b8ff4fe8ea2ab1b59a975094d8616a92b5b37035d6bbeb92ed27a213046ade8160405190815260200160405180910390a15b50565b600082821115610bff57fe5b50900390565b81810182811015610c1257fe5b929150505600a165627a7a7230582023576b95e03b39f52d4caa56a121b7dbf259fdff72631192cd45acc77a5c86070029a165627a7a72305820c42bbd874bd3c05f6cbf7d3c9b0dd2d1ca8183411ed46b01344900e2685e64fb0029

Swarm Source

bzzr://c42bbd874bd3c05f6cbf7d3c9b0dd2d1ca8183411ed46b01344900e2685e64fb

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.