Contract 0xd0252fb67606ed74d0cacd17b2eb38446e4466c9 2

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x4230a2495aadbe1edc905e3a00a7b7545b1824a1d9c7f00048aa0d81f1243df8Withdraw301256852022-06-29 5:51:5314 hrs 10 mins ago0x65a8f07bd9a8598e1b5b6c0a88f4779dbc077675 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.001310249101 37.564481111
0xc5034b89030c593d774123cba4332a6409414aa09874676ce08ce32d62a4eb19Approve301030152022-06-28 15:58:551 day 4 hrs ago0x502e58ae8f2ce00d3de0451c608f06bf5ce01199 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.003076461316 59.080913286
0xeaa54313b167fdb4f3d81cdc50a99fc0b8e0534192d770f41774a5859c6673edApprove300683722022-06-27 18:24:162 days 1 hr ago0x11333e91fadec9ace3583cadf7555ed264abfb2c IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.003692371378 70.908960264
0xf8c0f80671ef971148adaff7232db341e0af3596e44b61f9869e816727d39925Transfer300649832022-06-27 16:12:322 days 3 hrs ago0x2df55ecf803481fcf8c3390504b7cb25b2402ed9 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.005385726154102.499355873
0xa79a1d032c1e3fb99df7fd3824e6eb9183a051fff16d97e474a0ddf9f9d5d750Approve295990802022-06-15 13:21:1214 days 6 hrs ago0xd54e4f8a55247487dd7c8c59f14ee5c0c2889477 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.003377906479 64.869920108
0xdb40bd3c0d4cf1500ead7a1958b2a2259dee0464c94569be854febe3044d8a40Approve293824032022-06-10 4:42:3419 days 15 hrs ago0x65a8f07bd9a8598e1b5b6c0a88f4779dbc077675 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.0026036 50.000000013
0x20007fcf76c317e9d9166ff0400b07fff99e326ba3e696f407d10f64c9239a64Transfer292318052022-06-06 10:13:4323 days 9 hrs ago0xaed28cf42ec5c3298522077b6eb385e9c6032c39 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.001212950391 34.221600019
0xf9f59677c25ab11b8264a673dde985905b66e44c3dfa60534b2ab4113a78fb2fApprove289553872022-05-30 14:16:1930 days 5 hrs ago0xeae4026a540c87c2eea15ce69e3e85b67400ae1b IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.000970499434 30.188485592
0x028825a5ff2a65506c106e8743e68f4ee4e99b5244dfff9a8005bd718093179dApprove289553832022-05-30 14:16:1130 days 5 hrs ago0xeae4026a540c87c2eea15ce69e3e85b67400ae1b IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.001000514883 31.12215016
0x3d71332a338e24de070e5b83c7717a9ebdd8c15ce7ab47371acd159681d0f182Approve289553822022-05-30 14:16:0930 days 5 hrs ago0xeae4026a540c87c2eea15ce69e3e85b67400ae1b IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.001619845675 31.12215023
0x568689fa98d6a26ca7800428b75947c4fe831887ab39fb169cbb880de11169d5Approve289183272022-05-29 16:11:0531 days 3 hrs ago0x8594d8e9483473626908648a5539d9d65ca2fe8d IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.0039054 75.000000012
0x169bace23542b30f8def9df963f258acc0eb290952571277ad3f5c04acdb25dfTransfer289158792022-05-29 14:44:4931 days 5 hrs ago0x430e8ab6e1e7d30517e6313cfcf5c832ae3be951 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.001657660957 31.540850845
0x0a6cb06e1a35e8e84ad1eabd9c5447a675b915febb38378d52fc566fc3fb25d0Approve285755472022-05-21 4:53:5639 days 15 hrs ago0x60e8fc70d663e5a1e6b99f788999586d03c4234b IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.001566815237 30.089400004
0x093eb0855a89095b234d8edd93430e37b135308fad0f7c4d3a8315fde5a829bdApprove285418682022-05-20 8:33:1740 days 11 hrs ago0x129afa096f138e007f3f5b3aed04a02f51992f5e IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.001567825435 30.108800031
0x6b3c917672634fec63d11767c11da0674bbd2e943ab544b2ea5cd82880bceabaApprove283687002022-05-16 0:45:2444 days 19 hrs ago0x92bc4d57c9ca7f74b3f08e80515855f43a03fb19 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.0052072 100.000000016
0x4dc1a991985a1b9265d716ff0388aacbfbff709ff8aa4df9f35f81d856d3dc9eTransfer283148732022-05-14 16:53:1346 days 3 hrs ago0xb46bbfdffb490c45572df5b199de8efff1b4fc8e IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.007026132488 198.366247545
0x681c9e91bf8d7bd1907148e16c104b69a6a9b1c4d4c11188aff96605bf9c2e3aTransfer283148422022-05-14 16:52:1146 days 3 hrs ago0x66850398c10f06a5c468886e24dbec1aae5fa4a4 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.015635824948 441.141658627
0xabbb1277360d3914a0984c587291cd5f36cc5683d6dff10c418352b19e4856d7Transfer283147762022-05-14 16:49:5546 days 3 hrs ago0x2746d4e7b9b8ecdf1c9acebe3338e03c6c4dabec IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.00330784844 93.294461887
0xfce454a62f7d79d25bd8112c17a7028d172ec30daf10471eb1e2948303ee1c29Approve282960512022-05-14 5:39:3346 days 14 hrs ago0x3657d9aaa6c3334ce926e8e05b70ad7ed6328a06 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.00101714976 32.010000001
0xb3cc3042f8dadf32424171a08bef5eb982c8ce85ceae1b4194ef6ce7a816932bTransfer282596042022-05-13 7:46:3447 days 12 hrs ago0x94403a4d342c40860966c0344a88ac38b9dfc952 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.002726022788 76.910698244
0x524667d81970563f2af1caf71b8fe229190e086b4ad96531de37065425e5e593Withdraw282405402022-05-12 20:14:2147 days 23 hrs ago0xcebda550ff74f50e2b4941b2824c99aff9bda3a6 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.026771815045 767.540568953
0x7b2c42353135a1764b33c889a8e839b9dc980b201775d2888aa49bac41c8ff5fApprove282236062022-05-12 8:56:0148 days 11 hrs ago0x01217e4d2bb6add90d0fc4724cc30657487d85a5 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.015165710658 291.245019569
0x221cd2a01b8d627083d9b82ef536059eb817b8cb3fea20c45238ed3dcde09182Approve281775572022-05-11 4:21:0149 days 15 hrs ago0xfef5b179ac14e768b45daffbdcc89ccaf32285f3 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.0040251656 77.3
0x61bf5bd103fbf368c4294ac4bc1ed83aa9fe3d2bfe8d835bdfa9d7cddfbfcaf4Approve281771952022-05-11 4:08:3349 days 15 hrs ago0x85b2b25bcb79a4945c1d7ad5e773f4af5b7167c3 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.003331120629 63.971436268
0xfbdacdf20e47ebeb861b930df0ad5656ec1440e1fd6707b697190aa56fcb9627Approve281771252022-05-11 4:06:0949 days 15 hrs ago0x85b2b25bcb79a4945c1d7ad5e773f4af5b7167c3 IN  0xd0252fb67606ed74d0cacd17b2eb38446e4466c90 MATIC0.004842910403 93.004117445
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
UChildERC20Proxy

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at polygonscan.com on 2021-06-30
*/

// File: contracts/common/Proxy/IERCProxy.sol

pragma solidity 0.6.6;

interface IERCProxy {
    function proxyType() external pure returns (uint256 proxyTypeId);

    function implementation() external view returns (address codeAddr);
}

// File: contracts/common/Proxy/Proxy.sol

pragma solidity 0.6.6;


abstract contract Proxy is IERCProxy {
    function delegatedFwd(address _dst, bytes memory _calldata) internal {
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            let result := delegatecall(
                sub(gas(), 10000),
                _dst,
                add(_calldata, 0x20),
                mload(_calldata),
                0,
                0
            )
            let size := returndatasize()

            let ptr := mload(0x40)
            returndatacopy(ptr, 0, size)

            // revert instead of invalid() bc if the underlying call failed with invalid() it already wasted gas.
            // if the call returned error data, forward it
            switch result
                case 0 {
                    revert(ptr, size)
                }
                default {
                    return(ptr, size)
                }
        }
    }

    function proxyType() external virtual override pure returns (uint256 proxyTypeId) {
        // Upgradeable proxy
        proxyTypeId = 2;
    }

    function implementation() external virtual override view returns (address);
}

// File: contracts/common/Proxy/UpgradableProxy.sol

pragma solidity 0.6.6;


contract UpgradableProxy is Proxy {
    event ProxyUpdated(address indexed _new, address indexed _old);
    event ProxyOwnerUpdate(address _new, address _old);

    bytes32 constant IMPLEMENTATION_SLOT = keccak256("matic.network.proxy.implementation");
    bytes32 constant OWNER_SLOT = keccak256("matic.network.proxy.owner");

    constructor(address _proxyTo) public {
        setProxyOwner(msg.sender);
        setImplementation(_proxyTo);
    }

    fallback() external payable {
        delegatedFwd(loadImplementation(), msg.data);
    }

    receive() external payable {
        delegatedFwd(loadImplementation(), msg.data);
    }

    modifier onlyProxyOwner() {
        require(loadProxyOwner() == msg.sender, "NOT_OWNER");
        _;
    }

    function proxyOwner() external view returns(address) {
        return loadProxyOwner();
    }

    function loadProxyOwner() internal view returns(address) {
        address _owner;
        bytes32 position = OWNER_SLOT;
        assembly {
            _owner := sload(position)
        }
        return _owner;
    }

    function implementation() external override view returns (address) {
        return loadImplementation();
    }

    function loadImplementation() internal view returns(address) {
        address _impl;
        bytes32 position = IMPLEMENTATION_SLOT;
        assembly {
            _impl := sload(position)
        }
        return _impl;
    }

    function transferProxyOwnership(address newOwner) public onlyProxyOwner {
        require(newOwner != address(0), "ZERO_ADDRESS");
        emit ProxyOwnerUpdate(newOwner, loadProxyOwner());
        setProxyOwner(newOwner);
    }

    function setProxyOwner(address newOwner) private {
        bytes32 position = OWNER_SLOT;
        assembly {
            sstore(position, newOwner)
        }
    }

    function updateImplementation(address _newProxyTo) public onlyProxyOwner {
        require(_newProxyTo != address(0x0), "INVALID_PROXY_ADDRESS");
        require(isContract(_newProxyTo), "DESTINATION_ADDRESS_IS_NOT_A_CONTRACT");

        emit ProxyUpdated(_newProxyTo, loadImplementation());
        
        setImplementation(_newProxyTo);
    }

    function updateAndCall(address _newProxyTo, bytes memory data) payable public onlyProxyOwner {
        updateImplementation(_newProxyTo);

        (bool success, bytes memory returnData) = address(this).call{value: msg.value}(data);
        require(success, string(returnData));
    }

    function setImplementation(address _newProxyTo) private {
        bytes32 position = IMPLEMENTATION_SLOT;
        assembly {
            sstore(position, _newProxyTo)
        }
    }
    
    function isContract(address _target) internal view returns (bool) {
        if (_target == address(0)) {
            return false;
        }

        uint256 size;
        assembly {
            size := extcodesize(_target)
        }
        return size > 0;
    }
}

// File: contracts/child/ChildToken/UpgradeableChildERC20/UChildERC20Proxy.sol

pragma solidity 0.6.6;


contract UChildERC20Proxy is UpgradableProxy {
    constructor(address _proxyTo)
        public
        UpgradableProxy(_proxyTo)
    {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyTo","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_new","type":"address"},{"indexed":false,"internalType":"address","name":"_old","type":"address"}],"name":"ProxyOwnerUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_new","type":"address"},{"indexed":true,"internalType":"address","name":"_old","type":"address"}],"name":"ProxyUpdated","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyType","outputs":[{"internalType":"uint256","name":"proxyTypeId","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferProxyOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newProxyTo","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"updateAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_newProxyTo","type":"address"}],"name":"updateImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50604051610c85380380610c858339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806100543361006a60201b60201c565b610063816100ab60201b60201c565b50506100cf565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e6572000000000000008152506019019050604051809103902090508181555050565b60006040518080610c63602291396022019050604051809103902090508181555050565b610b85806100de6000396000f3fe6080604052600436106100595760003560e01c8063025313a21461010e578063025b22bc146101655780634555d5c9146101b65780635c60da1b146101e1578063d88ca2c814610238578063f1739cae14610313576100b6565b366100b6576100b4610069610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b61010c6100c1610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b34801561011a57600080fd5b506101236103ba565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561017157600080fd5b506101b46004803603602081101561018857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103c9565b005b3480156101c257600080fd5b506101cb6105df565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f66105e8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103116004803603604081101561024e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460018302840111640100000000831117156102bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506105f7565b005b34801561031f57600080fd5b506103626004803603602081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610813565b005b60008060006040518080610b2e6022913960220190506040518091039020905080549150819250505090565b600080825160208401856127105a03f43d604051816000823e82600081146103b6578282f35b8282fd5b60006103c4610a08565b905090565b3373ffffffffffffffffffffffffffffffffffffffff166103e8610a08565b73ffffffffffffffffffffffffffffffffffffffff1614610471576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610514576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f494e56414c49445f50524f58595f41444452455353000000000000000000000081525060200191505060405180910390fd5b61051d81610a51565b610572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b096025913960400191505060405180910390fd5b61057a610364565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e160405160405180910390a36105dc81610aa3565b50565b60006002905090565b60006105f2610364565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16610616610a08565b73ffffffffffffffffffffffffffffffffffffffff161461069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6106a8826103c9565b600060603073ffffffffffffffffffffffffffffffffffffffff1634846040518082805190602001908083835b602083106106f857805182526020820191506020810190506020830392506106d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461075a576040519150601f19603f3d011682016040523d82523d6000602084013e61075f565b606091505b509150915081819061080c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156107d15780820151818401526020810190506107b6565b50505050905090810190601f1680156107fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610832610a08565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f5f41444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b7fdbe5fd65bcdbae152f24ab660ea68e72b4d4705b57b16e0caae994e214680ee281610988610a08565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1610a0581610ac7565b50565b600080600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e65720000000000000081525060190190506040518091039020905080549150819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a905760009050610a9e565b6000823b9050600081119150505b919050565b60006040518080610b2e602291396022019050604051809103902090508181555050565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e657200000000000000815250601901905060405180910390209050818155505056fe44455354494e4154494f4e5f414444524553535f49535f4e4f545f415f434f4e54524143546d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6ea264697066735822122041ef759422fabf085e8197d08185f4d0cdb3a0ab3423629d2271c1c06c720f0664736f6c634300060600336d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6e000000000000000000000000197e3745484fe20ab9550c27f662585ea81d253d

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

000000000000000000000000197e3745484fe20ab9550c27f662585ea81d253d

-----Decoded View---------------
Arg [0] : _proxyTo (address): 0x197e3745484fe20ab9550c27f662585ea81d253d

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000197e3745484fe20ab9550c27f662585ea81d253d


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.