Mint new basket
This is where a user can mint his or her basket NFT by calling the following function in the game contract:
function mintNewBasket(uint256 _vaultNumber) external returns(uint256)
Where the _vaultNumber
refers to the vault number for which the user wishes to create a basket. By calling this function the user will mint an NFT on the game contract. The function returns the basketId
wich refers to the NFT the user has minted. By rebalancing this basket, as explained in the next section, the user can lock DRB tokens and start putting allocations to different protocols.
Last updated