@@ -120,18 +120,6 @@ contract RecurringCollectorHelper is AuthorizableHelper, Bounder {
120
120
); // between 10 and 1M max collections
121
121
}
122
122
123
- function _sensibleMaxInitialTokens (uint256 _seed ) internal pure returns (uint256 ) {
124
- return bound (_seed, 0 , 1e18 * 100_000_000 ); // between 0 and 100M tokens
125
- }
126
-
127
- function _sensibleMaxOngoingTokensPerSecond (uint256 _seed ) internal pure returns (uint256 ) {
128
- return bound (_seed, 1 , 1e18 ); // between 1 and 1e18 tokens per second
129
- }
130
-
131
- function _sensibleMinSecondsPerCollection (uint32 _seed ) internal pure returns (uint32 ) {
132
- return uint32 (bound (_seed, 10 * 60 , 24 * 60 * 60 )); // between 10 min and 24h
133
- }
134
-
135
123
function _sensibleMaxSecondsPerCollection (
136
124
uint32 _seed ,
137
125
uint32 _minSecondsPerCollection
@@ -145,4 +133,16 @@ contract RecurringCollectorHelper is AuthorizableHelper, Bounder {
145
133
) // between minSecondsPerCollection + 2h and 30 days
146
134
);
147
135
}
136
+
137
+ function _sensibleMaxInitialTokens (uint256 _seed ) internal pure returns (uint256 ) {
138
+ return bound (_seed, 0 , 1e18 * 100_000_000 ); // between 0 and 100M tokens
139
+ }
140
+
141
+ function _sensibleMaxOngoingTokensPerSecond (uint256 _seed ) internal pure returns (uint256 ) {
142
+ return bound (_seed, 1 , 1e18 ); // between 1 and 1e18 tokens per second
143
+ }
144
+
145
+ function _sensibleMinSecondsPerCollection (uint32 _seed ) internal pure returns (uint32 ) {
146
+ return uint32 (bound (_seed, 10 * 60 , 24 * 60 * 60 )); // between 10 min and 24h
147
+ }
148
148
}
0 commit comments