Skip to content

Commit

Permalink
(add): google ssn node (#686)
Browse files Browse the repository at this point in the history
* (add): Add ZQ1 Google ssn node

* (fix): Google node name as Google Cloud
  • Loading branch information
mauromedda authored May 20, 2024
1 parent 43624dd commit 9ab4a90
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion products/zillion/src/components/ssn-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,25 @@ function SsnTable(props: any) {
const dispatch = useAppDispatch();
const role = useAppSelector(state => state.user.role);
const loading: OperationStatus = useAppSelector(state => state.staking.is_ssn_stats_loading);
const ssnList: SsnStats[] = useAppSelector(state => state.staking.ssn_list);
let ssnList: SsnStats[] = useAppSelector(state => state.staking.ssn_list);
const showStakeBtn = props.showStakeBtn ? props.showStakeBtn : false; // for deleg
const totalStakeAmt = computeTotalStakeAmt(ssnList);



const googleSSN: SsnStats = {
address: "a57801697a2fcef80494928709ff9c69de832ee5",
name: "Google Cloud",
apiUrl: "https://api.google.ssn.zilliqa.com",
stakeAmt: "0",
bufferedDeposits: "0",
commRate: "4",
commReward: "0",
delegNum: "0",
status: "BELOW MIN.STAKE"
};

ssnList = [...ssnList, googleSSN];
const handleStake = (name: string, address: string, commRate: string) => {
// set dashboard state variable
dispatch(UPDATE_STAKE_MODAL_DATA({
Expand Down

0 comments on commit 9ab4a90

Please sign in to comment.