Commit efa17a92 authored by tom's avatar tom

update paths for 3rd party resources

parent eeeadb12
...@@ -609,7 +609,7 @@ export const RESOURCES = { ...@@ -609,7 +609,7 @@ export const RESOURCES = {
filterFields: [], filterFields: [],
}, },
address_xstar_score: { address_xstar_score: {
path: '/api/v2/proxy/xname/addresses/:hash', path: '/api/v2/proxy/3rdparty/xname/addresses/:hash',
pathParams: [ 'hash' as const ], pathParams: [ 'hash' as const ],
}, },
...@@ -626,7 +626,7 @@ export const RESOURCES = { ...@@ -626,7 +626,7 @@ export const RESOURCES = {
pathParams: [ 'hash' as const, 'method' as const ], pathParams: [ 'hash' as const, 'method' as const ],
}, },
contract_solidity_scan_report: { contract_solidity_scan_report: {
path: '/api/v2/smart-contracts/:hash/solidityscan-report', path: '/api/v2/proxy/3dparty/solidityscan/smart-contracts/:hash/report',
pathParams: [ 'hash' as const ], pathParams: [ 'hash' as const ],
}, },
contract_security_audits: { contract_security_audits: {
...@@ -1042,16 +1042,16 @@ export const RESOURCES = { ...@@ -1042,16 +1042,16 @@ export const RESOURCES = {
// NOVES-FI // NOVES-FI
noves_transaction: { noves_transaction: {
path: '/api/v2/proxy/noves-fi/transactions/:hash', path: '/api/v2/proxy/3rdparty/noves-fi/transactions/:hash',
pathParams: [ 'hash' as const ], pathParams: [ 'hash' as const ],
}, },
noves_address_history: { noves_address_history: {
path: '/api/v2/proxy/noves-fi/addresses/:address/transactions', path: '/api/v2/proxy/3rdparty/noves-fi/addresses/:address/transactions',
pathParams: [ 'address' as const ], pathParams: [ 'address' as const ],
filterFields: [], filterFields: [],
}, },
noves_describe_txs: { noves_describe_txs: {
path: '/api/v2/proxy/noves-fi/transaction-descriptions', path: '/api/v2/proxy/3rdparty/noves-fi/transaction-descriptions',
}, },
// USER OPS // USER OPS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment