hopli::methods

Function get_safe_transaction_hash

Source
fn get_safe_transaction_hash(
    to: Address,
    value: U256,
    data: Vec<u8>,
    operation: SafeTxOperation,
    refund_address: Address,
    nonce: U256,
    domain_separator: [u8; 32],
) -> [u8; 32]
Expand description

Implement getTransactionHash() function as in vendor/solidity/safe-contracts-1.4.1/contracts/Safe.sol Note that safeTxGas, baseGas, and gasPrice are zero; gasToken is also address zero