Skip to content

Add .convert functionality to ManagerAccessMixin #2704

@fubuloubu

Description

@fubuloubu

ideas (outside PR): make this operation and alike more convenient in ConversionManager and ManagerAccessMixin, e.g.:

self.convert(safe_tx_kwargs.get("safeTxGas", 0), int)
self.convert.to_address(safe_tx_kwargs.get("refundReceiver"))  # Where None is also ZERO_ADDRESS

Originally posted by @antazoey in ApeWorX/ape-safe#90 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions