Contract 0x511bc4556d823ae99630ae8de28b9b80df90ea2e

 

TxHash Block Age From To Value [TxFee]
0x9dc8307d33dda8ce8f9ff5206a49c18f870a31ac093895245265fe4654093e61740865243 secs ago0x9399e74e376a3c54519d751f1169c2346d8ce696 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.00152117
0xe89ffe8f5a206f45c6689b24f85797aadaa08530980957216434f51bab9d9542740853332 mins ago0x4c9d4a1310639da40bd47b68553ed6eb366db22c IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000170038
0x02b767597d50a68fad12040f220d2b404a4fe4e2ea66815068469727595c8b38740852933 mins ago0xe08c5c6d17be3ab837b421723e9215bb9902c9f1 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000170038
0xc3781239fe789fc88e7e61938a0500d739717c5a8a885298a1b271d88ecdfaa2740843153 mins ago0x1509eb8818a162e65434f40e2bd3990ce59712d1 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000537124
0x26b27e07065b518651e9d7e4fe635beb3777019404ef67c18ea08b2ac075ba4074083031 hr 23 mins ago0x804148cfdfd97028ea3dc2e7232fb9a6c109c2eb IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000332806
0xf5d0beb5baebd208239874dafc6a325cbf57248409da048766c11a254b737d4a74082971 hr 24 mins ago0xa59073c0e036edbdb5dc4e88f42bd9b32d6e968b IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.00044212
0x9d33d77a73df022c6056052a21cc29fdfe871a18937ff630f86e705aaa62a06f74082211 hr 41 mins ago0xb3366d16789812bfaac8209b7616e588d284f4ca IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000293423
0x66a37f4739991514b75d37af74b36bb09c073cff7c232b55eb97387be10abd4374082041 hr 46 mins ago0x1687f621aaf6a91c3ad2f8f27225d4c4b66a77b9 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000085019
0x09b9c9663fe7e7b0f28dc3d8f4684383ad341c1afbae174c377f617a35c5cb4f74081851 hr 50 mins ago0xc721978e48b06c80b8f5750d89f30bd75128b735 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000218983
0xed49cf4eb7a7fcaa90d27f390fbcdd760b8fbf8d55e08b435d0c06c05f0ebc3f74081691 hr 52 mins ago0xc721978e48b06c80b8f5750d89f30bd75128b735 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000075004
0x3dcad19dca7cab5647e8637fa01912c404572b46e361245941f076186cd2c5d774081551 hr 55 mins ago0x866092eca9bb0c1bfcf58e84ac807d31dec82edd IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000125743
0x12509b9a06d079f0519779ac01d436eb4a700357bf4afd9793606cce7f2a17bd74080782 hrs 13 mins ago0x939759bd2ccce943430a589231a11f54031c35a6 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000557868
0x0d44dbccbe4886d8280bba338bd88ee147ed8819219cb5936956a3a7d3d88ce774080322 hrs 22 mins ago0x7355591e772f56f84a8b1f0ae3e3f31ebf5c72ba IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.00029221
0x7cbeb59c9965f71229d39712e271fa08c091a8c57579e1fc1288f931617a2e4174078992 hrs 48 mins ago0x337154d86e28ab3992e3eece5ea3298bba41543d IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000582002
0x71606247dadcc8fc6ebc57e0cd649985b329f993f760c17ccaa5526050094c2574078962 hrs 49 mins ago0x8b5a788e821b16a7a6d7e7cc0875e0b91a05035b IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.002350974
0xf5c2f413b9aec70ce5a413f87f016ac4df13756abee380cbec0c5b1849d2fc5c74078533 hrs 2 mins ago0x8ac4e053f8ba265de22aeb6964a4d4c75e1f2f9e IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000539228
0xf45cedfbcda49d029ba1099c8ab35fb4c3e490e042c519831b014b9e3d52f45574077043 hrs 32 mins ago0xe9e284277648fcdb09b8efc1832c73c09b5ecf59 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.0002251956
0x46cde07e195d5b14ba4c05b00885d35dadee0cd2421b6023d9a66a5dd735023574077033 hrs 32 mins ago0x8bdb57603835fe962995fc411bbfbaf53c5142e3 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000200694
0x15ce724a5ca8fa9c621c44fc095c9f35285aca1f3d1114f9f3799b555029728274076953 hrs 35 mins ago0x082c7250964d8ab1f88f379c389ed1a487eaefcc IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000425095
0x3ba280b92d1468342740f13e2ca16147624b459bb7b93b3da8b0c4b9f4bdc88274076703 hrs 41 mins ago0x710eca5dd6a825dcc2ef28f705f1c2326a2b89de IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000467966
0x846dd5c0017cbf6e3641d633f689bf33fe8b59189d78cbd77fb46e94c9ad507074076253 hrs 52 mins ago0xc627b72ed343eb2623f9d1890e56d1fd772eaac1 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000702141
0xd09c5e2390d61eefaa09dafa38d687dc9e88bcf41127d61aa36e78df20dcb6a274076093 hrs 56 mins ago0x1687f621aaf6a91c3ad2f8f27225d4c4b66a77b9 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000085019
0xaebbafdb94756f6791d3a965dabd966d94efc65c4556ba73b1dbf06bfe7300aa74076073 hrs 56 mins ago0x0d807d0ca70448078220efa878d43f61bce3a5c3 IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000170038
0x7bc7c49a3568f9d599db0a49daa172478381b441a75cab5503c0cf0a542e543d74075704 hrs 5 mins ago0xc80599e0a5d2f5de9ae9342ef52c0163b1260d1a IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000170038
0xadc631bfc4a74f845c6e936eaede94b831abeaf1ad9bea04ec981ea82ff27ea474075434 hrs 10 mins ago0x67f3961d25922673a74f70f7f1a39485e84d9d8e IN  0x511bc4556d823ae99630ae8de28b9b80df90ea2e0 Ether0.000728613
[ Download CSV Export 

Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Verified Source Code for Contract 0x1f86cbd67b86c73c9dd59fafbee80d4fd4acaf93

Contract Name:
ManagerProxy

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes

Runs (Optimizer):
200

Contract Source Code

pragma solidity 0.4.18;

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() public {
    owner = msg.sender;
  }


  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }
}

/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused public {
    paused = true;
    Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused public {
    paused = false;
    Unpause();
  }
}

contract IController is Pausable {
    event SetContractInfo(bytes32 id, address contractAddress, bytes20 gitCommitHash);

    function setContractInfo(bytes32 _id, address _contractAddress, bytes20 _gitCommitHash) external;
    function updateController(bytes32 _id, address _controller) external;
    function getContract(bytes32 _id) public view returns (address);
}

contract IManager {
    event SetController(address controller);
    event ParameterUpdate(string param);

    function setController(address _controller) external;
}

contract Manager is IManager {
    // Controller that contract is registered with
    IController public controller;

    // Check if sender is controller
    modifier onlyController() {
        require(msg.sender == address(controller));
        _;
    }

    // Check if sender is controller owner
    modifier onlyControllerOwner() {
        require(msg.sender == controller.owner());
        _;
    }

    // Check if controller is not paused
    modifier whenSystemNotPaused() {
        require(!controller.paused());
        _;
    }

    // Check if controller is paused
    modifier whenSystemPaused() {
        require(controller.paused());
        _;
    }

    function Manager(address _controller) public {
        controller = IController(_controller);
    }

    /*
     * @dev Set controller. Only callable by current controller
     * @param _controller Controller contract address
     */
    function setController(address _controller) external onlyController {
        controller = IController(_controller);

        SetController(_controller);
    }
}

/**
 * @title ManagerProxyTarget
 * @dev The base contract that target contracts used by a proxy contract should inherit from
 * Note: Both the target contract and the proxy contract (implemented as ManagerProxy) MUST inherit from ManagerProxyTarget in order to guarantee
 * that both contracts have the same storage layout. Differing storage layouts in a proxy contract and target contract can
 * potentially break the delegate proxy upgradeability mechanism
 */
contract ManagerProxyTarget is Manager {
    // Used to look up target contract address in controller's registry
    bytes32 public targetContractId;
}

/**
 * @title ManagerProxy
 * @dev A proxy contract that uses delegatecall to execute function calls on a target contract using its own storage context.
 * The target contract is a Manager contract that is registered with the Controller.
 * Note: Both this proxy contract and its target contract MUST inherit from ManagerProxyTarget in order to guarantee
 * that both contracts have the same storage layout. Differing storage layouts in a proxy contract and target contract can
 * potentially break the delegate proxy upgradeability mechanism
 */
contract ManagerProxy is ManagerProxyTarget {
    /**
     * @dev ManagerProxy constructor. Invokes constructor of base Manager contract with provided Controller address.
     * Also, sets the contract ID of the target contract that function calls will be executed on.
     * @param _controller Address of Controller that this contract will be registered with
     * @param _targetContractId contract ID of the target contract
     */
    function ManagerProxy(address _controller, bytes32 _targetContractId) public Manager(_controller) {
        targetContractId = _targetContractId;
    }

    /**
     * @dev Uses delegatecall to execute function calls on this proxy contract's target contract using its own storage context.
     * This fallback function will look up the address of the target contract using the Controller and the target contract ID.
     * It will then use the calldata for a function call as the data payload for a delegatecall on the target contract. The return value
     * of the executed function call will also be returned
     */
    function() public payable {
        address target = controller.getContract(targetContractId);
        // Target contract must be registered
        require(target > 0);

        assembly {
            // Solidity keeps a free memory pointer at position 0x40 in memory
            let freeMemoryPtrPosition := 0x40
            // Load the free memory pointer
            let calldataMemoryOffset := mload(freeMemoryPtrPosition)
            // Update free memory pointer to after memory space we reserve for calldata
            mstore(freeMemoryPtrPosition, add(calldataMemoryOffset, calldatasize))
            // Copy calldata (method signature and params of the call) to memory
            calldatacopy(calldataMemoryOffset, 0x0, calldatasize)

            // Call method on target contract using calldata which is loaded into memory
            let ret := delegatecall(gas, target, calldataMemoryOffset, calldatasize, 0, 0)

            // Load the free memory pointer
            let returndataMemoryOffset := mload(freeMemoryPtrPosition)
            // Update free memory pointer to after memory space we reserve for returndata
            mstore(freeMemoryPtrPosition, add(returndataMemoryOffset, returndatasize))
            // Copy returndata (result of the method invoked by the delegatecall) to memory
            returndatacopy(returndataMemoryOffset, 0x0, returndatasize)

            switch ret
            case 0 {
                // Method call failed - revert
                // Return any error message stored in mem[returndataMemoryOffset..(returndataMemoryOffset + returndatasize)]
                revert(returndataMemoryOffset, returndatasize)
            } default {
                // Return result of method call stored in mem[returndataMemoryOffset..(returndataMemoryOffset + returndatasize)]
                return(returndataMemoryOffset, returndatasize)
            }
        }
    }
}

Contract ABI

[{"constant":true,"inputs":[],"name":"targetContractId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_controller","type":"address"}],"name":"setController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_controller","type":"address"},{"name":"_targetContractId","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"controller","type":"address"}],"name":"SetController","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"param","type":"string"}],"name":"ParameterUpdate","type":"event"}]

Contract Creation Code

6060604052341561000f57600080fd5b6040516040806102c1833981016040528080519190602001805160008054600160a060020a03909516600160a060020a03199095169490941790935550506001556102628061005f6000396000f3006060604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166351720b41811461012957806392eefe9b1461014e578063f77c47911461016f575b60008054600154600160a060020a039091169063e16c7d989083604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff84160281526004810191909152602401602060405180830381600087803b15156100c657600080fd5b6102c65a03f115156100d757600080fd5b50505060405180519150506000600160a060020a038216116100f857600080fd5b60408051368101825236600082376000803683865af482513d810184523d6000823e818015610125573d82f35b3d82fd5b341561013457600080fd5b61013c61019e565b60405190815260200160405180910390f35b341561015957600080fd5b61016d600160a060020a03600435166101a4565b005b341561017a57600080fd5b610182610227565b604051600160a060020a03909116815260200160405180910390f35b60015481565b60005433600160a060020a039081169116146101bf57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790557f4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f7081604051600160a060020a03909116815260200160405180910390a150565b600054600160a060020a0316815600a165627a7a72305820fa5f0289c65e778974a9053cc084cca4243aeff0c7e397916217d67d484740450029000000000000000000000000a94e49bdbb0bfdb920ec1e441b1c408ead94c9bcfc6f6f33d2bb065ac61cbdd4dbe4b7adf6f3e7e6c6a3d1fe297cbf9a187092e4

Swarm Source

bzzr://fa5f0289c65e778974a9053cc084cca4243aeff0c7e397916217d67d48474045
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.