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: MIT | |
| pragma solidity ^0.8.24; | |
| /** | |
| DEAR Airdrop Claim | |
| Call claim function with generated Signature | |
| */ | |
| interface IERC20{ | |
| function allowance(address owner, address spender) external view returns (uint256); |
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
| // File: @openzeppelin/contracts@5.0.2/token/ERC20/IERC20.sol | |
| // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) | |
| pragma solidity ^0.8.20; | |
| /** | |
| * @dev Interface of the ERC20 standard as defined in the EIP. |
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: UNLICENSED | |
| pragma solidity ^0.8.10; | |
| struct User{ | |
| uint startBlock; | |
| uint endBlock; | |
| uint totalStakedAmount; | |
| uint startEpoch; | |
| uint endEpoch; | |
| uint pastReward; |
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.5.3; | |
| import "./PermissionsUpgradable.sol"; | |
| /** @title Account manager contract | |
| * @notice This contract holds implementation logic for all account management | |
| functionality. This can be called only by the implementation contract only. | |
| there are few view functions exposed as public and can be called directly. | |
| these are invoked by quorum for populating permissions data in cache | |
| * @dev account status is denoted by a fixed integer value. The values are |
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: UNLICENSED | |
| pragma solidity ^0.8.10; | |
| struct User{ | |
| uint startBlock; | |
| uint endBlock; | |
| uint totalStakedAmount; | |
| uint startEpoch; | |
| uint endEpoch; | |
| uint pastReward; |
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.4.18; | |
| contract WCIC { | |
| string public name = "Wrapped CIC"; | |
| string public symbol = "WCIC"; | |
| uint8 public decimals = 18; | |
| event Approval(address indexed src, address indexed guy, uint wad); | |
| event Transfer(address indexed src, address indexed dst, uint wad); | |
| event Deposit(address indexed dst, uint wad); |
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: UNLICENSED | |
| pragma solidity ^0.8.10; | |
| struct User{ | |
| uint startBlock; | |
| uint endBlock; | |
| uint totalStakedAmount; | |
| uint startEpoch; | |
| uint endEpoch; | |
| uint pastReward; |
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
| // File: @openzeppelin/contracts/utils/Context.sol | |
| // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) | |
| pragma solidity ^0.8.0; | |
| /** | |
| * @dev Provides information about the current execution context, including the |
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
| // File: @openzeppelin/contracts/utils/Context.sol | |
| // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) | |
| pragma solidity ^0.8.0; | |
| /** | |
| * @dev Provides information about the current execution context, including the |
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: MIT | |
| pragma solidity ^0.8.0; | |
| import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
| contract BaseToken is ERC20{ | |
| constructor(uint supply) | |
| ERC20("Base","BASE"){ | |
| _mint(msg.sender,supply); |
NewerOlder