Trait iota_types::bridge::BridgeTrait
source · pub trait BridgeTrait {
// Required methods
fn bridge_version(&self) -> u64;
fn message_version(&self) -> u8;
fn chain_id(&self) -> u8;
fn sequence_nums(&self) -> &VecMap<u8, u64>;
fn committee(&self) -> &MoveTypeBridgeCommittee;
fn treasury(&self) -> &MoveTypeBridgeTreasury;
fn bridge_records(&self) -> &LinkedTable<MoveTypeBridgeMessageKey>;
fn frozen(&self) -> bool;
fn try_into_bridge_summary(self) -> IotaResult<BridgeSummary>;
}
Expand description
This is the standard API that all bridge inner object type should implement.