As mentioned here, please don’t post screenshots of code/errors/logs; use ``` above and below as explained at the link to enclose a block of code.
It depends on what the types are.
If it’s a contract ID, then you probably need to upgrade that contract, too; if the contract ID is referenced from multiple Bet contracts, you probably need to upgrade it separately and pass the new ID in as a choice argument so that you do not turn one old pool contract into a bunch of new pool contracts.
Otherwise, well, suppose I said “write a function that converts from [Int]
to [Text]
”. The only thing that is clear is that you have to do something, you can’t just return the argument; beyond that it depends on what your application needs.