Skip to content

Instantly share code, notes, and snippets.

@AndreiMVP
AndreiMVP / HumanSafeModule.sol
Last active July 3, 2023 10:19
A module that allows the owner of a safe registered on Proof of Humanity v2 to swap his old address with the new address corresponding to his PoH ID. Module is deployed with the PoH and Safe instances (the safe being used as governor; authorized is the keyword used for functions only the safe is allowed to call) and added to Gnosis Safe as a mod…
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;
contract Enum {
enum Operation {
Call,
DelegateCall
}
}