Difference between interface keys and contract keys? Why do we need interface keys?

Can somebody explain the gibberish in this paragraph?

– Type synonym for Reference. This type is currently used as a work-around given the lack of interface keys.


type R = Reference

– HIDE


– This template is used to key an Account contract. It allows for looking up this contract|
– by key then acquiring the Account contract by fetching its contract id on this contract.|
– As updates are made to an Account, this Reference contract is required to be kept in sync.|
template Reference

1 Like