22 lines
594 B
Solidity
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;
|
|
}
|
|
}
|