false
true
0

Contract Address Details

0x022cF689F815ED0282A27d7d544E26d622fc597a

Contract Name
VaultProxy
Creator
0xb06e1f–4e6f06 at 0xf5f152–80ef25
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
Fetching transactions...
Transfers
Fetching transfers...
Gas Used
Fetching gas used...
Last Balance Update
27880806
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been partially verified via Sourcify. View contract in Sourcify repository
Contract name:
VaultProxy




Optimization enabled
true
Compiler version
v0.8.2+commit.661d1103




Optimization runs
200
EVM Version
istanbul




Verified at
2026-04-22T07:36:40.961206Z

VaultProxy.sol

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.2;

import "./BeaconProxy.sol";
import "./VaultBeacon.sol"; 

contract VaultProxy is BeaconProxy {
	bytes32 private constant _OWNER_SLOT = 0xa7b53796fd2d99cb1f5ae019b54f9e024446c3d12b483f733ccc62ed04eb126a;

	event ProxyOwnershipTransferred(address newOwner);

	constructor(address _apeBeacon, address _owner, bytes memory data) BeaconProxy(_apeBeacon, data) {
		assert(_OWNER_SLOT == bytes32(uint256(keccak256("eip1967.proxy.owner")) - 1));
		assembly {
            sstore(_OWNER_SLOT, _owner)
        }
	}

	function proxyOwner() public view returns(address owner) {
		assembly {
            owner := sload(_OWNER_SLOT)
        }
	}

	function transferProxyOwnership(address _newOwner) external {
		require(msg.sender == proxyOwner());
		assembly {
            sstore(_OWNER_SLOT, _newOwner)
        }
		emit ProxyOwnershipTransferred(_newOwner);
	}

	function setBeaconDeploymentPrefs(uint256 _value) external {
		require(msg.sender == proxyOwner());
		VaultBeacon(_beacon()).setDeploymentPrefs(_value);
	}
}
        

/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}
          

/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
          

/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IBeacon.sol";
import "./Ownable.sol";
import "./Address.sol";

/**
 * @dev This contract is used in conjunction with one or more instances of {BeaconProxy} to determine their
 * implementation contract, which is where they will delegate all function calls.
 *
 * An owner is able to change the implementation the beacon points to, thus upgrading the proxies that use this beacon.
 */
contract UpgradeableBeacon is IBeacon, Ownable {
    address private _implementation;

    /**
     * @dev Emitted when the implementation returned by the beacon is changed.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Sets the address of the initial implementation, and the deployer account as the owner who can upgrade the
     * beacon.
     */
    constructor(address implementation_) {
        _setImplementation(implementation_);
    }

    /**
     * @dev Returns the current implementation address.
     */
    function implementation() public view virtual override returns (address) {
        return _implementation;
    }

    /**
     * @dev Upgrades the beacon to a new implementation.
     *
     * Emits an {Upgraded} event.
     *
     * Requirements:
     *
     * - msg.sender must be the owner of the contract.
     * - `newImplementation` must be a contract.
     */
    function upgradeTo(address newImplementation) public virtual onlyOwner {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Sets the implementation contract address for this beacon
     *
     * Requirements:
     *
     * - `newImplementation` must be a contract.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "UpgradeableBeacon: implementation is not a contract");
        _implementation = newImplementation;
    }
}
          

/

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.2;

import "./UpgradeableBeacon.sol";
import "./IBeacon.sol";
import "./TimeLock.sol";

contract VaultBeacon is TimeLock {

	mapping(uint256 => address) public deployments;
	uint256 public deploymentCount;

	mapping(address => uint256) public deploymentPref;

	event NewImplementationPushed(address newImplementation);

	constructor(address _apeVault, uint256 _minDelay) TimeLock(_minDelay) {
		require(Address.isContract(_apeVault), "VaultBeacon: implementation is not a contract");
		deployments[++deploymentCount] = _apeVault;
	}

	function implementation(address _user) public view returns(address) {
		uint256 pref = deploymentPref[_user];
		if(pref == 0)
			return deployments[deploymentCount];
		else
			return deployments[pref];
	}

	function implementation() public view returns(address) {
		return implementation(msg.sender);
	}

	function setDeploymentPrefs(uint256 _value) external {
		require(_value <= deploymentCount);
		deploymentPref[msg.sender] = _value;
	}

	function pushNewImplementation(address _newImplementation) public itself {
		require(Address.isContract(_newImplementation), "VaultBeacon: implementaion is not a contract");
		deployments[++deploymentCount] = _newImplementation;
		emit NewImplementationPushed(_newImplementation);
	}
}
          

/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IBeacon.sol";
import "./Proxy.sol";
import "./Address.sol";

/**
 * @dev This contract implements a proxy that gets the implementation address for each call from a {UpgradeableBeacon}.
 *
 * The beacon address is stored in storage slot `uint256(keccak256('eip1967.proxy.beacon')) - 1`, so that it doesn't
 * conflict with the storage layout of the implementation behind the proxy.
 *
 * _Available since v3.4._
 */
contract BeaconProxy is Proxy {
    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 private constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Initializes the proxy with `beacon`.
     *
     * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This
     * will typically be an encoded function call, and allows initializating the storage of the proxy like a Solidity
     * constructor.
     *
     * Requirements:
     *
     * - `beacon` must be a contract with the interface {IBeacon}.
     */
    constructor(address beacon, bytes memory data) payable {
        assert(_BEACON_SLOT == bytes32(uint256(keccak256("eip1967.proxy.beacon")) - 1));
        _setBeacon(beacon, data);
    }

    /**
     * @dev Returns the current beacon address.
     */
    function _beacon() internal view virtual returns (address beacon) {
        bytes32 slot = _BEACON_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            beacon := sload(slot)
        }
    }

    /**
     * @dev Returns the current implementation address of the associated beacon.
     */
    function _implementation() internal view virtual override returns (address) {
        return IBeacon(_beacon()).implementation();
    }

    /**
     * @dev Changes the proxy to use a new beacon.
     *
     * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon.
     *
     * Requirements:
     *
     * - `beacon` must be a contract.
     * - The implementation returned by `beacon` must be a contract.
     */
    function _setBeacon(address beacon, bytes memory data) internal virtual {
        require(
            Address.isContract(beacon),
            "BeaconProxy: beacon is not a contract"
        );
        require(
            Address.isContract(IBeacon(beacon).implementation()),
            "BeaconProxy: beacon implementation is not a contract"
        );
        bytes32 slot = _BEACON_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, beacon)
        }

        if (data.length > 0) {
            Address.functionDelegateCall(_implementation(), data, "BeaconProxy: function call failed");
        }
    }
}
          

/

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.2;

import "./Ownable.sol";

contract TimeLock is Ownable {
	uint256 internal constant _DONE_TIMESTAMP = uint256(1);

	mapping(bytes32 => uint256) public timestamps;
	uint256 public minDelay;

	event CallScheduled(
        bytes32 indexed id,
        address target,
        bytes data,
        bytes32 predecessor,
        uint256 delay
    );

	event CallCancelled(bytes32 id);

	event CallExecuted(bytes32 indexed id, address target, bytes data);

	constructor(uint256 _minDelay) {
		minDelay = _minDelay;
	}


	modifier itself() {
		require(msg.sender == address(this), "TimeLock: Caller is not contract itself");
		_;
	}

	function changeMinDelay(uint256 _min) external itself {
		minDelay = _min;
	}

	function hashOperation(address _target, bytes calldata _data, bytes32 _predecessor, bytes32 _salt) internal pure returns(bytes32) {
		return keccak256(abi.encode(_target, _data, _predecessor, _salt));
	}

	function isPendingCall(bytes32 _id) public view returns(bool) {
		return timestamps[_id] > _DONE_TIMESTAMP;
	}

	function isDoneCall(bytes32 _id) public view returns(bool) {
		return timestamps[_id] == _DONE_TIMESTAMP;
	}

	function isReadyCall(bytes32 _id) public view returns(bool) {
		return timestamps[_id] <= block.timestamp && timestamps[_id] > _DONE_TIMESTAMP;
	}

	function schedule(address _target, bytes calldata _data, bytes32 _predecessor, bytes32 _salt, uint256 _delay) external onlyOwner {
		bytes32 id = hashOperation(_target, _data, _predecessor, _salt);
		require(timestamps[id] == 0, "TimeLock: Call already scheduled");
		require(_delay >= minDelay, "TimeLock: Insufficient delay");
		timestamps[id] = block.timestamp + _delay;
		emit CallScheduled(id, _target, _data, _predecessor, _delay);
	}

	function cancel(bytes32 _id) external onlyOwner {
		require(isPendingCall(_id), "TimeLock: Call is not pending");
		timestamps[_id] = 0;
		emit CallCancelled(_id);
	}

	function execute(address _target, bytes calldata _data, bytes32 _predecessor, bytes32 _salt, uint256 _delay) external onlyOwner {
		bytes32 id = hashOperation(_target, _data, _predecessor, _salt);
		require(isReadyCall(id), "TimeLock: Not ready for execution or executed");
		require(_predecessor == bytes32(0) || isDoneCall(_predecessor), "TimeLock: Predecessor call not executed");
		timestamps[id] = _DONE_TIMESTAMP;
		_call(id, _target, _data);
	}

	function _call(
        bytes32 id,
        address target,
        bytes calldata data
    ) internal {
        (bool success, ) = target.call(data);
        require(success, "Timelock: underlying transaction reverted");

        emit CallExecuted(id, target, data);
    }

}
          

/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

 import "./Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address internal _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
          

/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}
          

/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 { revert(0, returndatasize()) }
            default { return(0, returndatasize()) }
        }
    }

    /**
     * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback () external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {
    }
}
          

Compiler Settings

{"remappings":[],"optimizer":{"runs":200,"enabled":true},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"istanbul","compilationTarget":{"VaultProxy.sol":"VaultProxy"}}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_apeBeacon","internalType":"address"},{"type":"address","name":"_owner","internalType":"address"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"event","name":"ProxyOwnershipTransferred","inputs":[{"type":"address","name":"newOwner","internalType":"address","indexed":false}],"anonymous":false},{"type":"fallback","stateMutability":"payable"},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"owner","internalType":"address"}],"name":"proxyOwner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBeaconDeploymentPrefs","inputs":[{"type":"uint256","name":"_value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferProxyOwnership","inputs":[{"type":"address","name":"_newOwner","internalType":"address"}]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

Verify & Publish
0x60806040523480156200001157600080fd5b5060405162000c0038038062000c008339810160408190526200003491620004d8565b82816200006360017fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5162000607565b60008051602062000b9f833981519152146200008f57634e487b7160e01b600052600160045260246000fd5b6200009b828262000110565b50620000cb905060017fa7b53796fd2d99cb1f5ae019b54f9e024446c3d12b483f733ccc62ed04eb126b62000607565b60008051602062000be083398151915214620000f757634e487b7160e01b600052600160045260246000fd5b5060008051602062000be0833981519152555062000670565b6200012682620002e060201b620002051760201c565b620001865760405162461bcd60e51b815260206004820152602560248201527f426561636f6e50726f78793a20626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b62000210826001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b158015620001c457600080fd5b505afa158015620001d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ff9190620004bb565b620002e060201b620002051760201c565b620002845760405162461bcd60e51b815260206004820152603460248201527f426561636f6e50726f78793a20626561636f6e20696d706c656d656e7461746960448201527f6f6e206973206e6f74206120636f6e747261637400000000000000000000000060648201526084016200017d565b60008051602062000b9f833981519152828155815115620002db57620002d9620002ad620002ea565b8360405180606001604052806021815260200162000bbf602191396200037d60201b6200020b1760201c565b505b505050565b803b15155b919050565b60006200030460008051602062000b9f8339815191525490565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200033d57600080fd5b505afa15801562000352573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003789190620004bb565b905090565b60606200038a84620002e0565b620003e75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200017d565b600080856001600160a01b031685604051620004049190620005b4565b600060405180830381855af49150503d806000811462000441576040519150601f19603f3d011682016040523d82523d6000602084013e62000446565b606091505b5090925090506200045982828662000465565b925050505b9392505050565b60608315620004765750816200045e565b825115620004875782518084602001fd5b8160405162461bcd60e51b81526004016200017d9190620005d2565b80516001600160a01b0381168114620002e557600080fd5b600060208284031215620004cd578081fd5b6200045e82620004a3565b600080600060608486031215620004ed578182fd5b620004f884620004a3565b92506200050860208501620004a3565b60408501519092506001600160401b038082111562000525578283fd5b818601915086601f83011262000539578283fd5b8151818111156200054e576200054e6200065a565b604051601f8201601f19908116603f011681019083821181831017156200057957620005796200065a565b8160405282815289602084870101111562000592578586fd5b620005a58360208301602088016200062b565b80955050505050509250925092565b60008251620005c88184602087016200062b565b9190910192915050565b6000602082528251806020840152620005f38160408501602087016200062b565b601f01601f19169190910160400192915050565b6000828210156200062657634e487b7160e01b81526011600452602481fd5b500390565b60005b83811015620006485781810151838201526020016200062e565b83811115620002d95750506000910152565b634e487b7160e01b600052604160045260246000fd5b61051f80620006806000396000f3fe6080604052600436106100385760003560e01c8063025313a21461004f578063bf8cab4314610088578063f1739cae146100a857610047565b36610047576100456100c8565b005b6100456100c8565b34801561005b57600080fd5b506000805160206104ca833981519152546040516001600160a01b03909116815260200160405180910390f35b34801561009457600080fd5b506100456100a336600461041a565b6100da565b3480156100b457600080fd5b506100456100c33660046103e2565b610187565b6100d86100d36102e6565b610385565b565b6000805160206104ca833981519152546001600160a01b0316336001600160a01b03161461010757600080fd5b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546040516329e8494960e01b8152600481018390526001600160a01b03909116906329e8494990602401600060405180830381600087803b15801561016c57600080fd5b505af1158015610180573d6000803e3d6000fd5b5050505050565b6000805160206104ca833981519152546001600160a01b0316336001600160a01b0316146101b457600080fd5b6000805160206104ca8339815191528190556040516001600160a01b03821681527fc9c890d47f12a6629d03fbfa332f5be9e2ae8310dfc4421ac03a7a9082e24aae9060200160405180910390a150565b3b151590565b6060833b61026f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b03168560405161028a9190610432565b600060405180830381855af49150503d80600081146102c5576040519150601f19603f3d011682016040523d82523d6000602084013e6102ca565b606091505b50915091506102da8282866103a9565b925050505b9392505050565b60006103107fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d505490565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561034857600080fd5b505afa15801561035c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038091906103fe565b905090565b3660008037600080366000845af43d6000803e8080156103a4573d6000f35b3d6000fd5b606083156103b85750816102df565b8251156103c85782518084602001fd5b8160405162461bcd60e51b8152600401610266919061044e565b6000602082840312156103f3578081fd5b81356102df816104b1565b60006020828403121561040f578081fd5b81516102df816104b1565b60006020828403121561042b578081fd5b5035919050565b60008251610444818460208701610481565b9190910192915050565b600060208252825180602084015261046d816040850160208701610481565b601f01601f19169190910160400192915050565b60005b8381101561049c578181015183820152602001610484565b838111156104ab576000848401525b50505050565b6001600160a01b03811681146104c657600080fd5b5056fea7b53796fd2d99cb1f5ae019b54f9e024446c3d12b483f733ccc62ed04eb126aa2646970667358221220558754a739e1f4cd4e6e39048dc8c4207436ecc040e94f836aeed7a30cd2f69564736f6c63430008020033a3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50426561636f6e50726f78793a2066756e6374696f6e2063616c6c206661696c6564a7b53796fd2d99cb1f5ae019b54f9e024446c3d12b483f733ccc62ed04eb126a0000000000000000000000007bd45dabb998d8e29b5de353112e5f4ebf742142000000000000000000000000bf87858cb1e14c7326ed80a49558566a3a8f3415000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a4359ef75b000000000000000000000000a27f499a783d61ccc65f83fd0546763e8f5e58cf000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050c1a2ea0a861a967d9d0ffe2ae4012c2e053804000000000000000000000000ba8167b43a2e04941fdbdfe731914d5d198ded35000000000000000000000000bf87858cb1e14c7326ed80a49558566a3a8f341500000000000000000000000000000000000000000000000000000000

Deployed ByteCode

0x6080604052600436106100385760003560e01c8063025313a21461004f578063bf8cab4314610088578063f1739cae146100a857610047565b36610047576100456100c8565b005b6100456100c8565b34801561005b57600080fd5b506000805160206104ca833981519152546040516001600160a01b03909116815260200160405180910390f35b34801561009457600080fd5b506100456100a336600461041a565b6100da565b3480156100b457600080fd5b506100456100c33660046103e2565b610187565b6100d86100d36102e6565b610385565b565b6000805160206104ca833981519152546001600160a01b0316336001600160a01b03161461010757600080fd5b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546040516329e8494960e01b8152600481018390526001600160a01b03909116906329e8494990602401600060405180830381600087803b15801561016c57600080fd5b505af1158015610180573d6000803e3d6000fd5b5050505050565b6000805160206104ca833981519152546001600160a01b0316336001600160a01b0316146101b457600080fd5b6000805160206104ca8339815191528190556040516001600160a01b03821681527fc9c890d47f12a6629d03fbfa332f5be9e2ae8310dfc4421ac03a7a9082e24aae9060200160405180910390a150565b3b151590565b6060833b61026f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b03168560405161028a9190610432565b600060405180830381855af49150503d80600081146102c5576040519150601f19603f3d011682016040523d82523d6000602084013e6102ca565b606091505b50915091506102da8282866103a9565b925050505b9392505050565b60006103107fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d505490565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561034857600080fd5b505afa15801561035c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038091906103fe565b905090565b3660008037600080366000845af43d6000803e8080156103a4573d6000f35b3d6000fd5b606083156103b85750816102df565b8251156103c85782518084602001fd5b8160405162461bcd60e51b8152600401610266919061044e565b6000602082840312156103f3578081fd5b81356102df816104b1565b60006020828403121561040f578081fd5b81516102df816104b1565b60006020828403121561042b578081fd5b5035919050565b60008251610444818460208701610481565b9190910192915050565b600060208252825180602084015261046d816040850160208701610481565b601f01601f19169190910160400192915050565b60005b8381101561049c578181015183820152602001610484565b838111156104ab576000848401525b50505050565b6001600160a01b03811681146104c657600080fd5b5056fea7b53796fd2d99cb1f5ae019b54f9e024446c3d12b483f733ccc62ed04eb126aa2646970667358221220558754a739e1f4cd4e6e39048dc8c4207436ecc040e94f836aeed7a30cd2f69564736f6c63430008020033