ETH Price: $2,804.02 (-5.08%)

Contract

0x469788fE6E9E9681C6ebF3bF78e7Fd26Fc015446

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Set Delegate4250169152026-01-25 8:52:4212 hrs ago1769331162IN
0x469788fE...6Fc015446
0 ETH0.000000930.02
Clear Delegate4250168182026-01-25 8:52:1812 hrs ago1769331138IN
0x469788fE...6Fc015446
0 ETH0.000000490.020078
Clear Delegate4246297402026-01-24 5:52:1839 hrs ago1769233938IN
0x469788fE...6Fc015446
0 ETH0.000000490.020088
Set Delegate4240502072026-01-22 13:36:583 days ago1769089018IN
0x469788fE...6Fc015446
0 ETH0.000000940.020176
Clear Delegate4240500062026-01-22 13:36:093 days ago1769088969IN
0x469788fE...6Fc015446
0 ETH0.000000490.020026
Clear Delegate4239689752026-01-22 7:58:593 days ago1769068739IN
0x469788fE...6Fc015446
0 ETH0.000000490.02004
Set Delegate4238198552026-01-21 21:36:304 days ago1769031390IN
0x469788fE...6Fc015446
0 ETH0.000000940.020064
Clear Delegate4238197732026-01-21 21:36:104 days ago1769031370IN
0x469788fE...6Fc015446
0 ETH0.000000490.02
Set Delegate4237175122026-01-21 14:31:114 days ago1769005871IN
0x469788fE...6Fc015446
0 ETH0.000000970.020794
Clear Delegate4237173922026-01-21 14:30:414 days ago1769005841IN
0x469788fE...6Fc015446
0 ETH0.000000490.020336
Set Delegate4236499862026-01-21 9:50:434 days ago1768989043IN
0x469788fE...6Fc015446
0 ETH0.0000010.02154
Set Delegate4236497122026-01-21 9:49:344 days ago1768988974IN
0x469788fE...6Fc015446
0 ETH0.000001010.021756
Clear Delegate4236135352026-01-21 7:19:094 days ago1768979949IN
0x469788fE...6Fc015446
0 ETH0.000000480.020036
Set Delegate4233275662026-01-20 11:29:205 days ago1768908560IN
0x469788fE...6Fc015446
0 ETH0.000000630.020198
Set Delegate4233269252026-01-20 11:26:415 days ago1768908401IN
0x469788fE...6Fc015446
0 ETH0.000000630.020016
Set Delegate4233264952026-01-20 11:24:535 days ago1768908293IN
0x469788fE...6Fc015446
0 ETH0.000000630.02004
Set Delegate4233253692026-01-20 11:20:125 days ago1768908012IN
0x469788fE...6Fc015446
0 ETH0.000000630.020174
Set Delegate4233249092026-01-20 11:18:175 days ago1768907897IN
0x469788fE...6Fc015446
0 ETH0.000000630.02
Set Delegate4233245082026-01-20 11:16:365 days ago1768907796IN
0x469788fE...6Fc015446
0 ETH0.000000630.020108
Set Delegate4233238582026-01-20 11:13:555 days ago1768907635IN
0x469788fE...6Fc015446
0 ETH0.000000630.02
Set Delegate4233233132026-01-20 11:11:385 days ago1768907498IN
0x469788fE...6Fc015446
0 ETH0.000000630.020106
Set Delegate4233226712026-01-20 11:08:595 days ago1768907339IN
0x469788fE...6Fc015446
0 ETH0.000000630.020056
Set Delegate4233221052026-01-20 11:06:375 days ago1768907197IN
0x469788fE...6Fc015446
0 ETH0.000000630.020046
Set Delegate4233216282026-01-20 11:04:385 days ago1768907078IN
0x469788fE...6Fc015446
0 ETH0.000000630.02
Set Delegate4233113252026-01-20 10:21:495 days ago1768904509IN
0x469788fE...6Fc015446
0 ETH0.000000630.02
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
719988352023-03-21 4:17:261041 days ago1679372246
0x469788fE...6Fc015446
0 ETH
619531182023-02-18 1:53:441072 days ago1676685224
0x469788fE...6Fc015446
0 ETH
617888572023-02-17 13:24:311073 days ago1676640271
0x469788fE...6Fc015446
0 ETH
571886592023-02-01 15:47:071089 days ago1675266427
0x469788fE...6Fc015446
0 ETH
545415582023-01-21 16:51:201100 days ago1674319880
0x469788fE...6Fc015446
0 ETH
541003222023-01-19 13:19:301102 days ago1674134370
0x469788fE...6Fc015446
0 ETH
540990112023-01-19 13:12:121102 days ago1674133932
0x469788fE...6Fc015446
0 ETH
524805962023-01-12 6:28:281109 days ago1673504908
0x469788fE...6Fc015446
0 ETH
480926532022-12-22 17:33:421130 days ago1671730422
0x469788fE...6Fc015446
0 ETH
480924782022-12-22 17:32:471130 days ago1671730367
0x469788fE...6Fc015446
0 ETH
480923072022-12-22 17:31:481130 days ago1671730308
0x469788fE...6Fc015446
0 ETH
480921392022-12-22 17:30:521130 days ago1671730252
0x469788fE...6Fc015446
0 ETH
480902132022-12-22 17:20:041130 days ago1671729604
0x469788fE...6Fc015446
0 ETH
480897632022-12-22 17:17:321130 days ago1671729452
0x469788fE...6Fc015446
0 ETH
480894282022-12-22 17:15:421130 days ago1671729342
0x469788fE...6Fc015446
0 ETH
480889822022-12-22 17:13:171130 days ago1671729197
0x469788fE...6Fc015446
0 ETH
432048772022-12-03 8:43:071149 days ago1670056987
0x469788fE...6Fc015446
0 ETH
432045252022-12-03 8:41:351149 days ago1670056895
0x469788fE...6Fc015446
0 ETH
432039762022-12-03 8:39:021149 days ago1670056742
0x469788fE...6Fc015446
0 ETH
369124652022-11-10 12:24:201172 days ago1668083060
0x469788fE...6Fc015446
0 ETH
369123802022-11-10 12:23:551172 days ago1668083035
0x469788fE...6Fc015446
0 ETH
369123192022-11-10 12:23:391172 days ago1668083019
0x469788fE...6Fc015446
0 ETH
369121612022-11-10 12:22:581172 days ago1668082978
0x469788fE...6Fc015446
0 ETH
369114972022-11-10 12:20:061172 days ago1668082806
0x469788fE...6Fc015446
0 ETH
363187922022-11-08 13:30:311174 days ago1667914231
0x469788fE...6Fc015446
0 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DelegateRegistry

Compiler Version
v0.7.2+commit.51b20bc0

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2022-09-14
*/

// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.8.0;

contract DelegateRegistry {
    
    // The first key is the delegator and the second key a id. 
    // The value is the address of the delegate 
    mapping (address => mapping (bytes32 => address)) public delegation;
    
    // Using these events it is possible to process the events to build up reverse lookups.
    // The indeces allow it to be very partial about how to build this lookup (e.g. only for a specific delegate).
    event SetDelegate(address indexed delegator, bytes32 indexed id, address indexed delegate);
    event ClearDelegate(address indexed delegator, bytes32 indexed id, address indexed delegate);
    
    /// @dev Sets a delegate for the msg.sender and a specific id.
    ///      The combination of msg.sender and the id can be seen as a unique key.
    /// @param id Id for which the delegate should be set
    /// @param delegate Address of the delegate
    function setDelegate(bytes32 id, address delegate) public {
        require (delegate != msg.sender, "Can't delegate to self");
        require (delegate != address(0), "Can't delegate to 0x0");
        address currentDelegate = delegation[msg.sender][id];
        require (delegate != currentDelegate, "Already delegated to this address");
        
        // Update delegation mapping
        delegation[msg.sender][id] = delegate;
        
        if (currentDelegate != address(0)) {
            emit ClearDelegate(msg.sender, id, currentDelegate);
        }

        emit SetDelegate(msg.sender, id, delegate);
    }
    
    /// @dev Clears a delegate for the msg.sender and a specific id.
    ///      The combination of msg.sender and the id can be seen as a unique key.
    /// @param id Id for which the delegate should be set
    function clearDelegate(bytes32 id) public {
        address currentDelegate = delegation[msg.sender][id];
        require (currentDelegate != address(0), "No delegate set");
        
        // update delegation mapping
        delegation[msg.sender][id] = address(0);
        
        emit ClearDelegate(msg.sender, id, currentDelegate);
    }
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"}],"name":"ClearDelegate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"}],"name":"SetDelegate","type":"event"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"clearDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"delegation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50610794806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806374c6c45414610046578063bd86e508146100be578063f0bedbe21461010c575b600080fd5b6100926004803603604081101561005c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061013a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61010a600480360360408110156100d457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061017c565b005b6101386004803603602081101561012257600080fd5b8101908080359060200190929190505050610538565b005b60006020528160005260406000206020528060005260406000206000915091509054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561021e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616e27742064656c656761746520746f2073656c660000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156102c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f43616e27742064656c656761746520746f20307830000000000000000000000081525060200191505060405180910390fd5b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156103ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061073e6021913960400191505060405180910390fd5b816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146104d8578073ffffffffffffffffffffffffffffffffffffffff16833373ffffffffffffffffffffffffffffffffffffffff167f9c4f00c4291262731946e308dc2979a56bd22cce8f95906b975065e96cd5a06460405160405180910390a45b8173ffffffffffffffffffffffffffffffffffffffff16833373ffffffffffffffffffffffffffffffffffffffff167fa9a7fd460f56bddb880a465a9c3e9730389c70bc53108148f16d55a87a6c468e60405160405180910390a4505050565b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561064f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4e6f2064656c656761746520736574000000000000000000000000000000000081525060200191505060405180910390fd5b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16823373ffffffffffffffffffffffffffffffffffffffff167f9c4f00c4291262731946e308dc2979a56bd22cce8f95906b975065e96cd5a06460405160405180910390a4505056fe416c72656164792064656c65676174656420746f20746869732061646472657373a2646970667358221220b6cd5a8d04426e1189563fbec7dfec4ba70090dc70fe05097a137991fe1b396964736f6c63430007020033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c806374c6c45414610046578063bd86e508146100be578063f0bedbe21461010c575b600080fd5b6100926004803603604081101561005c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061013a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61010a600480360360408110156100d457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061017c565b005b6101386004803603602081101561012257600080fd5b8101908080359060200190929190505050610538565b005b60006020528160005260406000206020528060005260406000206000915091509054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561021e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616e27742064656c656761746520746f2073656c660000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156102c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f43616e27742064656c656761746520746f20307830000000000000000000000081525060200191505060405180910390fd5b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156103ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061073e6021913960400191505060405180910390fd5b816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146104d8578073ffffffffffffffffffffffffffffffffffffffff16833373ffffffffffffffffffffffffffffffffffffffff167f9c4f00c4291262731946e308dc2979a56bd22cce8f95906b975065e96cd5a06460405160405180910390a45b8173ffffffffffffffffffffffffffffffffffffffff16833373ffffffffffffffffffffffffffffffffffffffff167fa9a7fd460f56bddb880a465a9c3e9730389c70bc53108148f16d55a87a6c468e60405160405180910390a4505050565b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561064f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4e6f2064656c656761746520736574000000000000000000000000000000000081525060200191505060405180910390fd5b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16823373ffffffffffffffffffffffffffffffffffffffff167f9c4f00c4291262731946e308dc2979a56bd22cce8f95906b975065e96cd5a06460405160405180910390a4505056fe416c72656164792064656c65676174656420746f20746869732061646472657373a2646970667358221220b6cd5a8d04426e1189563fbec7dfec4ba70090dc70fe05097a137991fe1b396964736f6c63430007020033

Deployed Bytecode Sourcemap

78:2120:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;232:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;983:635;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1843:352;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;232:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;983:635::-;1073:10;1061:22;;:8;:22;;;;1052:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1150:1;1130:22;;:8;:22;;;;1121:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1189:23;1215:10;:22;1226:10;1215:22;;;;;;;;;;;;;;;:26;1238:2;1215:26;;;;;;;;;;;;;;;;;;;;;1189:52;;1273:15;1261:27;;:8;:27;;;;1252:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1414:8;1385:10;:22;1396:10;1385:22;;;;;;;;;;;;;;;:26;1408:2;1385:26;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;1474:1;1447:29;;:15;:29;;;1443:113;;1528:15;1498:46;;1524:2;1512:10;1498:46;;;;;;;;;;;;1443:113;1601:8;1573:37;;1597:2;1585:10;1573:37;;;;;;;;;;;;983:635;;;:::o;1843:352::-;1896:23;1922:10;:22;1933:10;1922:22;;;;;;;;;;;;;;;:26;1945:2;1922:26;;;;;;;;;;;;;;;;;;;;;1896:52;;1995:1;1968:29;;:15;:29;;;;1959:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2113:1;2076:10;:22;2087:10;2076:22;;;;;;;;;;;;;;;:26;2099:2;2076:26;;;;;;;;;;;;:39;;;;;;;;;;;;;;;;;;2171:15;2141:46;;2167:2;2155:10;2141:46;;;;;;;;;;;;1843:352;;:::o

Swarm Source

ipfs://b6cd5a8d04426e1189563fbec7dfec4ba70090dc70fe05097a137991fe1b3969

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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  ]
[ 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.