Skip to content

Commit

Permalink
fix marketplace txes
Browse files Browse the repository at this point in the history
  • Loading branch information
judezhu committed Aug 28, 2024
1 parent 836b430 commit da3f48d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 320 deletions.
13 changes: 6 additions & 7 deletions contracts/MarketTopShotOldVersion.cdc → contracts/Market.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
deposited to.
*/

import FungibleToken from 0xFUNGIBLETOKENADDRESS
import DapperUtilityCoin from 0xDUCADDRESS
import NonFungibleToken from 0xNFTADDRESS
import TopShot from 0xTOPSHOTADDRESS
import FungibleToken from 0x9a0766d93b6608b7
import DapperUtilityCoin from 0x82ec283f88a62e65
import NonFungibleToken from 0x631e88ae7f1d7c20
import TopShot from 0x877931736ee77cff

access(all) contract Market {

Expand All @@ -61,7 +61,6 @@ access(all) contract Market {
//
// The interface that a user can publish their sale as
// to allow others to access their sale
/// Deprecated: This is no longer used for defining access control anymore.
access(all) resource interface SalePublic {
access(all) var cutPercentage: UFix64
access(all) fun purchase(tokenID: UInt64, buyTokens: @DapperUtilityCoin.Vault): @TopShot.NFT {
Expand All @@ -78,7 +77,7 @@ access(all) contract Market {
(result == nil) || (result?.id == id):
"Cannot borrow Moment reference: The ID of the returned reference is incorrect"
}
}
}
}

// SaleCollection
Expand Down Expand Up @@ -256,4 +255,4 @@ access(all) contract Market {
access(all) fun createSaleCollection(ownerCapability: Capability, beneficiaryCapability: Capability, cutPercentage: UFix64): @SaleCollection {
return <- create SaleCollection(ownerCapability: ownerCapability, beneficiaryCapability: beneficiaryCapability, cutPercentage: cutPercentage)
}
}
}
300 changes: 0 additions & 300 deletions contracts/MarketTopShot.cdc

This file was deleted.

Loading

0 comments on commit da3f48d

Please sign in to comment.