Skip to content

Implement API for Contracts to Initiate Outgoing Transactions #94

@SIDDHANTCOOKIE

Description

@SIDDHANTCOOKIE

@Zahnentferner Currently, contracts can update their own storage and receive native coins via msg['value'], but they cannot initiate an outgoing transfer of native coins to another address (e.g., a DEX sending coins back to a user after a swap). We need to discuss how to expose a transfer_out(address, amount) built-in to the sandbox, and how the state.py machine will intercept and validate those internal transfers against the contract's actual balance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions