Attach code to your tokens
1 · How many tokensYou have 0 blank
2 · Which code
Tokens with no code yet
0
Blank00.0%
Circulated00.0%
Your Ruby cards1 / 4
RUBY#42
15
RUBY BOUND
Allow-list
// SPDX-License-Identifier: MIT pragma solidity ^0.8.26; import {IUnitPolicy} from "./IRuby.sol"; /// Only your listed addresses can receive. contract VaultPolicy is IUnitPolicy { function checkTransfer(address, address, address to, uint128, bytes calldata params) external pure returns (bytes4) { address[] memory allow = abi.decode(params, (address[])); for (uint256 i; i < allow.length; ++i) if (allow[i] == to) return IUnitPolicy.checkTransfer.selector; revert("recipient not whitelisted"); } function checkUnbind(address, uint40, bytes calldata) external pure returns (bytes4) { return IUnitPolicy.checkUnbind.selector; } function maxExitDelay() external pure returns (uint32) { return 0; } }