Address Contract Partially Verified
Address
0x50Bc01E46710abaacf5dB45F0838b9FE7B9AeDef
Balance
0 ETH
Nonce
1
Code Size
2374 bytes
Creator
0x9e1b4c50...dC98 at tx 0xe1b87c4f...fe39bb
Last Active
Indexed Transactions
1 (24,249,774 → 24,249,774)
Gas Used (indexed)
197,113
Contract Bytecode
2374 bytes
0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063921dc2f81161005b578063921dc2f8146101225780639cae6eae14610135578063a85ab6dd14610148578063fd0a1aef1461015b57600080fd5b806318f643421461008d578063429b62e5146100b75780634b0bddd2146100ea5780637bbf4a3f146100ff575b600080fd5b6100a061009b3660046106c2565b61017e565b6040516100ae9291906107e5565b60405180910390f35b6100da6100c5366004610808565b60006020819052908152604090205460ff1681565b60405190151581526020016100ae565b6100fd6100f836600461082a565b6102ba565b005b6100da61010d366004610808565b60016020526000908152604090205460ff1681565b6100a06101303660046106c2565b6103a8565b6100fd61014336600461082a565b6104c8565b6100a06101563660046106c2565b61056d565b6100da610169366004610866565b60026020526000908152604090205460ff1681565b3360009081526001602052604081205460609060ff166101b95760405162461bcd60e51b81526004016101b09061087f565b60405180910390fd5b60008581526002602052604090205460ff16156101e85760405162461bcd60e51b81526004016101b0906108a3565b600080856001600160a01b03168560405161020391906108c7565b600060405180830381855afa9150503d806000811461023e576040519150601f19603f3d011682016040523d82523d6000602084013e610243565b606091505b5060008981526002602052604090819020805460ff191660011790555191935091506001600160a01b03871690339089907f353cc60acf054652be97f34329ab795045509ad60038d6a8767fcbf7d2773d39906102a690600390889088906108e3565b60405180910390a490969095509350505050565b3360009081526020819052604090205460ff166103055760405162461bcd60e51b81526020600482015260096024820152682737ba1030b236b4b760b91b60448201526064016101b0565b6001600160a01b03821633036103485760405162461bcd60e51b81526020600482015260086024820152672737ba1039b2b63360c11b60448201526064016101b0565b6001600160a01b03821660008181526020818152604091829020805460ff1916851515908117909155915191825233917f9132390da28435426329ec8f3a2448267b1837bef94d4237704300dd88b2d8cc91015b60405180910390a35050565b3360009081526001602052604081205460609060ff166103da5760405162461bcd60e51b81526004016101b09061087f565b60008581526002602052604090205460ff16156104095760405162461bcd60e51b81526004016101b0906108a3565b600080856001600160a01b03168560405161042491906108c7565b600060405180830381855af49150503d806000811461045f576040519150601f19603f3d011682016040523d82523d6000602084013e610464565b606091505b50600089815260026020819052604091829020805460ff1916600117905590519294509092506001600160a01b0388169133918a917f353cc60acf054652be97f34329ab795045509ad60038d6a8767fcbf7d2773d39916102a691889088906108e3565b3360009081526020819052604090205460ff166105135760405162461bcd60e51b81526020600482015260096024820152682737ba1030b236b4b760b91b60448201526064016101b0565b6001600160a01b038216600081815260016020908152604091829020805460ff1916851515908117909155915191825233917f0f3294e66fd704686501aa64e7e0b38bbea746fbe46eddd23b1c6c4b957249a0910161039c565b3360009081526001602052604081205460609060ff1661059f5760405162461bcd60e51b81526004016101b09061087f565b60008581526002602052604090205460ff16156105ce5760405162461bcd60e51b81526004016101b0906108a3565b600080856001600160a01b0316856040516105e991906108c7565b6000604051808303816000865af19150503d8060008114610626576040519150601f19603f3d011682016040523d82523d6000602084013e61062b565b606091505b5060008981526002602052604090819020805460ff1916600190811790915590519294509092506001600160a01b0388169133918a917f353cc60acf054652be97f34329ab795045509ad60038d6a8767fcbf7d2773d39916102a691889088906108e3565b80356001600160a01b03811681146106a757600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156106d757600080fd5b833592506106e760208501610690565b9150604084013567ffffffffffffffff81111561070357600080fd5b8401601f8101861361071457600080fd5b803567ffffffffffffffff81111561072e5761072e6106ac565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561075d5761075d6106ac565b60405281815282820160200188101561077557600080fd5b816020840160208301376000602083830101528093505050509250925092565b60005b838110156107b0578181015183820152602001610798565b50506000910152565b600081518084526107d1816020860160208601610795565b601f01601f19169290920160200192915050565b821515815260406020820152600061080060408301846107b9565b949350505050565b60006020828403121561081a57600080fd5b61082382610690565b9392505050565b6000806040838503121561083d57600080fd5b61084683610690565b91506020830135801515811461085b57600080fd5b809150509250929050565b60006020828403121561087857600080fd5b5035919050565b6020808252600a90820152692737ba1031b0b63632b960b11b604082015260600190565b6020808252600a908201526910dbdc9c995b185d195960b21b604082015260600190565b600082516108d9818460208701610795565b9190910192915050565b60ff84168152821515602082015260606040820152600061090760608301846107b9565b9594505050505056fea2646970667358221220bd6589d9456f07cc7849e7c741e82cfdd88c3274959ae7dd05fdcdfbfaa821e264736f6c634300081c0033
Verified Source Code Partial Match
Compiler: v0.8.28+commit.7893614a
EVM: paris
Optimization: Yes (200 runs)
BolderCashProxy.sol 74 lines
/*
* Copyright (C) 2025 - https://bolder.cash
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
pragma solidity ^0.8.28;
contract BolderCashProxy {
mapping(address => bool) public admins;
mapping(address => bool) public callers;
mapping(uint256 => bool) public correlations;
event Admin(address indexed setter, address indexed param, bool state);
event Caller(address indexed setter, address indexed param, bool state);
event Action(uint256 indexed correlation, address indexed caller, address indexed target, uint8 action, bool success, bytes result);
constructor(address admin) {
admins[admin] = true;
emit Admin(msg.sender, admin, true);
}
function setAdmin(address admin, bool state) public {
require(admins[msg.sender], "Not admin");
require(msg.sender != admin, "Not self");
admins[admin] = state;
emit Admin(msg.sender, admin, state);
}
function setCaller(address caller, bool state) public {
require(admins[msg.sender], "Not admin");
callers[caller] = state;
emit Caller(msg.sender, caller, state);
}
function doCall(uint256 correlation, address target, bytes memory code) public returns (bool, bytes memory) {
require(callers[msg.sender], "Not caller");
require(correlations[correlation] == false, "Correlated");
(bool success, bytes memory result) = target.call(code);
correlations[correlation] = true;
emit Action(correlation, msg.sender, target, 1, success, result);
return (success, result);
}
function doDelegateCall(uint256 correlation, address target, bytes memory code) public returns (bool, bytes memory) {
require(callers[msg.sender], "Not caller");
require(correlations[correlation] == false, "Correlated");
(bool success, bytes memory result) = target.delegatecall(code);
correlations[correlation] = true;
emit Action(correlation, msg.sender, target, 2, success, result);
return (success, result);
}
function doStaticCall(uint256 correlation, address target, bytes memory code) public returns (bool, bytes memory) {
require(callers[msg.sender], "Not caller");
require(correlations[correlation] == false, "Correlated");
(bool success, bytes memory result) = target.staticcall(code);
correlations[correlation] = true;
emit Action(correlation, msg.sender, target, 3, success, result);
return (success, result);
}
}
Read Contract
admins 0x429b62e5 → bool
callers 0x7bbf4a3f → bool
correlations 0xfd0a1aef → bool
Write Contract 5 functions
These functions modify contract state and require a wallet transaction to execute.
doCall 0xa85ab6dd
uint256 correlation
address target
bytes code
returns: bool, bytes
doDelegateCall 0x921dc2f8
uint256 correlation
address target
bytes code
returns: bool, bytes
doStaticCall 0x18f64342
uint256 correlation
address target
bytes code
returns: bool, bytes
setAdmin 0x4b0bddd2
address admin
bool state
setCaller 0x9cae6eae
address caller
bool state
Top Interactions
| Address | Txns | Sent | Received |
|---|---|---|---|
| 0xBBcC02C9...E9C3 | 1 | 1 |
Recent Transactions
|
| Hash | Block | Age | From/To | Value | |
|---|---|---|---|---|---|
| 0x4d92ac6c...6be61a | 24,249,774 | IN | 0xBBcC02C9...E9C3 | 0 ETH |