add unbonding staking
This commit is contained in:
parent
75f2c5b40c
commit
36c73ec5ee
@ -29,8 +29,11 @@ const unbondList = ref([] as Validator[]);
|
|||||||
const slashing =ref({} as SlashingParam)
|
const slashing =ref({} as SlashingParam)
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
staking.fetchUnbondingValdiators().then((res) => {
|
||||||
|
unbondList.value = res.concat(unbondList.value);
|
||||||
|
});
|
||||||
staking.fetchInacitveValdiators().then((res) => {
|
staking.fetchInacitveValdiators().then((res) => {
|
||||||
unbondList.value = res;
|
unbondList.value = unbondList.value.concat(res);
|
||||||
});
|
});
|
||||||
chainStore.rpc.getSlashingParams().then(res => {
|
chainStore.rpc.getSlashingParams().then(res => {
|
||||||
slashing.value = res.params
|
slashing.value = res.params
|
||||||
|
Loading…
Reference in New Issue
Block a user