fix gatekeeper metadata read call for double staking apy
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
bcbcbf5518
commit
787b7e6322
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ghost-dao-interface",
|
||||
"private": true,
|
||||
"version": "0.7.39",
|
||||
"version": "0.7.40",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -21,7 +21,7 @@ export const useGatekeeperApy = (chainId) => {
|
||||
const { data: metadata, error } = useReadContract({
|
||||
abi: GatekeeperAbi,
|
||||
address: gatekeeper,
|
||||
functionName: "gatekeeperMetadata",
|
||||
functionName: "metadata",
|
||||
scopeKey: `gatekeeperMetadata-${chainId}-${gatekeeper}`,
|
||||
chainId: chainId,
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user