feat(server::evm): more criterion types
This commit is contained in:
7
server/crates/arbiter-tokens-registry/Cargo.toml
Normal file
7
server/crates/arbiter-tokens-registry/Cargo.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "arbiter-tokens-registry"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
alloy.workspace = true
|
||||
1
server/crates/arbiter-tokens-registry/src/evm/mod.rs
Normal file
1
server/crates/arbiter-tokens-registry/src/evm/mod.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub mod nonfungible;
|
||||
13
server/crates/arbiter-tokens-registry/src/evm/nonfungible.rs
Normal file
13
server/crates/arbiter-tokens-registry/src/evm/nonfungible.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
use alloy::primitives::{Address, ChainId, address};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||
pub struct TokenInfo {
|
||||
pub name: &'static str,
|
||||
pub symbol: &'static str,
|
||||
pub decimals: u32,
|
||||
pub contract: Address,
|
||||
pub chain: ChainId,
|
||||
pub logo_uri: Option<&'static str>,
|
||||
}
|
||||
|
||||
include!("tokens.rs");
|
||||
13248
server/crates/arbiter-tokens-registry/src/evm/tokens.rs
Normal file
13248
server/crates/arbiter-tokens-registry/src/evm/tokens.rs
Normal file
File diff suppressed because it is too large
Load Diff
1
server/crates/arbiter-tokens-registry/src/lib.rs
Normal file
1
server/crates/arbiter-tokens-registry/src/lib.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub mod evm;
|
||||
Reference in New Issue
Block a user