2022-05-29 14:03:17 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2022-06-05 18:36:57 +00:00
|
|
|
|
|
|
|
# Pages URLs
|
|
|
|
# Everyone can use these
|
|
|
|
path('', views.index, name='index'),
|
2022-05-29 14:03:17 +00:00
|
|
|
path('pricelog/', views.pricelog, name='pricelog'),
|
|
|
|
path('movingaverage/', views.movingaverage, name='movingaverage'),
|
|
|
|
path('pricelin/', views.pricelin, name='pricelin'),
|
|
|
|
path('powerlaw/', views.powerlaw, name='powerlaw'),
|
|
|
|
path('fractal/', views.fractal, name='fractal'),
|
|
|
|
path('golden/', views.golden, name='golden'),
|
|
|
|
path('competitors/', views.competitors, name='competitors'),
|
2022-06-13 01:28:59 +00:00
|
|
|
path('competitorslin/', views.competitorslin, name='competitorslin'),
|
2022-05-29 14:03:17 +00:00
|
|
|
path('competitorssats/', views.competitorssats, name='competitorssats'),
|
|
|
|
path('competitorssatslin/', views.competitorssatslin, name='competitorssatslin'),
|
|
|
|
path('translin/', views.translin, name='translin'),
|
|
|
|
path('translog/', views.translog, name='translog'),
|
|
|
|
path('metcalfesats/', views.metcalfesats, name='metcalfesats'),
|
|
|
|
path('metcalfeusd/', views.metcalfeusd, name='metcalfeusd'),
|
2022-06-09 19:23:30 +00:00
|
|
|
path('inflation/', views.inflation, name='inflation'),
|
2022-05-29 14:03:17 +00:00
|
|
|
path('coins/', views.coins, name='coins'),
|
|
|
|
path('extracoins/', views.extracoins, name='extracoins'),
|
|
|
|
path('sfmodel/', views.sfmodel, name='sfmodel'),
|
|
|
|
path('sfmodellin/', views.sfmodellin, name='sfmodellin'),
|
|
|
|
path('sfmultiple/', views.sfmultiple, name='sfmultiple'),
|
|
|
|
path('about/', views.about, name='about'),
|
2022-06-09 19:23:30 +00:00
|
|
|
path('compinflation/', views.compinflation, name='compinflation'),
|
2022-05-29 14:03:17 +00:00
|
|
|
path('bitcoin/', views.bitcoin, name='bitcoin'),
|
|
|
|
path('thermocap/', views.thermocap, name='thermocap'),
|
|
|
|
path('sharpe/', views.sharpe, name='sharpe'),
|
2022-06-09 19:23:30 +00:00
|
|
|
path('pricesats/', views.pricesats, name='pricesats'),
|
2022-05-29 14:03:17 +00:00
|
|
|
path('social/', views.social, name='social'),
|
|
|
|
path('social2/', views.social2, name='social2'),
|
|
|
|
path('social3/', views.social3, name='social3'),
|
|
|
|
path('social4/', views.social4, name='social4'),
|
|
|
|
path('social5/', views.social5, name='social5'),
|
|
|
|
path('social6/', views.social6, name='social6'),
|
|
|
|
path('social7/', views.social7, name='social7'),
|
|
|
|
path('hashrate/', views.hashrate, name='hashrate'),
|
|
|
|
path('hashprice/', views.hashprice, name='hashprice'),
|
|
|
|
path('hashvsprice/', views.hashvsprice, name='hashvsprice'),
|
|
|
|
path('inflationfractal/', views.inflationfractal, name='inflationfractal'),
|
|
|
|
path('dailyemission/', views.dailyemission, name='dailyemission'),
|
|
|
|
path('dailyemissionntv/', views.dailyemissionntv, name='dailyemissionntv'),
|
|
|
|
path('transcost/', views.transcost, name='transcost'),
|
|
|
|
path('transcostntv/', views.transcostntv, name='transcostntv'),
|
|
|
|
path('minerrevcap/', views.minerrevcap, name='minerrevcap'),
|
|
|
|
path('minerrev/', views.minerrev, name='minerrev'),
|
|
|
|
path('minerrevntv/', views.minerrevntv, name='minerrevntv'),
|
|
|
|
path('minerfees/', views.minerfees, name='minerfees'),
|
|
|
|
path('minerfeesntv/', views.minerfeesntv, name='minerfeesntv'),
|
|
|
|
path('commit/', views.commit, name='commit'),
|
|
|
|
path('commitntv/', views.commitntv, name='commitntv'),
|
|
|
|
path('inflationreturn/', views.inflationreturn, name='inflationreturn'),
|
|
|
|
path('dread_subscribers/', views.dread_subscribers, name='dread_subscribers'),
|
|
|
|
path('coincards/', views.coincards, name='coincards'),
|
|
|
|
path('merchants/', views.merchants, name='merchants'),
|
|
|
|
path('merchants_increase/', views.merchants_increase, name='merchants_increase'),
|
|
|
|
path('merchants_percentage/', views.merchants_percentage, name='merchants_percentage'),
|
|
|
|
path('dominance/', views.dominance, name='dominance'),
|
|
|
|
path('rank/', views.rank, name='rank'),
|
2022-06-09 19:23:30 +00:00
|
|
|
path('percentage/', views.percentage, name='percentage'),
|
2022-05-29 14:03:17 +00:00
|
|
|
path('marketcap/', views.marketcap, name='marketcap'),
|
2022-06-05 18:36:57 +00:00
|
|
|
path('tail_emission/', views.tail_emission, name='tail_emission'),
|
2022-06-12 14:56:20 +00:00
|
|
|
path('privacymarketcap/', views.privacymarketcap, name='privacymarketcap'),
|
|
|
|
path('privacydominance/', views.privacydominance, name='privacydominance'),
|
|
|
|
path('monerodominance/', views.monerodominance, name='monerodominance'),
|
2022-06-13 01:28:59 +00:00
|
|
|
path('blocksize/', views.blocksize, name='blocksize'),
|
|
|
|
path('transactionsize/', views.transactionsize, name='transactionsize'),
|
|
|
|
path('blockchainsize/', views.blockchainsize, name='blockchainsize'),
|
|
|
|
path('difficulty/', views.difficulty, name='difficulty'),
|
2022-06-20 03:10:53 +00:00
|
|
|
path('transmonth/', views.transmonth, name='transmonth'),
|
2022-06-21 14:12:13 +00:00
|
|
|
path('deviation/', views.deviation, name='deviation'),
|
2022-06-23 02:08:50 +00:00
|
|
|
path('deviation_tx/', views.deviation_tx, name='deviation_tx'),
|
2022-06-23 19:26:10 +00:00
|
|
|
path('transactiondominance/', views.transactiondominance, name='transactiondominance'),
|
2022-07-19 17:01:52 +00:00
|
|
|
path('percentmonth/', views.percentmonth, name='percentmonth'),
|
2022-07-20 18:38:54 +00:00
|
|
|
path('securitybudget/', views.securitybudget, name='securitybudget'),
|
2022-07-20 22:55:20 +00:00
|
|
|
path('efficiency/', views.efficiency, name='efficiency'),
|
2022-08-09 19:03:45 +00:00
|
|
|
path('p2pool_hashrate/', views.p2pool_hashrate, name='p2pool_hashrate'),
|
2022-08-14 03:27:05 +00:00
|
|
|
path('p2pool_dominance/', views.p2pool_dominance, name='p2pool_dominance'),
|
2022-08-09 19:03:45 +00:00
|
|
|
path('p2pool_miners/', views.p2pool_miners, name='p2pool_miners'),
|
|
|
|
path('p2pool_totalblocks/', views.p2pool_totalblocks, name='p2pool_totalblocks'),
|
2022-08-11 02:51:20 +00:00
|
|
|
path('metcalfesats_deviation/', views.metcalfesats_deviation, name='metcalfesats_deviation'),
|
|
|
|
path('metcalfe_deviation/', views.metcalfe_deviation, name='metcalfe_deviation'),
|
2022-08-11 19:09:48 +00:00
|
|
|
path('marketcycle/', views.marketcycle, name='marketcycle'),
|
2022-08-12 12:05:11 +00:00
|
|
|
path('shielded/', views.shielded, name='shielded'),
|
2022-08-12 19:35:47 +00:00
|
|
|
path('pricesatslog/', views.pricesatslog, name='pricesatslog'),
|
|
|
|
path('comptransactions/', views.comptransactions, name='comptransactions'),
|
2022-08-14 19:31:07 +00:00
|
|
|
path('p2pool_totalhashes/', views.p2pool_totalhashes, name='p2pool_totalhashes'),
|
|
|
|
path('miningprofitability/', views.miningprofitability, name='miningprofitability'),
|
2022-12-25 18:47:41 +00:00
|
|
|
path('withdrawals/', views.withdrawals, name='withdrawals'),
|
2022-05-29 14:03:17 +00:00
|
|
|
|
2022-07-19 17:01:52 +00:00
|
|
|
# URLs to useful functions on charts/views.py
|
2022-06-02 14:51:47 +00:00
|
|
|
# Only admins can use these
|
|
|
|
path('get_history/<str:symbol>/<str:start_time>/<str:end_time>/', views.get_history, name='get_history'),
|
|
|
|
path('get_complete_history/<str:symbol>/', views.get_history, name='get_complete_history'),
|
|
|
|
path('load_dominance/<str:symbol>/', views.load_dominance, name='load_dominance'),
|
|
|
|
path('load_rank/<str:symbol>/', views.load_rank, name='load_rank'),
|
2022-08-09 19:03:45 +00:00
|
|
|
path('load_p2pool/', views.load_p2pool, name='load_p2pool'),
|
2022-06-05 18:36:57 +00:00
|
|
|
path('populate_database/', views.populate_database, name='populate_database'),
|
2022-06-02 14:51:47 +00:00
|
|
|
path('importer/', views.importer, name='importer'),
|
|
|
|
path('reset/<str:symbol>/', views.reset, name='reset'),
|
2022-06-12 14:56:20 +00:00
|
|
|
path('update/<str:date_from>/<str:date_to>/', views.update_database_admin, name='update'),
|
2022-08-15 19:25:33 +00:00
|
|
|
path('add_coin/', views.add_coin, name="add_coin"),
|
2022-06-09 19:23:30 +00:00
|
|
|
|
2022-05-29 14:03:17 +00:00
|
|
|
]
|