Skip to content

Commit

Permalink
fix(hooks): add missing contract methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sekaiking committed Feb 7, 2022
1 parent 06c22e0 commit 06ebd2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/hooks/src/near-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export function getContractMethods(contractName: string) {
'generate',
'claim_media',
'burn_design',
'mint',
],
viewMethods: [
'nft_total_supply',
Expand All @@ -39,6 +40,9 @@ export function getContractMethods(contractName: string) {
'nft_tokens_for_owner',
'nft_tokens',
'view_media',
'nft_supply_for_owner',
'get_bids',
'get_bidder_bids',
],
}
case 'market':
Expand Down

1 comment on commit 06ebd2d

@vercel
Copy link

@vercel vercel bot commented on 06ebd2d Feb 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.