ITokenSaleProposal
Interface Description
License: MIT
The contract for the additional proposal with custom settings. This contract acts as a marketplace to provide DAO pools with the ability to sell their own ERC20 tokens.
Enums info
ParticipationType
The enum that represents the type of requirements to participate in the tier
Parameters:
Structs info
TierMetadata
Metadata of the tier that is part of the initial tier parameters
Parameters:
VestingSettings
Vesting parameters that are part of the initial tier parameters
Parameters:
ParticipationDetails
Participation details that are part of the initial tier parameters
Parameters:
TierInitParams
Initial tier parameters
Parameters:
VestingTierInfo
Vesting tier-related parameters
Parameters:
TierInfo
Dynamic tier parameters
Parameters:
PurchaseInfo
Purchase parameters
Parameters:
PurchaseView
Purchase parameters. This struct is used in view functions as part of a return argument
Parameters:
VestingUserInfo
Vesting user-related parameters
Parameters:
VestingUserView
Vesting user-related parameters. This struct is used in view functions as part of a return argument
Parameters:
ParticipationInfo
Participation parameters. Users should meet all the requirements in order to participate in the tier
Parameters:
UserInfo
User parameters
Parameters:
UserView
User parameters. This struct is used in view functions as a return argument
Parameters:
Tier
Tier parameters
Parameters:
TierView
Tier parameters. This struct is used in view functions as a return argument
Parameters:
WhitelistingRequest
Whitelisting request parameters. This struct is used as an input parameter to the whitelist update function
Parameters:
Functions info
latestTierId (0x83d36375)
This function is used to get id (index) of the latest tier of the token sale
Return values:
createTiers (0x6a6effda)
This function is used for tiers creation
Parameters:
addToWhitelist (0xce6c2d91)
This function is used to add users to the whitelist of tier
Parameters:
offTiers (0x20274396)
This function is used to set given tiers inactive
Parameters:
recover (0xc59b695a)
This function is used to return to the DAO treasury tokens that have not been purchased during sale
Parameters:
claim (0x6ba4c138)
This function is used to withdraw non-vesting tokens from given tiers
Parameters:
vestingWithdraw (0xe2bdc496)
This function is used to withdraw vesting tokens from given tiers
Parameters:
buy (0x2afaca20)
This function is used to purchase tokens in the given tier
Parameters:
lockParticipationTokens (0x66813a3b)
This function is used to lock the specified amount of tokens to participate in the given tier
Parameters:
lockParticipationNft (0x1ec3f9b7)
This function is used to lock the specified nft to participate in the given tier
Parameters:
unlockParticipationTokens (0x78ee27d7)
This function is used to unlock participation tokens
Parameters:
unlockParticipationNft (0x9471f309)
This function is used to unlock the participation nft
Parameters:
getSaleTokenAmount (0xceded63c)
This function is used to get amount of TokenSaleProposal
tokens that can be purchased
Parameters:
Return values:
getClaimAmounts (0xd6e93fb2)
This function is used to get information about the amount of non-vesting tokens that user can withdraw (that are unlocked) from given tiers
Parameters:
Return values:
getVestingWithdrawAmounts (0x47d436f7)
This function is used to get information about the amount of vesting tokens that user can withdraw (that are unlocked) from given tiers
Parameters:
Return values:
getRecoverAmounts (0x69bc02d5)
This function is used to get amount of tokens that have not been purchased during sale in given tiers and can be returned to DAO treasury
Parameters:
Return values:
getTierViews (0x884ce0bd)
This function is used to get a list of tiers
Parameters:
Return values:
getUserViews (0xb27f37a2)
This function is used to get user's infos from tiers
Parameters:
Return values: