Vote Delegation in Mobile DAO App

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Vote Delegation in Mobile DAO App
Medium
~2-3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1054
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Implementing Vote Delegation in Mobile DAO Applications

Delegation — an ERC20Votes mechanism (OpenZeppelin) that allows token holders to transfer voting power to another address without transferring tokens themselves. Until a user calls delegate(), their tokens don't count in Governor voting — even with 10,000 UNI on the balance.

This is a frequent source of confusion: user bought tokens but can't vote. The first DAO app screen should solve exactly this problem.

Checking Delegation Status

// iOS — checking if votes are delegated
func getDelegationStatus(holder: EthereumAddress) async throws -> DelegationStatus {
    let delegatee = try await governanceToken.delegates(account: holder)
    let votingPower = try await governanceToken.getVotes(account: holder)

    if delegatee == .zero {
        return .notDelegated
    } else if delegatee == holder {
        return .selfDelegated(votes: votingPower)
    } else {
        return .delegatedTo(address: delegatee, votes: votingPower)
    }
}

On .notDelegated — show banner "You haven't activated voting rights yet". "Delegate" button right in the banner.

Delegation Flow

Two options: delegate to yourself or another address.

Self-delegation — most common case. Function delegate(holder) — single transaction. After confirmation user sees their voting power.

Delegating to another — select address (manual input, ENS, or contacts). Show ENS name if available: vitalik.eth is clearer than 0xd8dA....

// Android — calling delegate via web3j
suspend fun delegateVotes(delegatee: String): String {
    val function = Function(
        "delegate",
        listOf(Address(delegatee)),
        emptyList()
    )
    val encodedFunction = FunctionEncoder.encode(function)
    val txHash = web3j.ethSendRawTransaction(
        buildSignedTx(to = tokenContractAddress, data = encodedFunction)
    ).send().transactionHash
    return txHash
}

After delegation — update voting power indicator on DAO main screen.

Revoking Delegation

delegate(holder) with user's own address — redelegates to self. There's no separate "revoke" function: you can't remove delegatee without specifying new one. Explain in UI: "Delegate to yourself" instead of "Revoke".

Delegates Screen

For DAOs with public delegate lists (Compound, Uniswap, ENS) — show list with voting power, delegator count, voting history. Data via Tally API or custom The Graph subgraph.

Timeline: 2–3 days: checking status, delegating to self/other, ENS resolution, updating voting power UI.