forked from LaconicNetwork/cosmos-explorer
Finish uptime
This commit is contained in:
@@ -50,6 +50,11 @@ export function consensusPubkeyToHexAddress(consensusPubkey?: {"@type": string,
|
||||
}
|
||||
return ''
|
||||
}
|
||||
|
||||
export function valconsToBase64(address: string) {
|
||||
if(address) return toHex(fromBech32(address).data).toUpperCase()
|
||||
return ''
|
||||
}
|
||||
|
||||
export function toETHAddress(cosmosAddress: string) {
|
||||
return `0x${toHex(fromBech32(cosmosAddress).data)}`
|
||||
|
||||
+2
-1
@@ -63,7 +63,8 @@ export class CosmosRestClient {
|
||||
return this.request(this.registry.slashing_params, {})
|
||||
}
|
||||
async getSlashingSigningInfos() {
|
||||
return this.request(this.registry.slashing_signing_info, {})
|
||||
const query = "?pagination.limit=300"
|
||||
return this.request(this.registry.slashing_signing_info, {}, query)
|
||||
}
|
||||
// Gov
|
||||
async getGovParamsVoting() {
|
||||
|
||||
Reference in New Issue
Block a user