My contract creates a secondary dividend contract. I would like to know how I can verify this contract in BSCSCAN and be able to control it. My goal is to implement functions in the dividend contract and be able to interact with it normally.

I didn't find relevant information on google. If you can indicate I will be grateful.



Code: https://ethereum.stackexchange.com/questions/115507/check-on-bscscan-and-control-the-dividend-contract-created-by-the-token-contract

Dec 24, 2021, 11:07 PM
Verify it separately
Smart contracts aren’t autonomous Ie they can’t run themsleves they need to run in response to something
Dec 25, 2021, 3:08 AM
How do I do that? Should I only enter the dividend contract code in the bscscan check?
Do you know any article or material on the subject? I didn't find anything on the internet
Dec 25, 2021, 3:14 AM
Ah good question I don’t know actually, I’ve only ever done it via command line tooling
Dec 25, 2021, 3:16 AM
About this procedure you have done, can you inform me of an article or information on the Internet,
Dec 25, 2021, 3:20 AM
Hmmm..I use hardhat and the etherscan plugin, not sure of any article ubfortunately. I just look at the help output of the plug-in, it’s pretty intuitive.
Dec 25, 2021, 3:26 AM
Ok. I will try
I'm going to try to check the contract and insert some functions to control bnb movements in this dividend contract
Dec 25, 2021, 3:28 AM
If you find your deployed dividend tracker contract, you probably can manually verify via bscscan too.
Dec 25, 2021, 3:28 AM
Sure, tomorrow I will try
Dec 25, 2021, 3:28 AM
hey bro, did you get to verify your contract?
Dec 25, 2021, 9:28 AM
Does anyone know if that's the way the Wonderland contract works? E.g there is a external trigger command to run the rebase function?
Dec 25, 2021, 10:23 AM
Rebase tokens that I’ve seen require manual rebase Ie someone to send tx to trigger rebase
Don’t just enter the token name, lots of scams
Dec 25, 2021, 5:16 PM
Thanks mate, so an external system will monitor the epoch and publish the remaining time to the website and then trigger the rebase?
Dec 25, 2021, 7:22 PM
Based on what I’ve seen from previous rebase tokens, yes. But there could be different implementations. But regardless of the type of token or smart contract, they need to be triggered by sometijng off chain. Either a user or another contravt needs to send a transaction
Dec 25, 2021, 7:23 PM
👍 makes sense, thanks
Dec 25, 2021, 7:27 PM
Yes. By analyzing and insisting on this I managed to solve all the problems related to it.
Thanks
Jan 17, 2022, 12:50 AM

© 2024 Draquery.com All rights reserved.