pub struct ConvertToMultiSigUser {
pub signature_chain_id: u64,
pub hyperliquid_chain: String,
pub signers: Vec<MultiSigSigner>,
pub threshold: u32,
pub nonce: u64,
}Expand description
Convert account to multi-sig user
Fields§
§signature_chain_id: u64§hyperliquid_chain: String§signers: Vec<MultiSigSigner>Sorted list of authorized user addresses
threshold: u32Required number of signatures
nonce: u64Trait Implementations§
Source§impl Clone for ConvertToMultiSigUser
impl Clone for ConvertToMultiSigUser
Source§fn clone(&self) -> ConvertToMultiSigUser
fn clone(&self) -> ConvertToMultiSigUser
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConvertToMultiSigUser
impl Debug for ConvertToMultiSigUser
Source§impl HyperliquidAction for ConvertToMultiSigUser
impl HyperliquidAction for ConvertToMultiSigUser
Source§const TYPE_STRING: &'static str = "ConvertToMultiSigUser(string hyperliquidChain,address[] authorizedUsers,uint32 threshold,uint64 nonce)"
const TYPE_STRING: &'static str = "ConvertToMultiSigUser(string hyperliquidChain,address[] authorizedUsers,uint32 threshold,uint64 nonce)"
The EIP-712 type string (without HyperliquidTransaction: prefix)
Source§const USE_PREFIX: bool = true
const USE_PREFIX: bool = true
Whether this uses the HyperliquidTransaction: prefix
Source§fn chain_id(&self) -> Option<u64>
fn chain_id(&self) -> Option<u64>
Get chain ID for domain construction
Override this method for actions with signature_chain_id
Source§fn encode_data(&self) -> Vec<u8> ⓘ
fn encode_data(&self) -> Vec<u8> ⓘ
Encode the struct data according to EIP-712 rules
Default implementation - should be overridden for proper field ordering
Source§fn domain(&self) -> Eip712Domain
fn domain(&self) -> Eip712Domain
Get the EIP-712 domain for this action
fn type_hash() -> B256
fn struct_hash(&self) -> B256
fn eip712_signing_hash(&self, domain: &Eip712Domain) -> B256
Auto Trait Implementations§
impl Freeze for ConvertToMultiSigUser
impl RefUnwindSafe for ConvertToMultiSigUser
impl Send for ConvertToMultiSigUser
impl Sync for ConvertToMultiSigUser
impl Unpin for ConvertToMultiSigUser
impl UnwindSafe for ConvertToMultiSigUser
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more