Structs§
- Bridge
Committee Summary - Bridge
Inner V1 - Rust version of the Move bridge::BridgeInner type.
- Bridge
Limiter Summary - Bridge
Summary - Bridge
Token Metadata - Bridge
Treasury Summary - Bridge
Wrapper - Rust version of the Move iota::bridge::Bridge type This repreents the object with 0x9 ID. In Rust, this type should be rarely used since it’s just a thin wrapper used to access the inner object. Within this module, we use it to determine the current version of the bridge inner object type, so that we could deserialize the inner object correctly.
- Move
Type Bridge Committee - Rust version of the Move committee::BridgeCommittee type.
- Move
Type Bridge Message - Rust version of the Move message::BridgeMessage type.
- Move
Type Bridge Message Key - Rust version of the Move message::BridgeMessageKey type.
- Move
Type Bridge Record - Rust version of the Move message::BridgeMessage type.
- Move
Type Bridge Route - Rust version of the Move chain_ids::BridgeRoute type.
- Move
Type Bridge Transfer Limiter - Rust version of the Move limiter::TransferLimiter type.
- Move
Type Bridge Transfer Record - Rust version of the Move limiter::TransferRecord type.
- Move
Type Bridge Treasury - Rust version of the Move treasury::BridgeTreasury type.
- Move
Type Committee Member - Rust version of the Move committee::CommitteeMember type.
- Move
Type Committee Member Registration - Rust version of the Move committee::CommitteeMemberRegistration type.
- Move
Type Parsed Token Transfer Message - Rust version of the Move message::ParsedTokenTransferMessage type.
- Move
Type Token Transfer Payload - Rust version of the Move message::TokenTransferPayload type.
Enums§
- Bridge
- Bridge provides an abstraction over multiple versions of the inner BridgeInner object. This should be the primary interface to the bridge object in Rust. We use enum dispatch to dispatch all methods defined in BridgeTrait to the actual implementation in the inner types.
- Bridge
Chain Id
Constants§
- APPROVAL_
THRESHOLD_ ADD_ TOKENS_ ON_ EVM - APPROVAL_
THRESHOLD_ ADD_ TOKENS_ ON_ IOTA - APPROVAL_
THRESHOLD_ ASSET_ PRICE_ UPDATE - APPROVAL_
THRESHOLD_ COMMITTEE_ BLOCKLIST - APPROVAL_
THRESHOLD_ EMERGENCY_ PAUSE - APPROVAL_
THRESHOLD_ EMERGENCY_ UNPAUSE - APPROVAL_
THRESHOLD_ EVM_ CONTRACT_ UPGRADE - APPROVAL_
THRESHOLD_ LIMIT_ UPDATE - APPROVAL_
THRESHOLD_ TOKEN_ TRANSFER - BRIDGE_
COMMITTEE_ MAXIMAL_ VOTING_ POWER - BRIDGE_
COMMITTEE_ MINIMAL_ VOTING_ POWER - BRIDGE_
COMMITTEE_ MODULE_ NAME - BRIDGE_
CREATE_ ADD_ TOKEN_ ON_ IOTA_ MESSAGE_ FUNCTION_ NAME - BRIDGE_
CREATE_ FUNCTION_ NAME - BRIDGE_
EXECUTE_ SYSTEM_ MESSAGE_ FUNCTION_ NAME - BRIDGE_
INIT_ COMMITTEE_ FUNCTION_ NAME - BRIDGE_
LIMITER_ MODULE_ NAME - BRIDGE_
MESSAGE_ MODULE_ NAME - BRIDGE_
MODULE_ NAME - BRIDGE_
REGISTER_ FOREIGN_ TOKEN_ FUNCTION_ NAME - BRIDGE_
SUPPORTED_ ASSET - BRIDGE_
TREASURY_ MODULE_ NAME - TOKEN_
ID_ BTC - TOKEN_
ID_ ETH - TOKEN_
ID_ IOTA - TOKEN_
ID_ USDC - TOKEN_
ID_ USDT
Traits§
- Bridge
Trait - This is the standard API that all bridge inner object type should implement.