Function pallet_time_release::module::dispatchables::update_release_schedules
source · pub fn update_release_schedules<T: Config>(
who: <T::Lookup as StaticLookup>::Source,
release_schedules: Vec<ReleaseSchedule<BlockNumberFor<T>, <<T as Config>::Currency as InspectFungible<<T as Config>::AccountId>>::Balance>>
)
Expand description
Update all release schedules under an account, root
origin required.
Events
- `Event::ReleaseSchedulesUpdated - Updated release schedules.
Errors
- `Error::InsufficientBalanceToFreeze - Insufficient amount of balance to freeze.
- `Error::MaxReleaseSchedulesExceeded - Failed because the maximum release schedules was exceeded-
- [`ArithmeticError::Overflow] - Failed because of an overflow.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::update_release_schedules
.