@raidguild/quiver
Index
Helpers
Hooks
Interfaces
Type aliases
Common ABIs
Providers
Type aliases
Awaited
Type parameters
- T
ContractFunctions
Type parameters
- TContract: ContractInstance
NetworkConfig
Type declaration
[chainId string]: { chainId: string; explorer: string; name: string; rpc: string; symbol: string }
WalletContextType
Type declaration
address: string | null | undefined
chainId: string | null | undefined
isConnected: boolean
isConnecting: boolean
isMetamask: boolean
networks: NetworkConfig
provider: providers.Web3Provider | null | undefined
connectWallet: function
Returns Promise<void>
disconnect: function
Returns void
switchNetwork: function
Parameters
chainId: string
Returns void
Common ABIs
constERC165_ABI
constERC20_ABI
A minimal ABI definition for an ERC20 token.
constERC721_ABI
An ABI definition for an ERC721 (non-fungible) token. This ABI includes common extensions for metadata, and enumerability.
constERC721_BASE_ABI
A minimal ABI definition for an ERC721 (non-fungible) token.
constERC721_ENUMERABLE_ABI
An ABI definition for enumerability of ERC721 tokens.
An ABI definition for ERC165.