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 ...
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
...
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 ...
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.
...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tokens × 2410solidity × 772
erc-20 × 671
contract-development × 377
ether × 194
contract-design × 168
web3js × 149
remix × 143
transactions × 139
go-ethereum × 131
nft × 131
blockchain × 126
ico × 106
erc-721 × 102
etherscan × 88
contract-deployment × 81
crowdsale × 81
wallets × 66
smart-contract-wallets × 65
metamask × 63
uniswap × 61
ethereum-wallet-dapp × 58
gas × 52
exchanges × 51
myetherwallet × 46