Contract 0xfcFaB7cdC0613fEa78982ebd52559B7362DB7976

 
 
Txn Hash
Method
Block
From
To
Value
0xa4fcc001776633e499bb7cd8add92f4602501fde41314776c08fe7a79e7c69c7Finalize Recover...157948142022-10-21 6:53:4747 days 12 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00097887 20.34023503
0x0e9f7092ac487f8c30f2b6de811a4cbc4065916b5db2371a3f6fab758e6eef3dExecute157840442022-10-19 18:48:2349 days 51 mins agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.007387444.554
0xe92d33e327bd441aa854c1e430a0edf54c9766e58f6e378276ec0038607d205aFinalize Recover...157507712022-10-15 3:17:1153 days 16 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00076567 15.90945178
0x6e310b7ac754bea599dd1be30de3125feb690c4620549ff8f4ee472fa4749d3eExecute157400262022-10-13 15:15:4755 days 4 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.0074830944.165
0xe96d45f04387afaa877d7047d745e1890d2aba7e464da428133ab07edfd134a0Finalize Recover...157385132022-10-13 10:11:1155 days 9 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00049207 10.225
0xacc0331e12058c659a981e28b948677f52796b6f5d02baad4b1dc8a66f63a5c7Finalize Recover...157359282022-10-13 1:31:4755 days 18 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00110912 23.04573091
0x24568afa634a9e15f778141d2c3343b952fe31382bcd1215296a4f3a9ee5c061Execute157277582022-10-11 22:09:3556 days 21 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.004111625.745
0x8b4c201423f5f84dcbbcaf81e54745ca30b8537a4245d829f16f75dff4fdc0b2Execute157251612022-10-11 13:27:2357 days 6 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.003989823.99
0x16b38e51d2dc65943a4c61f0ee72d0699db624983d6f3ea4fd1edc8255dfa99eFinalize Recover...156129662022-09-25 21:06:3572 days 22 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00065147 13.53659578
0x5d23b671d276782eec2c2fba797c9088d6c2f116ff7699fa456c2083b80446a7Execute156022002022-09-24 9:03:4774 days 10 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00083215.841
0xb5f858c28c9fa26739a2e5f1fce782c8228ec32ab5200d000df437ecf5af5963Finalize Recover...152776912022-08-04 19:19:09125 days 21 mins agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00070976 14.74775588
0x39a803ea296378ff654a2ebab1c61602342403c59cf1a5791e6cf57866388abcExecute152681172022-08-03 7:14:50126 days 12 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.000756794.741
0x5d0767e239112b4a82a447bbaae9954c1507af6d442c7b0dd6e8d014c0f13267Finalize Recover...152394322022-07-29 20:05:44130 days 23 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.0043199 89.76425521
0x8717d69d4ff0191e5c23912da9df5ed6152c22d8091385786baa5e2e687d9924Execute152298312022-07-28 8:01:45132 days 11 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.001148157.19
0x3d6e2fee6163fd7d92d4b3cff7853fcfa97470b88602890404debc50a50e16a3Finalize Recover...149350912022-06-09 22:49:08180 days 20 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00369398 76.75491728
0xaaf7147e38a0858e5473ad1f81c90a85e205772a2858b64a0ac03d16717f0e34Execute149262622022-06-08 10:42:56182 days 8 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.0098806170.91266254
0x4de356f193979c6ee22fc0d096157c4a9a593e2b3517f82db2a745c0b3087268Finalize Recover...149167352022-06-06 19:46:56183 days 23 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00340762 70.80779544
0x2b56d78dc075ab830cdc09fc569350c011e1bbcb1c71be57e228fed807022d7eExecute149078732022-06-05 7:41:00185 days 11 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.0031808419.917
0xe2ad87076797e36a4567337f181b1e79136087581ae6e51bcb0ce54f7e1cf04bFinalize Recover...149036812022-06-04 14:17:23186 days 5 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00250161 51.98153455
0xe16ec649759897d82b3f6e883da8fbb844eb1ed4525c324ba524cc684d5bc9ceExecute148945162022-06-03 2:11:15187 days 17 hrs agoArgent: Relayer 3 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.0132593483.024
0x9ac41397af6a7b4afa4576645ce4d6a4bc9c5d2c4cde7fa9bb6f72948225ad82Finalize Recover...148273382022-05-23 3:55:00198 days 15 hrs agoArgent: Relayer 5 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00286343 59.49751427
0xbff8546216c6ff5ca8c6304fd2420ec4cb5870acde33ec0837edd1d600430c9bExecute148181112022-05-21 15:49:15200 days 3 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.0039634424.82925053
0xa21b679698d45f9e5c3bb3145831d73c72b8e943988554f13fae1a831aaa1454Finalize Recover...148076422022-05-19 22:59:26201 days 20 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.00078816 16.37744205
0xc05cbdc3475274b1f416c1d5e9cdb1665e1ef549ac53cf763b8864f9f66aba7fExecute147983242022-05-18 10:29:15203 days 9 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.0033023420.68
0x5cb229e7f1ade8f7120079bd2ca0743a13954f3f2ece443bb5a9576a4c5df592Finalize Recover...145440272022-04-08 8:22:47243 days 11 hrs agoArgent: Relayer 8 IN  0xfcfab7cdc0613fea78982ebd52559b7362db79760 Ether0.0022683647.133
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RecoveryManager

Compiler Version
v0.5.4+commit.9549d8ff

Optimization Enabled:
Yes with 999 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-05-08
*/

pragma solidity ^0.5.4;// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.


/**
 * @title Module
 * @dev Interface for a module.
 * A module MUST implement the addModule() method to ensure that a wallet with at least one module
 * can never end up in a "frozen" state.
 * @author Julien Niset - <[email protected]>
 */
interface Module {

    /**
     * @dev Inits a module for a wallet by e.g. setting some wallet specific parameters in storage.
     * @param _wallet The wallet.
     */
    function init(BaseWallet _wallet) external;

    /**
     * @dev Adds a module to a wallet.
     * @param _wallet The target wallet.
     * @param _module The modules to authorise.
     */
    function addModule(BaseWallet _wallet, Module _module) external;

    /**
    * @dev Utility method to recover any ERC20 token that was sent to the
    * module by mistake.
    * @param _token The token to recover.
    */
    function recoverToken(address _token) external;
}// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.


/**
 * @title BaseWallet
 * @dev Simple modular wallet that authorises modules to call its invoke() method.
 * @author Julien Niset - <[email protected]>
 */
contract BaseWallet {

    // The implementation of the proxy
    address public implementation;
    // The owner
    address public owner;
    // The authorised modules
    mapping (address => bool) public authorised;
    // The enabled static calls
    mapping (bytes4 => address) public enabled;
    // The number of modules
    uint public modules;

    event AuthorisedModule(address indexed module, bool value);
    event EnabledStaticCall(address indexed module, bytes4 indexed method);
    event Invoked(address indexed module, address indexed target, uint indexed value, bytes data);
    event Received(uint indexed value, address indexed sender, bytes data);
    event OwnerChanged(address owner);

    /**
     * @dev Throws if the sender is not an authorised module.
     */
    modifier moduleOnly {
        require(authorised[msg.sender], "BW: msg.sender not an authorized module");
        _;
    }

    /**
     * @dev Inits the wallet by setting the owner and authorising a list of modules.
     * @param _owner The owner.
     * @param _modules The modules to authorise.
     */
    function init(address _owner, address[] calldata _modules) external {
        require(owner == address(0) && modules == 0, "BW: wallet already initialised");
        require(_modules.length > 0, "BW: construction requires at least 1 module");
        owner = _owner;
        modules = _modules.length;
        for (uint256 i = 0; i < _modules.length; i++) {
            require(authorised[_modules[i]] == false, "BW: module is already added");
            authorised[_modules[i]] = true;
            Module(_modules[i]).init(this);
            emit AuthorisedModule(_modules[i], true);
        }
        if (address(this).balance > 0) {
            emit Received(address(this).balance, address(0), "");
        }
    }

    /**
     * @dev Enables/Disables a module.
     * @param _module The target module.
     * @param _value Set to true to authorise the module.
     */
    function authoriseModule(address _module, bool _value) external moduleOnly {
        if (authorised[_module] != _value) {
            emit AuthorisedModule(_module, _value);
            if (_value == true) {
                modules += 1;
                authorised[_module] = true;
                Module(_module).init(this);
            } else {
                modules -= 1;
                require(modules > 0, "BW: wallet must have at least one module");
                delete authorised[_module];
            }
        }
    }

    /**
    * @dev Enables a static method by specifying the target module to which the call
    * must be delegated.
    * @param _module The target module.
    * @param _method The static method signature.
    */
    function enableStaticCall(address _module, bytes4 _method) external moduleOnly {
        require(authorised[_module], "BW: must be an authorised module for static call");
        enabled[_method] = _module;
        emit EnabledStaticCall(_module, _method);
    }

    /**
     * @dev Sets a new owner for the wallet.
     * @param _newOwner The new owner.
     */
    function setOwner(address _newOwner) external moduleOnly {
        require(_newOwner != address(0), "BW: address cannot be null");
        owner = _newOwner;
        emit OwnerChanged(_newOwner);
    }

    /**
     * @dev Performs a generic transaction.
     * @param _target The address for the transaction.
     * @param _value The value of the transaction.
     * @param _data The data of the transaction.
     */
    function invoke(address _target, uint _value, bytes calldata _data) external moduleOnly returns (bytes memory _result) {
        bool success;
        // solium-disable-next-line security/no-call-value
        (success, _result) = _target.call.value(_value)(_data);
        if (!success) {
            // solium-disable-next-line security/no-inline-assembly
            assembly {
                returndatacopy(0, 0, returndatasize)
                revert(0, returndatasize)
            }
        }
        emit Invoked(msg.sender, _target, _value, _data);
    }

    /**
     * @dev This method makes it possible for the wallet to comply to interfaces expecting the wallet to
     * implement specific static methods. It delegates the static call to a target contract if the data corresponds
     * to an enabled method, or logs the call otherwise.
     */
    function() external payable {
        if (msg.data.length > 0) {
            address module = enabled[msg.sig];
            if (module == address(0)) {
                emit Received(msg.value, msg.sender, msg.data);
            } else {
                require(authorised[module], "BW: must be an authorised module for static call");
                // solium-disable-next-line security/no-inline-assembly
                assembly {
                    calldatacopy(0, 0, calldatasize())
                    let result := staticcall(gas, module, 0, calldatasize(), 0, 0)
                    returndatacopy(0, 0, returndatasize())
                    switch result
                    case 0 {revert(0, returndatasize())}
                    default {return (0, returndatasize())}
                }
            }
        }
    }
}// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.



/**
 * @title Owned
 * @dev Basic contract to define an owner.
 * @author Julien Niset - <[email protected]>
 */
contract Owned {

    // The owner
    address public owner;

    event OwnerChanged(address indexed _newOwner);

    /**
     * @dev Throws if the sender is not the owner.
     */
    modifier onlyOwner {
        require(msg.sender == owner, "Must be owner");
        _;
    }

    constructor() public {
        owner = msg.sender;
    }

    /**
     * @dev Lets the owner transfer ownership of the contract to a new owner.
     * @param _newOwner The new owner.
     */
    function changeOwner(address _newOwner) external onlyOwner {
        require(_newOwner != address(0), "Address must not be null");
        owner = _newOwner;
        emit OwnerChanged(_newOwner);
    }
}

/**
 * ERC20 contract interface.
 */
contract ERC20 {
    function totalSupply() public view returns (uint);
    function decimals() public view returns (uint);
    function balanceOf(address tokenOwner) public view returns (uint balance);
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);
    function transfer(address to, uint tokens) public returns (bool success);
    function approve(address spender, uint tokens) public returns (bool success);
    function transferFrom(address from, address to, uint tokens) public returns (bool success);
}// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.



/**
 * @title ModuleRegistry
 * @dev Registry of authorised modules.
 * Modules must be registered before they can be authorised on a wallet.
 * @author Julien Niset - <[email protected]>
 */
contract ModuleRegistry is Owned {

    mapping (address => Info) internal modules;
    mapping (address => Info) internal upgraders;

    event ModuleRegistered(address indexed module, bytes32 name);
    event ModuleDeRegistered(address module);
    event UpgraderRegistered(address indexed upgrader, bytes32 name);
    event UpgraderDeRegistered(address upgrader);

    struct Info {
        bool exists;
        bytes32 name;
    }

    /**
     * @dev Registers a module.
     * @param _module The module.
     * @param _name The unique name of the module.
     */
    function registerModule(address _module, bytes32 _name) external onlyOwner {
        require(!modules[_module].exists, "MR: module already exists");
        modules[_module] = Info({exists: true, name: _name});
        emit ModuleRegistered(_module, _name);
    }

    /**
     * @dev Deregisters a module.
     * @param _module The module.
     */
    function deregisterModule(address _module) external onlyOwner {
        require(modules[_module].exists, "MR: module does not exist");
        delete modules[_module];
        emit ModuleDeRegistered(_module);
    }

        /**
     * @dev Registers an upgrader.
     * @param _upgrader The upgrader.
     * @param _name The unique name of the upgrader.
     */
    function registerUpgrader(address _upgrader, bytes32 _name) external onlyOwner {
        require(!upgraders[_upgrader].exists, "MR: upgrader already exists");
        upgraders[_upgrader] = Info({exists: true, name: _name});
        emit UpgraderRegistered(_upgrader, _name);
    }

    /**
     * @dev Deregisters an upgrader.
     * @param _upgrader The _upgrader.
     */
    function deregisterUpgrader(address _upgrader) external onlyOwner {
        require(upgraders[_upgrader].exists, "MR: upgrader does not exist");
        delete upgraders[_upgrader];
        emit UpgraderDeRegistered(_upgrader);
    }

    /**
    * @dev Utility method enbaling the owner of the registry to claim any ERC20 token that was sent to the
    * registry.
    * @param _token The token to recover.
    */
    function recoverToken(address _token) external onlyOwner {
        uint total = ERC20(_token).balanceOf(address(this));
        ERC20(_token).transfer(msg.sender, total);
    }

    /**
     * @dev Gets the name of a module from its address.
     * @param _module The module address.
     * @return the name.
     */
    function moduleInfo(address _module) external view returns (bytes32) {
        return modules[_module].name;
    }

    /**
     * @dev Gets the name of an upgrader from its address.
     * @param _upgrader The upgrader address.
     * @return the name.
     */
    function upgraderInfo(address _upgrader) external view returns (bytes32) {
        return upgraders[_upgrader].name;
    }

    /**
     * @dev Checks if a module is registered.
     * @param _module The module address.
     * @return true if the module is registered.
     */
    function isRegisteredModule(address _module) external view returns (bool) {
        return modules[_module].exists;
    }

    /**
     * @dev Checks if a list of modules are registered.
     * @param _modules The list of modules address.
     * @return true if all the modules are registered.
     */
    function isRegisteredModule(address[] calldata _modules) external view returns (bool) {
        for (uint i = 0; i < _modules.length; i++) {
            if (!modules[_modules[i]].exists) {
                return false;
            }
        }
        return true;
    }

    /**
     * @dev Checks if an upgrader is registered.
     * @param _upgrader The upgrader address.
     * @return true if the upgrader is registered.
     */
    function isRegisteredUpgrader(address _upgrader) external view returns (bool) {
        return upgraders[_upgrader].exists;
    }
}// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.


/**
 * @title Storage
 * @dev Base contract for the storage of a wallet.
 * @author Julien Niset - <[email protected]>
 */
contract Storage {

    /**
     * @dev Throws if the caller is not an authorised module.
     */
    modifier onlyModule(BaseWallet _wallet) {
        require(_wallet.authorised(msg.sender), "TS: must be an authorized module to call this method");
        _;
    }
}// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.


interface IGuardianStorage{

    /**
     * @dev Lets an authorised module add a guardian to a wallet.
     * @param _wallet The target wallet.
     * @param _guardian The guardian to add.
     */
    function addGuardian(BaseWallet _wallet, address _guardian) external;

    /**
     * @dev Lets an authorised module revoke a guardian from a wallet.
     * @param _wallet The target wallet.
     * @param _guardian The guardian to revoke.
     */
    function revokeGuardian(BaseWallet _wallet, address _guardian) external;

    /**
     * @dev Checks if an account is a guardian for a wallet.
     * @param _wallet The target wallet.
     * @param _guardian The account.
     * @return true if the account is a guardian for a wallet.
     */
    function isGuardian(BaseWallet _wallet, address _guardian) external view returns (bool);
}// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.




/**
 * @title GuardianStorage
 * @dev Contract storing the state of wallets related to guardians and lock.
 * The contract only defines basic setters and getters with no logic. Only modules authorised
 * for a wallet can modify its state.
 * @author Julien Niset - <[email protected]>
 * @author Olivier Van Den Biggelaar - <[email protected]>
 */
contract GuardianStorage is IGuardianStorage, Storage {

    struct GuardianStorageConfig {
        // the list of guardians
        address[] guardians;
        // the info about guardians
        mapping (address => GuardianInfo) info;
        // the lock's release timestamp
        uint256 lock;
        // the module that set the last lock
        address locker;
    }

    struct GuardianInfo {
        bool exists;
        uint128 index;
    }

    // wallet specific storage
    mapping (address => GuardianStorageConfig) internal configs;

    // *************** External Functions ********************* //

    /**
     * @dev Lets an authorised module add a guardian to a wallet.
     * @param _wallet The target wallet.
     * @param _guardian The guardian to add.
     */
    function addGuardian(BaseWallet _wallet, address _guardian) external onlyModule(_wallet) {
        GuardianStorageConfig storage config = configs[address(_wallet)];
        config.info[_guardian].exists = true;
        config.info[_guardian].index = uint128(config.guardians.push(_guardian) - 1);
    }

    /**
     * @dev Lets an authorised module revoke a guardian from a wallet.
     * @param _wallet The target wallet.
     * @param _guardian The guardian to revoke.
     */
    function revokeGuardian(BaseWallet _wallet, address _guardian) external onlyModule(_wallet) {
        GuardianStorageConfig storage config = configs[address(_wallet)];
        address lastGuardian = config.guardians[config.guardians.length - 1];
        if (_guardian != lastGuardian) {
            uint128 targetIndex = config.info[_guardian].index;
            config.guardians[targetIndex] = lastGuardian;
            config.info[lastGuardian].index = targetIndex;
        }
        config.guardians.length--;
        delete config.info[_guardian];
    }

    /**
     * @dev Returns the number of guardians for a wallet.
     * @param _wallet The target wallet.
     * @return the number of guardians.
     */
    function guardianCount(BaseWallet _wallet) external view returns (uint256) {
        return configs[address(_wallet)].guardians.length;
    }

    /**
     * @dev Gets the list of guaridans for a wallet.
     * @param _wallet The target wallet.
     * @return the list of guardians.
     */
    function getGuardians(BaseWallet _wallet) external view returns (address[] memory) {
        GuardianStorageConfig storage config = configs[address(_wallet)];
        address[] memory guardians = new address[](config.guardians.length);
        for (uint256 i = 0; i < config.guardians.length; i++) {
            guardians[i] = config.guardians[i];
        }
        return guardians;
    }

    /**
     * @dev Checks if an account is a guardian for a wallet.
     * @param _wallet The target wallet.
     * @param _guardian The account.
     * @return true if the account is a guardian for a wallet.
     */
    function isGuardian(BaseWallet _wallet, address _guardian) external view returns (bool) {
        return configs[address(_wallet)].info[_guardian].exists;
    }

    /**
     * @dev Lets an authorised module set the lock for a wallet.
     * @param _wallet The target wallet.
     * @param _releaseAfter The epoch time at which the lock should automatically release.
     */
    function setLock(BaseWallet _wallet, uint256 _releaseAfter) external onlyModule(_wallet) {
        configs[address(_wallet)].lock = _releaseAfter;
        if (_releaseAfter != 0 && msg.sender != configs[address(_wallet)].locker) {
            configs[address(_wallet)].locker = msg.sender;
        }
    }

    /**
     * @dev Checks if the lock is set for a wallet.
     * @param _wallet The target wallet.
     * @return true if the lock is set for the wallet.
     */
    function isLocked(BaseWallet _wallet) external view returns (bool) {
        return configs[address(_wallet)].lock > now;
    }

    /**
     * @dev Gets the time at which the lock of a wallet will release.
     * @param _wallet The target wallet.
     * @return the time at which the lock of a wallet will release, or zero if there is no lock set.
     */
    function getLock(BaseWallet _wallet) external view returns (uint256) {
        return configs[address(_wallet)].lock;
    }

    /**
     * @dev Gets the address of the last module that modified the lock for a wallet.
     * @param _wallet The target wallet.
     * @return the address of the last module that modified the lock for a wallet.
     */
    function getLocker(BaseWallet _wallet) external view returns (address) {
        return configs[address(_wallet)].locker;
    }
}/* The MIT License (MIT)

Copyright (c) 2016 Smart Contract Solutions, Inc.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */



/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

    /**
    * @dev Multiplies two numbers, reverts on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b);

        return c;
    }

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

        return c;
    }

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

        return c;
    }

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

        return c;
    }

    /**
    * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
    * reverts when dividing by zero.
    */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0);
        return a % b;
    }

    /**
    * @dev Returns ceil(a / b).
    */
    function ceil(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a / b;
        if(a % b == 0) {
            return c;
        }
        else {
            return c + 1;
        }
    }

    // from DSMath - operations on fixed precision floats

    uint256 constant WAD = 10 ** 18;
    uint256 constant RAY = 10 ** 27;

    function wmul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = add(mul(x, y), WAD / 2) / WAD;
    }
    function rmul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = add(mul(x, y), RAY / 2) / RAY;
    }
    function wdiv(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = add(mul(x, WAD), y / 2) / y;
    }
    function rdiv(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = add(mul(x, RAY), y / 2) / y;
    }
}
// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.







/**
 * @title BaseModule
 * @dev Basic module that contains some methods common to all modules.
 * @author Julien Niset - <[email protected]>
 */
contract BaseModule is Module {

    // Empty calldata
    bytes constant internal EMPTY_BYTES = "";

    // The adddress of the module registry.
    ModuleRegistry internal registry;
    // The address of the Guardian storage
    GuardianStorage internal guardianStorage;

    /**
     * @dev Throws if the wallet is locked.
     */
    modifier onlyWhenUnlocked(BaseWallet _wallet) {
        // solium-disable-next-line security/no-block-members
        require(!guardianStorage.isLocked(_wallet), "BM: wallet must be unlocked");
        _;
    }

    event ModuleCreated(bytes32 name);
    event ModuleInitialised(address wallet);

    constructor(ModuleRegistry _registry, GuardianStorage _guardianStorage, bytes32 _name) public {
        registry = _registry;
        guardianStorage = _guardianStorage;
        emit ModuleCreated(_name);
    }

    /**
     * @dev Throws if the sender is not the target wallet of the call.
     */
    modifier onlyWallet(BaseWallet _wallet) {
        require(msg.sender == address(_wallet), "BM: caller must be wallet");
        _;
    }

    /**
     * @dev Throws if the sender is not the owner of the target wallet or the module itself.
     */
    modifier onlyWalletOwner(BaseWallet _wallet) {
        require(msg.sender == address(this) || isOwner(_wallet, msg.sender), "BM: must be an owner for the wallet");
        _;
    }

    /**
     * @dev Throws if the sender is not the owner of the target wallet.
     */
    modifier strictOnlyWalletOwner(BaseWallet _wallet) {
        require(isOwner(_wallet, msg.sender), "BM: msg.sender must be an owner for the wallet");
        _;
    }

    /**
     * @dev Inits the module for a wallet by logging an event.
     * The method can only be called by the wallet itself.
     * @param _wallet The wallet.
     */
    function init(BaseWallet _wallet) public onlyWallet(_wallet) {
        emit ModuleInitialised(address(_wallet));
    }

    /**
     * @dev Adds a module to a wallet. First checks that the module is registered.
     * @param _wallet The target wallet.
     * @param _module The modules to authorise.
     */
    function addModule(BaseWallet _wallet, Module _module) external strictOnlyWalletOwner(_wallet) {
        require(registry.isRegisteredModule(address(_module)), "BM: module is not registered");
        _wallet.authoriseModule(address(_module), true);
    }

    /**
    * @dev Utility method enbaling anyone to recover ERC20 token sent to the
    * module by mistake and transfer them to the Module Registry.
    * @param _token The token to recover.
    */
    function recoverToken(address _token) external {
        uint total = ERC20(_token).balanceOf(address(this));
        ERC20(_token).transfer(address(registry), total);
    }

    /**
     * @dev Helper method to check if an address is the owner of a target wallet.
     * @param _wallet The target wallet.
     * @param _addr The address.
     */
    function isOwner(BaseWallet _wallet, address _addr) internal view returns (bool) {
        return _wallet.owner() == _addr;
    }

    /**
     * @dev Helper method to invoke a wallet.
     * @param _wallet The target wallet.
     * @param _to The target address for the transaction.
     * @param _value The value of the transaction.
     * @param _data The data of the transaction.
     */
    function invokeWallet(address _wallet, address _to, uint256 _value, bytes memory _data) internal returns (bytes memory _res) {
        bool success;
        // solium-disable-next-line security/no-call-value
        (success, _res) = _wallet.call(abi.encodeWithSignature("invoke(address,uint256,bytes)", _to, _value, _data));
        if (success && _res.length > 0) { //_res is empty if _wallet is an "old" BaseWallet that can't return output values
            (_res) = abi.decode(_res, (bytes));
        } else if (_res.length > 0) {
            // solium-disable-next-line security/no-inline-assembly
            assembly {
                returndatacopy(0, 0, returndatasize)
                revert(0, returndatasize)
            }
        } else if (!success) {
            revert("BM: wallet invoke reverted");
        }
    }
}// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.



library GuardianUtils {

    /**
    * @dev Checks if an address is an account guardian or an account authorised to sign on behalf of a smart-contract guardian
    * given a list of guardians.
    * @param _guardians the list of guardians
    * @param _guardian the address to test
    * @return true and the list of guardians minus the found guardian upon success, false and the original list of guardians if not found.
    */
    function isGuardian(address[] memory _guardians, address _guardian) internal view returns (bool, address[] memory) {
        if (_guardians.length == 0 || _guardian == address(0)) {
            return (false, _guardians);
        }
        bool isFound = false;
        address[] memory updatedGuardians = new address[](_guardians.length - 1);
        uint256 index = 0;
        for (uint256 i = 0; i < _guardians.length; i++) {
            if (!isFound) {
                // check if _guardian is an account guardian
                if (_guardian == _guardians[i]) {
                    isFound = true;
                    continue;
                }
                // check if _guardian is the owner of a smart contract guardian
                if (isContract(_guardians[i]) && isGuardianOwner(_guardians[i], _guardian)) {
                    isFound = true;
                    continue;
                }
            }
            if (index < updatedGuardians.length) {
                updatedGuardians[index] = _guardians[i];
                index++;
            }
        }
        return isFound ? (true, updatedGuardians) : (false, _guardians);
    }

   /**
    * @dev Checks if an address is a contract.
    * @param _addr The address.
    */
    function isContract(address _addr) internal view returns (bool) {
        uint32 size;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            size := extcodesize(_addr)
        }
        return (size > 0);
    }

    /**
    * @dev Checks if an address is the owner of a guardian contract.
    * The method does not revert if the call to the owner() method consumes more then 5000 gas.
    * @param _guardian The guardian contract
    * @param _owner The owner to verify.
    */
    function isGuardianOwner(address _guardian, address _owner) internal view returns (bool) {
        address owner = address(0);
        bytes4 sig = bytes4(keccak256("owner()"));
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr,sig)
            let result := staticcall(5000, _guardian, ptr, 0x20, ptr, 0x20)
            if eq(result, 1) {
                owner := mload(ptr)
            }
        }
        return owner == _owner;
    }
}
// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.




/**
 * @title RelayerModuleV2
 * @dev Base module containing logic to execute transactions signed by eth-less accounts and sent by a relayer.
 * RelayerModuleV2 should ultimately replace RelayerModule and be subclassed by all modules.
 * It is currently only subclassed by RecoveryManager and ApprovedTransfer.
 * @author Julien Niset <[email protected]>, Olivier VDB <[email protected]>
 */
contract RelayerModuleV2 is BaseModule {

    uint256 constant internal BLOCKBOUND = 10000;

    mapping (address => RelayerConfig) public relayer;

    struct RelayerConfig {
        uint256 nonce;
        mapping (bytes32 => bool) executedTx;
    }

    enum OwnerSignature {
        Required,
        Optional,
        Disallowed
    }

    event TransactionExecuted(address indexed wallet, bool indexed success, bytes32 signedHash);

    /**
     * @dev Throws if the call did not go through the execute() method.
     */
    modifier onlyExecute {
        require(msg.sender == address(this), "RM: must be called via execute()");
        _;
    }

    /* ***************** Abstract methods ************************* */

    /**
    * @dev Gets the number of valid signatures that must be provided to execute a
    * specific relayed transaction.
    * @param _wallet The target wallet.
    * @param _data The data of the relayed transaction.
    * @return The number of required signatures.
    */
    function getRequiredSignatures(BaseWallet _wallet, bytes memory _data) public view returns (uint256);

    /**
    * @dev Validates the signatures provided with a relayed transaction.
    * The method MUST return false if one or more signatures are not valid.
    * @param _wallet The target wallet.
    * @param _data The data of the relayed transaction.
    * @param _signHash The signed hash representing the relayed transaction.
    * @param _signatures The signatures as a concatenated byte array.
    * @return A boolean indicating whether the signatures are valid.
    */
    function validateSignatures(
        BaseWallet _wallet,
        bytes memory _data,
        bytes32 _signHash,
        bytes memory _signatures
    )
        internal view returns (bool);

    /* ***************** External methods ************************* */

    /**
    * @dev Executes a relayed transaction.
    * @param _wallet The target wallet.
    * @param _data The data for the relayed transaction
    * @param _nonce The nonce used to prevent replay attacks.
    * @param _signatures The signatures as a concatenated byte array.
    * @param _gasPrice The gas price to use for the gas refund.
    * @param _gasLimit The gas limit to use for the gas refund.
    */
    function execute(
        BaseWallet _wallet,
        bytes calldata _data,
        uint256 _nonce,
        bytes calldata _signatures,
        uint256 _gasPrice,
        uint256 _gasLimit
    )
        external
        returns (bool success)
    {
        uint startGas = gasleft();
        bytes32 signHash = getSignHash(address(this), address(_wallet), 0, _data, _nonce, _gasPrice, _gasLimit);
        require(checkAndUpdateUniqueness(_wallet, _nonce, signHash), "RM: Duplicate request");
        require(verifyData(address(_wallet), _data), "RM: Target of _data != _wallet");
        uint256 requiredSignatures = getRequiredSignatures(_wallet, _data);
        require(requiredSignatures * 65 == _signatures.length, "RM: Wrong number of signatures");
        require(requiredSignatures == 0 || validateSignatures(_wallet, _data, signHash, _signatures), "RM: Invalid signatures");
        // The correctness of the refund is checked on the next line using an `if` instead of a `require`
        // in order to prevent a failing refund from being replayable in the future.
        if (verifyRefund(_wallet, _gasLimit, _gasPrice, requiredSignatures)) {
            // solium-disable-next-line security/no-call-value
            (success,) = address(this).call(_data);
            refund(_wallet, startGas - gasleft(), _gasPrice, _gasLimit, requiredSignatures, msg.sender);
        }
        emit TransactionExecuted(address(_wallet), success, signHash);
    }

    /**
    * @dev Gets the current nonce for a wallet.
    * @param _wallet The target wallet.
    */
    function getNonce(BaseWallet _wallet) external view returns (uint256 nonce) {
        return relayer[address(_wallet)].nonce;
    }

    /* ***************** Internal & Private methods ************************* */

    /**
    * @dev Generates the signed hash of a relayed transaction according to ERC 1077.
    * @param _from The starting address for the relayed transaction (should be the module)
    * @param _to The destination address for the relayed transaction (should be the wallet)
    * @param _value The value for the relayed transaction
    * @param _data The data for the relayed transaction
    * @param _nonce The nonce used to prevent replay attacks.
    * @param _gasPrice The gas price to use for the gas refund.
    * @param _gasLimit The gas limit to use for the gas refund.
    */
    function getSignHash(
        address _from,
        address _to,
        uint256 _value,
        bytes memory _data,
        uint256 _nonce,
        uint256 _gasPrice,
        uint256 _gasLimit
    )
        internal
        pure
        returns (bytes32)
    {
        return keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                keccak256(abi.encodePacked(byte(0x19), byte(0), _from, _to, _value, _data, _nonce, _gasPrice, _gasLimit))
        ));
    }

    /**
    * @dev Checks if the relayed transaction is unique.
    * @param _wallet The target wallet.
    * @param _nonce The nonce
    * @param _signHash The signed hash of the transaction
    */
    function checkAndUpdateUniqueness(BaseWallet _wallet, uint256 _nonce, bytes32 _signHash) internal returns (bool) {
        if (relayer[address(_wallet)].executedTx[_signHash] == true) {
            return false;
        }
        relayer[address(_wallet)].executedTx[_signHash] = true;
        return true;
    }

    /**
    * @dev Checks that a nonce has the correct format and is valid.
    * It must be constructed as nonce = {block number}{timestamp} where each component is 16 bytes.
    * @param _wallet The target wallet.
    * @param _nonce The nonce
    */
    function checkAndUpdateNonce(BaseWallet _wallet, uint256 _nonce) internal returns (bool) {
        if (_nonce <= relayer[address(_wallet)].nonce) {
            return false;
        }
        uint256 nonceBlock = (_nonce & 0xffffffffffffffffffffffffffffffff00000000000000000000000000000000) >> 128;
        if (nonceBlock > block.number + BLOCKBOUND) {
            return false;
        }
        relayer[address(_wallet)].nonce = _nonce;
        return true;
    }

    /**
    * @dev Validates the signatures provided with a relayed transaction.
    * The method MUST throw if one or more signatures are not valid.
    * @param _wallet The target wallet.
    * @param _signHash The signed hash representing the relayed transaction.
    * @param _signatures The signatures as a concatenated byte array.
    * @param _option An enum indicating whether the owner is required, optional or disallowed.
    */
    function validateSignatures(
        BaseWallet _wallet,
        bytes32 _signHash,
        bytes memory _signatures,
        OwnerSignature _option
    )
        internal view returns (bool)
    {
        address lastSigner = address(0);
        address[] memory guardians;
        if (_option != OwnerSignature.Required || _signatures.length > 65) {
            guardians = guardianStorage.getGuardians(_wallet); // guardians are only read if they may be needed
        }
        bool isGuardian;

        for (uint8 i = 0; i < _signatures.length / 65; i++) {
            address signer = recoverSigner(_signHash, _signatures, i);

            if (i == 0) {
                if (_option == OwnerSignature.Required) {
                    // First signer must be owner
                    if (isOwner(_wallet, signer)) {
                        continue;
                    }
                    return false;
                } else if (_option == OwnerSignature.Optional) {
                    // First signer can be owner
                    if (isOwner(_wallet, signer)) {
                        continue;
                    }
                }
            }
            if (signer <= lastSigner) {
                return false; // Signers must be different
            }
            lastSigner = signer;
            (isGuardian, guardians) = GuardianUtils.isGuardian(guardians, signer);
            if (!isGuardian) {
                return false;
            }
        }
        return true;
    }

    /**
    * @dev Recovers the signer at a given position from a list of concatenated signatures.
    * @param _signedHash The signed hash
    * @param _signatures The concatenated signatures.
    * @param _index The index of the signature to recover.
    */
    function recoverSigner(bytes32 _signedHash, bytes memory _signatures, uint _index) internal pure returns (address) {
        uint8 v;
        bytes32 r;
        bytes32 s;
        // we jump 32 (0x20) as the first slot of bytes contains the length
        // we jump 65 (0x41) per signature
        // for v we load 32 bytes ending with v (the first 31 come from s) then apply a mask
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            r := mload(add(_signatures, add(0x20,mul(0x41,_index))))
            s := mload(add(_signatures, add(0x40,mul(0x41,_index))))
            v := and(mload(add(_signatures, add(0x41,mul(0x41,_index)))), 0xff)
        }
        require(v == 27 || v == 28); // solium-disable-line error-reason
        return ecrecover(_signedHash, v, r, s);
    }

    /**
    * @dev Refunds the gas used to the Relayer.
    * For security reasons the default behavior is to not refund calls with 0 or 1 signatures.
    * @param _wallet The target wallet.
    * @param _gasUsed The gas used.
    * @param _gasPrice The gas price for the refund.
    * @param _gasLimit The gas limit for the refund.
    * @param _signatures The number of signatures used in the call.
    * @param _relayer The address of the Relayer.
    */
    function refund(
        BaseWallet _wallet,
        uint _gasUsed,
        uint _gasPrice,
        uint _gasLimit,
        uint _signatures,
        address _relayer
    )
        internal
    {
        uint256 amount = 29292 + _gasUsed; // 21000 (transaction) + 7620 (execution of refund) + 672 to log the event + _gasUsed
        // only refund if gas price not null, more than 1 signatures, gas less than gasLimit
        if (_gasPrice > 0 && _signatures > 1 && amount <= _gasLimit) {
            if (_gasPrice > tx.gasprice) {
                amount = amount * tx.gasprice;
            } else {
                amount = amount * _gasPrice;
            }
            invokeWallet(address(_wallet), _relayer, amount, EMPTY_BYTES);
        }
    }

    /**
    * @dev Returns false if the refund is expected to fail.
    * @param _wallet The target wallet.
    * @param _gasUsed The expected gas used.
    * @param _gasPrice The expected gas price for the refund.
    */
    function verifyRefund(BaseWallet _wallet, uint _gasUsed, uint _gasPrice, uint _signatures) internal view returns (bool) {
        if (_gasPrice > 0 &&
            _signatures > 1 &&
            (address(_wallet).balance < _gasUsed * _gasPrice || _wallet.authorised(address(this)) == false)) {
            return false;
        }
        return true;
    }

    /**
    * @dev Parses the data to extract the method signature.
    */
    function functionPrefix(bytes memory _data) internal pure returns (bytes4 prefix) {
        require(_data.length >= 4, "RM: Invalid functionPrefix");
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            prefix := mload(add(_data, 0x20))
        }
    }

   /**
    * @dev Checks that the wallet address provided as the first parameter of the relayed data is the same
    * as the wallet passed as the input of the execute() method.
    @return false if the addresses are different.
    */
    function verifyData(address _wallet, bytes memory _data) private pure returns (bool) {
        require(_data.length >= 36, "RM: Invalid dataWallet");
        address dataWallet;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            //_data = {length:32}{sig:4}{_wallet:32}{...}
            dataWallet := mload(add(_data, 0x24))
        }
        return dataWallet == _wallet;
    }
}// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.





/**
 * @title RecoveryManager
 * @dev Module to manage the recovery of a wallet owner.
 * Recovery is executed by a consensus of the wallet's guardians and takes
 * 24 hours before it can be finalized. Once finalised the ownership of the wallet
 * is transfered to a new address.
 * @author Julien Niset - <[email protected]>
 * @author Olivier Van Den Biggelaar - <[email protected]>
 */
contract RecoveryManager is BaseModule, RelayerModuleV2 {

    bytes32 constant NAME = "RecoveryManager";

    bytes4 constant internal EXECUTE_RECOVERY_PREFIX = bytes4(keccak256("executeRecovery(address,address)"));
    bytes4 constant internal FINALIZE_RECOVERY_PREFIX = bytes4(keccak256("finalizeRecovery(address)"));
    bytes4 constant internal CANCEL_RECOVERY_PREFIX = bytes4(keccak256("cancelRecovery(address)"));
    bytes4 constant internal TRANSFER_OWNERSHIP_PREFIX = bytes4(keccak256("transferOwnership(address,address)"));

    struct RecoveryConfig {
        address recovery;
        uint64 executeAfter;
        uint32 guardianCount;
    }

    // Wallet specific storage
    mapping (address => RecoveryConfig) internal recoveryConfigs;

    // Recovery period
    uint256 public recoveryPeriod;
    // Lock period
    uint256 public lockPeriod;
    // Security period used for (non-recovery) ownership transfer
    uint256 public securityPeriod;
    // Security window used for (non-recovery) ownership transfer
    uint256 public securityWindow;
    // Location of the Guardian storage
    GuardianStorage public guardianStorage;

    // *************** Events *************************** //

    event RecoveryExecuted(address indexed wallet, address indexed _recovery, uint64 executeAfter);
    event RecoveryFinalized(address indexed wallet, address indexed _recovery);
    event RecoveryCanceled(address indexed wallet, address indexed _recovery);
    event OwnershipTransfered(address indexed wallet, address indexed _newOwner);

    // *************** Modifiers ************************ //

    /**
     * @dev Throws if there is no ongoing recovery procedure.
     */
    modifier onlyWhenRecovery(BaseWallet _wallet) {
        require(recoveryConfigs[address(_wallet)].executeAfter > 0, "RM: there must be an ongoing recovery");
        _;
    }

    /**
     * @dev Throws if there is an ongoing recovery procedure.
     */
    modifier notWhenRecovery(BaseWallet _wallet) {
        require(recoveryConfigs[address(_wallet)].executeAfter == 0, "RM: there cannot be an ongoing recovery");
        _;
    }

    // *************** Constructor ************************ //

    constructor(
        ModuleRegistry _registry,
        GuardianStorage _guardianStorage,
        uint256 _recoveryPeriod,
        uint256 _lockPeriod,
        uint256 _securityPeriod,
        uint256 _securityWindow
    )
        BaseModule(_registry, _guardianStorage, NAME)
        public
    {
        require(_lockPeriod >= _recoveryPeriod && _recoveryPeriod >= _securityPeriod + _securityWindow, "RM: insecure security periods");
        guardianStorage = _guardianStorage;
        recoveryPeriod = _recoveryPeriod;
        lockPeriod = _lockPeriod;
        securityPeriod = _securityPeriod;
        securityWindow = _securityWindow;
    }

    // *************** External functions ************************ //

    /**
     * @dev Lets the guardians start the execution of the recovery procedure.
     * Once triggered the recovery is pending for the security period before it can
     * be finalised.
     * Must be confirmed by N guardians, where N = ((Nb Guardian + 1) / 2).
     * @param _wallet The target wallet.
     * @param _recovery The address to which ownership should be transferred.
     */
    function executeRecovery(BaseWallet _wallet, address _recovery) external onlyExecute notWhenRecovery(_wallet) {
        require(_recovery != address(0), "RM: recovery address cannot be null");
        RecoveryConfig storage config = recoveryConfigs[address(_wallet)];
        config.recovery = _recovery;
        config.executeAfter = uint64(now + recoveryPeriod);
        config.guardianCount = uint32(guardianStorage.guardianCount(_wallet));
        guardianStorage.setLock(_wallet, now + lockPeriod);
        emit RecoveryExecuted(address(_wallet), _recovery, config.executeAfter);
    }

    /**
     * @dev Finalizes an ongoing recovery procedure if the security period is over.
     * The method is public and callable by anyone to enable orchestration.
     * @param _wallet The target wallet.
     */
    function finalizeRecovery(BaseWallet _wallet) external onlyWhenRecovery(_wallet) {
        RecoveryConfig storage config = recoveryConfigs[address(_wallet)];
        require(uint64(now) > config.executeAfter, "RM: the recovery period is not over yet");
        _wallet.setOwner(config.recovery);
        emit RecoveryFinalized(address(_wallet), config.recovery);
        guardianStorage.setLock(_wallet, 0);
        delete recoveryConfigs[address(_wallet)];
    }

    /**
     * @dev Lets the owner cancel an ongoing recovery procedure.
     * Must be confirmed by N guardians, where N = ((Nb Guardian + 1) / 2) - 1.
     * @param _wallet The target wallet.
     */
    function cancelRecovery(BaseWallet _wallet) external onlyExecute onlyWhenRecovery(_wallet) {
        RecoveryConfig storage config = recoveryConfigs[address(_wallet)];
        emit RecoveryCanceled(address(_wallet), config.recovery);
        guardianStorage.setLock(_wallet, 0);
        delete recoveryConfigs[address(_wallet)];
    }

    /**
     * @dev Lets the owner start the execution of the ownership transfer procedure.
     * Once triggered the ownership transfer is pending for the security period before it can
     * be finalised.
     * @param _wallet The target wallet.
     * @param _newOwner The address to which ownership should be transferred.
     */
    function transferOwnership(BaseWallet _wallet, address _newOwner) external onlyExecute onlyWhenUnlocked(_wallet) {
        require(_newOwner != address(0), "RM: new owner address cannot be null");
        _wallet.setOwner(_newOwner);

        emit OwnershipTransfered(address(_wallet), _newOwner);
    }

    /**
    * @dev Gets the details of the ongoing recovery procedure if any.
    * @param _wallet The target wallet.
    */
    function getRecovery(BaseWallet _wallet) public view returns(address _address, uint64 _executeAfter, uint32 _guardianCount) {
        RecoveryConfig storage config = recoveryConfigs[address(_wallet)];
        return (config.recovery, config.executeAfter, config.guardianCount);
    }

    // *************** Implementation of RelayerModule methods ********************* //

    function validateSignatures(
        BaseWallet _wallet,
        bytes memory _data,
        bytes32 _signHash,
        bytes memory _signatures
    )
        internal view returns (bool)
    {
        bytes4 functionSignature = functionPrefix(_data);
        if (functionSignature == TRANSFER_OWNERSHIP_PREFIX) {
            return validateSignatures(_wallet, _signHash, _signatures, OwnerSignature.Required);
        } else if (functionSignature == EXECUTE_RECOVERY_PREFIX) {
            return validateSignatures(_wallet, _signHash, _signatures, OwnerSignature.Disallowed);
        } else if (functionSignature == CANCEL_RECOVERY_PREFIX) {
            return validateSignatures(_wallet, _signHash, _signatures, OwnerSignature.Optional);
        }
    }

    function getRequiredSignatures(BaseWallet _wallet, bytes memory _data) public view returns (uint256) {
        bytes4 methodId = functionPrefix(_data);
        if (methodId == EXECUTE_RECOVERY_PREFIX) {
            return SafeMath.ceil(guardianStorage.guardianCount(_wallet), 2);
        }
        if (methodId == FINALIZE_RECOVERY_PREFIX) {
            return 0;
        }
        if (methodId == CANCEL_RECOVERY_PREFIX) {
            return SafeMath.ceil(recoveryConfigs[address(_wallet)].guardianCount + 1, 2);
        }
        if (methodId == TRANSFER_OWNERSHIP_PREFIX) {
            uint majorityGuardians = SafeMath.ceil(guardianStorage.guardianCount(_wallet), 2);
            return SafeMath.add(majorityGuardians, 1);
        }
        revert("RM: unknown method");
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"securityWindow","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"recoveryPeriod","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"}],"name":"init","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_wallet","type":"address"}],"name":"getNonce","outputs":[{"name":"nonce","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"}],"name":"finalizeRecovery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_wallet","type":"address"},{"name":"_data","type":"bytes"}],"name":"getRequiredSignatures","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lockPeriod","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"},{"name":"_module","type":"address"}],"name":"addModule","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"},{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"securityPeriod","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_wallet","type":"address"}],"name":"getRecovery","outputs":[{"name":"_address","type":"address"},{"name":"_executeAfter","type":"uint64"},{"name":"_guardianCount","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"recoverToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"},{"name":"_data","type":"bytes"},{"name":"_nonce","type":"uint256"},{"name":"_signatures","type":"bytes"},{"name":"_gasPrice","type":"uint256"},{"name":"_gasLimit","type":"uint256"}],"name":"execute","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"},{"name":"_recovery","type":"address"}],"name":"executeRecovery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"}],"name":"cancelRecovery","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"relayer","outputs":[{"name":"nonce","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"guardianStorage","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_registry","type":"address"},{"name":"_guardianStorage","type":"address"},{"name":"_recoveryPeriod","type":"uint256"},{"name":"_lockPeriod","type":"uint256"},{"name":"_securityPeriod","type":"uint256"},{"name":"_securityWindow","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"wallet","type":"address"},{"indexed":true,"name":"_recovery","type":"address"},{"indexed":false,"name":"executeAfter","type":"uint64"}],"name":"RecoveryExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"wallet","type":"address"},{"indexed":true,"name":"_recovery","type":"address"}],"name":"RecoveryFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"wallet","type":"address"},{"indexed":true,"name":"_recovery","type":"address"}],"name":"RecoveryCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"wallet","type":"address"},{"indexed":true,"name":"_newOwner","type":"address"}],"name":"OwnershipTransfered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"wallet","type":"address"},{"indexed":true,"name":"success","type":"bool"},{"indexed":false,"name":"signedHash","type":"bytes32"}],"name":"TransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"name","type":"bytes32"}],"name":"ModuleCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"wallet","type":"address"}],"name":"ModuleInitialised","type":"event"}]

608060405234801561001057600080fd5b5060405160c080612a89833981018060405260c081101561003057600080fd5b5080516020808301516040808501516060860151608087015160a09097015160008054600160a060020a03808a16600160a060020a031992831617909255600180549288169290911691909117905583517f5265636f766572794d616e6167657200000000000000000000000000000000008082529451979895979396929594919389938993927f3019c8fc80239e3dff8f781212ae2004839c2cb61d6c70acd279ac65392145df929081900390910190a15050508383101580156100f757508082018410155b151561016457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f524d3a20696e73656375726520736563757269747920706572696f6473000000604482015290519081900360640190fd5b60088054600160a060020a031916600160a060020a039690961695909517909455600492909255600555600655600755506128e5806101a46000396000f3fe608060405234801561001057600080fd5b5060043610610137576000357c0100000000000000000000000000000000000000000000000000000000900480636d435421116100cf578063aacaaf881161009e578063c90db44711610083578063c90db44714610495578063c9b5ef8e146104bb578063d89784fc146104e157610137565b8063aacaaf8814610377578063b0ba4da01461046757610137565b80636d435421146102be5780637cc0d906146102ec5780639769c3fe146102f45780639be65a601461035157610137565b8063315a7af31161010b578063315a7af3146101ac5780633b73d67f146101d25780633fd8b02f146102885780635a1db8c41461029057610137565b80626fda351461013c57806316c3e22f1461015657806319ab453c1461015e5780632d0335ab14610186575b600080fd5b610144610505565b60408051918252519081900360200190f35b61014461050b565b6101846004803603602081101561017457600080fd5b5035600160a060020a0316610511565b005b6101446004803603602081101561019c57600080fd5b5035600160a060020a03166105b7565b610184600480360360208110156101c257600080fd5b5035600160a060020a03166105d2565b610144600480360360408110156101e857600080fd5b600160a060020a03823516919081019060408101602082013564010000000081111561021357600080fd5b82018360208201111561022557600080fd5b8035906020019184600183028401116401000000008311171561024757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610835945050505050565b610144610b8d565b610184600480360360408110156102a657600080fd5b50600160a060020a0381358116916020013516610b93565b610184600480360360408110156102d457600080fd5b50600160a060020a0381358116916020013516610d58565b610144610fbb565b61031a6004803603602081101561030a57600080fd5b5035600160a060020a0316610fc1565b60408051600160a060020a03909416845267ffffffffffffffff909216602084015263ffffffff1682820152519081900360600190f35b6101846004803603602081101561036757600080fd5b5035600160a060020a031661102b565b610453600480360360c081101561038d57600080fd5b600160a060020a0382351691908101906040810160208201356401000000008111156103b857600080fd5b8201836020820111156103ca57600080fd5b803590602001918460018302840111640100000000831117156103ec57600080fd5b9193909282359260408101906020013564010000000081111561040e57600080fd5b82018360208201111561042057600080fd5b8035906020019184600183028401116401000000008311171561044257600080fd5b91935091508035906020013561115e565b604080519115158252519081900360200190f35b6101846004803603604081101561047d57600080fd5b50600160a060020a0381358116916020013516611506565b610184600480360360208110156104ab57600080fd5b5035600160a060020a0316611898565b610144600480360360208110156104d157600080fd5b5035600160a060020a0316611a2b565b6104e9611a3d565b60408051600160a060020a039092168252519081900360200190f35b60075481565b60045481565b8033600160a060020a03821614610577576040805160008051602061282c833981519152815260206004820152601960248201527f424d3a2063616c6c6572206d7573742062652077616c6c657400000000000000604482015290519081900360640190fd5b60408051600160a060020a038416815290517f9fcca3f73f85397e2bf03647abf243c20b753bd54463ff3cae74de2971c112fa9181900360200190a15050565b600160a060020a031660009081526002602052604090205490565b600160a060020a03811660009081526003602052604081205482917401000000000000000000000000000000000000000090910467ffffffffffffffff16116106545760405160008051602061282c83398151915281526004018080602001828103825260258152602001806127e56025913960400191505060405180910390fd5b600160a060020a0382166000908152600360205260409020805467ffffffffffffffff74010000000000000000000000000000000000000000909104811642909116116106da5760405160008051602061282c83398151915281526004018080602001828103825260278152602001806127be6027913960400191505060405180910390fd5b8054604080517f13af4035000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201529051918516916313af40359160248082019260009290919082900301818387803b15801561074057600080fd5b505af1158015610754573d6000803e3d6000fd5b50508254604051600160a060020a03918216935090861691507fd8667de85dae2d56d76e700d16de53d21ac2ce4d5549cb0bf51c55fdc37f0bc190600090a3600854604080517fb0fc29e6000000000000000000000000000000000000000000000000000000008152600160a060020a038681166004830152600060248301819052925193169263b0fc29e69260448084019391929182900301818387803b1580156107ff57600080fd5b505af1158015610813573d6000803e3d6000fd5b505050600160a060020a03909316600090815260036020526040812055505050565b60008061084183611a4c565b604080517f657865637574655265636f7665727928616464726573732c6164647265737329815290519081900360200190209091507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff198083169116141561094557600854604080517f5040fb76000000000000000000000000000000000000000000000000000000008152600160a060020a038781166004830152915161093d939290921691635040fb7691602480820192602092909190829003018186803b15801561090a57600080fd5b505afa15801561091e573d6000803e3d6000fd5b505050506040513d602081101561093457600080fd5b50516002611ab7565b915050610b87565b604080517f66696e616c697a655265636f7665727928616464726573732900000000000000815290519081900360190190207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19828116911614156109aa576000915050610b87565b604080517f63616e63656c5265636f76657279286164647265737329000000000000000000815290519081900360170190207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1982811691161415610a5557600160a060020a03841660009081526003602052604090205461093d90600163ffffffff7c0100000000000000000000000000000000000000000000000000000000909204821601166002611ab7565b60405180602261280a8239602201905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610b3257600854604080517f5040fb76000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301529151600093610b1c931691635040fb76916024808301926020929190829003018186803b15801561090a57600080fd5b9050610b29816001611aeb565b92505050610b87565b6040805160008051602061282c833981519152815260206004820152601260248201527f524d3a20756e6b6e6f776e206d6574686f640000000000000000000000000000604482015290519081900360640190fd5b92915050565b60055481565b81610b9e8133611b04565b1515610be35760405160008051602061282c833981519152815260040180806020018281038252602e815260200180612790602e913960400191505060405180910390fd5b600054604080517f0bcd4ebb000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015291519190921691630bcd4ebb916024808301926020929190829003018186803b158015610c4957600080fd5b505afa158015610c5d573d6000803e3d6000fd5b505050506040513d6020811015610c7357600080fd5b50511515610cd0576040805160008051602061282c833981519152815260206004820152601c60248201527f424d3a206d6f64756c65206973206e6f74207265676973746572656400000000604482015290519081900360640190fd5b604080517f1f17732d000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015260016024830152915191851691631f17732d9160448082019260009290919082900301818387803b158015610d3b57600080fd5b505af1158015610d4f573d6000803e3d6000fd5b50505050505050565b333014610db4576040805160008051602061282c833981519152815260206004820181905260248201527f524d3a206d7573742062652063616c6c65642076696120657865637574652829604482015290519081900360640190fd5b600154604080517f4a4fbeec000000000000000000000000000000000000000000000000000000008152600160a060020a038086166004830152915185939290921691634a4fbeec91602480820192602092909190829003018186803b158015610e1d57600080fd5b505afa158015610e31573d6000803e3d6000fd5b505050506040513d6020811015610e4757600080fd5b505115610ea3576040805160008051602061282c833981519152815260206004820152601b60248201527f424d3a2077616c6c6574206d75737420626520756e6c6f636b65640000000000604482015290519081900360640190fd5b600160a060020a0382161515610ef25760405160008051602061282c833981519152815260040180806020018281038252602481526020018061284c6024913960400191505060405180910390fd5b82600160a060020a03166313af4035836040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050600060405180830381600087803b158015610f6657600080fd5b505af1158015610f7a573d6000803e3d6000fd5b5050604051600160a060020a038086169350861691507f0d18b5fd22306e373229b9439188228edca81207d1667f604daf6cef8aa3ee6790600090a3505050565b60065481565b600160a060020a039081166000908152600360205260409020549081169174010000000000000000000000000000000000000000820467ffffffffffffffff16917c0100000000000000000000000000000000000000000000000000000000900463ffffffff1690565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600091600160a060020a038416916370a0823191602480820192602092909190829003018186803b15801561108e57600080fd5b505afa1580156110a2573d6000803e3d6000fd5b505050506040513d60208110156110b857600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b15801561112e57600080fd5b505af1158015611142573d6000803e3d6000fd5b505050506040513d602081101561115857600080fd5b50505050565b6000805a905060006111ae308c60008d8d8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92508c91508b9050611ba2565b90506111bb8b8983611ce5565b1515611216576040805160008051602061282c833981519152815260206004820152601560248201527f524d3a204475706c696361746520726571756573740000000000000000000000604482015290519081900360640190fd5b6112568b8b8b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611d5a92505050565b15156112b1576040805160008051602061282c833981519152815260206004820152601e60248201527f524d3a20546172676574206f66205f6461746120213d205f77616c6c65740000604482015290519081900360640190fd5b60006112f38c8c8c8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061083592505050565b9050604181028714611354576040805160008051602061282c833981519152815260206004820152601e60248201527f524d3a2057726f6e67206e756d626572206f66207369676e6174757265730000604482015290519081900360640190fd5b8015806113d257506113d28c8c8c8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8f018190048102820181019092528d815288935091508d908d9081908401838280828437600092019190915250611dd392505050565b151561142d576040805160008051602061282c833981519152815260206004820152601660248201527f524d3a20496e76616c6964207369676e61747572657300000000000000000000604482015290519081900360640190fd5b6114398c868884611f2e565b156114b55730600160a060020a03168b8b604051808383808284376040519201945060009350909150508083038183865af19150503d806000811461149a576040519150601f19603f3d011682016040523d82523d6000602084013e61149f565b606091505b5050809450506114b58c5a850388888533612000565b60408051838152905185151591600160a060020a038f16917f6bb0b384ce772133df63560651bc8c727c53306cec1d51e2cbf8ea35fb8f2ec19181900360200190a350505098975050505050505050565b333014611562576040805160008051602061282c833981519152815260206004820181905260248201527f524d3a206d7573742062652063616c6c65642076696120657865637574652829604482015290519081900360640190fd5b600160a060020a038216600090815260036020526040902054829074010000000000000000000000000000000000000000900467ffffffffffffffff16156115e35760405160008051602061282c83398151915281526004018080602001828103825260278152602001806128706027913960400191505060405180910390fd5b600160a060020a03821615156116325760405160008051602061282c83398151915281526004018080602001828103825260238152602001806128976023913960400191505060405180910390fd5b600160a060020a0380841660008181526003602090815260409182902080548786167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116178082556004805467ffffffffffffffff429091011674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff90921691909117825560085484517f5040fb7600000000000000000000000000000000000000000000000000000000815291820195909552925190949390931692635040fb76926024808201939291829003018186803b15801561172957600080fd5b505afa15801561173d573d6000803e3d6000fd5b505050506040513d602081101561175357600080fd5b5051815463ffffffff9091167c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff909116178155600854600554604080517fb0fc29e6000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301524290930160248201529051919092169163b0fc29e691604480830192600092919082900301818387803b15801561181457600080fd5b505af1158015611828573d6000803e3d6000fd5b50508254604080517401000000000000000000000000000000000000000090920467ffffffffffffffff16825251600160a060020a038781169450881692507f5f59bfd9baba55ae30bb440923cbbe30987d50e12a4e9134ffac3fd9afc3526d916020908290030190a350505050565b3330146118f4576040805160008051602061282c833981519152815260206004820181905260248201527f524d3a206d7573742062652063616c6c65642076696120657865637574652829604482015290519081900360640190fd5b600160a060020a03811660009081526003602052604081205482917401000000000000000000000000000000000000000090910467ffffffffffffffff16116119765760405160008051602061282c83398151915281526004018080602001828103825260258152602001806127e56025913960400191505060405180910390fd5b600160a060020a038083166000818152600360205260408082208054915190949190911692917fc45926607303da71dbeffd2ed5c6b00f581982586b697655d19ae4c4d558f25991a3600854604080517fb0fc29e6000000000000000000000000000000000000000000000000000000008152600160a060020a038681166004830152600060248301819052925193169263b0fc29e69260448084019391929182900301818387803b1580156107ff57600080fd5b60026020526000908152604090205481565b600854600160a060020a031681565b60006004825110151515611aaf576040805160008051602061282c833981519152815260206004820152601a60248201527f524d3a20496e76616c69642066756e6374696f6e507265666978000000000000604482015290519081900360640190fd5b506020015190565b6000808284811515611ac557fe5b0490508284811515611ad357fe5b061515611ae1579050610b87565b6001019050610b87565b600082820183811015611afd57600080fd5b9392505050565b600081600160a060020a031683600160a060020a0316638da5cb5b6040518163ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040160206040518083038186803b158015611b6557600080fd5b505afa158015611b79573d6000803e3d6000fd5b505050506040513d6020811015611b8f57600080fd5b5051600160a060020a0316149392505050565b6040517f190000000000000000000000000000000000000000000000000000000000000060208083018281526000602185018190526c01000000000000000000000000600160a060020a03808e16820260228801528c16026036860152604a85018a90528851909485938d938d938d938d938d938d938d939192606a909201918701908083835b60208310611c485780518252601f199092019160209182019101611c29565b51815160209384036101000a600019018019909216911617905292019586525084810193909352506040808401919091528051808403820181526060840182528051908301207f19457468657265756d205369676e6564204d6573736167653a0a3332000000006080850152609c808501919091528151808503909101815260bc909301905281519101209e9d5050505050505050505050505050565b600160a060020a0383166000908152600260209081526040808320848452600190810190925282205460ff1615151415611d2157506000611afd565b50600160a060020a0392909216600090815260026020908152604080832094835260019485019091529020805460ff1916831790555090565b60006024825110151515611dbd576040805160008051602061282c833981519152815260206004820152601660248201527f524d3a20496e76616c6964206461746157616c6c657400000000000000000000604482015290519081900360640190fd5b5060240151600160a060020a0391821691161490565b600080611ddf85611a4c565b9050604051808061280a60229139602201905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611e5457611e4c868585600061205e565b915050611f26565b604080517f657865637574655265636f7665727928616464726573732c6164647265737329815290519081900360200190207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1982811691161415611ebc57611e4c868585600261205e565b604080517f63616e63656c5265636f76657279286164647265737329000000000000000000815290519081900360170190207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1982811691161415611f2457611e4c868585600161205e565b505b949350505050565b60008083118015611f3f5750600182115b8015611fe8575082840285600160a060020a0316311080611fe85750604080517fd6eb1bbf0000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a0387169163d6eb1bbf916024808301926020929190829003018186803b158015611fba57600080fd5b505afa158015611fce573d6000803e3d6000fd5b505050506040513d6020811015611fe457600080fd5b5051155b15611ff557506000611f26565b506001949350505050565b61726c85016000851180156120155750600183115b80156120215750838111155b15610d4f573a851115612035573a02612038565b84025b6120548783836020604051908101604052806000815250612267565b5050505050505050565b60008060608184600281111561207057fe5b14158061207e575060418551115b1561217757600154604080517ff18858ab000000000000000000000000000000000000000000000000000000008152600160a060020a038a811660048301529151919092169163f18858ab916024808301926000929190829003018186803b1580156120e957600080fd5b505afa1580156120fd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561212657600080fd5b81019080805164010000000081111561213e57600080fd5b8201602081018481111561215157600080fd5b815185602082028301116401000000008211171561216e57600080fd5b50909450505050505b6000805b8651604190048160ff16101561225857600061219b89898460ff166124e6565b905060ff821615156122075760008760028111156121b557fe5b14156121de576121c58a82611b04565b156121d05750612250565b600095505050505050611f26565b60018760028111156121ec57fe5b1415612207576121fc8a82611b04565b156122075750612250565b600160a060020a038086169082161161222857600095505050505050611f26565b8094506122358482612590565b9450925082151561224e57600095505050505050611f26565b505b60010161217b565b50600198975050505050505050565b6060600085600160a060020a03168585856040516024018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156122d65781810151838201526020016122be565b50505050905090810190601f1680156123035780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8f6f033200000000000000000000000000000000000000000000000000000000178152905182519297509550859450925090508083835b6020831061238f5780518252601f199092019160209182019101612370565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146123f1576040519150601f19603f3d011682016040523d82523d6000602084013e6123f6565b606091505b5092509050808015612409575060008251115b156124765781806020019051602081101561242357600080fd5b81019080805164010000000081111561243b57600080fd5b8201602081018481111561244e57600080fd5b815164010000000081118282018710171561246857600080fd5b50909550611f249350505050565b60008251111561248a573d6000803e3d6000fd5b801515611f24576040805160008051602061282c833981519152815260206004820152601a60248201527f424d3a2077616c6c657420696e766f6b65207265766572746564000000000000604482015290519081900360640190fd5b6041808202830160208101516040820151919092015160009260ff9190911691601b83148061251857508260ff16601c145b151561252357600080fd5b604080516000815260208082018084528a905260ff8616828401526060820185905260808201849052915160019260a0808401939192601f1981019281900390910190855afa15801561257a573d6000803e3d6000fd5b5050604051601f19015198975050505050505050565b600060608351600014806125ab5750600160a060020a038316155b156125bb57506000905082612706565b6000809050606060018651036040519080825280602002602001820160405280156125f0578160200160208202803883390190505b5090506000805b87518110156126ec5783151561269757878181518110151561261557fe5b90602001906020020151600160a060020a031687600160a060020a0316141561264157600193506126e4565b612661888281518110151561265257fe5b9060200190602002015161270d565b80156126895750612689888281518110151561267957fe5b906020019060200201518861271b565b1561269757600193506126e4565b82518210156126e45787818151811015156126ae57fe5b9060200190602002015183838151811015156126c657fe5b600160a060020a039092166020928302909101909101526001909101905b6001016125f7565b50826126fa576000876126fe565b6001825b945094505050505b9250929050565b6000903b63ffffffff161190565b604080517f6f776e657228290000000000000000000000000000000000000000000000000081529051908190036007018120808252600091829190602081818189611388fa600181141561276e57815193505b505083600160a060020a031682600160a060020a031614925050509291505056fe424d3a206d73672e73656e646572206d75737420626520616e206f776e657220666f72207468652077616c6c6574524d3a20746865207265636f7665727920706572696f64206973206e6f74206f76657220796574524d3a207468657265206d75737420626520616e206f6e676f696e67207265636f766572797472616e736665724f776e65727368697028616464726573732c616464726573732908c379a000000000000000000000000000000000000000000000000000000000524d3a206e6577206f776e657220616464726573732063616e6e6f74206265206e756c6c524d3a2074686572652063616e6e6f7420626520616e206f6e676f696e67207265636f76657279524d3a207265636f7665727920616464726573732063616e6e6f74206265206e756c6ca165627a7a723058207ffebfeb8adae068b4c006635205d99ac9c8ad08cd223d7dd735cd797b30f9d80029000000000000000000000000c17d432bd8e8850fd7b32b0270f5afac65db010500000000000000000000000044da3a8051ba88eab0440db3779cab9d679ae76f000000000000000000000000000000000000000000000000000000000001fa4000000000000000000000000000000000000000000000000000000000000697800000000000000000000000000000000000000000000000000000000000015180000000000000000000000000000000000000000000000000000000000000a8c0

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000c17d432bd8e8850fd7b32b0270f5afac65db010500000000000000000000000044da3a8051ba88eab0440db3779cab9d679ae76f000000000000000000000000000000000000000000000000000000000001fa4000000000000000000000000000000000000000000000000000000000000697800000000000000000000000000000000000000000000000000000000000015180000000000000000000000000000000000000000000000000000000000000a8c0

-----Decoded View---------------
Arg [0] : _registry (address): 0xc17D432Bd8e8850Fd7b32B0270f5AfAc65DB0105
Arg [1] : _guardianStorage (address): 0x44DA3A8051bA88EAB0440DB3779cAB9D679ae76f
Arg [2] : _recoveryPeriod (uint256): 129600
Arg [3] : _lockPeriod (uint256): 432000
Arg [4] : _securityPeriod (uint256): 86400
Arg [5] : _securityWindow (uint256): 43200

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000c17d432bd8e8850fd7b32b0270f5afac65db0105
Arg [1] : 00000000000000000000000044da3a8051ba88eab0440db3779cab9d679ae76f
Arg [2] : 000000000000000000000000000000000000000000000000000000000001fa40
Arg [3] : 0000000000000000000000000000000000000000000000000000000000069780
Arg [4] : 0000000000000000000000000000000000000000000000000000000000015180
Arg [5] : 000000000000000000000000000000000000000000000000000000000000a8c0


Deployed ByteCode Sourcemap

50840:8010:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50840:8010:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51898:29;;;:::i;:::-;;;;;;;;;;;;;;;;51640;;;:::i;30059:120::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30059:120:0;-1:-1:-1;;;;;30059:120:0;;:::i;:::-;;41070:133;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41070:133:0;-1:-1:-1;;;;;41070:133:0;;:::i;55069:470::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55069:470:0;-1:-1:-1;;;;;55069:470:0;;:::i;58051:796::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;58051:796:0;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;58051:796:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;58051:796:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;58051:796:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;58051:796:0;;-1:-1:-1;58051:796:0;;-1:-1:-1;;;;;58051:796:0:i;51696:25::-;;;:::i;30380:258::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30380:258:0;;;;;;;;;;:::i;56442:308::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;56442:308:0;;;;;;;;;;:::i;51795:29::-;;;:::i;56887:286::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;56887:286:0;-1:-1:-1;;;;;56887:286:0;;:::i;:::-;;;;-1:-1:-1;;;;;56887:286:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30851:176;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30851:176:0;-1:-1:-1;;;;;30851:176:0;;:::i;39470:1485::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;39470:1485:0;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;39470:1485:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39470:1485:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;39470:1485:0;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;39470:1485:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39470:1485:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;39470:1485:0;;-1:-1:-1;39470:1485:0;-1:-1:-1;39470:1485:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;54241:598;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;54241:598:0;;;;;;;;;;:::i;55754:339::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55754:339:0;-1:-1:-1;;;;;55754:339:0;;:::i;37235:49::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37235:49:0;-1:-1:-1;;;;;37235:49:0;;:::i;51975:38::-;;;:::i;:::-;;;;-1:-1:-1;;;;;51975:38:0;;;;;;;;;;;;;;51898:29;;;;:::o;51640:::-;;;;:::o;30059:120::-;30111:7;29223:10;-1:-1:-1;;;;;29223:30:0;;;29215:68;;;;;-1:-1:-1;;;;;;;;;;;29215:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30136:35;;;-1:-1:-1;;;;;30136:35:0;;;;;;;;;;;;;;;30059:120;;:::o;41070:133::-;-1:-1:-1;;;;;41164:25:0;41131:13;41164:25;;;:7;:25;;;;;:31;;41070:133::o;55069:470::-;-1:-1:-1;;;;;52643:33:0;;52692:1;52643:33;;;:15;:33;;;;;:46;:33;;:46;;;;;;:50;52635:100;;;;-1:-1:-1;;;;;;;;;;;52635:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55193:33:0;;55161:29;55193:33;;;:15;:33;;;;;55259:19;;;;;;;;;55252:3;55245:33;;;;55237:85;;;;-1:-1:-1;;;;;;;;;;;55237:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55350:15;;55333:33;;;;;;-1:-1:-1;;;;;55350:15:0;;;55333:33;;;;;;:16;;;;;;:33;;;;;55350:15;;55333:33;;;;;;;;55350:15;55333:16;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;55333:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;55418:15:0;;55382:52;;-1:-1:-1;;;;;55418:15:0;;;;-1:-1:-1;55382:52:0;;;;-1:-1:-1;55382:52:0;;55418:15;;55382:52;55445:15;;:35;;;;;;-1:-1:-1;;;;;55445:35:0;;;;;;;:15;:35;;;;;;;;:15;;;:23;;:35;;;;;:15;;:35;;;;;;:15;;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;55445:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;;;;;;;55498:33:0;;;;;;;:15;:33;;;;;55491:40;-1:-1:-1;;;55069:470:0:o;58051:796::-;58143:7;58163:15;58181:21;58196:5;58181:14;:21::i;:::-;51013:45;;;;;;;;;;;;;;;;58163:39;;-1:-1:-1;;;58217:35:0;;;;;;58213:131;;;58290:15;;:38;;;;;;-1:-1:-1;;;;;58290:38:0;;;;;;;;;58276:56;;58290:15;;;;;:29;;:38;;;;;;;;;;;;;;;:15;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;58290:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;58290:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;58290:38:0;58330:1;58276:13;:56::i;:::-;58269:63;;;;;58213:131;51125:38;;;;;;;;;;;;;;;;-1:-1:-1;;58358:36:0;;;;;;58354:77;;;58418:1;58411:8;;;;;58354:77;51228:36;;;;;;;;;;;;;;;;-1:-1:-1;;58445:34:0;;;;;;58441:143;;;-1:-1:-1;;;;;58517:33:0;;;;;;:15;:33;;;;;:47;58503:69;;58567:1;58517:47;;;;;;;:51;58503:69;58570:1;58503:13;:69::i;58441:143::-;51332:47;;;;;;;;;;;;;;;;;;58598:37;;;:8;:37;;;;58594:207;;;58691:15;;:38;;;;;;-1:-1:-1;;;;;58691:38:0;;;;;;;;;58652:22;;58677:56;;58691:15;;:29;;:38;;;;;;;;;;;;;;:15;:38;;;5:2:-1;;;;30:1;27;20:12;58677:56:0;58652:81;;58755:34;58768:17;58787:1;58755:12;:34::i;:::-;58748:41;;;;;;58594:207;58811:28;;;-1:-1:-1;;;;;;;;;;;58811:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;58051:796;;;;;:::o;51696:25::-;;;;:::o;30380:258::-;30466:7;29775:28;29783:7;29792:10;29775:7;:28::i;:::-;29767:87;;;;;;-1:-1:-1;;;;;;;;;;;29767:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30494:8;;:45;;;;;;-1:-1:-1;;;;;30494:45:0;;;;;;;;;:8;;;;;:27;;:45;;;;;;;;;;;;;;:8;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;30494:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30494:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30494:45:0;30486:86;;;;;;;-1:-1:-1;;;;;;;;;;;30486:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30583:47;;;;;;-1:-1:-1;;;;;30583:47:0;;;;;;;30625:4;30583:47;;;;;;:23;;;;;;:47;;;;;-1:-1:-1;;30583:47:0;;;;;;;;-1:-1:-1;30583:23:0;:47;;;5:2:-1;;;;30:1;27;20:12;5:2;30583:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30583:47:0;;;;30380:258;;;:::o;56442:308::-;37726:10;37748:4;37726:27;37718:72;;;;;-1:-1:-1;;;;;;;;;;;37718:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28671:15;;:33;;;;;;-1:-1:-1;;;;;28671:33:0;;;;;;;;;56546:7;;28671:15;;;;;:24;;:33;;;;;;;;;;;;;;;:15;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;28671:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28671:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28671:33:0;28670:34;28662:74;;;;;-1:-1:-1;;;;;;;;;;;28662:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56574:23:0;;;;56566:72;;;;-1:-1:-1;;;;;;;;;;;56566:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56649:7;-1:-1:-1;;;;;56649:16:0;;56666:9;56649:27;;;;;;;;;;;;;-1:-1:-1;;;;;56649:27:0;-1:-1:-1;;;;;56649:27:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;56649:27:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;56694:48:0;;-1:-1:-1;;;;;56694:48:0;;;;-1:-1:-1;56694:48:0;;;-1:-1:-1;56694:48:0;;;;;37801:1;56442:308;;:::o;51795:29::-;;;;:::o;56887:286::-;-1:-1:-1;;;;;57054:33:0;;;56948:16;57054:33;;;:15;:33;;;;;57106:15;;;;;57123:19;;;;;;57144:20;;;;;;56887:286::o;30851:176::-;30922:38;;;;;;30954:4;30922:38;;;;;;30909:10;;-1:-1:-1;;;;;30922:23:0;;;;;:38;;;;;;;;;;;;;;;:23;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;30922:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30922:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30922:38:0;31002:8;;;30971:48;;;;;;-1:-1:-1;;;;;31002:8:0;;;30971:48;;;;;;;;;;;;30922:38;;-1:-1:-1;30971:22:0;;;;;;:48;;;;;30922:38;;30971:48;;;;;;;;;;;:22;:48;;;5:2:-1;;;;30:1;27;20:12;5:2;30971:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30971:48:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;30851:176:0:o;39470:1485::-;39708:12;39738:13;39754:9;39738:25;;39774:16;39793:84;39813:4;39828:7;39838:1;39841:5;;39793:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39848:6:0;;-1:-1:-1;39856:9:0;;-1:-1:-1;39867:9:0;;-1:-1:-1;39793:11:0;:84::i;:::-;39774:103;;39896:51;39921:7;39930:6;39938:8;39896:24;:51::i;:::-;39888:85;;;;;;;-1:-1:-1;;;;;;;;;;;39888:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39992:35;40011:7;40021:5;;39992:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39992:10:0;;-1:-1:-1;;;39992:35:0:i;:::-;39984:78;;;;;;;-1:-1:-1;;;;;;;;;;;39984:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40073:26;40102:37;40124:7;40133:5;;40102:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;40102:21:0;;-1:-1:-1;;;40102:37:0:i;:::-;40073:66;-1:-1:-1;40179:2:0;40158:23;;:45;;40150:88;;;;;-1:-1:-1;;;;;;;;;;;40150:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40257:23;;;:84;;;40284:57;40303:7;40312:5;;40284:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;40284:57:0;;;;137:4:-1;40284:57:0;;;;;;;;;;;;;;;;;40319:8;;-1:-1:-1;40284:57:0;-1:-1:-1;40329:11:0;;;;;;40284:57;;40329:11;;;;40284:57;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;40284:18:0;;-1:-1:-1;;;40284:57:0:i;:::-;40249:119;;;;;;;-1:-1:-1;;;;;;;;;;;40249:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40576:63;40589:7;40598:9;40609;40620:18;40576:12;:63::i;:::-;40572:304;;;40741:4;-1:-1:-1;;;;;40733:18:0;40752:5;;40733:25;;;;;30:3:-1;22:6;14;1:33;40733:25:0;;45:16:-1;;;-1:-1;40733:25:0;;-1:-1:-1;40733:25:0;;-1:-1:-1;;40733:25:0;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;40720:38:0;;;;;40773:91;40780:7;40800:9;40789:8;:20;40811:9;40822;40833:18;40853:10;40773:6;:91::i;:::-;40891:56;;;;;;;;;;;;-1:-1:-1;;;;;40891:56:0;;;;;;;;;;;;39470:1485;;;;;;;;;;;;;:::o;54241:598::-;37726:10;37748:4;37726:27;37718:72;;;;;-1:-1:-1;;;;;;;;;;;37718:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52908:33:0;;;;;;:15;:33;;;;;:46;:33;;:46;;;;;:51;52900:103;;;;-1:-1:-1;;;;;;;;;;;52900:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54370:23:0;;;;54362:71;;;;-1:-1:-1;;;;;;;;;;;54362:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54476:33:0;;;54444:29;54476:33;;;:15;:33;;;;;;;;;54520:27;;;;;;;;;;;;;54593:14;;;54558:50;54587:3;:20;;;54558:50;;;;;;;;;;;;;54649:15;;:38;;;;;;;;;;;;;;54476:33;;54649:15;;;;;:29;;:38;;;;;54476:33;54649:38;;;;;;:15;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;54649:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54649:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54649:38:0;54619:69;;;;;;;;;;;;;;;54699:15;;54738:10;;54699:50;;;;;;-1:-1:-1;;;;;54699:50:0;;;;;;;54732:3;:16;;;54699:50;;;;;;:15;;;;;:23;;:50;;;;;54619:20;;54699:50;;;;;;;54619:20;54699:15;:50;;;5:2:-1;;;;30:1;27;20:12;5:2;54699:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;54811:19:0;;54765:66;;;54811:19;;;;;;54765:66;;;-1:-1:-1;;;;;54765:66:0;;;;-1:-1:-1;54765:66:0;;;-1:-1:-1;54765:66:0;;;;;;;;;;53014:1;37801;54241:598;;:::o;55754:339::-;37726:10;37748:4;37726:27;37718:72;;;;;-1:-1:-1;;;;;;;;;;;37718:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52643:33:0;;52692:1;52643:33;;;:15;:33;;;;;:46;:33;;:46;;;;;;:50;52635:100;;;;-1:-1:-1;;;;;;;;;;;52635:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55888:33:0;;;55856:29;55888:33;;;:15;:33;;;;;;55972:15;;55937:51;;55888:33;;55972:15;;;;;55888:33;55937:51;;;55999:15;;:35;;;;;;-1:-1:-1;;;;;55999:35:0;;;;;;;:15;:35;;;;;;;;:15;;;:23;;:35;;;;;:15;;:35;;;;;;:15;;:35;;;5:2:-1;;;;30:1;27;20:12;37235:49:0;;;;;;;;;;;;;:::o;51975:38::-;;;-1:-1:-1;;;;;51975:38:0;;:::o;48733:300::-;48800:13;48850:1;48834:5;:12;:17;;48826:56;;;;;;;-1:-1:-1;;;;;;;;;;;48826:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49009:4:0;48998:16;48992:23;;48967:59::o;26437:218::-;26496:7;26516:9;26532:1;26528;:5;;;;;;;;26516:17;;26551:1;26547;:5;;;;;;;;:10;26544:104;;;26581:1;-1:-1:-1;26574:8:0;;26544:104;26635:1;26631:5;;-1:-1:-1;26624:12:0;;25957:150;26015:7;26047:5;;;26071:6;;;;26063:15;;;;;;26098:1;25957:150;-1:-1:-1;;;25957:150:0:o;31212:131::-;31287:4;31330:5;-1:-1:-1;;;;;31311:24:0;:7;-1:-1:-1;;;;;31311:13:0;;:15;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31311:15:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31311:15:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31311:15:0;-1:-1:-1;;;;;31311:24:0;;;31212:131;-1:-1:-1;;;31212:131:0:o;41892:528::-;42305:94;;42322:10;42305:94;;;;;;;42151:7;42305:94;;;;;;;-1:-1:-1;;;;;42305:94:0;;;;;;;;;;;;;;;;;;;;;;;;42151:7;;;;42343:5;;42350:3;;42355:6;;42363:5;;42370:6;;42378:9;;42389;;42305:94;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;42305:94:0;;;;;-1:-1:-1;42305:94:0;;;;;;;-1:-1:-1;42305:94:0;;;;;;;;;;26:21:-1;;;22:32;;6:49;;42305:94:0;;;;;42295:105;;;;;;42207:204;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;42207:204:0;;;;;;42183:229;;;;;;41892:528;-1:-1:-1;;;;;;;;;;;;;;41892:528:0:o;42633:318::-;-1:-1:-1;;;;;42761:25:0;;42740:4;42761:25;;;:7;:25;;;;;;;;:47;;;:36;;;;:47;;;;;;;;:55;;;42757:100;;;-1:-1:-1;42840:5:0;42833:12;;42757:100;-1:-1:-1;;;;;;42867:25:0;;;;;;;;:7;:25;;;;;;;;:47;;;42917:4;42867:36;;;:47;;;;;:54;;-1:-1:-1;;42867:54:0;;;;;-1:-1:-1;42917:4:0;42633:318::o;49281:431::-;49360:4;49401:2;49385:5;:12;:18;;49377:53;;;;;;;-1:-1:-1;;;;;;;;;;;49377:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49649:4:0;49638:16;49632:23;-1:-1:-1;;;;;49683:21:0;;;;;;;49281:431::o;57272:771::-;57460:4;57482:24;57509:21;57524:5;57509:14;:21::i;:::-;57482:48;;51332:47;;;;;;;;;;;;;;;;;;;57545:46;;;:17;:46;;;;57541:495;;;57615:76;57634:7;57643:9;57654:11;57667:23;57615:18;:76::i;:::-;57608:83;;;;;57541:495;51013:45;;;;;;;;;;;;;;;;-1:-1:-1;;57713:44:0;;;;;;57709:327;;;57781:78;57800:7;57809:9;57820:11;57833:25;57781:18;:78::i;57709:327::-;51228:36;;;;;;;;;;;;;;;;-1:-1:-1;;57881:43:0;;;;;;57877:159;;;57948:76;57967:7;57976:9;57987:11;58000:23;57948:18;:76::i;57877:159::-;57272:771;;;;;;;;:::o;48285:362::-;48399:4;48432:1;48420:9;:13;:45;;;;;48464:1;48450:11;:15;48420:45;:157;;;;;48521:9;48510:8;:20;48491:7;-1:-1:-1;;;;;48483:24:0;;:47;:93;;;-1:-1:-1;48534:33:0;;;;;;48561:4;48534:33;;;;;;-1:-1:-1;;;;;48534:18:0;;;;;:33;;;;;;;;;;;;;;:18;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;48534:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48534:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48534:33:0;:42;48483:93;48416:202;;;-1:-1:-1;48601:5:0;48594:12;;48416:202;-1:-1:-1;48635:4:0;48285:362;;;;;;:::o;47280:769::-;47511:5;:16;;47494:14;47722:13;;:32;;;;;47753:1;47739:11;:15;47722:32;:55;;;;;47768:9;47758:6;:19;;47722:55;47718:324;;;47810:11;47798:9;:23;47794:161;;;47860:11;47851:20;47794:161;;;47921:18;;47794:161;47969:61;47990:7;48000:8;48010:6;48018:11;;;;;;;;;;;;;47969:12;:61::i;:::-;;47280:769;;;;;;;:::o;44148:1546::-;44340:4;;44404:26;44340:4;44445:7;:34;;;;;;;;;;:61;;;;44504:2;44483:11;:18;:23;44445:61;44441:192;;;44535:15;;:37;;;;;;-1:-1:-1;;;;;44535:37:0;;;;;;;;;:15;;;;;:28;;:37;;;;;:15;;:37;;;;;;;:15;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;44535:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44535:37:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;44535:37:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;44535:37:0;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;44535:37:0;;-1:-1:-1;;;;;44441:192:0;44643:15;;44671:994;44693:18;;44714:2;;44693:23;44689:1;:27;;;44671:994;;;44738:14;44755:40;44769:9;44780:11;44793:1;44755:40;;:13;:40::i;:::-;44738:57;-1:-1:-1;44816:6:0;;;;44812:530;;;44858:23;44847:7;:34;;;;;;;;;44843:484;;;44961:24;44969:7;44978:6;44961:7;:24::i;:::-;44957:89;;;45014:8;;;44957:89;45075:5;45068:12;;;;;;;;;44843:484;45121:23;45110:7;:34;;;;;;;;;45106:221;;;45223:24;45231:7;45240:6;45223:7;:24::i;:::-;45219:89;;;45276:8;;;45219:89;-1:-1:-1;;;;;45360:20:0;;;;;;;45356:102;;45408:5;45401:12;;;;;;;;;45356:102;45485:6;45472:19;;45532:43;45557:9;45568:6;45532:24;:43::i;:::-;45506:69;-1:-1:-1;45506:69:0;-1:-1:-1;45594:11:0;;45590:64;;;45633:5;45626:12;;;;;;;;;45590:64;44671:994;;44718:3;;44671:994;;;-1:-1:-1;45682:4:0;;44148:1546;-1:-1:-1;;;;;;;;44148:1546:0:o;31619:847::-;31725:17;31755:12;31856:7;-1:-1:-1;;;;;31856:12:0;31926:3;31931:6;31939:5;31869:76;;;;;;-1:-1:-1;;;;;31869:76:0;-1:-1:-1;;;;;31869:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;31869:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31869:76:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;31869:76:0;;;49:4:-1;25:18;;61:17;;31869:76:0;182:15:-1;31869:76:0;179:29:-1;160:49;;31856:90:0;;;;31869:76;;-1:-1:-1;31856:90:0;-1:-1:-1;31856:90:0;;-1:-1:-1;25:18;-1:-1;31856:90:0;-1:-1:-1;31856:90:0;;25:18:-1;36:153;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;31856:90:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;-1:-1;31838:108:0;-1:-1:-1;31838:108:0;-1:-1:-1;31838:108:0;31961:26;;;;;31986:1;31972:4;:11;:15;31961:26;31957:502;;;32106:4;32095:25;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;32095:25:0;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;32095:25:0;;-1:-1:-1;31957:502:0;;-1:-1:-1;;;;31957:502:0;;32156:1;32142:4;:11;:15;32138:321;;;32292:14;32289:1;32286;32271:36;32335:14;32332:1;32325:25;32252:113;32387:7;32386:8;32382:77;;;32411:36;;;-1:-1:-1;;;;;;;;;;;32411:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;45968:836;46497:4;46493:16;;;46467:44;;46488:4;46467:44;;46461:51;46558:4;46537:44;;46531:51;46611:44;;;;46605:51;46074:7;;46658:4;46601:62;;;;;46697:2;46692:7;;;:18;;;46703:1;:7;;46708:2;46703:7;46692:18;46684:27;;;;;;;;46765:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46765:31:0;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;46765:31:0;;-1:-1:-1;;46765:31:0;;;45968:836;-1:-1:-1;;;;;;;;45968:836:0:o;33634:1185::-;33725:4;33731:16;33764:10;:17;33785:1;33764:22;:49;;;-1:-1:-1;;;;;;33790:23:0;;;33764:49;33760:108;;;-1:-1:-1;33838:5:0;;-1:-1:-1;33845:10:0;33830:26;;33760:108;33878:12;33893:5;33878:20;;33909:33;33979:1;33959:10;:17;:21;33945:36;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;33945:36:0;-1:-1:-1;33909:72:0;-1:-1:-1;33992:13:0;;34020:718;34044:10;:17;34040:1;:21;34020:718;;;34088:7;34087:8;34083:493;;;34195:10;34206:1;34195:13;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34182:26:0;:9;-1:-1:-1;;;;;34182:26:0;;34178:120;;;34243:4;34233:14;;34270:8;;34178:120;34401:25;34412:10;34423:1;34412:13;;;;;;;;;;;;;;;;;;34401:10;:25::i;:::-;:70;;;;;34430:41;34446:10;34457:1;34446:13;;;;;;;;;;;;;;;;;;34461:9;34430:15;:41::i;:::-;34397:164;;;34506:4;34496:14;;34533:8;;34397:164;34602:16;:23;34594:5;:31;34590:137;;;34672:10;34683:1;34672:13;;;;;;;;;;;;;;;;;;34646:16;34663:5;34646:23;;;;;;;;;;-1:-1:-1;;;;;34646:39:0;;;:23;;;;;;;;;;:39;34704:7;;;;;34590:137;34063:3;;34020:718;;;;34755:7;:56;;34793:5;34800:10;34755:56;;;34766:4;34772:16;34755:56;34748:63;;;;;;;33634:1185;;;;;;:::o;34924:258::-;34982:4;35118:18;;35165:8;;;;34924:258::o;35462:541::-;35619:20;;;;;;;;;;;;;;;;35776:15;;;35545:4;;;;35619:20;35863:4;35619:20;35863:4;35619:20;35836:9;35830:4;35819:49;35896:1;35888:6;35885:13;35882:2;;;35933:3;35927:10;35918:19;;35882:2;35725:238;;35989:6;-1:-1:-1;;;;;35980:15:0;:5;-1:-1:-1;;;;;35980:15:0;;35973:22;;;;35462:541;;;;:::o

Swarm Source

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

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