(token: Address, amount: T)
| 12 | |
| 13 | impl TokenAmount { |
| 14 | pub fn new<T: Into<U256>>(token: Address, amount: T) -> Self { |
| 15 | Self { |
| 16 | amount: amount.into(), |
| 17 | token, |
| 18 | } |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | /// Whether or not internalizable interactions should be encoded as calldata |