Crates.io | sn_evm |
lib.rs | sn_evm |
version | 0.1.3 |
source | src |
created_at | 2024-10-22 14:55:05.696153 |
updated_at | 2024-11-06 13:43:42.985904 |
description | Safe Network EVM Transfers |
homepage | https://maidsafe.net |
repository | https://github.com/maidsafe/safe_network |
max_upload_size | |
id | 1418758 |
size | 63,805 |
This crate contains the logic for data payments on the SAFE Network using the Ethereum protocol.
This crate provides a set of types and utilities for interacting with EVM-based networks. It offers abstraction over common tasks such as handling addresses, wallets, payments, and network configurations. Below is an overview of the main types exposed by the crate.
Alias for evmlib::common::Address
. Represents an EVM-compatible address used for handling rewards.
Represents a unique hash identifying a quote. Useful for referencing and verifying PaymentQuote
.
Represents the transaction hash. Useful for identifying and tracking transactions on the blockchain.
Alias for evmlib::wallet::Wallet
. A wallet used to interact with EVM-compatible networks, providing key management and signing functionality.
A custom network type that allows for interaction with custom EVM-based networks.
A standard network type for EVM-based networks such as Ethereum or ArbitrumOne.
Represents a quote for a payment transaction. Contains relevant data for processing payments through EVM-based networks.
Represents metrics associated with generating a payment quote. Useful for performance measurement and optimization.
Contains proof of a successful payment on an EVM-based network. Includes data like transaction hash and confirmation details.
Represents a general amount of tokens. Can be used to define any token value in a flexible way.
Represents an amount in the smallest token unit, commonly "atto" (10^-18). Useful for working with precise amounts in smart contracts.
A custom error type used for handling EVM-related errors within the library.
A specialized Result
type that wraps around EvmError
. Standardizes error handling across operations.