Overview
ETH Balance
ETH Value
$0.00Latest 25 from a total of 67 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Build | 418111904 | 28 days ago | IN | 0 ETH | 0.00000501 | ||||
| Build | 401814140 | 75 days ago | IN | 0 ETH | 0.00000498 | ||||
| Build | 401173191 | 76 days ago | IN | 0 ETH | 0.00000498 | ||||
| Build | 397141968 | 88 days ago | IN | 0 ETH | 0.00000501 | ||||
| Build | 370378760 | 165 days ago | IN | 0 ETH | 0.0000003 | ||||
| Build | 370378617 | 165 days ago | IN | 0 ETH | 0.00000498 | ||||
| Build | 370266026 | 166 days ago | IN | 0 ETH | 0.00000498 | ||||
| Build | 370102674 | 166 days ago | IN | 0 ETH | 0.00002123 | ||||
| Build | 362774536 | 187 days ago | IN | 0 ETH | 0.00000499 | ||||
| Build | 362130714 | 189 days ago | IN | 0 ETH | 0.00000498 | ||||
| Build | 356308528 | 206 days ago | IN | 0 ETH | 0.0000081 | ||||
| Build | 353515193 | 214 days ago | IN | 0 ETH | 0.00000513 | ||||
| Build | 344780126 | 240 days ago | IN | 0 ETH | 0.00000523 | ||||
| Build | 343449544 | 243 days ago | IN | 0 ETH | 0.00000039 | ||||
| Build | 343449495 | 243 days ago | IN | 0 ETH | 0.00000507 | ||||
| Build | 342768461 | 245 days ago | IN | 0 ETH | 0.00000512 | ||||
| Build | 341436209 | 249 days ago | IN | 0 ETH | 0.00003555 | ||||
| Build | 340691083 | 251 days ago | IN | 0 ETH | 0.00001003 | ||||
| Build | 340690267 | 251 days ago | IN | 0 ETH | 0.00001126 | ||||
| Build | 332624919 | 275 days ago | IN | 0 ETH | 0.00000498 | ||||
| Build | 332091469 | 276 days ago | IN | 0 ETH | 0.00000515 | ||||
| Build | 320206376 | 311 days ago | IN | 0 ETH | 0.00000499 | ||||
| Build | 319306700 | 314 days ago | IN | 0 ETH | 0.00000032 | ||||
| Build | 319306571 | 314 days ago | IN | 0 ETH | 0.00000499 | ||||
| Build | 313849432 | 329 days ago | IN | 0 ETH | 0.00000499 |
Latest 25 internal transactions (View All)
Cross-Chain Transactions
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.13;
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
import "./proxy.sol";
contract ProxyRegistry {
mapping(address => uint256) public seed;
mapping(address => address) public proxies;
mapping(address => uint256) public isProxy;
function build(address usr) external returns (address payable proxy) {
proxy = payable(proxies[usr]);
if (proxy != address(0)) {
(, bytes memory owner) = proxy.call(abi.encodeWithSignature("owner()"));
// Using low level call in case proxy was self destructed
require(
owner.length != 32 || abi.decode(owner, (address)) != usr,
"ProxyRegistry/proxy-already-registered-to-user"
);
// Not allow new proxy if the user already has one and remains being the owner
}
uint256 salt = uint256(keccak256(abi.encode(usr, ++seed[usr])));
bytes memory code = abi.encodePacked(type(Proxy).creationCode, abi.encode(usr));
assembly {
proxy := create2(0, add(code, 0x20), mload(code), salt)
}
require(proxy != address(0), "ProxyRegistry/creation-failed");
proxies[usr] = proxy;
isProxy[proxy] = 1;
}
// This function needs to be used carefully, you should only claim a proxy you trust on.
// A proxy might be set up with an authority or just simple allowances that might make an
// attacker to take funds that are sitting in the proxy.
function claim(address proxy) external {
require(isProxy[proxy] != 0, "ProxyRegistry/not-proxy-from-this-registry");
address owner = Proxy(payable(proxy)).owner();
require(owner == msg.sender, "ProxyRegistry/only-owner-can-claim");
proxies[owner] = proxy;
}
}// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.13;
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
interface AuthorityLike {
function canCall(address src, address dst, bytes4 sig) external view returns (bool);
}
contract Proxy {
address public owner;
address public authority;
event SetOwner(address indexed owner);
event SetAuthority(address indexed authority);
constructor(address owner_) {
owner = owner_;
emit SetOwner(owner_);
}
receive() external payable {}
modifier auth() {
require(
msg.sender == owner
|| authority != address(0) && AuthorityLike(authority).canCall(msg.sender, address(this), msg.sig),
"Proxy/not-authorized"
);
_;
}
function setOwner(address owner_) external auth {
owner = owner_;
emit SetOwner(owner_);
}
function setAuthority(address authority_) external auth {
authority = authority_;
emit SetAuthority(authority_);
}
function execute(address target_, bytes memory data_) external payable auth returns (bytes memory response) {
require(target_ != address(0), "Proxy/target-address-required");
assembly {
let succeeded := delegatecall(gas(), target_, add(data_, 0x20), mload(data_), 0, 0)
let size := returndatasize()
response := mload(0x40)
mstore(0x40, add(response, and(add(add(size, 0x20), 0x1f), not(0x1f))))
mstore(response, size)
returndatacopy(add(response, 0x20), 0, size)
switch succeeded
case 0 { revert(add(response, 0x20), size) }
}
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"usr","type":"address"}],"name":"build","outputs":[{"internalType":"address payable","name":"proxy","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxy","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isProxy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"proxies","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"seed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b50610de5806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063063c67b71461005c5780631e83409a1461008f57806329710388146100a4578063c4552791146100c4578063f3701da214610105575b600080fd5b61007c61006a366004610566565b60006020819052908152604090205481565b6040519081526020015b60405180910390f35b6100a261009d366004610566565b610118565b005b61007c6100b2366004610566565b60026020526000908152604090205481565b6100ed6100d2366004610566565b6001602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610086565b6100ed610113366004610566565b610290565b6001600160a01b03811660009081526002602052604081205490036101975760405162461bcd60e51b815260206004820152602a60248201527f50726f787952656769737472792f6e6f742d70726f78792d66726f6d2d746869604482015269732d726567697374727960b01b60648201526084015b60405180910390fd5b6000816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101fb919061058a565b90506001600160a01b03811633146102605760405162461bcd60e51b815260206004820152602260248201527f50726f787952656769737472792f6f6e6c792d6f776e65722d63616e2d636c61604482015261696d60f01b606482015260840161018e565b6001600160a01b0390811660009081526001602052604090208054919092166001600160a01b0319909116179055565b6001600160a01b038082166000908152600160205260409020541680156103d45760408051600481526024810182526020810180516001600160e01b0316638da5cb5b60e01b17905290516000916001600160a01b038416916102f391906105e2565b6000604051808303816000865af19150503d8060008114610330576040519150601f19603f3d011682016040523d82523d6000602084013e610335565b606091505b509150508051602014158061036f5750826001600160a01b031681806020019051810190610363919061058a565b6001600160a01b031614155b6103d25760405162461bcd60e51b815260206004820152602e60248201527f50726f787952656769737472792f70726f78792d616c72656164792d7265676960448201526d39ba32b932b216ba3796bab9b2b960911b606482015260840161018e565b505b6001600160a01b0382166000908152602081905260408120805484919083906103fc906105ee565b9182905550604080516001600160a01b0390931660208401528201526060016040516020818303038152906040528051906020012060001c905060006040518060200161044890610541565b601f1982820381018352601f9091011660408181526001600160a01b03871660208301520160408051601f198184030181529082905261048b9291602001610615565b6040516020818303038152906040529050818151602083016000f592506001600160a01b0383166104fe5760405162461bcd60e51b815260206004820152601d60248201527f50726f787952656769737472792f6372656174696f6e2d6661696c6564000000604482015260640161018e565b50506001600160a01b03918216600090815260016020818152604080842080546001600160a01b0319169686169687179055948352600290529290209190915590565b61077d8061063383390190565b6001600160a01b038116811461056357600080fd5b50565b60006020828403121561057857600080fd5b81356105838161054e565b9392505050565b60006020828403121561059c57600080fd5b81516105838161054e565b6000815160005b818110156105c857602081850181015186830152016105ae565b818111156105d7576000828601525b509290920192915050565b600061058382846105a7565b60006001820161060e57634e487b7160e01b600052601160045260246000fd5b5060010190565b600061062a61062483866105a7565b846105a7565b94935050505056fe608060405234801561001057600080fd5b5060405161077d38038061077d83398101604081905261002f9161007a565b600080546001600160a01b0319166001600160a01b038316908117825560405190917f167d3e9c1016ab80e58802ca9da10ce5c6a0f4debc46a2e7a2cd9e56899a4fb591a2506100aa565b60006020828403121561008c57600080fd5b81516001600160a01b03811681146100a357600080fd5b9392505050565b6106c4806100b96000396000f3fe60806040526004361061004e5760003560e01c806313af40351461005a5780631cff79cd1461007c5780637a9e5e4b146100a55780638da5cb5b146100c5578063bf7e214f146100fd57600080fd5b3661005557005b600080fd5b34801561006657600080fd5b5061007a6100753660046104c2565b61011d565b005b61008f61008a3660046104fa565b610234565b60405161009c91906105bc565b60405180910390f35b3480156100b157600080fd5b5061007a6100c03660046104c2565b610396565b3480156100d157600080fd5b506000546100e5906001600160a01b031681565b6040516001600160a01b03909116815260200161009c565b34801561010957600080fd5b506001546100e5906001600160a01b031681565b6000546001600160a01b03163314806101c757506001546001600160a01b0316158015906101c7575060015460405163b700961360e01b81526001600160a01b039091169063b70096139061018690339030906001600160e01b03196000351690600401610611565b602060405180830381865afa1580156101a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c7919061063e565b6101ec5760405162461bcd60e51b81526004016101e390610660565b60405180910390fd5b600080546001600160a01b0319166001600160a01b038316908117825560405190917f167d3e9c1016ab80e58802ca9da10ce5c6a0f4debc46a2e7a2cd9e56899a4fb591a250565b6000546060906001600160a01b03163314806102e157506001546001600160a01b0316158015906102e1575060015460405163b700961360e01b81526001600160a01b039091169063b7009613906102a090339030906001600160e01b03196000351690600401610611565b602060405180830381865afa1580156102bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e1919061063e565b6102fd5760405162461bcd60e51b81526004016101e390610660565b6001600160a01b0383166103535760405162461bcd60e51b815260206004820152601d60248201527f50726f78792f7461726765742d616464726573732d726571756972656400000060448201526064016101e3565b600080835160208501865af43d6040519250601f19601f6020830101168301604052808352806000602085013e818061038d578160208501fd5b50505092915050565b6000546001600160a01b031633148061044057506001546001600160a01b031615801590610440575060015460405163b700961360e01b81526001600160a01b039091169063b7009613906103ff90339030906001600160e01b03196000351690600401610611565b602060405180830381865afa15801561041c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610440919061063e565b61045c5760405162461bcd60e51b81526004016101e390610660565b600180546001600160a01b0319166001600160a01b0383169081179091556040517f1679749591538f58df6938d50167216de9dda7d8a999dbb21d9f098383a13e0290600090a250565b80356001600160a01b03811681146104bd57600080fd5b919050565b6000602082840312156104d457600080fd5b6104dd826104a6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561050d57600080fd5b610516836104a6565b9150602083013567ffffffffffffffff8082111561053357600080fd5b818501915085601f83011261054757600080fd5b813581811115610559576105596104e4565b604051601f8201601f19908116603f01168101908382118183101715610581576105816104e4565b8160405282815288602084870101111561059a57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b600060208083528351808285015260005b818110156105e9578581018301518582016040015282016105cd565b818111156105fb576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0393841681529190921660208201526001600160e01b0319909116604082015260600190565b60006020828403121561065057600080fd5b815180151581146104dd57600080fd5b602080825260149082015273141c9bde1e4bdb9bdd0b585d5d1a1bdc9a5e995960621b60408201526060019056fea2646970667358221220d78dacab3a29d3e91cb8558d704ef81e2dfedf804de035565a6aca955f72733764736f6c634300080d0033a26469706673582212201de49050413f076d1dcedd49c849aef93fbc9f393179a0d5f8cd750d7281d0d164736f6c634300080d0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063063c67b71461005c5780631e83409a1461008f57806329710388146100a4578063c4552791146100c4578063f3701da214610105575b600080fd5b61007c61006a366004610566565b60006020819052908152604090205481565b6040519081526020015b60405180910390f35b6100a261009d366004610566565b610118565b005b61007c6100b2366004610566565b60026020526000908152604090205481565b6100ed6100d2366004610566565b6001602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610086565b6100ed610113366004610566565b610290565b6001600160a01b03811660009081526002602052604081205490036101975760405162461bcd60e51b815260206004820152602a60248201527f50726f787952656769737472792f6e6f742d70726f78792d66726f6d2d746869604482015269732d726567697374727960b01b60648201526084015b60405180910390fd5b6000816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101fb919061058a565b90506001600160a01b03811633146102605760405162461bcd60e51b815260206004820152602260248201527f50726f787952656769737472792f6f6e6c792d6f776e65722d63616e2d636c61604482015261696d60f01b606482015260840161018e565b6001600160a01b0390811660009081526001602052604090208054919092166001600160a01b0319909116179055565b6001600160a01b038082166000908152600160205260409020541680156103d45760408051600481526024810182526020810180516001600160e01b0316638da5cb5b60e01b17905290516000916001600160a01b038416916102f391906105e2565b6000604051808303816000865af19150503d8060008114610330576040519150601f19603f3d011682016040523d82523d6000602084013e610335565b606091505b509150508051602014158061036f5750826001600160a01b031681806020019051810190610363919061058a565b6001600160a01b031614155b6103d25760405162461bcd60e51b815260206004820152602e60248201527f50726f787952656769737472792f70726f78792d616c72656164792d7265676960448201526d39ba32b932b216ba3796bab9b2b960911b606482015260840161018e565b505b6001600160a01b0382166000908152602081905260408120805484919083906103fc906105ee565b9182905550604080516001600160a01b0390931660208401528201526060016040516020818303038152906040528051906020012060001c905060006040518060200161044890610541565b601f1982820381018352601f9091011660408181526001600160a01b03871660208301520160408051601f198184030181529082905261048b9291602001610615565b6040516020818303038152906040529050818151602083016000f592506001600160a01b0383166104fe5760405162461bcd60e51b815260206004820152601d60248201527f50726f787952656769737472792f6372656174696f6e2d6661696c6564000000604482015260640161018e565b50506001600160a01b03918216600090815260016020818152604080842080546001600160a01b0319169686169687179055948352600290529290209190915590565b61077d8061063383390190565b6001600160a01b038116811461056357600080fd5b50565b60006020828403121561057857600080fd5b81356105838161054e565b9392505050565b60006020828403121561059c57600080fd5b81516105838161054e565b6000815160005b818110156105c857602081850181015186830152016105ae565b818111156105d7576000828601525b509290920192915050565b600061058382846105a7565b60006001820161060e57634e487b7160e01b600052601160045260246000fd5b5060010190565b600061062a61062483866105a7565b846105a7565b94935050505056fe608060405234801561001057600080fd5b5060405161077d38038061077d83398101604081905261002f9161007a565b600080546001600160a01b0319166001600160a01b038316908117825560405190917f167d3e9c1016ab80e58802ca9da10ce5c6a0f4debc46a2e7a2cd9e56899a4fb591a2506100aa565b60006020828403121561008c57600080fd5b81516001600160a01b03811681146100a357600080fd5b9392505050565b6106c4806100b96000396000f3fe60806040526004361061004e5760003560e01c806313af40351461005a5780631cff79cd1461007c5780637a9e5e4b146100a55780638da5cb5b146100c5578063bf7e214f146100fd57600080fd5b3661005557005b600080fd5b34801561006657600080fd5b5061007a6100753660046104c2565b61011d565b005b61008f61008a3660046104fa565b610234565b60405161009c91906105bc565b60405180910390f35b3480156100b157600080fd5b5061007a6100c03660046104c2565b610396565b3480156100d157600080fd5b506000546100e5906001600160a01b031681565b6040516001600160a01b03909116815260200161009c565b34801561010957600080fd5b506001546100e5906001600160a01b031681565b6000546001600160a01b03163314806101c757506001546001600160a01b0316158015906101c7575060015460405163b700961360e01b81526001600160a01b039091169063b70096139061018690339030906001600160e01b03196000351690600401610611565b602060405180830381865afa1580156101a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c7919061063e565b6101ec5760405162461bcd60e51b81526004016101e390610660565b60405180910390fd5b600080546001600160a01b0319166001600160a01b038316908117825560405190917f167d3e9c1016ab80e58802ca9da10ce5c6a0f4debc46a2e7a2cd9e56899a4fb591a250565b6000546060906001600160a01b03163314806102e157506001546001600160a01b0316158015906102e1575060015460405163b700961360e01b81526001600160a01b039091169063b7009613906102a090339030906001600160e01b03196000351690600401610611565b602060405180830381865afa1580156102bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e1919061063e565b6102fd5760405162461bcd60e51b81526004016101e390610660565b6001600160a01b0383166103535760405162461bcd60e51b815260206004820152601d60248201527f50726f78792f7461726765742d616464726573732d726571756972656400000060448201526064016101e3565b600080835160208501865af43d6040519250601f19601f6020830101168301604052808352806000602085013e818061038d578160208501fd5b50505092915050565b6000546001600160a01b031633148061044057506001546001600160a01b031615801590610440575060015460405163b700961360e01b81526001600160a01b039091169063b7009613906103ff90339030906001600160e01b03196000351690600401610611565b602060405180830381865afa15801561041c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610440919061063e565b61045c5760405162461bcd60e51b81526004016101e390610660565b600180546001600160a01b0319166001600160a01b0383169081179091556040517f1679749591538f58df6938d50167216de9dda7d8a999dbb21d9f098383a13e0290600090a250565b80356001600160a01b03811681146104bd57600080fd5b919050565b6000602082840312156104d457600080fd5b6104dd826104a6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561050d57600080fd5b610516836104a6565b9150602083013567ffffffffffffffff8082111561053357600080fd5b818501915085601f83011261054757600080fd5b813581811115610559576105596104e4565b604051601f8201601f19908116603f01168101908382118183101715610581576105816104e4565b8160405282815288602084870101111561059a57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b600060208083528351808285015260005b818110156105e9578581018301518582016040015282016105cd565b818111156105fb576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0393841681529190921660208201526001600160e01b0319909116604082015260600190565b60006020828403121561065057600080fd5b815180151581146104dd57600080fd5b602080825260149082015273141c9bde1e4bdb9bdd0b585d5d1a1bdc9a5e995960621b60408201526060019056fea2646970667358221220d78dacab3a29d3e91cb8558d704ef81e2dfedf804de035565a6aca955f72733764736f6c634300080d0033a26469706673582212201de49050413f076d1dcedd49c849aef93fbc9f393179a0d5f8cd750d7281d0d164736f6c634300080d0033
Net Worth in USD
Net Worth in ETH
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.