Contract 0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x87f0fef86df4f2c1675f27c387188cc76f0a891515a1fe4c796863b5f5649b74Execute Meta Tra...217157532021-11-23 18:09:565 days 3 hrs ago0xfeb2877e61fcc606025bcc7a72389642bee9d922 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.0089724
0x8a26b804bccc9ab267491ac20fb94dcc383af1b9ad4f215f15446c78fa7560a4Withdraw215190852021-11-18 14:33:2610 days 7 hrs ago0x06d79a13b6bcef2afc41acf0de178e18ffd9536d IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.00073896
0xc8a88f7c1d70b0d2ad7d15a9c0c88cb241399466fb397f1d773b477fa094d4b7Transfer215185922021-11-18 14:16:3210 days 7 hrs ago0x06d79a13b6bcef2afc41acf0de178e18ffd9536d IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.004304256
0xfd1bf565684c2af4e6a6122ce01827fe73866a83ebb736c2746913e5dacb0004Withdraw214503122021-11-16 20:22:2712 days 1 hr ago0xb6799258b5e25857daaf2ced9b9dd61859f9cb77 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.00073896
0x9f07e84c0755aac89bab4b4fe7fce17db4368dd3bc36242efa07266ec5668f88Approve210152372021-11-05 14:44:4123 days 6 hrs ago0x44e2f285f26bf65b5396873dd25b8d82a63e5546 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.0039176
0x91611a757ef494856605835352984ad8c26d3906a1919f46628304078359664aTransfer208904262021-11-02 8:57:2526 days 12 hrs ago0x3b51f1654b17d8366529c318b8a571059a4110d5 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.00021124
0x84820cff2021a96f7d472db3eae69f10af22127ae5fd1e685d0aa45facc0f7cfTransfer208272332021-10-31 17:18:0328 days 4 hrs ago0x5b5acb5e68df9fafc52499dc8aa656b8a313f183 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.004178856
0x3a0bef4f8ce2d1754efd8731b164a4a95b673f3b26a96465dd9f8204de9709f5Approve204182032021-10-20 14:31:1939 days 7 hrs ago0xaa08ab54be81863ee8e525865d085ea5e6cc4179 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.006040352
0x9fd7380ada6a12c65785b0e9fa6ba97c2a0f75d14253b3ca48755a734dea4506Approve203713492021-10-19 6:47:1640 days 14 hrs ago0xa93045f1bb354b38d8dea014f3a3e9ba83bef6c3 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.001770448
0x8883692491d1b3c44ab3738823ee9e90838fb80ed07fb6bf304af796e96b6002Approve202935592021-10-16 23:50:2242 days 21 hrs ago0xa2484a6d0efceaa4f6f22eb74d9bb792fdd17624 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.000646404
0xdc0db59054f7fdb2149a0ad3b74ed3b113c513b07ef49e8d5010cea6b5288601Withdraw202107592021-10-14 13:21:1645 days 8 hrs ago0x7a3f4ff3dc9efee358993f7cc7f75b1096305312 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.00084758712
0x755eb2190b64a1670391c1264c9fddb3059b4c0c031baf403d6df1c709f11177Approve195488602021-09-26 21:24:3463 days 14 mins ago0xdb91b926b40c9f108721d57985af5466929268ad IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.00014785579
0xb952ec0e4c097edb00ce3cbb687bc8e9a94c7d6702358df6060ae4d4fb04e0ccApprove193840082021-09-22 12:23:1367 days 9 hrs ago0xa0003cdb2f4bc16880a3d0163afe012afab6350c IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.00019588
0x128e146fb9b97139466e884c0491c292341e2dc33c64de57fd61fa3e16a2632bApprove191492852021-09-15 21:42:2973 days 23 hrs ago0x36a8a94153514202e1a0b957659fe2599b1eb0f1 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.001926664
0xcf1de551306425ad89e90b7d97e419dc28ac52f3be37b2100b6cb406de9b7a9dApprove190684602021-09-13 17:57:2976 days 3 hrs ago0x31963b060d71ee24a6d458b75aa85e63b99bd7fb IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.023224112
0x9a2c9d629b4e17dfa65866e4b63b735c518df087ac017249904975d9b10b8ec1Approve190504562021-09-13 5:41:3676 days 15 hrs ago0x0284439da6039b2e2fdd4dca08444856b9b7a6b9 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.002447384
0xf92ae44e668ffd5865bdb4c22522aeaa967de6e399de1b17ee053b5d6f85c6acApprove187308112021-09-04 7:46:3685 days 13 hrs ago0x3961c55c2c2b8d56080217fb114b92a595af3d66 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.001718376
0xb8b981871ad067875c89200e3f9405d97f4ddf6e3c81f405721a7d67027a591cApprove184151572021-08-26 12:24:5894 days 9 hrs ago0x21e604ec97a11c190eb905038e098120b7345380 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.00729008
0x08fafe012827877d7fae9dfbf039b287620c3668c527d428ca5bce851320a70dApprove184107712021-08-26 9:29:0094 days 12 hrs ago0x7f9976003c160d52905f143cda321ad4007dbb73 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.005779992
0x50d2a46217ef892eadd58ff4cc8115980451a3fedbf20d8c5acb2260a6475e61Approve183797772021-08-25 11:44:0795 days 9 hrs ago0x6336dbe1dc25796bb4794c420feba70796f2fc8b IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.003280536
0x356d394e81f70ed2ba6b0a38248f09e2bc248f561085961149cf606f42b2a716Withdraw183193062021-08-23 21:07:1197 days 32 mins ago0xa90a1452ea66fa8912f5473ec46aaebe65e7306f IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.000251451666
0xb5fa57083d3a8c684c7762dfb1c801582ddf9859b6f3ebf5998dc7522479112cWithdraw183106262021-08-23 16:00:4797 days 5 hrs ago0x30bb39400be96e45d3f386e2f4ab3a29cfcb2a84 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.000240088
0x7293eb379f8f1de1aa8ceb89007e1322d3654de9708fa2bef9ea9217c16b1135Approve182107792021-08-20 23:08:0799 days 22 hrs ago0x5452433f3c1ebc9fa2045cc3a276e02e7910cdab IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.0104144
0xbfe65c1db3196e3ef1fe6838f104603f85b93ddf65e0ecf915b43482afdc8720Approve182101232021-08-20 22:41:3499 days 22 hrs ago0xb0b235d3b8f65d6f7ef5efbc7678c6187bb034d6 IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.010310256
0x0a77b7964e5a8f7f67e5633731e249da889a7221d706a7687d1b23404b2d6f9dApprove181164642021-08-18 10:06:58102 days 11 hrs ago0xf515b6615eef244236e247b0235f25252c288a0e IN  0xae740d42e4ff0c5086b2b5b5d149eb2f9e1a754f0 MATIC0.00019588
[ 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"}]

608060405234801561001057600080fd5b50604051610c85380380610c858339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806100543361006a60201b60201c565b610063816100ab60201b60201c565b50506100cf565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e6572000000000000008152506019019050604051809103902090508181555050565b60006040518080610c63602291396022019050604051809103902090508181555050565b610b85806100de6000396000f3fe6080604052600436106100595760003560e01c8063025313a21461010e578063025b22bc146101655780634555d5c9146101b65780635c60da1b146101e1578063d88ca2c814610238578063f1739cae14610313576100b6565b366100b6576100b4610069610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b61010c6100c1610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b34801561011a57600080fd5b506101236103ba565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561017157600080fd5b506101b46004803603602081101561018857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103c9565b005b3480156101c257600080fd5b506101cb6105df565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f66105e8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103116004803603604081101561024e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460018302840111640100000000831117156102bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506105f7565b005b34801561031f57600080fd5b506103626004803603602081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610813565b005b60008060006040518080610b2e6022913960220190506040518091039020905080549150819250505090565b600080825160208401856127105a03f43d604051816000823e82600081146103b6578282f35b8282fd5b60006103c4610a08565b905090565b3373ffffffffffffffffffffffffffffffffffffffff166103e8610a08565b73ffffffffffffffffffffffffffffffffffffffff1614610471576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610514576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f494e56414c49445f50524f58595f41444452455353000000000000000000000081525060200191505060405180910390fd5b61051d81610a51565b610572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b096025913960400191505060405180910390fd5b61057a610364565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e160405160405180910390a36105dc81610aa3565b50565b60006002905090565b60006105f2610364565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16610616610a08565b73ffffffffffffffffffffffffffffffffffffffff161461069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6106a8826103c9565b600060603073ffffffffffffffffffffffffffffffffffffffff1634846040518082805190602001908083835b602083106106f857805182526020820191506020810190506020830392506106d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461075a576040519150601f19603f3d011682016040523d82523d6000602084013e61075f565b606091505b509150915081819061080c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156107d15780820151818401526020810190506107b6565b50505050905090810190601f1680156107fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610832610a08565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f5f41444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b7fdbe5fd65bcdbae152f24ab660ea68e72b4d4705b57b16e0caae994e214680ee281610988610a08565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1610a0581610ac7565b50565b600080600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e65720000000000000081525060190190506040518091039020905080549150819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a905760009050610a9e565b6000823b9050600081119150505b919050565b60006040518080610b2e602291396022019050604051809103902090508181555050565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e657200000000000000815250601901905060405180910390209050818155505056fe44455354494e4154494f4e5f414444524553535f49535f4e4f545f415f434f4e54524143546d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6ea264697066735822122041ef759422fabf085e8197d08185f4d0cdb3a0ab3423629d2271c1c06c720f0664736f6c634300060600336d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6e0000000000000000000000000f1c828ae960a1780c7125b9b6be2f7e3dba22cd

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

0000000000000000000000000f1c828ae960a1780c7125b9b6be2f7e3dba22cd

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000f1c828ae960a1780c7125b9b6be2f7e3dba22cd


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.