Contract 0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa

Contract Overview

Balance:
0 MATIC

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0xde6b8d8fdf02d887b8ae469b774136323bfece810cda37d9346c612609d931e2168712572021-07-27 8:47:1047 mins ago0x9b814233894cd227f561b78cc65891aa55c62ad2 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.0001166412
0xc634cf6d92e5f7fa4cfa0746c4f77d31a30686978fc82dca726de418af900d48168709082021-07-27 8:35:0859 mins ago0x9b814233894cd227f561b78cc65891aa55c62ad2 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.0001166412
0xe57c8edc22481ff5e526b3f5462180fa32b6708e8d7ec6920ad35685110c438e168703052021-07-27 8:14:261 hr 19 mins ago0x600a1f358bf0c9cf60d0e5469ad0eba1004770ab IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.000144579
0x62e0b028e58318beb87b4681abd12760e5095c742946ed5f3d421cad5ed94698168703022021-07-27 8:14:201 hr 19 mins ago0x9b57580f0be8ee3456f8550eabc0a4ae4b2f823d IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.000165564
0x65a05c7a9941c24c7deac67f80ad80969faa5e3b1cfe5db5fd6341006a821edf168681492021-07-27 7:00:182 hrs 33 mins ago0xe51ba7941a6a84f9ec302c28cadd5a6b3822f8bd IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00120654
0x8f0832035609617bbb0c0b6ea64cf6d1f6faa4a5e014a28e1493e73bcbccbb16168667632021-07-27 6:12:423 hrs 21 mins ago0x9b814233894cd227f561b78cc65891aa55c62ad2 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.0001166412
0xf005e44c7bd88d0c85c5399915bc9b7a0070e9188d03c52deafbd72ee91e56e5168665402021-07-27 6:05:003 hrs 29 mins ago0x9b814233894cd227f561b78cc65891aa55c62ad2 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.0001166412
0xd0d6081dd9f1da8de3ec35d76cdf8fbf76d58315f827a771a4e7e1ddff99a675168621542021-07-27 3:34:165 hrs 59 mins ago0x7208deb6f9e75dab52a6e8ecb872fc32d3afbde8 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00060794
0x9c19c9528d339346ee8ff87610a274c48ff5cf42a2a28d96f79f78296ba3edfd168612602021-07-27 3:03:326 hrs 30 mins ago0x7b031f4da991b412734b46877486088a385c2912 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00060794
0x80b1a26f65e5ea2b2c3a8c2d2317b86de3a73e5b10bd2ef86644beee730a2a11168580282021-07-27 1:08:088 hrs 26 mins ago0x9b814233894cd227f561b78cc65891aa55c62ad2 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.0001166412
0x4433869cd1d553c00eeb08fde4fa448bcce5e55556df14b75105ffded3575182168579422021-07-27 1:05:128 hrs 28 mins ago0x9b814233894cd227f561b78cc65891aa55c62ad2 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.0001166256
0xb673534d71fe0576080a6cae40f2347aee6c138b4becd6ac358a1e445138e980168557982021-07-26 23:51:289 hrs 42 mins ago0x9b814233894cd227f561b78cc65891aa55c62ad2 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.0001166412
0x9a6fd8ef713b1d8686f1bd4f04aa26a3cda8180ec7969d24466aaaaa2e274e18168473032021-07-26 18:59:3014 hrs 34 mins ago0x9b814233894cd227f561b78cc65891aa55c62ad2 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.0001166256
0xa5e840600c16999a38b901677418d5185d925f2fd8883b771343da9a23791ef9168391702021-07-26 14:19:5619 hrs 14 mins ago0xad6d6543ee445449a48226bec946fcdf464945fc IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.000195915
0x922cbd6c0842ce4fb6116ed96765c1e5d3955fe7641d6126c1270d90f92d53cd168391682021-07-26 14:19:5219 hrs 14 mins ago0x86aac70322c27b44cb9296806a10c1d1516a1927 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.000217008
0x9a7f926aba119e4550900f26afac225d378cac29787b3f286c0cf4f4c8a6362f168364412021-07-26 12:46:0620 hrs 48 mins ago0x30a33432858db2728e622f86609c1a1edc0da750 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00059496
0xeb30205f3f942abc7edbd4ca1e404b7609afe9c83aed9b1f141bc799e78ba974168354862021-07-26 12:13:1621 hrs 20 mins ago0x6f50b6948ad0c4c274f0a3fab03b2695652fd341 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00156216
0x6b668658a3cc0e7daa26b1c9ceb609db4a1af58f8d3b8beb8eb909c6fc053974168353192021-07-26 12:07:3021 hrs 26 mins ago0x70870ab280b07541f3fa0a22a05427274d1565e8 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00156216
0xbf23c08ba412620320b65c1bc06a615ac21bdb8b39d71a0cd8b7e9fcad502548168352732021-07-26 12:05:5821 hrs 28 mins ago0x82b4bdbb267377908780446e7d31fc93200f42f5 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00156216
0xe72f3a228d02f4f1a61872890dd02234230532e3c0a1e422c13e398dd425ec05168351622021-07-26 12:02:0821 hrs 32 mins ago0x215968c346c88ad89866c17fa94378b837c410b0 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00156216
0xd96001e08d01f19ca8507aa862366d9e0306af83acb9ba4dda925ade40feef27168350942021-07-26 11:59:4821 hrs 34 mins ago0x372c6de845b4767d7066f08c5a99e1ca2f4a64cd IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00156216
0xe5391710b0c81b2f4081b4d551e92ea311545406a78a5492b761980246ed1225168348682021-07-26 11:52:0021 hrs 42 mins ago0xcc6cc9955ef66477b90ff0c45bb82c8758ba6fb9 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00156216
0x24612ea1701c1d4e5869d54b890a284c2e3161f85d3a8ec8a6c3d236709015bb168348492021-07-26 11:51:2221 hrs 42 mins ago0x61bea1400a69269a7bccbf6e27eaba447cdf593a IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.0017199
0x166f43acf78b1d87b1e9fa4d70822fb5d8e539cfbba700e6a3d9a022ffe11d0e168311362021-07-26 9:43:4423 hrs 50 mins ago0x7f2abce71df246ea6235a4222b2a9ea01c9e951b IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00059496
0x4fcfba684def5f7e859b709e63b28a12a4a0a6b4557e86843273846e76e942e8168303762021-07-26 9:17:361 day 16 mins ago0x30a33432858db2728e622f86609c1a1edc0da750 IN  0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0 MATIC0.00059496
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xf11b147f73a4b543e4974ab8da8790719bbd3e79e95139409ea7d81b07915a5e95035752021-01-18 14:55:55189 days 18 hrs ago 0x7da618f795c3251495190e9caffc94a583c0fcc9 0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa0.000000000001 MATIC
[ Download CSV Export 
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-07-12
*/

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

608060405234801561001057600080fd5b50604051610c85380380610c858339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806100543361006a60201b60201c565b610063816100ab60201b60201c565b50506100cf565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e6572000000000000008152506019019050604051809103902090508181555050565b60006040518080610c63602291396022019050604051809103902090508181555050565b610b85806100de6000396000f3fe6080604052600436106100595760003560e01c8063025313a21461010e578063025b22bc146101655780634555d5c9146101b65780635c60da1b146101e1578063d88ca2c814610238578063f1739cae14610313576100b6565b366100b6576100b4610069610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b61010c6100c1610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b34801561011a57600080fd5b506101236103ba565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561017157600080fd5b506101b46004803603602081101561018857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103c9565b005b3480156101c257600080fd5b506101cb6105df565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f66105e8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103116004803603604081101561024e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460018302840111640100000000831117156102bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506105f7565b005b34801561031f57600080fd5b506103626004803603602081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610813565b005b60008060006040518080610b2e6022913960220190506040518091039020905080549150819250505090565b600080825160208401856127105a03f43d604051816000823e82600081146103b6578282f35b8282fd5b60006103c4610a08565b905090565b3373ffffffffffffffffffffffffffffffffffffffff166103e8610a08565b73ffffffffffffffffffffffffffffffffffffffff1614610471576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610514576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f494e56414c49445f50524f58595f41444452455353000000000000000000000081525060200191505060405180910390fd5b61051d81610a51565b610572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b096025913960400191505060405180910390fd5b61057a610364565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e160405160405180910390a36105dc81610aa3565b50565b60006002905090565b60006105f2610364565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16610616610a08565b73ffffffffffffffffffffffffffffffffffffffff161461069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6106a8826103c9565b600060603073ffffffffffffffffffffffffffffffffffffffff1634846040518082805190602001908083835b602083106106f857805182526020820191506020810190506020830392506106d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461075a576040519150601f19603f3d011682016040523d82523d6000602084013e61075f565b606091505b509150915081819061080c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156107d15780820151818401526020810190506107b6565b50505050905090810190601f1680156107fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610832610a08565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f5f41444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b7fdbe5fd65bcdbae152f24ab660ea68e72b4d4705b57b16e0caae994e214680ee281610988610a08565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1610a0581610ac7565b50565b600080600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e65720000000000000081525060190190506040518091039020905080549150819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a905760009050610a9e565b6000823b9050600081119150505b919050565b60006040518080610b2e602291396022019050604051809103902090508181555050565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e657200000000000000815250601901905060405180910390209050818155505056fe44455354494e4154494f4e5f414444524553535f49535f4e4f545f415f434f4e54524143546d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6ea26469706673582212204b66b189e7a6635ad6c0012d243f41e49fe82294f9f4aff0add7c411307d5ad264736f6c634300060600336d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6e000000000000000000000000195fe6ee6639665cceb15bcceb9980fc445dfa0b

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

000000000000000000000000195fe6ee6639665cceb15bcceb9980fc445dfa0b

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000195fe6ee6639665cceb15bcceb9980fc445dfa0b


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading