RubyscoreSignCheckModule

This module can be used by portal to require a signature from an authorized signer before issuing attestations.

NAME

string NAME

VERSION

string VERSION

ArrayLengthMismatch

error ArrayLengthMismatch()

Error thrown when an array length mismatch occurs

SignerNotAuthorized

error SignerNotAuthorized()

Error thrown when a signer is not authorized by the module

SignerAuthorized

event SignerAuthorized(address signer)

Event emitted when the authorized signers are set

constructor

constructor(address initialOwner, address _signer) public

Contract constructor sets the portal registry

getSigner

function getSigner() external view returns (address)

setAuthorizedSigners

function setAuthorizedSigners(address _signer) public

Set the accepted status of schemaIds

Parameters

run

function run(struct AttestationPayload _attestationPayload, bytes _validationPayload, address _txSender, uint256) public view

The main method for the module, running the check

Parameters

Last updated