seed
) currencyperiod
, user level
and be limited in N ccy
same user level
but with different periods
and limits
all
levels if you not scrictly specify oneTypically, seeds.yml
format (file with configuration for withdraw limit seed) looks like
#
# withdraw limits
#
withdraw_limits:
- # specify currency
currency: btc
- # specify levels(optionally), periods(optionally) and limits
- level: 1
period: 24
limit: 1
- level: 2
period: 24
limit: 2
- level: 3
period: 24
limit: 10
This yml will create 3 WithdrawLimit records:
More rare case with specifying a limit for all levels or infinity period for the level will look like:
#
# withdraw limits
#
withdraw_limits:
- # specify currency
currency: btc
- # specify levels(optionally), periods(optionally) and limits
- period: 48
limit: 1
- level: 2
limit: 2
- limit: 10
Result of this example will be: