#[non_exhaustive]pub enum ActivateOutcomeDeployer {
Activate(Venue),
Deactivate,
}Expand description
activateOutcomeDeployer, which only the account’s own key may sign, never an agent. Activating claims the
venue name for good and stakes HYPE for at least 183 days; deactivating needs those days behind it and no
live outcomes, and cannot be undone.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Activate(Venue)
{"activate":{"venueName"}}.
Deactivate
{"deactivate":null}: the key is sent, with nil.
Trait Implementations§
Source§impl Clone for ActivateOutcomeDeployer
impl Clone for ActivateOutcomeDeployer
Source§impl Debug for ActivateOutcomeDeployer
impl Debug for ActivateOutcomeDeployer
impl Eq for ActivateOutcomeDeployer
Source§impl L1Action for ActivateOutcomeDeployer
impl L1Action for ActivateOutcomeDeployer
Source§fn action(&self) -> Map
fn action(&self) -> Map
The action’s keys and values in wire order, which is the hashed order.
Source§fn msgpack(&self) -> Vec<u8> ⓘ
fn msgpack(&self) -> Vec<u8> ⓘ
The action as msgpack bytes, the first part of the connection id’s hash.
Source§fn typed(
&self,
nonce: u64,
vault: Option<Address>,
network: Network,
) -> TypedStruct<'static>
fn typed( &self, nonce: u64, vault: Option<Address>, network: Network, ) -> TypedStruct<'static>
The phantom agent struct the key signs for this action.
Source§fn digest(
&self,
nonce: u64,
vault: Option<Address>,
network: Network,
) -> [u8; 32]
fn digest( &self, nonce: u64, vault: Option<Address>, network: Network, ) -> [u8; 32]
What the key signs for this action: the phantom agent’s digest under
Domain::EXCHANGE.Source§impl PartialEq for ActivateOutcomeDeployer
impl PartialEq for ActivateOutcomeDeployer
impl StructuralPartialEq for ActivateOutcomeDeployer
Auto Trait Implementations§
impl Forget for ActivateOutcomeDeployer
impl Freeze for ActivateOutcomeDeployer
impl Move for ActivateOutcomeDeployer
impl RefUnwindSafe for ActivateOutcomeDeployer
impl Send for ActivateOutcomeDeployer
impl Sync for ActivateOutcomeDeployer
impl Unpin for ActivateOutcomeDeployer
impl UnsafeUnpin for ActivateOutcomeDeployer
impl UnwindSafe for ActivateOutcomeDeployer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.