ETH Price: $3,381.11 (+3.36%)
Gas: 2 Gwei

Contract

0x847f5AbbA6A36c727eCfF76784eE3648BA868808
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Enter108245602020-09-09 1:30:341419 days ago1599615034IN
0x847f5Abb...8BA868808
0 ETH0.0013432334.98
Enter107371392020-08-26 16:16:501432 days ago1598458610IN
0x847f5Abb...8BA868808
0 ETH0.00835693119.32
Enter107369472020-08-26 15:39:021432 days ago1598456342IN
0x847f5Abb...8BA868808
0 ETH0.00869607104.5
Enter107368832020-08-26 15:26:361432 days ago1598455596IN
0x847f5Abb...8BA868808
0 ETH0.007070999.11
Enter107368832020-08-26 15:26:361432 days ago1598455596IN
0x847f5Abb...8BA868808
0 ETH0.009001799.44
Enter107368812020-08-26 15:26:021432 days ago1598455562IN
0x847f5Abb...8BA868808
0 ETH0.00882201100.1
Enter107367632020-08-26 14:59:351432 days ago1598453975IN
0x847f5Abb...8BA868808
0 ETH0.0228534495.7
Enter107367562020-08-26 14:58:411432 days ago1598453921IN
0x847f5Abb...8BA868808
0 ETH0.0088355995.7
Enter107367422020-08-26 14:55:051432 days ago1598453705IN
0x847f5Abb...8BA868808
0 ETH0.0084311795.7
Enter107366442020-08-26 14:32:201432 days ago1598452340IN
0x847f5Abb...8BA868808
0 ETH0.0064353389.1
Enter107364992020-08-26 13:57:351432 days ago1598450255IN
0x847f5Abb...8BA868808
0 ETH0.0074850285.8
Enter107363842020-08-26 13:32:011432 days ago1598448721IN
0x847f5Abb...8BA868808
0 ETH0.0208798284.7
Enter107361462020-08-26 12:38:371432 days ago1598445517IN
0x847f5Abb...8BA868808
0 ETH0.0128967377
Enter107360442020-08-26 12:16:121433 days ago1598444172IN
0x847f5Abb...8BA868808
0 ETH0.0021048457.2
Enter107360372020-08-26 12:15:231433 days ago1598444123IN
0x847f5Abb...8BA868808
0 ETH0.0158993669.3
Enter107359762020-08-26 12:03:041433 days ago1598443384IN
0x847f5Abb...8BA868808
0 ETH0.0059233479
Enter107356182020-08-26 10:52:051433 days ago1598439125IN
0x847f5Abb...8BA868808
0 ETH0.0058323677.77
Enter107355232020-08-26 10:28:481433 days ago1598437728IN
0x847f5Abb...8BA868808
0 ETH0.0068874374.47
Enter107353472020-08-26 9:48:161433 days ago1598435296IN
0x847f5Abb...8BA868808
0 ETH0.0108700959.62
Enter107353472020-08-26 9:48:161433 days ago1598435296IN
0x847f5Abb...8BA868808
0 ETH0.0089833859.95
Enter107352762020-08-26 9:33:451433 days ago1598434425IN
0x847f5Abb...8BA868808
0 ETH0.0112642961.6
Enter107352422020-08-26 9:26:441433 days ago1598434004IN
0x847f5Abb...8BA868808
0 ETH0.0103505861.6
Enter107352422020-08-26 9:26:441433 days ago1598434004IN
0x847f5Abb...8BA868808
0 ETH0.0053743561.6
Enter107351652020-08-26 9:06:551433 days ago1598432815IN
0x847f5Abb...8BA868808
0 ETH0.0103513261.6
Enter107349772020-08-26 8:25:181433 days ago1598430318IN
0x847f5Abb...8BA868808
0 ETH0.0046861862.48
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DappLogic

Compiler Version
v0.5.4+commit.9549d8ff

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-02-25
*/

pragma solidity ^0.5.4;

library RLPReader {
    uint8 constant STRING_SHORT_START = 0x80;
    uint8 constant STRING_LONG_START  = 0xb8;
    uint8 constant LIST_SHORT_START   = 0xc0;
    uint8 constant LIST_LONG_START    = 0xf8;
    uint8 constant WORD_SIZE = 32;

    struct RLPItem {
        uint len;
        uint memPtr;
    }

    struct Iterator {
        RLPItem item;   // Item that's being iterated over.
        uint nextPtr;   // Position of the next item in the list.
    }

    /*
    * @dev Returns the next element in the iteration. Reverts if it has not next element.
    * @param self The iterator.
    * @return The next element in the iteration.
    */
    function next(Iterator memory self) internal pure returns (RLPItem memory) {
        require(hasNext(self));

        uint ptr = self.nextPtr;
        uint itemLength = _itemLength(ptr);
        self.nextPtr = ptr + itemLength;

        return RLPItem(itemLength, ptr);
    }

    /*
    * @dev Returns true if the iteration has more elements.
    * @param self The iterator.
    * @return true if the iteration has more elements.
    */
    function hasNext(Iterator memory self) internal pure returns (bool) {
        RLPItem memory item = self.item;
        return self.nextPtr < item.memPtr + item.len;
    }

    /*
    * @param item RLP encoded bytes
    */
    function toRlpItem(bytes memory item) internal pure returns (RLPItem memory) {
        uint memPtr;
        assembly {
            memPtr := add(item, 0x20)
        }

        return RLPItem(item.length, memPtr);
    }

    /*
    * @dev Create an iterator. Reverts if item is not a list.
    * @param self The RLP item.
    * @return An 'Iterator' over the item.
    */
    function iterator(RLPItem memory self) internal pure returns (Iterator memory) {
        require(isList(self));

        uint ptr = self.memPtr + _payloadOffset(self.memPtr);
        return Iterator(self, ptr);
    }

    /*
    * @param item RLP encoded bytes
    */
    function rlpLen(RLPItem memory item) internal pure returns (uint) {
        return item.len;
    }

    /*
    * @param item RLP encoded bytes
    */
    function payloadLen(RLPItem memory item) internal pure returns (uint) {
        return item.len - _payloadOffset(item.memPtr);
    }

    /*
    * @param item RLP encoded list in bytes
    */
    function toList(RLPItem memory item) internal pure returns (RLPItem[] memory) {
        require(isList(item));

        uint items = numItems(item);
        RLPItem[] memory result = new RLPItem[](items);

        uint memPtr = item.memPtr + _payloadOffset(item.memPtr);
        uint dataLen;
        for (uint i = 0; i < items; i++) {
            dataLen = _itemLength(memPtr);
            result[i] = RLPItem(dataLen, memPtr); 
            memPtr = memPtr + dataLen;
        }

        return result;
    }

    // @return indicator whether encoded payload is a list. negate this function call for isData.
    function isList(RLPItem memory item) internal pure returns (bool) {
        if (item.len == 0) return false;

        uint8 byte0;
        uint memPtr = item.memPtr;
        assembly {
            byte0 := byte(0, mload(memPtr))
        }

        if (byte0 < LIST_SHORT_START)
            return false;
        return true;
    }

    /** RLPItem conversions into data types **/

    // @returns raw rlp encoding in bytes
    function toRlpBytes(RLPItem memory item) internal pure returns (bytes memory) {
        bytes memory result = new bytes(item.len);
        if (result.length == 0) return result;
        
        uint ptr;
        assembly {
            ptr := add(0x20, result)
        }

        copy(item.memPtr, ptr, item.len);
        return result;
    }

    // any non-zero byte is considered true
    function toBoolean(RLPItem memory item) internal pure returns (bool) {
        require(item.len == 1);
        uint result;
        uint memPtr = item.memPtr;
        assembly {
            result := byte(0, mload(memPtr))
        }

        return result == 0 ? false : true;
    }

    function toAddress(RLPItem memory item) internal pure returns (address) {
        // 1 byte for the length prefix
        require(item.len == 21);

        return address(toUint(item));
    }

    function toUint(RLPItem memory item) internal pure returns (uint) {
        require(item.len > 0 && item.len <= 33);

        uint offset = _payloadOffset(item.memPtr);
        uint len = item.len - offset;

        uint result;
        uint memPtr = item.memPtr + offset;
        assembly {
            result := mload(memPtr)

            // shfit to the correct location if neccesary
            if lt(len, 32) {
                result := div(result, exp(256, sub(32, len)))
            }
        }

        return result;
    }

    // enforces 32 byte length
    function toUintStrict(RLPItem memory item) internal pure returns (uint) {
        // one byte prefix
        require(item.len == 33);

        uint result;
        uint memPtr = item.memPtr + 1;
        assembly {
            result := mload(memPtr)
        }

        return result;
    }

    function toBytes(RLPItem memory item) internal pure returns (bytes memory) {
        require(item.len > 0);

        uint offset = _payloadOffset(item.memPtr);
        uint len = item.len - offset; // data length
        bytes memory result = new bytes(len);

        uint destPtr;
        assembly {
            destPtr := add(0x20, result)
        }

        copy(item.memPtr + offset, destPtr, len);
        return result;
    }

    /*
    * Private Helpers
    */

    // @return number of payload items inside an encoded list.
    function numItems(RLPItem memory item) private pure returns (uint) {
        if (item.len == 0) return 0;

        uint count = 0;
        uint currPtr = item.memPtr + _payloadOffset(item.memPtr);
        uint endPtr = item.memPtr + item.len;
        while (currPtr < endPtr) {
           currPtr = currPtr + _itemLength(currPtr); // skip over an item
           count++;
        }

        return count;
    }

    // @return entire rlp item byte length
    function _itemLength(uint memPtr) private pure returns (uint) {
        uint itemLen;
        uint byte0;
        assembly {
            byte0 := byte(0, mload(memPtr))
        }

        if (byte0 < STRING_SHORT_START)
            itemLen = 1;
        
        else if (byte0 < STRING_LONG_START)
            itemLen = byte0 - STRING_SHORT_START + 1;

        else if (byte0 < LIST_SHORT_START) {
            assembly {
                let byteLen := sub(byte0, 0xb7) // # of bytes the actual length is
                memPtr := add(memPtr, 1) // skip over the first byte
                
                /* 32 byte word size */
                let dataLen := div(mload(memPtr), exp(256, sub(32, byteLen))) // right shifting to get the len
                itemLen := add(dataLen, add(byteLen, 1))
            }
        }

        else if (byte0 < LIST_LONG_START) {
            itemLen = byte0 - LIST_SHORT_START + 1;
        } 

        else {
            assembly {
                let byteLen := sub(byte0, 0xf7)
                memPtr := add(memPtr, 1)

                let dataLen := div(mload(memPtr), exp(256, sub(32, byteLen))) // right shifting to the correct length
                itemLen := add(dataLen, add(byteLen, 1))
            }
        }

        return itemLen;
    }

    // @return number of bytes until the data
    function _payloadOffset(uint memPtr) private pure returns (uint) {
        uint byte0;
        assembly {
            byte0 := byte(0, mload(memPtr))
        }

        if (byte0 < STRING_SHORT_START) 
            return 0;
        else if (byte0 < STRING_LONG_START || (byte0 >= LIST_SHORT_START && byte0 < LIST_LONG_START))
            return 1;
        else if (byte0 < LIST_SHORT_START)  // being explicit
            return byte0 - (STRING_LONG_START - 1) + 1;
        else
            return byte0 - (LIST_LONG_START - 1) + 1;
    }

    /*
    * @param src Pointer to source
    * @param dest Pointer to destination
    * @param len Amount of memory to copy from the source
    */
    function copy(uint src, uint dest, uint len) private pure {
        if (len == 0) return;

        // copy as many word sizes as possible
        for (; len >= WORD_SIZE; len -= WORD_SIZE) {
            assembly {
                mstore(dest, mload(src))
            }

            src += WORD_SIZE;
            dest += WORD_SIZE;
        }

        // left over bytes. Mask is used to remove unwanted bytes from the word
        uint mask = 256 ** (WORD_SIZE - len) - 1;
        assembly {
            let srcpart := and(mload(src), not(mask)) // zero out src
            let destpart := and(mload(dest), mask) // retrieve the bytes
            mstore(dest, or(destpart, srcpart))
        }
    }
}

contract Account {

    // The implementation of the proxy
    address public implementation;

    // Logic manager
    address public manager;
    
    // The enabled static calls
    mapping (bytes4 => address) public enabled;

    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 AccountInit(address indexed account);
    event ManagerChanged(address indexed mgr);

    modifier allowAuthorizedLogicContractsCallsOnly {
        require(LogicManager(manager).isAuthorized(msg.sender), "not an authorized logic");
        _;
    }

    function init(address _manager, address _accountStorage, address[] calldata _logics, address[] calldata _keys, address[] calldata _backups)
        external
    {
        require(manager == address(0), "Account: account already initialized");
        require(_manager != address(0) && _accountStorage != address(0), "Account: address is null");
        manager = _manager;

        for (uint i = 0; i < _logics.length; i++) {
            address logic = _logics[i];
            require(LogicManager(manager).isAuthorized(logic), "must be authorized logic");

            BaseLogic(logic).initAccount(this);
        }

        AccountStorage(_accountStorage).initAccount(this, _keys, _backups);

        emit AccountInit(address(this));
    }

    function invoke(address _target, uint _value, bytes calldata _data)
        external
        allowAuthorizedLogicContractsCallsOnly
        returns (bytes memory _res)
    {
        bool success;
        // solium-disable-next-line security/no-call-value
        (success, _res) = _target.call.value(_value)(_data);
        require(success, "call to target failed");
        emit Invoked(msg.sender, _target, _value, _data);
    }

    /**
    * @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 allowAuthorizedLogicContractsCallsOnly {
        enabled[_method] = _module;
        emit EnabledStaticCall(_module, _method);
    }

    function changeManager(address _newMgr) external allowAuthorizedLogicContractsCallsOnly {
        require(_newMgr != address(0), "address cannot be null");
        require(_newMgr != manager, "already changed");
        manager = _newMgr;
        emit ManagerChanged(_newMgr);
    }

     /**
     * @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 logic = enabled[msg.sig];
            if(logic == address(0)) {
                emit Received(msg.value, msg.sender, msg.data);
            }
            else {
                require(LogicManager(manager).isAuthorized(logic), "must be an authorized logic for static call");
                // solium-disable-next-line security/no-inline-assembly
                assembly {
                    calldatacopy(0, 0, calldatasize())
                    let result := staticcall(gas, logic, 0, calldatasize(), 0, 0)
                    returndatacopy(0, 0, returndatasize())
                    switch result
                    case 0 {revert(0, returndatasize())}
                    default {return (0, returndatasize())}
                }
            }
        }
    }
}

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

contract LogicManager is Owned {

    event UpdateLogicSubmitted(address indexed logic, bool value);
    event UpdateLogicCancelled(address indexed logic);
    event UpdateLogicDone(address indexed logic, bool value);

    struct pending {
        bool value;
        uint dueTime;
    }

    // The authorized logic modules
    mapping (address => bool) public authorized;

    /*
    array
    index 0: AccountLogic address
          1: TransferLogic address
          2: DualsigsLogic address
          3: DappLogic address
          4: ...
     */
    address[] public authorizedLogics;

    // updated logics and their due time of becoming effective
    mapping (address => pending) public pendingLogics;

    // pending time before updated logics take effect
    struct pendingTime {
        uint curPendingTime;
        uint nextPendingTime;
        uint dueTime;
    }

    pendingTime public pt;

    // how many authorized logics
    uint public logicCount;

    constructor(address[] memory _initialLogics, uint256 _pendingTime) public
    {
        for (uint i = 0; i < _initialLogics.length; i++) {
            address logic = _initialLogics[i];
            authorized[logic] = true;
            logicCount += 1;
        }
        authorizedLogics = _initialLogics;

        pt.curPendingTime = _pendingTime;
        pt.nextPendingTime = _pendingTime;
        pt.dueTime = now;
    }

    function submitUpdatePendingTime(uint _pendingTime) external onlyOwner {
        pt.nextPendingTime = _pendingTime;
        pt.dueTime = pt.curPendingTime + now;
    }

    function triggerUpdatePendingTime() external {
        require(pt.dueTime <= now, "too early to trigger updatePendingTime");
        pt.curPendingTime = pt.nextPendingTime;
    }

    function isAuthorized(address _logic) external view returns (bool) {
        return authorized[_logic];
    }

    function getAuthorizedLogics() external view returns (address[] memory) {
        return authorizedLogics;
    }

    function submitUpdate(address _logic, bool _value) external onlyOwner {
        pending storage p = pendingLogics[_logic];
        p.value = _value;
        p.dueTime = now + pt.curPendingTime;
        emit UpdateLogicSubmitted(_logic, _value);
    }

    function cancelUpdate(address _logic) external onlyOwner {
        delete pendingLogics[_logic];
        emit UpdateLogicCancelled(_logic);
    }

    function triggerUpdateLogic(address _logic) external {
        pending memory p = pendingLogics[_logic];
        require(p.dueTime > 0, "pending logic not found");
        require(p.dueTime <= now, "too early to trigger updateLogic");
        updateLogic(_logic, p.value);
        delete pendingLogics[_logic];
    }

    function updateLogic(address _logic, bool _value) internal {
        if (authorized[_logic] != _value) {
            if(_value) {
                logicCount += 1;
                authorized[_logic] = true;
                authorizedLogics.push(_logic);
            }
            else {
                logicCount -= 1;
                require(logicCount > 0, "must have at least one logic module");
                delete authorized[_logic];
                removeLogic(_logic);
            }
            emit UpdateLogicDone(_logic, _value);
        }
    }

    function removeLogic(address _logic) internal {
        uint len = authorizedLogics.length;
        address lastLogic = authorizedLogics[len - 1];
        if (_logic != lastLogic) {
            for (uint i = 0; i < len; i++) {
                 if (_logic == authorizedLogics[i]) {
                     authorizedLogics[i] = lastLogic;
                     break;
                 }
            }
        }
        authorizedLogics.length--;
    }
}

contract AccountStorage {

    modifier allowAccountCallsOnly(Account _account) {
        require(msg.sender == address(_account), "caller must be account");
        _;
    }

    modifier allowAuthorizedLogicContractsCallsOnly(address payable _account) {
        require(LogicManager(Account(_account).manager()).isAuthorized(msg.sender), "not an authorized logic");
        _;
    }

    struct KeyItem {
        address pubKey;
        uint256 status;
    }

    struct BackupAccount {
        address backup;
        uint256 effectiveDate;//means not effective until this timestamp
        uint256 expiryDate;//means effective until this timestamp
    }

    struct DelayItem {
        bytes32 hash;
        uint256 dueTime;
    }

    struct Proposal {
        bytes32 hash;
        address[] approval;
    }

    // account => quantity of operation keys (index >= 1)
    mapping (address => uint256) operationKeyCount;

    // account => index => KeyItem
    mapping (address => mapping(uint256 => KeyItem)) keyData;

    // account => index => backup account
    mapping (address => mapping(uint256 => BackupAccount)) backupData;

    /* account => actionId => DelayItem

       delayData applies to these 4 actions:
       changeAdminKey, changeAllOperationKeys, unfreeze, changeAdminKeyByBackup
    */
    mapping (address => mapping(bytes4 => DelayItem)) delayData;

    // client account => proposer account => proposed actionId => Proposal
    mapping (address => mapping(address => mapping(bytes4 => Proposal))) proposalData;

    // *************** keyCount ********************** //

    function getOperationKeyCount(address _account) external view returns(uint256) {
        return operationKeyCount[_account];
    }

    function increaseKeyCount(address payable _account) external allowAuthorizedLogicContractsCallsOnly(_account) {
        operationKeyCount[_account] = operationKeyCount[_account] + 1;
    }

    // *************** keyData ********************** //

    function getKeyData(address _account, uint256 _index) public view returns(address) {
        KeyItem memory item = keyData[_account][_index];
        return item.pubKey;
    }

    function setKeyData(address payable _account, uint256 _index, address _key) external allowAuthorizedLogicContractsCallsOnly(_account) {
        require(_key != address(0), "invalid _key value");
        KeyItem storage item = keyData[_account][_index];
        item.pubKey = _key;
    }

    // *************** keyStatus ********************** //

    function getKeyStatus(address _account, uint256 _index) external view returns(uint256) {
        KeyItem memory item = keyData[_account][_index];
        return item.status;
    }

    function setKeyStatus(address payable _account, uint256 _index, uint256 _status) external allowAuthorizedLogicContractsCallsOnly(_account) {
        KeyItem storage item = keyData[_account][_index];
        item.status = _status;
    }

    // *************** backupData ********************** //

    function getBackupAddress(address _account, uint256 _index) external view returns(address) {
        BackupAccount memory b = backupData[_account][_index];
        return b.backup;
    }

    function getBackupEffectiveDate(address _account, uint256 _index) external view returns(uint256) {
        BackupAccount memory b = backupData[_account][_index];
        return b.effectiveDate;
    }

    function getBackupExpiryDate(address _account, uint256 _index) external view returns(uint256) {
        BackupAccount memory b = backupData[_account][_index];
        return b.expiryDate;
    }

    function setBackup(address payable _account, uint256 _index, address _backup, uint256 _effective, uint256 _expiry)
        external
        allowAuthorizedLogicContractsCallsOnly(_account)
    {
        BackupAccount storage b = backupData[_account][_index];
        b.backup = _backup;
        b.effectiveDate = _effective;
        b.expiryDate = _expiry;
    }

    function setBackupExpiryDate(address payable _account, uint256 _index, uint256 _expiry)
        external
        allowAuthorizedLogicContractsCallsOnly(_account)
    {
        BackupAccount storage b = backupData[_account][_index];
        b.expiryDate = _expiry;
    }

    function clearBackupData(address payable _account, uint256 _index) external allowAuthorizedLogicContractsCallsOnly(_account) {
        delete backupData[_account][_index];
    }

    // *************** delayData ********************** //

    function getDelayDataHash(address payable _account, bytes4 _actionId) external view returns(bytes32) {
        DelayItem memory item = delayData[_account][_actionId];
        return item.hash;
    }

    function getDelayDataDueTime(address payable _account, bytes4 _actionId) external view returns(uint256) {
        DelayItem memory item = delayData[_account][_actionId];
        return item.dueTime;
    }

    function setDelayData(address payable _account, bytes4 _actionId, bytes32 _hash, uint256 _dueTime) external allowAuthorizedLogicContractsCallsOnly(_account) {
        DelayItem storage item = delayData[_account][_actionId];
        item.hash = _hash;
        item.dueTime = _dueTime;
    }

    function clearDelayData(address payable _account, bytes4 _actionId) external allowAuthorizedLogicContractsCallsOnly(_account) {
        delete delayData[_account][_actionId];
    }

    // *************** proposalData ********************** //

    function getProposalDataHash(address _client, address _proposer, bytes4 _actionId) external view returns(bytes32) {
        Proposal memory p = proposalData[_client][_proposer][_actionId];
        return p.hash;
    }

    function getProposalDataApproval(address _client, address _proposer, bytes4 _actionId) external view returns(address[] memory) {
        Proposal memory p = proposalData[_client][_proposer][_actionId];
        return p.approval;
    }

    function setProposalData(address payable _client, address _proposer, bytes4 _actionId, bytes32 _hash, address _approvedBackup)
        external
        allowAuthorizedLogicContractsCallsOnly(_client)
    {
        Proposal storage p = proposalData[_client][_proposer][_actionId];
        if (p.hash > 0) {
            if (p.hash == _hash) {
                for (uint256 i = 0; i < p.approval.length; i++) {
                    require(p.approval[i] != _approvedBackup, "backup already exists");
                }
                p.approval.push(_approvedBackup);
            } else {
                p.hash = _hash;
                p.approval.length = 0;
            }
        } else {
            p.hash = _hash;
            p.approval.push(_approvedBackup);
        }
    }

    function clearProposalData(address payable _client, address _proposer, bytes4 _actionId) external allowAuthorizedLogicContractsCallsOnly(_client) {
        delete proposalData[_client][_proposer][_actionId];
    }


    // *************** init ********************** //
    function initAccount(Account _account, address[] calldata _keys, address[] calldata _backups)
        external
        allowAccountCallsOnly(_account)
    {
        require(getKeyData(address(_account), 0) == address(0), "AccountStorage: account already initialized!");
        require(_keys.length > 0, "empty keys array");

        operationKeyCount[address(_account)] = _keys.length - 1;

        for (uint256 index = 0; index < _keys.length; index++) {
            address _key = _keys[index];
            require(_key != address(0), "_key cannot be 0x0");
            KeyItem storage item = keyData[address(_account)][index];
            item.pubKey = _key;
            item.status = 0;
        }

        // avoid backup duplication if _backups.length > 1
        // normally won't check duplication, in most cases only one initial backup when initialization
        if (_backups.length > 1) {
            address[] memory bkps = _backups;
            for (uint256 i = 0; i < _backups.length; i++) {
                for (uint256 j = 0; j < i; j++) {
                    require(bkps[j] != _backups[i], "duplicate backup");
                }
            }
        }

        for (uint256 index = 0; index < _backups.length; index++) {
            address _backup = _backups[index];
            require(_backup != address(0), "backup cannot be 0x0");
            require(_backup != address(_account), "cannot be backup of oneself");

            backupData[address(_account)][index] = BackupAccount(_backup, now, uint256(-1));
        }
    }
}

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

contract BaseLogic {

    bytes constant internal SIGN_HASH_PREFIX = "\x19Ethereum Signed Message:\n32";

    mapping (address => uint256) keyNonce;
    AccountStorage public accountStorage;

    modifier allowSelfCallsOnly() {
        require (msg.sender == address(this), "only internal call is allowed");
        _;
    }

    modifier allowAccountCallsOnly(Account _account) {
        require(msg.sender == address(_account), "caller must be account");
        _;
    }

    event LogicInitialised(address wallet);

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

    constructor(AccountStorage _accountStorage) public {
        accountStorage = _accountStorage;
    }

    // *************** Initialization ********************* //

    function initAccount(Account _account) external allowAccountCallsOnly(_account){
        emit LogicInitialised(address(_account));
    }

    // *************** Getter ********************** //

    function getKeyNonce(address _key) external view returns(uint256) {
        return keyNonce[_key];
    }

    // *************** Signature ********************** //

    function getSignHash(bytes memory _data, uint256 _nonce) internal view returns(bytes32) {
        // use EIP 191
        // 0x1900 + this logic address + data + nonce of signing key
        bytes32 msgHash = keccak256(abi.encodePacked(byte(0x19), byte(0), address(this), _data, _nonce));
        bytes32 prefixedHash = keccak256(abi.encodePacked(SIGN_HASH_PREFIX, msgHash));
        return prefixedHash;
    }

    function verifySig(address _signingKey, bytes memory _signature, bytes32 _signHash) internal pure {
        require(_signingKey != address(0), "invalid signing key");
        address recoveredAddr = recover(_signHash, _signature);
        require(recoveredAddr == _signingKey, "signature verification failed");
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * NOTE: This call _does not revert_ if the signature is invalid, or
     * if the signer is otherwise unable to be retrieved. In those scenarios,
     * the zero address is returned.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise)
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        if (signature.length != 65) {
            return (address(0));
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return address(0);
        }

        if (v != 27 && v != 28) {
            return address(0);
        }

        // If the signature is valid (and not malleable), return the signer address
        return ecrecover(hash, v, r, s);
    }

    /* get signer address from data
    * @dev Gets an address encoded as the first argument in transaction data
    * @param b The byte array that should have an address as first argument
    * @returns a The address retrieved from the array
    */
    function getSignerAddress(bytes memory _b) internal pure returns (address _a) {
        require(_b.length >= 36, "invalid bytes");
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            let mask := 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
            _a := and(mask, mload(add(_b, 36)))
            // b = {length:32}{method sig:4}{address:32}{...}
            // 36 is the offset of the first parameter of the data, if encoded properly.
            // 32 bytes for the length of the bytes array, and the first 4 bytes for the function signature.
            // 32 bytes is the length of the bytes array!!!!
        }
    }

    // get method id, first 4 bytes of data
    function getMethodId(bytes memory _b) internal pure returns (bytes4 _a) {
        require(_b.length >= 4, "invalid data");
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            // 32 bytes is the length of the bytes array
            _a := mload(add(_b, 32))
        }
    }

    function checkKeyStatus(address _account, uint256 _index) internal {
        // check operation key status
        if (_index > 0) {
            require(accountStorage.getKeyStatus(_account, _index) != 1, "frozen key");
        }
    }

    // _nonce is timestamp in microsecond(1/1000000 second)
    function checkAndUpdateNonce(address _key, uint256 _nonce) internal {
        require(_nonce > keyNonce[_key], "nonce too small");
        require(SafeMath.div(_nonce, 1000000) <= now + 86400, "nonce too big"); // 86400=24*3600 seconds

        keyNonce[_key] = _nonce;
    }
}

contract DappLogic is BaseLogic {
    
    using RLPReader for RLPReader.RLPItem;
    using RLPReader for bytes;

    /*
    index 0: admin key
          1: asset(transfer)
          2: adding
          3: reserved(dapp)
          4: assist
     */
    uint constant internal DAPP_KEY_INDEX = 3;

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

    event DappLogicInitialised(address indexed account);
    event DappLogicEntered(bytes data, uint256 indexed nonce);

    // *************** Constructor ********************** //
    constructor(AccountStorage _accountStorage)
        BaseLogic(_accountStorage)
        public
    {
    }

    // *************** Initialization ********************* //

    function initAccount(Account _account) external allowAccountCallsOnly(_account){
        emit DappLogicInitialised(address(_account));
    }

    // *************** action entry ********************* //

    function enter(bytes calldata _data, bytes calldata _signature, uint256 _nonce) external {
        address account = getSignerAddress(_data);
        checkKeyStatus(account, DAPP_KEY_INDEX);

        address dappKey = accountStorage.getKeyData(account, DAPP_KEY_INDEX);
        checkAndUpdateNonce(dappKey, _nonce);
        bytes32 signHash = getSignHash(_data, _nonce);
        verifySig(dappKey, _signature, signHash);

        // solium-disable-next-line security/no-low-level-calls
        (bool success,) = address(this).call(_data);
        require(success, "calling self failed");
        emit DappLogicEntered(_data, _nonce);
    }

    // *************** call Dapp ********************* //

    // called from 'enter'
    // call other contract from base account
    function callContract(address payable _account, address payable _target, uint256 _value, bytes calldata _methodData) external allowSelfCallsOnly {
        // Account(_account).invoke(_target, _value, _methodData);
        bool success;
        // solium-disable-next-line security/no-low-level-calls
        (success,) = _account.call(abi.encodeWithSignature("invoke(address,uint256,bytes)", _target, _value, _methodData));
        require(success, "calling invoke failed");
    }
    
    // called from 'enter'
    // call serveral other contracts at a time
    // rlp encode _methodData array into rlpBytes
    function callMultiContract(address payable _account, address[] calldata _targets, uint256[] calldata _values, bytes calldata _rlpBytes) external allowSelfCallsOnly {
        RLPReader.RLPItem[] memory ls = _rlpBytes.toRlpItem().toList();

        uint256 len = _targets.length;
        require(len == _values.length && len == ls.length, "length mismatch");
        for (uint256 i = 0; i < len; i++) {
            bool success;
            RLPReader.RLPItem memory item = ls[i];
            // solium-disable-next-line security/no-low-level-calls
            (success,) = _account.call(abi.encodeWithSignature("invoke(address,uint256,bytes)", _targets[i], _values[i], bytes(item.toBytes())));
            require(success, "calling invoke failed");
        }
    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"_key","type":"address"}],"name":"getKeyNonce","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"initAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"},{"name":"_targets","type":"address[]"},{"name":"_values","type":"uint256[]"},{"name":"_rlpBytes","type":"bytes"}],"name":"callMultiContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"accountStorage","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_data","type":"bytes"},{"name":"_signature","type":"bytes"},{"name":"_nonce","type":"uint256"}],"name":"enter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"},{"name":"_target","type":"address"},{"name":"_value","type":"uint256"},{"name":"_methodData","type":"bytes"}],"name":"callContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_accountStorage","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"DappLogicInitialised","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"data","type":"bytes"},{"indexed":true,"name":"nonce","type":"uint256"}],"name":"DappLogicEntered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"wallet","type":"address"}],"name":"LogicInitialised","type":"event"}]

608060405234801561001057600080fd5b506040516020806116248339810180604052602081101561003057600080fd5b505160018054600160a060020a031916600160a060020a039092169190911790556115c4806100606000396000f3fe608060405234801561001057600080fd5b506004361061007e577c010000000000000000000000000000000000000000000000000000000060003504630978ec6781146100835780635a6c4158146100bb578063a9a387cf146100e3578063c281fb7214610207578063ee6824731461022b578063fd6ac309146102ed575b600080fd5b6100a96004803603602081101561009957600080fd5b5035600160a060020a031661037d565b60408051918252519081900360200190f35b6100e1600480360360208110156100d157600080fd5b5035600160a060020a031661039c565b005b6100e1600480360360808110156100f957600080fd5b600160a060020a03823516919081019060408101602082013564010000000081111561012457600080fd5b82018360208201111561013657600080fd5b8035906020019184602083028401116401000000008311171561015857600080fd5b91939092909160208101903564010000000081111561017657600080fd5b82018360208201111561018857600080fd5b803590602001918460208302840111640100000000831117156101aa57600080fd5b9193909290916020810190356401000000008111156101c857600080fd5b8201836020820111156101da57600080fd5b803590602001918460018302840111640100000000831117156101fc57600080fd5b509092509050610435565b61020f6107a0565b60408051600160a060020a039092168252519081900360200190f35b6100e16004803603606081101561024157600080fd5b81019060208101813564010000000081111561025c57600080fd5b82018360208201111561026e57600080fd5b8035906020019184600183028401116401000000008311171561029057600080fd5b9193909290916020810190356401000000008111156102ae57600080fd5b8201836020820111156102c057600080fd5b803590602001918460018302840111640100000000831117156102e257600080fd5b9193509150356107af565b6100e16004803603608081101561030357600080fd5b600160a060020a0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561033e57600080fd5b82018360208201111561035057600080fd5b8035906020019184600183028401116401000000008311171561037257600080fd5b509092509050610a57565b600160a060020a0381166000908152602081905260409020545b919050565b8033600160a060020a038216146103fd576040805160e560020a62461bcd02815260206004820152601660248201527f63616c6c6572206d757374206265206163636f756e7400000000000000000000604482015290519081900360640190fd5b604051600160a060020a038316907f4e46f3238238f9353956ec4e3f4eae95a48aa2f25028c921938a91063e6fe1ee90600090a25050565b33301461048c576040805160e560020a62461bcd02815260206004820152601d60248201527f6f6e6c7920696e7465726e616c2063616c6c20697320616c6c6f776564000000604482015290519081900360640190fd5b60606104d56104d084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c6a92505050565b610c8f565b90508584811480156104e75750815181145b151561053d576040805160e560020a62461bcd02815260206004820152600f60248201527f6c656e677468206d69736d617463680000000000000000000000000000000000604482015290519081900360640190fd5b60005b81811015610794576000610552611581565b848381518110151561056057fe5b602090810290910101519050600160a060020a038c168b8b8581811061058257fe5b90506020020135600160a060020a03168a8a8681811015156105a057fe5b905060200201356105b084610d63565b6040516024018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561060e5781810151838201526020016105f6565b50505050905090810190601f16801561063b5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8f6f033200000000000000000000000000000000000000000000000000000000178152905182519297509550859450925090508083835b602083106106c75780518252601f1990920191602091820191016106a8565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610729576040519150601f19603f3d011682016040523d82523d6000602084013e61072e565b606091505b509092505081151561078a576040805160e560020a62461bcd02815260206004820152601560248201527f63616c6c696e6720696e766f6b65206661696c65640000000000000000000000604482015290519081900360640190fd5b5050600101610540565b50505050505050505050565b600154600160a060020a031681565b60006107f086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610ddf92505050565b90506107fd816003610e4e565b600154604080517f8d431198000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301526003602483015291516000939290921691638d43119891604480820192602092909190829003018186803b15801561086e57600080fd5b505afa158015610882573d6000803e3d6000fd5b505050506040513d602081101561089857600080fd5b505190506108a68184610f4c565b60006108e988888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250889250611040915050565b905061092d8287878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508692506111b1915050565b600030600160a060020a03168989604051808383808284376040519201945060009350909150508083038183865af19150503d806000811461098b576040519150601f19603f3d011682016040523d82523d6000602084013e610990565b606091505b505090508015156109eb576040805160e560020a62461bcd02815260206004820152601360248201527f63616c6c696e672073656c66206661696c656400000000000000000000000000604482015290519081900360640190fd5b847f79fe4c2a6e16a232d5cec08cce7e3fd31c0535038f359907c16fbf8ca69e7e9b8a8a60405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2505050505050505050565b333014610aae576040805160e560020a62461bcd02815260206004820152601d60248201527f6f6e6c7920696e7465726e616c2063616c6c20697320616c6c6f776564000000604482015290519081900360640190fd5b600085600160a060020a0316858585856040516024018085600160a060020a0316600160a060020a0316815260200184815260200180602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8f6f033200000000000000000000000000000000000000000000000000000000178152925181519199509750879650919450909250829150849050835b60208310610b9f5780518252601f199092019160209182019101610b80565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610c01576040519150601f19603f3d011682016040523d82523d6000602084013e610c06565b606091505b5090915050801515610c62576040805160e560020a62461bcd02815260206004820152601560248201527f63616c6c696e6720696e766f6b65206661696c65640000000000000000000000604482015290519081900360640190fd5b505050505050565b610c72611581565b506040805180820190915281518152602082810190820152919050565b6060610c9a82611288565b1515610ca557600080fd5b6000610cb0836112c7565b9050606081604051908082528060200260200182016040528015610cee57816020015b610cdb611581565b815260200190600190039081610cd35790505b5090506000610d008560200151611325565b60208601510190506000805b84811015610d5857610d1d83611388565b91506040805190810160405280838152602001848152508482815181101515610d4257fe5b6020908102909101015291810191600101610d0c565b509195945050505050565b8051606090600010610d7457600080fd5b6000610d838360200151611325565b83516040805191839003808352601f19601f8201168301602001909152919250606090828015610dba576020820181803883390190505b5090506000816020019050610dd6848760200151018285611421565b50949350505050565b60006024825110151515610e3d576040805160e560020a62461bcd02815260206004820152600d60248201527f696e76616c696420627974657300000000000000000000000000000000000000604482015290519081900360640190fd5b5060240151600160a060020a031690565b6000811115610f4857600154604080517f43090116000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015260248201859052915191909216916343090116916044808301926020929190829003018186803b158015610ec457600080fd5b505afa158015610ed8573d6000803e3d6000fd5b505050506040513d6020811015610eee57600080fd5b505160011415610f48576040805160e560020a62461bcd02815260206004820152600a60248201527f66726f7a656e206b657900000000000000000000000000000000000000000000604482015290519081900360640190fd5b5050565b600160a060020a0382166000908152602081905260409020548111610fbb576040805160e560020a62461bcd02815260206004820152600f60248201527f6e6f6e636520746f6f20736d616c6c0000000000000000000000000000000000604482015290519081900360640190fd5b426201518001610fce82620f424061146e565b1115611024576040805160e560020a62461bcd02815260206004820152600d60248201527f6e6f6e636520746f6f2062696700000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a03909116600090815260208190526040902055565b6040517f19000000000000000000000000000000000000000000000000000000000000006020808301828152600060218501819052306c010000000000000000000000008102602287015287519195869594869492938a938a939092603690910191908501908083835b602083106110c95780518252601f1990920191602091820191016110aa565b51815160209384036101000a6000190180199092169116179052920193845250604080518085038152848301808352815191840191909120606086018352601c8083527f19457468657265756d205369676e6564204d6573736167653a0a3332000000009684019687529251909a50600099509097508996509091019350839291508083835b6020831061116e5780518252601f19909201916020918201910161114f565b51815160209384036101000a6000190180199092169116179052920193845250604080518085038152938201905282519201919091209450505050505b92915050565b600160a060020a0383161515611211576040805160e560020a62461bcd02815260206004820152601360248201527f696e76616c6964207369676e696e67206b657900000000000000000000000000604482015290519081900360640190fd5b600061121d8284611492565b9050600160a060020a0380821690851614611282576040805160e560020a62461bcd02815260206004820152601d60248201527f7369676e617475726520766572696669636174696f6e206661696c6564000000604482015290519081900360640190fd5b50505050565b8051600090151561129b57506000610397565b6020820151805160001a9060c060ff831610156112bd57600092505050610397565b5060019392505050565b805160009015156112da57506000610397565b600080905060006112ee8460200151611325565b602085015185519181019250015b8082101561131c5761130d82611388565b600190930192909101906112fc565b50909392505050565b8051600090811a608081101561133f576000915050610397565b60b881108061135a575060c0811080159061135a575060f881105b15611369576001915050610397565b60c081101561137d5760b519019050610397565b60f519019050610397565b80516000908190811a60808110156113a3576001915061141a565b60b88110156113b857607e198101915061141a565b60c08110156113e55760b78103600185019450806020036101000a8551046001820181019350505061141a565b60f88110156113fa5760be198101915061141a565b60f78103600185019450806020036101000a855104600182018101935050505b5092915050565b80151561142d57611469565b5b6020811061144d578251825260209283019290910190601f190161142e565b8251825160208390036101000a60001901801990921691161782525b505050565b600080821161147c57600080fd5b6000828481151561148957fe5b04949350505050565b80516000906041146114a6575060006111ab565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156114ec57600093505050506111ab565b8060ff16601b1415801561150457508060ff16601c14155b1561151557600093505050506111ab565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa15801561156c573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60408051808201909152600080825260208201529056fea165627a7a7230582003e76ce399cfb3014dba4f36da0674380060f5415c822a7da1f487a18a0aa1c40029000000000000000000000000adc92d1fd878580579716d944ef3460e241604b7

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061007e577c010000000000000000000000000000000000000000000000000000000060003504630978ec6781146100835780635a6c4158146100bb578063a9a387cf146100e3578063c281fb7214610207578063ee6824731461022b578063fd6ac309146102ed575b600080fd5b6100a96004803603602081101561009957600080fd5b5035600160a060020a031661037d565b60408051918252519081900360200190f35b6100e1600480360360208110156100d157600080fd5b5035600160a060020a031661039c565b005b6100e1600480360360808110156100f957600080fd5b600160a060020a03823516919081019060408101602082013564010000000081111561012457600080fd5b82018360208201111561013657600080fd5b8035906020019184602083028401116401000000008311171561015857600080fd5b91939092909160208101903564010000000081111561017657600080fd5b82018360208201111561018857600080fd5b803590602001918460208302840111640100000000831117156101aa57600080fd5b9193909290916020810190356401000000008111156101c857600080fd5b8201836020820111156101da57600080fd5b803590602001918460018302840111640100000000831117156101fc57600080fd5b509092509050610435565b61020f6107a0565b60408051600160a060020a039092168252519081900360200190f35b6100e16004803603606081101561024157600080fd5b81019060208101813564010000000081111561025c57600080fd5b82018360208201111561026e57600080fd5b8035906020019184600183028401116401000000008311171561029057600080fd5b9193909290916020810190356401000000008111156102ae57600080fd5b8201836020820111156102c057600080fd5b803590602001918460018302840111640100000000831117156102e257600080fd5b9193509150356107af565b6100e16004803603608081101561030357600080fd5b600160a060020a0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561033e57600080fd5b82018360208201111561035057600080fd5b8035906020019184600183028401116401000000008311171561037257600080fd5b509092509050610a57565b600160a060020a0381166000908152602081905260409020545b919050565b8033600160a060020a038216146103fd576040805160e560020a62461bcd02815260206004820152601660248201527f63616c6c6572206d757374206265206163636f756e7400000000000000000000604482015290519081900360640190fd5b604051600160a060020a038316907f4e46f3238238f9353956ec4e3f4eae95a48aa2f25028c921938a91063e6fe1ee90600090a25050565b33301461048c576040805160e560020a62461bcd02815260206004820152601d60248201527f6f6e6c7920696e7465726e616c2063616c6c20697320616c6c6f776564000000604482015290519081900360640190fd5b60606104d56104d084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c6a92505050565b610c8f565b90508584811480156104e75750815181145b151561053d576040805160e560020a62461bcd02815260206004820152600f60248201527f6c656e677468206d69736d617463680000000000000000000000000000000000604482015290519081900360640190fd5b60005b81811015610794576000610552611581565b848381518110151561056057fe5b602090810290910101519050600160a060020a038c168b8b8581811061058257fe5b90506020020135600160a060020a03168a8a8681811015156105a057fe5b905060200201356105b084610d63565b6040516024018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561060e5781810151838201526020016105f6565b50505050905090810190601f16801561063b5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8f6f033200000000000000000000000000000000000000000000000000000000178152905182519297509550859450925090508083835b602083106106c75780518252601f1990920191602091820191016106a8565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610729576040519150601f19603f3d011682016040523d82523d6000602084013e61072e565b606091505b509092505081151561078a576040805160e560020a62461bcd02815260206004820152601560248201527f63616c6c696e6720696e766f6b65206661696c65640000000000000000000000604482015290519081900360640190fd5b5050600101610540565b50505050505050505050565b600154600160a060020a031681565b60006107f086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610ddf92505050565b90506107fd816003610e4e565b600154604080517f8d431198000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301526003602483015291516000939290921691638d43119891604480820192602092909190829003018186803b15801561086e57600080fd5b505afa158015610882573d6000803e3d6000fd5b505050506040513d602081101561089857600080fd5b505190506108a68184610f4c565b60006108e988888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250889250611040915050565b905061092d8287878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508692506111b1915050565b600030600160a060020a03168989604051808383808284376040519201945060009350909150508083038183865af19150503d806000811461098b576040519150601f19603f3d011682016040523d82523d6000602084013e610990565b606091505b505090508015156109eb576040805160e560020a62461bcd02815260206004820152601360248201527f63616c6c696e672073656c66206661696c656400000000000000000000000000604482015290519081900360640190fd5b847f79fe4c2a6e16a232d5cec08cce7e3fd31c0535038f359907c16fbf8ca69e7e9b8a8a60405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2505050505050505050565b333014610aae576040805160e560020a62461bcd02815260206004820152601d60248201527f6f6e6c7920696e7465726e616c2063616c6c20697320616c6c6f776564000000604482015290519081900360640190fd5b600085600160a060020a0316858585856040516024018085600160a060020a0316600160a060020a0316815260200184815260200180602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8f6f033200000000000000000000000000000000000000000000000000000000178152925181519199509750879650919450909250829150849050835b60208310610b9f5780518252601f199092019160209182019101610b80565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610c01576040519150601f19603f3d011682016040523d82523d6000602084013e610c06565b606091505b5090915050801515610c62576040805160e560020a62461bcd02815260206004820152601560248201527f63616c6c696e6720696e766f6b65206661696c65640000000000000000000000604482015290519081900360640190fd5b505050505050565b610c72611581565b506040805180820190915281518152602082810190820152919050565b6060610c9a82611288565b1515610ca557600080fd5b6000610cb0836112c7565b9050606081604051908082528060200260200182016040528015610cee57816020015b610cdb611581565b815260200190600190039081610cd35790505b5090506000610d008560200151611325565b60208601510190506000805b84811015610d5857610d1d83611388565b91506040805190810160405280838152602001848152508482815181101515610d4257fe5b6020908102909101015291810191600101610d0c565b509195945050505050565b8051606090600010610d7457600080fd5b6000610d838360200151611325565b83516040805191839003808352601f19601f8201168301602001909152919250606090828015610dba576020820181803883390190505b5090506000816020019050610dd6848760200151018285611421565b50949350505050565b60006024825110151515610e3d576040805160e560020a62461bcd02815260206004820152600d60248201527f696e76616c696420627974657300000000000000000000000000000000000000604482015290519081900360640190fd5b5060240151600160a060020a031690565b6000811115610f4857600154604080517f43090116000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015260248201859052915191909216916343090116916044808301926020929190829003018186803b158015610ec457600080fd5b505afa158015610ed8573d6000803e3d6000fd5b505050506040513d6020811015610eee57600080fd5b505160011415610f48576040805160e560020a62461bcd02815260206004820152600a60248201527f66726f7a656e206b657900000000000000000000000000000000000000000000604482015290519081900360640190fd5b5050565b600160a060020a0382166000908152602081905260409020548111610fbb576040805160e560020a62461bcd02815260206004820152600f60248201527f6e6f6e636520746f6f20736d616c6c0000000000000000000000000000000000604482015290519081900360640190fd5b426201518001610fce82620f424061146e565b1115611024576040805160e560020a62461bcd02815260206004820152600d60248201527f6e6f6e636520746f6f2062696700000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a03909116600090815260208190526040902055565b6040517f19000000000000000000000000000000000000000000000000000000000000006020808301828152600060218501819052306c010000000000000000000000008102602287015287519195869594869492938a938a939092603690910191908501908083835b602083106110c95780518252601f1990920191602091820191016110aa565b51815160209384036101000a6000190180199092169116179052920193845250604080518085038152848301808352815191840191909120606086018352601c8083527f19457468657265756d205369676e6564204d6573736167653a0a3332000000009684019687529251909a50600099509097508996509091019350839291508083835b6020831061116e5780518252601f19909201916020918201910161114f565b51815160209384036101000a6000190180199092169116179052920193845250604080518085038152938201905282519201919091209450505050505b92915050565b600160a060020a0383161515611211576040805160e560020a62461bcd02815260206004820152601360248201527f696e76616c6964207369676e696e67206b657900000000000000000000000000604482015290519081900360640190fd5b600061121d8284611492565b9050600160a060020a0380821690851614611282576040805160e560020a62461bcd02815260206004820152601d60248201527f7369676e617475726520766572696669636174696f6e206661696c6564000000604482015290519081900360640190fd5b50505050565b8051600090151561129b57506000610397565b6020820151805160001a9060c060ff831610156112bd57600092505050610397565b5060019392505050565b805160009015156112da57506000610397565b600080905060006112ee8460200151611325565b602085015185519181019250015b8082101561131c5761130d82611388565b600190930192909101906112fc565b50909392505050565b8051600090811a608081101561133f576000915050610397565b60b881108061135a575060c0811080159061135a575060f881105b15611369576001915050610397565b60c081101561137d5760b519019050610397565b60f519019050610397565b80516000908190811a60808110156113a3576001915061141a565b60b88110156113b857607e198101915061141a565b60c08110156113e55760b78103600185019450806020036101000a8551046001820181019350505061141a565b60f88110156113fa5760be198101915061141a565b60f78103600185019450806020036101000a855104600182018101935050505b5092915050565b80151561142d57611469565b5b6020811061144d578251825260209283019290910190601f190161142e565b8251825160208390036101000a60001901801990921691161782525b505050565b600080821161147c57600080fd5b6000828481151561148957fe5b04949350505050565b80516000906041146114a6575060006111ab565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156114ec57600093505050506111ab565b8060ff16601b1415801561150457508060ff16601c14155b1561151557600093505050506111ab565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa15801561156c573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60408051808201909152600080825260208201529056fea165627a7a7230582003e76ce399cfb3014dba4f36da0674380060f5415c822a7da1f487a18a0aa1c40029

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

000000000000000000000000adc92d1fd878580579716d944ef3460e241604b7

-----Decoded View---------------
Arg [0] : _accountStorage (address): 0xADc92d1fD878580579716d944eF3460E241604b7

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000adc92d1fd878580579716d944ef3460e241604b7


Deployed Bytecode Sourcemap

36338:3161:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36338:3161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30569:106;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30569:106:0;-1:-1:-1;;;;;30569:106:0;;:::i;:::-;;;;;;;;;;;;;;;;37086:142;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37086:142:0;-1:-1:-1;;;;;37086:142:0;;:::i;:::-;;38720:774;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;38720:774:0;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;38720:774:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38720:774:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;38720:774:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;38720:774:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38720:774:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;38720:774:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;38720:774:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38720:774: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;-1:-1;38720:774:0;;-1:-1:-1;38720:774:0;-1:-1:-1;38720:774:0;:::i;29739:36::-;;;:::i;:::-;;;;-1:-1:-1;;;;;29739:36:0;;;;;;;;;;;;;;37300:652;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;37300:652:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;37300:652:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;37300:652: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;37300:652:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;37300:652:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;37300:652: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;37300:652:0;;-1:-1:-1;37300:652:0;-1:-1:-1;37300:652:0;;:::i;38095:486::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;38095:486:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;38095:486:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38095:486: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;-1:-1;38095:486:0;;-1:-1:-1;38095:486:0;-1:-1:-1;38095:486:0;:::i;30569:106::-;-1:-1:-1;;;;;30653:14:0;;30626:7;30653:14;;;;;;;;;;;30569:106;;;;:::o;37086:142::-;37156:8;29991:10;-1:-1:-1;;;;;29991:31:0;;;29983:66;;;;;-1:-1:-1;;;;;29983:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;37181:39;;-1:-1:-1;;;;;37181:39:0;;;;;;;;37086:142;;:::o;38720:774::-;29834:10;29856:4;29834:27;29825:70;;;;;-1:-1:-1;;;;;29825:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38895:29;38927:30;:21;:9;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;38927:19:0;;-1:-1:-1;;;38927:21:0:i;:::-;:28;:30::i;:::-;38895:62;-1:-1:-1;38984:8:0;39018:21;;;:41;;;;;39050:2;:9;39043:3;:16;39018:41;39010:69;;;;;;;-1:-1:-1;;;;;39010:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39095:9;39090:397;39114:3;39110:1;:7;39090:397;;;39139:12;39166:29;;:::i;:::-;39198:2;39201:1;39198:5;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;39300:13:0;;39371:8;;39380:1;39371:11;;;;;;;;;;;;;-1:-1:-1;;;;;39371:11:0;39384:7;;39392:1;39384:10;;;;;;;;;;;;;;;39402:14;:4;:12;:14::i;:::-;39314:104;;;;;;-1:-1:-1;;;;;39314:104:0;-1:-1:-1;;;;;39314:104: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;39314:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39314:104:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;39314:104:0;;;49:4:-1;25:18;;61:17;;39314:104:0;182:15:-1;39314:104:0;179:29:-1;160:49;;39300:119:0;;;;39314:104;;-1:-1:-1;39300:119:0;-1:-1:-1;39300:119:0;;-1:-1:-1;25:18;-1:-1;39300:119:0;-1:-1:-1;39300:119: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;;;39300:119: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;39287:132:0;;-1:-1:-1;;39434:41:0;;;;;;;;-1:-1:-1;;;;;39434:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39119:3:0;;39090:397;;;;29906:1;;38720:774;;;;;;;:::o;29739:36::-;;;-1:-1:-1;;;;;29739:36:0;;:::o;37300:652::-;37400:15;37418:23;37435:5;;37418:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;37418:16:0;;-1:-1:-1;;;37418:23:0:i;:::-;37400:41;;37452:39;37467:7;36643:1;37452:14;:39::i;:::-;37522:14;;:50;;;;;;-1:-1:-1;;;;;37522:50:0;;;;;;;36643:1;37522:50;;;;;;37504:15;;37522:14;;;;;:25;;:50;;;;;;;;;;;;;;;:14;:50;;;5:2:-1;;;;30:1;27;20:12;5:2;37522:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37522:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37522:50:0;;-1:-1:-1;37583:36:0;37522:50;37612:6;37583:19;:36::i;:::-;37630:16;37649:26;37661:5;;37649:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;37668:6:0;;-1:-1:-1;37649:11:0;;-1:-1:-1;;37649:26:0:i;:::-;37630:45;;37686:40;37696:7;37705:10;;37686:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;37717:8:0;;-1:-1:-1;37686:9:0;;-1:-1:-1;;37686:40:0:i;:::-;37805:12;37830:4;-1:-1:-1;;;;;37822:18:0;37841:5;;37822:25;;;;;30:3:-1;22:6;14;1:33;37822:25:0;;45:16:-1;;;-1:-1;37822:25:0;;-1:-1:-1;37822:25:0;;-1:-1:-1;;37822: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;;37804:43:0;;;37866:7;37858:39;;;;;;;-1:-1:-1;;;;;37858:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;37937:6;37913:31;37930:5;;37913:31;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;37913:31:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;37913:31:0;;;;-1:-1:-1;37913:31:0;;-1:-1:-1;;;;37913:31:0;37300:652;;;;;;;;;:::o;38095:486::-;29834:10;29856:4;29834:27;29825:70;;;;;-1:-1:-1;;;;;29825:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38319:12;38420:8;-1:-1:-1;;;;;38420:13:0;38491:7;38500:6;38508:11;;38434:86;;;;;;-1:-1:-1;;;;;38434:86:0;-1:-1:-1;;;;;38434:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;38434:86:0;;;137:4:-1;117:14;;;-1:-1;;113:30;;;157:16;;;26:21;;;22:32;;;6:49;;38434:86:0;;;49:4:-1;25:18;;61:17;;38434:86:0;182:15:-1;38434:86:0;179:29:-1;160:49;;38420:101:0;;;;38434:86;;-1:-1:-1;38420:101:0;-1:-1:-1;38420:101:0;;-1:-1:-1;25:18;;-1:-1;38420:101:0;;-1:-1:-1;38420:101:0;;-1:-1:-1;38420:101:0;;-1:-1:-1;25:18;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;;;38420:101: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;38407:114:0;;-1:-1:-1;;38532:41:0;;;;;;;;-1:-1:-1;;;;;38532:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29906:1;38095:486;;;;;:::o;1391:225::-;1452:14;;:::i;:::-;-1:-1:-1;1580:28:0;;;;;;;;;1588:11;;1580:28;;1545:4;1535:15;;;1580:28;;;;1391:225;;;:::o;2426:523::-;2486:16;2523:12;2530:4;2523:6;:12::i;:::-;2515:21;;;;;;;;2549:10;2562:14;2571:4;2562:8;:14::i;:::-;2549:27;;2587:23;2627:5;2613:20;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;2587:46;;2646:11;2674:27;2689:4;:11;;;2674:14;:27::i;:::-;2660:11;;;;:41;;-1:-1:-1;2712:12:0;;2735:181;2756:5;2752:1;:9;2735:181;;;2793:19;2805:6;2793:11;:19::i;:::-;2783:29;;2839:24;;;;;;;;;2847:7;2839:24;;;;2856:6;2839:24;;;2827:6;2834:1;2827:9;;;;;;;;;;;;;;;;;;:36;2888:16;;;;2763:3;;2735:181;;;-1:-1:-1;2935:6:0;;2426:523;-1:-1:-1;;;;;2426:523:0:o;5306:445::-;5400:8;;5367:12;;5411:1;-1:-1:-1;5392:21:0;;;;;;5426:11;5440:27;5455:4;:11;;;5440:14;:27::i;:::-;5489:8;;5554:14;;;5489:17;;;;5554:14;;;-1:-1:-1;;5554:14:0;;;;;;;;;;;5426:41;;-1:-1:-1;5532:19:0;;5489:17;5554:14;;;;;;;21:6:-1;;104:10;5554:14:0;87:34:-1;135:17;;-1:-1;5554:14:0;;5532:36;;5581:12;5649:6;5643:4;5639:17;5628:28;;5679:40;5698:6;5684:4;:11;;;:20;5706:7;5715:3;5679:4;:40::i;:::-;-1:-1:-1;5737:6:0;5306:445;-1:-1:-1;;;;5306:445:0:o;34683:676::-;34749:10;34793:2;34780;:9;:15;;34772:41;;;;;;;-1:-1:-1;;;;;34772:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35011:2:0;35003:11;34997:18;-1:-1:-1;;;;;34987:29:0;;34898:454::o;35742:240::-;35872:1;35863:6;:10;35859:116;;;35898:14;;:45;;;;;;-1:-1:-1;;;;;35898:45:0;;;;;;;;;;;;;;;:14;;;;;:27;;:45;;;;;;;;;;;;;;:14;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;35898:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35898:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35898:45:0;35947:1;35898:50;;35890:73;;;;;-1:-1:-1;;;;;35890:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35742:240;;:::o;36051:280::-;-1:-1:-1;;;;;36147:14:0;;:8;:14;;;;;;;;;;;36138:23;;36130:51;;;;;-1:-1:-1;;;;;36130:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36233:3;36239:5;36233:11;36200:29;36213:6;36221:7;36200:12;:29::i;:::-;:44;;36192:70;;;;;-1:-1:-1;;;;;36192:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36300:14:0;;;:8;:14;;;;;;;;;;:23;36051:280::o;30745:415::-;30966:67;;30983:10;30966:67;;;;;;;30824:7;30966:67;;;;;;31012:4;30966:67;;;;;;;;;30824:7;;;;30983:10;30824:7;;31012:4;;30966:67;;31026:6;;30966:67;;;;;;;;;;;;;;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;;30966:67:0;;;;;-1:-1:-1;30966:67:0;;;26:21:-1;;;6:49;;30966:67:0;;;;;;30956:78;;;;;;;;;31095:16;;;;;;;;;;;;;;;;31078:43;;30956:78;;-1:-1:-1;;;;30966:67:0;;-1:-1:-1;30956:78:0;;-1:-1:-1;31078:43:0;;;;-1:-1:-1;31078:43:0;;31095:16;-1:-1:-1;31095:16:0;31078:43;31095:16;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;;31078:43:0;;;;;-1:-1:-1;31078:43:0;;;26:21:-1;;;6:49;;31078:43:0;;;;;31068:54;;;;;;;;;-1:-1:-1;;;;;30745:415:0;;;;;:::o;31168:320::-;-1:-1:-1;;;;;31285:25:0;;;;31277:57;;;;;-1:-1:-1;;;;;31277:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31345:21;31369:30;31377:9;31388:10;31369:7;:30::i;:::-;31345:54;-1:-1:-1;;;;;;31418:28:0;;;;;;;31410:70;;;;;-1:-1:-1;;;;;31410:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31168:320;;;;:::o;3056:342::-;3137:8;;3116:4;;3137:13;3133:31;;;-1:-1:-1;3159:5:0;3152:12;;3133:31;3213:11;;;;3276:13;;3177:11;3268:22;;182:4;3317:24;;;;3313:55;;;3363:5;3356:12;;;;;;3313:55;-1:-1:-1;3386:4:0;;3056:342;-1:-1:-1;;;3056:342:0:o;5864:422::-;5946:8;;5925:4;;5946:13;5942:27;;;-1:-1:-1;5968:1:0;5961:8;;5942:27;5982:10;5995:1;5982:14;;6007:12;6036:27;6051:4;:11;;;6036:14;:27::i;:::-;6022:11;;;;6102:8;;6022:41;;;;-1:-1:-1;6088:22:0;6121:133;6138:6;6128:7;:16;6121:133;;;6180:20;6192:7;6180:11;:20::i;:::-;6235:7;;;;;6170:30;;;;6121:133;;;-1:-1:-1;6273:5:0;;5864:422;-1:-1:-1;;;5864:422:0:o;7720:552::-;7858:13;;7779:4;;7850:22;;88:4;7899:26;;7895:369;;;7948:1;7941:8;;;;;7895:369;135:4;7969:25;;;:83;;-1:-1:-1;182:4:0;7999:25;;;;;:52;;-1:-1:-1;229:4:0;8028:23;;7999:52;7965:299;;;8074:1;8067:8;;;;;7965:299;182:4;8095:24;;8091:173;;;-1:-1:-1;;8160:35:0;;-1:-1:-1;8153:42:0;;8091:173;-1:-1:-1;;8231:33:0;;-1:-1:-1;8224:40:0;;6338:1327;6496:13;;6394:4;;;;6488:22;;88:4;6537:26;;6533:1098;;;6588:1;6578:11;;6533:1098;;;135:4;6619:25;;6615:1016;;;-1:-1:-1;;6669:30:0;;;-1:-1:-1;6615:1016:0;;;182:4;6721:24;;6717:914;;;6816:4;6809:5;6805:16;6896:1;6888:6;6884:14;6874:24;;7054:7;7050:2;7046:16;7041:3;7037:26;7028:6;7022:13;7018:46;7152:1;7143:7;7139:15;7130:7;7126:29;7115:40;;6771:399;;;;;229:4;7202:23;;7198:433;;;-1:-1:-1;;7252:28:0;;;-1:-1:-1;7198:433:0;;;7379:4;7372:5;7368:16;7424:1;7416:6;7412:14;7402:24;;7497:7;7493:2;7489:16;7484:3;7480:26;7471:6;7465:13;7461:46;7602:1;7593:7;7589:15;7580:7;7576:29;7565:40;;7334:286;;;-1:-1:-1;7650:7:0;6338:1327;-1:-1:-1;;6338:1327:0:o;8433:717::-;8506:8;;8502:21;;;8516:7;;8502:21;8583:201;267:2;8590:16;;8583:201;;8682:10;;8669:24;;267:2;8724:16;;;;8755:17;;;;-1:-1:-1;;8608:16:0;8583:201;;;8971:10;;9043:11;;267:2;8897:15;;;8889:3;:24;-1:-1:-1;;8889:28:0;8983:9;;8967:26;;;9039:22;;9110:21;9097:35;;8937:206;;;;:::o;28230:294::-;28288:7;28316:5;;;28308:14;;;;;;28391:9;28407:1;28403;:5;;;;;;;;;28230:294;-1:-1:-1;;;;28230:294:0:o;32490:1930::-;32631:16;;32568:7;;32651:2;32631:22;32627:74;;-1:-1:-1;32686:1:0;32670:19;;32627:74;33062:4;33047:20;;33041:27;33108:4;33093:20;;33087:27;33162:4;33147:20;;33141:27;32770:9;33133:36;34092:66;34079:79;;34075:129;;;34190:1;34175:17;;;;;;;34075:129;34220:1;:7;;34225:2;34220:7;;:18;;;;;34231:1;:7;;34236:2;34231:7;;34220:18;34216:68;;;34270:1;34255:17;;;;;;;34216:68;34388:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;34388:24:0;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;34388:24:0;;-1:-1:-1;;34388:24:0;;;32490:1930;-1:-1:-1;;;;;;;32490:1930:0:o;36338:3161::-;;;;;;;;;;-1:-1:-1;36338:3161:0;;;;;;;;:::o

Swarm Source

bzzr://03e76ce399cfb3014dba4f36da0674380060f5415c822a7da1f487a18a0aa1c4

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.