class SCHEMA_CLS(BaseSchema): id = BlockIDField(required=True) key = fields.SecretKey(required=True) offset = fields.Integer(required=True, validate=validate.Range(min=0)) size = fields.Integer(required=True, validate=validate.Range(min=0)) digest = fields.HashDigest(required=True) @post_load def make_obj(self, data: Dict[str, Any]) -> "BlockAccess": return BlockAccess(**data)
class Invite2aGreeterGetHashedNonceRepSchema(BaseRepSchema): claimer_hashed_nonce = fields.HashDigest(required=True)
class Invite2aClaimerSendHashedNonceHashNonceReqSchema(BaseReqSchema): claimer_hashed_nonce = fields.HashDigest(required=True)