fn read_seigniorage_recipients(&mut self) -> Result<SeigniorageRecipients, Error> {
        // `era_validators` are assumed to be computed already by calling "run_auction" entrypoint.
        let era_index = detail::get_era_id(self)?;
        let mut seigniorage_recipients_snapshot =
            detail::get_seigniorage_recipients_snapshot(self)?;
        let seigniorage_recipients = seigniorage_recipients_snapshot
            .remove(&era_index)
            .ok_or(Error::MissingSeigniorageRecipients)?;
        Ok(seigniorage_recipients)
    }
/// Returns validators in era_validators, mapped to their bids or founding stakes, delegation
/// rates and lists of delegators together with their delegated quantities from delegators.
/// This function is publicly accessible, but intended for system use by the Handle Payment
/// contract, because this data is necessary for distributing seigniorage.
Returns validators in era_validators, mapped to their bids or founding stakes, delegation
rates and lists of delegators together with their delegated quantities from delegators.
This function is publicly accessible, but intended for system use by the Handle Payment
contract, because this data is necessary for distributing seigniorage.
Returns validators in era_validators mapped to their bids or founding stakes delegation rates and lists of delegators together with their delegated quantities from delegators . This function is publicly accessible but intended for system use by the Handle Payment contract because this data is necessary for distributing seigniorage .
fn read_seigniorage_recipients(&mut self) -> Result<SeigniorageRecipients, Error> {
        // `era_validators` are assumed to be computed already by calling "run_auction" entrypoint.
        let era_index = detail::get_era_id(self)?;
        let mut seigniorage_recipients_snapshot =
            detail::get_seigniorage_recipients_snapshot(self)?;
        let seigniorage_recipients = seigniorage_recipients_snapshot
            .remove(&era_index)
            .ok_or(Error::MissingSeigniorageRecipients)?;
        Ok(seigniorage_recipients)
    }
fn read_seigniorage_recipients ( & mut self ) -> Result < SeigniorageRecipients , Error > { // `era_validators` are assumed to be computed already by calling "run_auction" entrypoint. let era_index = detail :: get_era_id ( self ) ? ; let mut seigniorage_recipients_snapshot = detail :: get_seigniorage_recipients_snapshot ( self ) ? ; let seigniorage_recipients = seigniorage_recipients_snapshot . remove ( & era_index ) . ok_or ( Error :: MissingSeigniorageRecipients ) ? ; Ok ( seigniorage_recipients ) }
Returns validators in era_validators, mapped to their bids or founding stakes, delegation
rates and lists of delegators together with their delegated quantities from delegators.
Returns validators in era_validators mapped to their bids or founding stakes delegation rates and lists of delegators together with their delegated quantities from delegators .
&mut self
&mut self