Solidity API
IAxelarAmplifierGatewayAuth
validateProof
function validateProof(bytes32 dataHash, struct Proof proof) external view returns (bool isLatestSigners)
This function takes messageHash and proof data and reverts if proof is invalid
Parameters
Name |
Type |
Description |
dataHash |
bytes32 |
The hash of the message that was signed |
proof |
struct Proof |
The data containing signers with signatures |
Return Values
Name |
Type |
Description |
isLatestSigners |
bool |
True if provided signers are the current ones |
rotateSigners
function rotateSigners(struct WeightedSigners newSigners) external
This function rotates the current signers with a new set
Parameters
Name |
Type |
Description |
newSigners |
struct WeightedSigners |
The data containing the new signers and their weights |