Technical Details
WebsiteDiscordOverviewSupport
  • Overview
  • Identity Protocol
    • Overview
    • Registry
    • Nodes & NFTs
      • Manufacturer
      • Vehicle ID
      • DeviceID
      • License
    • Auxiliary Contracts
      • Access Control
      • AdLicenseValidator
      • Eip712Checker
      • Mapper
    • Architecture
    • Pairing
  • Device Canonical Name
    • Overview
    • Contracts
      • DcnRegistry
      • DcnManager
      • PriceManager
      • Resolvers
  • Token & Governance
    • Token
    • Rewards
    • Governance
  • Data
    • Platform Components
    • DBC Decoding
    • Software-Only Connectivity
    • Data Storage
    • Validation
    • Data Dictionary
      • Sample Data
  • Hardware
    • Ecosystem
    • Open Hardware Spec
    • Manufacturing License
      • DIMO Memorandum of Understanding
      • Staking $DIMO for a Manufacturer License
    • Device License
      • Device Minting Certificate
      • Hardware and Security Audit
      • Testing and Quality Control
  • Abstraction
    • Sign In With Ethereum
    • Metatransactions
  • Security
    • Methods
    • Audits
    • User Privacy
Powered by GitBook
On this page
  1. Token & Governance

Token

PreviousResolversNextRewards

Last updated 2 years ago

Ethereum address:

Polygon address:

The DIMO token follows the standard with some other extensions in order to improve security and access control to the contract functions:

  • functionality to pause and unpause token transfer.

  • to manage access to specific functions. In the table below, all roles and the addresses associated with are described.

Role
Ethereum
Polygon

DEFAULT_ADMIN_ROLE

DEPOSITOR_ROLE

MINTER_ROLE

BURNER_ROLE

PAUSER_ROLE

UPGRADER_ROLE

The token follows the upgradable pattern to allow changes and improvements in the future. It is worth to say that DIMO token is meant to be managed by a governance system that will have the ability to remove the upgradability from the contract if so decided. For now, the token is managed by the multi-signature wallet that belongs to the .

Bridge

The DIMO token was initially created in the Ethereum Mainnet. However, since the DIMO system lives in the Polygon network, we decided to also move the tokens to the same place. That said, a well known and established bridge was chosen: , that employs a combination of smart contracts and a to move tokens from Ethereum to Polygon and vice versa.

The following steps happen when a token holder bridges their tokens from Ethereum to Polygon:

  1. Token holder approves to spend their tokens.

  2. Token holder executes a transaction to call the function depositFor.

    1. Transfer the tokens to contract to be locked.

    2. The total supply on the Ethereum side does not change.

  3. The contract executes a transaction to call the function deposit in the DIMO token in the Polygon side.

    1. This function mints the same amount of tokens for the same token holder address on the Polygon side.

    2. The total supply in the Polygon side increases.

Similarly, the following steps happen to bridge the tokens back from Polygon to Ethereum:

  1. The tokens are burned in the Polygon side, causing the total supply to decrease.

The tokens locked in the contract are unlocked and transferred back to the token holder address.

In case new tokens are minted in the Polygon side, the contract mints the equivalent amount in the Ethereum side.

0x5fab9761d60419c9eeebe3915a8fa1ed7e8d2e1b
0xe261d618a959afffd53168cd07d12e37b26761db
EIP-20
Pausable
AccessControl
UUPS
Gnosis Safe
DIMO Foundation
The Polygon Bridge
State Sync Mechanism
MintableERC20PredicateProxy
MintableERC20PredicateProxy
ChildChainManager
MintableERC20PredicateProxy
MintableERC20PredicateProxy
Foundation ETH
Foundation Polygon
ChildChainManager
Foundation ETH
MintableERC20Predicate
Foundation Polygon
Timelock
Foundation ETH
Timelock
Foundation ETH
Foundation Polygon
Foundation ETH
Foundation Polygon