Alarm Contract Address

Live:0xc1cfa6ac1d7cf99bd1e145dcd04ec462b3b0c4da
Testnet:N/A

The full source code for the Alarm service can be found below. I highly encourage you to compile it and verify that the code for advertised contract address matches the the output of the compiled contract below.

The sha256 of the source is 22e574944d660313de5601f3163d0aced1d737755679ea4bfb74d8d5466d426f

If you copy/paste the source code below you may get additional white space. Ensure that there are no leading linebreaks, and that the code ends with the final closing brace of the Alarm contract followed by a newline.

Alternatively, you can use the published 0.2.0 release on github

To verify the compiled code of the contract, you will need to compile the source below with the solc compiler. You will likely need to use the same version used when deploying the contract, Version: 0.1.3-1736fe80/RelWithDebInfo-Darwin/unknown/JIT linked to libethereum-0.9.92-dcf2fd11/RelWithDebInfo-Darwin/unknown/JIT

This version of solc was compiled using the webthree-helpers repository at commit 7d1941c6acb4d886c51052c9d25601d62443e610 and the solidity github repository at commit 1736fe801591085534798fa40b347bab6f471cb3.

$ solc --version
solc, the solidity compiler commandline interface
Version: 0.1.3-1736fe80/RelWithDebInfo-Darwin/unknown/JIT linked to libethereum-0.9.92-dcf2fd11/RelWithDebInfo-Darwin/unknown/JIT

The source was compiled with the command solc --optimize --bin --bin-runtime source.sol where the source code is located in a file named source.sol

To verify the source you check that the bytecode associated with the Alarm service address equals the binary output from the solc compiler when using the --bin-runtime flag.

If you would like to be extra thorough, you should also check the code of both the authorized Relay, unauthorized Relay, and CallerPool addresses (as returned by the alarm contract)

Source Code

/*
 *  Version 0.2.0
 *
 *  address: 0xc1cfa6ac1d7cf99bd1e145dcd04ec462b3b0c4da
 */
contract Relay {
        address operator;
        function Relay() {
                operator = msg.sender;
        }
        function relayCall(address contractAddress, bytes4 abiSignature, bytes data) public returns (bool) {
                if (msg.sender != operator) {
                        __throw();
                }
                return contractAddress.call(abiSignature, data);
        }
        function __throw() internal {
                int[] x;
                x[1];
        }
}
contract CallerPool {
        address operator;
        function CallerPool() {
                operator = msg.sender;
        }
        /*
         *  Caller bonding
         */
        mapping (address => uint) public callerBonds;
        function getMinimumBond() public returns (uint) {
                return tx.gasprice * block.gaslimit;
        }
        function _deductFromBond(address callerAddress, uint value) internal {
                /*
                 *  deduct funds from a bond value without risk of an
                 *  underflow.
                 */
                if (value > callerBonds[callerAddress]) {
                        // Prevent Underflow.
                        __throw();
                }
                callerBonds[callerAddress] -= value;
        }
        function _addToBond(address callerAddress, uint value) internal {
                /*
                 *  Add funds to a bond value without risk of an
                 *  overflow.
                 */
                if (callerBonds[callerAddress] + value < callerBonds[callerAddress]) {
                        // Prevent Overflow
                        __throw();
                }
                callerBonds[callerAddress] += value;
        }
        function depositBond() public {
                _addToBond(msg.sender, msg.value);
        }
        function withdrawBond(uint value) public {
                /*
                 *  Only if you are not in either of the current call pools.
                 */
                if (isInAnyPool(msg.sender)) {
                        // Prevent underflow
                        if (value > callerBonds[msg.sender]) {
                                __throw();
                        }
                        // Don't allow withdrawl if this would drop the bond
                        // balance below the minimum.
                        if (callerBonds[msg.sender] - value < getMinimumBond()) {
                                return;
                        }
                }
                _deductFromBond(msg.sender, value);
                if (!msg.sender.send(value)) {
                        // Potentially sending money to a contract that
                        // has a fallback function.  So instead, try
                        // tranferring the funds with the call api.
                        if (!msg.sender.call.gas(msg.gas).value(value)()) {
                                // Revert the entire transaction.  No
                                // need to destroy the funds.
                                __throw();
                        }
                }
        }
        function() {
                /*
                 *  Fallback function that allows depositing bond funds just by
                 *  sending a transaction.
                 */
                _addToBond(msg.sender, msg.value);
        }
        /*
         *  API used by Alarm service
         */
        function getDesignatedCaller(bytes32 callKey, uint targetBlock, uint8 gracePeriod, uint blockNumber) public returns (address) {
                /*
                 *  Returns the caller from the current call pool who is
                 *  designated as the executor of this call.
                 */
                if (blockNumber < targetBlock || blockNumber > targetBlock + gracePeriod) {
                        // blockNumber not within call window.
                        return 0x0;
                }
                // Pool used is based on the starting block for the call.  This
                // allows us to know that the pool cannot change for at least
                // POOL_FREEZE_NUM_BLOCKS which is kept greater than the max
                // grace period.
                uint poolNumber = getPoolKeyForBlock(targetBlock);
                if (poolNumber == 0) {
                        // No pool currently in operation.
                        return 0x0;
                }
                var pool = callerPools[poolNumber];
                uint numWindows = gracePeriod / 4;
                uint blockWindow = (blockNumber - targetBlock) / 4;
                if (blockWindow + 2 > numWindows) {
                        // We are within the free-for-all period.
                        return 0x0;
                }
                uint offset = uint(callKey) % pool.length;
                return pool[(offset + blockWindow) % pool.length];
        }
        //event AwardedMissedBlockBonus(address indexed fromCaller, address indexed toCaller, uint indexed poolNumber, bytes32 callKey, uint blockNumber, uint bonusAmount);
        function _doBondBonusTransfer(address fromCaller, address toCaller) internal returns (uint) {
                uint bonusAmount = getMinimumBond();
                uint bondBalance = callerBonds[fromCaller];
                // If the bond balance is lower than the award
                // balance, then adjust the reward amount to
                // match the bond balance.
                if (bonusAmount > bondBalance) {
                        bonusAmount = bondBalance;
                }
                // Transfer the funds fromCaller => toCaller
                _deductFromBond(fromCaller, bonusAmount);
                _addToBond(toCaller, bonusAmount);
                return bonusAmount;
        }
        function awardMissedBlockBonus(address toCaller, bytes32 callKey, uint targetBlock, uint8 gracePeriod) public {
                if (msg.sender != operator) {
                        return;
                }
                uint poolNumber = getPoolKeyForBlock(targetBlock);
                var pool = callerPools[poolNumber];
                uint i;
                uint bonusAmount;
                address fromCaller;
                uint numWindows = gracePeriod / 4;
                uint blockWindow = (block.number - targetBlock) / 4;
                // Check if we are within the free-for-all period.  If so, we
                // award from all pool members.
                if (blockWindow + 2 > numWindows) {
                        address firstCaller = getDesignatedCaller(callKey, targetBlock, gracePeriod, targetBlock);
                        for (i = targetBlock; i <= targetBlock + gracePeriod; i += 4) {
                                fromCaller = getDesignatedCaller(callKey, targetBlock, gracePeriod, i);
                                if (fromCaller == firstCaller && i != targetBlock) {
                                        // We have already gone through all of
                                        // the pool callers so we should break
                                        // out of the loop.
                                        break;
                                }
                                if (fromCaller == toCaller) {
                                        continue;
                                }
                                bonusAmount = _doBondBonusTransfer(fromCaller, toCaller);
                                // Log the bonus was awarded.
                                //AwardedMissedBlockBonus(fromCaller, toCaller, poolNumber, callKey, block.number, bonusAmount);
                        }
                        return;
                }
                // Special case for single member and empty pools
                if (pool.length < 2) {
                        return;
                }
                // Otherwise the award comes from the previous caller.
                for (i = 0; i < pool.length; i++) {
                        // Find where the member is in the pool and
                        // award from the previous pool members bond.
                        if (pool[i] == toCaller) {
                                fromCaller = pool[(i + pool.length - 1) % pool.length];
                                bonusAmount = _doBondBonusTransfer(fromCaller, toCaller);
                                // Log the bonus was awarded.
                                //AwardedMissedBlockBonus(fromCaller, toCaller, poolNumber, callKey, block.number, bonusAmount);
                                // Remove the caller from the next pool.
                                if (getNextPoolKey() == 0) {
                                        // This is the first address to modify the
                                        // current pool so we need to setup the next
                                        // pool.
                                        _initiateNextPool();
                                }
                                _removeFromPool(fromCaller, getNextPoolKey());
                                return;
                        }
                }
        }
        /*
         *  Caller Pool Management
         */
        uint[] public poolHistory;
        mapping (uint => address[]) callerPools;
        function getPoolKeyForBlock(uint blockNumber) public returns (uint) {
                if (poolHistory.length == 0) {
                        return 0;
                }
                for (uint i = 0; i < poolHistory.length; i++) {
                        uint poolStartBlock = poolHistory[poolHistory.length - i - 1];
                        if (poolStartBlock <= blockNumber) {
                                return poolStartBlock;
                        }
                }
                return 0;
        }
        function getActivePoolKey() public returns (uint) {
                return getPoolKeyForBlock(block.number);
        }
        function getPoolSize(uint poolKey) returns (uint) {
                return callerPools[poolKey].length;
        }
        function getNextPoolKey() public returns (uint) {
                if (poolHistory.length == 0) {
                        return 0;
                }
                uint latestPool = poolHistory[poolHistory.length - 1];
                if (latestPool > block.number) {
                        return latestPool;
                }
                return 0;
        }
        function isInAnyPool(address callerAddress) public returns (bool) {
                /*
                 *  Returns boolean whether the `callerAddress` is in either
                 *  the current active pool or the next pool.
                 */
                return isInPool(msg.sender, getActivePoolKey()) || isInPool(msg.sender, getNextPoolKey());
        }
        function isInPool(address callerAddress, uint poolNumber) public returns (bool) {
                /*
                 *  Returns boolean whether the `callerAddress` is in the
                 *  poolNumber.
                 */
                if (poolNumber == 0 ) {
                        // Nobody can be in pool 0
                        return false;
                }
                var pool = callerPools[poolNumber];
                // Nobody is in the pool.
                if (pool.length == 0) {
                        return false;
                }
                for (uint i = 0; i < pool.length; i++) {
                        // Address is in the pool and thus is allowed to exit.
                        if (pool[i] == callerAddress) {
                                return true;
                        }
                }
                return false;
        }
        // Ten minutes into the future.
        uint constant POOL_FREEZE_NUM_BLOCKS = 256;
        //uint constant POOL_FREEZE_NUM_BLOCKS = 40;
        function getPoolFreezeDuration() public returns (uint) {
                return POOL_FREEZE_NUM_BLOCKS;
        }
        function getPoolMinimumLength() public returns (uint) {
                return 2 * POOL_FREEZE_NUM_BLOCKS;
        }
        function canEnterPool(address callerAddress) public returns (bool) {
                /*
                 *  Returns boolean whether `callerAddress` is allowed to enter
                 *  the next pool (which may or may not already have been
                 *  created.
                 */
                // Not allowed to join if you are in either the current
                // active pool or the next pool.
                if (isInAnyPool(callerAddress)) {
                        return false;
                }
                // Next pool begins within the POOL_FREEZE_NUM_BLOCKS grace
                // period so no changes are allowed.
                if (getNextPoolKey() != 0 && block.number >= (getNextPoolKey() - POOL_FREEZE_NUM_BLOCKS)) {
                        return false;
                }
                // Account bond balance is too low.
                if (callerBonds[callerAddress] < getMinimumBond()) {
                        return false;
                }
                return true;
        }
        function canExitPool(address callerAddress) public returns (bool) {
                /*
                 *  Returns boolean whether `callerAddress` is allowed to exit
                 *  the current active pool.
                 */
                // Can't exit if we aren't in the current active pool.
                if (!isInPool(callerAddress, getActivePoolKey())) {
                        return false;
                }
                // There is a next pool coming up.
                if (getNextPoolKey() != 0) {
                        // Next pool begins within the POOL_FREEZE_NUM_BLOCKS
                        // window and thus can't be modified.
                        if (block.number >= (getNextPoolKey() - POOL_FREEZE_NUM_BLOCKS)) {
                                return false;
                        }
                        // Next pool was already setup and callerAddress isn't
                        // in it which indicates that they already left.
                        if (!isInPool(callerAddress, getNextPoolKey())) {
                                return false;
                        }
                }
                // They must be in the current pool and either the next pool
                // hasn't been initiated or it has but this user hasn't left
                // yet.
                return true;
        }
        function _initiateNextPool() internal {
                if (getNextPoolKey() != 0) {
                        // If there is already a next pool, we shouldn't
                        // initiate a new one until it has become active.
                        __throw();
                }
                // Set the next pool to start at double the freeze block number
                // in the future.
                uint nextPool = block.number + 2 * POOL_FREEZE_NUM_BLOCKS;
                // Copy the current pool into the next pool.
                callerPools[nextPool] = callerPools[getActivePoolKey()];
                // Randomize the pool order
                _shufflePool(nextPool);
                // Push the next pool into the pool history.
                poolHistory.length += 1;
                poolHistory[poolHistory.length - 1] = nextPool;
        }
        function _shufflePool(uint poolNumber) internal {
                var pool = callerPools[poolNumber];
                uint swapIndex;
                address buffer;
                for (uint i = 0; i < pool.length; i++) {
                        swapIndex = uint(sha3(block.blockhash(block.number), i)) % pool.length;
                        if (swapIndex == i) {
                                continue;
                        }
                        buffer = pool[i];
                        pool[i] = pool[swapIndex];
                        pool[swapIndex] = buffer;
                }
        }
        //event AddedToPool(address indexed callerAddress, uint indexed pool);
        //event RemovedFromPool(address indexed callerAddress, uint indexed pool);
        function _addToPool(address callerAddress, uint poolNumber) internal {
                if (poolNumber == 0 ) {
                        // This shouldn't be called with 0;
                        __throw();
                }
                // already in the pool.
                if (isInPool(callerAddress, poolNumber)) {
                        return;
                }
                var pool = callerPools[poolNumber];
                pool.length += 1;
                pool[pool.length - 1] = callerAddress;
                // Log the addition.
                //AddedToPool(callerAddress, poolNumber);
        }
        function _removeFromPool(address callerAddress, uint poolNumber) internal {
                if (poolNumber == 0 ) {
                        // This shouldn't be called with 0;
                        __throw();
                }
                // nothing to remove.
                if (!isInPool(callerAddress, poolNumber)) {
                        return;
                }
                var pool = callerPools[poolNumber];
                // special case length == 1
                if (pool.length == 1) {
                        pool.length = 0;
                }
                for (uint i = 0; i < pool.length; i++) {
                        // When we find the index of the address to remove we
                        // shift the last person to that location and then we
                        // truncate the last member off of the end.
                        if (pool[i] == callerAddress) {
                                pool[i] = pool[pool.length - 1];
                                pool.length -= 1;
                                break;
                        }
                }
                // Log the addition.
                //RemovedFromPool(callerAddress, poolNumber);
        }
        function enterPool() public {
                /*
                 *  Request to be added to the call pool.
                 */
                if (canEnterPool(msg.sender)) {
                        if (getNextPoolKey() == 0) {
                                // This is the first address to modify the
                                // current pool so we need to setup the next
                                // pool.
                                _initiateNextPool();
                        }
                        _addToPool(msg.sender, getNextPoolKey());
                }
        }
        function exitPool() public {
                /*
                 *  Request to be removed from the call pool.
                 */
                if (canExitPool(msg.sender)) {
                        if (getNextPoolKey() == 0) {
                                // This is the first address to modify the
                                // current pool so we need to setup the next
                                // pool.
                                _initiateNextPool();
                        }
                        _removeFromPool(msg.sender, getNextPoolKey());
                }
        }
        function __throw() internal {
                int[] x;
                x[1];
        }
}
contract Alarm {
        /*
         *  Administration API
         *
         *  There is currently no special administrative API beyond the hard
         *  coded owner address which receives 1% of each executed call.  This
         *  eliminates any need for trust as nobody has any special access.
         */
        function Alarm() {
                unauthorizedRelay = new Relay();
                authorizedRelay = new Relay();
                callerPool = new CallerPool();
        }
        address constant owner = 0xd3cda913deb6f67967b99d67acdfa1712c293601;
        /*
         *  Account Management API
         */
        mapping (address => uint) public accountBalances;
        function _deductFunds(address accountAddress, uint value) internal {
                /*
                 *  Helper function that should be used for any reduction of
                 *  account funds.  It has error checking to prevent
                 *  underflowing the account balance which would be REALLY bad.
                 */
                if (value > accountBalances[accountAddress]) {
                        // Prevent Underflow.
                        __throw();
                }
                accountBalances[accountAddress] -= value;
        }
        function _addFunds(address accountAddress, uint value) internal {
                /*
                 *  Helper function that should be used for any addition of
                 *  account funds.  It has error checking to prevent
                 *  overflowing the account balance.
                 */
                if (accountBalances[accountAddress] + value < accountBalances[accountAddress]) {
                        // Prevent Overflow.
                        __throw();
                }
                accountBalances[accountAddress] += value;
        }
        //event Deposit(address indexed _from, address indexed accountAddress, uint value);
        function deposit(address accountAddress) public {
                /*
                 *  Public API for depositing funds in a specified account.
                 */
                _addFunds(accountAddress, msg.value);
                //Deposit(msg.sender, accountAddress, msg.value);
        }
        //event Withdraw(address indexed accountAddress, uint value);
        function withdraw(uint value) public {
                /*
                 *  Public API for withdrawing funds.
                 */
                if (accountBalances[msg.sender] >= value) {
                        _deductFunds(msg.sender, value);
                        if (!msg.sender.send(value)) {
                                // Potentially sending money to a contract that
                                // has a fallback function.  So instead, try
                                // tranferring the funds with the call api.
                                if (!msg.sender.call.gas(msg.gas).value(value)()) {
                                        // Revert the entire transaction.  No
                                        // need to destroy the funds.
                                        __throw();
                                }
                        }
                        //Withdraw(msg.sender, value);
                }
        }
        function() {
                /*
                 *  Fallback function that allows depositing funds just by
                 *  sending a transaction.
                 */
                _addFunds(msg.sender, msg.value);
                //Deposit(msg.sender, msg.sender, msg.value);
        }
        /*
         *  Call tracking API
         */
        struct Node {
                bytes32 callKey;
                bytes32 left;
                bytes32 right;
        }
        bytes32 public rootNodeCallKey;
        mapping (bytes32 => Node) call_to_node;
        function _getTreeMaxBlock(bytes32 callKey) internal returns (uint) {
                /*
                 *  Returns the greatest block number for all calls in the
                 *  section of the call tree denoted by callKey.
                 */
                Node currentNode = call_to_node[callKey];
                while (true) {
                        if (currentNode.right == 0x0) {
                                return key_to_calls[currentNode.callKey].targetBlock;
                        }
                        currentNode = call_to_node[currentNode.right];
                }
        }
        function _shouldGoLeft(bytes32 callKey, uint blockNumber) internal returns (bool) {
                /*
                 * not if left is empty
                 * not if current node was already called
                 * not if current node is in the past or current block.
                 * not if left node is in the past.
                 */
                Node currentNode = call_to_node[callKey];
                // Nowhere to go.
                if (currentNode.left == 0x0) {
                        return false;
                }
                Call currentCall = key_to_calls[callKey];
                // Current call is already in the past or is up next.
                if (currentCall.targetBlock <= blockNumber) {
                        return false;
                }
                // Left call is in the past
                if (blockNumber > _getTreeMaxBlock(currentNode.left)) {
                        return false;
                }
                return true;
        }
        function _shouldGoRight(bytes32 callKey, uint blockNumber) internal returns (bool) {
                /*
                 * not if right is empty.
                 * not if current node is already in the future.
                 * not if current node is equal to targetBlock and it isn't already called.
                 *
                 */
                Node currentNode = call_to_node[callKey];
                // Nowhere to go.
                if (currentNode.right == 0x0) {
                        return false;
                }
                Call currentCall = key_to_calls[callKey];
                // Current call is already in the future
                if (currentCall.targetBlock > blockNumber) {
                        return false;
                }
                // Current call equals the desired block number and has not
                // been called yet and is not cancelled.
                if (currentCall.targetBlock == blockNumber) {
                        return false;
                }
                return true;
        }
        function getNextBlockWithCall(uint blockNumber) public returns (uint) {
                bytes32 nextCallKey = getNextCallKey(blockNumber);
                if (nextCallKey == 0x0) {
                        return 0;
                }
                return key_to_calls[nextCallKey].targetBlock;
        }
        function getNextCallKey(uint blockNumber) public returns (bytes32) {
                if (rootNodeCallKey == 0x0) {
                        // No calls registered
                        return 0x0;
                }
                Node currentNode = call_to_node[rootNodeCallKey];
                while (true) {
                        if (_shouldGoLeft(currentNode.callKey, blockNumber)) {
                                currentNode = call_to_node[currentNode.left];
                                continue;
                        }
                        if (_shouldGoRight(currentNode.callKey, blockNumber)) {
                                currentNode = call_to_node[currentNode.right];
                                continue;
                        }
                        // Not if it is before the blockNumber
                        if (key_to_calls[currentNode.callKey].targetBlock < blockNumber) {
                                return 0x0;
                        }
                        // Then it must be the next one.
                        return currentNode.callKey;
                }
        }
        function _isBlockNumberInTree(bytes32 callKey, uint blockNumber) internal returns (bool) {
                var node = call_to_node[callKey];
                while (true) {
                        var call = key_to_calls[node.callKey];
                        if (call.targetBlock == blockNumber) {
                                return true;
                        }
                        if (node.left != 0x0 && call.targetBlock > blockNumber) {
                                node = call_to_node[node.left];
                                continue;
                        }
                        if (node.right != 0x0 && call.targetBlock < blockNumber) {
                                node = call_to_node[node.right];
                                continue;
                        }
                        return false;
                }
        }
        function getNextCallSibling(bytes32 callKey) public returns (bytes32) {
                /*
                 *  Returns the callKey any subsequent calls that have the same
                 *  block number as the provided callKey.  If there are no
                 *  subsequent calls with the same block number returns 0x0
                 */
                var node = call_to_node[callKey];
                var call = key_to_calls[callKey];
                uint targetBlock = call.targetBlock;
                while (true) {
                        if (node.right != 0x0 && _isBlockNumberInTree(node.right, targetBlock)) {
                                node = call_to_node[node.right];
                                call = key_to_calls[node.callKey];
                                if (call.targetBlock == targetBlock) {
                                        return node.callKey;
                                }
                                continue;
                        }
                        if (node.left != 0x0 && _isBlockNumberInTree(node.left, targetBlock)) {
                                node = call_to_node[node.left];
                                call = key_to_calls[node.callKey];
                                if (call.targetBlock == targetBlock) {
                                        return node.callKey;
                                }
                                continue;
                        }
                        return 0x0;
                }
        }
        function getCallLeftChild(bytes32 callKey) public returns (bytes32) {
                return call_to_node[callKey].left;
        }
        function getCallRightChild(bytes32 callKey) public returns (bytes32) {
                return call_to_node[callKey].right;
        }
        //event CallPlacedInTree(bytes32 indexed callKey);
        function placeCallInTree(bytes32 callKey) internal {
                /*
                 * Calls are stored in a tree structure.  Each tree node
                 * represents a single call.  Nodes have a left and right
                 * child.  The left child represents a call that should happen
                 * before the node.  The right child represents a call that
                 * should happen after the node.
                 */
                Call targetCall = key_to_calls[callKey];
                if (callKey == call_to_node[callKey].callKey) {
                        // This call key is already placed in the tree.
                        return;
                }
                if (rootNodeCallKey == 0x0) {
                        // This is the first call placement and thus should be
                        // set as the root node.
                        rootNodeCallKey = callKey;
                }
                Node currentNode = call_to_node[rootNodeCallKey];
                while (true) {
                        if (currentNode.callKey == 0x0) {
                                // This is a new node and should be mapped 
                                currentNode.callKey = callKey;
                                //CallPlacedInTree(callKey);
                                return;
                        }
                        Call currentCall = key_to_calls[currentNode.callKey];
                        if (targetCall.targetBlock < currentCall.targetBlock) {
                                // Call should occure before the current node
                                // and thus should exist in the left subtree.
                                if (currentNode.left == 0x0) {
                                        currentNode.left = callKey;
                                }
                                currentNode = call_to_node[currentNode.left];
                                continue;
                        }
                        // Call should occur after the current node and thus
                        // should exist in the right subtree.
                        if (currentNode.right == 0x0) {
                                currentNode.right = callKey;
                        }
                        currentNode = call_to_node[currentNode.right];
                }
        }
        //event TreeRotatedRight(bytes32 indexed oldRootNodeCallKey, bytes32 indexed newRootNodeCallKey);
        function _rotateRight() internal {
                /*
                 *  1. Detatch the left child of the root node.  This is the
                 *     new root node.
                 *  2. Detatch the right child of the new root node.
                 *  3. Set the old root node as the right child of the new root node.
                 *  4. Set the detatched right child from the new root node in
                 *     the appropriate location in the tree.
                 */
                var oldRootNode = call_to_node[rootNodeCallKey];
                var newRootNode = call_to_node[oldRootNode.left];
                // #1
                oldRootNode.left = 0x0;
                rootNodeCallKey = newRootNode.callKey;
                // #2
                bytes32 detatchedChildCallKey = newRootNode.right;
                newRootNode.right = 0x0;
                // #3
                newRootNode.right = oldRootNode.callKey;
                // #4
                if (detatchedChildCallKey != 0x0) {
                        // First reset the node to not have a callKey,
                        // otherwise the call to `placeCallInTree` will exit
                        // early thinking this node is already placed.
                        var detatchedChildNode = call_to_node[detatchedChildCallKey];
                        detatchedChildNode.callKey = 0x0;
                        // Now place it at it's new location in the tree.
                        placeCallInTree(detatchedChildCallKey);
                }
                //TreeRotatedRight(oldRootNode.callKey, newRootNode.callKey);
        }
        function _shouldRotateRight() internal returns (bool) {
                /*
                 *  Is the left child of the rootNode in the future of the
                 *  current block number.
                 */
                if (rootNodeCallKey == 0x0) {
                        return false;
                }
                var currentRoot = call_to_node[rootNodeCallKey];
                // No left child so cant rotate right.
                if (currentRoot.left == 0x0) {
                        return false;
                }
                // Current root already in the past.
                if (key_to_calls[rootNodeCallKey].targetBlock <= block.number) {
                        return false;
                }
                return true;
        }
        //event TreeRotatedLeft(bytes32 indexed oldRootNodeCallKey, bytes32 indexed newRootNodeCallKey);
        function _rotateLeft() internal {
                /*
                 *  1. Detatch the right child of the root node.  This is the
                 *     new root node.
                 *  2. Detatch the left child of the new root node.
                 *  3. Set the old root node as the left child of the new root node.
                 *  4. Set the detatched left child from the new root node in
                 *     the appropriate location in the tree.
                 */
                var oldRootNode = call_to_node[rootNodeCallKey];
                var newRootNode = call_to_node[oldRootNode.right];
                // #1
                oldRootNode.right = 0x0;
                rootNodeCallKey = newRootNode.callKey;
                // #2
                bytes32 detatchedChildCallKey = newRootNode.left;
                // #3
                newRootNode.left = oldRootNode.callKey;
                // #4
                if (detatchedChildCallKey != 0x0) {
                        // First reset the node to not have a callKey,
                        // otherwise the call to `placeCallInTree` will exit
                        // early thinking this node is already placed.
                        var detatchedChildNode = call_to_node[detatchedChildCallKey];
                        detatchedChildNode.callKey = 0x0;
                        // Now place it at it's new location in the tree.
                        placeCallInTree(detatchedChildCallKey);
                }
                //TreeRotatedLeft(oldRootNode.callKey, newRootNode.callKey);
        }
        function _shouldRotateLeft() internal returns (bool) {
                /*
                 *  We should rotate left if both the current root node, and
                 *  its right child are both in the past.
                 */
                // Empty call tree.
                if (rootNodeCallKey == 0x0) {
                        return false;
                }
                var currentRoot = call_to_node[rootNodeCallKey];
                // No right child so cant rotate left.
                if (currentRoot.right == 0x0) {
                        return false;
                }
                // Current root already in the future.
                if (key_to_calls[rootNodeCallKey].targetBlock >= block.number) {
                        return false;
                }
                if (key_to_calls[currentRoot.right].targetBlock >= block.number) {
                        return false;
                }
                return true;
        }
        function rotateTree() public {
                /*
                 *  Shifts the root node of the tree so that the root node is
                 *  the tree node prior to the next scheduled call.
                 */
                if (rootNodeCallKey == 0x0) {
                        // No root node (empty tree)
                        return;
                }
                var currentRoot = call_to_node[rootNodeCallKey];
                var rootBlockNumber = key_to_calls[rootNodeCallKey].targetBlock;
                // The current root is in the past so we can potentially rotate
                // the tree to the left to increase the root block number.
                if (rootBlockNumber < block.number) {
                        while (_shouldRotateLeft()) {
                                _rotateLeft();
                        }
                        return;
                }
                // The current root is in the future so we can potentially
                // rotate the tree to the right to decrease the root block
                // number.
                if (rootBlockNumber > block.number) {
                        while (_shouldRotateRight()) {
                                _rotateRight();
                        }
                }
        }
        /*
         *  Scheduling Authorization API
         */
        Relay unauthorizedRelay;
        Relay authorizedRelay;
        function unauthorizedAddress() public returns (address) {
                return address(unauthorizedRelay);
        }
        function authorizedAddress() public returns (address) {
                return address(authorizedRelay);
        }
        mapping (bytes32 => bool) accountAuthorizations;
        function addAuthorization(address schedulerAddress) public {
                accountAuthorizations[sha3(schedulerAddress, msg.sender)] = true;
        }
        function removeAuthorization(address schedulerAddress) public {
                accountAuthorizations[sha3(schedulerAddress, msg.sender)] = false;
        }
        function checkAuthorization(address schedulerAddress, address contractAddress) public returns (bool) {
                return accountAuthorizations[sha3(schedulerAddress, contractAddress)];
        }
        /*
         *  Call Information API
         */
        bytes32 lastCallKey;
        function getLastCallKey() public returns (bytes32) {
                return lastCallKey;
        }
        struct Call {
                address contractAddress;
                address scheduledBy;
                uint calledAtBlock;
                uint targetBlock;
                uint8 gracePeriod;
                uint nonce;
                uint baseGasPrice;
                uint gasPrice;
                uint gasUsed;
                uint gasCost;
                uint payout;
                uint fee;
                address executedBy;
                bytes4 abiSignature;
                bool isCancelled;
                bool wasCalled;
                bool wasSuccessful;
                bytes32 dataHash;
        }
        mapping (bytes32 => Call) key_to_calls;
        /*
         *  Getter methods for `Call` information
         */
        function getCallContractAddress(bytes32 callKey) public returns (address) {
                return key_to_calls[callKey].contractAddress;
        }
        function getCallScheduledBy(bytes32 callKey) public returns (address) {
                return key_to_calls[callKey].scheduledBy;
        }
        function getCallCalledAtBlock(bytes32 callKey) public returns (uint) {
                return key_to_calls[callKey].calledAtBlock;
        }
        function getCallGracePeriod(bytes32 callKey) public returns (uint) {
                return key_to_calls[callKey].gracePeriod;
        }
        function getCallTargetBlock(bytes32 callKey) public returns (uint) {
                return key_to_calls[callKey].targetBlock;
        }
        function getCallBaseGasPrice(bytes32 callKey) public returns (uint) {
                return key_to_calls[callKey].baseGasPrice;
        }
        function getCallGasPrice(bytes32 callKey) public returns (uint) {
                return key_to_calls[callKey].gasPrice;
        }
        function getCallGasUsed(bytes32 callKey) public returns (uint) {
                return key_to_calls[callKey].gasUsed;
        }
        function getCallABISignature(bytes32 callKey) public returns (bytes4) {
                return key_to_calls[callKey].abiSignature;
        }
        function checkIfCalled(bytes32 callKey) public returns (bool) {
                return key_to_calls[callKey].wasCalled;
        }
        function checkIfSuccess(bytes32 callKey) public returns (bool) {
                return key_to_calls[callKey].wasSuccessful;
        }
        function checkIfCancelled(bytes32 callKey) public returns (bool) {
                return key_to_calls[callKey].isCancelled;
        }
        function getCallDataHash(bytes32 callKey) public returns (bytes32) {
                return key_to_calls[callKey].dataHash;
        }
        function getCallPayout(bytes32 callKey) public returns (uint) {
                return key_to_calls[callKey].payout;
        }
        function getCallFee(bytes32 callKey) public returns (uint) {
                return key_to_calls[callKey].fee;
        }
        /*
         *  Data Registry API
         */
        bytes lastData;
        uint lastDataLength;
        bytes32 lastDataHash;
        //function getLastDataHash() public returns (bytes32) {
        //        return lastDataHash;
        //}
        //function getLastDataLength() public returns (uint) {
        //        return lastDataLength;
        //}
        //function getLastData() public returns (bytes) {
        //        return lastData;
        //}
        function getCallData(bytes32 callKey) public returns (bytes) {
                return hash_to_data[key_to_calls[callKey].dataHash];
        }
        mapping (bytes32 => bytes) hash_to_data;
        /*
         *  Data registration API
         */
        //event DataRegistered(bytes32 indexed dataHash);
        function registerData() public {
                bytes trunc;
                if (msg.data.length > 4) {
                        trunc.length = msg.data.length - 4;
                        for (uint i = 0; i < trunc.length; i++) {
                                trunc[trunc.length - 1 - i] = msg.data[msg.data.length - 1 - i];
                        }
                }
                hash_to_data[sha3(trunc)] = trunc;
                lastDataHash = sha3(trunc);
                lastDataLength = trunc.length;
                lastData = trunc;
                // Log it.
                //DataRegistered(lastDataHash);
        }
        /*
         *  Call execution API
         */
        CallerPool callerPool;
        function getCallerPoolAddress() public returns (address) {
                return address(callerPool);
        }
        // This number represents the constant gas cost of the addition
        // operations that occur in `doCall` that cannot be tracked with
        // msg.gas.
        //
        // NOTE: Currently this value seems to vary between 151761 and 151697.
        // Until I can understand why this is happening, or account for it, we
        // use the higher value.
        uint constant EXTRA_CALL_GAS = 151761;
        // uint constant EXTRA_CALL_GAS = 151697;
        // This number represents the overall overhead involved in executing a
        // scheduled call.
        uint constant CALL_OVERHEAD = 145601;
        //event CallExecuted(address indexed executedBy, bytes32 indexed callKey);
        //event CallAborted(address indexed executedBy, bytes32 indexed callKey, bytes18 reason);
        function doCall(bytes32 callKey) public {
                uint gasBefore = msg.gas;
                var call = key_to_calls[callKey];
                if (call.wasCalled) {
                        // The call has already been executed so don't do it again.
                        //CallAborted(msg.sender, callKey, "ALREADY CALLED");
                        return;
                }
                if (call.isCancelled) {
                        // The call was cancelled so don't execute it.
                        //CallAborted(msg.sender, callKey, "CANCELLED");
                        return;
                }
                if (call.contractAddress == 0x0) {
                        // This call key doesnt map to a registered call.
                        //CallAborted(msg.sender, callKey, "UNKNOWN");
                        return;
                }
                if (block.number < call.targetBlock) {
                        // Target block hasnt happened yet.
                        //CallAborted(msg.sender, callKey, "TOO EARLY");
                        return;
                }
                if (block.number > call.targetBlock + call.gracePeriod) {
                        // The blockchain has advanced passed the period where
                        // it was allowed to be called.
                        //CallAborted(msg.sender, callKey, "TOO LATE");
                        return;
                }
                uint heldBalance = getCallMaxCost(callKey);
                if (accountBalances[call.scheduledBy] < heldBalance) {
                        // The scheduledBy's account balance is less than the
                        // current gasLimit and thus potentiall can't pay for
                        // the call.
                        // Mark it as called since it was.
                        call.wasCalled = true;
                        // Log it.
                        //CallAborted(msg.sender, callKey, "INSUFFICIENT_FUNDS");
                        return;
                }
                // Check if this caller is allowed to execute the call.
                if (callerPool.getPoolSize(callerPool.getActivePoolKey()) > 0) {
                        address poolCaller = callerPool.getDesignatedCaller(callKey, call.targetBlock, call.gracePeriod, block.number);
                        if (poolCaller != 0x0 && poolCaller != msg.sender) {
                                // This call was reserved for someone from the
                                // bonded pool of callers and can only be
                                // called by them during this block window.
                                //CallAborted(msg.sender, callKey, "WRONG_CALLER");
                                return;
                        }
                        uint blockWindow = (block.number - call.targetBlock) / 4;
                        if (blockWindow > 0) {
                                // Someone missed their call so this caller
                                // gets to claim their bond for picking up
                                // their slack.
                                callerPool.awardMissedBlockBonus(msg.sender, callKey, call.targetBlock, call.gracePeriod);
                        }
                }
                // Log metadata about the call.
                call.gasPrice = tx.gasprice;
                call.executedBy = msg.sender;
                call.calledAtBlock = block.number;
                // Fetch the call data
                var data = getCallData(callKey);
                // During the call, we need to put enough funds to pay for the
                // call on hold to ensure they are available to pay the caller.
                _deductFunds(call.scheduledBy, heldBalance);
                // Mark whether the function call was successful.
                if (checkAuthorization(call.scheduledBy, call.contractAddress)) {
                        call.wasSuccessful = authorizedRelay.relayCall.gas(msg.gas - CALL_OVERHEAD)(call.contractAddress, call.abiSignature, data);
                }
                else {
                        call.wasSuccessful = unauthorizedRelay.relayCall.gas(msg.gas - CALL_OVERHEAD)(call.contractAddress, call.abiSignature, data);
                }
                // Add the held funds back into the scheduler's account.
                _addFunds(call.scheduledBy, heldBalance);
                // Mark the call as having been executed.
                call.wasCalled = true;
                // Log the call execution.
                //CallExecuted(msg.sender, callKey);
                // Compute the scalar (0 - 200) for the fee.
                uint feeScalar = getCallFeeScalar(call.baseGasPrice, call.gasPrice);
                // Log how much gas this call used.  EXTRA_CALL_GAS is a fixed
                // amount that represents the gas usage of the commands that
                // happen after this line.
                call.gasUsed = (gasBefore - msg.gas + EXTRA_CALL_GAS);
                call.gasCost = call.gasUsed * call.gasPrice;
                // Now we need to pay the caller as well as keep fee.
                // callerPayout -> call cost + 1%
                // fee -> 1% of callerPayout
                call.payout = call.gasCost * feeScalar * 101 / 10000;
                call.fee = call.gasCost * feeScalar / 10000;
                _deductFunds(call.scheduledBy, call.payout + call.fee);
                _addFunds(msg.sender, call.payout);
                _addFunds(owner, call.fee);
        }
        function getCallMaxCost(bytes32 callKey) public returns (uint) {
                /*
                 *  tx.gasprice * block.gaslimit
                 *  
                 */
                // call cost + 2%
                var call = key_to_calls[callKey];
                uint gasCost = tx.gasprice * block.gaslimit;
                uint feeScalar = getCallFeeScalar(call.baseGasPrice, tx.gasprice);
                return gasCost * feeScalar * 102 / 10000;
        }
        function getCallFeeScalar(uint baseGasPrice, uint gasPrice) public returns (uint) {
                /*
                 *  Return a number between 0 - 200 to scale the fee based on
                 *  the gas price set for the calling transaction as compared
                 *  to the gas price of the scheduling transaction.
                 *
                 *  - number approaches zero as the transaction gas price goes
                 *  above the gas price recorded when the call was scheduled.
                 *
                 *  - the number approaches 200 as the transaction gas price
                 *  drops under the price recorded when the call was scheduled.
                 *
                 *  This encourages lower gas costs as the lower the gas price
                 *  for the executing transaction, the higher the payout to the
                 *  caller.
                 */
                if (gasPrice > baseGasPrice) {
                        return 100 * baseGasPrice / gasPrice;
                }
                else {
                        return 200 - 100 * baseGasPrice / (2 * baseGasPrice - gasPrice);
                }
        }
        /*
         *  Call Scheduling API
         */
        // The result of `sha()` so that we can validate that people aren't
        // looking up call data that failed to register.
        bytes32 constant emptyDataHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        function getCallKey(address scheduledBy, address contractAddress, bytes4 abiSignature, bytes32 dataHash, uint targetBlock, uint8 gracePeriod, uint nonce) public returns (bytes32) {
                return sha3(scheduledBy, contractAddress, abiSignature, dataHash, targetBlock, gracePeriod, nonce);
        }
        // Ten minutes into the future.
        uint constant MAX_BLOCKS_IN_FUTURE = 40;
        //event CallScheduled(bytes32 indexed callKey);
        //event CallRejected(bytes32 indexed callKey, bytes15 reason);
        function scheduleCall(address contractAddress, bytes4 abiSignature, bytes32 dataHash, uint targetBlock, uint8 gracePeriod, uint nonce) public {
                /*
                 * Primary API for scheduling a call.  Prior to calling this
                 * the data should already have been registered through the
                 * `registerData` API.
                 */
                bytes32 callKey = getCallKey(msg.sender, contractAddress, abiSignature, dataHash, targetBlock, gracePeriod, nonce);
                if (dataHash != emptyDataHash && hash_to_data[dataHash].length == 0) {
                        // Don't allow registering calls if the data hash has
                        // not actually been registered.  The only exception is
                        // the *emptyDataHash*.
                        //CallRejected(callKey, "NO_DATA");
                        return;
                }
                if (targetBlock < block.number + MAX_BLOCKS_IN_FUTURE) {
                        // Don't allow scheduling further than
                        // MAX_BLOCKS_IN_FUTURE
                        //CallRejected(callKey, "TOO_SOON");
                        return;
                }
                var call = key_to_calls[callKey];
                if (call.contractAddress != 0x0) {
                        //CallRejected(callKey, "DUPLICATE");
                        return;
                }
                if (gracePeriod < 16) {
                        //CallRejected(callKey, "GRACE_TOO_SHORT");
                        return;
                }
                lastCallKey = callKey;
                call.contractAddress = contractAddress;
                call.scheduledBy = msg.sender;
                call.nonce = nonce;
                call.abiSignature = abiSignature;
                call.dataHash = dataHash;
                call.targetBlock = targetBlock;
                call.gracePeriod = gracePeriod;
                call.baseGasPrice = tx.gasprice;
                placeCallInTree(lastCallKey);
                rotateTree();
                //CallScheduled(lastCallKey);
        }
        //event CallCancelled(bytes32 indexed callKey);
        // Two minutes
        uint constant MIN_CANCEL_WINDOW = 8;
        function cancelCall(bytes32 callKey) public {
                var call = key_to_calls[callKey];
                if (call.scheduledBy != msg.sender) {
                        // Nobody but the scheduler can cancel a call.
                        return;
                }
                if (call.wasCalled) {
                        // No need to cancel a call that already was executed.
                        return;
                }
                if (call.targetBlock - MIN_CANCEL_WINDOW <= block.number) {
                        // Call cannot be cancelled this close to execution.
                        return;
                }
                call.isCancelled = true;
                //CallCancelled(callKey);
        }
        function __throw() internal {
                int[] x;
                x[1];
        }
}

Compiled Binary

solc --optimize --bin --bin-runtime source.sol
======= Alarm =======
Binary: 
6060604052606061016e8061009d833901809050604051809103906000f060405160038054600160a060020a0319169290921790915561016e8061020b833901809050604051809103906000f060405160048054600160a060020a03191692909217909155610d9b80610379833901809050604051809103906000f0600c8054600160a060020a031916919091179055611a1f806111146000396000f3606060405260008054600160a060020a0319163317905561014a806100246000396000f3606060405260e060020a6000350463e8b1d0f3811461001b575b005b60806020601f6044356004818101359283018490049093028401604052606082815261009e949335936024803594606494909101918190838280828437509495505050505050600080543373ffffffffffffffffffffffffffffffffffffffff9081169116146100b0576100b06000806001815481101561000257505080805250565b60408051918252519081900360200190f35b8373ffffffffffffffffffffffffffffffffffffffff168360e060020a9004836040518260e060020a028152600401808280519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156101295780820380516001836020036101000a031916815260200191505b509150506000604051808303816000876161da5a03f197965050505050505056606060405260008054600160a060020a0319163317905561014a806100246000396000f3606060405260e060020a6000350463e8b1d0f3811461001b575b005b60806020601f6044356004818101359283018490049093028401604052606082815261009e949335936024803594606494909101918190838280828437509495505050505050600080543373ffffffffffffffffffffffffffffffffffffffff9081169116146100b0576100b06000806001815481101561000257505080805250565b60408051918252519081900360200190f35b8373ffffffffffffffffffffffffffffffffffffffff168360e060020a9004836040518260e060020a028152600401808280519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156101295780820380516001836020036101000a031916815260200191505b509150506000604051808303816000876161da5a03f197965050505050505056606060405260008054600160a060020a03191633179055610d77806100246000396000f3606060405236156100e55760e060020a600035046319f74e1f811461012957806323306ed614610147578063299179541461015257806350a3bd391461015e5780635ae348681461016a5780636595f73a14610175578063741b3c391461019057806384c92c9a146101985780638dd5e298146101ad578063910789c4146101bf5780639d12f0f5146101fc578063a6814e8e14610250578063aec918c71461025f578063b010d94a1461027f578063bc966ddc14610294578063c3daab961461029f578063c4afc3fb146102ae578063c861cd66146102c9578063e8543d0d146102e1575b6103265b61032833345b600160a060020a0382166000908152600160205260409020548082011015610359576103595b600080600181548110156100025750508052565b61032a6004356024355b600060006000836000141561077e57610776565b61032a5b3a45025b90565b6103266108ef33610286565b6103266108b3336101b4565b61032a61020061014f565b61032a6004356000818152600360205260409020545b919050565b6103266100e9565b61032a6004355b600061075333610765610254565b61032a6004355b60006107ee8261019f565b61032a60043560028054829081101561000257506000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace015481565b61032660043560243560443560643560006000600060006000600060006000600060009054906101000a9004600160a060020a0316600160a060020a031633600160a060020a03161415156104de57610576565b61032a5b60006106f743610266565b61032a6004355b6000600060006002600050546000141561068f57610688565b61032a6004355b600061086282610765610254565b61032a61010061014f565b61032660043561037b3361019f565b61032a5b600060006002600050546000141561070757610703565b61032a60043560016020526000908152604090205481565b61033c6004356024356044356064355b6000600060006000600060008887108061030f57508760ff16890187115b1561045657600095505b5050505050949350505050565b005b565b60408051918252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b600160a060020a03821660009081526001602052604090208054820190555050565b156103d657600160a060020a0333166000908152600160205260409020548111156103a8576103a8610115565b6103b061014b565b600160a060020a03331660009081526001602052604090205482900310156103d6575b50565b61040433825b600160a060020a03821660009081526001602052604090205481111561091857610918610115565b604051600160a060020a03331690600090839082818181858883f1935050505015156103d35733600160a060020a03165a60405183906000818181858888f1935050505015156103d3576103d3610115565b61045f89610266565b945084600014156104735760009550610319565b60008581526003602052604090209350600460ff89811682900416935089880304915060028201839011156104ab5760009550610319565b508254808a069084908284018190069081101561000257600091825260209091200154600160a060020a03169550610319565b6104e78a610266565b60008181526003602052604090209098509650600460ff8a8116829004169350438b90030491506002820183901115610526576105358b8b8b8d6102f1565b6002875410156105c657610576565b8a965090505b60ff89168a018611610576576105538b8b8b896102f1565b9350600160a060020a038481169082161480156105705750898614155b15610593575b505050505050505050505050565b94505b6004959095019461053b565b8b600160a060020a031684600160a060020a031614156105b257610587565b610584848d5b60006000600061093b61014b565b600095505b8654861015610576578b600160a060020a03168787815481101561000257600091825260209091200154600160a060020a0316141561063657868754600189548901030681548110156100025760206000200154600160a060020a031694506106429050848d6105b8565b600195909501946105cb565b945061064c6102b2565b60001415610662576106625b60006109816102b2565b6105768461066e6102b2565b600060008260001415610b8d57610b8d610115565b600092505b5050919050565b600091505b60025482101561068357600280548381036000190190811015610002576000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace015490508381116106eb57809250610688565b60019190910190610694565b905061014f565b600091505b5090565b60028054600019810190811015610002576000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01549050438111156106fe57809150610703565b8061076a575061076a336107656102b2565b610133565b905061018b565b600092505b505092915050565b6000848152600360205260408120805490935014156107a05760009250610776565b5060005b81548110156107715784600160a060020a03168282815481101561000257600091825260209091200154600160a060020a031614156107e65760019250610776565b6001016107a4565b156107fb5750600061018b565b6108036102b2565b60001415801561081e57506101006108196102b2565b034310155b1561082b5750600061018b565b61083361014b565b600160a060020a038316600090815260016020526040902054101561085a5750600061018b565b50600161018b565b15156108705750600061018b565b6108786102b2565b60001461085a5761010061088a6102b2565b0343106108995750600061018b565b6108a5826107656102b2565b151561085a5750600061018b565b15610328576108c06102b2565b600014156108d0576108d0610658565b610328336108dc6102b2565b60008160001415610b3a57610b3a610115565b15610328576108fc6102b2565b6000141561090c5761090c610658565b6103283361066e6102b2565b600160a060020a0382166000908152600160205260409020805482900390555050565b600160a060020a038616600090815260016020526040902054909250905080821115610965579050805b61096f85836103dc565b61097984836100ef565b819250610776565b60001461099057610990610115565b506102004301600360006109a2610254565b81526020818101929092526040908101600090812084825260038452918120825481548183558284529490922090938101928215610a015760005260206000209182015b82811115610a015782548255916001019190600101906109e6565b50610a279291505b80821115610703578054600160a060020a0319168155600101610a09565b5050610a748160008181526003602052604081209080805b8354811015610cbf578354604080514340815260208101849052815190819003909101902006925082811415610cc657610d6f565b6002805460018101808355919082908015829011610ab557818360005260206000209182019101610ab591905b808211156107035760008155600101610aa1565b505060028054849350909150600019810190811015610002575080546000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acd015550565b50505050828160018354038154811015610002575050815460008381526020902001600019018054600160a060020a03191690911790555b505050565b610b448383610133565b15610b4e57610b35565b50600081815260036020526040902080546001810180835590829082908015829011610afd57818360005260206000209182019101610afd9190610aa1565b610b978484610133565b1515610ba257610cb1565b6000838152600360205260409020805490925060011415610bec5760008281815481835581811511610be757818360005260206000209182019101610be79190610aa1565b505050505b5060005b8154811015610cb15783600160a060020a03168282815481101561000257600091825260209091200154600160a060020a03161415610cb757816001835403815481101561000257906000526020600020900160009054906101000a9004600160a060020a031682828154811015610002576020600020018054600160a060020a031916909217909155508154600019810180845590839082908015829011610cac57818360005260206000209182019101610cac9190610aa1565b505050505b50505050565b600101610bf0565b5050505050565b8381815481101561000257508054600082815260209020830154600160a060020a03169350849081101561000257906000526020600020900160009054906101000a9004600160a060020a0316848281548110156100025750602060002083018054600160a060020a03191690921790915550835482908590859081101561000257906000526020600020900160006101000a815481600160a060020a03021916908302179055505b600101610a3f56606060405236156101cc5760e060020a6000350463022bc71f811461020f57806303d6d7b614610284578063086ae9e4146102af57806309c975df146102cd578063234917d4146102f05780632874fb171461030d5780632a472ae8146103255780632e1a7d4d1461034c57806334c19b931461037c57806335b281531461039c5780633664a0ea146103e75780633de62275146103f157806352afbc33146103fa57806353a0dc7d146104225780635539d4001461049557806360b831e5146104a9578063662fc8a0146104dc578063685c234a146104f05780636ff96d171461053d5780636ffc089614610555578063754286151461057c57806377b19cd51461060757806378bc6460146106245780638b37e65614610642578063930df7b11461066857806394d2b21b1461068557806394f3f81d14610699578063a9743c68146106e3578063aa4cc01f14610700578063aa6704da14610727578063b0f07e4414610742578063b1b1af7b1461078f578063cd062734146107ad578063da0774ad146107d7578063e19eb0dd146107f8578063e40986551461080b578063f340fa0114610828578063f9f447eb14610838578063fc30052214610855578063fcf3691814610872575b6103e56108c933345b600160a060020a0382166000908152602081905260409020548082011015610968576109685b600080600181548110156100025750508052565b6108cb60043560008181526002602090815260408083206007909252822060038101545b6002830154600014801590610b2857506002830154610b2890825b6000828152600260205260408120815b50805460009081526007602052604090206003810154841415611810576001925061175a565b6108cb6004355b600081815260076020526040812060068101543a45810291849161161491906107e1565b6108cb6004356000818152600760205260409020600801545b919050565b6108dd600435600081815260076020526040902054600160a060020a03166102c8565b6108cb6004356000818152600760205260409020600301546102c8565b6103e55b6001546000908190811415610bd357610987565b6108cb6004356000818152600760205260409020600c015460c860020a900460ff166102c8565b6103e5600435600160a060020a03331660009081526020819052604090205481901061098b5761098e33826109f7565b6108cb60043560008181526007602052604090206004015460ff166102c8565b60408051600435600160a060020a03908116606060020a9081028352339190911602601482015281519081900360280190206000908152600560205220805460ff191660011790555b005b6108cb6006545b90565b6108cb60015481565b6103e560043560243560443560643560843560a4356000600061163c3389898989898961043b565b6108cb60043560243560443560643560843560a43560c4355b60408051600160a060020a03988916606060020a90810282529790981690960260148801526028870194909452602c860192909252604c85015260ff1660f860020a02606c840152606d8301525190819003608d01902090565b6108dd600454600160a060020a03166103ee565b6103e560043560008181526007602052604090206001810154600160a060020a039081163391909116146116d657610987565b6108dd600c54600160a060020a03166103ee565b6108cb6004356024355b60408051600160a060020a03848116606060020a9081028352908416026014820152815190819003602801902060009081526005602052205460ff165b92915050565b6108cb60043560006020819052908152604090205481565b6108cb6004356000818152600760205260409020600c015460d060020a900460ff166102c8565b6108fa6004355b6040805160208181018352600080835284815260078252838120600d01548152600b825283902080548451601f820184900484028101840190955280855292939290918301828280156105fb57820191906000526020600020905b8154815290600101906020018083116105de57829003601f168201915b505050505090506102c8565b6108cb6004356000818152600760205260409020600601546102c8565b6108cb600435600081815260076020819052604090912001546102c8565b6108dd600435600081815260076020526040902060010154600160a060020a03166102c8565b6108cb6004356000818152600260205260409020600101546102c8565b6108dd600354600160a060020a03166103ee565b60408051600435600160a060020a03908116606060020a9081028352339190911602601482015281519081900360280190206000908152600560205220805460ff191690556103e5565b6108cb6004356000818152600760205260409020600a01546102c8565b6108cb6004356000818152600760205260409020600c015460c060020a900460ff166102c8565b6108cb6004355b6001546000908190811415610a4e57610a34565b6103e56000806004361115610dd75760046000369050038281815481835581811511610d3557601f016020900481601f01602090048360005260206000209182019101610d359190610dba565b6108cb600435600081815260026020819052604090912001546102c8565b6108cb6004356000818152600760205260409020600c015460a060020a900460e060020a026102c8565b6108cb6004356024355b600082821115611627578183606402049050610537565b6108cb60043560006000610a3a8361072e565b6108cb6004356000818152600760205260409020600201546102c8565b6103e560043561098b81346101d5565b6108cb6004356000818152600760205260409020600d01546102c8565b6108cb6004356000818152600760205260409020600b01546102c8565b6103e560043560006000600060006000602060405190810160405280600081526020015060005a888252600760205260408220600c810154919850965060c860020a900460ff1615611004575b5050505050505050565b565b60408051918252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f16801561095a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600160a060020a03821660009081526020819052604090208054820190555b5050565b50565b604051600160a060020a03331690600090839082818181858883f19350505050151561098b5733600160a060020a03165a60405183906000818181858888f19350505050151561098b5761098b6101fb565b600187015490925061130d90600160a060020a0316865b600160a060020a038216600090815260208190526040902054811115611732576117326101fb565b60008181526007602052604090206003015491505b50919050565b90506000811415610a1f5760009150610a34565b5060015460009081526002602052604090205b8054610a8990846000828152600260205260408120600181015482908114156117625761175a565b15610aa557600101546000908152600260205260409020610a61565b8054610ace9084600082815260026020819052604082209081015482908114156117d65761175a565b15610aed57600290810154600090815260209190915260409020610a61565b805460009081526007602052604090206003015483901015610b125760009150610a34565b80549150610a34565b600093505b505050919050565b15610b655760029283015460009081526020938452604080822080548352600790955290206003810154909250811415610b845782549350610b20565b6001830154600014801590610b8957506001830154610b89908261024e565b610233565b15610b1b576001929092015460009081526002602090815260408083208054845260079092529091206003810154919390925090811415610b845782600001600050549350610b20565b5050600154600090815260026020908152604080832060079092529091206003015443811015610c15575b610c3a600154600090819081141561199057610dd3565b43811115610987575b610cb6600154600090819081141561194557610dd3565b610987565b15610c3557610cb160018054600090815260026020819052604080832091820180548452908320908390558054845592830180548254909155909291818114610ffe5760026000506000838152602001908152602001600020600050905060006001028160000160005081905550610ffe82610fd8565b610bfe565b1561098757610d3060018054600090815260026020819052604080832080850180548552918420918490558154909455908101805483825584549091559091818114610ffe5760026000506000838152602001908152602001600020600050905060006001028160000160005081905550610ffe82610fd8565b610c1e565b50505050600090505b8154811015610dd75760003682810360001901908110156100025790013560f860020a900460f860020a0282826001855403038154811015610002579060005260206000209060209182820401919006601f036101000a81548160ff0219169060f860020a84040217905550600101610d3e565b50610e7e9291505b80821115610dd35760008155600101610dba565b600191505b5090565b81600b600050600084604051808280548015610e0f57820191906000526020600020905b815481529060010190602001808311610dfb575b50509150506040518091039020815260200190815260200160002060005090805482805482825590600052602060002090601f01602090048101928215610db257600052602060002091601f016020900482015b82811115610db2578254825591600101919060010190610e63565b505081604051808280548015610eb057820191906000526020600020905b815481529060010190602001808311610e9c575b5050604051908190039020600a5550508154600981905560088054828255600082905290916020601f92909201919091047ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee39081019190858215610f3c57600052602060002091601f016020900482015b82811115610f3c578254825591600101919060010190610f21565b50610ffe929150610dba565b6006828155815473ffffffffffffffffffffffffffffffffffffffff199081168a1783556001830180549091163317905560058201849055600c8201805477ffffffff0000000000000000000000000000000000000000191660a060020a60e060020a8b0402179055600d82018790556003820186905560048201805460ff1916861790553a82820155546116ce905b60008181526007602090815260408083206002909252822054909190819084141561188c575b50505050565b600c86015460c060020a900460ff161561101d576108bf565b8554600160a060020a031660001415611035576108bf565b6003860154431015611046576108bf565b6003860154600487015460ff1601431115611060576108bf565b6110698861028b565b6001870154600160a060020a0316600090815260208190526040902054909550859010156110ae57600c8601805460c860020a60ff02191660c860020a1790556108bf565b60408051600c547fa6814e8e0000000000000000000000000000000000000000000000000000000082529151600092600160a060020a031691636595f73a91839163a6814e8e916004828101926020929190829003018189876161da5a03f1156100025750506040805180517f6595f73a0000000000000000000000000000000000000000000000000000000082526004820152905160248281019350602092829003018187876161da5a03f115610002575050506040515111156112d75760408051600c54600389015460048a8101547fe8543d0d0000000000000000000000000000000000000000000000000000000085529084018d9052602484019190915260ff1660448301524360648301529151600160a060020a03929092169163e8543d0d9160848181019260209290919082900301816000876161da5a03f1156100025750505060405151935083600160a060020a0316600014158015611227575033600160a060020a031684600160a060020a031614155b15611231576108bf565b60048660030160005054430304925060008311156112d757604080516003880154600c5460048a8101547f9d12f0f5000000000000000000000000000000000000000000000000000000008552600160a060020a0333811692860192909252602485018e9052604485019390935260ff9290921660648401529251921691639d12f0f591608481810192600092909190829003018183876161da5a03f115610002575050505b3a6007870155600c8601805473ffffffffffffffffffffffffffffffffffffffff1916331790554360028701556109e088610583565b8554600187015461132a91600160a060020a0391821691166104fa565b1561143b57600454600160a060020a031663e8b1d0f3620238c15a038860000160009054906101000a9004600160a060020a031689600c0160149054906101000a900460e060020a02866040518560e060020a0281526004018084600160a060020a03168152602001838152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156113f55780820380516001836020036101000a031916815260200191505b5094505050505060206040518083038160008887f11561000257505060405151600c8901805460d060020a60ff02191660d060020a909202919091179055506115429050565b600354600160a060020a031663e8b1d0f3620238c15a038860000160009054906101000a9004600160a060020a031689600c0160149054906101000a900460e060020a02866040518560e060020a0281526004018084600160a060020a03168152602001838152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156115015780820380516001836020036101000a031916815260200191505b5094505050505060206040518083038160008887f11561000257505060405151600c8901805460d060020a60ff02191660d060020a90920291909117905550505b600186015461155a90600160a060020a0316866101d5565b600c8601805460c860020a60ff02191660c860020a1790556006860154600787015461158691906107e1565b9050620250d15a880301600887018190556007870154026009870181905561271090820260658102829004600a8901819055919004600b880181905560018801546115de92600160a060020a039190911691016109f7565b6115ef3387600a01600050546101d5565b6108bf73d3cda913deb6f67967b99d67acdfa1712c29360187600b01600050546101d5565b9050612710818302606602049350610b20565b818360020203836064020460c8039050610537565b91507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470861480159061167a57506000868152600b6020526040812054145b15611684576108bf565b60284301851015611694576108bf565b50600081815260076020526040812080549091600160a060020a0391909116146116bd576108bf565b60108460ff161015610f48576108bf565b6108bf610311565b600c81015460c860020a900460ff16156116ef57610987565b600381015443600719919091011161170657610987565b600c01805478ff000000000000000000000000000000000000000000000000191660c060020a17905550565b600160a060020a0382166000908152602081905260409020805482900390555050565b600192505b505092915050565b5060008481526007602052604090206003810154849011611786576000925061175a565b60018201546117c69060008181526002602052604081205b600281015460001415611a055780546000908152600760205260409020600301549150610a34565b841115611755576000925061175a565b5060008481526007602052604090206003810154849011156117fb576000925061175a565b6003810154841415611755576000925061175a565b6001820154600014801590611829575060038101548490115b15611849576001919091015460009081526002602052604090209061025e565b6002820154600014801590611862575060038101548490105b1561188357600291820154600090815260209290925260409091209061025e565b6000925061175a565b6001546000141561189d5760018490555b600154600090815260026020526040902091505b8154600014156118c357838255610ffe565b5080546000908152600760205260409020600381810154908401541015611914576001820154600014156118f957600182018490555b600191909101546000908152600260205260409020906118b1565b60028201546000141561192957600282018490555b60029182015460009081526020929092526040909120906118b1565b5060018054600090815260026020526040812091820154141561196b5760009150610dd3565b600154600090815260076020526040902060030154439011610dce5760009150610dd3565b506001546000908152600260208190526040822090810154909114156119b95760009150610dd3565b6001546000908152600760205260409020600301544390106119de5760009150610dd3565b6002810154600090815260076020526040902060030154439010610dce5760009150610dd3565b60029081015460009081526020919091526040902061179e56
Binary of the runtime part: 
606060405236156101cc5760e060020a6000350463022bc71f811461020f57806303d6d7b614610284578063086ae9e4146102af57806309c975df146102cd578063234917d4146102f05780632874fb171461030d5780632a472ae8146103255780632e1a7d4d1461034c57806334c19b931461037c57806335b281531461039c5780633664a0ea146103e75780633de62275146103f157806352afbc33146103fa57806353a0dc7d146104225780635539d4001461049557806360b831e5146104a9578063662fc8a0146104dc578063685c234a146104f05780636ff96d171461053d5780636ffc089614610555578063754286151461057c57806377b19cd51461060757806378bc6460146106245780638b37e65614610642578063930df7b11461066857806394d2b21b1461068557806394f3f81d14610699578063a9743c68146106e3578063aa4cc01f14610700578063aa6704da14610727578063b0f07e4414610742578063b1b1af7b1461078f578063cd062734146107ad578063da0774ad146107d7578063e19eb0dd146107f8578063e40986551461080b578063f340fa0114610828578063f9f447eb14610838578063fc30052214610855578063fcf3691814610872575b6103e56108c933345b600160a060020a0382166000908152602081905260409020548082011015610968576109685b600080600181548110156100025750508052565b6108cb60043560008181526002602090815260408083206007909252822060038101545b6002830154600014801590610b2857506002830154610b2890825b6000828152600260205260408120815b50805460009081526007602052604090206003810154841415611810576001925061175a565b6108cb6004355b600081815260076020526040812060068101543a45810291849161161491906107e1565b6108cb6004356000818152600760205260409020600801545b919050565b6108dd600435600081815260076020526040902054600160a060020a03166102c8565b6108cb6004356000818152600760205260409020600301546102c8565b6103e55b6001546000908190811415610bd357610987565b6108cb6004356000818152600760205260409020600c015460c860020a900460ff166102c8565b6103e5600435600160a060020a03331660009081526020819052604090205481901061098b5761098e33826109f7565b6108cb60043560008181526007602052604090206004015460ff166102c8565b60408051600435600160a060020a03908116606060020a9081028352339190911602601482015281519081900360280190206000908152600560205220805460ff191660011790555b005b6108cb6006545b90565b6108cb60015481565b6103e560043560243560443560643560843560a4356000600061163c3389898989898961043b565b6108cb60043560243560443560643560843560a43560c4355b60408051600160a060020a03988916606060020a90810282529790981690960260148801526028870194909452602c860192909252604c85015260ff1660f860020a02606c840152606d8301525190819003608d01902090565b6108dd600454600160a060020a03166103ee565b6103e560043560008181526007602052604090206001810154600160a060020a039081163391909116146116d657610987565b6108dd600c54600160a060020a03166103ee565b6108cb6004356024355b60408051600160a060020a03848116606060020a9081028352908416026014820152815190819003602801902060009081526005602052205460ff165b92915050565b6108cb60043560006020819052908152604090205481565b6108cb6004356000818152600760205260409020600c015460d060020a900460ff166102c8565b6108fa6004355b6040805160208181018352600080835284815260078252838120600d01548152600b825283902080548451601f820184900484028101840190955280855292939290918301828280156105fb57820191906000526020600020905b8154815290600101906020018083116105de57829003601f168201915b505050505090506102c8565b6108cb6004356000818152600760205260409020600601546102c8565b6108cb600435600081815260076020819052604090912001546102c8565b6108dd600435600081815260076020526040902060010154600160a060020a03166102c8565b6108cb6004356000818152600260205260409020600101546102c8565b6108dd600354600160a060020a03166103ee565b60408051600435600160a060020a03908116606060020a9081028352339190911602601482015281519081900360280190206000908152600560205220805460ff191690556103e5565b6108cb6004356000818152600760205260409020600a01546102c8565b6108cb6004356000818152600760205260409020600c015460c060020a900460ff166102c8565b6108cb6004355b6001546000908190811415610a4e57610a34565b6103e56000806004361115610dd75760046000369050038281815481835581811511610d3557601f016020900481601f01602090048360005260206000209182019101610d359190610dba565b6108cb600435600081815260026020819052604090912001546102c8565b6108cb6004356000818152600760205260409020600c015460a060020a900460e060020a026102c8565b6108cb6004356024355b600082821115611627578183606402049050610537565b6108cb60043560006000610a3a8361072e565b6108cb6004356000818152600760205260409020600201546102c8565b6103e560043561098b81346101d5565b6108cb6004356000818152600760205260409020600d01546102c8565b6108cb6004356000818152600760205260409020600b01546102c8565b6103e560043560006000600060006000602060405190810160405280600081526020015060005a888252600760205260408220600c810154919850965060c860020a900460ff1615611004575b5050505050505050565b565b60408051918252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f16801561095a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600160a060020a03821660009081526020819052604090208054820190555b5050565b50565b604051600160a060020a03331690600090839082818181858883f19350505050151561098b5733600160a060020a03165a60405183906000818181858888f19350505050151561098b5761098b6101fb565b600187015490925061130d90600160a060020a0316865b600160a060020a038216600090815260208190526040902054811115611732576117326101fb565b60008181526007602052604090206003015491505b50919050565b90506000811415610a1f5760009150610a34565b5060015460009081526002602052604090205b8054610a8990846000828152600260205260408120600181015482908114156117625761175a565b15610aa557600101546000908152600260205260409020610a61565b8054610ace9084600082815260026020819052604082209081015482908114156117d65761175a565b15610aed57600290810154600090815260209190915260409020610a61565b805460009081526007602052604090206003015483901015610b125760009150610a34565b80549150610a34565b600093505b505050919050565b15610b655760029283015460009081526020938452604080822080548352600790955290206003810154909250811415610b845782549350610b20565b6001830154600014801590610b8957506001830154610b89908261024e565b610233565b15610b1b576001929092015460009081526002602090815260408083208054845260079092529091206003810154919390925090811415610b845782600001600050549350610b20565b5050600154600090815260026020908152604080832060079092529091206003015443811015610c15575b610c3a600154600090819081141561199057610dd3565b43811115610987575b610cb6600154600090819081141561194557610dd3565b610987565b15610c3557610cb160018054600090815260026020819052604080832091820180548452908320908390558054845592830180548254909155909291818114610ffe5760026000506000838152602001908152602001600020600050905060006001028160000160005081905550610ffe82610fd8565b610bfe565b1561098757610d3060018054600090815260026020819052604080832080850180548552918420918490558154909455908101805483825584549091559091818114610ffe5760026000506000838152602001908152602001600020600050905060006001028160000160005081905550610ffe82610fd8565b610c1e565b50505050600090505b8154811015610dd75760003682810360001901908110156100025790013560f860020a900460f860020a0282826001855403038154811015610002579060005260206000209060209182820401919006601f036101000a81548160ff0219169060f860020a84040217905550600101610d3e565b50610e7e9291505b80821115610dd35760008155600101610dba565b600191505b5090565b81600b600050600084604051808280548015610e0f57820191906000526020600020905b815481529060010190602001808311610dfb575b50509150506040518091039020815260200190815260200160002060005090805482805482825590600052602060002090601f01602090048101928215610db257600052602060002091601f016020900482015b82811115610db2578254825591600101919060010190610e63565b505081604051808280548015610eb057820191906000526020600020905b815481529060010190602001808311610e9c575b5050604051908190039020600a5550508154600981905560088054828255600082905290916020601f92909201919091047ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee39081019190858215610f3c57600052602060002091601f016020900482015b82811115610f3c578254825591600101919060010190610f21565b50610ffe929150610dba565b6006828155815473ffffffffffffffffffffffffffffffffffffffff199081168a1783556001830180549091163317905560058201849055600c8201805477ffffffff0000000000000000000000000000000000000000191660a060020a60e060020a8b0402179055600d82018790556003820186905560048201805460ff1916861790553a82820155546116ce905b60008181526007602090815260408083206002909252822054909190819084141561188c575b50505050565b600c86015460c060020a900460ff161561101d576108bf565b8554600160a060020a031660001415611035576108bf565b6003860154431015611046576108bf565b6003860154600487015460ff1601431115611060576108bf565b6110698861028b565b6001870154600160a060020a0316600090815260208190526040902054909550859010156110ae57600c8601805460c860020a60ff02191660c860020a1790556108bf565b60408051600c547fa6814e8e0000000000000000000000000000000000000000000000000000000082529151600092600160a060020a031691636595f73a91839163a6814e8e916004828101926020929190829003018189876161da5a03f1156100025750506040805180517f6595f73a0000000000000000000000000000000000000000000000000000000082526004820152905160248281019350602092829003018187876161da5a03f115610002575050506040515111156112d75760408051600c54600389015460048a8101547fe8543d0d0000000000000000000000000000000000000000000000000000000085529084018d9052602484019190915260ff1660448301524360648301529151600160a060020a03929092169163e8543d0d9160848181019260209290919082900301816000876161da5a03f1156100025750505060405151935083600160a060020a0316600014158015611227575033600160a060020a031684600160a060020a031614155b15611231576108bf565b60048660030160005054430304925060008311156112d757604080516003880154600c5460048a8101547f9d12f0f5000000000000000000000000000000000000000000000000000000008552600160a060020a0333811692860192909252602485018e9052604485019390935260ff9290921660648401529251921691639d12f0f591608481810192600092909190829003018183876161da5a03f115610002575050505b3a6007870155600c8601805473ffffffffffffffffffffffffffffffffffffffff1916331790554360028701556109e088610583565b8554600187015461132a91600160a060020a0391821691166104fa565b1561143b57600454600160a060020a031663e8b1d0f3620238c15a038860000160009054906101000a9004600160a060020a031689600c0160149054906101000a900460e060020a02866040518560e060020a0281526004018084600160a060020a03168152602001838152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156113f55780820380516001836020036101000a031916815260200191505b5094505050505060206040518083038160008887f11561000257505060405151600c8901805460d060020a60ff02191660d060020a909202919091179055506115429050565b600354600160a060020a031663e8b1d0f3620238c15a038860000160009054906101000a9004600160a060020a031689600c0160149054906101000a900460e060020a02866040518560e060020a0281526004018084600160a060020a03168152602001838152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156115015780820380516001836020036101000a031916815260200191505b5094505050505060206040518083038160008887f11561000257505060405151600c8901805460d060020a60ff02191660d060020a90920291909117905550505b600186015461155a90600160a060020a0316866101d5565b600c8601805460c860020a60ff02191660c860020a1790556006860154600787015461158691906107e1565b9050620250d15a880301600887018190556007870154026009870181905561271090820260658102829004600a8901819055919004600b880181905560018801546115de92600160a060020a039190911691016109f7565b6115ef3387600a01600050546101d5565b6108bf73d3cda913deb6f67967b99d67acdfa1712c29360187600b01600050546101d5565b9050612710818302606602049350610b20565b818360020203836064020460c8039050610537565b91507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470861480159061167a57506000868152600b6020526040812054145b15611684576108bf565b60284301851015611694576108bf565b50600081815260076020526040812080549091600160a060020a0391909116146116bd576108bf565b60108460ff161015610f48576108bf565b6108bf610311565b600c81015460c860020a900460ff16156116ef57610987565b600381015443600719919091011161170657610987565b600c01805478ff000000000000000000000000000000000000000000000000191660c060020a17905550565b600160a060020a0382166000908152602081905260409020805482900390555050565b600192505b505092915050565b5060008481526007602052604090206003810154849011611786576000925061175a565b60018201546117c69060008181526002602052604081205b600281015460001415611a055780546000908152600760205260409020600301549150610a34565b841115611755576000925061175a565b5060008481526007602052604090206003810154849011156117fb576000925061175a565b6003810154841415611755576000925061175a565b6001820154600014801590611829575060038101548490115b15611849576001919091015460009081526002602052604090209061025e565b6002820154600014801590611862575060038101548490105b1561188357600291820154600090815260209290925260409091209061025e565b6000925061175a565b6001546000141561189d5760018490555b600154600090815260026020526040902091505b8154600014156118c357838255610ffe565b5080546000908152600760205260409020600381810154908401541015611914576001820154600014156118f957600182018490555b600191909101546000908152600260205260409020906118b1565b60028201546000141561192957600282018490555b60029182015460009081526020929092526040909120906118b1565b5060018054600090815260026020526040812091820154141561196b5760009150610dd3565b600154600090815260076020526040902060030154439011610dce5760009150610dd3565b506001546000908152600260208190526040822090810154909114156119b95760009150610dd3565b6001546000908152600760205260409020600301544390106119de5760009150610dd3565b6002810154600090815260076020526040902060030154439010610dce5760009150610dd3565b60029081015460009081526020919091526040902061179e56
======= CallerPool =======
Binary: 
606060405260008054600160a060020a03191633179055610d77806100246000396000f3606060405236156100e55760e060020a600035046319f74e1f811461012957806323306ed614610147578063299179541461015257806350a3bd391461015e5780635ae348681461016a5780636595f73a14610175578063741b3c391461019057806384c92c9a146101985780638dd5e298146101ad578063910789c4146101bf5780639d12f0f5146101fc578063a6814e8e14610250578063aec918c71461025f578063b010d94a1461027f578063bc966ddc14610294578063c3daab961461029f578063c4afc3fb146102ae578063c861cd66146102c9578063e8543d0d146102e1575b6103265b61032833345b600160a060020a0382166000908152600160205260409020548082011015610359576103595b600080600181548110156100025750508052565b61032a6004356024355b600060006000836000141561077e57610776565b61032a5b3a45025b90565b6103266108ef33610286565b6103266108b3336101b4565b61032a61020061014f565b61032a6004356000818152600360205260409020545b919050565b6103266100e9565b61032a6004355b600061075333610765610254565b61032a6004355b60006107ee8261019f565b61032a60043560028054829081101561000257506000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace015481565b61032660043560243560443560643560006000600060006000600060006000600060009054906101000a9004600160a060020a0316600160a060020a031633600160a060020a03161415156104de57610576565b61032a5b60006106f743610266565b61032a6004355b6000600060006002600050546000141561068f57610688565b61032a6004355b600061086282610765610254565b61032a61010061014f565b61032660043561037b3361019f565b61032a5b600060006002600050546000141561070757610703565b61032a60043560016020526000908152604090205481565b61033c6004356024356044356064355b6000600060006000600060008887108061030f57508760ff16890187115b1561045657600095505b5050505050949350505050565b005b565b60408051918252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b600160a060020a03821660009081526001602052604090208054820190555050565b156103d657600160a060020a0333166000908152600160205260409020548111156103a8576103a8610115565b6103b061014b565b600160a060020a03331660009081526001602052604090205482900310156103d6575b50565b61040433825b600160a060020a03821660009081526001602052604090205481111561091857610918610115565b604051600160a060020a03331690600090839082818181858883f1935050505015156103d35733600160a060020a03165a60405183906000818181858888f1935050505015156103d3576103d3610115565b61045f89610266565b945084600014156104735760009550610319565b60008581526003602052604090209350600460ff89811682900416935089880304915060028201839011156104ab5760009550610319565b508254808a069084908284018190069081101561000257600091825260209091200154600160a060020a03169550610319565b6104e78a610266565b60008181526003602052604090209098509650600460ff8a8116829004169350438b90030491506002820183901115610526576105358b8b8b8d6102f1565b6002875410156105c657610576565b8a965090505b60ff89168a018611610576576105538b8b8b896102f1565b9350600160a060020a038481169082161480156105705750898614155b15610593575b505050505050505050505050565b94505b6004959095019461053b565b8b600160a060020a031684600160a060020a031614156105b257610587565b610584848d5b60006000600061093b61014b565b600095505b8654861015610576578b600160a060020a03168787815481101561000257600091825260209091200154600160a060020a0316141561063657868754600189548901030681548110156100025760206000200154600160a060020a031694506106429050848d6105b8565b600195909501946105cb565b945061064c6102b2565b60001415610662576106625b60006109816102b2565b6105768461066e6102b2565b600060008260001415610b8d57610b8d610115565b600092505b5050919050565b600091505b60025482101561068357600280548381036000190190811015610002576000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace015490508381116106eb57809250610688565b60019190910190610694565b905061014f565b600091505b5090565b60028054600019810190811015610002576000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01549050438111156106fe57809150610703565b8061076a575061076a336107656102b2565b610133565b905061018b565b600092505b505092915050565b6000848152600360205260408120805490935014156107a05760009250610776565b5060005b81548110156107715784600160a060020a03168282815481101561000257600091825260209091200154600160a060020a031614156107e65760019250610776565b6001016107a4565b156107fb5750600061018b565b6108036102b2565b60001415801561081e57506101006108196102b2565b034310155b1561082b5750600061018b565b61083361014b565b600160a060020a038316600090815260016020526040902054101561085a5750600061018b565b50600161018b565b15156108705750600061018b565b6108786102b2565b60001461085a5761010061088a6102b2565b0343106108995750600061018b565b6108a5826107656102b2565b151561085a5750600061018b565b15610328576108c06102b2565b600014156108d0576108d0610658565b610328336108dc6102b2565b60008160001415610b3a57610b3a610115565b15610328576108fc6102b2565b6000141561090c5761090c610658565b6103283361066e6102b2565b600160a060020a0382166000908152600160205260409020805482900390555050565b600160a060020a038616600090815260016020526040902054909250905080821115610965579050805b61096f85836103dc565b61097984836100ef565b819250610776565b60001461099057610990610115565b506102004301600360006109a2610254565b81526020818101929092526040908101600090812084825260038452918120825481548183558284529490922090938101928215610a015760005260206000209182015b82811115610a015782548255916001019190600101906109e6565b50610a279291505b80821115610703578054600160a060020a0319168155600101610a09565b5050610a748160008181526003602052604081209080805b8354811015610cbf578354604080514340815260208101849052815190819003909101902006925082811415610cc657610d6f565b6002805460018101808355919082908015829011610ab557818360005260206000209182019101610ab591905b808211156107035760008155600101610aa1565b505060028054849350909150600019810190811015610002575080546000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acd015550565b50505050828160018354038154811015610002575050815460008381526020902001600019018054600160a060020a03191690911790555b505050565b610b448383610133565b15610b4e57610b35565b50600081815260036020526040902080546001810180835590829082908015829011610afd57818360005260206000209182019101610afd9190610aa1565b610b978484610133565b1515610ba257610cb1565b6000838152600360205260409020805490925060011415610bec5760008281815481835581811511610be757818360005260206000209182019101610be79190610aa1565b505050505b5060005b8154811015610cb15783600160a060020a03168282815481101561000257600091825260209091200154600160a060020a03161415610cb757816001835403815481101561000257906000526020600020900160009054906101000a9004600160a060020a031682828154811015610002576020600020018054600160a060020a031916909217909155508154600019810180845590839082908015829011610cac57818360005260206000209182019101610cac9190610aa1565b505050505b50505050565b600101610bf0565b5050505050565b8381815481101561000257508054600082815260209020830154600160a060020a03169350849081101561000257906000526020600020900160009054906101000a9004600160a060020a0316848281548110156100025750602060002083018054600160a060020a03191690921790915550835482908590859081101561000257906000526020600020900160006101000a815481600160a060020a03021916908302179055505b600101610a3f56
Binary of the runtime part: 
606060405236156100e55760e060020a600035046319f74e1f811461012957806323306ed614610147578063299179541461015257806350a3bd391461015e5780635ae348681461016a5780636595f73a14610175578063741b3c391461019057806384c92c9a146101985780638dd5e298146101ad578063910789c4146101bf5780639d12f0f5146101fc578063a6814e8e14610250578063aec918c71461025f578063b010d94a1461027f578063bc966ddc14610294578063c3daab961461029f578063c4afc3fb146102ae578063c861cd66146102c9578063e8543d0d146102e1575b6103265b61032833345b600160a060020a0382166000908152600160205260409020548082011015610359576103595b600080600181548110156100025750508052565b61032a6004356024355b600060006000836000141561077e57610776565b61032a5b3a45025b90565b6103266108ef33610286565b6103266108b3336101b4565b61032a61020061014f565b61032a6004356000818152600360205260409020545b919050565b6103266100e9565b61032a6004355b600061075333610765610254565b61032a6004355b60006107ee8261019f565b61032a60043560028054829081101561000257506000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace015481565b61032660043560243560443560643560006000600060006000600060006000600060009054906101000a9004600160a060020a0316600160a060020a031633600160a060020a03161415156104de57610576565b61032a5b60006106f743610266565b61032a6004355b6000600060006002600050546000141561068f57610688565b61032a6004355b600061086282610765610254565b61032a61010061014f565b61032660043561037b3361019f565b61032a5b600060006002600050546000141561070757610703565b61032a60043560016020526000908152604090205481565b61033c6004356024356044356064355b6000600060006000600060008887108061030f57508760ff16890187115b1561045657600095505b5050505050949350505050565b005b565b60408051918252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b600160a060020a03821660009081526001602052604090208054820190555050565b156103d657600160a060020a0333166000908152600160205260409020548111156103a8576103a8610115565b6103b061014b565b600160a060020a03331660009081526001602052604090205482900310156103d6575b50565b61040433825b600160a060020a03821660009081526001602052604090205481111561091857610918610115565b604051600160a060020a03331690600090839082818181858883f1935050505015156103d35733600160a060020a03165a60405183906000818181858888f1935050505015156103d3576103d3610115565b61045f89610266565b945084600014156104735760009550610319565b60008581526003602052604090209350600460ff89811682900416935089880304915060028201839011156104ab5760009550610319565b508254808a069084908284018190069081101561000257600091825260209091200154600160a060020a03169550610319565b6104e78a610266565b60008181526003602052604090209098509650600460ff8a8116829004169350438b90030491506002820183901115610526576105358b8b8b8d6102f1565b6002875410156105c657610576565b8a965090505b60ff89168a018611610576576105538b8b8b896102f1565b9350600160a060020a038481169082161480156105705750898614155b15610593575b505050505050505050505050565b94505b6004959095019461053b565b8b600160a060020a031684600160a060020a031614156105b257610587565b610584848d5b60006000600061093b61014b565b600095505b8654861015610576578b600160a060020a03168787815481101561000257600091825260209091200154600160a060020a0316141561063657868754600189548901030681548110156100025760206000200154600160a060020a031694506106429050848d6105b8565b600195909501946105cb565b945061064c6102b2565b60001415610662576106625b60006109816102b2565b6105768461066e6102b2565b600060008260001415610b8d57610b8d610115565b600092505b5050919050565b600091505b60025482101561068357600280548381036000190190811015610002576000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace015490508381116106eb57809250610688565b60019190910190610694565b905061014f565b600091505b5090565b60028054600019810190811015610002576000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01549050438111156106fe57809150610703565b8061076a575061076a336107656102b2565b610133565b905061018b565b600092505b505092915050565b6000848152600360205260408120805490935014156107a05760009250610776565b5060005b81548110156107715784600160a060020a03168282815481101561000257600091825260209091200154600160a060020a031614156107e65760019250610776565b6001016107a4565b156107fb5750600061018b565b6108036102b2565b60001415801561081e57506101006108196102b2565b034310155b1561082b5750600061018b565b61083361014b565b600160a060020a038316600090815260016020526040902054101561085a5750600061018b565b50600161018b565b15156108705750600061018b565b6108786102b2565b60001461085a5761010061088a6102b2565b0343106108995750600061018b565b6108a5826107656102b2565b151561085a5750600061018b565b15610328576108c06102b2565b600014156108d0576108d0610658565b610328336108dc6102b2565b60008160001415610b3a57610b3a610115565b15610328576108fc6102b2565b6000141561090c5761090c610658565b6103283361066e6102b2565b600160a060020a0382166000908152600160205260409020805482900390555050565b600160a060020a038616600090815260016020526040902054909250905080821115610965579050805b61096f85836103dc565b61097984836100ef565b819250610776565b60001461099057610990610115565b506102004301600360006109a2610254565b81526020818101929092526040908101600090812084825260038452918120825481548183558284529490922090938101928215610a015760005260206000209182015b82811115610a015782548255916001019190600101906109e6565b50610a279291505b80821115610703578054600160a060020a0319168155600101610a09565b5050610a748160008181526003602052604081209080805b8354811015610cbf578354604080514340815260208101849052815190819003909101902006925082811415610cc657610d6f565b6002805460018101808355919082908015829011610ab557818360005260206000209182019101610ab591905b808211156107035760008155600101610aa1565b505060028054849350909150600019810190811015610002575080546000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acd015550565b50505050828160018354038154811015610002575050815460008381526020902001600019018054600160a060020a03191690911790555b505050565b610b448383610133565b15610b4e57610b35565b50600081815260036020526040902080546001810180835590829082908015829011610afd57818360005260206000209182019101610afd9190610aa1565b610b978484610133565b1515610ba257610cb1565b6000838152600360205260409020805490925060011415610bec5760008281815481835581811511610be757818360005260206000209182019101610be79190610aa1565b505050505b5060005b8154811015610cb15783600160a060020a03168282815481101561000257600091825260209091200154600160a060020a03161415610cb757816001835403815481101561000257906000526020600020900160009054906101000a9004600160a060020a031682828154811015610002576020600020018054600160a060020a031916909217909155508154600019810180845590839082908015829011610cac57818360005260206000209182019101610cac9190610aa1565b505050505b50505050565b600101610bf0565b5050505050565b8381815481101561000257508054600082815260209020830154600160a060020a03169350849081101561000257906000526020600020900160009054906101000a9004600160a060020a0316848281548110156100025750602060002083018054600160a060020a03191690921790915550835482908590859081101561000257906000526020600020900160006101000a815481600160a060020a03021916908302179055505b600101610a3f56
======= Relay =======
Binary: 
606060405260008054600160a060020a0319163317905561014a806100246000396000f3606060405260e060020a6000350463e8b1d0f3811461001b575b005b60806020601f6044356004818101359283018490049093028401604052606082815261009e949335936024803594606494909101918190838280828437509495505050505050600080543373ffffffffffffffffffffffffffffffffffffffff9081169116146100b0576100b06000806001815481101561000257505080805250565b60408051918252519081900360200190f35b8373ffffffffffffffffffffffffffffffffffffffff168360e060020a9004836040518260e060020a028152600401808280519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156101295780820380516001836020036101000a031916815260200191505b509150506000604051808303816000876161da5a03f197965050505050505056
Binary of the runtime part: 
606060405260e060020a6000350463e8b1d0f3811461001b575b005b60806020601f6044356004818101359283018490049093028401604052606082815261009e949335936024803594606494909101918190838280828437509495505050505050600080543373ffffffffffffffffffffffffffffffffffffffff9081169116146100b0576100b06000806001815481101561000257505080805250565b60408051918252519081900360200190f35b8373ffffffffffffffffffffffffffffffffffffffff168360e060020a9004836040518260e060020a028152600401808280519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156101295780820380516001836020036101000a031916815260200191505b509150506000604051808303816000876161da5a03f197965050505050505056