Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier506 committed Nov 4, 2022
2 parents 78c086b + f1feb82 commit a951e5e
Show file tree
Hide file tree
Showing 13 changed files with 53 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-jungle-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: jungle
REACT_APP_EOS_API_NETWORK_LABEL: Jungle4 Testnet
REACT_APP_EOS_API_NETWORK_LOGO: https://antelope.tools/images/jungle.jpg
REACT_APP_EOS_API_HOSTS: '["jungle.edenia.cloud","jungle4.eosphere.io","jungle4.api.eosnation.io","jungle4.eossweden.org"]'
REACT_APP_EOS_API_HOSTS: '[\"jungle.edenia.cloud\",\"jungle4.eosphere.io\",\"jungle4.api.eosnation.io\",\"jungle4.eossweden.org\"]'
REACT_APP_EOS_API_PORT: 443
REACT_APP_EOS_API_PROTOCOL: https
REACT_APP_EOS_CHAIN_ID: 73e4385a2708e6d7048834fbc1079f2fabb17b3c125b146af438971e90716c4d
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-lacchain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: 'lacchain'
REACT_APP_EOS_API_NETWORK_LABEL: 'LACChain EOSIO'
REACT_APP_EOS_API_NETWORK_LOGO: 'https://antelope.tools/images/lacchain.jpg'
REACT_APP_EOS_API_HOSTS: '["lacchain.edenia.cloud"]'
REACT_APP_EOS_API_HOSTS: '[\"lacchain.edenia.cloud\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: '5821525c6588037e2b066b992fcac34909a5b7f1ea8d5a393f6720fca3750d61'
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_CHAIN_ID: '5821525c6588037e2b066b992fcac34909a5b7f1ea8d5a393f6720fca3750d61'
HAPI_EOS_API_ENDPOINTS: '["https://lacchain.edenia.cloud"]'
HAPI_EOS_API_ENDPOINTS: '[\"https://lacchain.edenia.cloud\"]'
HAPI_EOS_API_NETWORK_NAME: 'lacchain'
HAPI_EOS_BP_JSON_ON_CHAIN: 'false'
HAPI_EOS_BP_JSON_ON_CHAIN_CONTRACT: ''
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-libre-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: 'libre-testnet'
REACT_APP_EOS_API_NETWORK_LABEL: 'Libre Testnet'
REACT_APP_EOS_API_NETWORK_LOGO: 'https://antelope.tools/images/libre.png'
REACT_APP_EOS_API_HOSTS: '["libre-testnet.edenia.cloud","api.testnet.libre.cryptobloks.io","libre-testnet.eosphere.io"]'
REACT_APP_EOS_API_HOSTS: '[\"libre-testnet.edenia.cloud\",\"api.testnet.libre.cryptobloks.io\",\"libre-testnet.eosphere.io\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: 'b64646740308df2ee06c6b72f34c0f7fa066d940e831f752db2006fcc2b78dee'
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_NETWORK_NAME: libre-testnet
HAPI_EOS_API_ENDPOINTS: '["https://libre-testnet.edenia.cloud","https://api.testnet.libre.cryptobloks.io","https://libre-testnet.eosphere.io"]'
HAPI_EOS_API_ENDPOINTS: '[\"https://libre-testnet.edenia.cloud\",\"https://api.testnet.libre.cryptobloks.io\",\"https://libre-testnet.eosphere.io\"]'
HAPI_EOS_STATE_HISTORY_PLUGIN_ENDPOINT: 'ws://api-node.libre-testnet:8080'
HAPI_EOS_API_CHAIN_ID: b64646740308df2ee06c6b72f34c0f7fa066d940e831f752db2006fcc2b78dee
HAPI_EOS_BASE_ACCOUNT: ${{ secrets.HAPI_EOS_BASE_ACCOUNT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-libre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: 'libre'
REACT_APP_EOS_API_NETWORK_LABEL: 'Libre Mainnet'
REACT_APP_EOS_API_NETWORK_LOGO: 'https://antelope.tools/images/libre.png'
REACT_APP_EOS_API_HOSTS: '["libre.edenia.cloud","libre.eosusa.io","api.libre.cryptolions.io"]'
REACT_APP_EOS_API_HOSTS: '[\"libre.edenia.cloud\",\"libre.eosusa.io\",\"api.libre.cryptolions.io\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: '38b1d7815474d0c60683ecbea321d723e83f5da6ae5f1c1f9fecc69d9ba96465'
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_NETWORK_NAME: libre
HAPI_EOS_API_ENDPOINTS: '["https://libre.edenia.cloud","https://libre.eosusa.io","https://api.libre.cryptolions.io"]'
HAPI_EOS_API_ENDPOINTS: '[\"https://libre.edenia.cloud\",\"https://libre.eosusa.io\",\"https://api.libre.cryptolions.io\"]'
HAPI_EOS_API_CHAIN_ID: 38b1d7815474d0c60683ecbea321d723e83f5da6ae5f1c1f9fecc69d9ba96465
HAPI_EOS_BASE_ACCOUNT: ${{ secrets.HAPI_EOS_BASE_ACCOUNT }}
HAPI_EOS_BASE_ACCOUNT_PASSWORD: ${{ secrets.HAPI_EOS_BASE_ACCOUNT_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
REACT_APP_USE_VOTES: 'true'
REACT_APP_USE_BLOCK_PRODUCER_AGREEMENT_CONTRACT: 'true'
REACT_APP_HASURA_URL: 'https://graphql-eos.antelope.tools/v1/graphql'
REACT_APP_EOS_API_HOSTS: '["api.main.alohaeos.com","eos.edenia.cloud","eos.api.eosnation.io","eos.greymass.com","eos.eosphere.io","api.eosrio.io"]'
REACT_APP_EOS_API_HOSTS: '[\"api.main.alohaeos.com\",\"eos.edenia.cloud\",\"eos.api.eosnation.io\",\"eos.greymass.com\",\"eos.eosphere.io\",\"api.eosrio.io\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-proton-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: 'proton-testnet'
REACT_APP_EOS_API_NETWORK_LABEL: 'Proton Testnet'
REACT_APP_EOS_API_NETWORK_LOGO: 'https://antelope.tools/images/proton.png'
REACT_APP_EOS_API_HOSTS: '["test.proton.eosusa.news","proton-testnet.edenia.cloud","proton-testnet.eosphere.io","api.protontest.alohaeos.com"]'
REACT_APP_EOS_API_HOSTS: '[\"test.proton.eosusa.news\",\"proton-testnet.edenia.cloud\",\"proton-testnet.eosphere.io\",\"api.protontest.alohaeos.com\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: '71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd'
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_ENDPOINTS: '["https://proton-testnet.edenia.cloud","https://test.proton.eosusa.news","https://proton-testnet.eosphere.io","https://api.protontest.alohaeos.com"]'
HAPI_EOS_API_ENDPOINTS: '[\"https://proton-testnet.edenia.cloud\",\"https://test.proton.eosusa.news\",\"https://proton-testnet.eosphere.io\",\"https://api.protontest.alohaeos.com\"]'
HAPI_EOS_API_CHAIN_ID: 71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd
HAPI_EOS_BASE_ACCOUNT: ${{ secrets.HAPI_EOS_BASE_ACCOUNT }}
HAPI_EOS_BASE_ACCOUNT_PASSWORD: ${{ secrets.HAPI_EOS_BASE_ACCOUNT_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-proton.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: 'proton'
REACT_APP_EOS_API_NETWORK_LABEL: 'Proton Mainnet'
REACT_APP_EOS_API_NETWORK_LOGO: 'https://antelope.tools/images/proton.png'
REACT_APP_EOS_API_HOSTS: '["proton.edenia.cloud","proton.eosusa.news","proton.greymass.com","proton.eosphere.io"]'
REACT_APP_EOS_API_HOSTS: '[\"proton.edenia.cloud\",\"proton.eosusa.news\",\"proton.greymass.com\",\"proton.eosphere.io\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: '384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0'
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_ENDPOINTS: '["https://proton.edenia.cloud","https://proton.eosusa.news","https://proton.greymass.com","https://proton.eosphere.io"]'
HAPI_EOS_API_ENDPOINTS: '[\"https://proton.edenia.cloud\",\"https://proton.eosusa.news\",\"https://proton.greymass.com\",\"https://proton.eosphere.io\"]'
HAPI_EOS_API_CHAIN_ID: 384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0
HAPI_EOS_BASE_ACCOUNT: ${{ secrets.HAPI_EOS_BASE_ACCOUNT }}
HAPI_EOS_BASE_ACCOUNT_PASSWORD: ${{ secrets.HAPI_EOS_BASE_ACCOUNT_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-telos-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: 'telos-testnet'
REACT_APP_EOS_API_NETWORK_LABEL: 'Telos Testnet'
REACT_APP_EOS_API_NETWORK_LOGO: 'https://antelope.tools/images/telos.png'
REACT_APP_EOS_API_HOSTS: '["testnet.telos.caleos.io","telos-testnet.eosphere.io","testnet.telosusa.io"]'
REACT_APP_EOS_API_HOSTS: '[\"testnet.telos.caleos.io\",\"telos-testnet.eosphere.io\",\"testnet.telosusa.io\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: '1eaa0824707c8c16bd25145493bf062aecddfeb56c736f6ba6397f3195f33c9f'
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_ENDPOINTS: '["https://testnet.telos.caleos.io","https://telos-testnet.eosphere.io","https://testnet.telosusa.io"]'
HAPI_EOS_API_ENDPOINTS: '[\"https://testnet.telos.caleos.io\",\"https://telos-testnet.eosphere.io\",\"https://testnet.telosusa.io\"]'
HAPI_EOS_API_CHAIN_ID: 1eaa0824707c8c16bd25145493bf062aecddfeb56c736f6ba6397f3195f33c9f
HAPI_EOS_BASE_ACCOUNT: ${{ secrets.HAPI_EOS_BASE_ACCOUNT }}
HAPI_EOS_BASE_ACCOUNT_PASSWORD: ${{ secrets.HAPI_EOS_BASE_ACCOUNT_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-telos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: 'telos'
REACT_APP_EOS_API_NETWORK_LABEL: 'Telos Mainnet'
REACT_APP_EOS_API_NETWORK_LOGO: 'https://antelope.tools/images/telos.png'
REACT_APP_EOS_API_HOSTS: '["telos.edenia.cloud","telos.api.eosnation.io","telos.greymass.com","telos.eosphere.io"]'
REACT_APP_EOS_API_HOSTS: '[\"telos.edenia.cloud\",\"telos.api.eosnation.io\",\"telos.greymass.com\",\"telos.eosphere.io\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: '4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11'
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_ENDPOINTS: '["https://telos.edenia.cloud","https://telos.api.eosnation.io","https://telos.greymass.com","https://telos.eosphere.io"]'
HAPI_EOS_API_ENDPOINTS: '[\"https://telos.edenia.cloud\",\"https://telos.api.eosnation.io\",\"https://telos.greymass.com\",\"https://telos.eosphere.io\"]'
HAPI_EOS_API_CHAIN_ID: 4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11
HAPI_EOS_BASE_ACCOUNT: ${{ secrets.HAPI_EOS_BASE_ACCOUNT }}
HAPI_EOS_BASE_ACCOUNT_PASSWORD: ${{ secrets.HAPI_EOS_BASE_ACCOUNT_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-ultra-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: 'ultra-testnet'
REACT_APP_EOS_API_NETWORK_LABEL: 'Ultra Testnet'
REACT_APP_EOS_API_NETWORK_LOGO: 'https://icodrops.com/wp-content/uploads/2019/06/Ultra-150x150.jpg'
REACT_APP_EOS_API_HOSTS: '["ultratest.api.eosnation.io"]'
REACT_APP_EOS_API_HOSTS: '[\"ultratest.api.eosnation.io\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: '7fc56be645bb76ab9d747b53089f132dcb7681db06f0852cfa03eaf6f7ac80e9'
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_ENDPOINTS: '["https://ultratest.api.eosnation.io"]'
HAPI_EOS_API_ENDPOINTS: '[\"https://ultratest.api.eosnation.io\"]'
HAPI_EOS_API_NETWORK_NAME: ultra-testnet
HAPI_EOS_API_CHAIN_ID: 7fc56be645bb76ab9d747b53089f132dcb7681db06f0852cfa03eaf6f7ac80e9
HAPI_EOS_BASE_ACCOUNT: ${{ secrets.HAPI_EOS_BASE_ACCOUNT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-wax-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: 'wax-testnet'
REACT_APP_EOS_API_NETWORK_LABEL: 'WAX Testnet'
REACT_APP_EOS_API_NETWORK_LOGO: 'https://antelope.tools/images/wax.jpg'
REACT_APP_EOS_API_HOSTS: '["api.waxtest.alohaeos.com","waxtest.api.eosnation.io","waxtest.eoseoul.io"]'
REACT_APP_EOS_API_HOSTS: '[\"api.waxtest.alohaeos.com\",\"waxtest.api.eosnation.io\",\"waxtest.eoseoul.io\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: 'f16b1833c747c43682f4386fca9cbb327929334a762755ebec17f6f23c9b8a12'
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_ENDPOINTS: ["https://api.waxtest.alohaeos.com","https://waxtest.api.eosnation.io","https://waxtest.eoseoul.io"]
HAPI_EOS_API_ENDPOINTS: [\"https://api.waxtest.alohaeos.com\",\"https://waxtest.api.eosnation.io\",\"https://waxtest.eoseoul.io\"]
HAPI_EOS_API_CHAIN_ID: f16b1833c747c43682f4386fca9cbb327929334a762755ebec17f6f23c9b8a12
HAPI_EOS_BASE_ACCOUNT: ${{ secrets.HAPI_EOS_BASE_ACCOUNT }}
HAPI_EOS_BASE_ACCOUNT_PASSWORD: ${{ secrets.HAPI_EOS_BASE_ACCOUNT_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-wax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
REACT_APP_EOS_API_NETWORK_NAME: 'wax'
REACT_APP_EOS_API_NETWORK_LABEL: 'WAX Mainnet'
REACT_APP_EOS_API_NETWORK_LOGO: 'https://antelope.tools/images/wax.jpg'
REACT_APP_EOS_API_HOSTS: '["wax.eosn.io","wax.edenia.cloud","wax.api.eosnation.io","wax.greymass.com"]'
REACT_APP_EOS_API_HOSTS: '[\"wax.eosn.io\",\"wax.edenia.cloud\",\"wax.api.eosnation.io\",\"wax.greymass.com\"]'
REACT_APP_EOS_API_PORT: '443'
REACT_APP_EOS_API_PROTOCOL: 'https'
REACT_APP_EOS_CHAIN_ID: '1064487b3cd1a897ce03ae5b6a865651747e2e152090f99c1d19d44e01aea5a4'
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
POSTGRES_DATA: ${{ secrets.POSTGRES_DATA }}
# hapi
HAPI_EOS_API_ENDPOINTS: '["https://wax.eosn.io","https://wax.edenia.cloud","https://wax.api.eosnation.io","https://wax.greymass.com"]'
HAPI_EOS_API_ENDPOINTS: '[\"https://wax.eosn.io\",\"https://wax.edenia.cloud\",\"https://wax.api.eosnation.io\",\"https://wax.greymass.com\"]'
HAPI_EOS_API_CHAIN_ID: 1064487b3cd1a897ce03ae5b6a865651747e2e152090f99c1d19d44e01aea5a4
HAPI_EOS_BASE_ACCOUNT: ${{ secrets.HAPI_EOS_BASE_ACCOUNT }}
HAPI_EOS_BASE_ACCOUNT_PASSWORD: ${{ secrets.HAPI_EOS_BASE_ACCOUNT_PASSWORD }}
Expand Down
43 changes: 31 additions & 12 deletions hapi/src/utils/eos.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,38 @@ const eosApi = EosApi({
verbose: false,
fetchConfiguration: {}
})
const eosApis = eosConfig.apiEndpoints.map((endpoint) => {
return EosApi({
httpEndpoint: endpoint,
verbose: false,
fetchConfiguration: {}
})
const eosApis = eosConfig.apiEndpoints.map(endpoint => {
return {
api: EosApi({
httpEndpoint: endpoint,
verbose: false,
fetchConfiguration: {}
}),
lastFailureTime: 0,
url: endpoint
}
})

const callEosApi = async method => {
for (const eosApi of eosApis){
const waitRequestInterval = 300000

const callEosApi = async (funcName, method) => {
for (const eosApi of eosApis) {
const diffTime = new Date() - eosApi.lastFailureTime

if (diffTime < waitRequestInterval) continue

try {
const response = await method(eosApi)
const response = await method(eosApi.api)

return response
} catch (error) {}
} catch (error) {
eosApi.lastFailureTime = new Date()

console.error(
`WARNING ${funcName} => ${eosApi.url} has failed: \n`,
error.message
)
}
}

throw new Error('Each endpoint failed when trying to execute the function')
Expand Down Expand Up @@ -216,10 +233,12 @@ const transact = async (actions, account, password) => {
}

const getCurrencyStats = async options =>
callEosApi(async eosApi => eosApi.getCurrencyStats(options))
callEosApi('getCurrencyStats', async eosApi =>
eosApi.getCurrencyStats(options)
)

const getProducers = async options =>
callEosApi(async eosApi => eosApi.getProducers(options))
callEosApi('getProducers', async eosApi => eosApi.getProducers(options))

const getInfo = options => eosApi.getInfo(options || {})

Expand Down

0 comments on commit a951e5e

Please sign in to comment.