Contract 0x58D8ECe142c60f5707594a7C1D90e46eAE5AF431 4

Contract Overview

Balance:
0.000141385 Ether
Txn Hash Method
Block
From
To
Value
0x5735320c86583ec128c6c7e3ee05dcdff4cbc41e8fe0c70ecc40454c0edaf998Report Result39492023-01-26 7:15:093 days 5 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434411
0xedd0cbd3a9651c54f15d5a983571a100948d3dc77102fe21cba0f28a9e97bee5Report Result39452023-01-26 7:00:533 days 5 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000989531
0xea44b2ea9d5bcb8c7191537d2536ef875caa8107e75c01deb3ede51f4d973a03Report Result39412023-01-26 2:54:533 days 9 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434411
0x30b9fbf63fbc35efa27d018d2eb32331ddb1e0b2b4615eb6c99a56681d70001eReport Result39402023-01-26 2:39:533 days 9 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000989531
0xd3a4aa21b6577e8921f879f84fc9ec919c0641343c608e2dbbae5d83b7288a9bReport Result39382023-01-26 2:12:073 days 10 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434411
0x61c3c87e041b3b7aa12241d9dd4e6a7f47c7351027bce27b6d69b625de378fc3Report Result39372023-01-26 1:57:073 days 10 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000989531
0x0b832c6485a3005306f0936e7c2abc783dc27f5e6420b217e22650f85999850cReport Result39302023-01-25 21:55:363 days 14 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434411
0xb1c41b1096b6bbd95853503f7f625c519220f5338484ffa9c119b1045d1296d4Report Result39172023-01-25 19:34:073 days 16 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434411
0x4f630b0d4f33fcf8dd51be2a47b72f7c57b83980858aee96e36486c9303bfd30Report Result39162023-01-25 19:19:063 days 17 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000989531
0xa7e9a4498f388787d774f60c8051b87c1d5087ad323211490af0d787fa90d4aeReport Result39102023-01-25 16:07:263 days 20 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001433811
0x0e6939e2f1d46b5d870b87b8b8d19f39386c7d9091b4387447bb00a9444f7b56Report Result39092023-01-25 16:06:413 days 20 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000988341
0xd8590f060b566ffccb600138954410ccfecca430869b6ded336318908cf4c611Report Result39052023-01-25 9:46:174 days 2 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434411
0xc6406d0ce6ab03a16d7ecb9c8963f9f2c7766a1404844a63c54e8ab9d0271013Report Result39042023-01-25 9:31:174 days 2 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000989531
0xbfa6325690713c7cb17680dd37857b0981dcce0ebf3fe6bf29d043d77a29e8ffReport Result39022023-01-25 3:00:314 days 9 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434111
0xea72a8ef6c386f0fc6c8180b879812ba61c412d9458c9666a6b9cd4e9aedfe19Report Result39012023-01-25 2:45:314 days 9 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000988931
0xaa0b4f5e6c7be55a7cf953cd820154dcaf2441292553a0e7fdf85778d21e0d40Report Result38992023-01-25 2:20:004 days 10 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434411
0xb9775b508aead47432647d869784504c72578a2602bff6933aaea26dc080960fReport Result38972023-01-25 2:05:004 days 10 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000989531
0x5864447f0d4da2c55fe16b0e4dd4f38d491e4bdc1859c38171297c1e4b014fcaReport Result38952023-01-24 21:28:144 days 14 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434411
0x6d89efabd0fbfa898e34db7cec112a2f35317b0c7f65f50b75e72e36848bf35fReport Result38942023-01-24 21:13:144 days 15 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000989531
0xfcf537a46d4bdd798d1d35634e540e32d7b6327b38f777b6b63b38dea6231c35Report Result38922023-01-24 20:28:144 days 15 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434411
0xfc730a3d4d479c380d637dd78869df0757faeccba31d759fb85a6a0931b63f48Report Result38912023-01-24 20:13:144 days 16 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000989531
0x6a03ffa3b15c5d8aad558a8cc9288b5c92daac0b8532b9ce923ff921e6ef86d9Report Result38882023-01-24 19:25:584 days 16 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001434411
0x1867b6921057d94a9b812e7e05a594af6ecb3ddf4b4c76fa9c654037e19a5d49Report Result38872023-01-24 19:10:584 days 17 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000989531
0x2e9618d6dce1670669cee8b103de85d0537c5e5a0aebf70dd3d6b6993ef7591eReport Result38852023-01-24 16:20:424 days 20 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0001433811
0xecb92ad8a48da8991c0de35ff35060088bb3bf9eb109f477742d613b6fa4cae6Report Result38842023-01-24 16:05:424 days 20 hrs ago0x8c49cafc4542d9ea9107d4e48412aced2a68aa77 IN  0x58d8ece142c60f5707594a7c1d90e46eae5af4310 Ether0.0000988341
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xe29efa7c2bf73b7f5240cedb7342923d515f4d7e231f8793e6a0388263acd46039502023-01-26 7:16:083 days 5 hrs ago 0x04120cea2fbe03acccced42e0d9334323f173857 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0x5735320c86583ec128c6c7e3ee05dcdff4cbc41e8fe0c70ecc40454c0edaf99839492023-01-26 7:15:093 days 5 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0xffff191105c17f367655192c83f6e54d173dc3a0429dc7f4e0412c593987a35d39442023-01-26 6:55:523 days 5 hrs ago 0x04120cea2fbe03acccced42e0d9334323f173857 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0xea44b2ea9d5bcb8c7191537d2536ef875caa8107e75c01deb3ede51f4d973a0339412023-01-26 2:54:533 days 9 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0xe4d5c0d4b33663e653cc1047bc99ac760f8dfe2add2bd6d7922e124c1515a2ad39392023-01-26 2:36:153 days 9 hrs ago 0x04120cea2fbe03acccced42e0d9334323f173857 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0xd3a4aa21b6577e8921f879f84fc9ec919c0641343c608e2dbbae5d83b7288a9b39382023-01-26 2:12:073 days 10 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0x2e3811078cc537f68006902d788dc1e1b450e2639b0f9a7dbdd0a9b70aa069a239362023-01-26 1:52:433 days 10 hrs ago 0x502792a6dc858925e9fb0c3e730411aeb5bb2c4a 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0x0b832c6485a3005306f0936e7c2abc783dc27f5e6420b217e22650f85999850c39302023-01-25 21:55:363 days 14 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0x6df58a9113e7d921f87a2969daf735168c358ee8ea438f187caac3daa7c9d02739282023-01-25 21:48:543 days 14 hrs ago 0x4092cc222b1bd1176d8a8cbe4070ccea66e9d1d6 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0xb1c41b1096b6bbd95853503f7f625c519220f5338484ffa9c119b1045d1296d439172023-01-25 19:34:073 days 16 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0x1837cfc87067f151c39066072f725c0dba3c956a5c823d07847c7f9f043b788e39152023-01-25 19:14:393 days 17 hrs ago 0x4092cc222b1bd1176d8a8cbe4070ccea66e9d1d6 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0xa7e9a4498f388787d774f60c8051b87c1d5087ad323211490af0d787fa90d4ae39102023-01-25 16:07:263 days 20 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0x7ff84e0722eec9cf9c7a95ab77971a640faf48e93dbb7812ccb75aeea609919539082023-01-25 15:59:463 days 20 hrs ago 0xa0a6c0ef4fa60e380ce28a5e3ce74508e884a537 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0xd8590f060b566ffccb600138954410ccfecca430869b6ded336318908cf4c61139052023-01-25 9:46:174 days 2 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0x78b025e46a2f9b80eb7c9a1e78b684ec79846a8e2b95850d079883d4a5dde8ed39032023-01-25 9:27:374 days 2 hrs ago 0x4092cc222b1bd1176d8a8cbe4070ccea66e9d1d6 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0xbfa6325690713c7cb17680dd37857b0981dcce0ebf3fe6bf29d043d77a29e8ff39022023-01-25 3:00:314 days 9 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0xaf623aa86f2c39129073ea386652f03cdcf6d97a2d2e9857132729281643a59839002023-01-25 2:41:334 days 9 hrs ago 0x04120cea2fbe03acccced42e0d9334323f173857 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0xaa0b4f5e6c7be55a7cf953cd820154dcaf2441292553a0e7fdf85778d21e0d4038992023-01-25 2:20:004 days 10 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0xf44b0f839f3526bc06f40a14cb0556f5917bd099a9c69ed58d0bc776d790deea38962023-01-25 1:58:044 days 10 hrs ago 0x502792a6dc858925e9fb0c3e730411aeb5bb2c4a 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0x5864447f0d4da2c55fe16b0e4dd4f38d491e4bdc1859c38171297c1e4b014fca38952023-01-24 21:28:144 days 14 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0xa3ab37766db48fd3354f363917185c0804bde6c42a78c57572b6aafabc64e1e438932023-01-24 21:09:054 days 15 hrs ago 0x4092cc222b1bd1176d8a8cbe4070ccea66e9d1d6 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0xfcf537a46d4bdd798d1d35634e540e32d7b6327b38f777b6b63b38dea6231c3538922023-01-24 20:28:144 days 15 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0x2767a16eb3d2dc159f8392306abb8458edd21d38c76f61ce95ff912539e75a2f38902023-01-24 20:09:494 days 16 hrs ago 0x502792a6dc858925e9fb0c3e730411aeb5bb2c4a 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
0x6a03ffa3b15c5d8aad558a8cc9288b5c92daac0b8532b9ce923ff921e6ef86d938882023-01-24 19:25:584 days 16 hrs ago 0x58d8ece142c60f5707594a7c1d90e46eae5af4310x8c49cafc4542d9ea9107d4e48412aced2a68aa770.000141385 Ether
0x6a7a82bdb0a0458ce7a4bb866082a9ea377730f9e94e4077cb2d6a675809cfa738862023-01-24 19:07:324 days 17 hrs ago 0x4092cc222b1bd1176d8a8cbe4070ccea66e9d1d6 0x58d8ece142c60f5707594a7c1d90e46eae5af4310.000141385 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WitnetProxy

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at bobascan.com on 2022-12-12
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.9.0;
pragma experimental ABIEncoderV2;

// File: contracts\patterns\Initializable.sol
interface Initializable {
    /// @dev Initialize contract's storage context.
    function initialize(bytes calldata) external;
}
// File: contracts\patterns\Proxiable.sol
interface Proxiable {
    /// @dev Complying with EIP-1822: Universal Upgradable Proxy Standard (UUPS)
    /// @dev See https://eips.ethereum.org/EIPS/eip-1822.
    function proxiableUUID() external pure returns (bytes32);
}
// File: contracts\patterns\Upgradable.sol
/* solhint-disable var-name-mixedcase */




abstract contract Upgradable is Initializable, Proxiable {

    address internal immutable _BASE;
    bytes32 internal immutable _CODEHASH;
    bool internal immutable _UPGRADABLE;

    /// Emitted every time the contract gets upgraded.
    /// @param from The address who ordered the upgrading. Namely, the WRB operator in "trustable" implementations.
    /// @param baseAddr The address of the new implementation contract.
    /// @param baseCodehash The EVM-codehash of the new implementation contract.
    /// @param versionTag Ascii-encoded version literal with which the implementation deployer decided to tag it.
    event Upgraded(
        address indexed from,
        address indexed baseAddr,
        bytes32 indexed baseCodehash,
        bytes32 versionTag
    );

    constructor (bool _isUpgradable) {
        address _base = address(this);
        bytes32 _codehash;        
        assembly {
            _codehash := extcodehash(_base)
        }
        _BASE = _base;
        _CODEHASH = _codehash;        
        _UPGRADABLE = _isUpgradable;
    }

    /// @dev Tells whether provided address could eventually upgrade the contract.
    function isUpgradableFrom(address from) virtual external view returns (bool);


    /// TODO: the following methods should be all declared as pure 
    ///       whenever this Solidity's PR gets merged and released: 
    ///       https://github.com/ethereum/solidity/pull/10240

    /// @dev Retrieves base contract. Differs from address(this) when via delegate-proxy pattern.
    function base() public view returns (address) {
        return _BASE;
    }

    /// @dev Retrieves the immutable codehash of this contract, even if invoked as delegatecall.
    /// @return _codehash This contracts immutable codehash.
    function codehash() public view returns (bytes32 _codehash) {
        return _CODEHASH;
    }
    
    /// @dev Determines whether current instance allows being upgraded.
    /// @dev Returned value should be invariant from whoever is calling.
    function isUpgradable() public view returns (bool) {        
        return _UPGRADABLE;
    }

    /// @dev Retrieves human-redable named version of current implementation.
    function version() virtual public view returns (bytes32); 
}
// File: contracts\impls\WitnetProxy.sol
/// @title WitnetProxy: upgradable delegate-proxy contract that routes Witnet data requests coming from a 
/// `UsingWitnet`-inheriting contract to a currently active `WitnetRequestBoard` implementation. 
/// @author The Witnet Foundation.
contract WitnetProxy {

    struct WitnetProxySlot {
        address implementation;
    }

    /// Event emitted every time the implementation gets updated.
    event Upgraded(address indexed implementation);  

    /// Constructor with no params as to ease eventual support of Singleton pattern (i.e. ERC-2470).
    constructor () {}

    /// WitnetProxies will never accept direct transfer of ETHs.
    receive() external payable {
        revert("WitnetProxy: no transfers accepted");
    }

    /// Payable fallback accepts delegating calls to payable functions.  
    fallback() external payable { /* solhint-disable no-complex-fallback */
        address _implementation = implementation();

        assembly { /* solhint-disable avoid-low-level-calls */
            // Gas optimized delegate call to 'implementation' contract.
            // Note: `msg.data`, `msg.sender` and `msg.value` will be passed over 
            //       to actual implementation of `msg.sig` within `implementation` contract.
            let ptr := mload(0x40)
            calldatacopy(ptr, 0, calldatasize())
            let result := delegatecall(gas(), _implementation, ptr, calldatasize(), 0, 0)
            let size := returndatasize()
            returndatacopy(ptr, 0, size)
            switch result
                case 0  { 
                    // pass back revert message:
                    revert(ptr, size) 
                }
                default {
                  // pass back same data as returned by 'implementation' contract:
                  return(ptr, size) 
                }
        }
    }

    /// Returns proxy's current implementation address.
    function implementation() public view returns (address) {
        return _proxySlot().implementation;
    }

    /// Upgrades the `implementation` address.
    /// @param _newImplementation New implementation address.
    /// @param _initData Raw data with which new implementation will be initialized.
    /// @return Returns whether new implementation would be further upgradable, or not.
    function upgradeTo(address _newImplementation, bytes memory _initData)
        public returns (bool)
    {
        // New implementation cannot be null:
        require(_newImplementation != address(0), "WitnetProxy: null implementation");

        address _oldImplementation = implementation();
        if (_oldImplementation != address(0)) {
            // New implementation address must differ from current one:
            require(_newImplementation != _oldImplementation, "WitnetProxy: nothing to upgrade");

            // Assert whether current implementation is intrinsically upgradable:
            try Upgradable(_oldImplementation).isUpgradable() returns (bool _isUpgradable) {
                require(_isUpgradable, "WitnetProxy: not upgradable");
            } catch {
                revert("WitnetProxy: unable to check upgradability");
            }

            // Assert whether current implementation allows `msg.sender` to upgrade the proxy:
            (bool _wasCalled, bytes memory _result) = _oldImplementation.delegatecall(
                abi.encodeWithSignature(
                    "isUpgradableFrom(address)",
                    msg.sender
                )
            );
            require(_wasCalled, "WitnetProxy: not compliant");
            require(abi.decode(_result, (bool)), "WitnetProxy: not authorized");
            require(
                Upgradable(_oldImplementation).proxiableUUID() == Upgradable(_newImplementation).proxiableUUID(),
                "WitnetProxy: proxiableUUIDs mismatch"
            );
        }

        // Initialize new implementation within proxy-context storage:
        (bool _wasInitialized,) = _newImplementation.delegatecall(
            abi.encodeWithSignature(
                "initialize(bytes)",
                _initData
            )
        );
        require(_wasInitialized, "WitnetProxy: unable to initialize");

        // If all checks and initialization pass, update implementation address:
        _proxySlot().implementation = _newImplementation;
        emit Upgraded(_newImplementation);

        // Asserts new implementation complies w/ minimal implementation of Upgradable interface:
        try Upgradable(_newImplementation).isUpgradable() returns (bool _isUpgradable) {
            return _isUpgradable;
        }
        catch {
            revert ("WitnetProxy: not compliant");
        }
    }

    /// @dev Complying with EIP-1967, retrieves storage struct containing proxy's current implementation address.
    function _proxySlot() private pure returns (WitnetProxySlot storage _slot) {
        assembly {
            // bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)
            _slot.slot := 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
        }
    }

}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newImplementation","type":"address"},{"internalType":"bytes","name":"_initData","type":"bytes"}],"name":"upgradeTo","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5061096f806100206000396000f3fe60806040526004361061002d5760003560e01c80635c60da1b146100bb5780636fbc15e9146100ed5761008a565b3661008a5760405162461bcd60e51b815260206004820152602260248201527f5769746e657450726f78793a206e6f207472616e736665727320616363657074604482015261195960f21b60648201526084015b60405180910390fd5b600061009461011d565b905060405136600082376000803683855af43d806000843e8180156100b7578184f35b8184fd5b3480156100c757600080fd5b506100d061011d565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100f957600080fd5b5061010d6101083660046107a8565b61014b565b60405190151581526020016100e4565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b60006001600160a01b0383166101a35760405162461bcd60e51b815260206004820181905260248201527f5769746e657450726f78793a206e756c6c20696d706c656d656e746174696f6e6044820152606401610081565b60006101ad61011d565b90506001600160a01b0381161561058957806001600160a01b0316846001600160a01b03160361021f5760405162461bcd60e51b815260206004820152601f60248201527f5769746e657450726f78793a206e6f7468696e6720746f2075706772616465006044820152606401610081565b806001600160a01b0316635479d9406040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610279575060408051601f3d908101601f1916820190925261027691810190610878565b60015b6102d85760405162461bcd60e51b815260206004820152602a60248201527f5769746e657450726f78793a20756e61626c6520746f20636865636b207570676044820152697261646162696c69747960b01b6064820152608401610081565b806103255760405162461bcd60e51b815260206004820152601b60248201527f5769746e657450726f78793a206e6f742075706772616461626c6500000000006044820152606401610081565b5060405133602482015260009081906001600160a01b0384169060440160408051601f198184030181529181526020820180516001600160e01b03166335ac4b0560e11b1790525161037791906108d1565b600060405180830381855af49150503d80600081146103b2576040519150601f19603f3d011682016040523d82523d6000602084013e6103b7565b606091505b5091509150816104095760405162461bcd60e51b815260206004820152601a60248201527f5769746e657450726f78793a206e6f7420636f6d706c69616e740000000000006044820152606401610081565b8080602001905181019061041d9190610878565b6104695760405162461bcd60e51b815260206004820152601b60248201527f5769746e657450726f78793a206e6f7420617574686f72697a656400000000006044820152606401610081565b856001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104cb91906108ed565b836001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052d91906108ed565b146105865760405162461bcd60e51b8152602060048201526024808201527f5769746e657450726f78793a2070726f786961626c655555494473206d69736d6044820152630c2e8c6d60e31b6064820152608401610081565b50505b6000846001600160a01b0316846040516024016105a69190610906565b60408051601f198184030181529181526020820180516001600160e01b031663439fab9160e01b179052516105db91906108d1565b600060405180830381855af49150503d8060008114610616576040519150601f19603f3d011682016040523d82523d6000602084013e61061b565b606091505b50509050806106765760405162461bcd60e51b815260206004820152602160248201527f5769746e657450726f78793a20756e61626c6520746f20696e697469616c697a6044820152606560f81b6064820152608401610081565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0387169081179091556040517fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2846001600160a01b0316635479d9406040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610736575060408051601f3d908101601f1916820190925261073391810190610878565b60015b6107825760405162461bcd60e51b815260206004820152601a60248201527f5769746e657450726f78793a206e6f7420636f6d706c69616e740000000000006044820152606401610081565b925061078c915050565b92915050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156107bb57600080fd5b82356001600160a01b03811681146107d257600080fd5b9150602083013567ffffffffffffffff808211156107ef57600080fd5b818501915085601f83011261080357600080fd5b81358181111561081557610815610792565b604051601f8201601f19908116603f0116810190838211818310171561083d5761083d610792565b8160405282815288602084870101111561085657600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561088a57600080fd5b8151801515811461089a57600080fd5b9392505050565b60005b838110156108bc5781810151838201526020016108a4565b838111156108cb576000848401525b50505050565b600082516108e38184602087016108a1565b9190910192915050565b6000602082840312156108ff57600080fd5b5051919050565b60208152600082518060208401526109258160408501602087016108a1565b601f01601f1916919091016040019291505056fea2646970667358221220930139189181032388e9f0edc0b639594bd01ff013ccf55aebd60302b9fe8b8064736f6c634300080d0033

Deployed ByteCode Sourcemap

3259:4977:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;3716:44;;-1:-1:-1;;;3716:44:0;;216:2:1;3716:44:0;;;198:21:1;255:2;235:18;;;228:30;294:34;274:18;;;267:62;-1:-1:-1;;;345:18:1;;;338:32;387:19;;3716:44:0;;;;;;;;3259:4977;3932:23;3958:16;:14;:16::i;:::-;3932:42;;4324:4;4318:11;4364:14;4361:1;4356:3;4343:36;4468:1;4465;4449:14;4444:3;4427:15;4420:5;4407:63;4496:16;4549:4;4546:1;4541:3;4526:28;4575:6;4599:119;;;;4861:4;4856:3;4849:17;4599:119;4693:4;4688:3;4681:17;4969:109;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;581:32:1;;;563:51;;551:2;536:18;4969:109:0;;;;;;;;5372:2448;;;;;;;;;;-1:-1:-1;5372:2448:0;;;;;:::i;:::-;;:::i;:::-;;;2022:14:1;;2015:22;1997:41;;1985:2;1970:18;5372:2448:0;1857:187:1;4969:109:0;8147:66;5043:27;-1:-1:-1;;;;;5043:27:0;;4969:109::o;5372:2448::-;5468:4;-1:-1:-1;;;;;5545:32:0;;5537:77;;;;-1:-1:-1;;;5537:77:0;;2251:2:1;5537:77:0;;;2233:21:1;;;2270:18;;;2263:30;2329:34;2309:18;;;2302:62;2381:18;;5537:77:0;2049:356:1;5537:77:0;5627:26;5656:16;:14;:16::i;:::-;5627:45;-1:-1:-1;;;;;;5687:32:0;;;5683:1282;;5839:18;-1:-1:-1;;;;;5817:40:0;:18;-1:-1:-1;;;;;5817:40:0;;5809:84;;;;-1:-1:-1;;;5809:84:0;;2612:2:1;5809:84:0;;;2594:21:1;2651:2;2631:18;;;2624:30;2690:33;2670:18;;;2663:61;2741:18;;5809:84:0;2410:355:1;5809:84:0;6008:18;-1:-1:-1;;;;;5997:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5997:45:0;;;;;;;;-1:-1:-1;;5997:45:0;;;;;;;;;;;;:::i;:::-;;;5993:261;;6186:52;;-1:-1:-1;;;6186:52:0;;3254:2:1;6186:52:0;;;3236:21:1;3293:2;3273:18;;;3266:30;3332:34;3312:18;;;3305:62;-1:-1:-1;;;3383:18:1;;;3376:40;3433:19;;6186:52:0;3052:406:1;5993:261:0;6099:13;6091:53;;;;-1:-1:-1;;;6091:53:0;;3665:2:1;6091:53:0;;;3647:21:1;3704:2;3684:18;;;3677:30;3743:29;3723:18;;;3716:57;3790:18;;6091:53:0;3463:351:1;6091:53:0;-1:-1:-1;6458:125:0;;6554:10;6458:125;;;563:51:1;6367:15:0;;;;-1:-1:-1;;;;;6408:31:0;;;536:18:1;;6458:125:0;;;-1:-1:-1;;6458:125:0;;;;;;;;;;;;;;-1:-1:-1;;;;;6458:125:0;-1:-1:-1;;;6458:125:0;;;6408:190;;;6458:125;6408:190;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6366:232;;;;6621:10;6613:49;;;;-1:-1:-1;;;6613:49:0;;4563:2:1;6613:49:0;;;4545:21:1;4602:2;4582:18;;;4575:30;4641:28;4621:18;;;4614:56;4687:18;;6613:49:0;4361:350:1;6613:49:0;6696:7;6685:27;;;;;;;;;;;;:::i;:::-;6677:67;;;;-1:-1:-1;;;6677:67:0;;4918:2:1;6677:67:0;;;4900:21:1;4957:2;4937:18;;;4930:30;4996:29;4976:18;;;4969:57;5043:18;;6677:67:0;4716:351:1;6677:67:0;6846:18;-1:-1:-1;;;;;6835:44:0;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6796:18;-1:-1:-1;;;;;6785:44:0;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:96;6759:194;;;;-1:-1:-1;;;6759:194:0;;5463:2:1;6759:194:0;;;5445:21:1;5502:2;5482:18;;;5475:30;5541:34;5521:18;;;5514:62;-1:-1:-1;;;5592:18:1;;;5585:34;5636:19;;6759:194:0;5261:400:1;6759:194:0;5721:1244;;5683:1282;7050:20;7075:18;-1:-1:-1;;;;;7075:31:0;7201:9;7121:104;;;;;;;;:::i;:::-;;;;-1:-1:-1;;7121:104:0;;;;;;;;;;;;;;-1:-1:-1;;;;;7121:104:0;-1:-1:-1;;;7121:104:0;;;7075:161;;;7121:104;7075:161;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7049:187;;;7255:15;7247:61;;;;-1:-1:-1;;;7247:61:0;;6254:2:1;7247:61:0;;;6236:21:1;6293:2;6273:18;;;6266:30;6332:34;6312:18;;;6305:62;-1:-1:-1;;;6383:18:1;;;6376:31;6424:19;;7247:61:0;6052:397:1;7247:61:0;8147:66;7403:48;;-1:-1:-1;;;;;;7403:48:0;-1:-1:-1;;;;;7403:48:0;;;;;;;;7467:28;;;;-1:-1:-1;;7467:28:0;7622:18;-1:-1:-1;;;;;7611:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7611:45:0;;;;;;;;-1:-1:-1;;7611:45:0;;;;;;;;;;;;:::i;:::-;;;7607:206;;7764:37;;-1:-1:-1;;;7764:37:0;;4563:2:1;7764:37:0;;;4545:21:1;4602:2;4582:18;;;4575:30;4641:28;4621:18;;;4614:56;4687:18;;7764:37:0;4361:350:1;7607:206:0;7708:13;-1:-1:-1;7701:20:0;;-1:-1:-1;;7701:20:0;5372:2448;;;;;:::o;625:127:1:-;686:10;681:3;677:20;674:1;667:31;717:4;714:1;707:15;741:4;738:1;731:15;757:1095;834:6;842;895:2;883:9;874:7;870:23;866:32;863:52;;;911:1;908;901:12;863:52;937:23;;-1:-1:-1;;;;;989:31:1;;979:42;;969:70;;1035:1;1032;1025:12;969:70;1058:5;-1:-1:-1;1114:2:1;1099:18;;1086:32;1137:18;1167:14;;;1164:34;;;1194:1;1191;1184:12;1164:34;1232:6;1221:9;1217:22;1207:32;;1277:7;1270:4;1266:2;1262:13;1258:27;1248:55;;1299:1;1296;1289:12;1248:55;1335:2;1322:16;1357:2;1353;1350:10;1347:36;;;1363:18;;:::i;:::-;1438:2;1432:9;1406:2;1492:13;;-1:-1:-1;;1488:22:1;;;1512:2;1484:31;1480:40;1468:53;;;1536:18;;;1556:22;;;1533:46;1530:72;;;1582:18;;:::i;:::-;1622:10;1618:2;1611:22;1657:2;1649:6;1642:18;1697:7;1692:2;1687;1683;1679:11;1675:20;1672:33;1669:53;;;1718:1;1715;1708:12;1669:53;1774:2;1769;1765;1761:11;1756:2;1748:6;1744:15;1731:46;1819:1;1814:2;1809;1801:6;1797:15;1793:24;1786:35;1840:6;1830:16;;;;;;;757:1095;;;;;:::o;2770:277::-;2837:6;2890:2;2878:9;2869:7;2865:23;2861:32;2858:52;;;2906:1;2903;2896:12;2858:52;2938:9;2932:16;2991:5;2984:13;2977:21;2970:5;2967:32;2957:60;;3013:1;3010;3003:12;2957:60;3036:5;2770:277;-1:-1:-1;;;2770:277:1:o;3819:258::-;3891:1;3901:113;3915:6;3912:1;3909:13;3901:113;;;3991:11;;;3985:18;3972:11;;;3965:39;3937:2;3930:10;3901:113;;;4032:6;4029:1;4026:13;4023:48;;;4067:1;4058:6;4053:3;4049:16;4042:27;4023:48;;3819:258;;;:::o;4082:274::-;4211:3;4249:6;4243:13;4265:53;4311:6;4306:3;4299:4;4291:6;4287:17;4265:53;:::i;:::-;4334:16;;;;;4082:274;-1:-1:-1;;4082:274:1:o;5072:184::-;5142:6;5195:2;5183:9;5174:7;5170:23;5166:32;5163:52;;;5211:1;5208;5201:12;5163:52;-1:-1:-1;5234:16:1;;5072:184;-1:-1:-1;5072:184:1:o;5666:381::-;5813:2;5802:9;5795:21;5776:4;5845:6;5839:13;5888:6;5883:2;5872:9;5868:18;5861:34;5904:66;5963:6;5958:2;5947:9;5943:18;5938:2;5930:6;5926:15;5904:66;:::i;:::-;6031:2;6010:15;-1:-1:-1;;6006:29:1;5991:45;;;;6038:2;5987:54;;5666:381;-1:-1:-1;;5666:381:1:o

Swarm Source

ipfs://930139189181032388e9f0edc0b639594bd01ff013ccf55aebd60302b9fe8b80
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading