hopli::methods

Function debug_node_safe_module_setup_main

Source
pub async fn debug_node_safe_module_setup_main<M: Middleware>(
    hopr_token: HoprToken<M>,
    module_address: &H160,
    node_address: &H160,
    safe_address: &H160,
    channel_address: &H160,
    announce_address: &H160,
) -> Result<(), MulticallError<M>>
Expand description

Quick check if the following values are correct, for one single node: 4. If Safe is owned by the correct owner(s) 5. Safe’s wxHOPR balance and allowance 6. if the module is enabled 7. if node is included in the module 8. Get all the targets of the safe (then check if channel and announcement are there) 9. Get the owner of the module