Alarm Contract Address

Live:0x07307d0b136a79bac718f43388aed706389c4588
Testnet:N/A

The Alarm service is comprised of one normal contract and five library contracts. Verification of the alarm source requires independent verification of each of these contracts.

  • Alarm: 0x07307d0b136a79bac718f43388aed706389c4588
  • ScheduledCallLib: 0x5c3623dcef2d5168dbe3e8cc538788cd8912d898
  • ResourcePoolLib: 0xd6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e
  • AccountingLib: 0x7de615d8a51746a9f10f72a593fb5b3718dc3d52
  • GroveLib: 0x920c890a90db8fba7604864b0cf38ee667331323
  • StringLib: 0x443b53559d337277373171280ec57029718203fb

While the source code for all libraries and contracts can be found on this page, due to a compiler bug with solc, you cannot verify the source using the merged source found below. Instead you will need to use the published sources which are available in the 0.4.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,

$ solc --version
solc, the solidity compiler commandline interface
Version: 0.1.6-d41f8b7c/Release-Darwin/clang/JIT linked to libethereum-1.1.0-83bfca60/Release-Darwin/clang/JIT

The source was compiled with the command solc --optimize --bin --bin-runtime contracts/Alarm.sol libraries/* with the command being run from the root of the github project. This will produce unlinked source code, which means that there will be placeholders for the addresses of the library contracts. You can either compile with linking enabled or manually fill in the contract addresses above to get the compiled binary.

$ solc --bin --bin-runtime --optimize contracts/Alarm.sol libraries/* | solce --link --libraries AccountingLib:0x7de615d8a51746a9f10f72a593fb5b3718dc3d52,GroveLib:0x920c890a90db8fba7604864b0cf38ee667331323,ScheduledCallLib:0x5c3623dcef2d5168dbe3e8cc538788cd8912d898,StringLib:0x443b53559d337277373171280ec57029718203fb,ResourcePoolLib:0xd6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e

To verify the source you check that the runtime bytecode associated with each of contract address equals the runtime binary output from the solc compiler.

Source Code

// String Utils v0.1

/// @title String Utils - String utility functions
/// @author Piper Merriam - 
library StringLib {
    /*
     *  Address: 0x443b53559d337277373171280ec57029718203fb
     */

    /// @dev Converts an unsigned integert to its string representation.
    /// @param v The number to be converted.
    function uintToBytes(uint v) constant returns (bytes32 ret) {
        if (v == 0) {
            ret = '0';
        }
        else {
            while (v > 0) {
                ret = bytes32(uint(ret) / (2 ** 8));
                ret |= bytes32(((v % 10) + 48) * 2 ** (8 * 31));
                v /= 10;
            }
        }
        return ret;
    }

    /// @dev Converts a numeric string to it's unsigned integer representation.
    /// @param v The string to be converted.
    function bytesToUInt(bytes32 v) constant returns (uint ret) {
        if (v == 0x0) {
            throw;
        }

        uint digit;

        for (uint i = 0; i < 32; i++) {
            digit = uint((uint(v) / (2 ** (8 * (31 - i)))) & 0xff);
            if (digit == 0) {
                break;
            }
            else if (digit < 48 || digit > 57) {
                throw;
            }
            ret *= 10;
            ret += (digit - 48);
        }
        return ret;
    }
}


// Accounting v0.1 (not the same as the 0.1 release of this library)

/// @title Accounting Lib - Accounting utilities
/// @author Piper Merriam - 
library AccountingLib {
        /*
         *  Address: 0x7de615d8a51746a9f10f72a593fb5b3718dc3d52
         */
        struct Bank {
            mapping (address => uint) accountBalances;
        }

        /// @dev Low level method for adding funds to an account.  Protects against overflow.
        /// @param self The Bank instance to operate on.
        /// @param accountAddress The address of the account the funds should be added to.
        /// @param value The amount that should be added to the account.
        function addFunds(Bank storage self, address accountAddress, uint value) public {
                if (self.accountBalances[accountAddress] + value < self.accountBalances[accountAddress]) {
                        // Prevent Overflow.
                        throw;
                }
                self.accountBalances[accountAddress] += value;
        }

        event _Deposit(address indexed _from, address indexed accountAddress, uint value);
        /// @dev Function wrapper around the _Deposit event so that it can be used by contracts.  Can be used to log a deposit to an account.
        /// @param _from The address that deposited the funds.
        /// @param accountAddress The address of the account the funds were added to.
        /// @param value The amount that was added to the account.
        function Deposit(address _from, address accountAddress, uint value) public {
            _Deposit(_from, accountAddress, value);
        }


        /// @dev Safe function for depositing funds.  Returns boolean for whether the deposit was successful
        /// @param self The Bank instance to operate on.
        /// @param accountAddress The address of the account the funds should be added to.
        /// @param value The amount that should be added to the account.
        function deposit(Bank storage self, address accountAddress, uint value) public returns (bool) {
                addFunds(self, accountAddress, value);
                return true;
        }

        event _Withdrawal(address indexed accountAddress, uint value);

        /// @dev Function wrapper around the _Withdrawal event so that it can be used by contracts.  Can be used to log a withdrawl from an account.
        /// @param accountAddress The address of the account the funds were withdrawn from.
        /// @param value The amount that was withdrawn to the account.
        function Withdrawal(address accountAddress, uint value) public {
            _Withdrawal(accountAddress, value);
        }

        event _InsufficientFunds(address indexed accountAddress, uint value, uint balance);

        /// @dev Function wrapper around the _InsufficientFunds event so that it can be used by contracts.  Can be used to log a failed withdrawl from an account.
        /// @param accountAddress The address of the account the funds were to be withdrawn from.
        /// @param value The amount that was attempted to be withdrawn from the account.
        /// @param balance The current balance of the account.
        function InsufficientFunds(address accountAddress, uint value, uint balance) public {
            _InsufficientFunds(accountAddress, value, balance);
        }

        /// @dev Low level method for removing funds from an account.  Protects against underflow.
        /// @param self The Bank instance to operate on.
        /// @param accountAddress The address of the account the funds should be deducted from.
        /// @param value The amount that should be deducted from the account.
        function deductFunds(Bank storage self, address accountAddress, uint value) public {
                /*
                 *  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 > self.accountBalances[accountAddress]) {
                        // Prevent Underflow.
                        throw;
                }
                self.accountBalances[accountAddress] -= value;
        }

        /// @dev Safe function for withdrawing funds.  Returns boolean for whether the deposit was successful as well as sending the amount in ether to the account address.
        /// @param self The Bank instance to operate on.
        /// @param accountAddress The address of the account the funds should be withdrawn from.
        /// @param value The amount that should be withdrawn from the account.
        function withdraw(Bank storage self, address accountAddress, uint value) public returns (bool) {
                /*
                 *  Public API for withdrawing funds.
                 */
                if (self.accountBalances[accountAddress] >= value) {
                        deductFunds(self, accountAddress, value);
                        if (!accountAddress.send(value)) {
                                // Potentially sending money to a contract that
                                // has a fallback function.  So instead, try
                                // tranferring the funds with the call api.
                                if (!accountAddress.call.value(value)()) {
                                        // Revert the entire transaction.  No
                                        // need to destroy the funds.
                                        throw;
                                }
                        }
                        return true;
                }
                return false;
        }
}

// Grove v0.3 (not the same as the 0.3 release of this library)


/// @title GroveLib - Library for queriable indexed ordered data.
/// @author PiperMerriam - 
library GroveLib {
        /*
         *  Indexes for ordered data
         *
         *  Address: 0x920c890a90db8fba7604864b0cf38ee667331323
         */
        struct Index {
                bytes32 root;
                mapping (bytes32 => Node) nodes;
        }

        struct Node {
                bytes32 id;
                int value;
                bytes32 parent;
                bytes32 left;
                bytes32 right;
                uint height;
        }

        function max(uint a, uint b) internal returns (uint) {
            if (a >= b) {
                return a;
            }
            return b;
        }

        /*
         *  Node getters
         */
        /// @dev Retrieve the unique identifier for the node.
        /// @param index The index that the node is part of.
        /// @param id The id for the node to be looked up.
        function getNodeId(Index storage index, bytes32 id) constant returns (bytes32) {
            return index.nodes[id].id;
        }

        /// @dev Retrieve the value for the node.
        /// @param index The index that the node is part of.
        /// @param id The id for the node to be looked up.
        function getNodeValue(Index storage index, bytes32 id) constant returns (int) {
            return index.nodes[id].value;
        }

        /// @dev Retrieve the height of the node.
        /// @param index The index that the node is part of.
        /// @param id The id for the node to be looked up.
        function getNodeHeight(Index storage index, bytes32 id) constant returns (uint) {
            return index.nodes[id].height;
        }

        /// @dev Retrieve the parent id of the node.
        /// @param index The index that the node is part of.
        /// @param id The id for the node to be looked up.
        function getNodeParent(Index storage index, bytes32 id) constant returns (bytes32) {
            return index.nodes[id].parent;
        }

        /// @dev Retrieve the left child id of the node.
        /// @param index The index that the node is part of.
        /// @param id The id for the node to be looked up.
        function getNodeLeftChild(Index storage index, bytes32 id) constant returns (bytes32) {
            return index.nodes[id].left;
        }

        /// @dev Retrieve the right child id of the node.
        /// @param index The index that the node is part of.
        /// @param id The id for the node to be looked up.
        function getNodeRightChild(Index storage index, bytes32 id) constant returns (bytes32) {
            return index.nodes[id].right;
        }

        /// @dev Retrieve the node id of the next node in the tree.
        /// @param index The index that the node is part of.
        /// @param id The id for the node to be looked up.
        function getPreviousNode(Index storage index, bytes32 id) constant returns (bytes32) {
            Node storage currentNode = index.nodes[id];

            if (currentNode.id == 0x0) {
                // Unknown node, just return 0x0;
                return 0x0;
            }

            Node memory child;

            if (currentNode.left != 0x0) {
                // Trace left to latest child in left tree.
                child = index.nodes[currentNode.left];

                while (child.right != 0) {
                    child = index.nodes[child.right];
                }
                return child.id;
            }

            if (currentNode.parent != 0x0) {
                // Now we trace back up through parent relationships, looking
                // for a link where the child is the right child of it's
                // parent.
                Node storage parent = index.nodes[currentNode.parent];
                child = currentNode;

                while (true) {
                    if (parent.right == child.id) {
                        return parent.id;
                    }

                    if (parent.parent == 0x0) {
                        break;
                    }
                    child = parent;
                    parent = index.nodes[parent.parent];
                }
            }

            // This is the first node, and has no previous node.
            return 0x0;
        }

        /// @dev Retrieve the node id of the previous node in the tree.
        /// @param index The index that the node is part of.
        /// @param id The id for the node to be looked up.
        function getNextNode(Index storage index, bytes32 id) constant returns (bytes32) {
            Node storage currentNode = index.nodes[id];

            if (currentNode.id == 0x0) {
                // Unknown node, just return 0x0;
                return 0x0;
            }

            Node memory child;

            if (currentNode.right != 0x0) {
                // Trace right to earliest child in right tree.
                child = index.nodes[currentNode.right];

                while (child.left != 0) {
                    child = index.nodes[child.left];
                }
                return child.id;
            }

            if (currentNode.parent != 0x0) {
                // if the node is the left child of it's parent, then the
                // parent is the next one.
                Node storage parent = index.nodes[currentNode.parent];
                child = currentNode;

                while (true) {
                    if (parent.left == child.id) {
                        return parent.id;
                    }

                    if (parent.parent == 0x0) {
                        break;
                    }
                    child = parent;
                    parent = index.nodes[parent.parent];
                }

                // Now we need to trace all the way up checking to see if any parent is the 
            }

            // This is the final node.
            return 0x0;
        }


        /// @dev Updates or Inserts the id into the index at its appropriate location based on the value provided.
        /// @param index The index that the node is part of.
        /// @param id The unique identifier of the data element the index node will represent.
        /// @param value The value of the data element that represents it's total ordering with respect to other elementes.
        function insert(Index storage index, bytes32 id, int value) public {
                if (index.nodes[id].id == id) {
                    // A node with this id already exists.  If the value is
                    // the same, then just return early, otherwise, remove it
                    // and reinsert it.
                    if (index.nodes[id].value == value) {
                        return;
                    }
                    remove(index, id);
                }

                uint leftHeight;
                uint rightHeight;

                bytes32 previousNodeId = 0x0;

                if (index.root == 0x0) {
                    index.root = id;
                }
                Node storage currentNode = index.nodes[index.root];

                // Do insertion
                while (true) {
                    if (currentNode.id == 0x0) {
                        // This is a new unpopulated node.
                        currentNode.id = id;
                        currentNode.parent = previousNodeId;
                        currentNode.value = value;
                        break;
                    }

                    // Set the previous node id.
                    previousNodeId = currentNode.id;

                    // The new node belongs in the right subtree
                    if (value >= currentNode.value) {
                        if (currentNode.right == 0x0) {
                            currentNode.right = id;
                        }
                        currentNode = index.nodes[currentNode.right];
                        continue;
                    }

                    // The new node belongs in the left subtree.
                    if (currentNode.left == 0x0) {
                        currentNode.left = id;
                    }
                    currentNode = index.nodes[currentNode.left];
                }

                // Rebalance the tree
                _rebalanceTree(index, currentNode.id);
        }

        /// @dev Checks whether a node for the given unique identifier exists within the given index.
        /// @param index The index that should be searched
        /// @param id The unique identifier of the data element to check for.
        function exists(Index storage index, bytes32 id) constant returns (bool) {
            return (index.nodes[id].id == id);
        }

        /// @dev Remove the node for the given unique identifier from the index.
        /// @param index The index that should be removed
        /// @param id The unique identifier of the data element to remove.
        function remove(Index storage index, bytes32 id) public {
            Node storage replacementNode;
            Node storage parent;
            Node storage child;
            bytes32 rebalanceOrigin;

            Node storage nodeToDelete = index.nodes[id];

            if (nodeToDelete.id != id) {
                // The id does not exist in the tree.
                return;
            }

            if (nodeToDelete.left != 0x0 || nodeToDelete.right != 0x0) {
                // This node is not a leaf node and thus must replace itself in
                // it's tree by either the previous or next node.
                if (nodeToDelete.left != 0x0) {
                    // This node is guaranteed to not have a right child.
                    replacementNode = index.nodes[getPreviousNode(index, nodeToDelete.id)];
                }
                else {
                    // This node is guaranteed to not have a left child.
                    replacementNode = index.nodes[getNextNode(index, nodeToDelete.id)];
                }
                // The replacementNode is guaranteed to have a parent.
                parent = index.nodes[replacementNode.parent];

                // Keep note of the location that our tree rebalancing should
                // start at.
                rebalanceOrigin = replacementNode.id;

                // Join the parent of the replacement node with any subtree of
                // the replacement node.  We can guarantee that the replacement
                // node has at most one subtree because of how getNextNode and
                // getPreviousNode are used.
                if (parent.left == replacementNode.id) {
                    parent.left = replacementNode.right;
                    if (replacementNode.right != 0x0) {
                        child = index.nodes[replacementNode.right];
                        child.parent = parent.id;
                    }
                }
                if (parent.right == replacementNode.id) {
                    parent.right = replacementNode.left;
                    if (replacementNode.left != 0x0) {
                        child = index.nodes[replacementNode.left];
                        child.parent = parent.id;
                    }
                }

                // Now we replace the nodeToDelete with the replacementNode.
                // This includes parent/child relationships for all of the
                // parent, the left child, and the right child.
                replacementNode.parent = nodeToDelete.parent;
                if (nodeToDelete.parent != 0x0) {
                    parent = index.nodes[nodeToDelete.parent];
                    if (parent.left == nodeToDelete.id) {
                        parent.left = replacementNode.id;
                    }
                    if (parent.right == nodeToDelete.id) {
                        parent.right = replacementNode.id;
                    }
                }
                else {
                    // If the node we are deleting is the root node update the
                    // index root node pointer.
                    index.root = replacementNode.id;
                }

                replacementNode.left = nodeToDelete.left;
                if (nodeToDelete.left != 0x0) {
                    child = index.nodes[nodeToDelete.left];
                    child.parent = replacementNode.id;
                }

                replacementNode.right = nodeToDelete.right;
                if (nodeToDelete.right != 0x0) {
                    child = index.nodes[nodeToDelete.right];
                    child.parent = replacementNode.id;
                }
            }
            else if (nodeToDelete.parent != 0x0) {
                // The node being deleted is a leaf node so we only erase it's
                // parent linkage.
                parent = index.nodes[nodeToDelete.parent];

                if (parent.left == nodeToDelete.id) {
                    parent.left = 0x0;
                }
                if (parent.right == nodeToDelete.id) {
                    parent.right = 0x0;
                }

                // keep note of where the rebalancing should begin.
                rebalanceOrigin = parent.id;
            }
            else {
                // This is both a leaf node and the root node, so we need to
                // unset the root node pointer.
                index.root = 0x0;
            }

            // Now we zero out all of the fields on the nodeToDelete.
            nodeToDelete.id = 0x0;
            nodeToDelete.value = 0;
            nodeToDelete.parent = 0x0;
            nodeToDelete.left = 0x0;
            nodeToDelete.right = 0x0;

            // Walk back up the tree rebalancing
            if (rebalanceOrigin != 0x0) {
                _rebalanceTree(index, rebalanceOrigin);
            }
        }

        bytes2 constant GT = ">";
        bytes2 constant LT = "<";
        bytes2 constant GTE = ">=";
        bytes2 constant LTE = "<=";
        bytes2 constant EQ = "==";

        function _compare(int left, bytes2 operator, int right) internal returns (bool) {
            if (operator == GT) {
                return (left > right);
            }
            if (operator == LT) {
                return (left < right);
            }
            if (operator == GTE) {
                return (left >= right);
            }
            if (operator == LTE) {
                return (left <= right);
            }
            if (operator == EQ) {
                return (left == right);
            }

            // Invalid operator.
            throw;
        }

        function _getMaximum(Index storage index, bytes32 id) internal returns (int) {
                Node storage currentNode = index.nodes[id];

                while (true) {
                    if (currentNode.right == 0x0) {
                        return currentNode.value;
                    }
                    currentNode = index.nodes[currentNode.right];
                }
        }

        function _getMinimum(Index storage index, bytes32 id) internal returns (int) {
                Node storage currentNode = index.nodes[id];

                while (true) {
                    if (currentNode.left == 0x0) {
                        return currentNode.value;
                    }
                    currentNode = index.nodes[currentNode.left];
                }
        }


        /** @dev Query the index for the edge-most node that satisfies the
         *  given query.  For >, >=, and ==, this will be the left-most node
         *  that satisfies the comparison.  For < and <= this will be the
         *  right-most node that satisfies the comparison.
         */
        /// @param index The index that should be queried
        /** @param operator One of '>', '>=', '<', '<=', '==' to specify what
         *  type of comparison operator should be used.
         */
        function query(Index storage index, bytes2 operator, int value) public returns (bytes32) {
                bytes32 rootNodeId = index.root;
                
                if (rootNodeId == 0x0) {
                    // Empty tree.
                    return 0x0;
                }

                Node storage currentNode = index.nodes[rootNodeId];

                while (true) {
                    if (_compare(currentNode.value, operator, value)) {
                        // We have found a match but it might not be the
                        // *correct* match.
                        if ((operator == LT) || (operator == LTE)) {
                            // Need to keep traversing right until this is no
                            // longer true.
                            if (currentNode.right == 0x0) {
                                return currentNode.id;
                            }
                            if (_compare(_getMinimum(index, currentNode.right), operator, value)) {
                                // There are still nodes to the right that
                                // match.
                                currentNode = index.nodes[currentNode.right];
                                continue;
                            }
                            return currentNode.id;
                        }

                        if ((operator == GT) || (operator == GTE) || (operator == EQ)) {
                            // Need to keep traversing left until this is no
                            // longer true.
                            if (currentNode.left == 0x0) {
                                return currentNode.id;
                            }
                            if (_compare(_getMaximum(index, currentNode.left), operator, value)) {
                                currentNode = index.nodes[currentNode.left];
                                continue;
                            }
                            return currentNode.id;
                        }
                    }

                    if ((operator == LT) || (operator == LTE)) {
                        if (currentNode.left == 0x0) {
                            // There are no nodes that are less than the value
                            // so return null.
                            return 0x0;
                        }
                        currentNode = index.nodes[currentNode.left];
                        continue;
                    }

                    if ((operator == GT) || (operator == GTE)) {
                        if (currentNode.right == 0x0) {
                            // There are no nodes that are greater than the value
                            // so return null.
                            return 0x0;
                        }
                        currentNode = index.nodes[currentNode.right];
                        continue;
                    }

                    if (operator == EQ) {
                        if (currentNode.value < value) {
                            if (currentNode.right == 0x0) {
                                return 0x0;
                            }
                            currentNode = index.nodes[currentNode.right];
                            continue;
                        }

                        if (currentNode.value > value) {
                            if (currentNode.left == 0x0) {
                                return 0x0;
                            }
                            currentNode = index.nodes[currentNode.left];
                            continue;
                        }
                    }
                }
        }

        function _rebalanceTree(Index storage index, bytes32 id) internal {
            // Trace back up rebalancing the tree and updating heights as
            // needed..
            Node storage currentNode = index.nodes[id];

            while (true) {
                int balanceFactor = _getBalanceFactor(index, currentNode.id);

                if (balanceFactor == 2) {
                    // Right rotation (tree is heavy on the left)
                    if (_getBalanceFactor(index, currentNode.left) == -1) {
                        // The subtree is leaning right so it need to be
                        // rotated left before the current node is rotated
                        // right.
                        _rotateLeft(index, currentNode.left);
                    }
                    _rotateRight(index, currentNode.id);
                }

                if (balanceFactor == -2) {
                    // Left rotation (tree is heavy on the right)
                    if (_getBalanceFactor(index, currentNode.right) == 1) {
                        // The subtree is leaning left so it need to be
                        // rotated right before the current node is rotated
                        // left.
                        _rotateRight(index, currentNode.right);
                    }
                    _rotateLeft(index, currentNode.id);
                }

                if ((-1 <= balanceFactor) && (balanceFactor <= 1)) {
                    _updateNodeHeight(index, currentNode.id);
                }

                if (currentNode.parent == 0x0) {
                    // Reached the root which may be new due to tree
                    // rotation, so set it as the root and then break.
                    break;
                }

                currentNode = index.nodes[currentNode.parent];
            }
        }

        function _getBalanceFactor(Index storage index, bytes32 id) internal returns (int) {
                Node storage node = index.nodes[id];

                return int(index.nodes[node.left].height) - int(index.nodes[node.right].height);
        }

        function _updateNodeHeight(Index storage index, bytes32 id) internal {
                Node storage node = index.nodes[id];

                node.height = max(index.nodes[node.left].height, index.nodes[node.right].height) + 1;
        }

        function _rotateLeft(Index storage index, bytes32 id) internal {
            Node storage originalRoot = index.nodes[id];

            if (originalRoot.right == 0x0) {
                // Cannot rotate left if there is no right originalRoot to rotate into
                // place.
                throw;
            }

            // The right child is the new root, so it gets the original
            // `originalRoot.parent` as it's parent.
            Node storage newRoot = index.nodes[originalRoot.right];
            newRoot.parent = originalRoot.parent;

            // The original root needs to have it's right child nulled out.
            originalRoot.right = 0x0;

            if (originalRoot.parent != 0x0) {
                // If there is a parent node, it needs to now point downward at
                // the newRoot which is rotating into the place where `node` was.
                Node storage parent = index.nodes[originalRoot.parent];

                // figure out if we're a left or right child and have the
                // parent point to the new node.
                if (parent.left == originalRoot.id) {
                    parent.left = newRoot.id;
                }
                if (parent.right == originalRoot.id) {
                    parent.right = newRoot.id;
                }
            }


            if (newRoot.left != 0) {
                // If the new root had a left child, that moves to be the
                // new right child of the original root node
                Node storage leftChild = index.nodes[newRoot.left];
                originalRoot.right = leftChild.id;
                leftChild.parent = originalRoot.id;
            }

            // Update the newRoot's left node to point at the original node.
            originalRoot.parent = newRoot.id;
            newRoot.left = originalRoot.id;

            if (newRoot.parent == 0x0) {
                index.root = newRoot.id;
            }

            // TODO: are both of these updates necessary?
            _updateNodeHeight(index, originalRoot.id);
            _updateNodeHeight(index, newRoot.id);
        }

        function _rotateRight(Index storage index, bytes32 id) internal {
            Node storage originalRoot = index.nodes[id];

            if (originalRoot.left == 0x0) {
                // Cannot rotate right if there is no left node to rotate into
                // place.
                throw;
            }

            // The left child is taking the place of node, so we update it's
            // parent to be the original parent of the node.
            Node storage newRoot = index.nodes[originalRoot.left];
            newRoot.parent = originalRoot.parent;

            // Null out the originalRoot.left
            originalRoot.left = 0x0;

            if (originalRoot.parent != 0x0) {
                // If the node has a parent, update the correct child to point
                // at the newRoot now.
                Node storage parent = index.nodes[originalRoot.parent];

                if (parent.left == originalRoot.id) {
                    parent.left = newRoot.id;
                }
                if (parent.right == originalRoot.id) {
                    parent.right = newRoot.id;
                }
            }

            if (newRoot.right != 0x0) {
                Node storage rightChild = index.nodes[newRoot.right];
                originalRoot.left = newRoot.right;
                rightChild.parent = originalRoot.id;
            }

            // Update the new root's right node to point to the original node.
            originalRoot.parent = newRoot.id;
            newRoot.right = originalRoot.id;

            if (newRoot.parent == 0x0) {
                index.root = newRoot.id;
            }

            // Recompute heights.
            _updateNodeHeight(index, originalRoot.id);
            _updateNodeHeight(index, newRoot.id);
        }
}


// Resource Pool v0.1.0 (has been modified from the main released version of this library)


// @title ResourcePoolLib - Library for a set of resources that are ready for use.
// @author Piper Merriam 
library ResourcePoolLib {
        /*
         *  Address: 0xd6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e
         */
        struct Pool {
                uint rotationDelay;
                uint overlapSize;
                uint freezePeriod;

                uint _id;

                GroveLib.Index generationStart;
                GroveLib.Index generationEnd;

                mapping (uint => Generation) generations;
                mapping (address => uint) bonds;
        }

        /*
         * Generations have the following properties.
         *
         * 1. Must always overlap by a minimum amount specified by MIN_OVERLAP.
         *
         *    1   2   3   4   5   6   7   8   9   10  11  12  13
         *    [1:-----------------]
         *                [4:--------------------->
         */
        struct Generation {
                uint id;
                uint startAt;
                uint endAt;
                address[] members;
        }

        /// @dev Creates the next generation for the given pool.  All members from the current generation are carried over (with their order randomized).  The current generation will have it's endAt block set.
        /// @param self The pool to operate on.
        function createNextGeneration(Pool storage self) public returns (uint) {
                /*
                 *  Creat a new pool generation with all of the current
                 *  generation's members copied over in random order.
                 */
                Generation storage previousGeneration = self.generations[self._id];

                self._id += 1;
                Generation storage nextGeneration = self.generations[self._id];
                nextGeneration.id = self._id;
                nextGeneration.startAt = block.number + self.freezePeriod + self.rotationDelay;
                GroveLib.insert(self.generationStart, StringLib.uintToBytes(nextGeneration.id), int(nextGeneration.startAt));

                if (previousGeneration.id == 0) {
                        // This is the first generation so we just need to set
                        // it's `id` and `startAt`.
                        return nextGeneration.id;
                }

                // Set the end date for the current generation.
                previousGeneration.endAt = block.number + self.freezePeriod + self.rotationDelay + self.overlapSize;
                GroveLib.insert(self.generationEnd, StringLib.uintToBytes(previousGeneration.id), int(previousGeneration.endAt));

                // Now we copy the members of the previous generation over to
                // the next generation as well as randomizing their order.
                address[] memory members = previousGeneration.members;

                for (uint i = 0; i < members.length; i++) {
                    // Pick a *random* index and push it onto the next
                    // generation's members.
                    uint index = uint(sha3(block.blockhash(block.number))) % (members.length - nextGeneration.members.length);
                    nextGeneration.members.length += 1;
                    nextGeneration.members[nextGeneration.members.length - 1] = members[index];

                    // Then move the member at the last index into the picked
                    // index's location.
                    members[index] = members[members.length - 1];
                }

                return nextGeneration.id;
        }

        /// @dev Returns the first generation id that fully contains the block window provided.
        /// @param self The pool to operate on.
        /// @param leftBound The left bound for the block window (inclusive)
        /// @param rightBound The right bound for the block window (inclusive)
        function getGenerationForWindow(Pool storage self, uint leftBound, uint rightBound) constant returns (uint) {
            // TODO: tests
                var left = GroveLib.query(self.generationStart, "<=", int(leftBound));

                if (left != 0x0) {
                    Generation memory leftCandidate = self.generations[StringLib.bytesToUInt(left)];
                    if (leftCandidate.startAt <= leftBound && (leftCandidate.endAt >= rightBound || leftCandidate.endAt == 0)) {
                        return leftCandidate.id;
                    }
                }

                var right = GroveLib.query(self.generationEnd, ">=", int(rightBound));
                if (right != 0x0) {
                    Generation memory rightCandidate = self.generations[StringLib.bytesToUInt(right)];
                    if (rightCandidate.startAt <= leftBound && (rightCandidate.endAt >= rightBound || rightCandidate.endAt == 0)) {
                        return rightCandidate.id;
                    }
                }

                return 0;
        }

        /// @dev Returns the first generation in the future that has not yet started.
        /// @param self The pool to operate on.
        function getNextGenerationId(Pool storage self) constant returns (uint) {
            // TODO: tests
                var next = GroveLib.query(self.generationStart, ">", int(block.number));
                if (next == 0x0) {
                    return 0;
                }
                return StringLib.bytesToUInt(next);
        }

        /// @dev Returns the first generation that is currently active.
        /// @param self The pool to operate on.
        function getCurrentGenerationId(Pool storage self) constant returns (uint) {
            // TODO: tests
                var next = GroveLib.query(self.generationEnd, ">", int(block.number));
                if (next != 0x0) {
                    return StringLib.bytesToUInt(next);
                }

                next = GroveLib.query(self.generationStart, "<=", int(block.number));
                if (next != 0x0) {
                    return StringLib.bytesToUInt(next);
                }
                return 0;
        }

        /*
         *  Pool membership API
         */
        /// @dev Returns a boolean for whether the given address is in the given generation.
        /// @param self The pool to operate on.
        /// @param resourceAddress The address to check membership of
        /// @param generationId The id of the generation to check.
        function isInGeneration(Pool storage self, address resourceAddress, uint generationId) constant returns (bool) {
            // TODO: tests
            if (generationId == 0) {
                return false;
            }
            Generation memory generation = self.generations[generationId];
            for (uint i = 0; i < generation.members.length; i++) {
                if (generation.members[i] == resourceAddress) {
                    return true;
                }
            }
            return false;
        }

        /// @dev Returns a boolean for whether the given address is in the current generation.
        /// @param self The pool to operate on.
        /// @param resourceAddress The address to check membership of
        function isInCurrentGeneration(Pool storage self, address resourceAddress) constant returns (bool) {
            // TODO: tests
            return isInGeneration(self, resourceAddress, getCurrentGenerationId(self));
        }

        /// @dev Returns a boolean for whether the given address is in the next queued generation.
        /// @param self The pool to operate on.
        /// @param resourceAddress The address to check membership of
        function isInNextGeneration(Pool storage self, address resourceAddress) constant returns (bool) {
            // TODO: tests
            return isInGeneration(self, resourceAddress, getNextGenerationId(self));
        }

        /// @dev Returns a boolean for whether the given address is in either the current generation or the next queued generation.
        /// @param self The pool to operate on.
        /// @param resourceAddress The address to check membership of
        function isInPool(Pool storage self, address resourceAddress) constant returns (bool) {
            // TODO: tests
            return (isInCurrentGeneration(self, resourceAddress) || isInNextGeneration(self, resourceAddress));
        }

        event _AddedToGeneration(address indexed resourceAddress, uint indexed generationId);
        /// @dev Function to expose the _AddedToGeneration event to contracts.
        /// @param resourceAddress The address that was added
        /// @param generationId The id of the generation.
        function AddedToGeneration(address resourceAddress, uint generationId) public {
                _AddedToGeneration(resourceAddress, generationId);
        }

        event _RemovedFromGeneration(address indexed resourceAddress, uint indexed generationId);
        /// @dev Function to expose the _AddedToGeneration event to contracts.
        /// @param resourceAddress The address that was removed.
        /// @param generationId The id of the generation.
        function RemovedFromGeneration(address resourceAddress, uint generationId) public {
                _RemovedFromGeneration(resourceAddress, generationId);
        }

        /// @dev Returns a boolean as to whether the provided address is allowed to enter the pool at this time.
        /// @param self The pool to operate on.
        /// @param resourceAddress The address in question
        /// @param minimumBond The minimum bond amount that should be required for entry.
        function canEnterPool(Pool storage self, address resourceAddress, uint minimumBond) constant returns (bool) {
            /*
             *  - bond
             *  - pool is open
             *  - not already in it.
             *  - not already left it.
             */
            // TODO: tests
            if (self.bonds[resourceAddress] < minimumBond) {
                // Insufficient bond balance;
                return false;
            }

            if (isInPool(self, resourceAddress)) {
                // Already in the pool either in the next upcoming generation
                // or the currently active generation.
                return false;
            }

            var nextGenerationId = getNextGenerationId(self);
            if (nextGenerationId != 0) {
                var nextGeneration = self.generations[nextGenerationId];
                if (block.number + self.freezePeriod >= nextGeneration.startAt) {
                    // Next generation starts too soon.
                    return false;
                }
            }

            return true;
        }

        /// @dev Adds the address to pool by adding them to the next generation (as well as creating it if it doesn't exist).
        /// @param self The pool to operate on.
        /// @param resourceAddress The address to be added to the pool
        /// @param minimumBond The minimum bond amount that should be required for entry.
        function enterPool(Pool storage self, address resourceAddress, uint minimumBond) public returns (uint) {
            if (!canEnterPool(self, resourceAddress, minimumBond)) {
                throw;
            }
            uint nextGenerationId = getNextGenerationId(self);
            if (nextGenerationId == 0) {
                // No next generation has formed yet so create it.
                nextGenerationId = createNextGeneration(self);
            }
            Generation storage nextGeneration = self.generations[nextGenerationId];
            // now add the new address.
            nextGeneration.members.length += 1;
            nextGeneration.members[nextGeneration.members.length - 1] = resourceAddress;
            return nextGenerationId;
        }

        /// @dev Returns a boolean as to whether the provided address is allowed to exit the pool at this time.
        /// @param self The pool to operate on.
        /// @param resourceAddress The address in question
        function canExitPool(Pool storage self, address resourceAddress) constant returns (bool) {
            if (!isInCurrentGeneration(self, resourceAddress)) {
                // Not in the pool.
                return false;
            }

            uint nextGenerationId = getNextGenerationId(self);
            if (nextGenerationId == 0) {
                // Next generation hasn't been generated yet.
                return true;
            }

            if (self.generations[nextGenerationId].startAt - self.freezePeriod <= block.number) {
                // Next generation starts too soon.
                return false;
            }

            // They can leave if they are still in the next generation.
            // otherwise they have already left it.
            return isInNextGeneration(self, resourceAddress);
        }


        /// @dev Removes the address from the pool by removing them from the next generation (as well as creating it if it doesn't exist)
        /// @param self The pool to operate on.
        /// @param resourceAddress The address in question
        function exitPool(Pool storage self, address resourceAddress) public returns (uint) {
            if (!canExitPool(self, resourceAddress)) {
                throw;
            }
            uint nextGenerationId = getNextGenerationId(self);
            if (nextGenerationId == 0) {
                // No next generation has formed yet so create it.
                nextGenerationId = createNextGeneration(self);
            }
            // Remove them from the generation
            removeFromGeneration(self, nextGenerationId, resourceAddress);
            return nextGenerationId;
        }

        /// @dev Removes the address from a generation's members array. Returns boolean as to whether removal was successful.
        /// @param self The pool to operate on.
        /// @param generationId The id of the generation to operate on.
        /// @param resourceAddress The address to be removed.
        function removeFromGeneration(Pool storage self, uint generationId, address resourceAddress) public returns (bool){
            Generation storage generation = self.generations[generationId];
            // now remove the address
            for (uint i = 0; i < generation.members.length; i++) {
                if (generation.members[i] == resourceAddress) {
                    generation.members[i] = generation.members[generation.members.length - 1];
                    generation.members.length -= 1;
                    return true;
                }
            }
            return false;
        }

        /*
         *  Bonding
         */

        /// @dev Subtracts the amount from an account's bond balance.
        /// @param self The pool to operate on.
        /// @param resourceAddress The address of the account
        /// @param value The value to subtract.
        function deductFromBond(Pool storage self, address resourceAddress, uint value) public {
                /*
                 *  deduct funds from a bond value without risk of an
                 *  underflow.
                 */
                if (value > self.bonds[resourceAddress]) {
                        // Prevent Underflow.
                        throw;
                }
                self.bonds[resourceAddress] -= value;
        }

        /// @dev Adds the amount to an account's bond balance.
        /// @param self The pool to operate on.
        /// @param resourceAddress The address of the account
        /// @param value The value to add.
        function addToBond(Pool storage self, address resourceAddress, uint value) public {
                /*
                 *  Add funds to a bond value without risk of an
                 *  overflow.
                 */
                if (self.bonds[resourceAddress] + value < self.bonds[resourceAddress]) {
                        // Prevent Overflow
                        throw;
                }
                self.bonds[resourceAddress] += value;
        }

        /// @dev Withdraws a bond amount from an address's bond account, sending them the corresponding amount in ether.
        /// @param self The pool to operate on.
        /// @param resourceAddress The address of the account
        /// @param value The value to withdraw.
        function withdrawBond(Pool storage self, address resourceAddress, uint value, uint minimumBond) public {
                /*
                 *  Only if you are not in either of the current call pools.
                 */
                // Prevent underflow
                if (value > self.bonds[resourceAddress]) {
                        throw;
                }

                // Do a permissions check to be sure they can withdraw the
                // funds.
                if (isInPool(self, resourceAddress)) {
                        if (self.bonds[resourceAddress] - value < minimumBond) {
                            return;
                        }
                }

                deductFromBond(self, resourceAddress, value);
                if (!resourceAddress.send(value)) {
                        // Potentially sending money to a contract that
                        // has a fallback function.  So instead, try
                        // tranferring the funds with the call api.
                        if (!resourceAddress.call.gas(msg.gas).value(value)()) {
                                // Revert the entire transaction.  No
                                // need to destroy the funds.
                                throw;
                        }
                }
        }
}


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);
        }
}




library ScheduledCallLib {
    /*
     *  Address: 0x5c3623dcef2d5168dbe3e8cc538788cd8912d898
     */
    struct CallDatabase {
        Relay unauthorizedRelay;
        Relay authorizedRelay;

        bytes32 lastCallKey;
        bytes lastData;
        uint lastDataLength;
        bytes32 lastDataHash;

        ResourcePoolLib.Pool callerPool;
        GroveLib.Index callIndex;

        AccountingLib.Bank gasBank;

        mapping (bytes32 => Call) calls;
        mapping (bytes32 => bytes) data_registry;

        mapping (bytes32 => bool) accountAuthorizations;
    }

    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;
    }

    // The author (Piper Merriam) address.
    address constant owner = 0xd3cda913deb6f67967b99d67acdfa1712c293601;

    /*
     *  Getter methods for `Call` information
     */
    function getCallContractAddress(CallDatabase storage self, bytes32 callKey) constant returns (address) {
            return self.calls[callKey].contractAddress;
    }

    function getCallScheduledBy(CallDatabase storage self, bytes32 callKey) constant returns (address) {
            return self.calls[callKey].scheduledBy;
    }

    function getCallCalledAtBlock(CallDatabase storage self, bytes32 callKey) constant returns (uint) {
            return self.calls[callKey].calledAtBlock;
    }

    function getCallGracePeriod(CallDatabase storage self, bytes32 callKey) constant returns (uint) {
            return self.calls[callKey].gracePeriod;
    }

    function getCallTargetBlock(CallDatabase storage self, bytes32 callKey) constant returns (uint) {
            return self.calls[callKey].targetBlock;
    }

    function getCallBaseGasPrice(CallDatabase storage self, bytes32 callKey) constant returns (uint) {
            return self.calls[callKey].baseGasPrice;
    }

    function getCallGasPrice(CallDatabase storage self, bytes32 callKey) constant returns (uint) {
            return self.calls[callKey].gasPrice;
    }

    function getCallGasUsed(CallDatabase storage self, bytes32 callKey) constant returns (uint) {
            return self.calls[callKey].gasUsed;
    }

    function getCallABISignature(CallDatabase storage self, bytes32 callKey) constant returns (bytes4) {
            return self.calls[callKey].abiSignature;
    }

    function checkIfCalled(CallDatabase storage self, bytes32 callKey) constant returns (bool) {
            return self.calls[callKey].wasCalled;
    }

    function checkIfSuccess(CallDatabase storage self, bytes32 callKey) constant returns (bool) {
            return self.calls[callKey].wasSuccessful;
    }

    function checkIfCancelled(CallDatabase storage self, bytes32 callKey) constant returns (bool) {
            return self.calls[callKey].isCancelled;
    }

    function getCallDataHash(CallDatabase storage self, bytes32 callKey) constant returns (bytes32) {
            return self.calls[callKey].dataHash;
    }

    function getCallPayout(CallDatabase storage self, bytes32 callKey) constant returns (uint) {
            return self.calls[callKey].payout;
    }

    function getCallFee(CallDatabase storage self, bytes32 callKey) constant returns (uint) {
            return self.calls[callKey].fee;
    }

    /*
     *  Scheduling Authorization API
     */

    function addAuthorization(CallDatabase storage self, address schedulerAddress, address contractAddress) public {
            self.accountAuthorizations[sha3(schedulerAddress, contractAddress)] = true;
    }

    function removeAuthorization(CallDatabase storage self, address schedulerAddress, address contractAddress) public {
            self.accountAuthorizations[sha3(schedulerAddress, contractAddress)] = false;
    }

    function checkAuthorization(CallDatabase storage self, address schedulerAddress, address contractAddress) constant returns (bool) {
            return self.accountAuthorizations[sha3(schedulerAddress, contractAddress)];
    }

    /*
     *  Data Registry API
     */
    function getCallData(CallDatabase storage self, bytes32 callKey) constant returns (bytes) {
            return self.data_registry[self.calls[callKey].dataHash];
    }

    /*
     *  API used by Alarm service
     */
    // The number of blocks that each caller in the pool has to complete their
    // call.
    uint constant CALL_WINDOW_SIZE = 16;

    function getGenerationIdForCall(CallDatabase storage self, bytes32 callKey) constant returns (uint) {
            Call call = self.calls[callKey];
            return ResourcePoolLib.getGenerationForWindow(self.callerPool, call.targetBlock, call.targetBlock + call.gracePeriod);
    }

    function getDesignatedCaller(CallDatabase storage self, bytes32 callKey, uint blockNumber) constant returns (address) {
            /*
             *  Returns the caller from the current call pool who is
             *  designated as the executor of this call.
             */
            Call call = self.calls[callKey];
            if (blockNumber < call.targetBlock || blockNumber > call.targetBlock + call.gracePeriod) {
                    // blockNumber not within call window.
                    return 0x0;
            }

            // Check if we are in free-for-all window.
            uint numWindows = call.gracePeriod / CALL_WINDOW_SIZE;
            uint blockWindow = (blockNumber - call.targetBlock) / CALL_WINDOW_SIZE;

            if (blockWindow + 2 > numWindows) {
                    // We are within the free-for-all period.
                    return 0x0;
            }

            // Lookup the pool that full contains the call window for this
            // call.
            uint generationId = ResourcePoolLib.getGenerationForWindow(self.callerPool, call.targetBlock, call.targetBlock + call.gracePeriod);
            if (generationId == 0) {
                    // No pool currently in operation.
                    return 0x0;
            }
            var generation = self.callerPool.generations[generationId];

            uint offset = uint(callKey) % generation.members.length;
            return generation.members[(offset + blockWindow) % generation.members.length];
    }

    event _AwardedMissedBlockBonus(address indexed fromCaller, address indexed toCaller, uint indexed generationId, bytes32 callKey, uint blockNumber, uint bonusAmount);
    function AwardedMissedBlockBonus(address fromCaller, address toCaller, uint generationId, bytes32 callKey, uint blockNumber, uint bonusAmount) public {
        _AwardedMissedBlockBonus(fromCaller, toCaller, generationId, callKey, blockNumber, bonusAmount);
    }

    function getMinimumBond() constant returns (uint) {
            return tx.gasprice * block.gaslimit;
    }

    function doBondBonusTransfer(CallDatabase storage self, address fromCaller, address toCaller) internal returns (uint) {
            uint bonusAmount = getMinimumBond();
            uint bondBalance = self.callerPool.bonds[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
            ResourcePoolLib.deductFromBond(self.callerPool, fromCaller, bonusAmount);
            ResourcePoolLib.addToBond(self.callerPool, toCaller, bonusAmount);

            return bonusAmount;
    }

    function awardMissedBlockBonus(CallDatabase storage self, address toCaller, bytes32 callKey) public {
            var call = self.calls[callKey];

            var generation = self.callerPool.generations[ResourcePoolLib.getGenerationForWindow(self.callerPool, call.targetBlock, call.targetBlock + call.gracePeriod)];
            uint i;
            uint bonusAmount;
            address fromCaller;

            uint numWindows = call.gracePeriod / CALL_WINDOW_SIZE;
            uint blockWindow = (block.number - call.targetBlock) / CALL_WINDOW_SIZE;

            // 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(self, callKey, call.targetBlock);
                    for (i = call.targetBlock; i <= call.targetBlock + call.gracePeriod; i += CALL_WINDOW_SIZE) {
                            fromCaller = getDesignatedCaller(self, callKey, i);
                            if (fromCaller == firstCaller && i != call.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(self, fromCaller, toCaller);

                            // Log the bonus was awarded.
                            AwardedMissedBlockBonus(fromCaller, toCaller, generation.id, callKey, block.number, bonusAmount);
                    }
                    return;
            }

            // Special case for single member and empty pools
            if (generation.members.length < 2) {
                    return;
            }

            // Otherwise the award comes from the previous caller.
            for (i = 0; i < generation.members.length; i++) {
                    // Find where the member is in the pool and
                    // award from the previous pool members bond.
                    if (generation.members[i] == toCaller) {
                            fromCaller = generation.members[(i + generation.members.length - 1) % generation.members.length];

                            bonusAmount = doBondBonusTransfer(self, fromCaller, toCaller);

                            // Log the bonus was awarded.
                            AwardedMissedBlockBonus(fromCaller, toCaller, generation.id, callKey, block.number, bonusAmount);

                            // Remove the caller from the next pool.
                            if (ResourcePoolLib.getNextGenerationId(self.callerPool) == 0) {
                                    // This is the first address to modify the
                                    // current pool so we need to setup the next
                                    // pool.
                                    ResourcePoolLib.createNextGeneration(self.callerPool);
                            }
                            ResourcePoolLib.removeFromGeneration(self.callerPool, ResourcePoolLib.getNextGenerationId(self.callerPool), fromCaller);
                            return;
                    }
            }
    }

    /*
     *  Data registration API
     */
    event _DataRegistered(bytes32 indexed dataHash);
    function DataRegistered(bytes32 dataHash) constant {
        _DataRegistered(dataHash);
    }

    function registerData(CallDatabase storage self, bytes data) public {
            self.lastData.length = data.length - 4;
            if (data.length > 4) {
                    for (uint i = 0; i < self.lastData.length; i++) {
                            self.lastData[i] = data[i + 4];
                    }
            }
            self.data_registry[sha3(self.lastData)] = self.lastData;
            self.lastDataHash = sha3(self.lastData);
            self.lastDataLength = self.lastData.length;
    }

    /*
     *  Call execution API
     */
    // This number represents the constant gas cost of the addition
    // operations that occur in `doCall` that cannot be tracked with
    // msg.gas.
    uint constant EXTRA_CALL_GAS = 153321;

    // This number represents the overall overhead involved in executing a
    // scheduled call.
    uint constant CALL_OVERHEAD = 120104;

    event _CallExecuted(address indexed executedBy, bytes32 indexed callKey);
    function CallExecuted(address executedBy, bytes32 callKey) public {
        _CallExecuted(executedBy, callKey);
    }
    event _CallAborted(address indexed executedBy, bytes32 indexed callKey, bytes18 reason);
    function CallAborted(address executedBy, bytes32 callKey, bytes18 reason) public {
        _CallAborted(executedBy, callKey, reason);
    }

    function doCall(CallDatabase storage self, bytes32 callKey, address msgSender) public {
            uint gasBefore = msg.gas;

            Call storage call = self.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(self, callKey);

            if (self.gasBank.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 (self.callerPool.generations[ResourcePoolLib.getCurrentGenerationId(self.callerPool)].members.length > 0) {
                    address designatedCaller = getDesignatedCaller(self, callKey, block.number);
                    if (designatedCaller != 0x0 && designatedCaller != msgSender) {
                            // 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) / CALL_WINDOW_SIZE;
                    if (blockWindow > 0) {
                            // Someone missed their call so this caller
                            // gets to claim their bond for picking up
                            // their slack.
                            awardMissedBlockBonus(self, msgSender, callKey);
                    }
            }

            // Log metadata about the call.
            call.gasPrice = tx.gasprice;
            call.executedBy = msgSender;
            call.calledAtBlock = block.number;

            // Fetch the call data
            var data = self.data_registry[call.dataHash];

            // 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.
            AccountingLib.withdraw(self.gasBank, call.scheduledBy, heldBalance);

            // Mark whether the function call was successful.
            if (checkAuthorization(self, call.scheduledBy, call.contractAddress)) {
                    call.wasSuccessful = self.authorizedRelay.relayCall.gas(msg.gas - CALL_OVERHEAD)(call.contractAddress, call.abiSignature, data);
            }
            else {
                    call.wasSuccessful = self.unauthorizedRelay.relayCall.gas(msg.gas - CALL_OVERHEAD)(call.contractAddress, call.abiSignature, data);
            }

            // Add the held funds back into the scheduler's account.
            AccountingLib.deposit(self.gasBank, call.scheduledBy, heldBalance);

            // Mark the call as having been executed.
            call.wasCalled = true;

            // 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;

            AccountingLib.deductFunds(self.gasBank, call.scheduledBy, call.payout + call.fee);

            AccountingLib.addFunds(self.gasBank, msgSender, call.payout);
            AccountingLib.addFunds(self.gasBank, owner, call.fee);
    }

    function getCallMaxCost(CallDatabase storage self, bytes32 callKey) constant returns (uint) {
            /*
             *  tx.gasprice * block.gaslimit
             *  
             */
            // call cost + 2%
            var call = self.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) constant 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 computeCallKey(address scheduledBy, address contractAddress, bytes4 abiSignature, bytes32 dataHash, uint targetBlock, uint8 gracePeriod, uint nonce) constant 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);
    function CallScheduled(bytes32 callKey) public {
        _CallScheduled(callKey);
    }
    event _CallRejected(bytes32 indexed callKey, bytes15 reason);
    function CallRejected(bytes32 callKey, bytes15 reason) public {
        _CallRejected(callKey, reason);
    }

    function getCallWindowSize() public returns (uint) {
        return CALL_WINDOW_SIZE;
    }

    function getMinimumGracePeriod() public returns (uint) {
        return 4 * CALL_WINDOW_SIZE;
    }

    function scheduleCall(CallDatabase storage self, address schedulerAddress, address contractAddress, bytes4 abiSignature, bytes32 dataHash, uint targetBlock, uint8 gracePeriod, uint nonce) public returns (bytes15) {
            /*
             * Primary API for scheduling a call.  Prior to calling this
             * the data should already have been registered through the
             * `registerData` API.
             */
            bytes32 callKey = computeCallKey(schedulerAddress, contractAddress, abiSignature, dataHash, targetBlock, gracePeriod, nonce);

            if (dataHash != emptyDataHash && self.data_registry[dataHash].length == 0) {
                    // Don't allow registering calls if the data hash has
                    // not actually been registered.  The only exception is
                    // the *emptyDataHash*.
                    return "NO_DATA";
            }

            if (targetBlock < block.number + MAX_BLOCKS_IN_FUTURE) {
                    // Don't allow scheduling further than
                    // MAX_BLOCKS_IN_FUTURE
                    return "TOO_SOON";
            }
            Call storage call = self.calls[callKey];

            if (call.contractAddress != 0x0) {
                    return "DUPLICATE";
            }

            if (gracePeriod < getMinimumGracePeriod()) {
                    return "GRACE_TOO_SHORT";
            }

            self.lastCallKey = callKey;

            call.contractAddress = contractAddress;
            call.scheduledBy = schedulerAddress;
            call.nonce = nonce;
            call.abiSignature = abiSignature;
            call.dataHash = dataHash;
            call.targetBlock = targetBlock;
            call.gracePeriod = gracePeriod;
            call.baseGasPrice = tx.gasprice;

            // Put the call into the grove index.
            GroveLib.insert(self.callIndex, callKey, int(call.targetBlock));

            return 0x0;
    }

    event _CallCancelled(bytes32 indexed callKey);
    function CallCancelled(bytes32 callKey) public {
        _CallCancelled(callKey);
    }

    // Two minutes
    uint constant MIN_CANCEL_WINDOW = 8;

    function cancelCall(CallDatabase storage self, bytes32 callKey, address msgSender) public returns (bool) {
            Call storage call = self.calls[callKey];
            if (call.scheduledBy != msgSender) {
                    // Nobody but the scheduler can cancel a call.
                    return false;
            }
            if (call.wasCalled) {
                    // No need to cancel a call that already was executed.
                    return false;
            }
            if (call.targetBlock - MIN_CANCEL_WINDOW <= block.number) {
                    // Call cannot be cancelled this close to execution.
                    return false;
            }
            call.isCancelled = true;
            return true;
    }
}


/*
 *  Ethereum Alarm Service
 *  Version 0.4.0
 *
 *  address: 0x07307d0b136a79bac718f43388aed706389c4588
 */
contract Alarm {
        /*
         *  Constructor
         *
         *  - sets up relays
         *  - configures the caller pool.
         */
        function Alarm() {
                callDatabase.unauthorizedRelay = new Relay();
                callDatabase.authorizedRelay = new Relay();

                callDatabase.callerPool.freezePeriod = 80;
                callDatabase.callerPool.rotationDelay = 80;
                callDatabase.callerPool.overlapSize = 256;
        }

        ScheduledCallLib.CallDatabase callDatabase;

        // The author (Piper Merriam) address.
        address constant owner = 0xd3cda913deb6f67967b99d67acdfa1712c293601;

        /*
         *  Account Management API
         */
        function getAccountBalance(address accountAddress) constant public returns (uint) {
                return callDatabase.gasBank.accountBalances[accountAddress];
        }

        function deposit() public {
                deposit(msg.sender);
        }

        function deposit(address accountAddress) public {
                /*
                 *  Public API for depositing funds in a specified account.
                 */
                AccountingLib.deposit(callDatabase.gasBank, accountAddress, msg.value);
                AccountingLib.Deposit(msg.sender, accountAddress, msg.value);
        }

        function withdraw(uint value) public {
                /*
                 *  Public API for withdrawing funds.
                 */
                if (AccountingLib.withdraw(callDatabase.gasBank, msg.sender, value)) {
                        AccountingLib.Withdrawal(msg.sender, value);
                }
                else {
                        AccountingLib.InsufficientFunds(msg.sender, value, callDatabase.gasBank.accountBalances[msg.sender]);
                }
        }

        function() {
                /*
                 *  Fallback function that allows depositing funds just by
                 *  sending a transaction.
                 */
                deposit(msg.sender);
        }

        /*
         *  Scheduling Authorization API
         */
        function unauthorizedAddress() constant returns (address) {
                return address(callDatabase.unauthorizedRelay);
        }

        function authorizedAddress() constant returns (address) {
                return address(callDatabase.authorizedRelay);
        }

        function addAuthorization(address schedulerAddress) public {
                ScheduledCallLib.addAuthorization(callDatabase, schedulerAddress, msg.sender);
        }

        function removeAuthorization(address schedulerAddress) public {
                callDatabase.accountAuthorizations[sha3(schedulerAddress, msg.sender)] = false;
        }

        function checkAuthorization(address schedulerAddress, address contractAddress) constant returns (bool) {
                return callDatabase.accountAuthorizations[sha3(schedulerAddress, contractAddress)];
        }

        /*
         *  Caller bonding
         */
        function getMinimumBond() constant returns (uint) {
                return ScheduledCallLib.getMinimumBond();
        }

        function depositBond() public {
                ResourcePoolLib.addToBond(callDatabase.callerPool, msg.sender, msg.value);
        }

        function withdrawBond(uint value) public {
                ResourcePoolLib.withdrawBond(callDatabase.callerPool, msg.sender, value, getMinimumBond());
        }

        function getBondBalance() constant returns (uint) {
                return getBondBalance(msg.sender);
        }

        function getBondBalance(address callerAddress) constant returns (uint) {
                return callDatabase.callerPool.bonds[callerAddress];
        }


        /*
         *  Pool Management
         */
        function getGenerationForCall(bytes32 callKey) constant returns (uint) {
                var call = callDatabase.calls[callKey];
                return ResourcePoolLib.getGenerationForWindow(callDatabase.callerPool, call.targetBlock, call.targetBlock + call.gracePeriod);
        }

        function getGenerationSize(uint generationId) constant returns (uint) {
                return callDatabase.callerPool.generations[generationId].members.length;
        }

        function getGenerationStartAt(uint generationId) constant returns (uint) {
                return callDatabase.callerPool.generations[generationId].startAt;
        }

        function getGenerationEndAt(uint generationId) constant returns (uint) {
                return callDatabase.callerPool.generations[generationId].endAt;
        }

        function getCurrentGenerationId() constant returns (uint) {
                return ResourcePoolLib.getCurrentGenerationId(callDatabase.callerPool);
        }

        function getNextGenerationId() constant returns (uint) {
                return ResourcePoolLib.getNextGenerationId(callDatabase.callerPool);
        }

        function isInPool() constant returns (bool) {
                return ResourcePoolLib.isInPool(callDatabase.callerPool, msg.sender);
        }

        function isInPool(address callerAddress) constant returns (bool) {
                return ResourcePoolLib.isInPool(callDatabase.callerPool, callerAddress);
        }

        function isInGeneration(uint generationId) constant returns (bool) {
                return isInGeneration(msg.sender, generationId);
        }

        function isInGeneration(address callerAddress, uint generationId) constant returns (bool) {
                return ResourcePoolLib.isInGeneration(callDatabase.callerPool, callerAddress, generationId);
        }

        /*
         *  Pool Meta information
         */
        function getPoolFreezePeriod() constant returns (uint) {
                return callDatabase.callerPool.freezePeriod;
        }

        function getPoolOverlapSize() constant returns (uint) {
                return callDatabase.callerPool.overlapSize;
        }

        function getPoolRotationDelay() constant returns (uint) {
                return callDatabase.callerPool.rotationDelay;
        }

        /*
         *  Pool Membership
         */
        function canEnterPool() constant returns (bool) {
                return ResourcePoolLib.canEnterPool(callDatabase.callerPool, msg.sender, getMinimumBond());
        }

        function canEnterPool(address callerAddress) constant returns (bool) {
                return ResourcePoolLib.canEnterPool(callDatabase.callerPool, callerAddress, getMinimumBond());
        }

        function canExitPool() constant returns (bool) {
                return ResourcePoolLib.canExitPool(callDatabase.callerPool, msg.sender);
        }

        function canExitPool(address callerAddress) constant returns (bool) {
                return ResourcePoolLib.canExitPool(callDatabase.callerPool, callerAddress);
        }

        function enterPool() public {
                uint generationId = ResourcePoolLib.enterPool(callDatabase.callerPool, msg.sender, getMinimumBond());
                ResourcePoolLib.AddedToGeneration(msg.sender, generationId);
        }

        function exitPool() public {
                uint generationId = ResourcePoolLib.exitPool(callDatabase.callerPool, msg.sender);
                ResourcePoolLib.RemovedFromGeneration(msg.sender, generationId);
        }

        /*
         *  Call Information API
         */

        function getLastCallKey() constant returns (bytes32) {
                return callDatabase.lastCallKey;
        }

        /*
         *  Getter methods for `Call` information
         */
        function getCallContractAddress(bytes32 callKey) constant returns (address) {
                return ScheduledCallLib.getCallContractAddress(callDatabase, callKey);
        }

        function getCallScheduledBy(bytes32 callKey) constant returns (address) {
                return ScheduledCallLib.getCallScheduledBy(callDatabase, callKey);
        }

        function getCallCalledAtBlock(bytes32 callKey) constant returns (uint) {
                return ScheduledCallLib.getCallCalledAtBlock(callDatabase, callKey);
        }

        function getCallGracePeriod(bytes32 callKey) constant returns (uint) {
                return ScheduledCallLib.getCallGracePeriod(callDatabase, callKey);
        }

        function getCallTargetBlock(bytes32 callKey) constant returns (uint) {
                return ScheduledCallLib.getCallTargetBlock(callDatabase, callKey);
        }

        function getCallBaseGasPrice(bytes32 callKey) constant returns (uint) {
                return ScheduledCallLib.getCallBaseGasPrice(callDatabase, callKey);
        }

        function getCallGasPrice(bytes32 callKey) constant returns (uint) {
                return ScheduledCallLib.getCallGasPrice(callDatabase, callKey);
        }

        function getCallGasUsed(bytes32 callKey) constant returns (uint) {
                return ScheduledCallLib.getCallGasUsed(callDatabase, callKey);
        }

        function getCallABISignature(bytes32 callKey) constant returns (bytes4) {
                return ScheduledCallLib.getCallABISignature(callDatabase, callKey);
        }

        function checkIfCalled(bytes32 callKey) constant returns (bool) {
                return ScheduledCallLib.checkIfCalled(callDatabase, callKey);
        }

        function checkIfSuccess(bytes32 callKey) constant returns (bool) {
                return ScheduledCallLib.checkIfSuccess(callDatabase, callKey);
        }

        function checkIfCancelled(bytes32 callKey) constant returns (bool) {
                return ScheduledCallLib.checkIfCancelled(callDatabase, callKey);
        }

        function getCallDataHash(bytes32 callKey) constant returns (bytes32) {
                return ScheduledCallLib.getCallDataHash(callDatabase, callKey);
        }

        function getCallPayout(bytes32 callKey) constant returns (uint) {
                return ScheduledCallLib.getCallPayout(callDatabase, callKey);
        }

        function getCallFee(bytes32 callKey) constant returns (uint) {
                return ScheduledCallLib.getCallFee(callDatabase, callKey);
        }

        function getCallMaxCost(bytes32 callKey) constant returns (uint) {
                return ScheduledCallLib.getCallMaxCost(callDatabase, callKey);
        }

        function getCallData(bytes32 callKey) constant returns (bytes) {
                return callDatabase.data_registry[callDatabase.calls[callKey].dataHash];
        }

        /*
         *  Data registration API
         */
        function registerData() public {
                ScheduledCallLib.registerData(callDatabase, msg.data);
                ScheduledCallLib.DataRegistered(callDatabase.lastDataHash);
        }

        function getLastDataHash() constant returns (bytes32) {
                return callDatabase.lastDataHash;
        }

        function getLastDataLength() constant returns (uint) {
                return callDatabase.lastDataLength;
        }

        function getLastData() constant returns (bytes) {
                return callDatabase.lastData;
        }

        /*
         *  Call execution API
         */
        function doCall(bytes32 callKey) public {
                ScheduledCallLib.doCall(callDatabase, callKey, msg.sender);
        }

        /*
         *  Call Scheduling API
         */
        function getMinimumGracePeriod() constant returns (uint) {
                return ScheduledCallLib.getMinimumGracePeriod();
        }

        function scheduleCall(address contractAddress, bytes4 abiSignature, bytes32 dataHash, uint targetBlock) public {
                /*
                 *  Schedule call with gracePeriod defaulted to 255 and nonce
                 *  defaulted to 0.
                 */
                scheduleCall(contractAddress, abiSignature, dataHash, targetBlock, 255, 0);
        }

        function scheduleCall(address contractAddress, bytes4 abiSignature, bytes32 dataHash, uint targetBlock, uint8 gracePeriod) public {
                /*
                 *  Schedule call with nonce defaulted to 0.
                 */
                scheduleCall(contractAddress, abiSignature, dataHash, targetBlock, gracePeriod, 0);
        }

        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.
                 */
                bytes15 reason = ScheduledCallLib.scheduleCall(callDatabase, msg.sender, contractAddress, abiSignature, dataHash, targetBlock, gracePeriod, nonce);
                bytes32 callKey = ScheduledCallLib.computeCallKey(msg.sender, contractAddress, abiSignature, dataHash, targetBlock, gracePeriod, nonce);

                if (reason != 0x0) {
                        ScheduledCallLib.CallRejected(callKey, reason);
                }
                else {
                        ScheduledCallLib.CallScheduled(callKey);
                }
        }

        function cancelCall(bytes32 callKey) public {
                if (ScheduledCallLib.cancelCall(callDatabase, callKey, address(msg.sender))) {
                        ScheduledCallLib.CallCancelled(callKey);
                }
        }

        /*
         *  Next Call API
         */
        function getCallWindowSize() constant returns (uint) {
                return ScheduledCallLib.getCallWindowSize();
        }

        function getGenerationIdForCall(bytes32 callKey) constant returns (uint) {
                return ScheduledCallLib.getGenerationIdForCall(callDatabase, callKey);
        }

        function getDesignatedCaller(bytes32 callKey, uint blockNumber) constant returns (address) {
                return ScheduledCallLib.getDesignatedCaller(callDatabase, callKey, blockNumber);
        }

        function getNextCall(uint blockNumber) constant returns (bytes32) {
                return GroveLib.query(callDatabase.callIndex, ">=", int(blockNumber));
        }

        function getNextCallSibling(bytes32 callKey) constant returns (bytes32) {
                return GroveLib.getNextNode(callDatabase.callIndex, callKey);
        }
}

Compiled Binary


======= AccountingLib =======
Binary: 
60606040526102e0806100126000396000f3650106d41f8b7c50606060405236156100695760e060020a60003504635548c837811461006e5780635c54305e146100ca5780636b1039661461011e5780637fcf532c14610152578063b1df3d801461019e578063b5bc6dbb146101b7578063e62af6c1146101ee575b610007565b61022060043560243560443581600160a060020a031683600160a060020a03167f47a08955ce2b7f21ea62ff0024e1ea0ad87430953554a87e6bc65d777f18e639836040518082815260200191505060405180910390a3505050565b61022060043560243560443560408051838152602081018390528151600160a060020a038616927f9b24879829bed3003de08d5c5d7e18dcbb8dc76faebd95cafc5d4dec8c61a3a5928290030190a2505050565b6102206004356024356044355b600160a060020a038216600090815260208490526040902054808201101561023457610007565b610220600435602435604080518281529051600160a060020a038416917fd0c5cf41ee8ebf084ad0bce53de7cbc6e4693d9b53a4019ca36a2f91cdc20b3a919081900360200190a25050565b610222600435602435604435600061025784848461012b565b610222600435602435604435600160a060020a0382166000908152602084905260408120548290106102865761028e8484846101fb565b6102206004356024356044355b600160a060020a03821660009081526020849052604090205481111561026257610007565b005b60408051918252519081900360200190f35b600160a060020a0382166000908152602084905260409020805482019055505050565b5060015b9392505050565b600160a060020a038216600090815260208490526040902080548290039055505050565b50600061025b565b604051600160a060020a03841690600090849082818181858883f19350505050151561025757604051600160a060020a038416908390600081818185876185025a03f19250505015156102575761000756
Binary of the runtime part: 
650106d41f8b7c50606060405236156100695760e060020a60003504635548c837811461006e5780635c54305e146100ca5780636b1039661461011e5780637fcf532c14610152578063b1df3d801461019e578063b5bc6dbb146101b7578063e62af6c1146101ee575b610007565b61022060043560243560443581600160a060020a031683600160a060020a03167f47a08955ce2b7f21ea62ff0024e1ea0ad87430953554a87e6bc65d777f18e639836040518082815260200191505060405180910390a3505050565b61022060043560243560443560408051838152602081018390528151600160a060020a038616927f9b24879829bed3003de08d5c5d7e18dcbb8dc76faebd95cafc5d4dec8c61a3a5928290030190a2505050565b6102206004356024356044355b600160a060020a038216600090815260208490526040902054808201101561023457610007565b610220600435602435604080518281529051600160a060020a038416917fd0c5cf41ee8ebf084ad0bce53de7cbc6e4693d9b53a4019ca36a2f91cdc20b3a919081900360200190a25050565b610222600435602435604435600061025784848461012b565b610222600435602435604435600160a060020a0382166000908152602084905260408120548290106102865761028e8484846101fb565b6102206004356024356044355b600160a060020a03821660009081526020849052604090205481111561026257610007565b005b60408051918252519081900360200190f35b600160a060020a0382166000908152602084905260409020805482019055505050565b5060015b9392505050565b600160a060020a038216600090815260208490526040902080548290039055505050565b50600061025b565b604051600160a060020a03841690600090849082818181858883f19350505050151561025757604051600160a060020a038416908390600081818185876185025a03f19250505015156102575761000756

======= Alarm =======
Binary: 
6060604052606061015e8061007e833901809050604051809103906000f060405160008054600160a060020a0319169290921790915561015e806101dc833901809050604051809103906000f060018054600160a060020a031916919091179055605060088190556006556101006007556120608061033a6000396000f3606060405260008054600160a060020a0319163317905561013a806100246000396000f3606060405260e060020a6000350463e8b1d0f3811461001b575b005b60806020601f6044356004818101359283018490049093028401604052606082815261008e94843594602480359591946064949391019190819083828082843750949650505050505050600080543373ffffffffffffffffffffffffffffffffffffffff9081169116146100a057610002565b60408051918252519081900360200190f35b8373ffffffffffffffffffffffffffffffffffffffff168360e060020a9004836040518260e060020a028152600401808280519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509150506000604051808303816000876161da5a03f197965050505050505056606060405260008054600160a060020a0319163317905561013a806100246000396000f3606060405260e060020a6000350463e8b1d0f3811461001b575b005b60806020601f6044356004818101359283018490049093028401604052606082815261008e94843594602480359591946064949391019190819083828082843750949650505050505050600080543373ffffffffffffffffffffffffffffffffffffffff9081169116146100a057610002565b60408051918252519081900360200190f35b8373ffffffffffffffffffffffffffffffffffffffff168360e060020a9004836040518260e060020a028152600401808280519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509150506000604051808303816000876161da5a03f197965050505050505056606060405236156102ea5760e060020a6000350463022bc71f81146102f757806303d6d7b61461037f578063086ae9e4146103ec57806309c975df146104595780631145a20f146104c657806312d67c5f146104e75780631302188c146104f15780631ae460e5146104fc57806323306ed614610573578063234917d4146105ca57806329917954146106375780632a472ae81461071d5780632e1a7d4d1461078a578063306b031d1461087f57806333613cbe1461089d57806334c19b93146108c257806335b281531461092f5780633664a0ea146109b85780633c941423146109c35780633cbfed7414610a3b57806350a3bd3914610a4957806352afbc3314610a735780635539d40014610c2a5780635a5383ac14610c3e57806360b831e514610cb55780636164947214610d7f578063685c234a14610d8a5780636ffc089614610de0578063741b3c3914610e4d5780637542861514610ed25780637772a38014610f5557806377b19cd514610ff057806378bc64601461105d5780638b37e656146110ca5780638baced64146111375780638dd5e298146111b157806393423e9c146111de57806394d2b21b1461120257806394f3f81d1461121657806398e00e54146112665780639f927be7146112bc578063a502aae81461136a578063a6c01cfd146113e8578063a9743c68146113fa578063aa4cc01f14611467578063b010d94a146114d4578063b0171fa41461154e578063b0ac4c8c146115cc578063b0f07e4414611635578063b35594601461171c578063c0f6885914611739578063c3daab961461178f578063c630f92b146117bb578063c831391d146117e5578063cd062734146117f0578063d0e30db01461185d578063db681e5414611865578063e40986551461190c578063e850f3ae14611979578063ed2b8e0b146119e6578063f340fa01146119f1578063f828c3fa14611ae8578063f8b1185314611b07578063f9f447eb14611b24578063fc30052214611b91578063fcf3691814611bfe575b6112645b611c86336119f8565b611c88600435604080517fc4144b260000000000000000000000000000000000000000000000000000000081526010600482015260248101839052905160009173920c890a90db8fba7604864b0cf38ee6673313239163c4144b26916044818101926020929091908290030181878760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d898637d613b346000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863da40fd616000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c9a6004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863c68efc486000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b61126460043560243560443560643560843561200185858585856000610a89565b611c886004545b90565b611c886005546104ee565b611c886040805160e160020a6333f8a36702815260066004820152600160a060020a0333166024820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e916367f146ce916044818101926020929091908290030181878760325a03f2156100025750506040515191506104ee9050565b611c885b6000735c3623dcef2d5168dbe3e8cc538788cd8912d8986323306ed66040518160e060020a02815260040180905060206040518083038160008760325a03f2156100025750506040515191506104ee9050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863e99a66856000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611264604080517f317c152d00000000000000000000000000000000000000000000000000000000815260066004820152600160a060020a0333166024820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163317c152d916044818101926020929091908290030181878760325a03f2156100025750506040805180517ff1173928000000000000000000000000000000000000000000000000000000008252600160a060020a0333166004830152602482018190529151919363f1173928926044838101938290030181838760325a03f2156100025750505050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863707378396000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611264600435604080517fb5bc6dbb00000000000000000000000000000000000000000000000000000000815260126004820152600160a060020a0333166024820152604481018390529051737de615d8a51746a9f10f72a593fb5b3718dc3d529163b5bc6dbb916064828101926020929190829003018160008760325a03f21561000257505060405151159050611d2557737de615d8a51746a9f10f72a593fb5b3718dc3d52637fcf532c33836040518360e060020a0281526004018083600160a060020a031681526020018281526020019250505060006040518083038160008760325a03f21561000257505050611ae5565b611c886004356000818152600e60205260409020600201545b919050565b611c886004355b600160a060020a0381166000908152600f6020526040902054610898565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863fc4730126000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611264600435604080517fa95d3e76000000000000000000000000000000000000000000000000000000008152600060048201819052600160a060020a038481166024840152331660448301529151735c3623dcef2d5168dbe3e8cc538788cd8912d8989263a95d3e7692606481810193918290030181838760325a03f2156100025750505050565b611c886002546104ee565b611c9a6004356024356000735c3623dcef2d5168dbe3e8cc538788cd8912d8986398213db6600060005085856040518460e060020a02815260040180848152602001838152602001828152602001935050505060206040518083038160008760325a03f215610002575050604051519150610dda9050565b611c886000611e0a336108a4565b611264600073d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e635748147e600633611ec2610577565b61126460043560243560443560643560843560a4355b604080517ff1924efb000000000000000000000000000000000000000000000000000000008152600060048201819052600160a060020a03338116602484015289166044830152606482018890526084820187905260a4820186905260ff851660c483015260e4820184905291518291735c3623dcef2d5168dbe3e8cc538788cd8912d8989163f1924efb91610104818101926020929091908290030181878760325a03f2156100025750506040805180517f5a1230bf000000000000000000000000000000000000000000000000000000008252600160a060020a0333811660048401528c166024830152604482018b9052606482018a90526084820189905260ff881660a483015260c482018790529151919450635a1230bf9160e48083019260209291908290030181878760325a03f21561000257505060405151918314905061200857735c3623dcef2d5168dbe3e8cc538788cd8912d8986318b753ab82846040518360e060020a028152600401808381526020018281526020019250505060006040518083038160008760325a03f21561000257505050612056565b611c9a600154600160a060020a03166104ee565b611c886040805160e560020a6304b47bb902815260066004820152600160a060020a0333166024820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163968f7720916044818101926020929091908290030181878760325a03f2156100025750506040515191506104ee9050565b611264600435735c3623dcef2d5168dbe3e8cc538788cd8912d898637e853f3d600060005083336040518460e060020a0281526004018084815260200183815260200182600160a060020a03168152602001935050505060206040518083038160008760325a03f21561000257505060405151159050611ae557735c3623dcef2d5168dbe3e8cc538788cd8912d89863ab2af349826040518260e060020a0281526004018082815260200191505060006040518083038160008760325a03f2156100025750505050565b611c886008546104ee565b611c88600435602435604080516c01000000000000000000000000600160a060020a03858116820283528416026014820152815160289181900391909101902060009081526015602052205460ff165b92915050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863b506054f6000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611264604080517f068e3ef100000000000000000000000000000000000000000000000000000000815260066004820152600160a060020a0333166024820152346044820152905173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163068e3ef19160648281019260009291908290030181838760325a03f21561000257505050565b611cb76004356040805160208181018352600080835284815260138252838120600d0154815260148252835190849020805460026001821615610100026000190190911604601f81018490048402830184019095528482529293909291830182828015611fb85780601f10611f8d57610100808354040283529160200191611fb8565b611c886004356024355b604080517fa163a32500000000000000000000000000000000000000000000000000000000815260066004820152600160a060020a038416602482015260448101839052905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163a163a325916064818101926020929091908290030181878760325a03f215610002575050604051519150610dda9050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863775f20f96000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d898637517a7c96000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c9a6004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863250687836000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356040805160e160020a6333f8a36702815260066004820152600160a060020a0383166024820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e916367f146ce916044818101926020929091908290030181878760325a03f2156100025750506040515191506108989050565b611c88600435600073d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e6354e37911600684611e6d610577565b611c88600435600160a060020a038116600090815260126020526040902054610898565b611c9a600054600160a060020a03166104ee565b604080516c01000000000000000000000000600435600160a060020a0390811682028352331602601482015281516028918190039190910190206000908152601560205220805460ff191690555b005b611c886000735c3623dcef2d5168dbe3e8cc538788cd8912d8986398e00e546040518160e060020a02815260040180905060206040518083038160008760325a03f2156100025750506040515191506104ee9050565b611c88600435604080517fe6ce3a6a000000000000000000000000000000000000000000000000000000008152601060048201527f3e3d000000000000000000000000000000000000000000000000000000000000602482015260448101839052905160009173920c890a90db8fba7604864b0cf38ee6673313239163e6ce3a6a916064818101926020929091908290030181878760325a03f2156100025750506040515191506108989050565b611c88604080517f8f00e61a00000000000000000000000000000000000000000000000000000000815260066004820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e91638f00e61a916024818101926020929091908290030181878760325a03f2156100025750506040515191506104ee9050565b611c886004356000611e113383610f5f565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863dd382dd36000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863aebd65476000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356040805160e560020a6304b47bb902815260066004820152600160a060020a0383166024820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163968f7720916044818101926020929091908290030181878760325a03f2156100025750506040515191506108989050565b611c88604080517fc75e8f8800000000000000000000000000000000000000000000000000000000815260066004820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163c75e8f88916024818101926020929091908290030181878760325a03f2156100025750506040515191506104ee9050565b611cb760408051602081810183526000825282516003805460026000196001831615610100020190911604601f81018490048402830184019095528482529293909291830182828015611fef5780601f10611fc457610100808354040283529160200191611fef565b611264604080517fa8971375000000000000000000000000000000000000000000000000000000008152600060048201818152602483019384523660448401819052735c3623dcef2d5168dbe3e8cc538788cd8912d8989463a89713759484939190606401848480828437820191505094505050505060006040518083038160008760325a03f215610002575050604080516005547f321f45840000000000000000000000000000000000000000000000000000000082526004820152905163321f4584916024818101926000929091908290030181838760325a03f21561000257505050565b611c886004356000818152600e6020526040902060030154610898565b611c886000735c3623dcef2d5168dbe3e8cc538788cd8912d89863c0f688596040518160e060020a02815260040180905060206040518083038160008760325a03f2156100025750506040515191506104ee9050565b61126460043573d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e63dd8abb6c60063384611db7610577565b611c88600073d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e6354e37911600633611e18610577565b611c886007546104ee565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863125935846000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b6112646102ee565b611c886004356000818152601360209081526040805181842060038101546004828101547f38f4c9eb0000000000000000000000000000000000000000000000000000000085526006918501919091526024840182905260ff160160448301529151919273d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e926338f4c9eb9260648181019392918290030181888760325a03f21561000257505060405151949350505050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863fae644646000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863b3a5e2556000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886006546104ee565b6112646004355b604080517fb1df3d8000000000000000000000000000000000000000000000000000000000815260126004820152600160a060020a03831660248201523460448201529051737de615d8a51746a9f10f72a593fb5b3718dc3d529163b1df3d80916064828101926020929190829003018160008760325a03f215610002575050604080517f5548c837000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152841660248201523460448201529051635548c837916064818101926000929091908290030181838760325a03f215610002575050505b50565b611264600435602435604435606435611ffb8484848460ff6000610a89565b611c886004356000818152600e6020526040902060010154610898565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863c9abdb7c6000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d8986386b0aac96000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611264600435604080517f25fea09900000000000000000000000000000000000000000000000000000000815260006004820181905260248201849052600160a060020a03331660448301529151735c3623dcef2d5168dbe3e8cc538788cd8912d898926325fea09992606481810193918290030181838760325a03f2156100025750505050565b565b60408051918252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f168015611d175780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600160a060020a0333166000818152601260205260408051818320547f5c54305e000000000000000000000000000000000000000000000000000000008252600482019490945260248101859052604481019390935251737de615d8a51746a9f10f72a593fb5b3718dc3d5292635c54305e9260648281019391928290030181838760325a03f2156100025750505050565b6040518560e060020a0281526004018085815260200184600160a060020a0316815260200183815260200182815260200194505050505060006040518083038160008760325a03f2156100025750505050565b90506104ee565b9050610898565b6040518460e060020a0281526004018084815260200183600160a060020a03168152602001828152602001935050505060206040518083038160008760325a03f2156100025750506040515191506104ee9050565b6040518460e060020a0281526004018084815260200183600160a060020a03168152602001828152602001935050505060206040518083038160008760325a03f2156100025750506040515191506108989050565b6040518460e060020a0281526004018084815260200183600160a060020a03168152602001828152602001935050505060206040518083038160008760325a03f2156100025750506040805180517f6a704d7b000000000000000000000000000000000000000000000000000000008252600160a060020a033316600483015260248201819052915191935073d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9250636a704d7b9160448281019260009291908290030181838760325a03f2156100025750505050565b820191906000526020600020905b815481529060010190602001808311611f9b57829003601f168201915b50505050509050610898565b820191906000526020600020905b815481529060010190602001808311611fd257829003601f168201915b505050505090506104ee565b50505050565b5050505050565b735c3623dcef2d5168dbe3e8cc538788cd8912d898635ca1bad5826040518260e060020a0281526004018082815260200191505060006040518083038160008760325a03f215610002575050505b505050505050505056
Binary of the runtime part: 
606060405236156102ea5760e060020a6000350463022bc71f81146102f757806303d6d7b61461037f578063086ae9e4146103ec57806309c975df146104595780631145a20f146104c657806312d67c5f146104e75780631302188c146104f15780631ae460e5146104fc57806323306ed614610573578063234917d4146105ca57806329917954146106375780632a472ae81461071d5780632e1a7d4d1461078a578063306b031d1461087f57806333613cbe1461089d57806334c19b93146108c257806335b281531461092f5780633664a0ea146109b85780633c941423146109c35780633cbfed7414610a3b57806350a3bd3914610a4957806352afbc3314610a735780635539d40014610c2a5780635a5383ac14610c3e57806360b831e514610cb55780636164947214610d7f578063685c234a14610d8a5780636ffc089614610de0578063741b3c3914610e4d5780637542861514610ed25780637772a38014610f5557806377b19cd514610ff057806378bc64601461105d5780638b37e656146110ca5780638baced64146111375780638dd5e298146111b157806393423e9c146111de57806394d2b21b1461120257806394f3f81d1461121657806398e00e54146112665780639f927be7146112bc578063a502aae81461136a578063a6c01cfd146113e8578063a9743c68146113fa578063aa4cc01f14611467578063b010d94a146114d4578063b0171fa41461154e578063b0ac4c8c146115cc578063b0f07e4414611635578063b35594601461171c578063c0f6885914611739578063c3daab961461178f578063c630f92b146117bb578063c831391d146117e5578063cd062734146117f0578063d0e30db01461185d578063db681e5414611865578063e40986551461190c578063e850f3ae14611979578063ed2b8e0b146119e6578063f340fa01146119f1578063f828c3fa14611ae8578063f8b1185314611b07578063f9f447eb14611b24578063fc30052214611b91578063fcf3691814611bfe575b6112645b611c86336119f8565b611c88600435604080517fc4144b260000000000000000000000000000000000000000000000000000000081526010600482015260248101839052905160009173920c890a90db8fba7604864b0cf38ee6673313239163c4144b26916044818101926020929091908290030181878760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d898637d613b346000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863da40fd616000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c9a6004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863c68efc486000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b61126460043560243560443560643560843561200185858585856000610a89565b611c886004545b90565b611c886005546104ee565b611c886040805160e160020a6333f8a36702815260066004820152600160a060020a0333166024820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e916367f146ce916044818101926020929091908290030181878760325a03f2156100025750506040515191506104ee9050565b611c885b6000735c3623dcef2d5168dbe3e8cc538788cd8912d8986323306ed66040518160e060020a02815260040180905060206040518083038160008760325a03f2156100025750506040515191506104ee9050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863e99a66856000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611264604080517f317c152d00000000000000000000000000000000000000000000000000000000815260066004820152600160a060020a0333166024820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163317c152d916044818101926020929091908290030181878760325a03f2156100025750506040805180517ff1173928000000000000000000000000000000000000000000000000000000008252600160a060020a0333166004830152602482018190529151919363f1173928926044838101938290030181838760325a03f2156100025750505050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863707378396000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611264600435604080517fb5bc6dbb00000000000000000000000000000000000000000000000000000000815260126004820152600160a060020a0333166024820152604481018390529051737de615d8a51746a9f10f72a593fb5b3718dc3d529163b5bc6dbb916064828101926020929190829003018160008760325a03f21561000257505060405151159050611d2557737de615d8a51746a9f10f72a593fb5b3718dc3d52637fcf532c33836040518360e060020a0281526004018083600160a060020a031681526020018281526020019250505060006040518083038160008760325a03f21561000257505050611ae5565b611c886004356000818152600e60205260409020600201545b919050565b611c886004355b600160a060020a0381166000908152600f6020526040902054610898565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863fc4730126000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611264600435604080517fa95d3e76000000000000000000000000000000000000000000000000000000008152600060048201819052600160a060020a038481166024840152331660448301529151735c3623dcef2d5168dbe3e8cc538788cd8912d8989263a95d3e7692606481810193918290030181838760325a03f2156100025750505050565b611c886002546104ee565b611c9a6004356024356000735c3623dcef2d5168dbe3e8cc538788cd8912d8986398213db6600060005085856040518460e060020a02815260040180848152602001838152602001828152602001935050505060206040518083038160008760325a03f215610002575050604051519150610dda9050565b611c886000611e0a336108a4565b611264600073d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e635748147e600633611ec2610577565b61126460043560243560443560643560843560a4355b604080517ff1924efb000000000000000000000000000000000000000000000000000000008152600060048201819052600160a060020a03338116602484015289166044830152606482018890526084820187905260a4820186905260ff851660c483015260e4820184905291518291735c3623dcef2d5168dbe3e8cc538788cd8912d8989163f1924efb91610104818101926020929091908290030181878760325a03f2156100025750506040805180517f5a1230bf000000000000000000000000000000000000000000000000000000008252600160a060020a0333811660048401528c166024830152604482018b9052606482018a90526084820189905260ff881660a483015260c482018790529151919450635a1230bf9160e48083019260209291908290030181878760325a03f21561000257505060405151918314905061200857735c3623dcef2d5168dbe3e8cc538788cd8912d8986318b753ab82846040518360e060020a028152600401808381526020018281526020019250505060006040518083038160008760325a03f21561000257505050612056565b611c9a600154600160a060020a03166104ee565b611c886040805160e560020a6304b47bb902815260066004820152600160a060020a0333166024820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163968f7720916044818101926020929091908290030181878760325a03f2156100025750506040515191506104ee9050565b611264600435735c3623dcef2d5168dbe3e8cc538788cd8912d898637e853f3d600060005083336040518460e060020a0281526004018084815260200183815260200182600160a060020a03168152602001935050505060206040518083038160008760325a03f21561000257505060405151159050611ae557735c3623dcef2d5168dbe3e8cc538788cd8912d89863ab2af349826040518260e060020a0281526004018082815260200191505060006040518083038160008760325a03f2156100025750505050565b611c886008546104ee565b611c88600435602435604080516c01000000000000000000000000600160a060020a03858116820283528416026014820152815160289181900391909101902060009081526015602052205460ff165b92915050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863b506054f6000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611264604080517f068e3ef100000000000000000000000000000000000000000000000000000000815260066004820152600160a060020a0333166024820152346044820152905173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163068e3ef19160648281019260009291908290030181838760325a03f21561000257505050565b611cb76004356040805160208181018352600080835284815260138252838120600d0154815260148252835190849020805460026001821615610100026000190190911604601f81018490048402830184019095528482529293909291830182828015611fb85780601f10611f8d57610100808354040283529160200191611fb8565b611c886004356024355b604080517fa163a32500000000000000000000000000000000000000000000000000000000815260066004820152600160a060020a038416602482015260448101839052905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163a163a325916064818101926020929091908290030181878760325a03f215610002575050604051519150610dda9050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863775f20f96000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d898637517a7c96000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c9a6004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863250687836000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356040805160e160020a6333f8a36702815260066004820152600160a060020a0383166024820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e916367f146ce916044818101926020929091908290030181878760325a03f2156100025750506040515191506108989050565b611c88600435600073d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e6354e37911600684611e6d610577565b611c88600435600160a060020a038116600090815260126020526040902054610898565b611c9a600054600160a060020a03166104ee565b604080516c01000000000000000000000000600435600160a060020a0390811682028352331602601482015281516028918190039190910190206000908152601560205220805460ff191690555b005b611c886000735c3623dcef2d5168dbe3e8cc538788cd8912d8986398e00e546040518160e060020a02815260040180905060206040518083038160008760325a03f2156100025750506040515191506104ee9050565b611c88600435604080517fe6ce3a6a000000000000000000000000000000000000000000000000000000008152601060048201527f3e3d000000000000000000000000000000000000000000000000000000000000602482015260448101839052905160009173920c890a90db8fba7604864b0cf38ee6673313239163e6ce3a6a916064818101926020929091908290030181878760325a03f2156100025750506040515191506108989050565b611c88604080517f8f00e61a00000000000000000000000000000000000000000000000000000000815260066004820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e91638f00e61a916024818101926020929091908290030181878760325a03f2156100025750506040515191506104ee9050565b611c886004356000611e113383610f5f565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863dd382dd36000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863aebd65476000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356040805160e560020a6304b47bb902815260066004820152600160a060020a0383166024820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163968f7720916044818101926020929091908290030181878760325a03f2156100025750506040515191506108989050565b611c88604080517fc75e8f8800000000000000000000000000000000000000000000000000000000815260066004820152905160009173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163c75e8f88916024818101926020929091908290030181878760325a03f2156100025750506040515191506104ee9050565b611cb760408051602081810183526000825282516003805460026000196001831615610100020190911604601f81018490048402830184019095528482529293909291830182828015611fef5780601f10611fc457610100808354040283529160200191611fef565b611264604080517fa8971375000000000000000000000000000000000000000000000000000000008152600060048201818152602483019384523660448401819052735c3623dcef2d5168dbe3e8cc538788cd8912d8989463a89713759484939190606401848480828437820191505094505050505060006040518083038160008760325a03f215610002575050604080516005547f321f45840000000000000000000000000000000000000000000000000000000082526004820152905163321f4584916024818101926000929091908290030181838760325a03f21561000257505050565b611c886004356000818152600e6020526040902060030154610898565b611c886000735c3623dcef2d5168dbe3e8cc538788cd8912d89863c0f688596040518160e060020a02815260040180905060206040518083038160008760325a03f2156100025750506040515191506104ee9050565b61126460043573d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e63dd8abb6c60063384611db7610577565b611c88600073d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e6354e37911600633611e18610577565b611c886007546104ee565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863125935846000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b6112646102ee565b611c886004356000818152601360209081526040805181842060038101546004828101547f38f4c9eb0000000000000000000000000000000000000000000000000000000085526006918501919091526024840182905260ff160160448301529151919273d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e926338f4c9eb9260648181019392918290030181888760325a03f21561000257505060405151949350505050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863fae644646000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863b3a5e2556000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886006546104ee565b6112646004355b604080517fb1df3d8000000000000000000000000000000000000000000000000000000000815260126004820152600160a060020a03831660248201523460448201529051737de615d8a51746a9f10f72a593fb5b3718dc3d529163b1df3d80916064828101926020929190829003018160008760325a03f215610002575050604080517f5548c837000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152841660248201523460448201529051635548c837916064818101926000929091908290030181838760325a03f215610002575050505b50565b611264600435602435604435606435611ffb8484848460ff6000610a89565b611c886004356000818152600e6020526040902060010154610898565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d89863c9abdb7c6000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611c886004356000735c3623dcef2d5168dbe3e8cc538788cd8912d8986386b0aac96000600050846040518360e060020a028152600401808381526020018281526020019250505060206040518083038160008760325a03f2156100025750506040515191506108989050565b611264600435604080517f25fea09900000000000000000000000000000000000000000000000000000000815260006004820181905260248201849052600160a060020a03331660448301529151735c3623dcef2d5168dbe3e8cc538788cd8912d898926325fea09992606481810193918290030181838760325a03f2156100025750505050565b565b60408051918252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f168015611d175780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600160a060020a0333166000818152601260205260408051818320547f5c54305e000000000000000000000000000000000000000000000000000000008252600482019490945260248101859052604481019390935251737de615d8a51746a9f10f72a593fb5b3718dc3d5292635c54305e9260648281019391928290030181838760325a03f2156100025750505050565b6040518560e060020a0281526004018085815260200184600160a060020a0316815260200183815260200182815260200194505050505060006040518083038160008760325a03f2156100025750505050565b90506104ee565b9050610898565b6040518460e060020a0281526004018084815260200183600160a060020a03168152602001828152602001935050505060206040518083038160008760325a03f2156100025750506040515191506104ee9050565b6040518460e060020a0281526004018084815260200183600160a060020a03168152602001828152602001935050505060206040518083038160008760325a03f2156100025750506040515191506108989050565b6040518460e060020a0281526004018084815260200183600160a060020a03168152602001828152602001935050505060206040518083038160008760325a03f2156100025750506040805180517f6a704d7b000000000000000000000000000000000000000000000000000000008252600160a060020a033316600483015260248201819052915191935073d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9250636a704d7b9160448281019260009291908290030181838760325a03f2156100025750505050565b820191906000526020600020905b815481529060010190602001808311611f9b57829003601f168201915b50505050509050610898565b820191906000526020600020905b815481529060010190602001808311611fd257829003601f168201915b505050505090506104ee565b50505050565b5050505050565b735c3623dcef2d5168dbe3e8cc538788cd8912d898635ca1bad5826040518260e060020a0281526004018082815260200191505060006040518083038160008760325a03f215610002575050505b505050505050505056

======= GroveLib =======
Binary: 
60606040526110f7806100126000396000f3650106d41f8b7c50606060405236156100a05760e060020a60003504630e9f1a3c81146100a55780632b4096b4146100c95780636ec13982146100eb578063a3119e571461010d578063a749f19b1461012f578063ab7366f714610151578063bacd69581461017f578063bfdf87c0146101c2578063c4144b26146101e1578063caa46c9c1461023c578063e6ce3a6a14610297578063ed5bd7ea146102b6575b610007565b6102d760043560243560008181526001830160205260409020600401545b92915050565b6102d760043560243560008181526001830160205260409020600301546100c3565b6102d760043560243560008181526001830160205260409020600201546100c3565b6102d760043560243560008181526001838101602052604090912001546100c3565b6102d760043560243560008181526001830160205260409020600501546100c3565b6102e96004356024355b60008181526001830160205260408120805482918291829190861461078d576101b9565b6102e9600435602435604435600082815260018401602052604081205481908190819086141561068657604081206001015485141561067c575b50505050505050565b6102d760043560243560008181526001830160205260409020546100c3565b6102d76004356024355b6040805160c08101825260008082526020828101829052828401829052606083018290526080830182905260a08301829052848252600186019052918220805490919083908114156102f9576102f0565b6102d76004356024355b6040805160c08101825260008082526020828101829052828401829052606083018290526080830182905260a08301829052848252600186019052918220805490919083908114156104bd576102f0565b6102d760043560243560443582546000908181811415610a5b57610a82565b6102d7600435602435600081815260018301602052604090205481146100c3565b60408051918252519081900360200190f35b005b815193505b50505092915050565b60048301546000146103d057600483810154600090815260018881016020908152604092839020835160c081018552815481529281015491830191909152600281015492820192909252600382015460608201529181015460808301526005015460a082015291505b60608201516000146102eb57606091820151600090815260018781016020908152604092839020835160c081018552815481529281015491830191909152600281015492820192909252600382015493810193909352600481015460808401526005015460a0830152610362565b60028301546000146104595750506002810154600081815260018681016020908152604092839020835160c081018552865481529286015491830191909152918101929092526003830154606083015260048301546080830152600583015460a08301525b81516003820154141561044b57805493506102f0565b600281015460001415610462575b600093506102f0565b6040805160c081018252825481526001838101546020838101919091526002850154838501819052600386015460608501526004860154608085015260059095015460a0840152600094855290890190529120909150610435565b600383015460001461059457600383810154600090815260018881016020908152604092839020835160c081018552815481529281015491830191909152600281015492820192909252918101546060830152600481015460808301526005015460a082015291505b60808201516000146102eb57608091820151600090815260018781016020908152604092839020835160c081018552815481529281015491830191909152600281015492820192909252600382015460608201526004820154938101939093526005015460a0830152610526565b60028301546000146104595750506002810154600081815260018681016020908152604092839020835160c081018552865481529286015491830191909152918101929092526003830154606083015260048301546080830152600583015460a08301525b81516004820154141561060f57805493506102f0565b60028101546000141561062157610459565b6040805160c081018252825481526001838101546020838101919091526002850154838501819052600386015460608501526004860154608085015260059095015460a08401526000948552908901905291209091506105f9565b610686878761015b565b865460009250821415610697578587555b508554600090815260018701602052604090205b8054600014156107225785815560028101829055600181018590556101b987875b60008181526001830160205260408120905b8154610d849085905b6000818152600183016020526040808220600481015483528183206005908101546003830154855292909320929092015403905b5092915050565b600181015481549250851261075f5760048101546000141561074657600481018690555b60040154600090815260018701602052604090206106ab565b60038101546000141561077457600381018690555b60030154600090815260018701602052604090206106ab565b600381015460001415806107a657506004810154600014155b156107cc5760038101546000146108235780546001880190600090610838908a90610246565b6002810154600014610a255760028101546000908152600188016020526040902060038101548254919550141561080557600060038501555b60048401548154141561081a57600060048501555b83549150610a2a565b8054600188019060009061084f908a906101eb565b815260208101919091526040016000209450610862565b8152602081019190915260400160002094505b600285015460009081526001880160205260409020600381015486549195509092508214156108b6576004850154600385018190556000146108b65760048501546000908152604090208454600282015592505b60048401548554141561091057600385015460048501819055600014610910578660010160005060008660030160005054815260200190815260200160002060005092508250836000016000505483600201600050819055505b60028082015490860181905560001461098157866001016000506000826002016000505481526020019081526020016000206000509350835080600001600050548460030160005054141561096757845460038501555b60048401548154141561097c57845460048501555b610986565b845487555b6003818101549086018190556000146109d3578660010160005060008260030160005054815260200190815260200160002060005092508250846000016000505483600201600050819055505b600481810154908601819055600014610a20578660010160005060008260040160005054815260200190815260200160002060005092508250846000016000505483600201600050819055505b610a2a565b600087555b60008082556001820181905560028201819055600382018190556004820181905582146101b9576101b987836106cc565b50600081815260018601602052604090205b6001810154610a8b908686610aca565b805492505b50509392505050565b15610b875760fa60020a600f02851480610aac575060f060020a613c3d0285145b15610ae757600481015460001415610b305780549250610a82565b86865b600060f960020a601f02831415610cd957508083135b9392505050565b60f960020a601f02851480610b03575060f060020a613e3d0285145b80610b15575060f060020a613d3d0285145b15610b8757600381015460001415610bbe5780549250610a82565b610b69610ac7878360040160005054600081815260018301602052604081205b600381015460001415610d57576001810154915061071b565b15610a7d576004015460009081526001860160205260409020610a6d565b60fa60020a600f02851480610ba3575060f060020a613c3d0285145b15610c1557600381015460001415610c4c5760009250610a82565b610bf7610ac7878360030160005054600081815260018301602052604081205b600481015460001415610d3e576001810154915061071b565b15610a7d576003015460009081526001860160205260409020610a6d565b60f960020a601f02851480610c31575060f060020a613e3d0285145b15610c6557600481015460001415610c985760009250610a82565b6003015460009081526001860160205260409020610a6d565b60f060020a613d3d02851415610cd457600181015484901215610cb157600481015460001415610c985760009250610a82565b6004015460009081526001860160205260409020610a6d565b600181015484901315610cd457600381015460001415610c4c5760009250610a82565b610a6d565b60fa60020a600f02831415610cf15750808312610ae0565b60f060020a613e3d02831415610d0b575080831215610ae0565b60f060020a613c3d02831415610d25575080831315610ae0565b60f060020a613d3d028314156100a05750828114610ae0565b6004015460009081526001840160205260409020610bde565b6003015460009081526001840160205260409020610b50565b600282015460001415610fb3575b50505050565b90508060021415610e1c57610da08483600301600050546106e7565b6000191415610dba57610dba848360030160005054610df4565b8154610e1c9085905b60008181526001830160205260408120600381015490919081908190811415610ff157610007565b8154610e509085905b60008181526001830160205260408120600481015490919081908190811415610e7557610007565b806001191415610e5057610e378483600401600050546106e7565b60011415610deb57610deb848360040160005054610dc3565b8060001913158015610e63575060018113155b15610d70578154610d70908590610f70565b6004840180546000908152600188016020526040812060028088015490820181905592829055945014610f0557856001016000506000856002016000505481526020019081526020016000206000509150836000016000505482600301600050541415610ef057826000016000505482600301600050819055505b835460048301541415610f0557825460048301555b6003830154600014610f36575060038201546000908152600186016020526040902080546004850155835460028201555b82546002808601919091558454600385015583015460001415610f6757826000016000505486600001600050819055505b8354610fdc9087905b6000818152600183016020526040808220600381015483528183206005908101546004830154855292842001549092610fcf9291908183106110f05750816100c3565b60029091015460009081526001840160205260409020906106de565b6001016005820155505050565b8254610fe9908790610f70565b505050505050565b60038401805460009081526001880160205260408120600280880154908201819055928290559450146110815785600101600050600085600201600050548152602001908152602001600020600050915083600001600050548260030160005054141561106c57826000016000505482600301600050819055505b83546004830154141561108157825460048301555b60048301546000146110b357506004820154600081815260018701602052604090206003850191909155835460028201555b82546002808601919091558454600485015583015460001415610f6757826000016000505486600001600050819055508354610fdc908790610f70565b50806100c356
Binary of the runtime part: 
650106d41f8b7c50606060405236156100a05760e060020a60003504630e9f1a3c81146100a55780632b4096b4146100c95780636ec13982146100eb578063a3119e571461010d578063a749f19b1461012f578063ab7366f714610151578063bacd69581461017f578063bfdf87c0146101c2578063c4144b26146101e1578063caa46c9c1461023c578063e6ce3a6a14610297578063ed5bd7ea146102b6575b610007565b6102d760043560243560008181526001830160205260409020600401545b92915050565b6102d760043560243560008181526001830160205260409020600301546100c3565b6102d760043560243560008181526001830160205260409020600201546100c3565b6102d760043560243560008181526001838101602052604090912001546100c3565b6102d760043560243560008181526001830160205260409020600501546100c3565b6102e96004356024355b60008181526001830160205260408120805482918291829190861461078d576101b9565b6102e9600435602435604435600082815260018401602052604081205481908190819086141561068657604081206001015485141561067c575b50505050505050565b6102d760043560243560008181526001830160205260409020546100c3565b6102d76004356024355b6040805160c08101825260008082526020828101829052828401829052606083018290526080830182905260a08301829052848252600186019052918220805490919083908114156102f9576102f0565b6102d76004356024355b6040805160c08101825260008082526020828101829052828401829052606083018290526080830182905260a08301829052848252600186019052918220805490919083908114156104bd576102f0565b6102d760043560243560443582546000908181811415610a5b57610a82565b6102d7600435602435600081815260018301602052604090205481146100c3565b60408051918252519081900360200190f35b005b815193505b50505092915050565b60048301546000146103d057600483810154600090815260018881016020908152604092839020835160c081018552815481529281015491830191909152600281015492820192909252600382015460608201529181015460808301526005015460a082015291505b60608201516000146102eb57606091820151600090815260018781016020908152604092839020835160c081018552815481529281015491830191909152600281015492820192909252600382015493810193909352600481015460808401526005015460a0830152610362565b60028301546000146104595750506002810154600081815260018681016020908152604092839020835160c081018552865481529286015491830191909152918101929092526003830154606083015260048301546080830152600583015460a08301525b81516003820154141561044b57805493506102f0565b600281015460001415610462575b600093506102f0565b6040805160c081018252825481526001838101546020838101919091526002850154838501819052600386015460608501526004860154608085015260059095015460a0840152600094855290890190529120909150610435565b600383015460001461059457600383810154600090815260018881016020908152604092839020835160c081018552815481529281015491830191909152600281015492820192909252918101546060830152600481015460808301526005015460a082015291505b60808201516000146102eb57608091820151600090815260018781016020908152604092839020835160c081018552815481529281015491830191909152600281015492820192909252600382015460608201526004820154938101939093526005015460a0830152610526565b60028301546000146104595750506002810154600081815260018681016020908152604092839020835160c081018552865481529286015491830191909152918101929092526003830154606083015260048301546080830152600583015460a08301525b81516004820154141561060f57805493506102f0565b60028101546000141561062157610459565b6040805160c081018252825481526001838101546020838101919091526002850154838501819052600386015460608501526004860154608085015260059095015460a08401526000948552908901905291209091506105f9565b610686878761015b565b865460009250821415610697578587555b508554600090815260018701602052604090205b8054600014156107225785815560028101829055600181018590556101b987875b60008181526001830160205260408120905b8154610d849085905b6000818152600183016020526040808220600481015483528183206005908101546003830154855292909320929092015403905b5092915050565b600181015481549250851261075f5760048101546000141561074657600481018690555b60040154600090815260018701602052604090206106ab565b60038101546000141561077457600381018690555b60030154600090815260018701602052604090206106ab565b600381015460001415806107a657506004810154600014155b156107cc5760038101546000146108235780546001880190600090610838908a90610246565b6002810154600014610a255760028101546000908152600188016020526040902060038101548254919550141561080557600060038501555b60048401548154141561081a57600060048501555b83549150610a2a565b8054600188019060009061084f908a906101eb565b815260208101919091526040016000209450610862565b8152602081019190915260400160002094505b600285015460009081526001880160205260409020600381015486549195509092508214156108b6576004850154600385018190556000146108b65760048501546000908152604090208454600282015592505b60048401548554141561091057600385015460048501819055600014610910578660010160005060008660030160005054815260200190815260200160002060005092508250836000016000505483600201600050819055505b60028082015490860181905560001461098157866001016000506000826002016000505481526020019081526020016000206000509350835080600001600050548460030160005054141561096757845460038501555b60048401548154141561097c57845460048501555b610986565b845487555b6003818101549086018190556000146109d3578660010160005060008260030160005054815260200190815260200160002060005092508250846000016000505483600201600050819055505b600481810154908601819055600014610a20578660010160005060008260040160005054815260200190815260200160002060005092508250846000016000505483600201600050819055505b610a2a565b600087555b60008082556001820181905560028201819055600382018190556004820181905582146101b9576101b987836106cc565b50600081815260018601602052604090205b6001810154610a8b908686610aca565b805492505b50509392505050565b15610b875760fa60020a600f02851480610aac575060f060020a613c3d0285145b15610ae757600481015460001415610b305780549250610a82565b86865b600060f960020a601f02831415610cd957508083135b9392505050565b60f960020a601f02851480610b03575060f060020a613e3d0285145b80610b15575060f060020a613d3d0285145b15610b8757600381015460001415610bbe5780549250610a82565b610b69610ac7878360040160005054600081815260018301602052604081205b600381015460001415610d57576001810154915061071b565b15610a7d576004015460009081526001860160205260409020610a6d565b60fa60020a600f02851480610ba3575060f060020a613c3d0285145b15610c1557600381015460001415610c4c5760009250610a82565b610bf7610ac7878360030160005054600081815260018301602052604081205b600481015460001415610d3e576001810154915061071b565b15610a7d576003015460009081526001860160205260409020610a6d565b60f960020a601f02851480610c31575060f060020a613e3d0285145b15610c6557600481015460001415610c985760009250610a82565b6003015460009081526001860160205260409020610a6d565b60f060020a613d3d02851415610cd457600181015484901215610cb157600481015460001415610c985760009250610a82565b6004015460009081526001860160205260409020610a6d565b600181015484901315610cd457600381015460001415610c4c5760009250610a82565b610a6d565b60fa60020a600f02831415610cf15750808312610ae0565b60f060020a613e3d02831415610d0b575080831215610ae0565b60f060020a613c3d02831415610d25575080831315610ae0565b60f060020a613d3d028314156100a05750828114610ae0565b6004015460009081526001840160205260409020610bde565b6003015460009081526001840160205260409020610b50565b600282015460001415610fb3575b50505050565b90508060021415610e1c57610da08483600301600050546106e7565b6000191415610dba57610dba848360030160005054610df4565b8154610e1c9085905b60008181526001830160205260408120600381015490919081908190811415610ff157610007565b8154610e509085905b60008181526001830160205260408120600481015490919081908190811415610e7557610007565b806001191415610e5057610e378483600401600050546106e7565b60011415610deb57610deb848360040160005054610dc3565b8060001913158015610e63575060018113155b15610d70578154610d70908590610f70565b6004840180546000908152600188016020526040812060028088015490820181905592829055945014610f0557856001016000506000856002016000505481526020019081526020016000206000509150836000016000505482600301600050541415610ef057826000016000505482600301600050819055505b835460048301541415610f0557825460048301555b6003830154600014610f36575060038201546000908152600186016020526040902080546004850155835460028201555b82546002808601919091558454600385015583015460001415610f6757826000016000505486600001600050819055505b8354610fdc9087905b6000818152600183016020526040808220600381015483528183206005908101546004830154855292842001549092610fcf9291908183106110f05750816100c3565b60029091015460009081526001840160205260409020906106de565b6001016005820155505050565b8254610fe9908790610f70565b505050505050565b60038401805460009081526001880160205260408120600280880154908201819055928290559450146110815785600101600050600085600201600050548152602001908152602001600020600050915083600001600050548260030160005054141561106c57826000016000505482600301600050819055505b83546004830154141561108157825460048301555b60048301546000146110b357506004820154600081815260018701602052604090206003850191909155835460028201555b82546002808601919091558454600485015583015460001415610f6757826000016000505486600001600050819055508354610fdc908790610f70565b50806100c356

======= Relay =======
Binary: 
606060405260008054600160a060020a0319163317905561013a806100246000396000f3606060405260e060020a6000350463e8b1d0f3811461001b575b005b60806020601f6044356004818101359283018490049093028401604052606082815261008e94843594602480359591946064949391019190819083828082843750949650505050505050600080543373ffffffffffffffffffffffffffffffffffffffff9081169116146100a057610002565b60408051918252519081900360200190f35b8373ffffffffffffffffffffffffffffffffffffffff168360e060020a9004836040518260e060020a028152600401808280519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509150506000604051808303816000876161da5a03f197965050505050505056
Binary of the runtime part: 
606060405260e060020a6000350463e8b1d0f3811461001b575b005b60806020601f6044356004818101359283018490049093028401604052606082815261008e94843594602480359591946064949391019190819083828082843750949650505050505050600080543373ffffffffffffffffffffffffffffffffffffffff9081169116146100a057610002565b60408051918252519081900360200190f35b8373ffffffffffffffffffffffffffffffffffffffff168360e060020a9004836040518260e060020a028152600401808280519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509150506000604051808303816000876161da5a03f197965050505050505056

======= ResourcePoolLib =======
Binary: 
60606040526111fa806100126000396000f3650106d41f8b7c50606060405236156100e25760e060020a6000350463068e3ef181146100e7578063079ed96f1461011c578063317c152d14610136578063332a06ac1461014d5780633458e13e1461018157806338f4c9eb1461027a57806354e37911146104755780635748147e146104ae57806367f146ce146104cb5780636a704d7b146104e157806383973eb3146105245780638f00e61a1461053e578063968f7720146105c7578063a163a325146105df578063b6cbfdb214610625578063c75e8f881461075f578063dd8abb6c1461083b578063f117392814610871575b610007565b6108b4600435602435604435600160a060020a0382166000908152600984016020526040902054818101101561113f57610007565b6108b66004356024355b6000610f298383610f3086610766565b6108b6600435602435600060006110c584846105d1565b6108b46004356024356044355b600160a060020a038216600090815260098401602052604090205481111561111957610007565b6108b66004356024356044355b60008281526008840160205260408120815b6003820154811015610e2a5783600160a060020a03168260030160005082815481101561000757600091825260209091200154600160a060020a031614156111045760038201805460001981019081101561000757906000526020600020900160009054906101000a9004600160a060020a03168260030160005082815481101561000757602060002001805473ffffffffffffffffffffffffffffffffffffffff19169092179091558054600019810180835591908290801582901161110c5781836000526020600020918201910161110c9190610a82565b6108b66004356024356044356040805160208181018084526000808452908190528284018190528351808301855281815260608481019190915284518084018087528382528390528086018390528551808501875283815291810191909152845160e160020a6373671d3502815260048981019082015260f060020a613c3d0260248201526044810188905294519194859493859373920c890a90db8fba7604864b0cf38ee6673313239263e6ce3a6a9260648281019391928290030181888760325a03f21561000757505060405151945050838214610b415787600801600050600073443b53559d337277373171280ec57029718203fb6381a33a6f876040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050604080518051909352602093845280862060808401825280548452600181015484860152600281015484830152815160038201805480880283018801909452838252949591946060870194509092909183018282801561043357602002820191906000526020600020905b8154600160a060020a0316815260019190910190602001808311610414575b5050505050815260200150509250868360200151111580156104675750858360400151101580610467575082604001516000145b15610b415782519450610b36565b6108b66004356024356044355b600160a060020a03821660009081526009840160205260408120548190819084901015610f4557610e2f565b6108b6600435602435604435600060006000610fa4868686610482565b6108b66004356024355b6000610f358383610126565b6108b46004356024356040518190600160a060020a038416907f4327115baba128e8ceaca5033a9ef758752c17a483bc96c54bbc5a65ee9c793290600090a35050565b6108b66004356024355b6000610f298383610f3086610545565b6108b66004355b6040805160e160020a6373671d3502815260048381019082015260f960020a601f0260248201524360448201529051600091829173920c890a90db8fba7604864b0cf38ee6673313239163e6ce3a6a9160648281019260209291908290030181878760325a03f2156100075750506040515191505080821415610cfe57610cf8565b6108b66004356024355b600060006110648484610126565b6108b66004356024356044355b604080516020818101808452600080845290819052828401819052835191820190935282815260608201528183811415610e3857610e2f565b6108b66004355b60408051602081810183526000808352600385018054808352600887018452858320600191820192839055828452868420838155885460028a015443010192810192909255865160e060020a6394e8767d028152600481810194909452965193969095919491938793849373920c890a90db8fba7604864b0cf38ee6673313239363bacd695893928c019273443b53559d337277373171280ec57029718203fb926394e8767d926024818101939182900301818a8760325a03f215610007575050506040518051906020015087600101600050546040518460e060020a02815260040180848152602001838152602001828152602001935050505060006040518083038160008760325a03f215610007575050508460000160005054600014156108d757836000016000505495506108cd565b6108b66004355b6040805160e160020a6373671d3502815260068301600482015260f960020a601f0260248201524360448201529051600091829173920c890a90db8fba7604864b0cf38ee6673313239163e6ce3a6a9160648281019260209291908290030181878760325a03f21561000757505060405151915050808214610d575773443b53559d337277373171280ec57029718203fb6381a33a6f826040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050604051519250610cf89050565b6108b4600435602435604435606435600160a060020a038316600090815260098501602052604090205482111561116457610007565b6108b46004356024356040518190600160a060020a038416907fd6940c8c0a181b5bfa95089c2e4c2e9cdaa9dd6b1ac448594436a391d6e4ced190600090a35050565b005b60408051918252519081900360200190f35b835495505b5050505050919050565b6001870154875460028981015443019091019091019086015584546040805160e060020a6394e8767d02815260048101929092525173920c890a90db8fba7604864b0cf38ee6673313239163bacd69589160068b019173443b53559d337277373171280ec57029718203fb916394e8767d91602481810192602092909190829003018160008760325a03f21561000757505060408051805160028c01547fbacd695800000000000000000000000000000000000000000000000000000000835260048301959095526024820152604481019390935251606483810193600093508290030181838760325a03f2156100075750506040805160038801805460208181028401810190945280835291935091830182828015610a2157602002820191906000526020600020905b8154600160a060020a0316815260019190910190602001808311610a02575b50505050509250600091505b82518210156108c8575060408051835160038601805443408452935192839003602001909220600184018084559184900390069290919082908015829011610a9657600083815260209020610a969181019083015b80821115610b2d5760008155600101610a82565b505050508281815181101561000757505060208181028401015160038501805460001981019081101561000757906000526020600020900160006101000a815481600160a060020a03021916908302179055508260018451038151811015610007579060200190602002015183828151811015610007575050600160a060020a031660208281028501015260019190910190610a2d565b5090565b600094505b505050509392505050565b6040805160e160020a6373671d3502815260068a0160048201527f3e3d000000000000000000000000000000000000000000000000000000000000602482015260448101889052905173920c890a90db8fba7604864b0cf38ee6673313239163e6ce3a6a916064828101926020929190829003018160008760325a03f2156100075750506040515192505060008214610b315787600801600050600073443b53559d337277373171280ec57029718203fb6381a33a6f856040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050604080518051845260209485529281902060808401825280548452600181015484860152600281015484830152600381018054835181880281018801909452808452949591946060870194509091830182828015610cb157602002820191906000526020600020905b8154600160a060020a0316815260019190910190602001808311610c92575b505050505081526020015050905086816020015111158015610ce55750858160400151101580610ce5575080604001516000145b15610b315780519450610b36565b600091505b50919050565b73443b53559d337277373171280ec57029718203fb6381a33a6f826040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050604051519250610cf89050565b6040805160e160020a6373671d3502815260048581019082015260f060020a613c3d026024820152436044820152905173920c890a90db8fba7604864b0cf38ee6673313239163e6ce3a6a916064828101926020929190829003018160008760325a03f2156100075750506040515191505060008114610cf35773443b53559d337277373171280ec57029718203fb6381a33a6f826040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050604051519250610cf89050565b600092505b50509392505050565b600084815260088701602090815260409182902082516080810184528154815260018201548184015260028201548185015283516003830180548086028301860190965285825291949293606086019391929190830182828015610ec657602002820191906000526020600020905b8154600160a060020a0316815260019190910190602001808311610ea7575b5050505050815260200150509150600090505b816060015151811015610e2a5784600160a060020a031682606001518281518110156100075790602001906020020151600160a060020a03161415610f215760019250610e2f565b600101610ed9565b9392505050565b6105ec565b80610f295750610f29838361052e565b610f4f86866104d5565b15610f5d5760009250610e2f565b610f6686610545565b915060008214610f9b57506000818152600886016020526040902060018101546002870154430110610f9b5760009250610e2f565b60019250610e2f565b1515610faf57610007565b610fb886610545565b91508160001415610fcf57610fcc8661062c565b91505b506000818152600886016020526040902060038101805460018101808355919082908015829011611013578183600052602060002091820191016110139190610a82565b50505060038201805487925060001981019081101561000757906000526020600020900160006101000a815481600160a060020a0302191690830217905550819250610e2f565b91505b5092915050565b1515611073576000915061105d565b61107c84610545565b90508060001415611090576001915061105d565b6002840154600082815260088601602052604090206001015443919003116110bb576000915061105d565b61105a848461052e565b15156110d057610007565b6110d984610545565b905080600014156110f0576110ed8461062c565b90505b6110fb84828561018e565b5080915061105d565b6001016101a0565b5050505060019250610e2f565b600160a060020a0382166000908152600984016020526040902080548290039055505050565b600160a060020a03821660009081526009840160205260409020805482019055505050565b61116e84846104d5565b156111a057600160a060020a0383166000908152600985016020526040902054829003819010156111a0575b50505050565b6111ab84848461015a565b604051600160a060020a03841690600090849082818181858883f19350505050151561119a5782600160a060020a03165a60405184906000818181858888f19350505050151561119a5761000756
Binary of the runtime part: 
650106d41f8b7c50606060405236156100e25760e060020a6000350463068e3ef181146100e7578063079ed96f1461011c578063317c152d14610136578063332a06ac1461014d5780633458e13e1461018157806338f4c9eb1461027a57806354e37911146104755780635748147e146104ae57806367f146ce146104cb5780636a704d7b146104e157806383973eb3146105245780638f00e61a1461053e578063968f7720146105c7578063a163a325146105df578063b6cbfdb214610625578063c75e8f881461075f578063dd8abb6c1461083b578063f117392814610871575b610007565b6108b4600435602435604435600160a060020a0382166000908152600984016020526040902054818101101561113f57610007565b6108b66004356024355b6000610f298383610f3086610766565b6108b6600435602435600060006110c584846105d1565b6108b46004356024356044355b600160a060020a038216600090815260098401602052604090205481111561111957610007565b6108b66004356024356044355b60008281526008840160205260408120815b6003820154811015610e2a5783600160a060020a03168260030160005082815481101561000757600091825260209091200154600160a060020a031614156111045760038201805460001981019081101561000757906000526020600020900160009054906101000a9004600160a060020a03168260030160005082815481101561000757602060002001805473ffffffffffffffffffffffffffffffffffffffff19169092179091558054600019810180835591908290801582901161110c5781836000526020600020918201910161110c9190610a82565b6108b66004356024356044356040805160208181018084526000808452908190528284018190528351808301855281815260608481019190915284518084018087528382528390528086018390528551808501875283815291810191909152845160e160020a6373671d3502815260048981019082015260f060020a613c3d0260248201526044810188905294519194859493859373920c890a90db8fba7604864b0cf38ee6673313239263e6ce3a6a9260648281019391928290030181888760325a03f21561000757505060405151945050838214610b415787600801600050600073443b53559d337277373171280ec57029718203fb6381a33a6f876040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050604080518051909352602093845280862060808401825280548452600181015484860152600281015484830152815160038201805480880283018801909452838252949591946060870194509092909183018282801561043357602002820191906000526020600020905b8154600160a060020a0316815260019190910190602001808311610414575b5050505050815260200150509250868360200151111580156104675750858360400151101580610467575082604001516000145b15610b415782519450610b36565b6108b66004356024356044355b600160a060020a03821660009081526009840160205260408120548190819084901015610f4557610e2f565b6108b6600435602435604435600060006000610fa4868686610482565b6108b66004356024355b6000610f358383610126565b6108b46004356024356040518190600160a060020a038416907f4327115baba128e8ceaca5033a9ef758752c17a483bc96c54bbc5a65ee9c793290600090a35050565b6108b66004356024355b6000610f298383610f3086610545565b6108b66004355b6040805160e160020a6373671d3502815260048381019082015260f960020a601f0260248201524360448201529051600091829173920c890a90db8fba7604864b0cf38ee6673313239163e6ce3a6a9160648281019260209291908290030181878760325a03f2156100075750506040515191505080821415610cfe57610cf8565b6108b66004356024355b600060006110648484610126565b6108b66004356024356044355b604080516020818101808452600080845290819052828401819052835191820190935282815260608201528183811415610e3857610e2f565b6108b66004355b60408051602081810183526000808352600385018054808352600887018452858320600191820192839055828452868420838155885460028a015443010192810192909255865160e060020a6394e8767d028152600481810194909452965193969095919491938793849373920c890a90db8fba7604864b0cf38ee6673313239363bacd695893928c019273443b53559d337277373171280ec57029718203fb926394e8767d926024818101939182900301818a8760325a03f215610007575050506040518051906020015087600101600050546040518460e060020a02815260040180848152602001838152602001828152602001935050505060006040518083038160008760325a03f215610007575050508460000160005054600014156108d757836000016000505495506108cd565b6108b66004355b6040805160e160020a6373671d3502815260068301600482015260f960020a601f0260248201524360448201529051600091829173920c890a90db8fba7604864b0cf38ee6673313239163e6ce3a6a9160648281019260209291908290030181878760325a03f21561000757505060405151915050808214610d575773443b53559d337277373171280ec57029718203fb6381a33a6f826040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050604051519250610cf89050565b6108b4600435602435604435606435600160a060020a038316600090815260098501602052604090205482111561116457610007565b6108b46004356024356040518190600160a060020a038416907fd6940c8c0a181b5bfa95089c2e4c2e9cdaa9dd6b1ac448594436a391d6e4ced190600090a35050565b005b60408051918252519081900360200190f35b835495505b5050505050919050565b6001870154875460028981015443019091019091019086015584546040805160e060020a6394e8767d02815260048101929092525173920c890a90db8fba7604864b0cf38ee6673313239163bacd69589160068b019173443b53559d337277373171280ec57029718203fb916394e8767d91602481810192602092909190829003018160008760325a03f21561000757505060408051805160028c01547fbacd695800000000000000000000000000000000000000000000000000000000835260048301959095526024820152604481019390935251606483810193600093508290030181838760325a03f2156100075750506040805160038801805460208181028401810190945280835291935091830182828015610a2157602002820191906000526020600020905b8154600160a060020a0316815260019190910190602001808311610a02575b50505050509250600091505b82518210156108c8575060408051835160038601805443408452935192839003602001909220600184018084559184900390069290919082908015829011610a9657600083815260209020610a969181019083015b80821115610b2d5760008155600101610a82565b505050508281815181101561000757505060208181028401015160038501805460001981019081101561000757906000526020600020900160006101000a815481600160a060020a03021916908302179055508260018451038151811015610007579060200190602002015183828151811015610007575050600160a060020a031660208281028501015260019190910190610a2d565b5090565b600094505b505050509392505050565b6040805160e160020a6373671d3502815260068a0160048201527f3e3d000000000000000000000000000000000000000000000000000000000000602482015260448101889052905173920c890a90db8fba7604864b0cf38ee6673313239163e6ce3a6a916064828101926020929190829003018160008760325a03f2156100075750506040515192505060008214610b315787600801600050600073443b53559d337277373171280ec57029718203fb6381a33a6f856040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050604080518051845260209485529281902060808401825280548452600181015484860152600281015484830152600381018054835181880281018801909452808452949591946060870194509091830182828015610cb157602002820191906000526020600020905b8154600160a060020a0316815260019190910190602001808311610c92575b505050505081526020015050905086816020015111158015610ce55750858160400151101580610ce5575080604001516000145b15610b315780519450610b36565b600091505b50919050565b73443b53559d337277373171280ec57029718203fb6381a33a6f826040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050604051519250610cf89050565b6040805160e160020a6373671d3502815260048581019082015260f060020a613c3d026024820152436044820152905173920c890a90db8fba7604864b0cf38ee6673313239163e6ce3a6a916064828101926020929190829003018160008760325a03f2156100075750506040515191505060008114610cf35773443b53559d337277373171280ec57029718203fb6381a33a6f826040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050604051519250610cf89050565b600092505b50509392505050565b600084815260088701602090815260409182902082516080810184528154815260018201548184015260028201548185015283516003830180548086028301860190965285825291949293606086019391929190830182828015610ec657602002820191906000526020600020905b8154600160a060020a0316815260019190910190602001808311610ea7575b5050505050815260200150509150600090505b816060015151811015610e2a5784600160a060020a031682606001518281518110156100075790602001906020020151600160a060020a03161415610f215760019250610e2f565b600101610ed9565b9392505050565b6105ec565b80610f295750610f29838361052e565b610f4f86866104d5565b15610f5d5760009250610e2f565b610f6686610545565b915060008214610f9b57506000818152600886016020526040902060018101546002870154430110610f9b5760009250610e2f565b60019250610e2f565b1515610faf57610007565b610fb886610545565b91508160001415610fcf57610fcc8661062c565b91505b506000818152600886016020526040902060038101805460018101808355919082908015829011611013578183600052602060002091820191016110139190610a82565b50505060038201805487925060001981019081101561000757906000526020600020900160006101000a815481600160a060020a0302191690830217905550819250610e2f565b91505b5092915050565b1515611073576000915061105d565b61107c84610545565b90508060001415611090576001915061105d565b6002840154600082815260088601602052604090206001015443919003116110bb576000915061105d565b61105a848461052e565b15156110d057610007565b6110d984610545565b905080600014156110f0576110ed8461062c565b90505b6110fb84828561018e565b5080915061105d565b6001016101a0565b5050505060019250610e2f565b600160a060020a0382166000908152600984016020526040902080548290039055505050565b600160a060020a03821660009081526009840160205260409020805482019055505050565b61116e84846104d5565b156111a057600160a060020a0383166000908152600985016020526040902054829003819010156111a0575b50505050565b6111ab84848461015a565b604051600160a060020a03841690600090849082818181858883f19350505050151561119a5782600160a060020a03165a60405184906000818181858888f19350505050151561119a5761000756

======= ScheduledCallLib =======
Binary: 
60606040526120ef806100126000396000f3650106d41f8b7c50606060405236156101c95760e060020a60003504631259358481146101ce57806318b753ab146101ff57806323306ed614610242578063247d79bb1461024d57806325068783146102d757806325fea09914610302578063321f45841461039757806336edfec4146103cb57806347d4e8711461041d5780635a1230bf146104975780635ca1bad51461050a578063707378391461053e5780637517a7c91461056a578063775f20f91461058c5780637d613b34146105ae5780637e853f3d146105df57806384b46e451461061857806386b0aac91461065757806398213db61461067957806398e00e54146106cf5780639b7893ca146106d9578063a8971375146107e2578063a95d3e761461087a578063ab2af349146108c6578063aebd6547146108fa578063b00b41e214610926578063b3a5e25514610971578063b506054f14610a0b578063c0f6885914610a37578063c68efc4814610a42578063c9abdb7c14610a6a578063da0774ad14610a8c578063da40fd6114610aad578063dd382dd314610acf578063e99a668514610af1578063ed1062ba14610b13578063f1924efb14610b56578063fae6446414610b86578063fc47301214610ba8575b610007565b610bcd60043560243560008181526013830160205260409020600c015460a060020a900460e060020a025b92915050565b6108c460043560243560408051828152905183917f742b8b9d0025b09f24225abf0e64835750816e7185c1376cfbe705e6cadd746b919081900360200190a25050565b610bcd5b453a025b90565b610bdf60043560243560408051602081810183526000808352848152601386018252838120600d01548152601486018252835190849020805460026001821615610100026000190190911604601f81018490048402830184019095528482529293909291830182828015610c955780601f10610c6a57610100808354040283529160200191610c95565b610c4d6004356024356000818152601383016020526040902060010154600160a060020a03166101f9565b6108c460043560243560443560006000600060006000600060005a89825260138b0160205260408220600c810154919850965060c860020a900460ff16156114fc57604080517f414c52454144592043414c4c4544000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b6108c460043560405181907ff393b3b07bdf7ae4b9d82d754aea668fdc2cd864b6e130f46e55089befdc47ec90600090a250565b610bcd6004356024356044355b60408051600160a060020a03848116606060020a90810283529084160260148201528151908190036028019020600090815260158501602052205460ff169392505050565b6108c460043560243560443560643560843560a4355b8385600160a060020a031687600160a060020a03167f7c41de343580306225657faa166e0ed18b4872845790978146b4fb56fc19c75f86868660405180848152602001838152602001828152602001935050505060405180910390a4505050505050565b610bcd60043560243560443560643560843560a43560c4355b60408051600160a060020a03988916606060020a90810282529790981690960260148801526028870194909452602c860192909252604c85015260ff1660f860020a02606c840152606d8301525190819003608d01902090565b6108c460043560405181907fa951c534fc522799a861d0bb77e0a9cde151ad07d40bbc96126b8f152b3c228d90600090a250565b610bcd60043560243560008181526013830160205260409020600c015460c860020a900460ff166101f9565b610bcd60043560243560008181526013830160205260409020600701546101f9565b610bcd60043560243560008181526013830160205260409020600601546101f9565b610bcd6004356024355b600081815260138301602052604081206006810154453a908102918491611c7e9190610a96565b610bcd600435602435604435600082815260138401602052604081206001810154600160a060020a039081169084161461133b57611333565b6108c46004356024356044356040805182815290518391600160a060020a038616916000805160206120cf8339815191529181900360200190a3505050565b610bcd60043560243560008181526013830160205260409020600b01546101f9565b610c4d6004356024356044355b600082815260138401602052604081206003810154829081908190819081908810806106c157506004860154600387015460ff919091160188115b15610cf15760009650610ce4565b610bcd601061024a565b6108c46004356024356044355b600081815260138401602090815260408083206003810154600482810154845160e060020a6338f4c9eb02815260068b01928101929092526024820183905260ff1690910160448201529151909392839283928392839283928392600e8e0192849273d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e926338f4c9eb92606481810193918290030181878760325a03f21561000757505050604051805190602001508152602001908152602001600020600050965060108860040160009054906101000a900460ff1660ff1604925060108860030160005054430304915082826002011115610db057610dc38b8a8a60030160005054610686565b60408051602060248035600481810135601f81018590048502860185019096528585526108c4958135959194604494929390920191819084018382808284375094965050505050505060006004825103836003016000508181546001816001161561010002031660029004825481601f10611ce25782601f10611d0c575b826008026101000360020a80910402828001178355611d23565b60408051606060020a600160a060020a03602435811682028352604435160260148201528151908190036028019020600090815260156004350160205220805460ff191660011790555b005b6108c460043560405181907fec47297e9e5df3fad516a7aac7f9adfcd3b6b6fc7f85d67819b3a6ef4562ef8a90600090a250565b610bcd60043560243560008181526013830160205260409020600c015460c060020a900460ff166101f9565b60408051606060020a600160a060020a03602435811682028352604435160260148201528151908190036028019020600090815260156004350160205220805460ff191690556108c4565b610bcd600435602435600081815260138301602090815260408083206003810154600482810154845160e060020a6338f4c9eb02815260068a01928101929092526024820183905260ff1690910160448201529151909273d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e926338f4c9eb92606482810193928290030181888760325a03f2156100075750506040515195945050505050565b610bcd60043560243560008181526013830160205260409020600c015460d060020a900460ff166101f9565b610bcd5b604061024a565b610c4d6004356024356000818152601383016020526040902054600160a060020a03166101f9565b610bcd60043560243560008181526013830160205260409020600d01546101f9565b610bcd6004356024355b600082821115611c955781836064020490506101f9565b610bcd60043560243560008181526013830160205260409020600801546101f9565b610bcd60043560243560008181526013830160205260409020600a01546101f9565b610bcd60043560243560008181526013830160205260409020600301546101f9565b6108c46004356024356040518190600160a060020a038416907f8f4d872360ae14428c67e14b02ad02ce2c00b8319c2c76e58ecd58032194764390600090a35050565b610bcd60043560243560443560643560843560a43560c43560e4356000600060006110ab8a8a8a8a8a8a8a6104b0565b610bcd60043560243560008181526013830160205260409020600201546101f9565b610bcd600435602435600081815260138301602052604090206004015460ff166101f9565b60408051918252519081900360200190f35b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f168015610c3f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60408051600160a060020a03929092168252519081900360200190f35b820191906000526020600020905b815481529060010190602001808311610c7857829003601f168201915b505050505090506101f9565b50506000818152600e890160205260409020600381018054808a0691908286018190069081101561000757600091825260209091200154600160a060020a031696505b5050505050509392505050565b60038601546004870154601060ff9190911681900496509089030493506002840185901115610d235760009650610ce4565b60408051600388015460048981015460e060020a6338f4c9eb02845260068f01918401919091526024830182905260ff16016044820152905173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e916338f4c9eb916064828101926020929190829003018160008760325a03f215610007575050604051519350506000831415610ca15760009650610ce4565b60038701546002901015610e7457610e16565b6003890154965090505b6004880154600389015460ff91909116018611610e1657610def8b8a88610686565b9350600160a060020a03818116908516148015610e10575060038801548614155b15610e23575b5050505050505050505050565b89600160a060020a031684600160a060020a03161415610e4a575b60109590950194610dcd565b610e5f8b858c5b600060006000611fa9610246565b8754909550610e3e9085908c908c438a610433565b600095505b6003870154861015610e165789600160a060020a03168760030160005087815481101561000757600091825260209091200154600160a060020a03161415610ef557600387018054808801600019018190069081101561000757600091825260209091200154600160a060020a03169350610f018b858c610e51565b60019590950194610e79565b8754909550610f169085908c908c438a610433565b73d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e638f00e61a8c6006016000506040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f21561000757505060405151600014159050610fca5773d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e63b6cbfdb28c6006016000506040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050505b73d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e633458e13e8c60060160005073d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e638f00e61a8f6006016000506040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f2156100075750506040805180517f3458e13e00000000000000000000000000000000000000000000000000000000825260048201949094526024810193909352600160a060020a03891660448401525160648381019360209350829003018160008760325a03f2156100075750610e16915050565b91507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47087148015906110fe5750600087815260148c01602052604081205460026001821615610100026000190190911604145b15611135577f4e4f5f444154410000000000000000000000000000000000000000000000000092505b505098975050505050505050565b60284301861015611168577f544f4f5f534f4f4e0000000000000000000000000000000000000000000000009250611127565b50600081815260138b016020526040812080549091600160a060020a0391909116146111b6577f4455504c494341544500000000000000000000000000000000000000000000009250611127565b6111be610a3b565b8560ff1610156111f0577f47524143455f544f4f5f53484f525400000000000000000000000000000000009250611127565b60028b01829055805473ffffffffffffffffffffffffffffffffffffffff199081168a1782556001820180549091168b17905560058101849055600c8101805477ffffffff0000000000000000000000000000000000000000191660e060020a8a0460a060020a02179055600d8101879055600381018690556004818101805460ff1916871790553a6006830155604080517fbacd695800000000000000000000000000000000000000000000000000000000815260108e019281019290925260248201849052604482018890525173920c890a90db8fba7604864b0cf38ee6673313239163bacd69589160648281019260009291908290030181838760325a03f215610007575060009450611127915050565b600c8101805478ff000000000000000000000000000000000000000000000000191660c060020a179055600191505b509392505050565b600c81015460c860020a900460ff16156113585760009150611333565b60038101544360071991909101116113045760009150611333565b9050620256e95a880301600887018190556007870154026009870181905561271090820260658102829004600a8901819055919004600b88018190556040805160018a01547fe62af6c100000000000000000000000000000000000000000000000000000000825260128f016004830152600160a060020a031660248201529190920160448201529051737de615d8a51746a9f10f72a593fb5b3718dc3d529163e62af6c19160648281019260009291908290030181838760325a03f21561000757505060408051600a89015460e160020a6335881cb302825260128e016004830152600160a060020a038c16602483015260448201529051636b103966916064818101926000929091908290030181838760325a03f215610007575060408051600b8a015460e160020a6335881cb302825260128f01600483015273d3cda913deb6f67967b99d67acdfa1712c29360160248301526044820152905160648281019260009291908290030181838760325a03f215610007575050505b50505050505050505050565b600c86015460c060020a900460ff161561156357604080517f43414e43454c4c45440000000000000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b8554600160a060020a0316600014156115c957604080517f554e4b4e4f574e00000000000000000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b600386015443101561162857604080517f544f4f204541524c590000000000000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b6003860154600487015460ff160143111561169057604080517f544f4f204c415445000000000000000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b61169a8a8a6105b8565b6001870154600160a060020a0316600090815260128c0160205260409020549095508590101561172f57600c8601805460c860020a60ff02191660c860020a179055604080517f494e53554646494349454e545f46554e44530000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b604080517fc75e8f8800000000000000000000000000000000000000000000000000000000815260068c0160048201529051600091600e8d0191839173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163c75e8f88916024818101926020929091908290030181878760325a03f2156100075750506040805151909252506020919091528120600301541115611875576117cc8a8a43610686565b935083600160a060020a03166000141580156117fa575087600160a060020a031684600160a060020a031614155b1561185257604080517f57524f4e475f43414c4c45520000000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b6010866003016000505443030492506000831115611875576118758a898b6106e6565b3a86600701600050819055508786600c0160006101000a815481600160a060020a030219169083021790555043866002016000508190555089601401600050600087600d016000505481526020019081526020016000206000509150737de615d8a51746a9f10f72a593fb5b3718dc3d5263b5bc6dbb8b6012016000508860010160009054906101000a9004600160a060020a0316886040518460e060020a0281526004018084815260200183600160a060020a03168152602001828152602001935050505060206040518083038160008760325a03f2156100075750505060018601548654611973918c91600160a060020a0391821691166103d8565b15611a325760018a0154600160a060020a031663e8b1d0f36201d5285a6040518a54600c8c015460e060020a63e8b1d0f3028352600160a060020a03919091166004830181815260a060020a90920460e060020a02602484018190526060604485019081528a5460026001821615610100026000190190911604606486018190526201d52719969096019650919490938a9392916084919091019084908015611b145780601f10611ae957610100808354040283529160200191611b14565b8954600160a060020a031663e8b1d0f36201d5285a6040518a54600c8c015460e060020a63e8b1d0f3028352600160a060020a03919091166004830181815260a060020a90920460e060020a02602484018190526060604485019081528a5460026001821615610100026000190190911604606486018190526201d52719969096019650919490938a9392916084919091019084908015611b875780601f10611b5c57610100808354040283529160200191611b87565b820191906000526020600020905b815481529060010190602001808311611af757829003601f168201915b505094505050505060206040518083038160008887f11561000757505060405151600c8901805460d060020a60ff02191660d060020a9290920291909117905550611bca9050565b820191906000526020600020905b815481529060010190602001808311611b6a57829003601f168201915b505094505050505060206040518083038160008887f11561000757505060405151600c8901805460d060020a60ff02191660d060020a9290920291909117905550505b6040805160018801547fb1df3d8000000000000000000000000000000000000000000000000000000000825260128d016004830152600160a060020a03166024820152604481018790529051737de615d8a51746a9f10f72a593fb5b3718dc3d529163b1df3d80916064828101926020929190829003018160008760325a03f21561000757505050600c8601805460c860020a60ff02191660c860020a179055600686015460078701546113739190610a96565b905061271081830260660204935050505092915050565b818360020203836064020460c80390506101f9565b50818001600101835581811511611d2357601f016020900481601f01602090048360005260206000209182019101611d239190611e6d565b82601f10611caa575082600052602060002080549082601f0160209004810190611dda9190611e6d565b60ff19168360005260206000205581800160010183555b50505050600482511115611e85575060005b600383015460026001821615610100026000190190911604811015611e8557818160040181518110156100075790602001015160f860020a900460f860020a0283600301600050828154600181600116156101000203166002900481101561000757815460011615611db65790600052602060002090602091828204019190065b601f036101000a81548160ff0219169060f860020a84040217905550600101611d35565b50610860565b820191906000526020600020905b815481529060010190602001808311611dee575b5050915050604051809103902081526020019081526020016000206000509080546001816001161561010002031660029004828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611ed5575b50611f119291505b80821115611e815760008155600101611e6d565b5090565b82600301600050836014016000506000856003016000506040518082805460018160011615610100020316600290048015611e025780601f10611de0576101008083540402835291820191611e02565b82800160010185558215611e6557600052602060002091601f016020900482015b82811115611e65578254825591600101919060010190611ef6565b5050826003016000506040518082805460018160011615610100020316600290048015611f755780601f10611f53576101008083540402835291820191611f75565b820191906000526020600020905b815481529060010190602001808311611f61575b5050604051908190039020600586015550506003830154600260018216156101000260001901909116046004840155505050565b600160a060020a0386166000908152600f88016020526040902054909250905080821115611fd5579050805b604080517f332a06ac000000000000000000000000000000000000000000000000000000008152600688016004820152600160a060020a038716602482015260448101849052905173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163332a06ac9160648281019260009291908290030181838760325a03f215610007575050604080517f068e3ef1000000000000000000000000000000000000000000000000000000008152600689016004820152600160a060020a038716602482015260448101859052905163068e3ef1916064818101926000929091908290030181838760325a03f21561000757509297965050505050505056e92bb68684c6f35360f28dfd2903c49a6fd6714b1018dd303a163337e9a26910
Binary of the runtime part: 
650106d41f8b7c50606060405236156101c95760e060020a60003504631259358481146101ce57806318b753ab146101ff57806323306ed614610242578063247d79bb1461024d57806325068783146102d757806325fea09914610302578063321f45841461039757806336edfec4146103cb57806347d4e8711461041d5780635a1230bf146104975780635ca1bad51461050a578063707378391461053e5780637517a7c91461056a578063775f20f91461058c5780637d613b34146105ae5780637e853f3d146105df57806384b46e451461061857806386b0aac91461065757806398213db61461067957806398e00e54146106cf5780639b7893ca146106d9578063a8971375146107e2578063a95d3e761461087a578063ab2af349146108c6578063aebd6547146108fa578063b00b41e214610926578063b3a5e25514610971578063b506054f14610a0b578063c0f6885914610a37578063c68efc4814610a42578063c9abdb7c14610a6a578063da0774ad14610a8c578063da40fd6114610aad578063dd382dd314610acf578063e99a668514610af1578063ed1062ba14610b13578063f1924efb14610b56578063fae6446414610b86578063fc47301214610ba8575b610007565b610bcd60043560243560008181526013830160205260409020600c015460a060020a900460e060020a025b92915050565b6108c460043560243560408051828152905183917f742b8b9d0025b09f24225abf0e64835750816e7185c1376cfbe705e6cadd746b919081900360200190a25050565b610bcd5b453a025b90565b610bdf60043560243560408051602081810183526000808352848152601386018252838120600d01548152601486018252835190849020805460026001821615610100026000190190911604601f81018490048402830184019095528482529293909291830182828015610c955780601f10610c6a57610100808354040283529160200191610c95565b610c4d6004356024356000818152601383016020526040902060010154600160a060020a03166101f9565b6108c460043560243560443560006000600060006000600060005a89825260138b0160205260408220600c810154919850965060c860020a900460ff16156114fc57604080517f414c52454144592043414c4c4544000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b6108c460043560405181907ff393b3b07bdf7ae4b9d82d754aea668fdc2cd864b6e130f46e55089befdc47ec90600090a250565b610bcd6004356024356044355b60408051600160a060020a03848116606060020a90810283529084160260148201528151908190036028019020600090815260158501602052205460ff169392505050565b6108c460043560243560443560643560843560a4355b8385600160a060020a031687600160a060020a03167f7c41de343580306225657faa166e0ed18b4872845790978146b4fb56fc19c75f86868660405180848152602001838152602001828152602001935050505060405180910390a4505050505050565b610bcd60043560243560443560643560843560a43560c4355b60408051600160a060020a03988916606060020a90810282529790981690960260148801526028870194909452602c860192909252604c85015260ff1660f860020a02606c840152606d8301525190819003608d01902090565b6108c460043560405181907fa951c534fc522799a861d0bb77e0a9cde151ad07d40bbc96126b8f152b3c228d90600090a250565b610bcd60043560243560008181526013830160205260409020600c015460c860020a900460ff166101f9565b610bcd60043560243560008181526013830160205260409020600701546101f9565b610bcd60043560243560008181526013830160205260409020600601546101f9565b610bcd6004356024355b600081815260138301602052604081206006810154453a908102918491611c7e9190610a96565b610bcd600435602435604435600082815260138401602052604081206001810154600160a060020a039081169084161461133b57611333565b6108c46004356024356044356040805182815290518391600160a060020a038616916000805160206120cf8339815191529181900360200190a3505050565b610bcd60043560243560008181526013830160205260409020600b01546101f9565b610c4d6004356024356044355b600082815260138401602052604081206003810154829081908190819081908810806106c157506004860154600387015460ff919091160188115b15610cf15760009650610ce4565b610bcd601061024a565b6108c46004356024356044355b600081815260138401602090815260408083206003810154600482810154845160e060020a6338f4c9eb02815260068b01928101929092526024820183905260ff1690910160448201529151909392839283928392839283928392600e8e0192849273d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e926338f4c9eb92606481810193918290030181878760325a03f21561000757505050604051805190602001508152602001908152602001600020600050965060108860040160009054906101000a900460ff1660ff1604925060108860030160005054430304915082826002011115610db057610dc38b8a8a60030160005054610686565b60408051602060248035600481810135601f81018590048502860185019096528585526108c4958135959194604494929390920191819084018382808284375094965050505050505060006004825103836003016000508181546001816001161561010002031660029004825481601f10611ce25782601f10611d0c575b826008026101000360020a80910402828001178355611d23565b60408051606060020a600160a060020a03602435811682028352604435160260148201528151908190036028019020600090815260156004350160205220805460ff191660011790555b005b6108c460043560405181907fec47297e9e5df3fad516a7aac7f9adfcd3b6b6fc7f85d67819b3a6ef4562ef8a90600090a250565b610bcd60043560243560008181526013830160205260409020600c015460c060020a900460ff166101f9565b60408051606060020a600160a060020a03602435811682028352604435160260148201528151908190036028019020600090815260156004350160205220805460ff191690556108c4565b610bcd600435602435600081815260138301602090815260408083206003810154600482810154845160e060020a6338f4c9eb02815260068a01928101929092526024820183905260ff1690910160448201529151909273d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e926338f4c9eb92606482810193928290030181888760325a03f2156100075750506040515195945050505050565b610bcd60043560243560008181526013830160205260409020600c015460d060020a900460ff166101f9565b610bcd5b604061024a565b610c4d6004356024356000818152601383016020526040902054600160a060020a03166101f9565b610bcd60043560243560008181526013830160205260409020600d01546101f9565b610bcd6004356024355b600082821115611c955781836064020490506101f9565b610bcd60043560243560008181526013830160205260409020600801546101f9565b610bcd60043560243560008181526013830160205260409020600a01546101f9565b610bcd60043560243560008181526013830160205260409020600301546101f9565b6108c46004356024356040518190600160a060020a038416907f8f4d872360ae14428c67e14b02ad02ce2c00b8319c2c76e58ecd58032194764390600090a35050565b610bcd60043560243560443560643560843560a43560c43560e4356000600060006110ab8a8a8a8a8a8a8a6104b0565b610bcd60043560243560008181526013830160205260409020600201546101f9565b610bcd600435602435600081815260138301602052604090206004015460ff166101f9565b60408051918252519081900360200190f35b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f168015610c3f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60408051600160a060020a03929092168252519081900360200190f35b820191906000526020600020905b815481529060010190602001808311610c7857829003601f168201915b505050505090506101f9565b50506000818152600e890160205260409020600381018054808a0691908286018190069081101561000757600091825260209091200154600160a060020a031696505b5050505050509392505050565b60038601546004870154601060ff9190911681900496509089030493506002840185901115610d235760009650610ce4565b60408051600388015460048981015460e060020a6338f4c9eb02845260068f01918401919091526024830182905260ff16016044820152905173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e916338f4c9eb916064828101926020929190829003018160008760325a03f215610007575050604051519350506000831415610ca15760009650610ce4565b60038701546002901015610e7457610e16565b6003890154965090505b6004880154600389015460ff91909116018611610e1657610def8b8a88610686565b9350600160a060020a03818116908516148015610e10575060038801548614155b15610e23575b5050505050505050505050565b89600160a060020a031684600160a060020a03161415610e4a575b60109590950194610dcd565b610e5f8b858c5b600060006000611fa9610246565b8754909550610e3e9085908c908c438a610433565b600095505b6003870154861015610e165789600160a060020a03168760030160005087815481101561000757600091825260209091200154600160a060020a03161415610ef557600387018054808801600019018190069081101561000757600091825260209091200154600160a060020a03169350610f018b858c610e51565b60019590950194610e79565b8754909550610f169085908c908c438a610433565b73d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e638f00e61a8c6006016000506040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f21561000757505060405151600014159050610fca5773d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e63b6cbfdb28c6006016000506040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f215610007575050505b73d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e633458e13e8c60060160005073d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e638f00e61a8f6006016000506040518260e060020a0281526004018082815260200191505060206040518083038160008760325a03f2156100075750506040805180517f3458e13e00000000000000000000000000000000000000000000000000000000825260048201949094526024810193909352600160a060020a03891660448401525160648381019360209350829003018160008760325a03f2156100075750610e16915050565b91507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47087148015906110fe5750600087815260148c01602052604081205460026001821615610100026000190190911604145b15611135577f4e4f5f444154410000000000000000000000000000000000000000000000000092505b505098975050505050505050565b60284301861015611168577f544f4f5f534f4f4e0000000000000000000000000000000000000000000000009250611127565b50600081815260138b016020526040812080549091600160a060020a0391909116146111b6577f4455504c494341544500000000000000000000000000000000000000000000009250611127565b6111be610a3b565b8560ff1610156111f0577f47524143455f544f4f5f53484f525400000000000000000000000000000000009250611127565b60028b01829055805473ffffffffffffffffffffffffffffffffffffffff199081168a1782556001820180549091168b17905560058101849055600c8101805477ffffffff0000000000000000000000000000000000000000191660e060020a8a0460a060020a02179055600d8101879055600381018690556004818101805460ff1916871790553a6006830155604080517fbacd695800000000000000000000000000000000000000000000000000000000815260108e019281019290925260248201849052604482018890525173920c890a90db8fba7604864b0cf38ee6673313239163bacd69589160648281019260009291908290030181838760325a03f215610007575060009450611127915050565b600c8101805478ff000000000000000000000000000000000000000000000000191660c060020a179055600191505b509392505050565b600c81015460c860020a900460ff16156113585760009150611333565b60038101544360071991909101116113045760009150611333565b9050620256e95a880301600887018190556007870154026009870181905561271090820260658102829004600a8901819055919004600b88018190556040805160018a01547fe62af6c100000000000000000000000000000000000000000000000000000000825260128f016004830152600160a060020a031660248201529190920160448201529051737de615d8a51746a9f10f72a593fb5b3718dc3d529163e62af6c19160648281019260009291908290030181838760325a03f21561000757505060408051600a89015460e160020a6335881cb302825260128e016004830152600160a060020a038c16602483015260448201529051636b103966916064818101926000929091908290030181838760325a03f215610007575060408051600b8a015460e160020a6335881cb302825260128f01600483015273d3cda913deb6f67967b99d67acdfa1712c29360160248301526044820152905160648281019260009291908290030181838760325a03f215610007575050505b50505050505050505050565b600c86015460c060020a900460ff161561156357604080517f43414e43454c4c45440000000000000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b8554600160a060020a0316600014156115c957604080517f554e4b4e4f574e00000000000000000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b600386015443101561162857604080517f544f4f204541524c590000000000000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b6003860154600487015460ff160143111561169057604080517f544f4f204c415445000000000000000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b61169a8a8a6105b8565b6001870154600160a060020a0316600090815260128c0160205260409020549095508590101561172f57600c8601805460c860020a60ff02191660c860020a179055604080517f494e53554646494349454e545f46554e44530000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b604080517fc75e8f8800000000000000000000000000000000000000000000000000000000815260068c0160048201529051600091600e8d0191839173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163c75e8f88916024818101926020929091908290030181878760325a03f2156100075750506040805151909252506020919091528120600301541115611875576117cc8a8a43610686565b935083600160a060020a03166000141580156117fa575087600160a060020a031684600160a060020a031614155b1561185257604080517f57524f4e475f43414c4c45520000000000000000000000000000000000000000815290518a9133600160a060020a0316916000805160206120cf8339815191529181900360200190a36114f0565b6010866003016000505443030492506000831115611875576118758a898b6106e6565b3a86600701600050819055508786600c0160006101000a815481600160a060020a030219169083021790555043866002016000508190555089601401600050600087600d016000505481526020019081526020016000206000509150737de615d8a51746a9f10f72a593fb5b3718dc3d5263b5bc6dbb8b6012016000508860010160009054906101000a9004600160a060020a0316886040518460e060020a0281526004018084815260200183600160a060020a03168152602001828152602001935050505060206040518083038160008760325a03f2156100075750505060018601548654611973918c91600160a060020a0391821691166103d8565b15611a325760018a0154600160a060020a031663e8b1d0f36201d5285a6040518a54600c8c015460e060020a63e8b1d0f3028352600160a060020a03919091166004830181815260a060020a90920460e060020a02602484018190526060604485019081528a5460026001821615610100026000190190911604606486018190526201d52719969096019650919490938a9392916084919091019084908015611b145780601f10611ae957610100808354040283529160200191611b14565b8954600160a060020a031663e8b1d0f36201d5285a6040518a54600c8c015460e060020a63e8b1d0f3028352600160a060020a03919091166004830181815260a060020a90920460e060020a02602484018190526060604485019081528a5460026001821615610100026000190190911604606486018190526201d52719969096019650919490938a9392916084919091019084908015611b875780601f10611b5c57610100808354040283529160200191611b87565b820191906000526020600020905b815481529060010190602001808311611af757829003601f168201915b505094505050505060206040518083038160008887f11561000757505060405151600c8901805460d060020a60ff02191660d060020a9290920291909117905550611bca9050565b820191906000526020600020905b815481529060010190602001808311611b6a57829003601f168201915b505094505050505060206040518083038160008887f11561000757505060405151600c8901805460d060020a60ff02191660d060020a9290920291909117905550505b6040805160018801547fb1df3d8000000000000000000000000000000000000000000000000000000000825260128d016004830152600160a060020a03166024820152604481018790529051737de615d8a51746a9f10f72a593fb5b3718dc3d529163b1df3d80916064828101926020929190829003018160008760325a03f21561000757505050600c8601805460c860020a60ff02191660c860020a179055600686015460078701546113739190610a96565b905061271081830260660204935050505092915050565b818360020203836064020460c80390506101f9565b50818001600101835581811511611d2357601f016020900481601f01602090048360005260206000209182019101611d239190611e6d565b82601f10611caa575082600052602060002080549082601f0160209004810190611dda9190611e6d565b60ff19168360005260206000205581800160010183555b50505050600482511115611e85575060005b600383015460026001821615610100026000190190911604811015611e8557818160040181518110156100075790602001015160f860020a900460f860020a0283600301600050828154600181600116156101000203166002900481101561000757815460011615611db65790600052602060002090602091828204019190065b601f036101000a81548160ff0219169060f860020a84040217905550600101611d35565b50610860565b820191906000526020600020905b815481529060010190602001808311611dee575b5050915050604051809103902081526020019081526020016000206000509080546001816001161561010002031660029004828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611ed5575b50611f119291505b80821115611e815760008155600101611e6d565b5090565b82600301600050836014016000506000856003016000506040518082805460018160011615610100020316600290048015611e025780601f10611de0576101008083540402835291820191611e02565b82800160010185558215611e6557600052602060002091601f016020900482015b82811115611e65578254825591600101919060010190611ef6565b5050826003016000506040518082805460018160011615610100020316600290048015611f755780601f10611f53576101008083540402835291820191611f75565b820191906000526020600020905b815481529060010190602001808311611f61575b5050604051908190039020600586015550506003830154600260018216156101000260001901909116046004840155505050565b600160a060020a0386166000908152600f88016020526040902054909250905080821115611fd5579050805b604080517f332a06ac000000000000000000000000000000000000000000000000000000008152600688016004820152600160a060020a038716602482015260448101849052905173d6bbd16eaa6ea3f71a458bffc64c0ca24fc8c58e9163332a06ac9160648281019260009291908290030181838760325a03f215610007575050604080517f068e3ef1000000000000000000000000000000000000000000000000000000008152600689016004820152600160a060020a038716602482015260448101859052905163068e3ef1916064818101926000929091908290030181838760325a03f21561000757509297965050505050505056e92bb68684c6f35360f28dfd2903c49a6fd6714b1018dd303a163337e9a26910

======= StringLib =======
Binary: 
606060405260f8806100116000396000f3650106d41f8b7c50606060405260e060020a600035046381a33a6f8114602e57806394e8767d146042575b6007565b6079600435600080808381141560b8576007565b607960043560008160001415608357507f30000000000000000000000000000000000000000000000000000000000000005b919050565b6060908152602090f35b5b6000821115607457600a808304920660300160f860020a02610100909104176084565b600a929092028101602f1901916001015b602081101560db57601f81900360080260020a840460ff169150600082141560e2575b5050919050565b603082108060f05750603982115b1560a757600756
Binary of the runtime part: 
650106d41f8b7c50606060405260e060020a600035046381a33a6f8114602e57806394e8767d146042575b6007565b6079600435600080808381141560b8576007565b607960043560008160001415608357507f30000000000000000000000000000000000000000000000000000000000000005b919050565b6060908152602090f35b5b6000821115607457600a808304920660300160f860020a02610100909104176084565b600a929092028101602f1901916001015b602081101560db57601f81900360080260020a840460ff169150600082141560e2575b5050919050565b603082108060f05750603982115b1560a757600756