Skip to content

Commit 9ab4a90

Browse files
authored
(add): google ssn node (#686)
* (add): Add ZQ1 Google ssn node * (fix): Google node name as Google Cloud
1 parent 43624dd commit 9ab4a90

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

products/zillion/src/components/ssn-table.tsx

+16-1
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,25 @@ function SsnTable(props: any) {
9898
const dispatch = useAppDispatch();
9999
const role = useAppSelector(state => state.user.role);
100100
const loading: OperationStatus = useAppSelector(state => state.staking.is_ssn_stats_loading);
101-
const ssnList: SsnStats[] = useAppSelector(state => state.staking.ssn_list);
101+
let ssnList: SsnStats[] = useAppSelector(state => state.staking.ssn_list);
102102
const showStakeBtn = props.showStakeBtn ? props.showStakeBtn : false; // for deleg
103103
const totalStakeAmt = computeTotalStakeAmt(ssnList);
104104

105+
106+
107+
const googleSSN: SsnStats = {
108+
address: "a57801697a2fcef80494928709ff9c69de832ee5",
109+
name: "Google Cloud",
110+
apiUrl: "https://api.google.ssn.zilliqa.com",
111+
stakeAmt: "0",
112+
bufferedDeposits: "0",
113+
commRate: "4",
114+
commReward: "0",
115+
delegNum: "0",
116+
status: "BELOW MIN.STAKE"
117+
};
118+
119+
ssnList = [...ssnList, googleSSN];
105120
const handleStake = (name: string, address: string, commRate: string) => {
106121
// set dashboard state variable
107122
dispatch(UPDATE_STAKE_MODAL_DATA({

0 commit comments

Comments
 (0)