pub fn close_tip<T: Config<I>, I: 'static>(hash: T::Hash)Expand description
Close and payout a tip.
The dispatch origin for this call must be Signed.
The tip identified by hash must have finished its countdown period.
hash: The identity of the open tip for which a tip value is declared. This is formed as the hash of the tuple of the original tipreasonand the beneficiary account ID.
§Complexity
- :
O(T)whereTis the number of tippers. decodingTippervec of lengthT.Tis charged as upper bound given byContainsLengthBound. The actual cost depends on the implementation ofT::Tippers.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::close_tip.