proposal-47/contracts/AirdropRecipients.sol
2024-02-10 18:43:54 +00:00

22 lines
594 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import "./libraries/Types.sol";
/**
* @notice i create separate contract bcs i will use the same airdrop recipients in two proposals
*/
contract AirdropRecipients {
Types.Recipient[] public airdropRecipients;
constructor(Types.Recipient[] memory _recipients) {
for (uint256 i = 0; i < _recipients.length; i++) {
airdropRecipients.push(_recipients[i]);
}
}
function getAirdropRecipients() external view returns (Types.Recipient[] memory) {
return airdropRecipients;
}
}