Contract detail
HoodMarketsPoolExtensionAllowlist
HoodMarketsPoolExtensionAllowlist is a verified Robinhood Chain smart contract at 0xeb8f843c…6f1a4b87 with 0 indexed transactions.
- Address type
- Smart contract
- Transactions
- 0
- History coverage
- No indexed activity found
- Emitted events
- 1
- Verification
- Verified
- Compiler
- v0.8.28+commit.7893614a
- Verification match
- partial
- Creation transaction
- 0xc0901b7b…a67a8f49
- Created at block
- #949874
- Language
- solidity
- EVM version
- cancun
- License
- none
- Compiler optimization
- Enabled · 20000 runs
Verified contract
Contract source code
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
import {IHoodMarketsPoolExtensionAllowlist} from "./interfaces/IHoodMarketsPoolExtensionAllowlist.sol";
import {OwnerAdmins} from "../utils/OwnerAdmins.sol";
contract HoodMarketsPoolExtensionAllowlist is IHoodMarketsPoolExtensionAllowlist, OwnerAdmins {
string public constant PROTOCOL = "hoodmarkets";
mapping(address extension => bool enabled) public enabledExtensions;
constructor(address owner_) OwnerAdmins(owner_) {}
function setPoolExtension(address extension, bool enabled) external onlyOwnerOrAdmin {
enabledExtensions[extension] = enabled;
emit SetPoolExtension(extension, enabled);
}
}