pub fn empty(validator_public_key: PublicKey, bonding_purse: URef) -> Self {
        let vesting_schedule = None;
        let delegators = BTreeMap::new();
        let inactive = true;
        let staked_amount = 0.into();
        let delegation_rate = Default::default();
        Self {
            validator_public_key,
            bonding_purse,
            staked_amount,
            delegation_rate,
            vesting_schedule,
            delegators,
            inactive,
        }
    }
/// Creates a new inactive instance of a bid with 0 staked amount.
Creates a new inactive instance of a bid with 0 staked amount.
Creates a new inactive instance of a bid with 0 staked amount .
pub fn empty(validator_public_key: PublicKey, bonding_purse: URef) -> Self {
        let vesting_schedule = None;
        let delegators = BTreeMap::new();
        let inactive = true;
        let staked_amount = 0.into();
        let delegation_rate = Default::default();
        Self {
            validator_public_key,
            bonding_purse,
            staked_amount,
            delegation_rate,
            vesting_schedule,
            delegators,
            inactive,
        }
    }
pub fn empty ( validator_public_key : PublicKey , bonding_purse : URef ) -> Self { let vesting_schedule = None ; let delegators = BTreeMap :: new ( ) ; let inactive = true ; let staked_amount = 0 . into ( ) ; let delegation_rate = Default :: default ( ) ; Self { validator_public_key , bonding_purse , staked_amount , delegation_rate , vesting_schedule , delegators , inactive , } }
Creates a new inactive instance of a bid with 0 staked amount.
Creates a new inactive instance of a bid with 0 staked amount .
validator_public_key
PublicKey
bonding_purse
URef
validator_public_key
PublicKey
bonding_purse
URef