FCT_Actuator
Activates FCTs by passing the call to the FCT_Controller
- FCT_Actuator.sol handles activation calls, supporting batched activations
- FCT_ActuatorCore.sol handles configuration and management of payments
- FCT_ActuatorStorage.sol holds all actuator's state variables
function activate(
bytes calldata data,
address activator
) public override returns (uint256 activatorPaymentOrFees)
Activates the FCT by calling the FCT_Controller, then using the FCT_Tokenomics and the returned data from the activations to calculate and execute payments.
function activateBatch(
bytes[] calldata data,
address activator
) external override returns (uint256[] memory ret)
Activates many FCTs on the same native transaction
function activateForFree(
bytes calldata data,
address activator
) public override returns (uint256)
The same as "activate", without getting payments from users
function activateForFreeBatch(
bytes[] calldata data,
address activator
) external returns (uint256[] memory ret)
Activates many FCTs on the same block, without getting payments from users
function setActivationApproval(
address operator,
Approvals memory approvals
) external
Allows an operator (usually a contract) to activate on behalf of the sender
Last modified 2mo ago