difftreelog
chore fix cargo fmt
in: master
2 files changed
pallets/refungible/src/erc_token.rsdiffbeforeafterboth--- a/pallets/refungible/src/erc_token.rs
+++ b/pallets/refungible/src/erc_token.rs
@@ -46,7 +46,7 @@
#[derive(ToLog)]
pub enum ERC20Events {
/// @dev This event is emitted when the amount of tokens (value) is sent
- /// from the from address to the to address. In the case of minting new
+ /// from the from address to the to address. In the case of minting new
/// tokens, the transfer is usually from the 0 address while in the case
/// of burning tokens the transfer is to 0.
Transfer {
@@ -68,7 +68,7 @@
}
/// @title Standard ERC20 token
-///
+///
/// @dev Implementation of the basic standard token.
/// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
#[solidity_interface(name = "ERC20", events(ERC20Events))]
pallets/refungible/src/lib.rsdiffbeforeafterboth96use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};96use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};97use pallet_evm_coder_substrate::WithRecorder;97use pallet_evm_coder_substrate::WithRecorder;98use pallet_common::{CommonCollectionOperations, Error as CommonError, Event as CommonEvent, Pallet as PalletCommon};98use pallet_common::{99 CommonCollectionOperations, Error as CommonError, Event as CommonEvent, Pallet as PalletCommon,100};99use pallet_structure::Pallet as PalletStructure;101use pallet_structure::Pallet as PalletStructure;100use scale_info::TypeInfo;102use scale_info::TypeInfo;101use sp_core::H160;103use sp_core::H160;102use sp_runtime::{ArithmeticError, DispatchError, DispatchResult, TransactionOutcome};104use sp_runtime::{ArithmeticError, DispatchError, DispatchResult, TransactionOutcome};103use sp_std::{vec::Vec, vec, collections::btree_map::BTreeMap};105use sp_std::{vec::Vec, vec, collections::btree_map::BTreeMap};104use up_data_structs::{106use up_data_structs::{105 AccessMode, budget::Budget, CollectionId, CreateCollectionData, CreateRefungibleExData, CustomDataLimit, mapping::TokenAddressMapping, MAX_REFUNGIBLE_PIECES, TokenId,107 AccessMode, budget::Budget, CollectionId, CreateCollectionData, CreateRefungibleExData,106 Property, PropertyKey, PropertyKeyPermission, PropertyPermission, PropertyScope, PropertyValue, TrySetProperty108 CustomDataLimit, mapping::TokenAddressMapping, MAX_REFUNGIBLE_PIECES, TokenId, Property,109 PropertyKey, PropertyKeyPermission, PropertyPermission, PropertyScope, PropertyValue,110 TrySetProperty,107};111};108112109pub use pallet::*;113pub use pallet::*;