srb_std/types.rs
1use soroban_sdk::{contracttype, Address};
2
3#[contracttype]
4#[derive(Clone, Debug, Eq, PartialEq)]
5pub struct Token {
6 pub address: Address, // TODO: check if this can be changed to a TokenClient type instead which is richer than Address, or a generic type implementing TokenInterface
7 pub amount: i128,
8}