菜鸟读代码(-)BTS的操作类型

Started by BTSdac, April 24, 2015, 04:22:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


callmeluc

BTS_自扯自淡


wuxuqiang

我是"比特股中文网"站长:吴序强  欢迎光临我们大家的网站:http://www.BtsABC.org   比特股网页钱包(帝国版):[url="https://bit.btsabc.org"]https://bit.btsabc.org[/url]

ebit

telegram:ebit521
[url="https://weibo.com/ebiter"]https://weibo.com/ebiter[/url]

BTSdac

BTS的操作类型有一个枚举类型定义,提供了丰富的操作类型。
null_op_type              无操作(默认值)
withdraw_op_type     取操作
deposit_op_type       存操作
register_account_op_type   注册账号操作
update_account_op_type    更新账号操作
withdraw_pay_op_type       取回代表工资操作
create_asset_op_type        创建资产操作
update_asset_op_type       更新资产操作
issue_asset_op_type         签发资产操作
create_asset_prop_op_type  (暂不知)
reserved_op_2_type
bid_op_typ                         买操作
ask_op_type                      卖操作
short_op_type                   买空BTA
short_op_V2_type            买空BTA  version2
cover_op_type                  平仓
add_collateral_op_type    增加抵押
define_slate_op_type       定义名单(推荐代表) 
update_feed_op_typ        更新喂价
burn_op_type                  烧币
release_escrow_op_typ  发布担保
update_balance_vote_op_type  更新投票
。。。。。。

如果要完成转账操作的话,只不要存和取两个操作就行了   
[url="//github.com"]github.com[/url] :pureland
BTS2.0 API :[url="ws://139.196.37.179:8091"]ws://139.196.37.179:8091[/url]
BTS2.0 API 数据源ws:[url="//139.196.37.179:8091"]//139.196.37.179:8091[/url]