aptos-types 0.2.2

Aptos core types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) Aptos
// SPDX-License-Identifier: Apache-2.0

use crate::account_address::AccountAddress;
use move_deps::move_core_types::{
    ident_str,
    language_storage::{StructTag, TypeTag},
};
use once_cell::sync::Lazy;

pub static APTOS_COIN_TYPE: Lazy<TypeTag> = Lazy::new(|| {
    TypeTag::Struct(StructTag {
        address: AccountAddress::ONE,
        module: ident_str!("aptos_coin").to_owned(),
        name: ident_str!("AptosCoin").to_owned(),
        type_params: vec![],
    })
});