Skip to content
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

ControlProxyWallet contract #151

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from
Open

Conversation

idealatom
Copy link
Contributor

No description provided.

bytes memory data
) external payable onlyCallProxyFromControllingAddress returns (bool _result) {
if (token != address(0)) {
IERC20Upgradeable(token).safeApprove(destination, 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a bool needAprove argument?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the user needs just transfer token from his wallet he doesn't need to create approve

@Vsevo1od Vsevo1od force-pushed the feature/control-wallet branch 2 times, most recently from 88edccb to b0f8135 Compare January 26, 2022 19:03
gitbook-com bot pushed a commit that referenced this pull request Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants