gravio-net / graviex Goto Github PK
View Code? Open in Web Editor NEWThis project forked from hpyhacking/peatio
GRAVIEX Exchange - PUBLIC (extremely outdated)
This project forked from hpyhacking/peatio
GRAVIEX Exchange - PUBLIC (extremely outdated)
Deposit endpoint is only returning the last 3 deposits in my account
Hi Team
I have configured this exchange. I have done deposit ETH but eth balance is not showing in my funds page and Deposit history is also empty.
In admin panel I can see the ETH balance.
What is the problem Can you help me to fix.
Thanks
Hello! I am getting the following error in my installation:
There is no error pointing to the log files.
PRODUCTION.LOG
I, [2019-02-17T20:19:23.293199 #27155] INFO -- : Started GET "/funds" for 172.68.65.40 at 2019-02-17 20:19:23 -0300
I, [2019-02-17T20:19:23.324718 #27155] INFO -- : Processing by Private::FundsController#index as HTML
I, [2019-02-17T20:19:23.727470 #27155] INFO -- : Rendered private/funds/index.html.erb within layouts/funds (0.6ms)
I, [2019-02-17T20:19:23.738719 #27155] INFO -- : Rendered shared/_html5.html.slim (0.3ms)
I, [2019-02-17T20:19:23.764702 #27155] INFO -- : Rendered shared/_meta.html.slim (25.6ms)
I, [2019-02-17T20:19:23.772970 #27155] INFO -- : Rendered shared/_header_profile_setting.html.slim (5.1ms)
I, [2019-02-17T20:19:23.773660 #27155] INFO -- : Rendered shared/_header_lang_sel.html.slim (0.2ms)
I, [2019-02-17T20:19:23.773928 #27155] INFO -- : Rendered shared/_header.html.slim (8.4ms)
I, [2019-02-17T20:19:23.774412 #27155] INFO -- : Rendered shared/_footer.html.slim (0.1ms)
I, [2019-02-17T20:19:23.774802 #27155] INFO -- : Completed 200 OK in 450ms (Views: 79.9ms | ActiveRecord: 133.3ms)
I, [2019-02-17T20:19:25.287565 #27155] INFO -- : Started POST "/funds/gen_address" for 172.68.65.40 at 2019-02-17 20:19:25 -0300
I, [2019-02-17T20:19:25.289918 #27155] INFO -- : Processing by Private::FundsController#gen_address as /
I, [2019-02-17T20:19:25.320712 #27155] INFO -- : Rendered text template (0.0ms)
I, [2019-02-17T20:19:25.321180 #27155] INFO -- : Completed 200 OK in 31ms (Views: 0.7ms | ActiveRecord: 4.3ms)
A CURL command without the page parameter like this:
curl -X GET 'https://graviex.net/api/v2/orders' -D 'access_key=access_key&tonce=tonce&signature=signature'
returns the last 100 orders of my account.
If you add the page
parameter like this:
curl -X GET 'https://graviex.net/api/v2/orders' -D 'access_key=access_key&tonce=tonce&signature=signature&page=2'
it throws a 401 error.
Is there something I'm missing?
I think the withdraw form for fiat is wrong.
getting bank can't be blank
I believe because of it calling this form
in https://github.com/gravio-net/graviex/blob/master/public/templates/funds/withdraw_cny.html
this form is for crypto and not for fiat
this is the log here
I, [2020-11-07T21:37:53.686647 #125661] INFO -- : Started POST "/withdraws/banks" for 127.0.0.1 at 2020-11-07 21:37:53 -0800
I, [2020-11-07T21:37:53.698813 #125661] INFO -- : Processing by Private::Withdraws::BanksController#create as HTML
I, [2020-11-07T21:37:53.699162 #125661] INFO -- : Parameters: {"withdraw"=>{"member_id"=>1, "currency"=>"cny", "sum"=>5000, "fund_source_id"=>3, "fund_uid"=>"23983675638"}, "two_factor"=>{"type"=>"app", "otp"=>"748697"}, "bank"=>{"withdraw"=>{"member_id"=>1, "currency"=>"cny", "sum"=>5000, "fund_source_id"=>3, "fund_uid"=>"23983675638"}, "two_factor"=>{"type"=>"app", "otp"=>"748697"}}}
I, [2020-11-07T21:37:53.774046 #125661] INFO -- : [Withdraw]: last = 1514764800, current = 1604813873, diff = 90049073, sql = select created_at as result from withdraws where member_id = 1 and currency = 9 order by id desc limit 1
it's not submitting the bank
i get this erro
deploy@vultr:~/graviex/graviex-exchange$ bundle exec rake assets:precompile
rake aborted!
Grape::Exceptions::IncompatibleOptionValues: default: giobtc is incompatible with values: ["btccny", "all"]
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/grape-0.7.0/lib/grape/validations.rb:239:in `validates'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/grape-0.7.0/lib/grape/validations.rb:129:in `optional'
/home/deploy/graviex/graviex-exchange/app/api/api_v2/orders.rb:10:in `block in <class:Orders>'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/grape-0.7.0/lib/grape/validations.rb:97:in `instance_eval'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/grape-0.7.0/lib/grape/validations.rb:97:in `initialize'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/grape-0.7.0/lib/grape/validations.rb:290:in `new'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/grape-0.7.0/lib/grape/validations.rb:290:in `params'
/home/deploy/graviex/graviex-exchange/app/api/api_v2/orders.rb:8:in `<class:Orders>'
/home/deploy/graviex/graviex-exchange/app/api/api_v2/orders.rb:2:in `<module:APIv2>'
/home/deploy/graviex/graviex-exchange/app/api/api_v2/orders.rb:1:in `<top (required)>'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in `require'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in `block in require'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in `require'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:330:in `require_or_load'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:463:in `load_missing_constant'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:184:in `const_missing'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:495:in `load_missing_constant'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:184:in `const_missing'
/home/deploy/graviex/graviex-exchange/app/api/api_v2/mount.rb:32:in `<class:Mount>'
/home/deploy/graviex/graviex-exchange/app/api/api_v2/mount.rb:5:in `<module:APIv2>'
/home/deploy/graviex/graviex-exchange/app/api/api_v2/mount.rb:4:in `<top (required)>'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in `require'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in `block in require'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in `require'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:330:in `require_or_load'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:463:in `load_missing_constant'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:184:in `const_missing'
/home/deploy/graviex/graviex-exchange/config/routes.rb:132:in `block in <top (required)>'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.12/lib/action_dispatch/routing/route_set.rb:337:in `instance_exec'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.12/lib/action_dispatch/routing/route_set.rb:337:in `eval_block'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.12/lib/action_dispatch/routing/route_set.rb:315:in `draw'
/home/deploy/graviex/graviex-exchange/config/routes.rb:9:in `<top (required)>'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:223:in `load'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:223:in `block in load'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:223:in `load'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/routes_reloader.rb:40:in `each'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/routes_reloader.rb:40:in `load_paths'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/routes_reloader.rb:16:in `reload!'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/routes_reloader.rb:26:in `block in updater'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/file_update_checker.rb:75:in `call'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/file_update_checker.rb:75:in `execute'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/routes_reloader.rb:27:in `updater'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/routes_reloader.rb:6:in `execute_if_updated'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/initializable.rb:30:in `run'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application.rb:215:in `initialize!'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/deploy/graviex/graviex-exchange/config/environment.rb:5:in `<top (required)>'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in `require'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in `block in require'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in `require'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application.rb:189:in `require_environment!'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application.rb:260:in `block in run_tasks_blocks'
/home/deploy/graviex/graviex-exchange/vendor/bundle/ruby/2.2.0/gems/sprockets-rails-2.2.2/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
/home/deploy/.rbenv/versions/2.2.1/bin/bundle:23:in `load'
/home/deploy/.rbenv/versions/2.2.1/bin/bundle:23:in `<main>'
Tasks: TOP => environment
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.