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
  • _accounts
  • registerAccount
  • Parameters
  • updateTier
  • Parameters
  • haultAccount
  • Parameters
  • unhaultAccount
  • Parameters
  • banAccount
  • Parameters
  • unbanAccount
  • Parameters
  • getAccount
  • Parameters
  • Return Values
  • isAccountRegistered
  • Parameters
  • Return Values
  • isAccountActive
  • Parameters
  • Return Values
  • isAccountHaulted
  • Parameters
  • Return Values
  • isAccountBanned
  • Parameters
  • Return Values
  1. marketplace
  2. kycs

KYCRegistry

This contract includes all the functions to manage KYC verified accounts.

_accounts

mapping(address => struct Account) _accounts

registerAccount

function registerAccount(address _account, bytes32 _tier) public

Register a new account for KYC process

Register a new account and associate it with a tier, country and region

Parameters

Name
Type
Description

_account

address

The address of the account to register

_tier

bytes32

The tier level of the account

updateTier

function updateTier(address _account, bytes32 _tier) public

Update the tier level of an existing account

Updates the tier level of a registered account

Parameters

Name
Type
Description

_account

address

The address of the account to update

_tier

bytes32

The new tier level of the account

haultAccount

function haultAccount(address _account) public

Temporarily disable an account

Temporarily haults an account

Parameters

Name
Type
Description

_account

address

The address of the account to hault

unhaultAccount

function unhaultAccount(address _account) public

Reactivate a temporarily disabled account

Unhaults a haulted account

Parameters

Name
Type
Description

_account

address

The address of the account to unhault

banAccount

function banAccount(address _account) public

Permanently ban an account

Bans an account from the system

Parameters

Name
Type
Description

_account

address

The address of the account to ban

unbanAccount

function unbanAccount(address _account) public

Unban a previously banned account

Unbans a banned account

Parameters

Name
Type
Description

_account

address

The address of the account to unban

getAccount

function getAccount(address _account) public view returns (struct Account)

Get the details of an account

Fetches the Account details for the given account address

Parameters

Name
Type
Description

_account

address

The address of the account

Return Values

Name
Type
Description

[0]

struct Account

The Account struct containing account details

isAccountRegistered

function isAccountRegistered(address _account) public view returns (bool)

Checks if an account is registered

Checks the registry if an account address is registered

Parameters

Name
Type
Description

_account

address

The address of the account

Return Values

Name
Type
Description

[0]

bool

A boolean value indicating if the account is registered

isAccountActive

function isAccountActive(address _account) public view returns (bool)

Checks if an account is active

Checks the status of an account if it is active

Parameters

Name
Type
Description

_account

address

The address of the account

Return Values

Name
Type
Description

[0]

bool

A boolean value indicating if the account is active

isAccountHaulted

function isAccountHaulted(address _account) public view returns (bool)

Checks if an account is haulted

Checks the status of an account if it is haulted

Parameters

Name
Type
Description

_account

address

The address of the account

Return Values

Name
Type
Description

[0]

bool

A boolean value indicating if the account is haulted

isAccountBanned

function isAccountBanned(address _account) public view returns (bool)

Checks if an account is banned

Checks the status of an account if it is banned

Parameters

Name
Type
Description

_account

address

The address of the account

Return Values

Name
Type
Description

[0]

bool

A boolean value indicating if the account is banned

PreviousIKYCRegistryNextmarkets

Last updated 1 year ago