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

SetTokenCreator

SetTokenCreator is a smart contract used to deploy new SetToken contracts. The SetTokenCreator is a Factory contract that is enabled by the controller to create and register new SetTokens.

Select Methods

create()

function create(address[] memory _components, int256[] memory _units, address[] memory _modules, address _manager, string memory _name, string memory _symbol) external returns (address)Creates a SetToken smart contract and registers the SetToken with the controller. The SetTokens are composed of positions that are instantiated as DEFAULT (positionState = 0) state.

Parameter Name

Type

Description

_components

address[]

List of addresses of components for initial positions

_units

uint256[]

List of units. Each unit is the # of components per 10^18 of a SetToken

_modules

address[]

List of modules to enable. All modules must be approved by the Controller

_manager

address

Address of the manager

_name

string

Name of the SetToken

_symbol

string

Symbol of the SetToken

Return Name

Type

Description

setTokenAddress

address

Address of the newly created SetToken

PreviousSet TokenNextController

Last updated 6 months ago