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

Contracts pallet notes #1149

Closed
Centril opened this issue Oct 25, 2021 · 1 comment
Closed

Contracts pallet notes #1149

Centril opened this issue Oct 25, 2021 · 1 comment

Comments

@Centril
Copy link
Contributor

Centril commented Oct 25, 2021

Dumping some discussion notes for new contracts pallet here.

@Neopallium
Copy link
Contributor

I like the idea of the caller paying for contract storage (with a refund if their call decreases storage usage).

One of the cons is that a contract can't use other financing options. But we could possibly allow a contract to refund or subsidize the transaction cost. The caller would still need to have enough POLYX to cover the transaction cost, since the contract has to run before it can decide if it is willing to pay for the cost.

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

No branches or pull requests

2 participants