--- 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))] --- a/pallets/refungible/src/lib.rs +++ b/pallets/refungible/src/lib.rs @@ -95,15 +95,19 @@ use frame_support::{BoundedVec, ensure, fail, storage::with_transaction, transactional}; use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm}; use pallet_evm_coder_substrate::WithRecorder; -use pallet_common::{CommonCollectionOperations, Error as CommonError, Event as CommonEvent, Pallet as PalletCommon}; +use pallet_common::{ + CommonCollectionOperations, Error as CommonError, Event as CommonEvent, Pallet as PalletCommon, +}; use pallet_structure::Pallet as PalletStructure; use scale_info::TypeInfo; use sp_core::H160; use sp_runtime::{ArithmeticError, DispatchError, DispatchResult, TransactionOutcome}; use sp_std::{vec::Vec, vec, collections::btree_map::BTreeMap}; use up_data_structs::{ - AccessMode, budget::Budget, CollectionId, CreateCollectionData, CreateRefungibleExData, CustomDataLimit, mapping::TokenAddressMapping, MAX_REFUNGIBLE_PIECES, TokenId, - Property, PropertyKey, PropertyKeyPermission, PropertyPermission, PropertyScope, PropertyValue, TrySetProperty + AccessMode, budget::Budget, CollectionId, CreateCollectionData, CreateRefungibleExData, + CustomDataLimit, mapping::TokenAddressMapping, MAX_REFUNGIBLE_PIECES, TokenId, Property, + PropertyKey, PropertyKeyPermission, PropertyPermission, PropertyScope, PropertyValue, + TrySetProperty, }; pub use pallet::*;