Suppose I have one contract, Contract 1, that is parameterized by type
Contract1Params{
tokenName :: BuiltinByteString
}
and I have a minting policy that will only mint a token with tokenName
tn to the address of Contract 1 parameterized by c1p
where tokenName c1p
is tn.
So I need to get the address of parameterized contract from the token name of the token that is attempting to be minted from within the minting policy. Not sure how to do this with on chain code. Any ideas?