FCT_Funding

FCT_Funding.sol is responsible for providing KIRO to the FCT_Actuator upon request

Interface

function askForKiro(
        Total calldata /*amount*/,
        address /*activator*/
) external payable

This function gets ETH and information about the FCT_Actuator assets and payments regarding the running FCT, tries to swap the ETH with KIRO and return both KIRO and ETH leftovers to the FCT_Actuator.

In current implementation all ETH is sent back to the FCT_Actuator and zero KIRO.

Last updated