🛠️Chainlink Price

Trigger contract that verifies if the current price of the chosen token on the ChainLink oracle is higher or lower than the one the user subscribed to be threshold price.

Subscription Parameters:

  • address tokenAddr- address of the token.

  • uint256 price- price in USD of the token, represents the threshold point.

  • uint8 state - if we want the trigger to be triggered when the current price goes above the threshold price or below it.

Calldata Parameters: none

isChangeable: false

Last updated