ETH Price: $1,587.22 (-0.14%)

Contract

0x52d7BcB650c591f6E8da90f797A1d0Bfd8fD05F9

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Execute Multiple...98559902024-02-11 17:14:30431 days ago1707671670IN
Dolomite: Partially Delayed MultiSig
0 ETH0.000624084.57
Submit Transacti...98559672024-02-11 17:13:29431 days ago1707671609IN
Dolomite: Partially Delayed MultiSig
0 ETH0.000830794.57
Submit Transacti...98559392024-02-11 17:12:39431 days ago1707671559IN
Dolomite: Partially Delayed MultiSig
0 ETH0.000908944.57

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PartiallyDelayedMultiSig

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 3 : PartiallyDelayedMultiSig.sol
/*

    Copyright 2019 dYdX Trading Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

*/

pragma solidity ^0.5.7;
pragma experimental ABIEncoderV2;

import { DelayedMultiSig } from "./DelayedMultiSig.sol";


/**
 * @title PartiallyDelayedMultiSig
 * @author dYdX
 *
 * Multi-Signature Wallet with delay in execution except for some function selectors.
 */
contract PartiallyDelayedMultiSig is
    DelayedMultiSig
{
    // ============ Events ============

    event SelectorSet(address destination, bytes4 selector, bool approved);

    // ============ Constants ============

    bytes4 constant internal BYTES_ZERO = bytes4(0x0);

    // ============ Storage ============

    // destination => function selector => can bypass timelock
    mapping (address => mapping (bytes4 => bool)) public instantData;

    // ============ Modifiers ============

    // Overrides old modifier that requires a timelock for every transaction
    modifier pastTimeLock(
        uint256 transactionId
    ) {
        // if the function selector is not exempt from timelock, then require timelock
        require(
            block.timestamp >= confirmationTimes[transactionId] + secondsTimeLocked
            || txCanBeExecutedInstantly(transactionId),
            "TIME_LOCK_INCOMPLETE"
        );
        _;
    }

    // ============ Constructor ============

    /**
     * Contract constructor sets initial owners, required number of confirmations, and time lock.
     *
     * @param  _owners               List of initial owners.
     * @param  _required             Number of required confirmations.
     * @param  _secondsTimeLocked    Duration needed after a transaction is confirmed and before it
     *                               becomes executable, in seconds.
     * @param  _noDelayDestinations  List of destinations that correspond with the selectors.
     *                               Zero address allows the function selector to be used with any
     *                               address.
     * @param  _noDelaySelectors     All function selectors that do not require a delay to execute.
     *                               Fallback function is 0x00000000.
     */
    constructor (
        address[] memory _owners,
        uint256 _required,
        uint32 _secondsTimeLocked,
        address[] memory _noDelayDestinations,
        bytes4[] memory _noDelaySelectors
    )
        public
        DelayedMultiSig(_owners, _required, _secondsTimeLocked)
    {
        require(
            _noDelayDestinations.length == _noDelaySelectors.length,
            "ADDRESS_AND_SELECTOR_MISMATCH"
        );

        for (uint256 i; i < _noDelaySelectors.length; ++i) {
            address destination = _noDelayDestinations[i];
            bytes4 selector = _noDelaySelectors[i];
            instantData[destination][selector] = true;
            emit SelectorSet(destination, selector, true);
        }
    }

    // ============ Wallet-Only Functions ============

    /**
     * Adds or removes functions that can be executed instantly. Transaction must be sent by wallet.
     *
     * @param  destination  Destination address of function. Zero address allows the function to be
     *                      sent to any address.
     * @param  selector     4-byte selector of the function. Fallback function is 0x00000000.
     * @param  approved     True if adding approval, false if removing approval.
     */
    function setSelector(
        address destination,
        bytes4 selector,
        bool approved
    )
        public
        onlyWallet
    {
        instantData[destination][selector] = approved;
        emit SelectorSet(destination, selector, approved);
    }

    // ============ Helper Functions ============

    /**
     * Returns true if transaction can be executed instantly (without timelock).
     */
    function txCanBeExecutedInstantly(
        uint256 transactionId
    )
        internal
        view
        returns (bool)
    {
        // get transaction from storage
        Transaction memory txn = transactions[transactionId];
        address dest = txn.destination;
        bytes memory data = txn.data;

        // fallback function
        if (data.length == 0) {
            return selectorCanBeExecutedInstantly(dest, BYTES_ZERO);
        }

        // invalid function selector
        if (data.length < 4) {
            return false;
        }

        // check first four bytes (function selector)
        bytes32 rawData;
        /* solium-disable-next-line security/no-inline-assembly */
        assembly {
            rawData := mload(add(data, 32))
        }
        bytes4 selector = bytes4(rawData);

        return selectorCanBeExecutedInstantly(dest, selector);
    }

    /**
     * Function selector is in instantData for address dest (or for address zero).
     */
    function selectorCanBeExecutedInstantly(
        address destination,
        bytes4 selector
    )
        internal
        view
        returns (bool)
    {
        return instantData[destination][selector]
            || instantData[ADDRESS_ZERO][selector];
    }
}

File 2 of 3 : MultiSig.sol
/*

    Copyright 2019 dYdX Trading Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

*/

pragma solidity ^0.5.7;
pragma experimental ABIEncoderV2;


/**
 * @title MultiSig
 * @author dYdX
 *
 * Multi-Signature Wallet.
 * Allows multiple parties to agree on transactions before execution.
 * Adapted from Stefan George's MultiSigWallet contract.
 *
 * Logic Changes:
 *  - Removed the fallback function
 *  - Ensure newOwner is notNull
 *
 * Syntax Changes:
 *  - Update Solidity syntax for 0.5.X: use `emit` keyword (events), use `view` keyword (functions)
 *  - Add braces to all `if` and `for` statements
 *  - Remove named return variables
 *  - Add space before and after comparison operators
 *  - Add ADDRESS_ZERO as a constant
 *  - uint => uint256
 *  - external_call => externalCall
 */
contract MultiSig {

    // ============ Events ============

    event Confirmation(address indexed sender, uint256 indexed transactionId);
    event Revocation(address indexed sender, uint256 indexed transactionId);
    event Submission(uint256 indexed transactionId);
    event Execution(uint256 indexed transactionId);
    event ExecutionFailure(uint256 indexed transactionId, string error);
    event OwnerAddition(address indexed owner);
    event OwnerRemoval(address indexed owner);
    event RequirementChange(uint256 required);

    // ============ Constants ============

    uint256 constant public MAX_OWNER_COUNT = 50;
    address constant ADDRESS_ZERO = address(0x0);

    // ============ Storage ============

    mapping (uint256 => Transaction) public transactions;
    mapping (uint256 => mapping (address => bool)) public confirmations;
    mapping (address => bool) public isOwner;
    address[] public owners;
    uint256 public required;
    uint256 public transactionCount;

    // ============ Structs ============

    struct Transaction {
        address destination;
        uint256 value;
        bytes data;
        bool executed;
    }

    // ============ Modifiers ============

    modifier onlyWallet() {
        require(msg.sender == address(this), "ONLY_WALLET");
        _;
    }

    modifier ownerDoesNotExist(
        address owner
    ) {
        require(!isOwner[owner], "OWNER_EXISTS");
        _;
    }

    modifier ownerExists(
        address owner
    ) {
        require(isOwner[owner], "OWNER_DOES_NOT_EXIST");
        _;
    }

    modifier transactionExists(
        uint256 transactionId
    ) {
        require(transactions[transactionId].destination != ADDRESS_ZERO, "TRANSACTION_DOES_NOT_EXIST");
        _;
    }

    modifier confirmed(
        uint256 transactionId,
        address owner
    ) {
        require(confirmations[transactionId][owner], "TRANSACTION_NOT_CONFIRMED");
        _;
    }

    modifier notConfirmed(
        uint256 transactionId,
        address owner
    ) {
        require(!confirmations[transactionId][owner], "TRANSACTION_ALREADY_CONFIRMED");
        _;
    }

    modifier notExecuted(
        uint256 transactionId
    ) {
        require(!transactions[transactionId].executed, "TRANSACTION_ALREADY_EXECUTED");
        _;
    }

    modifier notNull(
        address _address
    ) {
        require(_address != ADDRESS_ZERO, "ADDRESS_IS_NULL");
        _;
    }

    modifier validRequirement(
        uint256 ownerCount,
        uint256 _required
    ) {
        require(
            ownerCount <= MAX_OWNER_COUNT
            && _required <= ownerCount
            && _required != 0
            && ownerCount != 0,
            "NO_REQUIREMENTS"
        );
        _;
    }

    // ============ Constructor ============

    /**
     * Contract constructor sets initial owners and required number of confirmations.
     *
     * @param  _owners    List of initial owners.
     * @param  _required  Number of required confirmations.
     */
    constructor(
        address[] memory _owners,
        uint256 _required
    )
        public
        validRequirement(_owners.length, _required)
    {
        for (uint256 i; i < _owners.length; ++i) {
            require(!isOwner[_owners[i]] && _owners[i] != ADDRESS_ZERO, "ALREADY_OWNER");
            isOwner[_owners[i]] = true;
        }
        owners = _owners;
        required = _required;
    }

    // ============ Wallet-Only Functions ============

    /**
     * Allows to add a new owner. Transaction has to be sent by wallet.
     *
     * @param  owner  Address of new owner.
     */
    function addOwner(
        address owner
    )
        public
        onlyWallet
        ownerDoesNotExist(owner)
        notNull(owner)
        validRequirement(owners.length + 1, required)
    {
        isOwner[owner] = true;
        owners.push(owner);
        emit OwnerAddition(owner);
    }

    /**
     * Allows to remove an owner. Transaction has to be sent by wallet.
     *
     * @param  owner  Address of owner.
     */
    function removeOwner(
        address owner
    )
        public
        onlyWallet
        ownerExists(owner)
    {
        isOwner[owner] = false;
        for (uint256 i; i < owners.length - 1; ++i) {
            if (owners[i] == owner) {
                owners[i] = owners[owners.length - 1];
                break;
            }
        }
        owners.length -= 1;
        if (required > owners.length) {
            changeRequirement(owners.length);
        }
        emit OwnerRemoval(owner);
    }

    /**
     * Allows to replace an owner with a new owner. Transaction has to be sent by wallet.
     *
     * @param  owner     Address of owner to be replaced.
     * @param  newOwner  Address of new owner.
     */
    function replaceOwner(
        address owner,
        address newOwner
    )
        public
        onlyWallet
        ownerExists(owner)
        ownerDoesNotExist(newOwner)
        notNull(newOwner)
    {
        for (uint256 i; i < owners.length; ++i) {
            if (owners[i] == owner) {
                owners[i] = newOwner;
                break;
            }
        }
        isOwner[owner] = false;
        isOwner[newOwner] = true;
        emit OwnerRemoval(owner);
        emit OwnerAddition(newOwner);
    }

    /**
     * Allows to change the number of required confirmations. Transaction has to be sent by wallet.
     *
     * @param  _required  Number of required confirmations.
     */
    function changeRequirement(
        uint256 _required
    )
        public
        onlyWallet
        validRequirement(owners.length, _required)
    {
        required = _required;
        emit RequirementChange(_required);
    }

    // ============ Admin Functions ============

    /**
     * Allows an owner to submit and confirm a transaction.
     *
     * @param  destination  Transaction target address.
     * @param  value        Transaction ether value.
     * @param  data         Transaction data payload.
     * @return              Transaction ID.
     */
    function submitTransaction(
        address destination,
        uint256 value,
        bytes memory data
    )
        public
        returns (uint256)
    {
        uint256 transactionId = _addTransaction(destination, value, data);
        confirmTransaction(transactionId);
        return transactionId;
    }

    /**
     * Allows an owner to confirm a transaction.
     *
     * @param  transactionId  Transaction ID.
     */
    function confirmTransaction(
        uint256 transactionId
    )
        public
        ownerExists(msg.sender)
        transactionExists(transactionId)
        notConfirmed(transactionId, msg.sender)
    {
        confirmations[transactionId][msg.sender] = true;
        emit Confirmation(msg.sender, transactionId);
        executeTransaction(transactionId);
    }

    /**
     * Allows an owner to revoke a confirmation for a transaction.
     *
     * @param  transactionId  Transaction ID.
     */
    function revokeConfirmation(
        uint256 transactionId
    )
        public
        ownerExists(msg.sender)
        confirmed(transactionId, msg.sender)
        notExecuted(transactionId)
    {
        confirmations[transactionId][msg.sender] = false;
        emit Revocation(msg.sender, transactionId);
    }

    /**
     * Allows an owner to execute a confirmed transaction.
     *
     * @param  transactionId  Transaction ID.
     */
    function executeTransaction(
        uint256 transactionId
    )
        public
        ownerExists(msg.sender)
        confirmed(transactionId, msg.sender)
        notExecuted(transactionId)
    {
        if (isConfirmed(transactionId)) {
            Transaction storage txn = transactions[transactionId];
            txn.executed = true;
            (bool success, string memory error) = _externalCall(txn.destination, txn.value, txn.data);
            if (success) {
                emit Execution(transactionId);
            } else {
                emit ExecutionFailure(transactionId, error);
                txn.executed = false;
            }
        }
    }

    // ============ Getter Functions ============

    /**
     * Returns the confirmation status of a transaction.
     *
     * @param  transactionId  Transaction ID.
     * @return                Confirmation status.
     */
    function isConfirmed(
        uint256 transactionId
    )
        public
        view
        returns (bool)
    {
        uint256 count = 0;
        for (uint256 i; i < owners.length; ++i) {
            if (confirmations[transactionId][owners[i]]) {
                count += 1;
            }
            if (count == required) {
                return true;
            }
        }
        return false;
    }

    /**
     * Returns number of confirmations of a transaction.
     *
     * @param  transactionId  Transaction ID.
     * @return                Number of confirmations.
     */
    function getConfirmationCount(
        uint256 transactionId
    )
        public
        view
        returns (uint256)
    {
        uint256 count = 0;
        for (uint256 i; i < owners.length; ++i) {
            if (confirmations[transactionId][owners[i]]) {
                count += 1;
            }
        }
        return count;
    }

    /**
     * Returns total number of transactions after filers are applied.
     *
     * @param  pending   Include pending transactions.
     * @param  executed  Include executed transactions.
     * @return           Total number of transactions after filters are applied.
     */
    function getTransactionCount(
        bool pending,
        bool executed
    )
        public
        view
        returns (uint256)
    {
        uint256 count = 0;
        for (uint256 i; i < transactionCount; ++i) {
            if (
                pending && !transactions[i].executed
                || executed && transactions[i].executed
            ) {
                count += 1;
            }
        }
        return count;
    }

    /**
     * Returns array of owners.
     *
     * @return  Array of owner addresses.
     */
    function getOwners()
        public
        view
        returns (address[] memory)
    {
        return owners;
    }

    /**
     * Returns array with owner addresses, which confirmed transaction.
     *
     * @param  transactionId  Transaction ID.
     * @return                Array of owner addresses.
     */
    function getConfirmations(
        uint256 transactionId
    )
        public
        view
        returns (address[] memory)
    {
        address[] memory confirmationsTemp = new address[](owners.length);
        uint256 count = 0;
        uint256 i;
        for (i = 0; i < owners.length; ++i) {
            if (confirmations[transactionId][owners[i]]) {
                confirmationsTemp[count] = owners[i];
                count += 1;
            }
        }
        address[] memory _confirmations = new address[](count);
        for (i = 0; i < count; ++i) {
            _confirmations[i] = confirmationsTemp[i];
        }
        return _confirmations;
    }

    /**
     * Returns list of transaction IDs in defined range.
     *
     * @param  from      Index start position of transaction array.
     * @param  to        Index end position of transaction array.
     * @param  pending   Include pending transactions.
     * @param  executed  Include executed transactions.
     * @return           Array of transaction IDs.
     */
    function getTransactionIds(
        uint256 from,
        uint256 to,
        bool pending,
        bool executed
    )
        public
        view
        returns (uint256[] memory)
    {
        uint256[] memory transactionIdsTemp = new uint256[](transactionCount);
        uint256 count = 0;
        uint256 i;
        for (i = 0; i < transactionCount; ++i) {
            if (
                pending && !transactions[i].executed
                || executed && transactions[i].executed
            ) {
                transactionIdsTemp[count] = i;
                count += 1;
            }
        }
        uint256[] memory _transactionIds = new uint256[](to - from);
        for (i = from; i < to; ++i) {
            _transactionIds[i - from] = transactionIdsTemp[i];
        }
        return _transactionIds;
    }

    // ============ Helper Functions ============

    // call has been separated into its own function in order to take advantage
    // of the Solidity's code generator to produce a loop that copies tx.data into memory.
    function _externalCall(
        address destination,
        uint256 value,
        bytes memory data
    )
        internal
        returns (bool, string memory)
    {
        // solium-disable-next-line security/no-call-value
        (bool success, bytes memory result) = destination.call.value(value)(data);
        if (!success) {
            string memory targetString = _addressToString(destination);
            if (result.length < 68) {
                return (false, string(abi.encodePacked("MultiSig::_externalCall: revert at <", targetString, ">")));
            } else {
                // solium-disable-next-line security/no-inline-assembly
                assembly {
                    result := add(result, 0x04)
                }
                return (
                    false,
                    string(
                        abi.encodePacked(
                            "MultiSig::_externalCall: revert at <",
                            targetString,
                            "> with reason: ",
                            abi.decode(result, (string))
                        )
                    )
                );
            }
        } else {
            return (true, "");
        }
    }

    /**
     * Adds a new transaction to the transaction mapping, if transaction does not exist yet.
     *
     * @param  destination  Transaction target address.
     * @param  value        Transaction ether value.
     * @param  data         Transaction data payload.
     * @return              Transaction ID.
     */
    function _addTransaction(
        address destination,
        uint256 value,
        bytes memory data
    )
        internal
        notNull(destination)
        returns (uint256)
    {
        uint256 transactionId = transactionCount;
        transactions[transactionId] = Transaction({
            destination: destination,
            value: value,
            data: data,
            executed: false
        });
        transactionCount += 1;
        emit Submission(transactionId);
        return transactionId;
    }

    function _addressToString(address _address) internal pure returns(string memory) {
        bytes32 _bytes = bytes32(uint256(_address));
        bytes memory HEX = "0123456789abcdef";
        bytes memory _string = new bytes(42);
        _string[0] = "0";
        _string[1] = "x";
        for (uint256 i; i < 20; ++i) {
            _string[2 + i * 2] = HEX[uint8(_bytes[i + 12] >> 4)];
            _string[3 + i * 2] = HEX[uint8(_bytes[i + 12] & 0x0f)];
        }
        return string(_string);
    }
}

File 3 of 3 : DelayedMultiSig.sol
/*

    Copyright 2019 dYdX Trading Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

*/

pragma solidity ^0.5.7;
pragma experimental ABIEncoderV2;

import { MultiSig } from "./MultiSig.sol";


/**
 * @title DelayedMultiSig
 * @author dYdX
 *
 * Multi-Signature Wallet with delay in execution.
 * Allows multiple parties to execute a transaction after a time lock has passed.
 * Adapted from Amir Bandeali's MultiSigWalletWithTimeLock contract.

 * Logic Changes:
 *  - Only owners can execute transactions
 *  - Require that each transaction succeeds
 *  - Added function to execute multiple transactions within the same Ethereum transaction
 */
contract DelayedMultiSig is
    MultiSig
{
    // ============ Events ============

    event ConfirmationTimeSet(uint256 indexed transactionId, uint256 confirmationTime);
    event TimeLockChange(uint32 secondsTimeLocked);

    // ============ Storage ============

    uint32 public secondsTimeLocked;
    mapping (uint256 => uint256) public confirmationTimes;

    // ============ Modifiers ============

    modifier notFullyConfirmed(
        uint256 transactionId
    ) {
        require(
            !isConfirmed(transactionId),
            "TX_FULLY_CONFIRMED"
        );
        _;
    }

    modifier fullyConfirmed(
        uint256 transactionId
    ) {
        require(
            isConfirmed(transactionId),
            "TX_NOT_FULLY_CONFIRMED"
        );
        _;
    }

    modifier pastTimeLock(
        uint256 transactionId
    ) {
        require(
            block.timestamp >= confirmationTimes[transactionId] + secondsTimeLocked,
            "TIME_LOCK_INCOMPLETE"
        );
        _;
    }

    // ============ Constructor ============

    /**
     * Contract constructor sets initial owners, required number of confirmations, and time lock.
     *
     * @param  _owners             List of initial owners.
     * @param  _required           Number of required confirmations.
     * @param  _secondsTimeLocked  Duration needed after a transaction is confirmed and before it
     *                             becomes executable, in seconds.
     */
    constructor (
        address[] memory _owners,
        uint256 _required,
        uint32 _secondsTimeLocked
    )
        public
        MultiSig(_owners, _required)
    {
        secondsTimeLocked = _secondsTimeLocked;
    }

    // ============ Wallet-Only Functions ============

    /**
     * Changes the duration of the time lock for transactions.
     *
     * @param  _secondsTimeLocked  Duration needed after a transaction is confirmed and before it
     *                             becomes executable, in seconds.
     */
    function changeTimeLock(
        uint32 _secondsTimeLocked
    )
        public
        onlyWallet
    {
        secondsTimeLocked = _secondsTimeLocked;
        emit TimeLockChange(_secondsTimeLocked);
    }

    // ============ Admin Functions ============

    /**
     * Allows an owner to confirm a transaction.
     * Overrides the function in MultiSig.
     *
     * @param  transactionId  Transaction ID.
     */
    function confirmTransaction(
        uint256 transactionId
    )
        public
        ownerExists(msg.sender)
        transactionExists(transactionId)
        notConfirmed(transactionId, msg.sender)
        notFullyConfirmed(transactionId)
    {
        confirmations[transactionId][msg.sender] = true;
        emit Confirmation(msg.sender, transactionId);
        if (isConfirmed(transactionId)) {
            setConfirmationTime(transactionId, block.timestamp);
        }
    }

    /**
     * Allows an owner to execute a confirmed transaction.
     * Overrides the function in MultiSig.
     *
     * @param  transactionId  Transaction ID.
     */
    function executeTransaction(
        uint256 transactionId
    )
        public
        ownerExists(msg.sender)
        notExecuted(transactionId)
        fullyConfirmed(transactionId)
        pastTimeLock(transactionId)
    {
        Transaction storage txn = transactions[transactionId];
        txn.executed = true;
        (bool success, string memory errorMessage) = _externalCall(
            txn.destination,
            txn.value,
            txn.data
        );
        require(
            success,
            errorMessage
        );
        emit Execution(transactionId);
    }

    /**
     * Allows an owner to execute multiple confirmed transactions.
     *
     * @param  transactionIds  List of transaction IDs.
     */
    function executeMultipleTransactions(
        uint256[] memory transactionIds
    )
        public
        ownerExists(msg.sender)
    {
        for (uint256 i; i < transactionIds.length; ++i) {
            executeTransaction(transactionIds[i]);
        }
    }

    // ============ Helper Functions ============

    /**
     * Sets the time of when a submission first passed.
     */
    function setConfirmationTime(
        uint256 transactionId,
        uint256 confirmationTime
    )
        internal
    {
        confirmationTimes[transactionId] = confirmationTime;
        emit ConfirmationTimeSet(transactionId, confirmationTime);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address[]","name":"_owners","type":"address[]"},{"internalType":"uint256","name":"_required","type":"uint256"},{"internalType":"uint32","name":"_secondsTimeLocked","type":"uint32"},{"internalType":"address[]","name":"_noDelayDestinations","type":"address[]"},{"internalType":"bytes4[]","name":"_noDelaySelectors","type":"bytes4[]"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"Confirmation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"transactionId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"confirmationTime","type":"uint256"}],"name":"ConfirmationTimeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"Execution","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"transactionId","type":"uint256"},{"indexed":false,"internalType":"string","name":"error","type":"string"}],"name":"ExecutionFailure","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"OwnerAddition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"OwnerRemoval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"required","type":"uint256"}],"name":"RequirementChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"Revocation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"bytes4","name":"selector","type":"bytes4"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"SelectorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"Submission","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"secondsTimeLocked","type":"uint32"}],"name":"TimeLockChange","type":"event"},{"constant":true,"inputs":[],"name":"MAX_OWNER_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"addOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_required","type":"uint256"}],"name":"changeRequirement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint32","name":"_secondsTimeLocked","type":"uint32"}],"name":"changeTimeLock","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"confirmTransaction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"confirmationTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"confirmations","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256[]","name":"transactionIds","type":"uint256[]"}],"name":"executeMultipleTransactions","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"executeTransaction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"getConfirmationCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"getConfirmations","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getOwners","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bool","name":"pending","type":"bool"},{"internalType":"bool","name":"executed","type":"bool"}],"name":"getTransactionCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"from","type":"uint256"},{"internalType":"uint256","name":"to","type":"uint256"},{"internalType":"bool","name":"pending","type":"bool"},{"internalType":"bool","name":"executed","type":"bool"}],"name":"getTransactionIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes4","name":"","type":"bytes4"}],"name":"instantData","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"isConfirmed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"owners","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"removeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"replaceOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"required","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"revokeConfirmation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"secondsTimeLocked","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setSelector","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"submitTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"transactionCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"transactions","outputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bool","name":"executed","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200325e3803806200325e833981016040819052620000349162000471565b8484848282815181603282111580156200004e5750818111155b80156200005a57508015155b80156200006657508115155b6200008e5760405162461bcd60e51b815260040162000085906200063a565b60405180910390fd5b60005b8451811015620001755760026000868381518110620000ac57fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff1615801562000108575060006001600160a01b0316858281518110620000f457fe5b60200260200101516001600160a01b031614155b620001275760405162461bcd60e51b815260040162000085906200064c565b6001600260008784815181106200013a57fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905560010162000091565b5083516200018b906003906020870190620002a1565b505050600455506006805463ffffffff191663ffffffff9290921691909117905550508051825114620001d25760405162461bcd60e51b8152600401620000859062000628565b60005b815181101562000295576000838281518110620001ee57fe5b6020026020010151905060008383815181106200020757fe5b6020908102919091018101516001600160a01b03841660009081526008835260408082206001600160e01b031984168352909352829020805460ff1916600190811790915591519092507f167b34692fcade222029b0e3d79a409a03911f7f8006adc78a23f48e1fb177ff91620002829185918591620005f2565b60405180910390a15050600101620001d5565b5050505050506200071e565b828054828255906000526020600020908101928215620002f9579160200282015b82811115620002f957825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620002c2565b50620003079291506200030b565b5090565b6200033291905b80821115620003075780546001600160a01b031916815560010162000312565b90565b80516200034281620006e3565b92915050565b600082601f8301126200035a57600080fd5b8151620003716200036b8262000685565b6200065e565b915081818352602084019350602081019050838560208402820111156200039757600080fd5b60005b83811015620003c75781620003b0888262000335565b84525060209283019291909101906001016200039a565b5050505092915050565b600082601f830112620003e357600080fd5b8151620003f46200036b8262000685565b915081818352602084019350602081019050838560208402820111156200041a57600080fd5b60005b83811015620003c757816200043388826200044a565b84525060209283019291909101906001016200041d565b80516200034281620006fd565b8051620003428162000708565b8051620003428162000713565b600080600080600060a086880312156200048a57600080fd5b85516001600160401b03811115620004a157600080fd5b620004af8882890162000348565b9550506020620004c28882890162000457565b9450506040620004d58882890162000464565b93505060608601516001600160401b03811115620004f257600080fd5b620005008882890162000348565b92505060808601516001600160401b038111156200051d57600080fd5b6200052b88828901620003d1565b9150509295509295909350565b6200054381620006af565b82525050565b6200054381620006bc565b6200054381620006c1565b60006200056e601d83620006a6565b7f414444524553535f414e445f53454c4543544f525f4d49534d41544348000000815260200192915050565b6000620005a9600f83620006a6565b6e4e4f5f524551554952454d454e545360881b815260200192915050565b6000620005d6600d83620006a6565b6c20a62922a0a22cafa7aba722a960991b815260200192915050565b6060810162000602828662000538565b62000611602083018562000554565b62000620604083018462000549565b949350505050565b6020808252810162000342816200055f565b6020808252810162000342816200059a565b602080825281016200034281620005c7565b6040518181016001600160401b03811182821017156200067d57600080fd5b604052919050565b60006001600160401b038211156200069c57600080fd5b5060209081020190565b90815260200190565b60006200034282620006ce565b151590565b6001600160e01b03191690565b6001600160a01b031690565b63ffffffff1690565b620006ee81620006af565b8114620006fa57600080fd5b50565b620006ee81620006c1565b620006ee8162000332565b620006ee81620006da565b612b30806200072e6000396000f3fe608060405234801561001057600080fd5b50600436106101b95760003560e01c8063a029b36b116100f9578063c642747411610097578063dc8452cd11610071578063dc8452cd146103b0578063e20056e6146103b8578063ee22610b146103cb578063f83f4432146103de576101b9565b8063c642747414610382578063d38f2d8214610395578063d74f8edd146103a8576101b9565b8063b5dc40c3116100d3578063b5dc40c314610341578063b77bf60014610354578063ba51a6df1461035c578063c01a8c841461036f576101b9565b8063a029b36b146102f9578063a0e67e2b1461030c578063a8abe69a14610321576101b9565b80634bde5e0a11610166578063784547a711610140578063784547a71461029d57806380bc148f146102b05780638b51d13f146102c35780639ace38c2146102d6576101b9565b80634bde5e0a14610257578063547415251461026a5780637065cb481461028a576101b9565b80632f54bf6e116101975780632f54bf6e1461020f5780633411c81c1461022f57806337bd78a014610242576101b9565b8063025e7c27146101be578063173825d9146101e757806320ea8d86146101fc575b600080fd5b6101d16101cc3660046121d1565b6103f1565b6040516101de91906127c7565b60405180910390f35b6101fa6101f5366004612007565b610425565b005b6101fa61020a3660046121d1565b610628565b61022261021d366004612007565b610717565b6040516101de919061285b565b61022261023d3660046121ef565b61072c565b61024a61074c565b6040516101de9190612948565b61022261026536600461205f565b610758565b61027d61027836600461216c565b610778565b6040516101de919061293a565b6101fa610298366004612007565b6107e8565b6102226102ab3660046121d1565b610987565b6101fa6102be366004612137565b610a1f565b61027d6102d13660046121d1565b610a83565b6102e96102e43660046121d1565b610b01565b6040516101de94939291906127fd565b6101fa61030736600461226f565b610bcc565b610314610c56565b6040516101de9190612839565b61033461032f36600461220e565b610cc6565b6040516101de919061284a565b61031461034f3660046121d1565b610dfa565b61027d610fcd565b6101fa61036a3660046121d1565b610fd3565b6101fa61037d3660046121d1565b61107b565b61027d6103903660046120dc565b6111bf565b61027d6103a33660046121d1565b6111d8565b61027d6111ea565b61027d6111ef565b6101fa6103c6366004612025565b6111f5565b6101fa6103d93660046121d1565b611448565b6101fa6103ec36600461208f565b61164d565b600381815481106103fe57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b33301461044d5760405162461bcd60e51b8152600401610444906128aa565b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040902054819060ff166104945760405162461bcd60e51b8152600401610444906128ea565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260408120805460ff191690555b600354600019018110156105b6578273ffffffffffffffffffffffffffffffffffffffff16600382815481106104f457fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614156105ae5760038054600019810190811061052e57fe5b6000918252602090912001546003805473ffffffffffffffffffffffffffffffffffffffff909216918390811061056157fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506105b6565b6001016104c2565b506003805460001901906105ca9082611dc0565b5060035460045411156105e3576003546105e390610fd3565b60405173ffffffffffffffffffffffffffffffffffffffff8316907f8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b9090600090a25050565b3360008181526002602052604090205460ff166106575760405162461bcd60e51b8152600401610444906128ea565b60008281526001602090815260408083203380855292529091205483919060ff166106945760405162461bcd60e51b8152600401610444906128da565b600084815260208190526040902060030154849060ff16156106c85760405162461bcd60e51b8152600401610444906128ca565b6000858152600160209081526040808320338085529252808320805460ff191690555187927ff6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e991a35050505050565b60026020526000908152604090205460ff1681565b600160209081526000928352604080842090915290825290205460ff1681565b60065463ffffffff1681565b600860209081526000928352604080842090915290825290205460ff1681565b600080805b6005548110156107de578480156107a6575060008181526020819052604090206003015460ff16155b806107ca57508380156107ca575060008181526020819052604090206003015460ff165b156107d6576001820191505b60010161077d565b5090505b92915050565b3330146108075760405162461bcd60e51b8152600401610444906128aa565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040902054819060ff161561084f5760405162461bcd60e51b81526004016104449061287a565b8173ffffffffffffffffffffffffffffffffffffffff81166108835760405162461bcd60e51b8152600401610444906128fa565b600380549050600101600454603282111580156108a05750818111155b80156108ab57508015155b80156108b657508115155b6108d25760405162461bcd60e51b81526004016104449061289a565b73ffffffffffffffffffffffffffffffffffffffff8516600081815260026020526040808220805460ff1916600190811790915560038054918201815583527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001684179055517ff39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d9190a25050505050565b600080805b600354811015610a1357600084815260016020526040812060038054919291849081106109b557fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205460ff16156109f6576001820191505b600454821415610a0b57600192505050610a1a565b60010161098c565b5060009150505b919050565b3360008181526002602052604090205460ff16610a4e5760405162461bcd60e51b8152600401610444906128ea565b60005b8251811015610a7e57610a76838281518110610a6957fe5b6020026020010151611448565b600101610a51565b505050565b600080805b600354811015610afa5760008481526001602052604081206003805491929184908110610ab157fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205460ff1615610af2576001820191505b600101610a88565b5092915050565b6000602081815291815260409081902080546001808301546002808501805487516101009582161595909502600019011691909104601f810188900488028401880190965285835273ffffffffffffffffffffffffffffffffffffffff90931695909491929190830182828015610bb95780601f10610b8e57610100808354040283529160200191610bb9565b820191906000526020600020905b815481529060010190602001808311610b9c57829003601f168201915b5050506003909301549192505060ff1684565b333014610beb5760405162461bcd60e51b8152600401610444906128aa565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff83161790556040517f8b01775fda0a3eb53a1e7b3a734cd346761d446aeb72745e17951c0f0ec2b16490610c4b908390612948565b60405180910390a150565b60606003805480602002602001604051908101604052809291908181526020018280548015610cbb57602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff168152600190910190602001808311610c90575b505050505090505b90565b606080600554604051908082528060200260200182016040528015610cf5578160200160208202803883390190505b5090506000805b600554811015610d7657858015610d25575060008181526020819052604090206003015460ff16155b80610d495750848015610d49575060008181526020819052604090206003015460ff165b15610d6e5780838381518110610d5b57fe5b6020026020010181815250506001820191505b600101610cfc565b6060888803604051908082528060200260200182016040528015610da4578160200160208202803883390190505b5090508891505b87821015610dec57838281518110610dbf57fe5b6020026020010151818a840381518110610dd557fe5b602002602001018181525050816001019150610dab565b93505050505b949350505050565b606080600380549050604051908082528060200260200182016040528015610e2c578160200160208202803883390190505b5090506000805b600354811015610f235760008581526001602052604081206003805491929184908110610e5c57fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205460ff1615610f1b5760038181548110610ea357fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838381518110610eda57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506001820191505b600101610e33565b606082604051908082528060200260200182016040528015610f4f578160200160208202803883390190505b509050600091505b82821015610fc457838281518110610f6b57fe5b6020026020010151818381518110610f7f57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050816001019150610f57565b95945050505050565b60055481565b333014610ff25760405162461bcd60e51b8152600401610444906128aa565b60035481603282118015906110075750818111155b801561101257508015155b801561101d57508115155b6110395760405162461bcd60e51b81526004016104449061289a565b60048390556040517fa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a9061106e90859061293a565b60405180910390a1505050565b3360008181526002602052604090205460ff166110aa5760405162461bcd60e51b8152600401610444906128ea565b600082815260208190526040902054829073ffffffffffffffffffffffffffffffffffffffff166110ed5760405162461bcd60e51b8152600401610444906128ba565b60008381526001602090815260408083203380855292529091205484919060ff161561112b5760405162461bcd60e51b81526004016104449061290a565b8461113581610987565b156111525760405162461bcd60e51b81526004016104449061292a565b6000868152600160208181526040808420338086529252808420805460ff1916909317909255905188927f4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef91a36111a886610987565b156111b7576111b786426116fe565b505050505050565b6000806111cd85858561174d565b9050610df28161107b565b60076020526000908152604090205481565b603281565b60045481565b3330146112145760405162461bcd60e51b8152600401610444906128aa565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054829060ff1661125b5760405162461bcd60e51b8152600401610444906128ea565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054829060ff16156112a35760405162461bcd60e51b81526004016104449061287a565b8273ffffffffffffffffffffffffffffffffffffffff81166112d75760405162461bcd60e51b8152600401610444906128fa565b60005b600354811015611393578573ffffffffffffffffffffffffffffffffffffffff166003828154811061130857fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561138b57846003828154811061133e57fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611393565b6001016112da565b5073ffffffffffffffffffffffffffffffffffffffff808616600081815260026020526040808220805460ff1990811690915593881682528082208054909416600117909355915190917f8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b9091a260405173ffffffffffffffffffffffffffffffffffffffff8516907ff39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d90600090a25050505050565b3360008181526002602052604090205460ff166114775760405162461bcd60e51b8152600401610444906128ea565b600082815260208190526040902060030154829060ff16156114ab5760405162461bcd60e51b8152600401610444906128ca565b826114b581610987565b6114d15760405162461bcd60e51b81526004016104449061288a565b600654600085815260076020526040902054859163ffffffff1601421015806114fe57506114fe81611870565b61151a5760405162461bcd60e51b81526004016104449061291a565b600085815260208181526040808320600381018054600160ff1990911681179091558154818301546002808501805487516101009682161596909602600019011691909104601f81018890048802850188019096528584529396956060956115f39573ffffffffffffffffffffffffffffffffffffffff909416949293918301828280156115e95780601f106115be576101008083540402835291602001916115e9565b820191906000526020600020905b8154815290600101906020018083116115cc57829003601f168201915b50505050506119b4565b915091508181906116175760405162461bcd60e51b81526004016104449190612869565b5060405188907f33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed7590600090a25050505050505050565b33301461166c5760405162461bcd60e51b8152600401610444906128aa565b73ffffffffffffffffffffffffffffffffffffffff831660009081526008602090815260408083207fffffffff000000000000000000000000000000000000000000000000000000008616845290915290819020805460ff1916831515179055517f167b34692fcade222029b0e3d79a409a03911f7f8006adc78a23f48e1fb177ff9061106e908590859085906127d5565b600082815260076020526040908190208290555182907f0b237afe65f1514fd7ea3f923ea4fe792bdd07000a912b6cd1602a8e7f573c8d9061174190849061293a565b60405180910390a25050565b60008373ffffffffffffffffffffffffffffffffffffffff81166117835760405162461bcd60e51b8152600401610444906128fa565b6005546040805160808101825273ffffffffffffffffffffffffffffffffffffffff8881168252602080830189815283850189815260006060860181905287815280845295909520845181547fffffffffffffffffffffffff000000000000000000000000000000000000000016941693909317835551600183015592518051929391926118179260028501920190611de4565b50606091909101516003909101805460ff191691151591909117905560058054600101905560405181907fc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e5190600090a295945050505050565b600061187a611e62565b600083815260208181526040918290208251608081018452815473ffffffffffffffffffffffffffffffffffffffff168152600180830154828501526002808401805487516101009482161594909402600019011691909104601f810186900486028301860187528083529295939493860193919290918301828280156119425780601f1061191757610100808354040283529160200191611942565b820191906000526020600020905b81548152906001019060200180831161192557829003601f168201915b50505091835250506003919091015460ff161515602090910152805160408201518051929350909161198357611979826000611ac2565b9350505050610a1a565b6004815110156119995760009350505050610a1a565b6020810151806119a98482611ac2565b979650505050505050565b60006060600060608673ffffffffffffffffffffffffffffffffffffffff1686866040516119e2919061276b565b60006040518083038185875af1925050503d8060008114611a1f576040519150601f19603f3d011682016040523d82523d6000602084013e611a24565b606091505b509150915081611aa1576060611a3988611b7a565b9050604482511015611a7357600081604051602001611a5891906127a5565b60405160208183030381529060405294509450505050611aba565b60048201915060008183806020019051611a90919081019061219c565b604051602001611a58929190612777565b6001604051806020016040528060008152509350935050505b935093915050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526008602090815260408083207fffffffff000000000000000000000000000000000000000000000000000000008516845290915281205460ff1680611b7357507fffffffff00000000000000000000000000000000000000000000000000000000821660009081527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c7602052604090205460ff165b9392505050565b604080518082018252601081527f303132333435363738396162636465660000000000000000000000000000000060208201528151602a808252606082810190945273ffffffffffffffffffffffffffffffffffffffff8516929184916020820181803883390190505090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611c1457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611c7157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b6014811015611db7578260048583600c0160208110611cbe57fe5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c60ff1681518110611cf657fe5b602001015160f81c60f81b828260020260020181518110611d1357fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350828482600c0160208110611d5257fe5b825191901a600f16908110611d6357fe5b602001015160f81c60f81b828260020260030181518110611d8057fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101611ca3565b50949350505050565b815481835581811115610a7e57600083815260209020610a7e918101908301611ea2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611e2557805160ff1916838001178555611e52565b82800160010185558215611e52579182015b82811115611e52578251825591602001919060010190611e37565b50611e5e929150611ea2565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001606081526020016000151581525090565b610cc391905b80821115611e5e5760008155600101611ea8565b80356107e281612ab2565b600082601f830112611ed857600080fd5b8135611eeb611ee68261297d565b612956565b91508181835260208401935060208101905083856020840282011115611f1057600080fd5b60005b83811015611f3c5781611f268882611ff1565b8452506020928301929190910190600101611f13565b5050505092915050565b80356107e281612ac9565b80356107e281612ad2565b600082601f830112611f6d57600080fd5b8135611f7b611ee68261299e565b91508082526020830160208301858383011115611f9757600080fd5b611fa2838284612a4e565b50505092915050565b600082601f830112611fbc57600080fd5b8151611fca611ee68261299e565b91508082526020830160208301858383011115611fe657600080fd5b611fa2838284612a5a565b80356107e281612adb565b80356107e281612ae4565b60006020828403121561201957600080fd5b6000610df28484611ebc565b6000806040838503121561203857600080fd5b60006120448585611ebc565b925050602061205585828601611ebc565b9150509250929050565b6000806040838503121561207257600080fd5b600061207e8585611ebc565b925050602061205585828601611f51565b6000806000606084860312156120a457600080fd5b60006120b08686611ebc565b93505060206120c186828701611f51565b92505060406120d286828701611f46565b9150509250925092565b6000806000606084860312156120f157600080fd5b60006120fd8686611ebc565b935050602061210e86828701611ff1565b925050604084013567ffffffffffffffff81111561212b57600080fd5b6120d286828701611f5c565b60006020828403121561214957600080fd5b813567ffffffffffffffff81111561216057600080fd5b610df284828501611ec7565b6000806040838503121561217f57600080fd5b600061218b8585611f46565b925050602061205585828601611f46565b6000602082840312156121ae57600080fd5b815167ffffffffffffffff8111156121c557600080fd5b610df284828501611fab565b6000602082840312156121e357600080fd5b6000610df28484611ff1565b6000806040838503121561220257600080fd5b60006120448585611ff1565b6000806000806080858703121561222457600080fd5b60006122308787611ff1565b945050602061224187828801611ff1565b935050604061225287828801611f46565b925050606061226387828801611f46565b91505092959194509250565b60006020828403121561228157600080fd5b6000610df28484611ffc565b600061229983836122ad565b505060200190565b60006122998383612759565b6122b6816129f7565b82525050565b60006122c7826129ea565b6122d181856129ee565b93506122dc836129e4565b8060005b8381101561230a5781516122f4888261228d565b97506122ff836129e4565b9250506001016122e0565b509495945050505050565b6000612320826129ea565b61232a81856129ee565b9350612335836129e4565b8060005b8381101561230a57815161234d88826122a1565b9750612358836129e4565b925050600101612339565b6122b681612a02565b6122b681612a07565b6000612380826129ea565b61238a8185610a1a565b935061239a818560208601612a5a565b9290920192915050565b60006123af826129ea565b6123b981856129ee565b93506123c9818560208601612a5a565b6123d281612a8a565b9093019392505050565b60006123e9600c836129ee565b7f4f574e45525f4558495354530000000000000000000000000000000000000000815260200192915050565b60006124226016836129ee565b7f54585f4e4f545f46554c4c595f434f4e4649524d454400000000000000000000815260200192915050565b600061245b600f836129ee565b7f4e4f5f524551554952454d454e54530000000000000000000000000000000000815260200192915050565b6000612494600b836129ee565b7f4f4e4c595f57414c4c4554000000000000000000000000000000000000000000815260200192915050565b60006124cd602483610a1a565b7f4d756c74695369673a3a5f65787465726e616c43616c6c3a207265766572742081527f6174203c00000000000000000000000000000000000000000000000000000000602082015260240192915050565b600061252c601a836129ee565b7f5452414e53414354494f4e5f444f45535f4e4f545f4558495354000000000000815260200192915050565b6000612565601c836129ee565b7f5452414e53414354494f4e5f414c52454144595f455845435554454400000000815260200192915050565b600061259e6019836129ee565b7f5452414e53414354494f4e5f4e4f545f434f4e4649524d454400000000000000815260200192915050565b60006125d76014836129ee565b7f4f574e45525f444f45535f4e4f545f4558495354000000000000000000000000815260200192915050565b6000612610600f836129ee565b7f414444524553535f49535f4e554c4c0000000000000000000000000000000000815260200192915050565b6000612649601d836129ee565b7f5452414e53414354494f4e5f414c52454144595f434f4e4649524d4544000000815260200192915050565b60006126826014836129ee565b7f54494d455f4c4f434b5f494e434f4d504c455445000000000000000000000000815260200192915050565b60006126bb6012836129ee565b7f54585f46554c4c595f434f4e4649524d45440000000000000000000000000000815260200192915050565b60006126f4600f83610a1a565b7f3e207769746820726561736f6e3a2000000000000000000000000000000000008152600f0192915050565b600061272d600183610a1a565b7f3e00000000000000000000000000000000000000000000000000000000000000815260010192915050565b6122b681610cc3565b6122b681612a45565b6000611b738284612375565b6000612782826124c0565b915061278e8285612375565b9150612799826126e7565b9150610df28284612375565b60006127b0826124c0565b91506127bc8284612375565b9150611b7382612720565b602081016107e282846122ad565b606081016127e382866122ad565b6127f0602083018561236c565b610df26040830184612363565b6080810161280b82876122ad565b6128186020830186612759565b818103604083015261282a81856123a4565b9050610fc46060830184612363565b60208082528101611b7381846122bc565b60208082528101611b738184612315565b602081016107e28284612363565b60208082528101611b7381846123a4565b602080825281016107e2816123dc565b602080825281016107e281612415565b602080825281016107e28161244e565b602080825281016107e281612487565b602080825281016107e28161251f565b602080825281016107e281612558565b602080825281016107e281612591565b602080825281016107e2816125ca565b602080825281016107e281612603565b602080825281016107e28161263c565b602080825281016107e281612675565b602080825281016107e2816126ae565b602081016107e28284612759565b602081016107e28284612762565b60405181810167ffffffffffffffff8111828210171561297557600080fd5b604052919050565b600067ffffffffffffffff82111561299457600080fd5b5060209081020190565b600067ffffffffffffffff8211156129b557600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b60200190565b5190565b90815260200190565b60006107e282612a2c565b151590565b7fffffffff000000000000000000000000000000000000000000000000000000001690565b73ffffffffffffffffffffffffffffffffffffffff1690565b63ffffffff1690565b82818337506000910152565b60005b83811015612a75578181015183820152602001612a5d565b83811115612a84576000848401525b50505050565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b612abb816129f7565b8114612ac657600080fd5b50565b612abb81612a02565b612abb81612a07565b612abb81610cc3565b612abb81612a4556fea365627a7a72315820975d9081f23b878babe3871111f5380942dd4258bdf17b77bd69217e86e604a66c6578706572696d656e74616cf564736f6c6343000510004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000100000000000000000000000052256ef863a713ef349ae6e97a7e8f35785145de00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101b95760003560e01c8063a029b36b116100f9578063c642747411610097578063dc8452cd11610071578063dc8452cd146103b0578063e20056e6146103b8578063ee22610b146103cb578063f83f4432146103de576101b9565b8063c642747414610382578063d38f2d8214610395578063d74f8edd146103a8576101b9565b8063b5dc40c3116100d3578063b5dc40c314610341578063b77bf60014610354578063ba51a6df1461035c578063c01a8c841461036f576101b9565b8063a029b36b146102f9578063a0e67e2b1461030c578063a8abe69a14610321576101b9565b80634bde5e0a11610166578063784547a711610140578063784547a71461029d57806380bc148f146102b05780638b51d13f146102c35780639ace38c2146102d6576101b9565b80634bde5e0a14610257578063547415251461026a5780637065cb481461028a576101b9565b80632f54bf6e116101975780632f54bf6e1461020f5780633411c81c1461022f57806337bd78a014610242576101b9565b8063025e7c27146101be578063173825d9146101e757806320ea8d86146101fc575b600080fd5b6101d16101cc3660046121d1565b6103f1565b6040516101de91906127c7565b60405180910390f35b6101fa6101f5366004612007565b610425565b005b6101fa61020a3660046121d1565b610628565b61022261021d366004612007565b610717565b6040516101de919061285b565b61022261023d3660046121ef565b61072c565b61024a61074c565b6040516101de9190612948565b61022261026536600461205f565b610758565b61027d61027836600461216c565b610778565b6040516101de919061293a565b6101fa610298366004612007565b6107e8565b6102226102ab3660046121d1565b610987565b6101fa6102be366004612137565b610a1f565b61027d6102d13660046121d1565b610a83565b6102e96102e43660046121d1565b610b01565b6040516101de94939291906127fd565b6101fa61030736600461226f565b610bcc565b610314610c56565b6040516101de9190612839565b61033461032f36600461220e565b610cc6565b6040516101de919061284a565b61031461034f3660046121d1565b610dfa565b61027d610fcd565b6101fa61036a3660046121d1565b610fd3565b6101fa61037d3660046121d1565b61107b565b61027d6103903660046120dc565b6111bf565b61027d6103a33660046121d1565b6111d8565b61027d6111ea565b61027d6111ef565b6101fa6103c6366004612025565b6111f5565b6101fa6103d93660046121d1565b611448565b6101fa6103ec36600461208f565b61164d565b600381815481106103fe57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b33301461044d5760405162461bcd60e51b8152600401610444906128aa565b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040902054819060ff166104945760405162461bcd60e51b8152600401610444906128ea565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260408120805460ff191690555b600354600019018110156105b6578273ffffffffffffffffffffffffffffffffffffffff16600382815481106104f457fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614156105ae5760038054600019810190811061052e57fe5b6000918252602090912001546003805473ffffffffffffffffffffffffffffffffffffffff909216918390811061056157fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506105b6565b6001016104c2565b506003805460001901906105ca9082611dc0565b5060035460045411156105e3576003546105e390610fd3565b60405173ffffffffffffffffffffffffffffffffffffffff8316907f8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b9090600090a25050565b3360008181526002602052604090205460ff166106575760405162461bcd60e51b8152600401610444906128ea565b60008281526001602090815260408083203380855292529091205483919060ff166106945760405162461bcd60e51b8152600401610444906128da565b600084815260208190526040902060030154849060ff16156106c85760405162461bcd60e51b8152600401610444906128ca565b6000858152600160209081526040808320338085529252808320805460ff191690555187927ff6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e991a35050505050565b60026020526000908152604090205460ff1681565b600160209081526000928352604080842090915290825290205460ff1681565b60065463ffffffff1681565b600860209081526000928352604080842090915290825290205460ff1681565b600080805b6005548110156107de578480156107a6575060008181526020819052604090206003015460ff16155b806107ca57508380156107ca575060008181526020819052604090206003015460ff165b156107d6576001820191505b60010161077d565b5090505b92915050565b3330146108075760405162461bcd60e51b8152600401610444906128aa565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020526040902054819060ff161561084f5760405162461bcd60e51b81526004016104449061287a565b8173ffffffffffffffffffffffffffffffffffffffff81166108835760405162461bcd60e51b8152600401610444906128fa565b600380549050600101600454603282111580156108a05750818111155b80156108ab57508015155b80156108b657508115155b6108d25760405162461bcd60e51b81526004016104449061289a565b73ffffffffffffffffffffffffffffffffffffffff8516600081815260026020526040808220805460ff1916600190811790915560038054918201815583527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001684179055517ff39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d9190a25050505050565b600080805b600354811015610a1357600084815260016020526040812060038054919291849081106109b557fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205460ff16156109f6576001820191505b600454821415610a0b57600192505050610a1a565b60010161098c565b5060009150505b919050565b3360008181526002602052604090205460ff16610a4e5760405162461bcd60e51b8152600401610444906128ea565b60005b8251811015610a7e57610a76838281518110610a6957fe5b6020026020010151611448565b600101610a51565b505050565b600080805b600354811015610afa5760008481526001602052604081206003805491929184908110610ab157fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205460ff1615610af2576001820191505b600101610a88565b5092915050565b6000602081815291815260409081902080546001808301546002808501805487516101009582161595909502600019011691909104601f810188900488028401880190965285835273ffffffffffffffffffffffffffffffffffffffff90931695909491929190830182828015610bb95780601f10610b8e57610100808354040283529160200191610bb9565b820191906000526020600020905b815481529060010190602001808311610b9c57829003601f168201915b5050506003909301549192505060ff1684565b333014610beb5760405162461bcd60e51b8152600401610444906128aa565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff83161790556040517f8b01775fda0a3eb53a1e7b3a734cd346761d446aeb72745e17951c0f0ec2b16490610c4b908390612948565b60405180910390a150565b60606003805480602002602001604051908101604052809291908181526020018280548015610cbb57602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff168152600190910190602001808311610c90575b505050505090505b90565b606080600554604051908082528060200260200182016040528015610cf5578160200160208202803883390190505b5090506000805b600554811015610d7657858015610d25575060008181526020819052604090206003015460ff16155b80610d495750848015610d49575060008181526020819052604090206003015460ff165b15610d6e5780838381518110610d5b57fe5b6020026020010181815250506001820191505b600101610cfc565b6060888803604051908082528060200260200182016040528015610da4578160200160208202803883390190505b5090508891505b87821015610dec57838281518110610dbf57fe5b6020026020010151818a840381518110610dd557fe5b602002602001018181525050816001019150610dab565b93505050505b949350505050565b606080600380549050604051908082528060200260200182016040528015610e2c578160200160208202803883390190505b5090506000805b600354811015610f235760008581526001602052604081206003805491929184908110610e5c57fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205460ff1615610f1b5760038181548110610ea357fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838381518110610eda57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506001820191505b600101610e33565b606082604051908082528060200260200182016040528015610f4f578160200160208202803883390190505b509050600091505b82821015610fc457838281518110610f6b57fe5b6020026020010151818381518110610f7f57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050816001019150610f57565b95945050505050565b60055481565b333014610ff25760405162461bcd60e51b8152600401610444906128aa565b60035481603282118015906110075750818111155b801561101257508015155b801561101d57508115155b6110395760405162461bcd60e51b81526004016104449061289a565b60048390556040517fa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a9061106e90859061293a565b60405180910390a1505050565b3360008181526002602052604090205460ff166110aa5760405162461bcd60e51b8152600401610444906128ea565b600082815260208190526040902054829073ffffffffffffffffffffffffffffffffffffffff166110ed5760405162461bcd60e51b8152600401610444906128ba565b60008381526001602090815260408083203380855292529091205484919060ff161561112b5760405162461bcd60e51b81526004016104449061290a565b8461113581610987565b156111525760405162461bcd60e51b81526004016104449061292a565b6000868152600160208181526040808420338086529252808420805460ff1916909317909255905188927f4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef91a36111a886610987565b156111b7576111b786426116fe565b505050505050565b6000806111cd85858561174d565b9050610df28161107b565b60076020526000908152604090205481565b603281565b60045481565b3330146112145760405162461bcd60e51b8152600401610444906128aa565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054829060ff1661125b5760405162461bcd60e51b8152600401610444906128ea565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054829060ff16156112a35760405162461bcd60e51b81526004016104449061287a565b8273ffffffffffffffffffffffffffffffffffffffff81166112d75760405162461bcd60e51b8152600401610444906128fa565b60005b600354811015611393578573ffffffffffffffffffffffffffffffffffffffff166003828154811061130857fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561138b57846003828154811061133e57fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611393565b6001016112da565b5073ffffffffffffffffffffffffffffffffffffffff808616600081815260026020526040808220805460ff1990811690915593881682528082208054909416600117909355915190917f8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b9091a260405173ffffffffffffffffffffffffffffffffffffffff8516907ff39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d90600090a25050505050565b3360008181526002602052604090205460ff166114775760405162461bcd60e51b8152600401610444906128ea565b600082815260208190526040902060030154829060ff16156114ab5760405162461bcd60e51b8152600401610444906128ca565b826114b581610987565b6114d15760405162461bcd60e51b81526004016104449061288a565b600654600085815260076020526040902054859163ffffffff1601421015806114fe57506114fe81611870565b61151a5760405162461bcd60e51b81526004016104449061291a565b600085815260208181526040808320600381018054600160ff1990911681179091558154818301546002808501805487516101009682161596909602600019011691909104601f81018890048802850188019096528584529396956060956115f39573ffffffffffffffffffffffffffffffffffffffff909416949293918301828280156115e95780601f106115be576101008083540402835291602001916115e9565b820191906000526020600020905b8154815290600101906020018083116115cc57829003601f168201915b50505050506119b4565b915091508181906116175760405162461bcd60e51b81526004016104449190612869565b5060405188907f33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed7590600090a25050505050505050565b33301461166c5760405162461bcd60e51b8152600401610444906128aa565b73ffffffffffffffffffffffffffffffffffffffff831660009081526008602090815260408083207fffffffff000000000000000000000000000000000000000000000000000000008616845290915290819020805460ff1916831515179055517f167b34692fcade222029b0e3d79a409a03911f7f8006adc78a23f48e1fb177ff9061106e908590859085906127d5565b600082815260076020526040908190208290555182907f0b237afe65f1514fd7ea3f923ea4fe792bdd07000a912b6cd1602a8e7f573c8d9061174190849061293a565b60405180910390a25050565b60008373ffffffffffffffffffffffffffffffffffffffff81166117835760405162461bcd60e51b8152600401610444906128fa565b6005546040805160808101825273ffffffffffffffffffffffffffffffffffffffff8881168252602080830189815283850189815260006060860181905287815280845295909520845181547fffffffffffffffffffffffff000000000000000000000000000000000000000016941693909317835551600183015592518051929391926118179260028501920190611de4565b50606091909101516003909101805460ff191691151591909117905560058054600101905560405181907fc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e5190600090a295945050505050565b600061187a611e62565b600083815260208181526040918290208251608081018452815473ffffffffffffffffffffffffffffffffffffffff168152600180830154828501526002808401805487516101009482161594909402600019011691909104601f810186900486028301860187528083529295939493860193919290918301828280156119425780601f1061191757610100808354040283529160200191611942565b820191906000526020600020905b81548152906001019060200180831161192557829003601f168201915b50505091835250506003919091015460ff161515602090910152805160408201518051929350909161198357611979826000611ac2565b9350505050610a1a565b6004815110156119995760009350505050610a1a565b6020810151806119a98482611ac2565b979650505050505050565b60006060600060608673ffffffffffffffffffffffffffffffffffffffff1686866040516119e2919061276b565b60006040518083038185875af1925050503d8060008114611a1f576040519150601f19603f3d011682016040523d82523d6000602084013e611a24565b606091505b509150915081611aa1576060611a3988611b7a565b9050604482511015611a7357600081604051602001611a5891906127a5565b60405160208183030381529060405294509450505050611aba565b60048201915060008183806020019051611a90919081019061219c565b604051602001611a58929190612777565b6001604051806020016040528060008152509350935050505b935093915050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526008602090815260408083207fffffffff000000000000000000000000000000000000000000000000000000008516845290915281205460ff1680611b7357507fffffffff00000000000000000000000000000000000000000000000000000000821660009081527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c7602052604090205460ff165b9392505050565b604080518082018252601081527f303132333435363738396162636465660000000000000000000000000000000060208201528151602a808252606082810190945273ffffffffffffffffffffffffffffffffffffffff8516929184916020820181803883390190505090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611c1457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611c7157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b6014811015611db7578260048583600c0160208110611cbe57fe5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c60ff1681518110611cf657fe5b602001015160f81c60f81b828260020260020181518110611d1357fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350828482600c0160208110611d5257fe5b825191901a600f16908110611d6357fe5b602001015160f81c60f81b828260020260030181518110611d8057fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101611ca3565b50949350505050565b815481835581811115610a7e57600083815260209020610a7e918101908301611ea2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611e2557805160ff1916838001178555611e52565b82800160010185558215611e52579182015b82811115611e52578251825591602001919060010190611e37565b50611e5e929150611ea2565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001606081526020016000151581525090565b610cc391905b80821115611e5e5760008155600101611ea8565b80356107e281612ab2565b600082601f830112611ed857600080fd5b8135611eeb611ee68261297d565b612956565b91508181835260208401935060208101905083856020840282011115611f1057600080fd5b60005b83811015611f3c5781611f268882611ff1565b8452506020928301929190910190600101611f13565b5050505092915050565b80356107e281612ac9565b80356107e281612ad2565b600082601f830112611f6d57600080fd5b8135611f7b611ee68261299e565b91508082526020830160208301858383011115611f9757600080fd5b611fa2838284612a4e565b50505092915050565b600082601f830112611fbc57600080fd5b8151611fca611ee68261299e565b91508082526020830160208301858383011115611fe657600080fd5b611fa2838284612a5a565b80356107e281612adb565b80356107e281612ae4565b60006020828403121561201957600080fd5b6000610df28484611ebc565b6000806040838503121561203857600080fd5b60006120448585611ebc565b925050602061205585828601611ebc565b9150509250929050565b6000806040838503121561207257600080fd5b600061207e8585611ebc565b925050602061205585828601611f51565b6000806000606084860312156120a457600080fd5b60006120b08686611ebc565b93505060206120c186828701611f51565b92505060406120d286828701611f46565b9150509250925092565b6000806000606084860312156120f157600080fd5b60006120fd8686611ebc565b935050602061210e86828701611ff1565b925050604084013567ffffffffffffffff81111561212b57600080fd5b6120d286828701611f5c565b60006020828403121561214957600080fd5b813567ffffffffffffffff81111561216057600080fd5b610df284828501611ec7565b6000806040838503121561217f57600080fd5b600061218b8585611f46565b925050602061205585828601611f46565b6000602082840312156121ae57600080fd5b815167ffffffffffffffff8111156121c557600080fd5b610df284828501611fab565b6000602082840312156121e357600080fd5b6000610df28484611ff1565b6000806040838503121561220257600080fd5b60006120448585611ff1565b6000806000806080858703121561222457600080fd5b60006122308787611ff1565b945050602061224187828801611ff1565b935050604061225287828801611f46565b925050606061226387828801611f46565b91505092959194509250565b60006020828403121561228157600080fd5b6000610df28484611ffc565b600061229983836122ad565b505060200190565b60006122998383612759565b6122b6816129f7565b82525050565b60006122c7826129ea565b6122d181856129ee565b93506122dc836129e4565b8060005b8381101561230a5781516122f4888261228d565b97506122ff836129e4565b9250506001016122e0565b509495945050505050565b6000612320826129ea565b61232a81856129ee565b9350612335836129e4565b8060005b8381101561230a57815161234d88826122a1565b9750612358836129e4565b925050600101612339565b6122b681612a02565b6122b681612a07565b6000612380826129ea565b61238a8185610a1a565b935061239a818560208601612a5a565b9290920192915050565b60006123af826129ea565b6123b981856129ee565b93506123c9818560208601612a5a565b6123d281612a8a565b9093019392505050565b60006123e9600c836129ee565b7f4f574e45525f4558495354530000000000000000000000000000000000000000815260200192915050565b60006124226016836129ee565b7f54585f4e4f545f46554c4c595f434f4e4649524d454400000000000000000000815260200192915050565b600061245b600f836129ee565b7f4e4f5f524551554952454d454e54530000000000000000000000000000000000815260200192915050565b6000612494600b836129ee565b7f4f4e4c595f57414c4c4554000000000000000000000000000000000000000000815260200192915050565b60006124cd602483610a1a565b7f4d756c74695369673a3a5f65787465726e616c43616c6c3a207265766572742081527f6174203c00000000000000000000000000000000000000000000000000000000602082015260240192915050565b600061252c601a836129ee565b7f5452414e53414354494f4e5f444f45535f4e4f545f4558495354000000000000815260200192915050565b6000612565601c836129ee565b7f5452414e53414354494f4e5f414c52454144595f455845435554454400000000815260200192915050565b600061259e6019836129ee565b7f5452414e53414354494f4e5f4e4f545f434f4e4649524d454400000000000000815260200192915050565b60006125d76014836129ee565b7f4f574e45525f444f45535f4e4f545f4558495354000000000000000000000000815260200192915050565b6000612610600f836129ee565b7f414444524553535f49535f4e554c4c0000000000000000000000000000000000815260200192915050565b6000612649601d836129ee565b7f5452414e53414354494f4e5f414c52454144595f434f4e4649524d4544000000815260200192915050565b60006126826014836129ee565b7f54494d455f4c4f434b5f494e434f4d504c455445000000000000000000000000815260200192915050565b60006126bb6012836129ee565b7f54585f46554c4c595f434f4e4649524d45440000000000000000000000000000815260200192915050565b60006126f4600f83610a1a565b7f3e207769746820726561736f6e3a2000000000000000000000000000000000008152600f0192915050565b600061272d600183610a1a565b7f3e00000000000000000000000000000000000000000000000000000000000000815260010192915050565b6122b681610cc3565b6122b681612a45565b6000611b738284612375565b6000612782826124c0565b915061278e8285612375565b9150612799826126e7565b9150610df28284612375565b60006127b0826124c0565b91506127bc8284612375565b9150611b7382612720565b602081016107e282846122ad565b606081016127e382866122ad565b6127f0602083018561236c565b610df26040830184612363565b6080810161280b82876122ad565b6128186020830186612759565b818103604083015261282a81856123a4565b9050610fc46060830184612363565b60208082528101611b7381846122bc565b60208082528101611b738184612315565b602081016107e28284612363565b60208082528101611b7381846123a4565b602080825281016107e2816123dc565b602080825281016107e281612415565b602080825281016107e28161244e565b602080825281016107e281612487565b602080825281016107e28161251f565b602080825281016107e281612558565b602080825281016107e281612591565b602080825281016107e2816125ca565b602080825281016107e281612603565b602080825281016107e28161263c565b602080825281016107e281612675565b602080825281016107e2816126ae565b602081016107e28284612759565b602081016107e28284612762565b60405181810167ffffffffffffffff8111828210171561297557600080fd5b604052919050565b600067ffffffffffffffff82111561299457600080fd5b5060209081020190565b600067ffffffffffffffff8211156129b557600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b60200190565b5190565b90815260200190565b60006107e282612a2c565b151590565b7fffffffff000000000000000000000000000000000000000000000000000000001690565b73ffffffffffffffffffffffffffffffffffffffff1690565b63ffffffff1690565b82818337506000910152565b60005b83811015612a75578181015183820152602001612a5d565b83811115612a84576000848401525b50505050565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b612abb816129f7565b8114612ac657600080fd5b50565b612abb81612a02565b612abb81612a07565b612abb81610cc3565b612abb81612a4556fea365627a7a72315820975d9081f23b878babe3871111f5380942dd4258bdf17b77bd69217e86e604a66c6578706572696d656e74616cf564736f6c63430005100040

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

00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000100000000000000000000000052256ef863a713ef349ae6e97a7e8f35785145de00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _owners (address[]): 0x52256ef863a713Ef349ae6E97A7E8f35785145dE
Arg [1] : _required (uint256): 1
Arg [2] : _secondsTimeLocked (uint32): 15

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 00000000000000000000000052256ef863a713ef349ae6e97a7e8f35785145de
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
view all blocks sequenced

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
[ 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.