git.delta.rocks / unique-network / refs/commits / 9d78c86ffab5

difftreelog

fmt

Trubnikov Sergey2022-08-25parent: #2ba119d.patch.diff
in: master

3 files changed

modifiedpallets/common/src/erc.rsdiffbeforeafterboth
173 /// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.180 /// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
174 fn get_collection_sponsor(&self) -> Result<(address, uint256)> {181 fn get_collection_sponsor(&self) -> Result<(address, uint256)> {
175 let sponsor = match self.collection.sponsorship {182 let sponsor = match self.collection.sponsorship {
176 SponsorshipState::Disabled | SponsorshipState::Unconfirmed(_) => return Ok(Default::default()),183 SponsorshipState::Disabled | SponsorshipState::Unconfirmed(_) => {
184 return Ok(Default::default())
185 }
177 SponsorshipState::Confirmed(ref sponsor) => sponsor,186 SponsorshipState::Confirmed(ref sponsor) => sponsor,
178 };187 };
179 let sponsor = T::CrossAccountId::from_sub(sponsor.clone());188 let sponsor = T::CrossAccountId::from_sub(sponsor.clone());
modifiedpallets/common/src/eth.rsdiffbeforeafterboth

no syntactic changes

modifiedpallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth

no syntactic changes