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
  • MAX_FEE
  • MAX_PRICE
  • marketConfig
  • foundationWallet
  • revenueWallet
  • highGuard
  • marketplace
  • foreToken
  • foreVerifiers
  • marketCreationPrice
  • verifierMintPrice
  • setMarketConfig
  • setFoundationWallet
  • setRevenueWallet
  • setHighGuard
  • setMarketplace
  • setVerifierMintPrice
  • setMarketCreationPrice
  1. DEVELOPERS
  2. Smart Contracts

ProtocolConfig

MAX_FEE

Returns Max fee (1 = 0.01%)

MAX_PRICE

Returns Max price (FORE)

marketConfig

Returns address of current market configurationConfiguration for created market is immutable. New configuration will be used only in newly created markets

foundationWallet

Returns address of foundation account

revenueWallet

Returns address of revenue account

highGuard

Returns address of high guard account

marketplace

Returns address of marketplace account

foreToken

Returns address of fore token contract

foreVerifiers

Returns address of foreVerifiers contract

marketCreationPrice

Returns market creation price (in FORE) (wei)

verifierMintPrice

Returns minting verifiers NFT price (in FORE) (wei)

setMarketConfig

Updates current configurationInput/OutputData TypeVariable NameCommentinputuint256verifierMintPriceP​inputuint256disputePriceP​inputuint256creationPriceP​inputuint256reportPeriodP​inputuint256verificationPeriodP​inputuint256burnFeeP​inputuint256foundationFeeP​inputuint256revenueFeeP​inputuint256marketCreatorFeeP​inputuint256verificationFeeP​

setFoundationWallet

Changes foundation accountInput/OutputData TypeVariable NameCommentinputaddress_newAddrNew address

setRevenueWallet

Changes revenue accountInput/OutputData TypeVariable NameCommentinputaddress_newAddrNew address

setHighGuard

Changes high guard accountInput/OutputData TypeVariable NameCommentinputaddress_newAddrNew address

setMarketplace

Changes marketplace contract addressInput/OutputData TypeVariable NameCommentinputaddress_newAddrNew address

setVerifierMintPrice

Changes verifier mint priceInput/OutputData TypeVariable NameCommentinputuint256_amountPrice (FORE)

setMarketCreationPrice

Changes market creation priceInput/OutputData TypeVariable NameCommentinputuint256_amountPrice (FORE)

PreviousForeMarketNextMarketConfig

Last updated 2 years ago