Type Alias gsdk::GearGasNode
source · pub type GearGasNode = GasNode<AccountId32, GearGasNodeId, u64, u128>;
Expand description
Gear gas node.
Aliased Type§
enum GearGasNode {
External {
id: AccountId32,
multiplier: GasMultiplier<u128, u64>,
value: u64,
lock: NodeLock<u64>,
system_reserve: u64,
refs: ChildrenRefs,
consumed: bool,
deposit: bool,
},
Cut {
id: AccountId32,
multiplier: GasMultiplier<u128, u64>,
value: u64,
lock: NodeLock<u64>,
},
Reserved {
id: AccountId32,
multiplier: GasMultiplier<u128, u64>,
value: u64,
lock: NodeLock<u64>,
refs: ChildrenRefs,
consumed: bool,
},
SpecifiedLocal {
parent: GasNodeId<MessageId, ReservationId>,
root: GasNodeId<MessageId, ReservationId>,
value: u64,
lock: NodeLock<u64>,
system_reserve: u64,
refs: ChildrenRefs,
consumed: bool,
},
UnspecifiedLocal {
parent: GasNodeId<MessageId, ReservationId>,
root: GasNodeId<MessageId, ReservationId>,
lock: NodeLock<u64>,
system_reserve: u64,
},
}
Variants§
External
Cut
Reserved
SpecifiedLocal
Fields
§
refs: ChildrenRefs