-
Notifications
You must be signed in to change notification settings - Fork 1
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
Finalize poster schema #8
Comments
schema
space deliminator reason: reaction |
ModelSummon cookie jaremits: SummonCookieJar(address(_cookieJar), details, _initializer, uid);
string uid = bytes32ToString(keccak256(abi.encodePacked(address(cookieJar), chainId)));
{
"type":"Baal",
"name":"Moloch Pastries",
"description":"This is where you add some more content",
"link":"app.daohaus.club/0x64/0x0....666"
} Reach in Jaremits: GiveCookie(cookieMonster, amount, fee, cookieUid);
IPoster(POSTER_ADDR).post(_reason, tag));
string cookieUid = bytes32ToString(keccak256(abi.encodePacked(address(cookieJar), cookieMonster, _reason)));
string memory reasonTag = string.concat(POSTER_TAG, ".reason");
tag = string.concat(reasonTag, ".reason.", cookieUid))`
AssessReasonemits: if (_isGood) {
IPoster(POSTER_ADDR).post(string.concat(_uid, " UP ", senderString), tag);
} else {
IPoster(POSTER_ADDR).post(string.concat(_uid, " DOWN ", senderString), tag);
}
string memory senderString = Strings.toHexString(uint256(uint160(msg.sender)), 20);
string memory reactionTag = string.concat(POSTER_TAG, ".reaction.", _uid);
tag = string.concat(reactionTag))`
TODO
|
add a way to do reactions by people on allow list (like thumbs up and thumbs down)
The text was updated successfully, but these errors were encountered: