Questions tagged [synthetix]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

When liquidations occur on Aave or Synthetix or Compound or any other protocol, where are the liquidated assets sold?

Do they sell them on Uniswap or Binance? Does it happen automatically? If they just sell on some random Dex, how do they avoid major slippage? Where does a protocol say how it liquidates positions?
Ilan Katz's user avatar
0 votes
1 answer
87 views

Does only function involving ETH transactions need reentrancy guard?

I thought so as it may induces fallback() functions, however, I saw in Synthetix's staking contracts, they use reentrancy guard on so many functions that does not involve ETH at all? https://github....
frt132's user avatar
  • 87
1 vote
1 answer
729 views

Understanding `rewardRate` and `rewardPerToken` in Synthetix Staking contract

In the Synthetix Staking Contract or even the following simple staking contract from Smart Contract Programmer there are a few parameters that govern the rewards dispersed, namely rewardRate and ...
Patrick Collins's user avatar
0 votes
1 answer
175 views

Erc20 staking but with variable reward rate [closed]

How would I go about implementing a staking contract similar to pancakeswap farms or synthetix staking rewards but with a reward rate which can be changed in the midst of staking duration? Where users ...
Ithihas's user avatar
0 votes
0 answers
1k views

Transaction error "SafeERC20: low-level call failed'"

Hi I am trying to make a call to a smart contract function as defined below- function stake(uint256 amount) external nonReentrant notPaused updateReward(msg.sender) { require(amount > 0, "...
Subhasish Goswami's user avatar
2 votes
1 answer
98 views

How is the volume for the currency pair accounted for on chainlink's reference data feed?

https://feeds.chain.link/ - link for reference. Let's take the LINK/USD feed for example: From my understanding, the aggregation contract fetches the price of LINK in USD from the node operators who ...
Keenan Olsen's user avatar
1 vote
0 answers
221 views

What's the correct address of SNX?

That is, the address of the token used as collateral in the Synthetix ecosystem. I found two addresses: 0xC011A72400E58ecD99Ee497CF89E3775d4bd732F 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F The ...
Paul Razvan Berg's user avatar
3 votes
2 answers
56 views

Is there any stablecoin except for DAI that is stable against the dollar without actually being backed by physical dollars?

Is there any stablecoin except for DAI that is stable against the dollar without actually being backed by physical dollars? Perhaps backed by CDP or some other method? Vesa
Vesa's user avatar
  • 1,322