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",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.7.39",
|
"version": "0.7.40",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"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({
|
const { data: metadata, error } = useReadContract({
|
||||||
abi: GatekeeperAbi,
|
abi: GatekeeperAbi,
|
||||||
address: gatekeeper,
|
address: gatekeeper,
|
||||||
functionName: "gatekeeperMetadata",
|
functionName: "metadata",
|
||||||
scopeKey: `gatekeeperMetadata-${chainId}-${gatekeeper}`,
|
scopeKey: `gatekeeperMetadata-${chainId}-${gatekeeper}`,
|
||||||
chainId: chainId,
|
chainId: chainId,
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user