Helper module used for MSafe creation and registration.
public entry fun init_wallet_creation(
s: &signer,
owners: vector<address>,
threshold: u8,
init_balance: u64,
payload: vector<u8>,
signature: vector<u8>,
) acquires PendingMultiSigCreations, MultiSigCreationEvent
public entry fun submit_signature(
msafe_address: address,
pk_index: u64,
signature: vector<u8>,
) acquires PendingMultiSigCreations, MultiSigCreationEvent
public entry fun clean_expired_creation(
msafe_addresses: vector<address>
) acquires PendingMultiSigCreations
Main module for storing MSafe transaction payload and signatures.
public entry fun register(
msafe: &signer,
metadata: vector<u8>
)
public entry fun init_transaction(
msafe_address: address,
pk_index: u64,
payload: vector<u8>,
signature: vector<u8>,
) acquires Momentum, MomentumSafeEvent
public entry fun submit_signature(
msafe_address: address,
pk_index: u64,
tx_hash: vector<u8>,
signature: vector<u8>
) acquires Momentum, MomentumSafeEvent
public entry fun do_nothing()
Store MSafe addresses owned by an address.
public entry fun register(
s: &signer,
public_key: vector<u8>,
)