Skip to content

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