uint256 FLOW_LIMIT_SLOT
uint256 PREFIX_FLOW_OUT_AMOUNT
uint256 PREFIX_FLOW_IN_AMOUNT
bytes32 TOKEN_ID
uint256 EPOCH_TIME
function flowLimit() public view returns (uint256 flowLimit_)
Returns the current flow limit.
Name | Type | Description |
---|---|---|
flowLimit_ | uint256 | The current flow limit value. |
function _setFlowLimit(uint256 flowLimit_) internal
function _getFlowOutSlot(uint256 epoch) internal pure returns (uint256 slot)
function _getFlowInSlot(uint256 epoch) internal pure returns (uint256 slot)
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. |
function _addFlow(uint256 flowLimit_, uint256 slotToAdd, uint256 slotToCompare, uint256 flowAmount) internal
function _addFlowOut(uint256 flowOutAmount_) internal
function _addFlowIn(uint256 flowInAmount_) internal
function setFlowLimit(uint256 flowLimit_) external
function addFlowIn(uint256 flowInAmount_) external
function addFlowOut(uint256 flowOutAmount_) external