Пример #1
0
        public override BoolValue ValidateProposerInWhiteList(ValidateProposerInWhiteListInput input)
        {
            var organization = State.Organizations[input.OrganizationAddress];

            return(new BoolValue
            {
                Value = organization.ProposerWhiteList.Contains(input.Proposer)
            });
        }
Пример #2
0
 public override BoolValue ValidateProposerInWhiteList(ValidateProposerInWhiteListInput input)
 {
     return(new BoolValue {
         Value = ValidateAddressInWhiteList(input.Proposer)
     });
 }