Function pallet_society::pallet::dispatchables::vouch
source · pub fn vouch<T: Config<I>, I: 'static>(
who: <<T as Config>::Lookup as StaticLookup>::Source,
value: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance,
tip: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance,
)
Expand description
As a member, vouch for someone to join society by placing a bid on their behalf.
There is no deposit required to vouch for a new bid, but a member can only vouch for one bid at a time. If the bid becomes a suspended candidate and ultimately rejected by the suspension judgement origin, the member will be banned from vouching again.
As a vouching member, you can claim a tip if the candidate is accepted. This tip will be paid as a portion of the reward the member will receive for joining the society.
The dispatch origin for this call must be Signed and a member.
Parameters:
who
: The user who you would like to vouch for.value
: The total reward to be paid between you and the candidate if they become a member in the society.tip
: Your cut of the totalvalue
payout when the candidate is inducted into the society. Tips larger thanvalue
will be saturated upon payout.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::vouch
.