Interface for flow limit logic for interchain token transfers.
error FlowLimitExceeded(uint256 limit, uint256 flowAmount, address tokenManager)
error FlowAdditionOverflow(uint256 flowAmount, uint256 flowToAdd, address tokenManager)
error FlowLimitOverflow(uint256 flowLimit, uint256 flowToCompare, address tokenManager)
event FlowLimitSet(bytes32 tokenId, address operator, uint256 flowLimit_)
function flowLimit() external view returns (uint256 flowLimit_)
Returns the current flow limit.
Name | Type | Description |
---|---|---|
flowLimit_ | uint256 | The current flow limit value. |
function flowOutAmount() external view returns (uint256 flowOutAmount_)
Returns the current flow out amount.
Name | Type | Description |
---|---|---|
flowOutAmount_ | uint256 | The current flow out amount. |
function flowInAmount() external view returns (uint256 flowInAmount_)
Returns the current flow in amount.
Name | Type | Description |
---|---|---|
flowInAmount_ | uint256 | The current flow in amount. |