Type Alias polymesh_api_tester::BridgeEvent
source · pub type BridgeEvent = BridgeEvent<AccountId, u32>;
Aliased Type§
enum BridgeEvent {
Show 17 variants
ControllerChanged(IdentityId, AccountId),
AdminChanged(IdentityId, AccountId),
TimelockChanged(IdentityId, u32),
Bridged(IdentityId, BridgeTx<AccountId>),
Frozen(IdentityId),
Unfrozen(IdentityId),
FrozenTx(IdentityId, BridgeTx<AccountId>),
UnfrozenTx(IdentityId, BridgeTx<AccountId>),
ExemptedUpdated(IdentityId, IdentityId, bool),
BridgeLimitUpdated(IdentityId, u128, u32),
TxsHandled(Vec<(AccountId, u32, HandledTxStatus)>),
BridgeTxScheduled(IdentityId, BridgeTx<AccountId>, u32),
BridgeTxScheduleFailed(IdentityId, BridgeTx<AccountId>, Vec<u8>),
FreezeAdminAdded(IdentityId, AccountId),
FreezeAdminRemoved(IdentityId, AccountId),
TxRemoved(IdentityId, BridgeTx<AccountId>),
BridgeTxFailed(IdentityId, BridgeTx<AccountId>, DispatchError),
}
Variants§
ControllerChanged(IdentityId, AccountId)
Confirmation of a signer set change.
AdminChanged(IdentityId, AccountId)
Confirmation of Admin change.
TimelockChanged(IdentityId, u32)
Confirmation of default timelock change.
Bridged(IdentityId, BridgeTx<AccountId>)
Confirmation of POLYX upgrade on Polymesh from POLY tokens on Ethereum.
Frozen(IdentityId)
Notification of freezing the bridge.
Unfrozen(IdentityId)
Notification of unfreezing the bridge.
FrozenTx(IdentityId, BridgeTx<AccountId>)
Notification of freezing a transaction.
UnfrozenTx(IdentityId, BridgeTx<AccountId>)
Notification of unfreezing a transaction.
ExemptedUpdated(IdentityId, IdentityId, bool)
Exemption status of an identity has been updated.
BridgeLimitUpdated(IdentityId, u128, u32)
Bridge limit has been updated.
TxsHandled(Vec<(AccountId, u32, HandledTxStatus)>)
An event emitted after a vector of transactions is handled. The parameter is a vector of tuples of recipient account, its nonce, and the status of the processed transaction.
BridgeTxScheduled(IdentityId, BridgeTx<AccountId>, u32)
Bridge Tx Scheduled.
BridgeTxScheduleFailed(IdentityId, BridgeTx<AccountId>, Vec<u8>)
Failed to schedule Bridge Tx.
FreezeAdminAdded(IdentityId, AccountId)
A new freeze admin has been added.
FreezeAdminRemoved(IdentityId, AccountId)
A freeze admin has been removed.
TxRemoved(IdentityId, BridgeTx<AccountId>)
Notification of removing a transaction.
BridgeTxFailed(IdentityId, BridgeTx<AccountId>, DispatchError)
Bridge Tx failed. Recipient missing CDD or limit reached.