To prepare for https://github.com/endojs/endo/pull/1712 , first abstract access to the contents of the guards. Once agoric-sdk is updated to a version of endo with this PR, its use of guards can be switched from directly accessing record properties, which would break on transition to #1712 , to calling the getters defined here, which will work before and after.
Once all such access is changed, we can then do a later endo release incorporating #1712 without breaking agoric-sdk.
To prepare for https://github.com/endojs/endo/pull/1712 , first abstract access to the contents of the guards. Once agoric-sdk is updated to a version of endo with this PR, its use of guards can be switched from directly accessing record properties, which would break on transition to #1712 , to calling the getters defined here, which will work before and after.
Once all such access is changed, we can then do a later endo release incorporating #1712 without breaking agoric-sdk.