// Copyright 2018 - 2022 The Alephium Authors
// This file is part of the alephium project.
useserde::{Deserialize, Serialize};usenum_bigint::BigUint;/// Number256 type for large integers
pubtypeNumber256= BigUint;/// Token information
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]pubstructToken{pubid: String,
pubamount: String,
}/// Val type for contract values
#[derive(Debug, Clone, Serialize, Deserialize)]#[serde(untagged)]pubenumVal{
Number(String),
Bool(bool),String(String),
Array(Vec<Val>),
Object(std::collections::HashMap<String, Val>),}