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
Add ERC: Atomic Push-based Data Feed Among Contracts #235
base: master
Are you sure you want to change the base?
Conversation
The commit c620a87 (as a parent of 28946e3) contains errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All Reviewers Have Approved; Performing Automatic Merge...
Head branch was pushed to by a user without write access
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All Reviewers Have Approved; Performing Automatic Merge...
Head branch was pushed to by a user without write access
There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. |
``` | ||
+---------+ +-----------+ +-------------+ | ||
| Client | | Publisher | | Subscriber | | ||
+---------+ +-----------+ +-------------+ | ||
| | | | ||
| Call somefunc(...) | | | ||
|------------------------->| | | ||
| | | | ||
| | Query Subscriber | | ||
| |----------------- | | ||
| | | | | ||
| |<---------------- | | ||
| | | | ||
| | Call exec(bytes4 selector, bytes calldata data) | | ||
| |------------------------------------------------------->| | ||
| | | | ||
| | Result | | ||
| |<-------------------------------------------------------| | ||
| | | | ||
| Result | | | ||
|<-------------------------| | | ||
| | | | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great ascii art, but generally we prefer SVGs in the assets/
directory.
## Reference Implementation | ||
|
||
```solidity | ||
// SPDX-License-Identifier: MIT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code in the document itself must be licensed under CC0-1.0
. I allow MIT licensed code in the assets/
directory.
Add ERC: Smart Contract Data Push Mechanism
An Atomic Mechanism to Allow Publisher Contract Push Data to Subscriber Contracts