Update token entitlement logic to handle multiple tokens, decode entitlement data into structs (#729)

This change updates token entitlement data structures and allows for
multiple tokens to be set for a single role, permitting the AND
operation for multiple token requirements.

It also decodes structs when creating a space and setting a new token
entitlement.

Added new tests for multiple tokens gating a role. 

Also generates localhost AND Goerli ABIs.

Forge and integration tests all pass
This commit is contained in:
Pat Fives 2022-10-26 00:02:11 -04:00 committed by GitHub
parent 322e63e912
commit 4c9f469a0c
2 changed files with 294 additions and 86 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long