You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Computes the stake caps for each publisher based on the oracle program accounts provided
153
+
/// - `account_datas` - the account datas of the oracle program accounts
154
+
/// - `timestamp` - the timestamp to include in the message
155
+
/// - `m` - m is the cap per symbol, it gets split among all publishers of the symbol
156
+
/// - `z` - when a symbol has less than `z` publishers, each publisher gets a cap of `m/z` (instead of `m/number_of_publishers`). This is to prevent a single publisher from getting a large cap when there are few publishers.
157
+
///
158
+
/// The stake cap for a publisher is computed as the sum of `m/min(z, number_of_publishers)` for all the symbols the publisher is publishing.
0 commit comments