Entangle Router
This page contains a list of relevant ERC-20 Token Addresses.
Functions
Allows purchasing CDT tokens using SID and LP amount.
Transfers LP tokens from user to contract balance.
Initiates deposit to corresponding farm.
Approval of appropriate LP token expected on EntangleDex contract
Sells Synth token, returns LP tokens from the farm, and transfers LP tokens to the recipient.
Sells Synth token, unwraps LP tokens and returns underlying tokens to the recipient.
View Functions
Returns the amount of Synth tokens equivalent to the provided LP amount.
Returns the amount of LP tokens equivalent to the provided Synth amount.
State
mapping stores technical states of SIDs.
struct contains information like whether the SID is paused.
isPausedSid - if this setting is set to true - it means that we have suspended work on this SID, for example, due to a protocol hack of the corresponding LP token.
Last updated