diff --git a/root/src/mappings/staking-info.ts b/root/src/mappings/staking-info.ts index 6ab68d4..c68584a 100644 --- a/root/src/mappings/staking-info.ts +++ b/root/src/mappings/staking-info.ts @@ -75,7 +75,7 @@ export function handleStaked(event: Staked): void { // Keeping NFT owner address, to be helpful while responding // client queries in staking API - let nft = StakingNft.bind(Address.fromString(NetworkConfig.stakingNft.address)) + let nft = StakingNft.bind(Address.fromString(NetworkConfig.contracts.stakingNft.address)) validator.owner = nft.ownerOf(event.params.validatorId) validator.totalStaked = event.params.total