💻
MISO
  • Minimal Initial SushiSwap Offering
  • Ingredients
  • Recipes
  • FAQ
  • Navigating and using MISO
    • Participating in an Auction
  • Token Factory
    • Token Minting & Verification
  • Marketplace
    • Marketplace for Tokens
    • Permission Lists
  • Liquidity
    • Post Auction Launcher
  • Farmed Produce
    • MasterChef Farming
  • Fermentation Vaults
    • Vaults & Escrow
  • Developer
    • MISOTokenFactory Contracts
      • Sushi Token Smart Contract
      • Mintable Token Smart Contract
      • Fixed Supply Token Smart Contract
      • Admin Functions Overview
    • MISOMarket Contracts
      • Hyperbolic Auction Smart Contract
      • Batch Auction Smart Contract
      • Dutch Auction Smart Contract
      • Crowdsale Smart Contract
      • Admin Functions Overview
    • MISOFarmFactory Contracts
      • Miso MasterChef Contract
      • Miso MasterChefV2 Contract
      • Admin Functions Overview
    • MISOLauncher Contracts
      • Post Auction Launcher
      • Liquidity ZAP Contract
      • Admin Functions Overview
    • MISOFermentation Contracts
      • Gnosis Safe Factory Contract
      • Token Vault Contract
      • Admin Functions Overview
  • External Links
  • Socials
Powered by GitBook
On this page

Was this helpful?

  1. Developer
  2. MISOMarket Contracts

Admin Functions Overview

Collection of all the Admin functions from MISO Markets

Functions common for all the Markets

function finalize() public

Manually finalizes the Crowdsale. Requires Operator Role.

function setDocument(
        bytes32 _name, 
        string calldata _uri, 
        bytes32 _documentHash
    ) 
        external

Parameter

Description

_name

Name of the document. It should be unique always.

_uri

Off-chain uri of the document from where it is accessible to investors/advisors to read.

_documentHash

Hash (of the contents) of the document.

Used to attach a new document to the contract, or update the URI or hash of an existing attached document. Requires Operator Role.

function removeDocument(bytes32 _name) external

Parameter

Description

_name

Name of the document. It should be unique always.

Used to remove an existing document from the contract by giving the name of the document. Requires Operator Role.

function setList(address _list) external

Parameter

Description

_list

List address.

Sets a pointlist for the crowdsale. Requires Operator Role.

function enableList(bool _status) external

Parameter

Description

_status

Whether list is enabled or not.

Sets pointlist status - enabled or disabled. Requires Operator Role.

PreviousCrowdsale Smart ContractNextMISOFarmFactory Contracts

Last updated 4 years ago

Was this helpful?