@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.
@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.