Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 134 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Reward WETH Pool | 14410420 | 1449 days ago | IN | 0 ETH | 0.00244839 | ||||
| Reward WETH Pool | 14391182 | 1452 days ago | IN | 0 ETH | 0.00226726 | ||||
| Reward WETH Pool | 14365550 | 1456 days ago | IN | 0 ETH | 0.00187261 | ||||
| Reward WETH Pool | 14346103 | 1459 days ago | IN | 0 ETH | 0.00176777 | ||||
| Reward WETH Pool | 14321043 | 1463 days ago | IN | 0 ETH | 0.00285651 | ||||
| Reward WETH Pool | 14302178 | 1466 days ago | IN | 0 ETH | 0.00552771 | ||||
| Reward WETH Pool | 14256701 | 1473 days ago | IN | 0 ETH | 0.00631954 | ||||
| Reward WETH Pool | 14230897 | 1477 days ago | IN | 0 ETH | 0.01113885 | ||||
| Reward WETH Pool | 14211532 | 1480 days ago | IN | 0 ETH | 0.00697736 | ||||
| Reward WETH Pool | 14186008 | 1484 days ago | IN | 0 ETH | 0.00717696 | ||||
| Reward WETH Pool | 14165756 | 1487 days ago | IN | 0 ETH | 0.00503811 | ||||
| Reward WETH Pool | 14120989 | 1494 days ago | IN | 0 ETH | 0.01016699 | ||||
| Reward WETH Pool | 14094098 | 1498 days ago | IN | 0 ETH | 0.00502593 | ||||
| Reward WETH Pool | 14075659 | 1501 days ago | IN | 0 ETH | 0.01386402 | ||||
| Reward WETH Pool | 14041292 | 1506 days ago | IN | 0 ETH | 0.00786202 | ||||
| Reward WETH Pool | 14023152 | 1509 days ago | IN | 0 ETH | 0.00508575 | ||||
| Reward WETH Pool | 13996334 | 1513 days ago | IN | 0 ETH | 0.01141677 | ||||
| Reward WETH Pool | 13978602 | 1516 days ago | IN | 0 ETH | 0.03045689 | ||||
| Reward WETH Pool | 13951292 | 1520 days ago | IN | 0 ETH | 0.00841312 | ||||
| Reward WETH Pool | 13932481 | 1523 days ago | IN | 0 ETH | 0.00638464 | ||||
| Reward WETH Pool | 13892463 | 1529 days ago | IN | 0 ETH | 0.00485445 | ||||
| Reward WETH Pool | 13854855 | 1535 days ago | IN | 0 ETH | 0.00350161 | ||||
| Reward WETH Pool | 13840997 | 1537 days ago | IN | 0 ETH | 0.00276676 | ||||
| Reward WETH Pool | 13808145 | 1542 days ago | IN | 0 ETH | 0.00444843 | ||||
| Reward WETH Pool | 13797296 | 1544 days ago | IN | 0 ETH | 0.00451411 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
rewardC20Pool
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-03-18
*/
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
* @title ERC20 interface
* @dev see https://eips.ethereum.org/EIPS/eip-20
*/
interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function transferFrom(address from, address to, uint256 value) external returns (bool);
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint);
function balanceOf(address owner) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint);
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
event Mint(address indexed sender, uint amount0, uint amount1);
event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
event Swap(
address indexed sender,
uint amount0In,
uint amount1In,
uint amount0Out,
uint amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint);
function price1CumulativeLast() external view returns (uint);
function kLast() external view returns (uint);
function mint(address to) external returns (uint liquidity);
function burn(address to) external returns (uint amount0, uint amount1);
function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
contract rewardC20Pool {
IUniswapV2Pair C20_wETH;
IUniswapV2Pair C20_USDT;
IERC20 wETH;
IERC20 USDT;
constructor() {
C20_wETH = IUniswapV2Pair(0xb983499B7D2f2569A7399048bBd72CA65e4E44E2);
C20_USDT = IUniswapV2Pair(0xae50Ccb0c88e6038C803eB8A4421C64af9ED5177);
wETH = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
USDT = IERC20(0xdAC17F958D2ee523a2206206994597C13D831ec7);
}
function rewardWETHPool(uint256 amountWETH) public {
wETH.transfer(address(C20_wETH), amountWETH);
C20_wETH.sync();
}
function rewardDAIPool(uint256 amountUSDT) public {
USDT.transfer(address(C20_USDT), amountUSDT);
C20_USDT.sync();
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"amountUSDT","type":"uint256"}],"name":"rewardDAIPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountWETH","type":"uint256"}],"name":"rewardWETHPool","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b5073b983499b7d2f2569a7399048bbd72ca65e4e44e26000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ae50ccb0c88e6038c803eb8a4421c64af9ed5177600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dac17f958d2ee523a2206206994597c13d831ec7600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103b5806101736000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80630c8489561461003b578063cae3eaf114610069575b600080fd5b6100676004803603602081101561005157600080fd5b8101908080359060200190929190505050610097565b005b6100956004803603602081101561007f57600080fd5b810190808035906020019092919050505061020d565b005b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561014c57600080fd5b505af1158015610160573d6000803e3d6000fd5b505050506040513d602081101561017657600080fd5b810190808051906020019092919050505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156101f257600080fd5b505af1158015610206573d6000803e3d6000fd5b5050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156102c057600080fd5b505af11580156102d4573d6000803e3d6000fd5b505050506040513d60208110156102ea57600080fd5b81019080805190602001909291905050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561036457600080fd5b505af1158015610378573d6000803e3d6000fd5b505050505056fea26469706673582212200765c94ebeda0bfb959a98f4a4b54b4c7ce150f1b9fc8f0ea414b0ab97b2e96764736f6c63430007040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100365760003560e01c80630c8489561461003b578063cae3eaf114610069575b600080fd5b6100676004803603602081101561005157600080fd5b8101908080359060200190929190505050610097565b005b6100956004803603602081101561007f57600080fd5b810190808035906020019092919050505061020d565b005b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561014c57600080fd5b505af1158015610160573d6000803e3d6000fd5b505050506040513d602081101561017657600080fd5b810190808051906020019092919050505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156101f257600080fd5b505af1158015610206573d6000803e3d6000fd5b5050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156102c057600080fd5b505af11580156102d4573d6000803e3d6000fd5b505050506040513d60208110156102ea57600080fd5b81019080805190602001909291905050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561036457600080fd5b505af1158015610378573d6000803e3d6000fd5b505050505056fea26469706673582212200765c94ebeda0bfb959a98f4a4b54b4c7ce150f1b9fc8f0ea414b0ab97b2e96764736f6c63430007040033
Deployed Bytecode Sourcemap
3268:756:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3880:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3728:140;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3880:139;3941:4;;;;;;;;;;;:13;;;3963:8;;;;;;;;;;;3974:10;3941:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3996:8;;;;;;;;;;;:13;;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3880:139;:::o;3728:140::-;3790:4;;;;;;;;;;;:13;;;3812:8;;;;;;;;;;3823:10;3790:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3845:8;;;;;;;;;;:13;;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3728:140;:::o
Swarm Source
ipfs://0765c94ebeda0bfb959a98f4a4b54b4c7ce150f1b9fc8f0ea414b0ab97b2e967
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.