Hot answers tagged

2 votes

Why are the Aave V2 supply and borrow index rate calculations done differently?

I investigated this a few month ago. Before I get into too many details, there's one important thing to consider about different cases of interest rates inside of Aave. We essentially have 2 cases for ...
Bruce's user avatar
  • 867
2 votes

Using the Freeze functionality as a user in the BNB contract

I am not sure about about BNB provides with the UI, but I can tell you the raw method. You can visit etherscan https://etherscan.io/address/0xB8c77482e45F1F44dE1745F52C74426C631bDD52#writeContract ...
Zartaj Afser's user avatar
  • 1,257
1 vote

Why is there only one USDT which PoS?

PoS refers to having been bridged via Polygon Proof of Stake bridge, alternative to Polygon Plasma bridge. This page seem to have been moved or removed, but using the way back machine we can add some ...
Maka's user avatar
  • 603
1 vote

Best practices for staking contract which redistributes variable stablecoin input (cash flow)

So one thing you should consider here, you don't want users to be able to frontrun the stablecoin deposits from the main contract. Ie. stake right before the rewards are added and unstake right after. ...
Bruce's user avatar
  • 867
1 vote
Accepted

Get multiple ETH transactions

So to use eth_getBlockReceipts with web3.js, you need to use the extend method that allows you to basically 'extend' the class and use any RPC method. Note that it only works in web3.js V1. It was ...
Dave Dev Advocate Chainstack's user avatar
1 vote

Burning tokens when it swaps in PancackeSwap

The most obvious reason for the transfers to fail on pancake swap is due to the nature of how swaps happen in erc20 tokens , whenever a swap transaction happens we send token amount as a value to swap ...
Mr Beast's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible