-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change of owner of the dividend contract #8096
Comments
Hmmmm |
The source code of the contract `// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; import "./ERC20.sol"; /// @title Dividend-Paying Token // With uint256 internal magnifiedDividendPerShare; // About dividendCorrection: uint256 public totalDividendsDistributed; constructor(string memory _name, string memory _symbol) public ERC20(_name, _symbol) { } /// @dev Distributes dividends whenever ether is paid to this contract. /// @notice Distributes ether to token holders as dividends.
} /// @notice Withdraws the ether distributed to the sender. /// @notice Withdraws the ether distributed to the sender.
} /// @notice View the amount of dividend in wei that an address can withdraw. /// @notice View the amount of dividend in wei that an address can withdraw. /// @notice View the amount of dividend in wei that an address has withdrawn. /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev Internal function that transfer tokens from one address to another.
} /// @dev Internal function that mints tokens to an account.
} /// @dev Internal function that burns an amount of the token of a given account.
} function _setBalance(address account, uint256 newBalance) internal {
} |
@Coretaker101 my client removed the dividend contract from within the functions of the owner contract, the contro owner still remains the owner, but we are not able to withdraw the funds in bnb from this dividend contract to be able to send it to another contract |
This is not the correct place to discuss this. It is unlikely that your client's funds are recoverable. |
@Pandapip1 ok thx, sorry for this |
I was just looking for help from people more experienced than me, I don't want to steal the funds from the contract, my client owns the company that holds this contract, but he made a mistake when exchanging contracts, invalidating the dividend contract |
Pull Request
No response
What happened?
I have a client who forked this dividend contract, but he did something that prevents him from changing the owner of this contract. I would like to know if you could help me change the owner of the dividend contract. My client has 560 BNBs stuck in the contract and he needs to redeem it, as the contract will be exchanged for another
Relevant log output
No response
The text was updated successfully, but these errors were encountered: