Technicals
1.unfreeze
Desc: To unfreeze the function in the contract
Demo: curl -X Post http://64.227.188.73:4000/unfreeze
@param: amount;
@param: destkey;
@return: return unfreeze promise;
2.freezeDetails
Desc: To get the freezeDetails in the contract
Demo: curl -X Post http://64.227.188.73:4000/freezeDetails
@param: address;
@param: destkey;
@return: return freezeDetails Info;
3.calLgcy
Desc: To proceed the calLgcy in the contract
Demo: curl -X Post http://64.227.188.73:4000/calLgcy
@param: amount;
@param: destkey;
@return: return calLgcy promise;
4.listProposals
Desc: To get the listProposals in the contract
Demo: curl -X Get http://64.227.188.73:4000/listProposals
@param:null
@return: return List all the proposal info;
5.listGoverningBodies
Desc: To get the listGoverningBodies in the contract
Demo: curl -X Get http://64.227.188.73:4000/listSuperRepresentatives
@param:null
@return:return List all the GoverningBodies info;
6.chainparams
Desc: To get the chainparams in the contract
Demo: curl -X Get http://64.227.188.73:4000/chainparams
@param:null
@return:return List all the chainparams info;
7.applyForGB
Desc: To proceed the applyForGB in the contract
Demo: curl -X Post http://64.227.188.73:4000/applyForGB
@param: address;
@param: destkey;
@param: url;
@return:return applyForGB promise;
8.voteGB
Desc: To proceed the voteGB in the contract
Demo: curl -X Post http://64.227.188.73:4000/voteGB
@param: ownAddress;
@param: sraddress;
@return: return voteGB promise;
Copy link