Minting
Yep, we mint assets...
The buyer creates a representation in JSON format of the entire trade. We are still defining the JSON structure but it will be something like this:
Approval
When minting an asset, the seller pays a fee to the DAO. This fee is dependent on the tokens the asset is linked to. If an asset deals in two tokens, then a fee is paid for each token.
Prior to minting the asset, the seller must approve a transfer for each token.
Initiate
As previously stated, initiating the asset means we are minting an NFT. This minting happens by calling a custom function as per the code below:
Minting the asset results in a tokenId which is used to identify the asset in the platform.
Members
Assets can have beneficial members different to the owner of the asset. These members are able to withdraw tokens that are in the balance of the Asset / NFT. The percentage of the tokens that the members are able to withdraw are defined by the weights. In the case above, member 1 is able to withdraw 2 / 3 the total tokens while member 2 can withdraw 1 / 3.
Last updated