m04120310 / omnicore Goto Github PK
View Code? Open in Web Editor NEWThis project forked from omnilayer/omnicore
OmniCore staging tree
Home Page: http://www.omnilayer.org/
License: MIT License
This project forked from omnilayer/omnicore
OmniCore staging tree
Home Page: http://www.omnilayer.org/
License: MIT License
get currently ApproveThreshold
e.g.
omnicli "omni_sendissuancemanaged" "mjZe4haCrjUcDHdGuX5kBn6sNhv65QTTRc" 2
1 0 "" "" NTU_managed_20160527 "" ""
Output:
RPCConvertValues strMethod:omni_sendissuancemanaged
strParams: mjZe4haCrjUcDHdGuX5kBn6sNhv65QTTRc
method: omni_sendissuancemanaged
strParams: 2
method: omni_sendissuancemanaged
strParams: 1
method: omni_sendissuancemanaged
strParams: 0
method: omni_sendissuancemanaged
strParams:
method: omni_sendissuancemanaged
strParams:
method: omni_sendissuancemanaged
strParams: NTU_managed_20160527
method: omni_sendissuancemanaged
strParams:
method: omni_sendissuancemanaged
strParams:
method: omni_sendissuancemanaged
2af724483503d4bdd3f73bedc0d7e93bed3319d6c028e8cf4bb53548b30ac9c9
在想 governanceDO 用當初 Mastercoin crowdsale 的方式發起,但還研究 Mastercoin 怎麼實作
License can only be granted after approved
Vote現在沒有記錄有沒有重複投票,也就是一個alliance投兩次好像也不會被發現
在想一些應用實境之前,得先:
以下請腦補的一些可能要測的應用實境:
申請成為新的alliance(成功、失敗)
申請新的license(成功、失敗)
mint token
approve_threshold: the threshold for the license to be approved(need store on the Blockchain). default number of 2/3 alliances
approve_time: approve votes the license received, start with 0
名字亂取的,可以再想
包括實做bitcion tx 和 DB記錄bitcoin tx
ERROR on the console:
2016-05-27 07:51:25 Malformed value in DB
1�.是否approved
2. money application
property id:
Can assign property id by using RPC
Interpret the property id and save to CMPTransaction.property
vote:
approve or reject
範例:
omnicli gcoin_vote_for_license "mjZe4haCrjUcDHdGuX5kBn6sNhv65QTTRc" 2147483651 "approve"
RPCConvertValues strMethod:gcoin_vote_for_license
Result:
strParams: mjZe4haCrjUcDHdGuX5kBn6sNhv65QTTRc
method: gcoin_vote_for_license
strParams: 2147483651
method: gcoin_vote_for_license
strParams: approve
method: gcoin_vote_for_license
error: {"code":-8,"message":"Property identifier is out of range"}
要多加上SENDER
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.