-
Notifications
You must be signed in to change notification settings - Fork 4
Laminator data emit for solver #75
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
Conversation
src/interfaces/ILaminator.sol
Outdated
@@ -4,11 +4,24 @@ pragma solidity >=0.6.2 <0.9.0; | |||
import "../TimeTypes.sol"; | |||
|
|||
interface ILaminator { | |||
struct AdditionalData { | |||
string name; | |||
string datatype; |
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.
Making it enum will make consumption on the solver side more reliable. There can be mostly used fields, like STRING, DECIMAL, DATETIME, U256, etc. We can define minimal necessary for our PoC, then we can define more when we'll need them.
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.
Sure, makes sense!
No description provided.