Contract 0xd85d1e945766fea5eda9103f918bd915fbca63e6 3

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xc5a51251fee94d01f722b2f569b80a8bc7fb0070d147bf4f3fbd6f6649709822Approve337828312022-10-01 5:13:0334 mins ago0x8e3f317892e8e71f6b3cdd2c7651cb2309e7c1fb IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.00156216 30.000000012
0x758e5655300ac557544215741bc47546ace08b8887a8604358bd986b8c1bc7acApprove337803532022-10-01 3:47:521 hr 59 mins ago0x97ceb1160293736ebc2680f6dd2f650a4c0413ec IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.00156216 30.000000013
0x9e98e47f78f8f4841531d6af28b4ca6790d3f8cc0cbdb6fbba74c23a8a83bcbeWithdraw337630202022-09-30 17:42:3312 hrs 5 mins ago0xf716f34cb7fabfaa930169ec66278f525b6a1597 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.001112436993 31.959233335
0xc379b2504a36f1bd17dcde1917bef651032e60a90df2db2059159d7814beedccTransfer337629912022-09-30 17:41:3112 hrs 6 mins ago0x00f5ff85aa2baccd0ca8d628e3f78048b37a22bd IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.00106152 30.000000014
0x5b1a431550edc828f1ab1ed0f133b99f43d95c15f5c14ef60264d911bf30d3d8Transfer337629622022-09-30 17:40:3312 hrs 7 mins ago0x00f5ff85aa2baccd0ca8d628e3f78048b37a22bd IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.00184833181 32.272869997
0x045b47c21088080840f0daa3186fe17ee1aeb2ddc5b29566641071a0b52997b4Approve337628082022-09-30 17:35:1312 hrs 12 mins ago0xd4646d7a19aa18e95d6c6335fc1a414adb169b54 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.0177721736341.3
0xe6253ce667824c88bc059dfd7cb1b79048cdfe66f54b5dd1ce784fd6e81b608eWithdraw337599812022-09-30 15:55:5513 hrs 51 mins ago0xf716f34cb7fabfaa930169ec66278f525b6a1597 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.001150908394 33.064479263
0x0c124171db852c93c5398829f282b023a7e464de947f3e275691932ffc2c6c63Approve337575252022-09-30 14:31:2715 hrs 16 mins ago0x1a17522d6419ca113b9c1d562cb8038c68114911 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.0177721736341.3
0xf3a072000426e184b98dddaa4af0757f8ed6095e200ce2e1c1e7707fb5ac389dApprove337549912022-09-30 13:02:0816 hrs 45 mins ago0x9db5dd27fb2d35516506a6c3427c73ba232c50d9 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.00173454556 33.310523126
0x81f88e5b455b4e6e256118bfec9e1583b91610983fbf0bec7f23c452852e26c8Withdraw337365172022-09-30 2:13:161 day 3 hrs ago0x1e6f1b601c80eb3c1ae28764e7b6b2d722cf697c IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.001140578353 32.779007746
0x9313078ad29e4792aca93dbcae61a47c8bfb7c1cb11ad84378b4836b3a9681d7Withdraw337352322022-09-30 1:29:051 day 4 hrs ago0xc6881f3035bff918018217edc5193ad19a94cba5 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.001283597162 36.876498586
0x57da7c1f7bff9da00acd0c1bd052fbd6d681d14cfa8a3a7cb46114865c194d74Approve336879812022-09-28 22:04:582 days 7 hrs ago0x2bc12061c8912505978472c21d4a23db43af62aa IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.002114334171 40.604051529
0x978b3697a1dc0b2b178455380cbb639eaaee75f0bde91832874a5f65fba1bfdbApprove336809112022-09-28 18:01:352 days 11 hrs ago0xb703ba534a645954efa7d7272af2d521b0c885fc IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.0177721736341.3
0x636afdaaac2b68939ac0524b22242e807c5b9401e8cd19297a564a6e64139a7bApprove336714622022-09-28 12:36:312 days 17 hrs ago0xe17ba81662bb320bb5a4968af6bca01f0ffb0729 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.001058216511 41.932814709
0x7d7925201d29801d6d852f6fea842b5411d1f8f15b66eea97de0cd271f9a37b6Approve336693752022-09-28 11:24:452 days 18 hrs ago0xd94ec7a179ee39f7eb786703b9a3f65061c9f896 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.013989340658 268.653799703
0x4c700b07cd49178a01b2b7d33f705dbead9b44fe4526d2b05fa34054fca19b7aApprove336572972022-09-28 4:29:223 days 1 hr ago0x4fbe252df8d8c1f58bf273620b11d0051682f295 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.001684008479 32.339999998
0x2c1220c58e62c797c48b150715b969cb490e196fcba688fb2c32a84e54cf040bApprove336392082022-09-27 17:55:313 days 11 hrs ago0x1efa0d654d2ceaf84e14c60b3971f572ba169253 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.000894507499 30.02912245
0x4e437159f315d8a963bc1c66eadf538717a59a33e753081ee1ef8251aa6e1a24Approve336376922022-09-27 17:03:223 days 12 hrs ago0x252158d5fa2fb96723e82e12f0984ea8b02636ea IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.00264907383 88.930906101
0x90aa75df772bcd1e372efd937a34d5a98975e4df61afb3ec063197de7ce844a7Approve336331712022-09-27 14:23:303 days 15 hrs ago0x259cf81aa409b712a135acda5ae8d5fc633a51ac IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.0177721736341.3
0x727e34e8b342523447f90379dd9393f63423119bbfbc7d0d6780c42d4c19b7c0Approve336328992022-09-27 14:14:093 days 15 hrs ago0xb4d922647326a3ffc540bc595672be182112a0fa IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.007472332143.5
0x3fdb75f11bac60b7d0ff053208c9ce0b899c94dc9ce97ff22b7c4b9dd72e849dApprove336311372022-09-27 13:07:063 days 16 hrs ago0x993311f2e7bb27367112b363980acf927b57b69a IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.001957837454 37.598660597
0xb0854843e40d10938a48c4935ef43756566ac61b88dae4432ba343f1ae1742baApprove336274432022-09-27 10:43:003 days 19 hrs ago0x742c9158bcbe65ae5b5cdfec80537dd8f5baf83e IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.001556062359 30.069999996
0x0ce703ddb8e4d9035dfba179be3daa7c1f1d2d4b979be7a74bdd7eeef0ffb30dWithdraw336242072022-09-27 8:36:523 days 21 hrs ago0xee6b88b799884c7a013a7a6bb6451a98cfe82bfc IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.001239723307 35.616045388
0x06b12053528cca2d0b9a9ce4e9d150b439caed5cd169de99767938a2c36d1cc5Transfer336240152022-09-27 8:30:163 days 21 hrs ago0xb34ed85bc0b9da2fa3c5e5d2f4b24f8ee96ce4e9 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.00165324600131.500000031
0xe173f0c784e5114c1633b517e4bdfdc5df818dbb7fcab58f695333e219ba4c14Approve336239972022-09-27 8:29:363 days 21 hrs ago0x9d3f11e6b1ef7163d4d19be077cc69c408136a24 IN  0xd85d1e945766fea5eda9103f918bd915fbca63e60 MATIC0.001587050416 30.478
[ 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"}]

608060405234801561001057600080fd5b50604051610c85380380610c858339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806100543361006a60201b60201c565b610063816100ab60201b60201c565b50506100cf565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e6572000000000000008152506019019050604051809103902090508181555050565b60006040518080610c63602291396022019050604051809103902090508181555050565b610b85806100de6000396000f3fe6080604052600436106100595760003560e01c8063025313a21461010e578063025b22bc146101655780634555d5c9146101b65780635c60da1b146101e1578063d88ca2c814610238578063f1739cae14610313576100b6565b366100b6576100b4610069610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b61010c6100c1610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b34801561011a57600080fd5b506101236103ba565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561017157600080fd5b506101b46004803603602081101561018857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103c9565b005b3480156101c257600080fd5b506101cb6105df565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f66105e8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103116004803603604081101561024e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460018302840111640100000000831117156102bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506105f7565b005b34801561031f57600080fd5b506103626004803603602081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610813565b005b60008060006040518080610b2e6022913960220190506040518091039020905080549150819250505090565b600080825160208401856127105a03f43d604051816000823e82600081146103b6578282f35b8282fd5b60006103c4610a08565b905090565b3373ffffffffffffffffffffffffffffffffffffffff166103e8610a08565b73ffffffffffffffffffffffffffffffffffffffff1614610471576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610514576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f494e56414c49445f50524f58595f41444452455353000000000000000000000081525060200191505060405180910390fd5b61051d81610a51565b610572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b096025913960400191505060405180910390fd5b61057a610364565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e160405160405180910390a36105dc81610aa3565b50565b60006002905090565b60006105f2610364565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16610616610a08565b73ffffffffffffffffffffffffffffffffffffffff161461069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6106a8826103c9565b600060603073ffffffffffffffffffffffffffffffffffffffff1634846040518082805190602001908083835b602083106106f857805182526020820191506020810190506020830392506106d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461075a576040519150601f19603f3d011682016040523d82523d6000602084013e61075f565b606091505b509150915081819061080c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156107d15780820151818401526020810190506107b6565b50505050905090810190601f1680156107fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610832610a08565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f5f41444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b7fdbe5fd65bcdbae152f24ab660ea68e72b4d4705b57b16e0caae994e214680ee281610988610a08565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1610a0581610ac7565b50565b600080600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e65720000000000000081525060190190506040518091039020905080549150819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a905760009050610a9e565b6000823b9050600081119150505b919050565b60006040518080610b2e602291396022019050604051809103902090508181555050565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e657200000000000000815250601901905060405180910390209050818155505056fe44455354494e4154494f4e5f414444524553535f49535f4e4f545f415f434f4e54524143546d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6ea264697066735822122041ef759422fabf085e8197d08185f4d0cdb3a0ab3423629d2271c1c06c720f0664736f6c634300060600336d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6e000000000000000000000000a0451a72f243a5173ea604b43b5f61ee76376551

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

000000000000000000000000a0451a72f243a5173ea604b43b5f61ee76376551

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a0451a72f243a5173ea604b43b5f61ee76376551


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.