Skip to content

Instantly share code, notes, and snippets.

View Nalon's full-sized avatar

nje Nalon

  • Las Vegas
View GitHub Profile
@Nalon
Nalon / x402-cre-price-alerts...RuleRegistry.sol
Created January 10, 2026 13:28
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.31+commit.fd3a2265.js&optimize=undefined&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import { ReceiverTemplate } from "./interfaces/ReceiverTemplate.sol";
import { IERC20 } from "./interfaces/IERC20.sol";
/**
* @title RuleRegistry
* @author x402-cre-alerts
* @notice On-chain registry for storing crypto price alert rules
@Nalon
Nalon / x402-cre-price-alerts...RuleRegistry.sol
Last active January 10, 2026 13:30
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.31+commit.fd3a2265.js&optimize=undefined&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import { ReceiverTemplate } from "./interfaces/ReceiverTemplate.sol";
import { IERC20 } from "./interfaces/IERC20.sol";
/**
* @title RuleRegistry
* @author x402-cre-alerts
* @notice On-chain registry for storing crypto price alert rules
@Nalon
Nalon / x402-cre-alerts-demo...RuleRegistry.sol
Created December 12, 2025 22:23
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.31+commit.fd3a2265.js&optimize=undefined&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import { ReceiverTemplate } from "./interfaces/ReceiverTemplate.sol";
import { IERC20 } from "./interfaces/IERC20.sol";
/**
* @title RuleRegistry
* @author x402-cre-alerts
* @notice On-chain registry for storing crypto price alert rules