Proposing an Index
First step in the basket creation process is for an index publisher to propose a new index. The proposer calls proposeBasketLicense
on the factory contract. This contract takes the following inputs:
tokenName
Full name of the basket token
tokenSymbol
Symbol for the basket token
tokens
array of token contract addresses that will be included in the index
weights
the amount of tokens (uint256) in 1 basket token upon basket's creation
The protocol will assign an idNumber
to the proposal.
Last updated