VolumeRestrictionLib.sol
Last updated
Was this helpful?
Last updated
Was this helpful?
View Source:
VolumeRestrictionLib
Constants & Variables
Arguments
Name
Type
Description
_holderToRestrictionType
mapping(address => enum VolumeRestrictionTMStorage.TypeOfPeriod)
_holder
address
_dataStore
IDataStore
_typeOfPeriod
enum VolumeRestrictionTMStorage.TypeOfPeriod
Arguments
Name
Type
Description
_holderToRestrictionType
mapping(address => enum VolumeRestrictionTMStorage.TypeOfPeriod)
_holder
address
_callFrom
enum VolumeRestrictionTMStorage.TypeOfPeriod
_endTime
uint256
_dataStore
IDataStore
Arguments
Name
Type
Description
_amountTradedLastDay
uint256
_amount
uint256
_sumOfLastPeriod
uint256
_allowedAmount
uint256
_lastTradedTimestamp
uint256
Provide the restriction details of all the restricted addresses
Returns
address List of the restricted addresses
Arguments
Name
Type
Description
_holderToRestrictionType
mapping(address => enum VolumeRestrictionTMStorage.TypeOfPeriod)
_individualRestrictions
struct VolumeRestrictionTMStorage.IndividualRestrictions
_dataStore
IDataStore
Arguments
Name
Type
Description
_restriction
struct VolumeRestrictionTMStorage.VolumeRestriction
_allowedTokens
uint256[]
_startTime
uint256[]
_rollingPeriodInDays
uint256[]
_endTime
uint256[]
_typeOfRestriction
enum VolumeRestrictionTMStorage.RestrictionType[]
_index
uint256
Arguments
Name
Type
Description
_flags
uint256
Arguments
Name
Type
Description
_currentTypeOfPeriod
enum VolumeRestrictionTMStorage.TypeOfPeriod
_callFrom
enum VolumeRestrictionTMStorage.TypeOfPeriod
_endTime
uint256
Arguments
Name
Type
Description
_investor
address
_dataStore
IDataStore
Arguments
Name
Type
Description
_key1
bytes32
_key2
address