Skip to main content

IFreezeTypes

Asset Tokenization Studio Team

IFreezeTypes

Freeze domain events shared across the freeze facets.

Holds the TokensFrozen, TokensUnfrozen and AddressFrozen events, emitted from both Freeze (single operations) and BatchFreeze (batch operations), so consumers can monitor every freeze change through a single topic. IFreeze inherits this interface; BatchFreeze imports it directly to reach the events without depending on the full IFreeze API.

Events​

AddressFrozen​

event AddressFrozen(address indexed userAddress, bool indexed isFrozen, address indexed owner)

Emitted when a wallet's address-level frozen status changes.

Parameters​

NameTypeDescription
userAddress indexedaddressThe wallet address whose freeze status was updated.
isFrozen indexedboolThe new freeze status; true means frozen, false means unfrozen.
owner indexedaddressAddress of the agent who triggered the status change.

TokensFrozen​

event TokensFrozen(address indexed account, uint256 amount, bytes32 partition)

Emitted when a specific amount of tokens is frozen for a wallet.

Parameters​

NameTypeDescription
account indexedaddressThe wallet address whose tokens were frozen.
amountuint256The amount of tokens frozen.
partitionbytes32The partition from which tokens were frozen.

TokensUnfrozen​

event TokensUnfrozen(address indexed account, uint256 amount, bytes32 partition)

Emitted when a specific amount of previously frozen tokens is unfrozen for a wallet.

Parameters​

NameTypeDescription
account indexedaddressThe wallet address whose tokens were unfrozen.
amountuint256The amount of tokens unfrozen.
partitionbytes32The partition to which tokens were restored.