canfoundation / cif-js Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
from src/utils/inputBuilder:
147: issue_approval_type: ApprovalType.SOLE_APPROVAL,
...
192: issue_approval_type: ApprovalType.SOLE_APPROVAL,
...
202: issue_vote_duration: 0,
203: issue_pass_rule: 0,
/cc @duyphanz
/cc @danielAlvess
Solution:
You may want to check this unit test to work with Uint8Array.
There are changes of governance contract need to update:
badgeId
in createbadge
actionrefererenceId
index of code table static_cast<uint128_t>(type) | static_cast<uint128_t>(reference_id) << 64
v1.
prefixRef https://github.com/canfoundation/governance-design/releases
/cc @ntpdung @phanduy12214 @thienlinh
There will be a new community code added to GOD. And we have to update the cif-js as well.
/cc @phanduy12214 @ntpdung please handle the issue. For more information, please contact @danielAlvess
Code has been updated a lot but document has not updated accordingly.
This library should use https://github.com/EOSIO/eosjs/blob/849c03992e6ce3cb4b6a11bf18ab17b62136e5c9/src/eosjs-api-interfaces.ts#L60 to customize the feature of sign transaction by CANpass.
/cc @manh-vv
Build function that accept multiple proposal names and so that user don't need to sign transaction many time.
/cc @linhlecle
Currently, when verify msig proposal, we assume that proposal has only one action is createbadge
or issuebadge
. For now, It not correct, proposal may has freecpunet
action.
There are the case that code execution type is both (collective and sole decision), we have not handled it in the function execcode
. This issue is created for handle this case!.
/cc @ntpdung @phanduy12214
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.