Intents
Everclear supports the direct integration of solver networks and makes no assumptions about signaling, discovery, matching, or execution of the intent.
Lifecycle
Creation
/**
* @param fee The fee being charged on the inputAsset
* @param deadline The deadline timestamp after which the sig is no longer valid
* @param sig The signed payload from the fee signer for the intent
*/
struct FeeParams {
uint256 fee;
uint256 deadline;
bytes sig;
}
/**
* @notice Creates a new intent
* @param _destinations The destination chains of the intent
* @param _to The destinantion address of the intent
* @param _inputAsset The asset address on origin
* @param _outputAsset The asset address on destination
* @param _amount The amount of the asset
* @param maxFee The maximum fee that can be taken by solvers
* @param ttl The time to live of the intent
* @param _data The data of the intent
* @param _feeParams The fee parameters
* @return _intentId The ID of the intent
* @return _intent The intent object
*/
function newIntent(
uint32[] memory _destinations,
address _to,
address _inputAsset,
address _outputAsset,
uint256 _amount,
uint24 _maxFee,
uint48 _ttl,
bytes calldata _data,
IFeeAdapter.FeeParams calldata _feeParams
) external whenNotPaused returns (bytes32 _intentId, Intent memory _intent) {Intent Queue Dispatch
Intent Fulfillment
Fill Queue Dispatch
Settlement Queue Dispatch
Settlement Processing
How can I reduce my settlement latency?
Settlement Queue Methods
Last updated

