This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: Apache 2 | |
pragma solidity ^0.8.0; | |
import "./Messages.sol"; | |
contract Encoder is Messages { | |
uint8 public constant SOL_STREAM = 1; | |
uint8 public constant TOKEN_STREAM = 2; | |
uint8 public constant SOL_WITHDRAW_STREAM = 3; | |
uint8 public constant TOKEN_WITHDRAW_STREAM = 4; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.6.0; | |
pragma experimental ABIEncoderV2; | |
import "./RealitioERC20.sol"; | |
// openzeppelin imports | |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.6.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity =0.6.11; | |
import "./IERC20.sol"; | |
import "./MerkleProof.sol"; | |
import "./IALMMerkleDistributor.sol"; | |
contract ALMMerkleDistributor is IALMMerkleDistributor { | |
// address of stable coin i.e USDT | |
address public immutable override token; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; | |
import "@openzeppelin/contracts/utils/Counters.sol"; | |
import "@openzeppelin/contracts/access/AccessControl.sol"; | |
import "@openzeppelin/contracts/utils/math/SafeMath.sol"; | |
import "./WALM.sol"; | |
import "./Presale.sol"; | |
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; |