Documentation
  • PROTOCOL
    • About
    • Glossary
    • Protocol Roles
      • Creators
        • Creator NFT (mNFT)
      • Players
      • Analysts
        • Analyst NFT (vNFT)
      • Dispute Resolution
        • High Guard
    • FORE Markets
      • Market Types
      • Payout Logic
      • Protocol Rewards
    • Market Phases
      • Creation Phase
      • Participation Phase
      • Validation Phase
      • Dispute Phase
      • Resolution Phase
    • Protocol Rewards
      • Player Rewards
      • Infrastructure Rewards
      • NFT Tiers
    • NFT Marketplace
    • Config
      • Protocol Config
      • Market Config
  • DEVELOPERS
    • Addresses and Config
    • Smart Contracts
      • ForeMarkets (Factory)
      • ForeMarket
      • ProtocolConfig
      • MarketConfig
      • ForeAnalysts
      • ForeToken
    • IPFS
      • Verifier NFT Metadata Format
      • Market NFT Metadata Format
      • Market Object Format
      • Base58 <->Bytes32
Powered by GitBook
On this page
  • transfersAllowed
  • height
  • powerOf
  • initialPowerOf
  • factory
  • setFactory
  • setTransferAllowance
  • mintWithPower
  • increasePower
  • decreasePower
  1. DEVELOPERS
  2. Smart Contracts

ForeAnalysts

Extends ERC721 token standard

transfersAllowed

Transfers may be restricted to operatorsInput/OutputData TypeVariable NameCommentoutputboolN/Atrue if allowed

height

Tokens counterInput/OutputData TypeVariable NameCommentoutputuint256N/Atokens created

powerOf

Returns current power of tokenInput/OutputData TypeVariable NameCommentinputuint256id​outputuint256N/Apower of token

initialPowerOf

Returns initial power of tokenInput/OutputData TypeVariable NameCommentinputuint256id​outputuint256N/Ainitial power of

factory

Returns market factory contract addressInput/OutputData TypeVariable NameCommentoutputaddressN/Aaddress of factory

setFactory

Changes factory contractInput/OutputData TypeVariable NameCommentinputundefinedaddrNew contract

setTransferAllowance

Changes transferability featureInput/OutputData TypeVariable NameCommentinputboolstatusStatus

mintWithPower

Mints token with defined powerInput/OutputData TypeVariable NameCommentinputaddresstoRecipientinputuint256powerPower

increasePower

Increase token powerInput/OutputData TypeVariable NameCommentinputuint256idToken Idinputuint256powerDeltaPower delta

decreasePower

Decrease token power (f.e. penalty)Input/OutputData TypeVariable NameCommentinputuint256idToken Idinputuint256powerDeltaPower delta

PreviousMarketConfigNextForeToken

Last updated 2 years ago