Colle Marketplace
Colle.ioWebApp (Live)WebApp (Test)
  • Contracts Overview
  • Functional Requirements
  • Contract Descriptions
  • Technical Project & Audit Details
  • Test Coverage Report
  • Static Analysis
  • Royalty Pool Explained
  • Sale State Explained
  • Sales Tax Explained
  • marketplace
    • IMarketHub
    • IMarketHubRegistrar
    • MarketHub
    • MarketHubRegistrar
    • MarketHubRegistrarUpgradeable
    • collections
      • ColleCollection
      • ColleCollectionUpgradeable
      • CollectionRegistry
      • IColleCollection
      • IColleCollectionUpgradeable
      • ICollectionRegistry
    • currencies
      • BaseCurrency
      • CurrencyRegistry
      • ICurrency
      • ICurrencyRegistry
      • USDCCurrency
    • escrow
      • EscrowUpgradeable
      • IEscrow
      • IEscrowRegistry
    • kycs
      • Account
      • IKYCRegistry
      • KYCRegistry
    • markets
      • BaseMarketUpgradeable
      • IListingMarket
      • IMarket
      • IMarketRegistry
      • IOfferMarket
      • ListingMarketUpgradeable
      • MarketRegistry
      • OfferMarketUpgradeable
    • royalties
      • BaseRoyalty
      • BlackTierRoyalty
      • GoldTierRoyalty
      • GreenTierRoyalty
      • IRoyalty
      • IRoyaltyPool
      • IRoyaltyRegistry
      • PlatinumTierRoyalty
      • RoyaltyPool
      • RoyaltyRegistry
      • v1
        • BlackTierRoyaltyV1
        • GoldTierRoyaltyV1
        • GreenTierRoyaltyV1
        • PlatinumTierRoyaltyV1
    • taxes
      • ITaxPolicyRegistry
      • Tax
      • TaxPolicyRegistry
    • upgrade-gatekeeper
      • IUpgradeGatekeeper
      • UpgradeGatekeeper
    • vaults
      • IVault
      • IVaultRegistry
      • VaultUpgradeable
  • team-smart-wallet
    • ITeamSmartWallet
    • ITeamSmartWalletHelper
    • TeamSmartWallet
    • TeamSmartWalletFactory
    • TeamSmartWalletPermitHelper
  • utils
    • MarketAccess
    • MarketAccessUpgradeable
    • Signature
    • SignatureValidator
Powered by GitBook
On this page
  • Audit
  • Branch
  • Scope
  • Blockchain
  • Language
  • Contract Dependencies
  • Environment
  • Scripts
  • Compile
  • Tests
  • Coverage
  • Linter (Solhint)
  • Static Analyzer
  • Deployment

Technical Project & Audit Details

Audit

Branch

The audit branch is frozen at commit hash f2ada0a6f7b98649542494b721771671c4c155fc for the audit. No changes to the apps/contracts module will occur until the auditors suggest changes to the code.

Scope

The scope of the requested audit is the following:

All contracts in the apps/contracts/contracts folder, with the exception of the following files:

marketplace/collections/ColleCollection.ts

marketplace/collections/USDCCurrency.sol

marketplace/royalties/BlackTierRoyalty.sol

marketplace/royalties/GoldTierRoyalty.sol

marketplace/royalties/GreenTierRoyalty.sol

marketplace/royalties/PlatinumTierRoyalty.sol

team-smart-wallet/ITeamSmartWalletPermitHelper.sol

team-smart-wallet/TeamSmartWalletPermitHelper.sol

team-smart-wallet/TeamSmartWalletFactory.sol

mock/*.sol

Blockchain

We are a EVM protocol, testing on Mumbai, with intentions to deploy to Polygon.

Language

All contract code is written in pure Solidity v0.8.18

Contract Dependencies

All dependencies come from the OpenZeppelin contracts and contracts-upgradeable 4.8.3 libraries.

Environment

Contracts were written in a Hardhat project as part of our monorepo

Scripts

From root, run pnpm install first to ensure apps/contracts installs all packages

cd into apps/contracts afterwards and run the following commands

Compile

pnpm run compile

Tests

pnpm run test

Coverage

To generate a test coverage report from root, run:

pnpm run coverage

Linter (Solhint)

pnpm run solhint

Static Analyzer

pnpm run slither

Deployment

To deploy the full suite for manual testing, run from root:

npx hardhat deployMarket --relayer "0xRelayerAddress" --comissions "0xComissionsAddress" --network mumbai

Replace "0xRelayerAddress" with your relayer address (for Colle, it's our OpenZeppelin Defender Relayer address)

Replace "0xComissionsAddress" with the address who you want to receive commission payouts (for Colle, it's the companies address)

PreviousContract DescriptionsNextTest Coverage Report

Last updated 1 year ago

As slither does not rely on npx or npm and instead pip/pip3, you will need to

follow the setup on the website