Contract 0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff8

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xacef87d8f4d13b999f927a968932ea830166c938f281ad83d461320fe0f6484cWithdraw202590722021-10-15 23:00:166 hrs 52 mins ago0xe343e165769f4e51997d4ff666deae7d97ef4753 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00138208
0x0c2b0c2881199f01398cfa69c881a51dbc99421c694e91fcdf739a25c57f3d92Approve202520392021-10-15 18:32:4211 hrs 19 mins ago0x42ce0bd8a3b581be55a4c1be3fc5387d16a146e2 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00156216
0x70374835b00ecf5d7c81984fc9ca35cdb461d50a03158601bd2f70543c800ebcTransfer202515832021-10-15 18:14:5011 hrs 37 mins ago0x42ce0bd8a3b581be55a4c1be3fc5387d16a146e2 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00097896
0xd549a8ddd5c373332c3c1a29bea14fb7f75a7175514b706c77d7981a19490150Approve202464112021-10-15 14:48:5715 hrs 3 mins ago0xf6dbba9639100c1004d5ba18effd897828f8126d IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.0015528
0xc3e1ab26ded7b904b38ee7d5284083e08c72527285a55b1ebb6e383aec584eddApprove202444742021-10-15 13:30:0416 hrs 22 mins ago0x3483ed7d3444a311a7585f0e59c9a74d6c111218 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.0026036
0x23872c4540c8849385c6e3f866a0a0461e9e6176e269e6048bf393a3ff6df211Transfer202428702021-10-15 12:26:0917 hrs 26 mins ago0xfb6897d124cc8e318a20a4db1b5b0b637993bbab IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.002011
0x764e69402a94320c04fb1533b9ff9c69fd21b4ee382aae99dd7bc969dd2c1526Approve202381892021-10-15 9:04:0120 hrs 48 mins ago0x0dc918772e8787e5c58e58457368ebcc447487af IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00286396
0xac86cdbb087c5cf3ba1225f3ae0b4a70ad0285401ae1b761beeadf39f33df66cWithdraw202312532021-10-15 3:10:361 day 2 hrs ago0xe343e165769f4e51997d4ff666deae7d97ef4753 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.002468
0x02b85042261c95e3931530ebbbf99d7cb32d2347b86a894a5b834225bcfcaf67Approve202311212021-10-15 3:05:201 day 2 hrs ago0x31326a58489928a4f7a5b22e41f0cb6c03613ddd IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00312432
0x2424da7f939786e5749992ce7fe9316038ad6d033cbb9f1903fd268085dd76baApprove202225352021-10-14 21:35:481 day 8 hrs ago0xac1f0e04e680300b3740e7831157d3267efb66e3 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.004582336
0xcfc7875065b4b1b5683cfe4801dba01cb2af2d3ea2411980298da002bd7c3edbApprove202197592021-10-14 19:37:171 day 10 hrs ago0x590a144fe3263f0541998bb4d8c67c37c7fb7a27 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00156216
0x1cac350ae623d0d479cc6ae18e43f4b04e28f240bbff941a7ae46daa803245bdTransfer202151622021-10-14 16:19:411 day 13 hrs ago0xd4ba6d7866026bffa4d89399acbfbd6a57642fd5 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00127068
0x8ab01a43f4ed1902ad792ee69fce445cf8e824a59f5587a3bdc7fff4d96475feApprove202141042021-10-14 15:30:101 day 14 hrs ago0x630d8d691314bbb09f1ddde770aa4b59ab7393cb IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.001614232
0x9409202c71e37e37b6e1d0f2611cc3118e811cb7bb7eaa5a6a148b0fcffe69d3Approve202120142021-10-14 14:11:231 day 15 hrs ago0xd4ba6d7866026bffa4d89399acbfbd6a57642fd5 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.0026036
0xd82e45963d480601ce243c471f772ea1055f8140a89ace2b1f4063418b5f3ecaWithdraw202062852021-10-14 10:24:221 day 19 hrs ago0x760497bffaed0850eb7db38b5a28abc3b1c656e7 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00118968
0x9654e9e7c1eefd03e1f7fd81b977cafb5ccee871e7ae7d3c0cb8a9511fab798cWithdraw202043342021-10-14 9:03:141 day 20 hrs ago0xe343e165769f4e51997d4ff666deae7d97ef4753 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00138208
0xfaada24eba7fbe3a95900f7048223a0eac59d2b065d23cf648c0b199c6e33d7aApprove202015542021-10-14 7:16:151 day 22 hrs ago0x043efb51a5ca4ac361519753404081da3db27037 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00096516
0x214d0db07ac5726a8a72cbc63c70b2e48f0fa5aa02099d200205ea458ceea9b6Approve202015532021-10-14 7:16:131 day 22 hrs ago0x043efb51a5ca4ac361519753404081da3db27037 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.0002123352
0x7e38a3cdf528bee324b8572d48dbbc26b81637e9ad22bd3e523f62663cd3eae4Approve201989462021-10-14 5:27:222 days 25 mins ago0x043efb51a5ca4ac361519753404081da3db27037 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.0016086
0x5fa2d8bd6d6f62ce2e5b5bfbffb67c46cbf217ac474035581d29bd5376a5937fApprove201876402021-10-13 21:54:352 days 7 hrs ago0xac1f0e04e680300b3740e7831157d3267efb66e3 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00156216
0x7561c8cfa95815033024a7dda54584b1e54468c984fcd7eb6b19f0b348ef68e5Withdraw201839582021-10-13 19:31:402 days 10 hrs ago0xe343e165769f4e51997d4ff666deae7d97ef4753 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.00140676
0xed24328b65735e952f4837fd5681d3c7fa370cb3441889d67df048ddb0a25041Approve201830082021-10-13 18:52:362 days 11 hrs ago0x043efb51a5ca4ac361519753404081da3db27037 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.0016086
0x7996c3e347836c9fc6e4f2f34274a7526473349bc92c139a47a01dda364f683aApprove201830082021-10-13 18:52:362 days 11 hrs ago0x043efb51a5ca4ac361519753404081da3db27037 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.0016086
0x68cb28382774f3396181add81d2ab3f9f6c471d25a0a6a8fbfc1887bbb530504Approve201830082021-10-13 18:52:362 days 11 hrs ago0x043efb51a5ca4ac361519753404081da3db27037 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.0026036
0x174248d1e69c45b9723642e2b9fc3a8d79a0db18a86be281bab1b5572852c3f5Transfer201803822021-10-13 17:12:462 days 12 hrs ago0xe9d55058f7e1892720498b259f3d178134a7ddc1 IN  0xc3cffdaf8f3fdf07da6d5e3a89b8723d5e385ff80 MATIC0.0017196
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

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"}]

608060405234801561001057600080fd5b50604051610c85380380610c858339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806100543361006a60201b60201c565b610063816100ab60201b60201c565b50506100cf565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e6572000000000000008152506019019050604051809103902090508181555050565b60006040518080610c63602291396022019050604051809103902090508181555050565b610b85806100de6000396000f3fe6080604052600436106100595760003560e01c8063025313a21461010e578063025b22bc146101655780634555d5c9146101b65780635c60da1b146101e1578063d88ca2c814610238578063f1739cae14610313576100b6565b366100b6576100b4610069610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b61010c6100c1610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b34801561011a57600080fd5b506101236103ba565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561017157600080fd5b506101b46004803603602081101561018857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103c9565b005b3480156101c257600080fd5b506101cb6105df565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f66105e8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103116004803603604081101561024e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460018302840111640100000000831117156102bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506105f7565b005b34801561031f57600080fd5b506103626004803603602081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610813565b005b60008060006040518080610b2e6022913960220190506040518091039020905080549150819250505090565b600080825160208401856127105a03f43d604051816000823e82600081146103b6578282f35b8282fd5b60006103c4610a08565b905090565b3373ffffffffffffffffffffffffffffffffffffffff166103e8610a08565b73ffffffffffffffffffffffffffffffffffffffff1614610471576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610514576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f494e56414c49445f50524f58595f41444452455353000000000000000000000081525060200191505060405180910390fd5b61051d81610a51565b610572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b096025913960400191505060405180910390fd5b61057a610364565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e160405160405180910390a36105dc81610aa3565b50565b60006002905090565b60006105f2610364565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16610616610a08565b73ffffffffffffffffffffffffffffffffffffffff161461069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6106a8826103c9565b600060603073ffffffffffffffffffffffffffffffffffffffff1634846040518082805190602001908083835b602083106106f857805182526020820191506020810190506020830392506106d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461075a576040519150601f19603f3d011682016040523d82523d6000602084013e61075f565b606091505b509150915081819061080c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156107d15780820151818401526020810190506107b6565b50505050905090810190601f1680156107fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610832610a08565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f5f41444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b7fdbe5fd65bcdbae152f24ab660ea68e72b4d4705b57b16e0caae994e214680ee281610988610a08565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1610a0581610ac7565b50565b600080600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e65720000000000000081525060190190506040518091039020905080549150819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a905760009050610a9e565b6000823b9050600081119150505b919050565b60006040518080610b2e602291396022019050604051809103902090508181555050565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e657200000000000000815250601901905060405180910390209050818155505056fe44455354494e4154494f4e5f414444524553535f49535f4e4f545f415f434f4e54524143546d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6ea264697066735822122041ef759422fabf085e8197d08185f4d0cdb3a0ab3423629d2271c1c06c720f0664736f6c634300060600336d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6e0000000000000000000000005d6f00a9d49ad0f280d996f73952dff3f4d28b5d

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

0000000000000000000000005d6f00a9d49ad0f280d996f73952dff3f4d28b5d

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005d6f00a9d49ad0f280d996f73952dff3f4d28b5d


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.