Hooks for managing user accounts and permissions in Compound III
useAllow
hook allows or disallows another address to withdraw or transfer on behalf of the sender’s address.
useAllowBySig
hook allows or disallows another address to withdraw or transfer on behalf of the sender’s address using EIP-712 signatures for gasless approvals.
useUserNonce
hook retrieves the current nonce for a user, which is used for signed transactions.
useVersion
hook retrieves the current version of the Comet contract.
useHasPermission
hook checks if an account has permission to act on behalf of another account.
useTransfer
hook transfers base tokens from the sender to another account.