Skip to content

Commit d5f6b67

Browse files
f: linter
1 parent c9b38da commit d5f6b67

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

packages/horizon/test/unit/payments/recurring-collector/RecurringCollectorHelper.t.sol

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,6 @@ contract RecurringCollectorHelper is AuthorizableHelper, Bounder {
120120
); // between 10 and 1M max collections
121121
}
122122

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-
135123
function _sensibleMaxSecondsPerCollection(
136124
uint32 _seed,
137125
uint32 _minSecondsPerCollection
@@ -145,4 +133,16 @@ contract RecurringCollectorHelper is AuthorizableHelper, Bounder {
145133
) // between minSecondsPerCollection + 2h and 30 days
146134
);
147135
}
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+
}
148148
}

0 commit comments

Comments
 (0)