Contract 0xad684e79CE4b6D464f2Ff7c3FD51646892e24b96 2

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0xd8a8c356c73a4839d6ff7d08f59301fe54329b3fa520991513364101d7375470173545952021-07-28 8:41:483 hrs 2 mins ago0xf251ff44bac418a2b4d95f1c1d9344780d641efc IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.000062986
0x219c9d59aafd5974e6399f2099543a8391082545bf00fb852bccd9675ac72386173504542021-07-28 6:04:165 hrs 40 mins ago0x7ac948f2dd524f073f0498421fdfa3dfbf088f76 IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.00005259272
0x626e7cfb405b5a655419d3647d97d0ee1004b963d980e7e2cbe391dd3cd90473173418102021-07-28 0:38:1911 hrs 6 mins ago0xdaf93a6a56aec45f7b23aebd531177cc531133ef IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.000051699527
0x8c64c72a36df1078885c46cecd810872be8883711b85951013af839d26e05473173307912021-07-27 17:27:3518 hrs 17 mins ago0xf4e9aeceaf7205312db048ed4868184b094b217e IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.00006479949
0x5ee258c4359bca1d94d50806550ee4da132772f246412d3435a1b6d9ccbb7760173305432021-07-27 17:19:0318 hrs 25 mins ago0xefd7c0601e0f1abcdac603f3f06c2a8f52fafb37 IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.00003497024
0x4a212d5c835dcf96cda6a22aa7aaee4c82d26c016d960121e13e1b43bd3925c1173276192021-07-27 15:30:3820 hrs 14 mins ago0x6da16c6c01d48824722d37f56b85972bb4432eaf IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.0000442024
0xfd5297ad519e1af9caa440701a444af5363e7619a8c0674bed2d0cac6311bdbb173218312021-07-27 11:52:0623 hrs 52 mins ago0x0ffad609d35c4bef104ee245a9c4c891d463aa2a IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.000073824
0x21774704fb61fcdc65514f6553b3976527fef5bd9c93de7ffe33e65eeaa7ad8b173171192021-07-27 8:49:021 day 2 hrs ago0xd2acff12ed3f6baa03c82610fe4b05d420be7479 IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.00026036
0x23a45340d35b0f21f5c82b6d767f7cdc6bccf1d5a0eb75399616191ef373152a173017052021-07-26 21:00:321 day 14 hrs ago0xcbf7f00e7fa56a6d7b6e6ab288c1e888ad94677b IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.000302064
0x6aef8edc78e4473d7d848275e3fe8b754468bc19ceaf79ae0b8fe371d8abb4c4173013642021-07-26 20:42:221 day 15 hrs ago0xc69e734d46f5804ac947aa95fe15d11e557df6ba IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.0013018
0x13745fac3603fb008ab0c0e955c2cd066b79585454b83d70f33980f07e0d7935172995032021-07-26 19:12:161 day 16 hrs ago0x6da16c6c01d48824722d37f56b85972bb4432eaf IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.000049216
0xdb892117eae3e811a4ee1ca10d5c54c3eaf1c3a81106b9f12fa6b2cb46da3c0b172994292021-07-26 19:09:441 day 16 hrs ago0x6da16c6c01d48824722d37f56b85972bb4432eaf IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.002395312
0x4ce66432eb7501d2dbf8c763a47e5745b3e5cab2a124d4de4bbe1cd7a05ea0c9172989312021-07-26 18:50:281 day 16 hrs ago0xbc75767e2c23fc834379c4599067dbe3174fe5f4 IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.002291168
0xf12508b2be799994c4a8168ba2c4939a2e8189b22cd97e1e062cf6e0919ecfe4172978302021-07-26 18:08:221 day 17 hrs ago0xdddd4857ab41faae90caec767244c2fec9dca864 IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.00003045812
0x6b0d2545505273728a0af97b169d43f06efb6a37596de00367f0c60d2988e8d8172977722021-07-26 18:06:221 day 17 hrs ago0xdddd4857ab41faae90caec767244c2fec9dca864 IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.00004860812
0xe9a3ddd00993ccd4c937604d91b820cb00ed9303d31420b6d273b80dc70cc83d172976162021-07-26 18:01:021 day 17 hrs ago0xace0797746b93e5277e3bf50efa38cd2fa716b21 IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.0000441892
0xc056fb48f3c933b1e0e1603284109bd9b02b8c9754e80a400042f14b133dbf26172975002021-07-26 17:57:021 day 17 hrs ago0xace0797746b93e5277e3bf50efa38cd2fa716b21 IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.00034964556
0x19f933c603421fb09562d085b032edb11842da2ed08af4062c48db293be058cd172936772021-07-26 15:30:231 day 20 hrs ago0x986a2fca9eda0e06fbf7839b89bfc006ee2a23dd IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.000049064664
0x9069f899fe789acc75528abca37bfa573f3b4b88293bfc643f2f178f7b711340172936132021-07-26 15:28:111 day 20 hrs ago0x986a2fca9eda0e06fbf7839b89bfc006ee2a23dd IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.000049050012
0xa0c89183cef212a54fe57b97b2e3586ec7e3f4edb576abd3d8afab1716aa989e172856862021-07-26 10:02:482 days 1 hr ago0x986a2fca9eda0e06fbf7839b89bfc006ee2a23dd IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.0002204972
0x75730f82d390b8edc8d5e797d8a8099cccf2ed6fcb7b2de5e18048b87b5e32a6172793392021-07-26 5:31:062 days 6 hrs ago0xd382ce339f1b9a4ced577875486cd99bf4ea0e2d IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.00002731488
0xdc138225efa33396876a426f2584c3a42727a3a8e268c9396de392e5c643cfb2172788222021-07-26 5:08:402 days 6 hrs ago0xf65d5dfbfbb237a49fcb739dbc1ee55b94f95a4e IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.0000572792
0x61c0320bb4f46be32c0cce8c4c861fe1fadf8c13065d8270cfa807eac7822bef172784862021-07-26 4:55:002 days 6 hrs ago0x2c3a89fa5a0037e45bacf208acd4a7bc0eac4944 IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.0000572792
0xe9825d1b715a68ad125fbfe511a2f0bde180c3d37fc3f2c12021b9385027ae49172780722021-07-26 4:40:352 days 7 hrs ago0x281bfdd5f4b75a67aa2c33ca75b3f7ee81852a5d IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.0002655672
0x71477c2d4b02db540bcac4e76554df32165fb57f2c2115eb5c376718f70460b2172747042021-07-26 2:12:152 days 9 hrs ago0x92f29a0e9324aaafd11276c68f938d82dfab325e IN  0xad684e79ce4b6d464f2ff7c3fd51646892e24b960 MATIC0.00049216
[ 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 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"}]

608060405234801561001057600080fd5b50604051610c85380380610c858339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806100543361006a60201b60201c565b610063816100ab60201b60201c565b50506100cf565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e6572000000000000008152506019019050604051809103902090508181555050565b60006040518080610c63602291396022019050604051809103902090508181555050565b610b85806100de6000396000f3fe6080604052600436106100595760003560e01c8063025313a21461010e578063025b22bc146101655780634555d5c9146101b65780635c60da1b146101e1578063d88ca2c814610238578063f1739cae14610313576100b6565b366100b6576100b4610069610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b61010c6100c1610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b34801561011a57600080fd5b506101236103ba565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561017157600080fd5b506101b46004803603602081101561018857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103c9565b005b3480156101c257600080fd5b506101cb6105df565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f66105e8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103116004803603604081101561024e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460018302840111640100000000831117156102bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506105f7565b005b34801561031f57600080fd5b506103626004803603602081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610813565b005b60008060006040518080610b2e6022913960220190506040518091039020905080549150819250505090565b600080825160208401856127105a03f43d604051816000823e82600081146103b6578282f35b8282fd5b60006103c4610a08565b905090565b3373ffffffffffffffffffffffffffffffffffffffff166103e8610a08565b73ffffffffffffffffffffffffffffffffffffffff1614610471576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610514576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f494e56414c49445f50524f58595f41444452455353000000000000000000000081525060200191505060405180910390fd5b61051d81610a51565b610572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b096025913960400191505060405180910390fd5b61057a610364565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e160405160405180910390a36105dc81610aa3565b50565b60006002905090565b60006105f2610364565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16610616610a08565b73ffffffffffffffffffffffffffffffffffffffff161461069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6106a8826103c9565b600060603073ffffffffffffffffffffffffffffffffffffffff1634846040518082805190602001908083835b602083106106f857805182526020820191506020810190506020830392506106d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461075a576040519150601f19603f3d011682016040523d82523d6000602084013e61075f565b606091505b509150915081819061080c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156107d15780820151818401526020810190506107b6565b50505050905090810190601f1680156107fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610832610a08565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f5f41444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b7fdbe5fd65bcdbae152f24ab660ea68e72b4d4705b57b16e0caae994e214680ee281610988610a08565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1610a0581610ac7565b50565b600080600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e65720000000000000081525060190190506040518091039020905080549150819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a905760009050610a9e565b6000823b9050600081119150505b919050565b60006040518080610b2e602291396022019050604051809103902090508181555050565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e657200000000000000815250601901905060405180910390209050818155505056fe44455354494e4154494f4e5f414444524553535f49535f4e4f545f415f434f4e54524143546d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6ea264697066735822122041ef759422fabf085e8197d08185f4d0cdb3a0ab3423629d2271c1c06c720f0664736f6c634300060600336d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6e00000000000000000000000019eadf895b58cc0942a19a1683a5c62602936259

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

00000000000000000000000019eadf895b58cc0942a19a1683a5c62602936259

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000019eadf895b58cc0942a19a1683a5c62602936259


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.