Vingt.io
  • Introduction
    • Problem Statement & Solution
    • Introduction to Vingt.io
      • Vingt.io Index and Strategy Protocol (VISP)
  • Vingt.io Products
    • Index Tokens
    • Leveraged Tokens
  • Vingt.io Ecosystem
    • Ecosystem Overview
      • AI Smart Agents
      • Volar (Wallet)
      • Zero Liq (Dex)
      • Vingt Labs
    • Roadmap
  • Tokenomics
    • Token Utility
    • Token Distribution
    • Incentives
    • Economic Sustainability
  • Technical Guide
    • VISP Technical Foundation
      • Contract Functions
        • Set Token
        • SetTokenCreator
        • Controller
        • IntegrationRegistry
        • BasicIssuanceModule
        • DebtIssuanceModuleV3
        • TradeModule
        • StreamingFeeModule
        • AaveV3LeverageModule
      • Index Token Manger Guide
        • Creating a Set
        • Adding a Module
        • Configuring a Set
        • Basic Issuance
        • Trading
          • Via 0x
        • Charging a Streaming Fee
    • Deployed Contracts
    • Multisig Wallets
  • Miscellaneous
    • Audit and Security (VISP)
    • FAQs
    • Legal
      • Privacy Policy (Vingt.io)
      • Terms of Service (dApp)
      • Tokens Restricted for Restricted Persons
Powered by GitBook
On this page
  1. Technical Guide
  2. VISP Technical Foundation
  3. Contract Functions

Controller

Contract that registers system contracts such as added Sets, modules, factories, resources (like price oracles), and protocol fee configurations.

Select View Methods

getModuleFee()

function getModuleFee(address _moduleAddress, uint256 _feeType) external view returns (uint256)Returns the protocol fee for a given module.

Parameter Name

Type

Description

_moduleAddress

address

Address of module

_feeType

uint256

Fee type

Return Name

Type

Description

fee

uint256

Stored protocol fee on module

isSystemContract()

function isSystemContract(address _contractAddress) external view returns (bool)Check if a contract address is a module, Set, resource, factory or controller.

Parameter Name

Type

Description

_contractAddress

address

Address of contract

Return Name

Type

Description

isSystemContract

bool

Boolean that returns if address is part of Set system

PreviousSetTokenCreatorNextIntegrationRegistry

Last updated 7 months ago