ETH Price: $3,320.52 (-2.76%)

Contract

0x513FB60037240205A0CF17C260257097D747BD46
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw Rewards201553972024-06-23 15:50:59156 days ago1719157859IN
0x513FB600...7D747BD46
0 ETH0.000397774.18965451
Withdraw Rewards196715542024-04-17 0:16:47223 days ago1713313007IN
0x513FB600...7D747BD46
0 ETH0.000852227.60628442
Withdraw Rewards196396042024-04-12 12:43:59228 days ago1712925839IN
0x513FB600...7D747BD46
0 ETH0.0017338418.26210523
Withdraw Rewards193979852024-03-09 13:57:59262 days ago1709992679IN
0x513FB600...7D747BD46
0 ETH0.0059064452.71631023
Withdraw Rewards193814882024-03-07 6:25:35264 days ago1709792735IN
0x513FB600...7D747BD46
0 ETH0.0067225260
Withdraw Rewards192686472024-02-20 11:33:59280 days ago1708428839IN
0x513FB600...7D747BD46
0 ETH0.0033903530.25967944
Withdraw Rewards192668302024-02-20 5:27:35280 days ago1708406855IN
0x513FB600...7D747BD46
0 ETH0.0022042619.67356544
Withdraw Rewards191456222024-02-03 5:00:59297 days ago1706936459IN
0x513FB600...7D747BD46
0 ETH0.0013875114.6142924
Withdraw Rewards191078542024-01-28 21:56:35303 days ago1706478995IN
0x513FB600...7D747BD46
0 ETH0.001092139.74756065
Withdraw Rewards190765952024-01-24 12:48:23307 days ago1706100503IN
0x513FB600...7D747BD46
0 ETH0.0014241315
Withdraw Rewards188426862023-12-22 16:51:23340 days ago1703263883IN
0x513FB600...7D747BD46
0 ETH0.0044229446.59166969
Withdraw Rewards188426842023-12-22 16:50:59340 days ago1703263859IN
0x513FB600...7D747BD46
0 ETH0.0043711746.04626349
Withdraw Rewards188426822023-12-22 16:50:35340 days ago1703263835IN
0x513FB600...7D747BD46
0 ETH0.0043809146.1488919
Withdraw Rewards188426802023-12-22 16:50:11340 days ago1703263811IN
0x513FB600...7D747BD46
0 ETH0.0045541947.97421277
Withdraw Rewards188426772023-12-22 16:49:35340 days ago1703263775IN
0x513FB600...7D747BD46
0 ETH0.004623948.70856767
Withdraw Rewards188426742023-12-22 16:48:59340 days ago1703263739IN
0x513FB600...7D747BD46
0 ETH0.0046713349.20815377
Withdraw Rewards188425992023-12-22 16:33:23340 days ago1703262803IN
0x513FB600...7D747BD46
0 ETH0.0045151247.56269269
Withdraw Rewards188425962023-12-22 16:32:47340 days ago1703262767IN
0x513FB600...7D747BD46
0 ETH0.0043954846.30234059
Withdraw Rewards188425902023-12-22 16:31:35340 days ago1703262695IN
0x513FB600...7D747BD46
0 ETH0.0042966145.26088866
Withdraw Rewards188425842023-12-22 16:30:23340 days ago1703262623IN
0x513FB600...7D747BD46
0 ETH0.0044948847.34951899
Withdraw Rewards188425782023-12-22 16:29:11340 days ago1703262551IN
0x513FB600...7D747BD46
0 ETH0.0053147347.44028146
Withdraw Rewards188425632023-12-22 16:25:59340 days ago1703262359IN
0x513FB600...7D747BD46
0 ETH0.0034596736.44452408
Withdraw Rewards188425612023-12-22 16:25:35340 days ago1703262335IN
0x513FB600...7D747BD46
0 ETH0.0033627735.42377066
Withdraw Rewards188425582023-12-22 16:24:59340 days ago1703262299IN
0x513FB600...7D747BD46
0 ETH0.0034299536.13145389
Withdraw Rewards188425552023-12-22 16:24:23340 days ago1703262263IN
0x513FB600...7D747BD46
0 ETH0.003516137.03895602
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RewardDelegatorsProxy

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-01-03
*/

pragma solidity >=0.4.21 <0.7.0;


/// @title Contract to reward overlapping stakes
/// @author Marlin
/// @notice Use this contract only for testing
/// @dev Contract may or may not change in future (depending upon the new slots in proxy-store)
contract RewardDelegatorsProxy {
    bytes32 internal constant IMPLEMENTATION_SLOT = bytes32(
        uint256(keccak256("eip1967.proxy.implementation")) - 1
    );
    bytes32 internal constant PROXY_ADMIN_SLOT = bytes32(
        uint256(keccak256("eip1967.proxy.admin")) - 1
    );

    constructor(address contractLogic, address proxyAdmin) public {
        // save the code address
        bytes32 slot = IMPLEMENTATION_SLOT;
        assembly {
            sstore(slot, contractLogic)
        }
        // save the proxy admin
        slot = PROXY_ADMIN_SLOT;
        address sender = proxyAdmin;
        assembly {
            sstore(slot, sender)
        }
    }

    function updateAdmin(address _newAdmin) public {
        require(
            msg.sender == getAdmin(),
            "Only the current admin should be able to new admin"
        );
        bytes32 slot = PROXY_ADMIN_SLOT;
        assembly {
            sstore(slot, _newAdmin)
        }
    }

    /// @author Marlin
    /// @dev Only admin can update the contract
    /// @param _newLogic address is the address of the contract that has to updated to
    function updateLogic(address _newLogic) public {
        require(
            msg.sender == getAdmin(),
            "Only Admin should be able to update the contracts"
        );
        bytes32 slot = IMPLEMENTATION_SLOT;
        assembly {
            sstore(slot, _newLogic)
        }
    }

    /// @author Marlin
    /// @dev use assembly as contract store slot is manually decided
    function getAdmin() internal view returns (address result) {
        bytes32 slot = PROXY_ADMIN_SLOT;
        assembly {
            result := sload(slot)
        }
    }

    /// @author Marlin
    /// @dev add functionality to forward the balance as well.
    function() external payable {
        bytes32 slot = IMPLEMENTATION_SLOT;
        assembly {
            let contractLogic := sload(slot)
            calldatacopy(0x0, 0x0, calldatasize())
            let success := delegatecall(
                sub(gas(), 10000),
                contractLogic,
                0x0,
                calldatasize(),
                0,
                0
            )
            let retSz := returndatasize()
            returndatacopy(0, 0, retSz)

            switch success
                case 0 {
                    revert(0, retSz)
                }
                default {
                    return(0, retSz)
                }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"contractLogic","type":"address"},{"internalType":"address","name":"proxyAdmin","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"updateAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newLogic","type":"address"}],"name":"updateLogic","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516104973803806104978339818101604052604081101561003357600080fd5b508051602090910151604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152815190819003601c018120600019908101949094557f656970313936372e70726f78792e61646d696e0000000000000000000000000081529051908190036013019020909101556103de806100b96000396000f3fe6080604052600436106100295760003560e01c8063795e617e146100a8578063e2f273bd146100ea575b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0180543660008037600080366000846127105a03f43d806000803e8180156100a357816000f35b816000fd5b3480156100b457600080fd5b506100e8600480360360208110156100cb57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661012a565b005b3480156100f657600080fd5b506100e86004803603602081101561010d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661020c565b6101326102ee565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806103476031913960400191505060405180910390fd5b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0155565b6102146102ee565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610297576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806103786032913960400191505060405180910390fd5b604080517f656970313936372e70726f78792e61646d696e00000000000000000000000000815290519081900360130190207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0155565b604080517f656970313936372e70726f78792e61646d696e00000000000000000000000000815290519081900360130190207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01549056fe4f6e6c792041646d696e2073686f756c642062652061626c6520746f207570646174652074686520636f6e7472616374734f6e6c79207468652063757272656e742061646d696e2073686f756c642062652061626c6520746f206e65772061646d696ea265627a7a72315820aeeb9f4ef1bc00ca8a49fc50c5337dcd477fdeeafa9d4e3905463007eb5c06a664736f6c634300051100320000000000000000000000000e12e9aba385c36cad25858f2fdb8b5e3b3d8d16000000000000000000000000a1438d4081827c337d6a90f525789fffd44375e2

Deployed Bytecode

0x6080604052600436106100295760003560e01c8063795e617e146100a8578063e2f273bd146100ea575b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0180543660008037600080366000846127105a03f43d806000803e8180156100a357816000f35b816000fd5b3480156100b457600080fd5b506100e8600480360360208110156100cb57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661012a565b005b3480156100f657600080fd5b506100e86004803603602081101561010d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661020c565b6101326102ee565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806103476031913960400191505060405180910390fd5b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0155565b6102146102ee565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610297576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806103786032913960400191505060405180910390fd5b604080517f656970313936372e70726f78792e61646d696e00000000000000000000000000815290519081900360130190207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0155565b604080517f656970313936372e70726f78792e61646d696e00000000000000000000000000815290519081900360130190207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01549056fe4f6e6c792041646d696e2073686f756c642062652061626c6520746f207570646174652074686520636f6e7472616374734f6e6c79207468652063757272656e742061646d696e2073686f756c642062652061626c6520746f206e65772061646d696ea265627a7a72315820aeeb9f4ef1bc00ca8a49fc50c5337dcd477fdeeafa9d4e3905463007eb5c06a664736f6c63430005110032

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

0000000000000000000000000e12e9aba385c36cad25858f2fdb8b5e3b3d8d16000000000000000000000000a1438d4081827c337d6a90f525789fffd44375e2

-----Decoded View---------------
Arg [0] : contractLogic (address): 0x0e12e9AbA385C36Cad25858f2FDb8b5E3B3D8D16
Arg [1] : proxyAdmin (address): 0xa1438d4081827c337d6A90f525789Fffd44375E2

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000e12e9aba385c36cad25858f2fdb8b5e3b3d8d16
Arg [1] : 000000000000000000000000a1438d4081827c337d6a90f525789fffd44375e2


Deployed Bytecode Sourcemap

253:2552:0:-;;;;;;;;;;;;;;;;;;;;;;;365:41;;;;;;;;;;;;;;;;357:54;;2221:11;;2269:14;2131:12;;2246:38;2487:1;2467;2434:14;2412:3;2380:13;2355:5;2348;2344:17;2313:190;2530:16;2581:5;2578:1;2575;2560:27;2610:7;2635:65;;;;2759:5;2756:1;2749:16;2635:65;2675:5;2672:1;2665:16;1417:302;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1417:302:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1417:302:0;;;;:::i;:::-;;948:300;;8:9:-1;5:2;;;30:1;27;20:12;5:2;948:300:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;948:300:0;;;;:::i;1417:302::-;1511:10;:8;:10::i;:::-;1497:24;;:10;:24;;;1475:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;365:41;;;;;;;;;;;;;;;;357:54;;1678:23;1663:49::o;948:300::-;1042:10;:8;:10::i;:::-;1028:24;;:10;:24;;;1006:124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;496:32;;;;;;;;;;;;;;;;488:45;;1207:23;1192:49::o;1821:175::-;496:32;;;;;;;;;;;;;;;;488:45;;1967:11;;1942:47::o

Swarm Source

bzzr://aeeb9f4ef1bc00ca8a49fc50c5337dcd477fdeeafa9d4e3905463007eb5c06a6

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.