Contract 0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063 10

 

Contract Overview

Maker: Dai Stablecoin
Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xc462d29e4181f52be5e7c065be797816c9b5ff226530c2623377d416e32f72bbApprove286178842022-05-22 5:25:3450 secs ago0x7aad309762666a19545cfb137688f2db5ea2d06e IN  Maker: Dai Stablecoin0 MATIC0.001614232 31
0x4d931df0e0df3d09f0a797211deca59e513e0b7fec7416207f65617d62209c4fTransfer286178302022-05-22 5:23:422 mins ago0x87dafaef79c029698adb928b73e9cc09774e317f IN  Maker: Dai Stablecoin0 MATIC0.00163028288 31.040000001
0xf4d2356988884d0ca44ffb33987aa7df5d8d511c09d545400344235d7bc2a7bfApprove286178092022-05-22 5:23:003 mins ago0x004eaf2111a65884f5a8aec86a1f0569dd652d00 IN  Maker: Dai Stablecoin0 MATIC0.002174928 42
0xcf0c7162c95f736f3d3fb662ff0260bd343ad65e689442212f022ef5dbec35e3Transfer286177942022-05-22 5:22:303 mins ago0x385a7656f4f55ebd0dfc078eb9fcad9e332797e8 IN  Maker: Dai Stablecoin0 MATIC0.00172553532830.1088
0xf913bfdfcce00a10465d252fcc1099a85a40a111be0def2c0657c748076c3764Approve286177832022-05-22 5:22:044 mins ago0x32d18915f3b653a4f4744f665abd26fabf598f32 IN  Maker: Dai Stablecoin0 MATIC0.001583988582 30.419200005
0x37eb03043532d2d35023bb832387a6d210509753b7dcfceed1bd5d0172dfd054Approve286177442022-05-22 5:20:465 mins ago0xc9606d7fb3cc11c9599eb07a4c9129a04a04d1cf IN  Maker: Dai Stablecoin0 MATIC0.0051784 100
0x7baeea090cf849b4e98e0a6d5fa450176b5df0be1508aa06e19917d71b00c601Approve286177432022-05-22 5:20:445 mins ago0x87dafaef79c029698adb928b73e9cc09774e317f IN  Maker: Dai Stablecoin0 MATIC0.001614232 31
0xcfab9455e650b582f54e6d6f4c93dbfbb7a7f6fca93340dcaeabbc84ac4f139cExecute Meta Tra...286177132022-05-22 5:19:406 mins ago0x3ce07ad298ee2b3aabea8c8b3f496c3acc51e647 IN  Maker: Dai Stablecoin0 MATIC0.005418604860.4
0x9ed618f79812114afa29ca77af28aa2525bcff9a9f2cee7b6032d5b51fb9f318Approve286177122022-05-22 5:19:386 mins ago0x4b80e11d2410f2029ae73628603840dffbf885aa IN  Maker: Dai Stablecoin0 MATIC0.001616314879 31.039999998
0xf1a0f8dff462430baaede9a930e679f7477ca5c7a8c8aa8f8fd7d934dc663f9dApprove286176862022-05-22 5:18:387 mins ago0x31ad74365e6190e608d053670e65ed35ff6337fb IN  Maker: Dai Stablecoin0 MATIC0.001467438919 45.61230011
0xbcca8d0c1c68e79cf9f76a762150e836278e73e9ffc52c9b8aa3ab5c4392b005Approve286176802022-05-22 5:18:267 mins ago0x31ad74365e6190e608d053670e65ed35ff6337fb IN  Maker: Dai Stablecoin0 MATIC0.002290769644 43.992349906
0x210b999e399df2aacdf5a6e1f6dbb8a9e8ddd9adc2fc87d8c3772375881a0522Approve286176772022-05-22 5:18:168 mins ago0x003d5c29216d3fc7104e53fb7d27725f54e74f59 IN  Maker: Dai Stablecoin0 MATIC0.002278496 44
0x49ecc77efd0b3b049fb1d613d47889088c40b81dcd835f8bdd38d573340819dcApprove286176692022-05-22 5:17:568 mins ago0x5a3e293ffa5900aeef60100edbe21d8518b21bdf IN  Maker: Dai Stablecoin0 MATIC0.002837924 54.5
0x50fc6ec26d2a3eae6729229492d47df55600afb75c1392e7b77996f39294a5e3Approve286176582022-05-22 5:17:308 mins ago0x3ecfba75d5a113241ec899888319a9e1e456ee9a IN  Maker: Dai Stablecoin0 MATIC0.001666304 32
0xefe354baaa562f241d0acb5cb83cd126a7c97639d410d1724fe73a3a71e20d8dTransfer286176222022-05-22 5:16:1810 mins ago0x1cac304d90cf028b55a487a9298803c16d7ec311 IN  Maker: Dai Stablecoin0 MATIC0.00163028288 31.040000001
0x44f78b41d4db4373e4ea53a304480939f8972f2fb0ae93ee382fb24f61f94995Approve286175762022-05-22 5:14:4211 mins ago0x84151a4042785f01ddb1fc06c45e62279d9eb2ab IN  Maker: Dai Stablecoin0 MATIC0.002333575494 44.814401109
0x1d971364390e6d9340bd4a81baa68d7a7f312b0f3b45242e5d197c6cca2b1e49Approve286175432022-05-22 5:13:3612 mins ago0xf702176bca42a7a17b3ea4def1f5ba20bfc0b448 IN  Maker: Dai Stablecoin0 MATIC0.001575227852 30.4192
0xa4febfc784e36d857adddb6234121f0c1c9cfcd9738fcd86adc5560e04cb254aApprove286175322022-05-22 5:13:1013 mins ago0x1cac304d90cf028b55a487a9298803c16d7ec311 IN  Maker: Dai Stablecoin0 MATIC0.001614232 31
0xd3b720c759c25929039b24a1726286b0f0e03c43a0601647492281558672a33fExecute Meta Tra...286174962022-05-22 5:11:5814 mins ago0x3ce07ad298ee2b3aabea8c8b3f496c3acc51e647 IN  Maker: Dai Stablecoin0 MATIC0.00574233664
0x3ec8db41deeaa64a5dcb314e9e6789bbce1aa314b460bc3e80143a56914c6c29Approve286174882022-05-22 5:11:4214 mins ago0x002f027cb0353647241e0f53429550acc9678709 IN  Maker: Dai Stablecoin0 MATIC0.001657088 32
0x57859a449f03f2e056a6708aaa29be029c9ad48913dc2560a11c5193675288caTransfer286174752022-05-22 5:11:1615 mins ago0x23a96ba460ca54d4a1ea637efc1d64a5adab5c07 IN  Maker: Dai Stablecoin0 MATIC0.001581374393 30.108800004
0xbb717f68201e2b78085941f43fa1bbf94ab15026efdb7bcb89aaf6d7dab19d0fApprove286174572022-05-22 5:10:3615 mins ago0x4b4db6bb382df60fab591351c699208a58152409 IN  Maker: Dai Stablecoin0 MATIC0.00156580504 30.07
0x7a9edab4aff5603923a26d4fef4032eec482a53449447e58bcbc2545442a2217Approve286173892022-05-22 5:08:1618 mins ago0x23a96ba460ca54d4a1ea637efc1d64a5adab5c07 IN  Maker: Dai Stablecoin0 MATIC0.001614232 31
0x8d575534a399d6266943537fece1691dbea69935abfad15bcbe527b58d6b17e8Approve286173842022-05-22 5:08:0618 mins ago0x40530a97c7f910f37647d2e3217cd66ca371a1f0 IN  Maker: Dai Stablecoin0 MATIC0.00160737536 31.040000001
0x6c1d0552729ee60fe9ace96b2a917776af59501a46c97df7519f0dafe9d29901Approve286173782022-05-22 5:07:5418 mins ago0x0014c0f85c6a7487bb9616c8d42bd8897b69944b IN  Maker: Dai Stablecoin0 MATIC0.001657088 32
[ Download CSV Export 

OVERVIEW

Multi-Collateral Dai, brings a lot of new and exciting features, such as support for new CDP collateral types and Dai Savings Rate.

Latest 7 internal transactions
Parent Txn Hash Block From To Value
0x4143503cb6b62a68c835ee3b0b5400b48be3deeedfa7b5bd4e60fe531b060e56273576292022-04-20 9:51:4231 days 19 hrs ago 0xee578e0e4a1400790e9d2ffc1b133e074bbdb4e1 Maker: Dai Stablecoin0.000037343706994136 MATIC
0x9695eaef6d2c347c31cdc7e3fd32be44cb7a9a78ac31f326de078ac32476d790250294412022-02-17 0:51:2394 days 4 hrs ago 0xee578e0e4a1400790e9d2ffc1b133e074bbdb4e1 Maker: Dai Stablecoin0.000037071150649701 MATIC
0x3f2a0797c2720c9d0594e67d9a7f9c8435e7c85b3ea7dff2f3f26c1a498026b2243309612022-01-30 5:26:20112 days ago 0xee578e0e4a1400790e9d2ffc1b133e074bbdb4e1 Maker: Dai Stablecoin0.000000443072439501 MATIC
0x20a5c887e41822687830cd75f17d10ecccfac720f93029721aea11134ba219e3242950232022-01-29 7:01:38112 days 22 hrs ago 0xee578e0e4a1400790e9d2ffc1b133e074bbdb4e1 Maker: Dai Stablecoin0.000000252589887862 MATIC
0x126e91c7141cae4267552c1c41800fe521c1326e9490649bb2bfdc96004245b8242947972022-01-29 6:48:34112 days 22 hrs ago 0xee578e0e4a1400790e9d2ffc1b133e074bbdb4e1 Maker: Dai Stablecoin0.000000160863619015 MATIC
0xf33692466e2e5f3036188759ae899c46063d24a2d6fe66694ae367e545bd861b242946782022-01-29 6:44:28112 days 22 hrs ago 0xee578e0e4a1400790e9d2ffc1b133e074bbdb4e1 Maker: Dai Stablecoin0.000000091975547355 MATIC
0x40f82dfae0e5297ad2d23df6e4f9f7ac8a679be5c033da3cf219fb001bde1592218696372021-11-27 18:10:05175 days 11 hrs ago 0x079ac5d80e42ad63a54d436039fd0b0620f93935 Maker: Dai Stablecoin100 wei
[ 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-06-29
*/

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

608060405234801561001057600080fd5b50604051610c85380380610c858339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806100543361006a60201b60201c565b610063816100ab60201b60201c565b50506100cf565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e6572000000000000008152506019019050604051809103902090508181555050565b60006040518080610c63602291396022019050604051809103902090508181555050565b610b85806100de6000396000f3fe6080604052600436106100595760003560e01c8063025313a21461010e578063025b22bc146101655780634555d5c9146101b65780635c60da1b146101e1578063d88ca2c814610238578063f1739cae14610313576100b6565b366100b6576100b4610069610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b61010c6100c1610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b34801561011a57600080fd5b506101236103ba565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561017157600080fd5b506101b46004803603602081101561018857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103c9565b005b3480156101c257600080fd5b506101cb6105df565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f66105e8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103116004803603604081101561024e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460018302840111640100000000831117156102bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506105f7565b005b34801561031f57600080fd5b506103626004803603602081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610813565b005b60008060006040518080610b2e6022913960220190506040518091039020905080549150819250505090565b600080825160208401856127105a03f43d604051816000823e82600081146103b6578282f35b8282fd5b60006103c4610a08565b905090565b3373ffffffffffffffffffffffffffffffffffffffff166103e8610a08565b73ffffffffffffffffffffffffffffffffffffffff1614610471576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610514576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f494e56414c49445f50524f58595f41444452455353000000000000000000000081525060200191505060405180910390fd5b61051d81610a51565b610572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b096025913960400191505060405180910390fd5b61057a610364565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e160405160405180910390a36105dc81610aa3565b50565b60006002905090565b60006105f2610364565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16610616610a08565b73ffffffffffffffffffffffffffffffffffffffff161461069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6106a8826103c9565b600060603073ffffffffffffffffffffffffffffffffffffffff1634846040518082805190602001908083835b602083106106f857805182526020820191506020810190506020830392506106d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461075a576040519150601f19603f3d011682016040523d82523d6000602084013e61075f565b606091505b509150915081819061080c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156107d15780820151818401526020810190506107b6565b50505050905090810190601f1680156107fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610832610a08565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f5f41444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b7fdbe5fd65bcdbae152f24ab660ea68e72b4d4705b57b16e0caae994e214680ee281610988610a08565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1610a0581610ac7565b50565b600080600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e65720000000000000081525060190190506040518091039020905080549150819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a905760009050610a9e565b6000823b9050600081119150505b919050565b60006040518080610b2e602291396022019050604051809103902090508181555050565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e657200000000000000815250601901905060405180910390209050818155505056fe44455354494e4154494f4e5f414444524553535f49535f4e4f545f415f434f4e54524143546d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6ea26469706673582212208262e9eb2153cf52cdbce21b7ed8a72faf3469a061b389bcfdc789246642006364736f6c634300060600336d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6e000000000000000000000000490e379c9cff64944be82b849f8fd5972c7999a7

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

000000000000000000000000490e379c9cff64944be82b849f8fd5972c7999a7

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000490e379c9cff64944be82b849f8fd5972c7999a7


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.