CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
--> 7832fb0883ac660ba870ab4c97e79b4ac025ccddb7aa962cb1c89e0a9c5dba6f:18:30
|
18 | self.barterYardTraits = BarterYardClubWerewolf.getNftTraits()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `[BarterYardClubWerewolf.NftTrait]`, got `{UInt8: BarterYardClubWerewolf.NftTrait}`
error: value of type `[BarterYardClubWerewolf.NftTrait]` has no member `containsKey`
--> 7832fb0883ac660ba870ab4c97e79b4ac025ccddb7aa962cb1c89e0a9c5dba6f:31:43
|
31 | assert(self.barterYardTraits.containsKey(traitID), message: "[Admin](putWerewolfForSale): Trait is not supported.")
| ^^^^^^^^^^^ unknown memb
Arguments:
recipient:
0x28abb9f291cadaf2
bafybeibe4dtu233ufco2oqsdo5zrcconxoiquaxe2ryc2jv27jnmyvmsvu:
[105,162,23,38,37,151,95,52]
bafybeiduw7jozybauplahs7ggnh7xxcf6fhxkckagctlgmvno4nzbi2iaq:
[104,47,116,38,35,94,81,49]
bafybeie5iz3jbgghe5un6yuaj3ifkembug57kh6cj5r6dmmnqhxoicwo34:
[102,159,17,41,37,94,78,52]
bafybeifxb4mawufieq7ml2fghj4fvwxwyge5dk76by6cgytfleynvphzwe:
[107,46,10,38,37,88,81,54]
bafybeihk6pqkzur5e4fbpgz5x543k7rymnz4pqdhexet4u7cctcfd6wmee:
[104,156,97,40,100,89,95,96]