Skip to main content

encode_setup_call

Function encode_setup_call 

Source
pub fn encode_setup_call(
    owners: &[Address],
    threshold: u64,
    fallback_handler: Address,
) -> Bytes
Expand description

Encodes the Safe.setup() call for proxy initialization

§Arguments

  • owners - Array of owner addresses for the Safe
  • threshold - Number of required confirmations for transactions
  • fallback_handler - Address of the fallback handler contract

§Returns

ABI-encoded setup call data