Skip to content

Paymaster exploration #65

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

ilikesymmetry
Copy link
Contributor

No description provided.

@ilikesymmetry ilikesymmetry changed the title Paymaster implementation Paymaster exploration Jan 22, 2025

// pull tokens from account
_expectedReceiveAmount = value;
_execute({account: spendPermission.account, target: address(this), value: value, data: hex""});
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Needs to access storage on root account to validate permission manager is an owner to authenticate this call, which can only be allowed if the paymaster is staked via STO-033. However, this means that any account can damage the paymaster's reputation by creating malicious accounts that revert unexpectedly post-simulation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant