I believe with this operation ooDavbDYs9SkBR4JoaUxTBysvEnd7y1gP1ZDGddQgfQZaURpdjx I have created a token. This is the entry point I called
@sp.entry_point
def mintDiezDAO(self, params):
sp.verify(sp.sender == self.data.administrator)
sp.set_type(params, sp.TList(sp.TRecord(to_=sp.TAddress, amount=sp.TNat)))
sp.for e in params:
user = self.ledger_key.make(e.to_, 0)
sp.if self.data.ledger.contains(user):
self.data.ledger[user].balance += e.amount
sp.else:
self.data.ledger[user] = Ledger_value.make(e.amount)
sp.if self.data.token_metadata.contains(0):
pass
sp.else:
self.data.token_metadata[0] = sp.record(
token_id=0,
token_info={"": sp.pack("ipfs://QmXvuWe3oA8vbJ2g5ERKiECfkCPgYxuC2ZyK9QomtaCiKy")}
)
But in the wallet, the icon and the unit are not displayed.
Do I need to call the Token_metadata first?
But then, what do I need to pass as Handler?
Any help really appreciated,