proposal-47/contracts/libraries/Types.sol

22 lines
454 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
library Types {
struct Stream {
uint256 deposit;
uint256 ratePerSecond;
uint256 remainingBalance;
uint256 initialLockedBalance;
uint256 startTime;
uint256 stopTime;
address recipient;
bool isEntity;
}
struct Recipient {
address addr;
uint256 deposit;
uint256 initialLockedBalance;
}
}