@@ -3,13 +3,15 @@ import { Provider } from '@ethersproject/abstract-provider'
33import { Signer } from '@ethersproject/abstract-signer'
44import { sTokensAbi } from './abi'
55import { createPositionsCaller , Positions } from './positions'
6+ import { createOwnerOfCaller } from './ownerOf'
67import { createRewardsCaller , Rewards } from './rewards'
78import { createTokenURICaller , TokenURI } from './tokenURI'
89import { createPositionsOfPropertyCaller } from './positionsOfProperty'
910import { createPositionsOfOwnerCaller } from './positionsOfOwner'
1011
1112export type STokensContract = {
1213 readonly positions : ( tokenId : number ) => Promise < Positions >
14+ readonly ownerOf : ( tokenId : number ) => Promise < string >
1315 readonly rewards : ( tokenId : number ) => Promise < Rewards >
1416 readonly tokenURI : ( tokenId : number ) => Promise < TokenURI >
1517 readonly positionsOfProperty : (
@@ -32,6 +34,7 @@ export const createSTokensContract =
3234
3335 return {
3436 positions : createPositionsCaller ( contractClient ) ,
37+ ownerOf : createOwnerOfCaller ( contractClient ) ,
3538 rewards : createRewardsCaller ( contractClient ) ,
3639 tokenURI : createTokenURICaller ( contractClient ) ,
3740 positionsOfProperty : createPositionsOfPropertyCaller ( contractClient ) ,
0 commit comments