Description:
Application must be able to recieve a list of all items that are going to be imported (asset info + volume), check if the asset is already linked to a token canister, and mint tokens equal to the volume from that canister if it does, create a new canister and mint from it if it does not.
Tasks:
[ ] Receive the list of items to be imported (asset info + volume).
[ ] Parse the received list to extract asset info and volume.
[ ] Check if the asset is already linked to a token canister.
[ ] Query existing token canisters to find a match for the asset.
[ ] If the asset is linked to an existing canister: Mint tokens equal to the volume from the existing canister.
[ ] If the asset is not linked to an existing canister: Create a new token canister.
[ ] Link the asset to the new canister.
[ ] Mint tokens equal to the volume from the new canister.
[ ] Update the asset information with the canister details.
[ ] Handle any errors during the process and ensure proper logging.
Description: Application must be able to recieve a list of all items that are going to be imported (asset info + volume), check if the asset is already linked to a token canister, and mint tokens equal to the volume from that canister if it does, create a new canister and mint from it if it does not.
Tasks: