filecoin
filecoin copied to clipboard
checking this outside requires an extra load (same for transfer_from)
checking this outside requires an extra load (same for transfer_from)
alternatively this logic can be written in the predicate which means it will be checked for each token. this is not so bad if the predicate has the internally pre-loaded hamt available.
Originally posted by @alexytsu in https://github.com/helix-onchain/filecoin/pull/164#discussion_r1042841468