Contract 0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c6018

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x41f51f56e3833935902116a9947e6abd42fbbf408666a8d70c205729acbd1413Approve272213032022-04-16 22:12:43292 days 18 hrs ago0x17b40bed761d118f859e5403bdace7e8a58b63bd IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.002241197418 43.040356014
0x48dab8b4a7fbbf8c38ef0d4f878cd1506fe061de38ea27a1ff6be6936e980fb8Withdraw256076462022-03-05 12:07:40335 days 4 hrs ago0x7b6efde4a53d0e9591ddcdde4889111661927a35 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.001079434931 30.968410939
0xb833cbaac3eeb69c1287a0e47c054910e9da7c075586fe15185e177b452de577Withdraw255817932022-03-04 19:31:30335 days 21 hrs ago0x10a138211a0d8ff4d5dd60fa6e4959169416b56c IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.001073559193 30.799839161
0xd17153d8c23db8020a1490762bc51eaa7e2f6ccdc705903965e583f188c88c8bTransfer255796082022-03-04 18:07:17335 days 22 hrs ago0xb6a3c7fc43b09b8a107f8b348f6c46a615d88a81 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.00158309283 30.135780683
0xaf5c705ce77203875a913f01f001eb8970ad30347ffa09d4201e6b29cf3af7cdApprove215062162021-11-18 6:40:30442 days 10 hrs ago0x34bf907ca6150ff024882ff06508cce65f44d063 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.007394224142
0x36d5d0a50781ccd3261e3fc0026aad281c9462b40151555e070c874be5c05bd4Transfer205171282021-10-23 9:13:17468 days 7 hrs ago0x0354711158f29cc18cf073894965d3d5ee1e62c7 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.00186260844
0x2dd15e38964db4b3829505e632ca33af682095f695f39d9c592b4d7b6b31fcebApprove191498592021-09-15 22:10:47505 days 18 hrs ago0x0dbba0d183f64fea5b5862979aa463911986d2ca IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.000159845
0xa721808f84230cdc09cd727502e62fd46dd00bdd3cc94f2d8532add776606acaApprove191498032021-09-15 22:08:10505 days 18 hrs ago0x0dbba0d183f64fea5b5862979aa463911986d2ca IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.000159845
0xe06bed5a15b6328214e1b6fee71f3660bbebafc161a4cad71fe1a53fd383b308Approve191496392021-09-15 22:01:06505 days 18 hrs ago0x0dbba0d183f64fea5b5862979aa463911986d2ca IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.000259345
0x9e6f5172d9e6c1e01393f684d1b03022ab257a5c1b38e033768c3a1ad189eb89Withdraw166830312021-07-09 21:12:41573 days 19 hrs ago0x76fd6d27e3ac2002316f1b0fa8bc7c0201294b12 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0001931634917.838155002
0x1af178a4a0ef9cb390071765e86a0113ab9449133edaa1b51e7b701e97bad844Withdraw158168422021-06-17 9:28:57596 days 7 hrs ago0xc821d52a371f9180f0af91d39bc657d0b9daf2d8 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0000246561
0xf9d3cb480bd5b95dd1b201ea8f49d24699d006629d3ed4a25374fbdd1493f9beWithdraw156112012021-06-12 3:26:21601 days 13 hrs ago0x6dfebeb63e04fccbdf224004869be42fb2001ddd IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0000739323
0x116cbfe5a8ece2851c76d65454e2cb8da8771fac0f50ce27d24ba98b4859739dWithdraw154395252021-06-07 13:04:23606 days 3 hrs ago0x45a05044bd538e8fe8f09e674d77fcc3baab2afa IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0000246561
0x075f421bafa0dd66589b04cc5c1ec9e83657373d16ec3950eb86ea0c8f5f80e6Approve145598122021-05-16 9:58:41628 days 7 hrs ago0x2f3931635ee03d8f3c91d023e6dcfbc8c2c49431 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0000275881
0x49906fa15087c1578d5ba7e33eb8d58073c2ebf8abab44e15fbc14a1a2df0e6cApprove145597662021-05-16 9:57:03628 days 7 hrs ago0x2f3931635ee03d8f3c91d023e6dcfbc8c2c49431 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0000467881
0x32bcd5f6d59a50589060bedeca44afb520bd6167ac3b419176daac88ea0a5505Withdraw145427772021-05-15 23:55:09628 days 17 hrs ago0xbc22face11609f93589ac660f64c633084273ec9 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0000230441
0xeab759dc26529ef26efc065121ac635bf3971899f6cdee563eec2c65ff8880e2Approve143953352021-05-12 7:56:47632 days 9 hrs ago0xbc22face11609f93589ac660f64c633084273ec9 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0000467721
0xf0f3324db1978ec820716bbc9721a3e00449ff0f5917fe7e7e10598de470e7e4Revoke Role141079292021-05-05 5:04:40639 days 11 hrs agoPolygon: Old Mapper Deployer 1 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0000253031
0x243894574c732b5946227556ea598f7b80979b15d96c8d69931c5b3ccc4e504cTransfer Proxy O...141079252021-05-05 5:04:32639 days 11 hrs agoPolygon: Old Mapper Deployer 1 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0000302211
0x4db2e75273521f748587d54a3f94df65b355512fadf3c5e79e1550738bd5ec06Initialize141079212021-05-05 5:04:24639 days 11 hrs agoPolygon: Old Mapper Deployer 1 IN  0xc4e82ba0fe6763cbe5e9cbca0ba7cbd6f91c60180 MATIC0.0003670921
0xaee92bf8305653f027ad55cd8966186c00b61232f0941dd18835ede8366c4c170x60806040141079162021-05-05 5:04:14639 days 11 hrs agoPolygon: Old Mapper Deployer 1 IN  Create: UChildERC20Proxy0 MATIC0.0007307691
[ 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"}]

608060405234801561001057600080fd5b50604051610c85380380610c858339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806100543361006a60201b60201c565b610063816100ab60201b60201c565b50506100cf565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e6572000000000000008152506019019050604051809103902090508181555050565b60006040518080610c63602291396022019050604051809103902090508181555050565b610b85806100de6000396000f3fe6080604052600436106100595760003560e01c8063025313a21461010e578063025b22bc146101655780634555d5c9146101b65780635c60da1b146101e1578063d88ca2c814610238578063f1739cae14610313576100b6565b366100b6576100b4610069610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b61010c6100c1610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b34801561011a57600080fd5b506101236103ba565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561017157600080fd5b506101b46004803603602081101561018857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103c9565b005b3480156101c257600080fd5b506101cb6105df565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f66105e8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103116004803603604081101561024e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460018302840111640100000000831117156102bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506105f7565b005b34801561031f57600080fd5b506103626004803603602081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610813565b005b60008060006040518080610b2e6022913960220190506040518091039020905080549150819250505090565b600080825160208401856127105a03f43d604051816000823e82600081146103b6578282f35b8282fd5b60006103c4610a08565b905090565b3373ffffffffffffffffffffffffffffffffffffffff166103e8610a08565b73ffffffffffffffffffffffffffffffffffffffff1614610471576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610514576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f494e56414c49445f50524f58595f41444452455353000000000000000000000081525060200191505060405180910390fd5b61051d81610a51565b610572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b096025913960400191505060405180910390fd5b61057a610364565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e160405160405180910390a36105dc81610aa3565b50565b60006002905090565b60006105f2610364565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16610616610a08565b73ffffffffffffffffffffffffffffffffffffffff161461069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6106a8826103c9565b600060603073ffffffffffffffffffffffffffffffffffffffff1634846040518082805190602001908083835b602083106106f857805182526020820191506020810190506020830392506106d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461075a576040519150601f19603f3d011682016040523d82523d6000602084013e61075f565b606091505b509150915081819061080c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156107d15780820151818401526020810190506107b6565b50505050905090810190601f1680156107fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610832610a08565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f5f41444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b7fdbe5fd65bcdbae152f24ab660ea68e72b4d4705b57b16e0caae994e214680ee281610988610a08565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1610a0581610ac7565b50565b600080600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e65720000000000000081525060190190506040518091039020905080549150819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a905760009050610a9e565b6000823b9050600081119150505b919050565b60006040518080610b2e602291396022019050604051809103902090508181555050565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e657200000000000000815250601901905060405180910390209050818155505056fe44455354494e4154494f4e5f414444524553535f49535f4e4f545f415f434f4e54524143546d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6ea264697066735822122041ef759422fabf085e8197d08185f4d0cdb3a0ab3423629d2271c1c06c720f0664736f6c634300060600336d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6e0000000000000000000000008b2ed3b9ef14510fdae9bbcbe92559e30db9f1f6

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

0000000000000000000000008b2ed3b9ef14510fdae9bbcbe92559e30db9f1f6

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008b2ed3b9ef14510fdae9bbcbe92559e30db9f1f6


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.