0

This is my rebase contract https://testnet.bscscan.com/address/0xE6A61396361935231E6BC403Fc206Fa1A99E628F#contracts. I want to set a rebase time period of 4h but I don't know how to set the supplyDelta paramter in the rebase function. Also where can we set the add and remove rate

rebase(uint256 epoch, int256 supplyDelta). Can someone explain how will I be able to achieve this?

2
  • I also want to know. I am in dire need. In rebase, what numbers do you put in write's epoch (uint256) and supplyDelta (int256)?
    – TAM
    Commented Dec 18, 2021 at 15:27
  • @mzaidi Did you write that contract?
    – Vincent
    Commented Feb 22, 2022 at 20:42

1 Answer 1

0

when I was in need to reabse the price, Then, i wrote my own rebase contract(PriceOracle) and setup a azure worker to call rebase method after specific time. becuase in at contract level you can't setup auto call after a specific time. you have to call method at require time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.