evmlib/
common.rs

1// Copyright 2024 MaidSafe.net limited.
2//
3// This SAFE Network Software is licensed to you under The General Public License (GPL), version 3.
4// Unless required by applicable law or agreed to in writing, the SAFE Network Software distributed
5// under the GPL Licence is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
6// KIND, either express or implied. Please review the Licences for the specific language governing
7// permissions and limitations relating to use of the SAFE Network Software.
8
9use alloy::primitives::FixedBytes;
10
11pub type Address = alloy::primitives::Address;
12pub type Hash = FixedBytes<32>;
13pub type TxHash = alloy::primitives::TxHash;
14pub type U256 = alloy::primitives::U256;
15pub type QuoteHash = Hash;
16pub type Amount = U256;
17pub type QuotePayment = (QuoteHash, Address, Amount);
18pub type EthereumWallet = alloy::network::EthereumWallet;
19pub type Calldata = alloy::primitives::Bytes;