[][src]Crate artemis_asset

Asset

The asset module provides functionality for handling bridged asset balances.

Overview

This module is used by the ETH and ERC20 pallets to store account balances for bridged assets.

Each asset is identified by a unique H160 hash. This is useful for tracking ERC20 tokens which on Ethereum are identified by a 20-byte contract address.

For various reasons, we built our own asset pallet instead of reusing existing work:

Additionally, we need to store balances using U256, which seemed difficult or impossible to plug into the above pallets.

Interface

Dispatchable Calls

Public Functions

Structs

Account
AccountData
Module
TotalIssuance

Enums

Call

Dispatchable calls.

Error
RawEvent

Events for this module.

Traits

Trait

Type Definitions

Event

RawEvent specialized for the configuration Trait