Git Source

Inherits: Initializable, AccessControlUpgradeable, UUPSUpgradeable, PausableUpgradeable, ReentrancyGuardUpgradeable

This contract manages the distribution of coupon shares to users based on their bond token balances.

State Variables

GOV_ROLE

Role identifier for accounts with governance privileges

bytes32 public constant GOV_ROLE = keccak256("GOV_ROLE");

pool

Pool address

Pool public pool;

couponAmountToDistribute

Coupon token total amount to be distributed

uint256 public couponAmountToDistribute;

Functions

constructor

Note: constructor

constructor();

initialize

Initializes the contract with the governance address and sets up roles. This function is called once during deployment or upgrading to initialize state variables.

function initialize(address _governance, address _pool) public initializer;