Skip to content

Commit

Permalink
roll back
Browse files Browse the repository at this point in the history
  • Loading branch information
b1acksun committed Jan 25, 2018
1 parent 6b8423b commit 4167a41
Show file tree
Hide file tree
Showing 12 changed files with 186 additions and 1,043 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ dist/golos-tests.min.js*
lib
dist
.env.*
package-lock.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "golos-js",
"version": "0.5.29",
"version": "0.5.30",
"description": "Golos.js the JavaScript API for Golos blockchain",
"main": "lib/index.js",
"scripts": {
Expand Down
176 changes: 19 additions & 157 deletions src/api/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,13 @@ module.exports = [
},
{
"api": "database_api",
"method": "get_reward_fund",
"params": ["name"]
},
{
"api": "database_api",
"method": "get_name_cost",
"params": ["name"]
"method": "get_accounts",
"params": ["names"]
},
{
"api": "database_api",
"method": "get_accounts",
"params": ["names"]
"method": "get_account_references",
"params": ["accountId"]
},
{
"api": "database_api",
Expand All @@ -128,11 +123,6 @@ module.exports = [
"method": "lookup_accounts",
"params": ["lowerBoundName", "limit"]
},
{
"api": "database_api",
"method": "get_account_balances",
"params": ["name", "assets"]
},
{
"api": "database_api",
"method": "get_account_count"
Expand Down Expand Up @@ -174,18 +164,13 @@ module.exports = [
},
{
"api": "database_api",
"method": "get_vesting_delegations",
"params": ["account", "from", "limit"]
},
{
"api": "database_api",
"method": "get_delegated_vestings",
"params": ["account", "limit"]
"method": "get_order_book",
"params": ["limit"]
},
{
"api": "database_api",
"method": "get_expiring_vesting_delegations",
"params": ["account", "from", "limit"]
"method": "get_open_orders",
"params": ["owner"]
},
{
"api": "database_api",
Expand Down Expand Up @@ -221,31 +206,6 @@ module.exports = [
"api": "database_api",
"method": "get_witness_count"
},
{
"api": "database_api",
"method": "get_assets",
"params": ["assetSymbols"]
},
{
"api": "database_api",
"method": "get_assets_by_issuer",
"params": ["issuer"]
},
{
"api": "database_api",
"method": "get_assets_dynamic_data",
"params": ["assetSymbols"]
},
{
"api": "database_api",
"method": "get_bitassets_data",
"params": ["assetSymbols"]
},
{
"api": "database_api",
"method": "list_assets",
"params": ["lowerBoundSymbol", "limit"]
},
{
"api": "database_api",
"method": "get_transaction_hex",
Expand Down Expand Up @@ -326,16 +286,6 @@ module.exports = [
"method": "get_discussions_by_payout",
"params": ["query"]
},
{
"api": "database_api",
"method": "get_post_discussions_by_payout",
"params": ["query"]
},
{
"api": "database_api",
"method": "get_comment_discussions_by_payout",
"params": ["query"]
},
{
"api": "database_api",
"method": "get_discussions_by_votes",
Expand Down Expand Up @@ -383,8 +333,8 @@ module.exports = [
},
{
"api": "database_api",
"method": "get_proposed_transactions",
"params": ["accountName"]
"method": "get_liquidity_queue",
"params": ["startAccount", "limit"]
},
{
"api": "account_by_key_api",
Expand Down Expand Up @@ -480,128 +430,40 @@ module.exports = [
"method": "set_max_block_age",
"params": ["maxBlockAge"]
},
{
"api": "market_history_api",
"method": "cancel_all_subscriptions"
},
{
"api": "market_history_api",
"method": "subscribe_to_market",
"params": ["cb", "firstAssetName", "secondAssetName"]
},
{
"api": "market_history_api",
"method": "unsubscribe_from_market",
"params": ["firstAssetName", "secondAssetName"]
},
{
"api": "market_history_api",
"method": "get_limit_orders_by_owner",
"params": ["owner"]
},
{
"api": "market_history_api",
"method": "get_call_orders_by_owner",
"params": ["owner"]
},
{
"api": "market_history_api",
"method": "get_settle_orders_by_owner",
"params": ["owner"]
},
{
"api": "market_history_api",
"method": "get_ticker",
"params": ["base", "quote"]
"params": []
},
{
"api": "market_history_api",
"method": "get_volume",
"params": ["base", "quote"]
"params": []
},
{
"api": "market_history_api",
"method": "get_order_book",
"params": ["base", "quote", "limit"]
"method_name": "getMarketOrderBook",
"params": ["limit"]
},
{
"api": "market_history_api",
"method": "get_trade_history",
"params": ["base", "quote", "start", "stop", "limit"]
"params": ["start", "end", "limit"]
},
{
"api": "market_history_api",
"method": "get_fill_order_history",
"params": ["base", "quote", "limit"]
"method": "get_recent_trades",
"params": ["limit"]
},
{
"api": "market_history_api",
"method": "get_market_history",
"params": ["base", "quote", "bucket_seconds" , "start", "end"]
},
{
"api": "market_history_api",
"method": "get_market_history_buckets"
},
{
"api": "market_history_api",
"method": "get_limit_orders",
"params": ["assetNameBeingSold", "assetNameBeingPurchased", "limit"]
},
{
"api": "market_history_api",
"method": "get_call_orders",
"params": ["assetNameBeingCalled", "limit"]
"params": ["bucket_seconds" , "start", "end"]
},
{
"api": "market_history_api",
"method": "get_settle_orders",
"params": ["assetNameBeingSettled", "limit"]
},
{
"api": "market_history_api",
"method": "get_collateral_bids",
"params": ["assetName", "limit", "start"]
},
{
"api": "market_history_api",
"method": "get_margin_positions",
"params": ["account"]
},
{
"api": "market_history_api",
"method": "get_liquidity_queue",
"params": ["startAccount", "limit"]
},
// Deprecated
{
"api": "database_api",
"method": "get_order_book",
"method_name": "getOrderBook_16",
"params": ["limit"]
},
{
"api": "database_api",
"method": "get_open_orders",
"method_name": "getOpenOrders_16",
"params": ["owner"]
},
{
"api": "market_history_api",
"method": "get_ticker",
"method_name": "getTicker_16",
"method": "get_market_history_buckets",
"params": []
},
{
"api": "market_history_api",
"method": "get_trade_history",
"method_name": "getTradeHistory_16",
"params": ["start", "end", "limit"]
},
{
"api": "market_history_api",
"method": "get_recent_trades",
"method_name": "getRecentTrades_16",
"params": ["limit"]
}
];
Loading

0 comments on commit 4167a41

Please sign in to comment.