Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jerga99/nft-marketplace
/ functions
Functions
78 in github.com/Jerga99/nft-marketplace
⨍
Functions
78
◇
Types & classes
11
↓ 6 callers
Method
mintToken
* Payable: true * Constant: false * StateMutability: payable * Type: function * @param tokenURI Type: string, Indexed: false * @param p
types/nftMarketContract.ts:428
↓ 5 callers
Method
getOwnedNfts
* Payable: false * Constant: true * StateMutability: view * Type: function
types/nftMarketContract.ts:419
↓ 4 callers
Function
useHooks
()
components/providers/web3/index.tsx:69
↓ 3 callers
Function
classNames
(...classes: string[])
pages/profile.tsx:14
↓ 3 callers
Method
getAllNftsOnSale
* Payable: false * Constant: true * StateMutability: view * Type: function
types/nftMarketContract.ts:410
↓ 3 callers
Method
tokenURI
* Payable: false * Constant: true * StateMutability: view * Type: function * @param tokenId Type: uint256, Indexed: false
types/nftMarketContract.ts:303
↓ 3 callers
Function
useNetwork
()
components/hooks/web3/index.ts:13
↓ 2 callers
Function
addressCheckMiddleware
(req: NextApiRequest & { session: Session}, res: NextApiResponse)
pages/api/utils.ts:37
↓ 2 callers
Method
buyNft
* Payable: true * Constant: false * StateMutability: payable * Type: function * @param tokenId Type: uint256, Indexed: false
types/nftMarketContract.ts:440
↓ 2 callers
Function
createDefaultState
()
components/providers/web3/utils.ts:23
↓ 2 callers
Function
createWeb3State
({ ethereum, provider, contract, isLoading }: Web3Dependencies)
components/providers/web3/utils.ts:33
↓ 2 callers
Method
getNftItem
* Payable: false * Constant: true * StateMutability: view * Type: function * @param tokenId Type: uint256, Indexed: false
types/nftMarketContract.ts:351
↓ 2 callers
Function
getSignedData
()
pages/nft/create.tsx:35
↓ 2 callers
Method
listedItemsCount
* Payable: false * Constant: true * StateMutability: view * Type: function
types/nftMarketContract.ts:361
↓ 2 callers
Method
ownerOf
* Payable: false * Constant: true * StateMutability: view * Type: function * @param tokenId Type: uint256, Indexed: false
types/nftMarketContract.ts:220
↓ 2 callers
Method
placeNftOnSale
* Payable: true * Constant: false * StateMutability: payable * Type: function * @param tokenId Type: uint256, Indexed: false * @param n
types/nftMarketContract.ts:452
↓ 2 callers
Function
setupHooks
(deps)
components/hooks/web3/setupHooks.ts:19
↓ 2 callers
Method
tokenByIndex
* Payable: false * Constant: true * StateMutability: view * Type: function * @param index Type: uint256, Indexed: false
types/nftMarketContract.ts:387
↓ 2 callers
Function
useWeb3
()
components/providers/web3/index.tsx:65
↓ 2 callers
Function
withSession
(handler: any)
pages/api/utils.ts:23
↓ 1 callers
Function
classNames
(...classes: string[])
components/ui/navbar/Walletbar.tsx:14
↓ 1 callers
Function
classNames
(...classes: string[])
components/ui/navbar/index.tsx:14
↓ 1 callers
Function
connect
()
components/hooks/web3/useAccount.ts:50
↓ 1 callers
Function
handleAccount
(ethereum: MetaMaskInpageProvider)
components/providers/web3/index.tsx:9
↓ 1 callers
Function
initWeb3
()
components/providers/web3/index.tsx:30
↓ 1 callers
Method
listingPrice
* Payable: false * Constant: true * StateMutability: view * Type: function
types/nftMarketContract.ts:198
↓ 1 callers
Function
loadContract
( name: string, // NftMarket provider: providers.Web3Provider )
components/providers/web3/utils.ts:47
↓ 1 callers
Function
pageReload
()
components/providers/web3/index.tsx:7
↓ 1 callers
Function
removeGlobalListeners
(ethereum: MetaMaskInpageProvider)
components/providers/web3/index.tsx:19
↓ 1 callers
Function
setGlobalListeners
(ethereum: MetaMaskInpageProvider)
components/providers/web3/index.tsx:14
↓ 1 callers
Method
setListingPrice
* Payable: false * Constant: false * StateMutability: nonpayable * Type: function * @param newPrice Type: uint256, Indexed: false
types/nftMarketContract.ts:340
↓ 1 callers
Function
shortifyAddress
(address: string)
components/ui/nft/item/index.tsx:11
↓ 1 callers
Method
totalSupply
* Payable: false * Constant: true * StateMutability: view * Type: function
types/nftMarketContract.ts:379
↓ 1 callers
Method
transferFrom
* Payable: false * Constant: false * StateMutability: nonpayable * Type: function * @param from Type: address, Indexed: false * @param
types/nftMarketContract.ts:316
↓ 1 callers
Function
useAccount
()
components/hooks/web3/index.ts:4
↓ 1 callers
Function
useListedNfts
()
components/hooks/web3/index.ts:22
↓ 1 callers
Function
useOwnedNfts
()
components/hooks/web3/index.ts:31
Method
'new'
* Payable: false * Constant: false * StateMutability: nonpayable * Type: constructor
types/nftMarketContract.ts:143
Function
ActiveLink
({children, ...props})
components/ui/link/index.tsx:11
Method
Approval
(...parameters: any)
types/nftMarketContract.ts:64
Method
ApprovalForAll
(...parameters: any)
types/nftMarketContract.ts:65
Function
BaseLayout
({children})
components/ui/layout/BaseLayout.tsx:5
Function
Home
()
pages/index.tsx:9
Function
MyApp
({ Component, pageProps }: AppProps)
pages/_app.tsx:10
Function
Navbar
()
components/ui/navbar/index.tsx:18
Function
NftCreate
()
pages/nft/create.tsx:18
Function
NftItem
({item, buyNft})
components/ui/nft/item/index.tsx:15
Method
NftItemCreated
(...parameters: any)
types/nftMarketContract.ts:66
Function
NftList
()
components/ui/nft/list/index.tsx:9
Method
OwnershipTransferred
(...parameters: any)
types/nftMarketContract.ts:67
Function
Profile
()
pages/profile.tsx:18
Method
Transfer
(...parameters: any)
types/nftMarketContract.ts:68
Function
Walletbar
({ isInstalled, isLoading, connect, account })
components/ui/navbar/Walletbar.tsx:18
Function
Web3Provider
({children})
components/providers/web3/index.tsx:26
Method
approve
* Payable: false * Constant: false * StateMutability: nonpayable * Type: function * @param to Type: address, Indexed: false * @param to
types/nftMarketContract.ts:152
Method
balanceOf
* Payable: false * Constant: true * StateMutability: view * Type: function * @param owner Type: address, Indexed: false
types/nftMarketContract.ts:164
Function
createNft
()
pages/nft/create.tsx:128
Method
getApproved
* Payable: false * Constant: true * StateMutability: view * Type: function * @param tokenId Type: uint256, Indexed: false
types/nftMarketContract.ts:175
Function
handleAccountsChanged
(...args: unknown[])
components/hooks/web3/useAccount.ts:41
Function
handleAttributeChange
(e: ChangeEvent<HTMLInputElement>)
pages/nft/create.tsx:92
Function
handleChange
(e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>)
pages/nft/create.tsx:87
Function
handleImage
(e: ChangeEvent<HTMLInputElement>)
pages/nft/create.tsx:48
Function
hookFactory
({contract})
components/hooks/web3/useListedNfts.ts:16
Function
hookFactory
({provider, ethereum, isLoading})
components/hooks/web3/useAccount.ts:16
Function
hookFactory
({contract})
components/hooks/web3/useOwnedNfts.ts:16
Function
hookFactory
({provider, isLoading})
components/hooks/web3/useNetwork.ts:29
Method
isApprovedForAll
* Payable: false * Constant: true * StateMutability: view * Type: function * @param owner Type: address, Indexed: false * @param operat
types/nftMarketContract.ts:187
Method
name
* Payable: false * Constant: true * StateMutability: view * Type: function
types/nftMarketContract.ts:205
Method
owner
* Payable: false * Constant: true * StateMutability: view * Type: function
types/nftMarketContract.ts:212
Method
renounceOwnership
* Payable: false * Constant: false * StateMutability: nonpayable * Type: function
types/nftMarketContract.ts:230
Method
safeTransferFrom
* Payable: false * Constant: false * StateMutability: nonpayable * Type: function * @param from Type: address, Indexed: false * @param
types/nftMarketContract.ts:242
Method
setApprovalForAll
* Payable: false * Constant: false * StateMutability: nonpayable * Type: function * @param operator Type: address, Indexed: false * @pa
types/nftMarketContract.ts:273
Method
supportsInterface
* Payable: false * Constant: true * StateMutability: view * Type: function * @param interfaceId Type: bytes4, Indexed: false
types/nftMarketContract.ts:285
Method
symbol
* Payable: false * Constant: true * StateMutability: view * Type: function
types/nftMarketContract.ts:295
Method
tokenOfOwnerByIndex
* Payable: false * Constant: true * StateMutability: view * Type: function * @param owner Type: address, Indexed: false * @param index
types/nftMarketContract.ts:399
Method
tokenURIExists
* Payable: false * Constant: true * StateMutability: view * Type: function * @param tokenURI Type: string, Indexed: false
types/nftMarketContract.ts:369
Method
transferOwnership
* Payable: false * Constant: false * StateMutability: nonpayable * Type: function * @param newOwner Type: address, Indexed: false
types/nftMarketContract.ts:329
Function
uploadMetadata
()
pages/nft/create.tsx:103