comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"TOWERChestSale: transfer failed"
pragma solidity 0.6.8; /** * @title TOWERChestSale * A FixedPricesSale contract implementation that handles the purchase of pre-minted ERC-20 TOWER * Chest tokens. */ contract TOWERChestSale is FixedPricesSale { address public immutable tokenHolder; mapping(bytes32 => address) public skuTokens; ...
chest.transferFrom(tokenHolder,purchase.recipient,purchase.quantity*(10**decimals)),"TOWERChestSale: transfer failed"
14,828
chest.transferFrom(tokenHolder,purchase.recipient,purchase.quantity*(10**decimals))
"futureA_ is too small"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "./SwapUtils.sol"; /** * @title AmplificationUtils library * @notice A library to calculate and ramp the A parameter of a given `SwapUtils.Swap` struct. * This library assumes the struct is full...
futureAPrecise.mul(MAX_A_CHANGE)>=initialAPrecise,"futureA_ is too small"
14,924
futureAPrecise.mul(MAX_A_CHANGE)>=initialAPrecise
"trade not enable"
// SPDX-License-Identifier: MIT pragma solidity 0.6.6; /// @title KyberFprReserve version 2 /// Allow Reserve to work work with either weth or eth. /// for working with weth should specify external address to hold weth. /// Allow Reserve to set maxGasPriceWei to trade with contract KyberFprReserveV2 is IKyberRese...
data.tradeEnabled,"trade not enable"
14,942
data.tradeEnabled
"destination is not approved"
// SPDX-License-Identifier: MIT pragma solidity 0.6.6; /// @title KyberFprReserve version 2 /// Allow Reserve to work work with either weth or eth. /// for working with weth should specify external address to hold weth. /// Allow Reserve to set maxGasPriceWei to trade with contract KyberFprReserveV2 is IKyberRese...
approvedWithdrawAddresses[keccak256(abi.encodePacked(address(token),destination))],"destination is not approved"
14,942
approvedWithdrawAddresses[keccak256(abi.encodePacked(address(token),destination))]
Error.UNAUTHORIZED_ACCESS
pragma solidity 0.8.9; /** * @notice Provides modifiers for authorization */ abstract contract AuthorizationBase { /** * @notice Only allows a sender with `role` to perform the given action */ modifier onlyRole(bytes32 role) { require(<FILL_ME>) _; } /** * @...
_roleManager().hasRole(role,msg.sender),Error.UNAUTHORIZED_ACCESS
14,950
_roleManager().hasRole(role,msg.sender)
Error.UNAUTHORIZED_ACCESS
pragma solidity 0.8.9; /** * @notice Provides modifiers for authorization */ abstract contract AuthorizationBase { /** * @notice Only allows a sender with `role` to perform the given action */ modifier onlyRole(bytes32 role) { } /** * @notice Only allows a sender with GOVERNA...
_roleManager().hasRole(Roles.GOVERNANCE,msg.sender),Error.UNAUTHORIZED_ACCESS
14,950
_roleManager().hasRole(Roles.GOVERNANCE,msg.sender)
Error.UNAUTHORIZED_ACCESS
pragma solidity 0.8.9; /** * @notice Provides modifiers for authorization */ abstract contract AuthorizationBase { /** * @notice Only allows a sender with `role` to perform the given action */ modifier onlyRole(bytes32 role) { } /** * @notice Only allows a sender with GOVERNA...
_roleManager().hasAnyRole(role1,role2,msg.sender),Error.UNAUTHORIZED_ACCESS
14,950
_roleManager().hasAnyRole(role1,role2,msg.sender)
Error.UNAUTHORIZED_ACCESS
pragma solidity 0.8.9; /** * @notice Provides modifiers for authorization */ abstract contract AuthorizationBase { /** * @notice Only allows a sender with `role` to perform the given action */ modifier onlyRole(bytes32 role) { } /** * @notice Only allows a sender with GOVERNA...
_roleManager().hasAnyRole(role1,role2,role3,msg.sender),Error.UNAUTHORIZED_ACCESS
14,950
_roleManager().hasAnyRole(role1,role2,role3,msg.sender)
null
pragma solidity 0.5.10; contract ETHx { using SafeMath for uint256; uint256 constant public INVEST_MIN_AMOUNT = 0.1 ether; uint256 constant public BASE_PERCENT = 10; uint256[] public REFERRAL_PERCENTS = [50, 30, 20]; uint256 constant public MARKETING_FEE = 100; uint256 constant public PROJECT_FEE = 100; ...
(marketingAddr!=address(0))&&(projectAddr!=address(0))
14,998
(marketingAddr!=address(0))&&(projectAddr!=address(0))
"Entire allowance already claimed, or no initial aloowance"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "./RoleAware.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; abstract contract ERC20Vestable is RoleAware, ERC20 { // tokens vest 10% every 10 days. `claimFunds` can be called once every 10 days uint256 public claimFrequency = 10 days...
_vestingAllowances[beneficiary]>0&&_vestingAllowances[beneficiary]>=_claimAmounts[beneficiary],"Entire allowance already claimed, or no initial aloowance"
15,107
_vestingAllowances[beneficiary]>0&&_vestingAllowances[beneficiary]>=_claimAmounts[beneficiary]
"Allowance cannot be claimed more than once every 10 days"
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "./RoleAware.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; abstract contract ERC20Vestable is RoleAware, ERC20 { // tokens vest 10% every 10 days. `claimFunds` can be called once every 10 days uint256 public claimFrequency = 10 days...
_lastClaimed[msg.sender]!=0&&now>=_lastClaimed[msg.sender].add(claimFrequency),"Allowance cannot be claimed more than once every 10 days"
15,107
_lastClaimed[msg.sender]!=0&&now>=_lastClaimed[msg.sender].add(claimFrequency)
"Buy on matching market failed"
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../fund/hub/Hub.sol"; import "../fund/trading/Trading.sol"; import "../fund/vault/Vault.sol"; import "../fund/accounting/Accounting.sol"; import "../dependencies/DSMath.sol"; import "./interfaces/IOasisDex.sol"; import "./ExchangeAdapter.sol"; /// @title ...
IOasisDex(targetExchange).buy(uint256(identifier),fillMakerQuantity),"Buy on matching market failed"
15,175
IOasisDex(targetExchange).buy(uint256(identifier),fillMakerQuantity)
"ID cannot be zero"
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../fund/hub/Hub.sol"; import "../fund/trading/Trading.sol"; import "../fund/vault/Vault.sol"; import "../fund/accounting/Accounting.sol"; import "../dependencies/DSMath.sol"; import "./interfaces/IOasisDex.sol"; import "./ExchangeAdapter.sol"; /// @title ...
uint256(identifier)!=0,"ID cannot be zero"
15,175
uint256(identifier)!=0
"Retrieved and passed assets do not match"
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../fund/hub/Hub.sol"; import "../fund/trading/Trading.sol"; import "../fund/vault/Vault.sol"; import "../fund/accounting/Accounting.sol"; import "../dependencies/DSMath.sol"; import "./interfaces/IOasisDex.sol"; import "./ExchangeAdapter.sol"; /// @title ...
address(makerAsset)==orderAddresses[2],"Retrieved and passed assets do not match"
15,175
address(makerAsset)==orderAddresses[2]
null
pragma solidity 0.6.1; import "./FeeManager.sol"; import "../hub/Hub.sol"; import "../shares/Shares.sol"; import "../../dependencies/DSMath.sol"; contract ManagementFee is DSMath { uint public DIVISOR = 10 ** 18; mapping (address => uint) public managementFeeRate; mapping (address => uint) public lastPayout...
lastPayoutTime[msg.sender]==0
15,185
lastPayoutTime[msg.sender]==0
"Not initialized"
pragma solidity 0.6.1; import "./FeeManager.sol"; import "../accounting/Accounting.sol"; import "../hub/Hub.sol"; import "../shares/Shares.sol"; import "../../dependencies/DSMath.sol"; contract PerformanceFee is DSMath { event HighWaterMarkUpdate(address indexed feeManager, uint indexed hwm); uint public consta...
lastPayoutTime[msg.sender]!=0,"Not initialized"
15,186
lastPayoutTime[msg.sender]!=0
"Not within a update window or already updated this period"
pragma solidity 0.6.1; import "./FeeManager.sol"; import "../accounting/Accounting.sol"; import "../hub/Hub.sol"; import "../shares/Shares.sol"; import "../../dependencies/DSMath.sol"; contract PerformanceFee is DSMath { event HighWaterMarkUpdate(address indexed feeManager, uint indexed hwm); uint public consta...
canUpdate(msg.sender),"Not within a update window or already updated this period"
15,186
canUpdate(msg.sender)
"Fund is already initialized"
pragma solidity 0.6.1; import "../../dependencies/DSGuard.sol"; import "./Spoke.sol"; import "../../version/Registry.sol"; /// @notice Router for communication between components /// @notice Has one or more Spokes contract Hub is DSGuard { event FundShutDown(); struct Routes { address accounting; ...
!fundInitialized,"Fund is already initialized"
15,187
!fundInitialized
"Adapter already added"
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../hub/Spoke.sol"; import "../vault/Vault.sol"; import "../policies/PolicyManager.sol"; import "../policies/TradingSignatures.sol"; import "../../factory/Factory.sol"; import "../../dependencies/DSMath.sol"; import "../../exchanges/ExchangeAdapter.sol"; i...
!adapterIsAdded[_adapter],"Adapter already added"
15,205
!adapterIsAdded[_adapter]
"Adapter is not registered"
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../hub/Spoke.sol"; import "../vault/Vault.sol"; import "../policies/PolicyManager.sol"; import "../policies/TradingSignatures.sol"; import "../../factory/Factory.sol"; import "../../dependencies/DSMath.sol"; import "../../exchanges/ExchangeAdapter.sol"; i...
registry.exchangeAdapterIsRegistered(_adapter),"Adapter is not registered"
15,205
registry.exchangeAdapterIsRegistered(_adapter)
"Adapter method not allowed"
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../hub/Spoke.sol"; import "../vault/Vault.sol"; import "../policies/PolicyManager.sol"; import "../policies/TradingSignatures.sol"; import "../../factory/Factory.sol"; import "../../dependencies/DSMath.sol"; import "../../exchanges/ExchangeAdapter.sol"; i...
Registry(routes.registry).adapterMethodIsAllowed(exchanges[exchangeIndex].adapter,methodSelector),"Adapter method not allowed"
15,205
Registry(routes.registry).adapterMethodIsAllowed(exchanges[exchangeIndex].adapter,methodSelector)
'Maker asset not registered'
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../hub/Spoke.sol"; import "../vault/Vault.sol"; import "../policies/PolicyManager.sol"; import "../policies/TradingSignatures.sol"; import "../../factory/Factory.sol"; import "../../dependencies/DSMath.sol"; import "../../exchanges/ExchangeAdapter.sol"; i...
Registry(routes.registry).assetIsRegistered(orderAddresses[2]),'Maker asset not registered'
15,205
Registry(routes.registry).assetIsRegistered(orderAddresses[2])
'Taker asset not registered'
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../hub/Spoke.sol"; import "../vault/Vault.sol"; import "../policies/PolicyManager.sol"; import "../policies/TradingSignatures.sol"; import "../../factory/Factory.sol"; import "../../dependencies/DSMath.sol"; import "../../exchanges/ExchangeAdapter.sol"; i...
Registry(routes.registry).assetIsRegistered(orderAddresses[3]),'Taker asset not registered'
15,205
Registry(routes.registry).assetIsRegistered(orderAddresses[3])
'Maker fee asset not registered'
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../hub/Spoke.sol"; import "../vault/Vault.sol"; import "../policies/PolicyManager.sol"; import "../policies/TradingSignatures.sol"; import "../../factory/Factory.sol"; import "../../dependencies/DSMath.sol"; import "../../exchanges/ExchangeAdapter.sol"; i...
Registry(routes.registry).assetIsRegistered(orderAddresses[6]),'Maker fee asset not registered'
15,205
Registry(routes.registry).assetIsRegistered(orderAddresses[6])
'Taker fee asset not registered'
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../hub/Spoke.sol"; import "../vault/Vault.sol"; import "../policies/PolicyManager.sol"; import "../policies/TradingSignatures.sol"; import "../../factory/Factory.sol"; import "../../dependencies/DSMath.sol"; import "../../exchanges/ExchangeAdapter.sol"; i...
Registry(routes.registry).assetIsRegistered(orderAddresses[7]),'Taker fee asset not registered'
15,205
Registry(routes.registry).assetIsRegistered(orderAddresses[7])
"Asset already in open order"
pragma solidity 0.6.1; pragma experimental ABIEncoderV2; import "../hub/Spoke.sol"; import "../vault/Vault.sol"; import "../policies/PolicyManager.sol"; import "../policies/TradingSignatures.sol"; import "../../factory/Factory.sol"; import "../../dependencies/DSMath.sol"; import "../../exchanges/ExchangeAdapter.sol"; i...
!isInOpenMakeOrder[sellAsset],"Asset already in open order"
15,205
!isInOpenMakeOrder[sellAsset]
null
/** *Submitted for verification at Etherscan.io on 2020-10-13 */ pragma solidity ^0.4.24; library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } /** * @dev Integer division of two unsigned integers t...
!frozen[_holder]
15,232
!frozen[_holder]
null
/** *Submitted for verification at Etherscan.io on 2020-10-13 */ pragma solidity ^0.4.24; library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { } /** * @dev Integer division of two unsigned integers t...
frozen[_holder]
15,232
frozen[_holder]
"add: lp is already in pool"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./IERC20.sol"; import "./SafeERC20.sol"; import "./EnumerableSet.sol"; import "./Ownable.sol"; import "./AlphaPools.sol"; import "./IUniswapV2Pair.sol"; import "./UniswapV2OracleLibrary.sol"; import "./IMakerPriceFeed.sol"; import "./DSMath.sol";...
poolId1[address(_lpToken)]==0,"add: lp is already in pool"
15,311
poolId1[address(_lpToken)]==0
"CTokenSwap: TransferFrom failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.7.6; pragma abicoder v2; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IUniswapV3FlashCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol"; import { ICTokenSwap } from "./interfaces/ICTokenSwa...
CTokenInterface(params.cToken0).transferFrom(msg.sender,address(this),params.cToken0Amount),"CTokenSwap: TransferFrom failed"
15,407
CTokenInterface(params.cToken0).transferFrom(msg.sender,address(this),params.cToken0Amount)
"CTokenSwap: RedeemUnderlying failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.7.6; pragma abicoder v2; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IUniswapV3FlashCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol"; import { ICTokenSwap } from "./interfaces/ICTokenSwa...
CErc20Interface(params.cToken0).redeemUnderlying(params.token0Amount)==0,"CTokenSwap: RedeemUnderlying failed"
15,407
CErc20Interface(params.cToken0).redeemUnderlying(params.token0Amount)==0
"CTokenSwap: Mint failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.7.6; pragma abicoder v2; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IUniswapV3FlashCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol"; import { ICTokenSwap } from "./interfaces/ICTokenSwa...
CErc20Interface(params.cToken1).mint(token1Amount)==0,"CTokenSwap: Mint failed"
15,407
CErc20Interface(params.cToken1).mint(token1Amount)==0
"CTokenSwap: Transfer failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.7.6; pragma abicoder v2; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IUniswapV3FlashCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol"; import { ICTokenSwap } from "./interfaces/ICTokenSwa...
CTokenInterface(params.cToken1).transfer(msg.sender,cToken1Balance),"CTokenSwap: Transfer failed"
15,407
CTokenInterface(params.cToken1).transfer(msg.sender,cToken1Balance)
"CTokenSwap: Transfer failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.7.6; pragma abicoder v2; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IUniswapV3FlashCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol"; import { ICTokenSwap } from "./interfaces/ICTokenSwa...
CTokenInterface(params.cToken0).transfer(msg.sender,cToken0Balance),"CTokenSwap: Transfer failed"
15,407
CTokenInterface(params.cToken0).transfer(msg.sender,cToken0Balance)
"CTokenSwap: Transfer failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.7.6; pragma abicoder v2; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IUniswapV3FlashCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol"; import { ICTokenSwap } from "./interfaces/ICTokenSwa...
CTokenInterface(params.cToken1).transfer(sender,cToken1Balance),"CTokenSwap: Transfer failed"
15,407
CTokenInterface(params.cToken1).transfer(sender,cToken1Balance)
"CTokenSwap: TransferFrom failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.7.6; pragma abicoder v2; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IUniswapV3FlashCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol"; import { ICTokenSwap } from "./interfaces/ICTokenSwa...
CTokenInterface(params.cToken0).transferFrom(sender,address(this),params.cToken0Amount),"CTokenSwap: TransferFrom failed"
15,407
CTokenInterface(params.cToken0).transferFrom(sender,address(this),params.cToken0Amount)
"CTokenSwap: RedeemUnderlying failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.7.6; pragma abicoder v2; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IUniswapV3FlashCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol"; import { ICTokenSwap } from "./interfaces/ICTokenSwa...
CErc20Interface(params.cToken0).redeemUnderlying(token0Amount)==0,"CTokenSwap: RedeemUnderlying failed"
15,407
CErc20Interface(params.cToken0).redeemUnderlying(token0Amount)==0
"CTokenSwap: Transfer failed"
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.7.6; pragma abicoder v2; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IUniswapV3FlashCallback } from "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol"; import { ICTokenSwap } from "./interfaces/ICTokenSwa...
CTokenInterface(params.cToken0).transfer(sender,cToken0Balance),"CTokenSwap: Transfer failed"
15,407
CTokenInterface(params.cToken0).transfer(sender,cToken0Balance)
"You can summon between 1 and 100 spooks"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/e...
(numSpooks>0)&&(numSpooks<=100),"You can summon between 1 and 100 spooks"
15,439
(numSpooks>0)&&(numSpooks<=100)
"There aren't that many DerpySpooks left"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/e...
(totalSupply()+numSpooks)<=MAX_SPOOKS,"There aren't that many DerpySpooks left"
15,439
(totalSupply()+numSpooks)<=MAX_SPOOKS
"The blood price offered is not enough"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/e...
msg.value>=(bloodOrEther()*numSpooks),"The blood price offered is not enough"
15,439
msg.value>=(bloodOrEther()*numSpooks)
"No spooks remain unsummoned"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/e...
totalSupply()<MAX_SPOOKS,"No spooks remain unsummoned"
15,439
totalSupply()<MAX_SPOOKS
"the supply may only be reduced"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/e...
(newMax<MAX_SPOOKS)&&(newMax>=totalSupply()),"the supply may only be reduced"
15,439
(newMax<MAX_SPOOKS)&&(newMax>=totalSupply())
"There are not enough Spooks left!"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/e...
(nextTokenId+numSpooks)<=MAX_SPOOKS,"There are not enough Spooks left!"
15,439
(nextTokenId+numSpooks)<=MAX_SPOOKS
"Airdrop quota exceeded!"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/e...
(AIRDROP_SPOOKS-numSpooks)>=0,"Airdrop quota exceeded!"
15,439
(AIRDROP_SPOOKS-numSpooks)>=0
"collectable-dust::token-is-part-of-the-protocol"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "../Interfaces/Keep3r/ICollectableDust.sol"; abstract contract CollectableDust is ICollect...
!protocolTokens.contains(_token),"collectable-dust::token-is-part-of-the-protocol"
15,450
!protocolTokens.contains(_token)
"collectable-dust::token-not-part-of-the-protocol"
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "../Interfaces/Keep3r/ICollectableDust.sol"; abstract contract CollectableDust is ICollect...
protocolTokens.contains(_token),"collectable-dust::token-not-part-of-the-protocol"
15,450
protocolTokens.contains(_token)
null
/** * @title Chaingear - the novel Ethereum database framework * @author cyber•Congress, Valery litvin (@litvintech) * @notice not audited, not recommend to use in mainnet */ contract DatabasePermissionControl is Ownable { /* * Storage */ enum CreateEntryPermissionGroup {OnlyAdmin, Whitelist, ...
whitelist[msg.sender]==true||msg.sender==admin
15,566
whitelist[msg.sender]==true||msg.sender==admin
"not enought supply remaining"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol"; contract RareShoe is ERC721, E...
totalSupply()+quantity<=MAX_SUPPLY,"not enought supply remaining"
15,584
totalSupply()+quantity<=MAX_SUPPLY
"account allowance exceeded"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol"; contract RareShoe is ERC721, E...
_addressToMintedFreeTokens[msg.sender]+quantity<=freeMints,"account allowance exceeded"
15,584
_addressToMintedFreeTokens[msg.sender]+quantity<=freeMints
"Asset already registered"
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; contract Registry is Ownable { // Map asset addresses to indexes. mapping(address => uint32) public assetAddressToIndex; mapping(uint32 => address) public assetIndexToAddress; uint32 numA...
assetAddressToIndex[_asset]==0,"Asset already registered"
15,614
assetAddressToIndex[_asset]==0
"Strategy already registered"
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; contract Registry is Ownable { // Map asset addresses to indexes. mapping(address => uint32) public assetAddressToIndex; mapping(uint32 => address) public assetIndexToAddress; uint32 numA...
strategyAddressToIndex[_strategy]==0,"Strategy already registered"
15,614
strategyAddressToIndex[_strategy]==0
"Strategy doesn't exist"
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; contract Registry is Ownable { // Map asset addresses to indexes. mapping(address => uint32) public assetAddressToIndex; mapping(uint32 => address) public assetIndexToAddress; uint32 numA...
strategyIndexToAddress[_strategyId]!=address(0),"Strategy doesn't exist"
15,614
strategyIndexToAddress[_strategyId]!=address(0)
null
contract Decentralized_QUIZ { function Try(string memory _response) public payable { } string public question; bytes32 responseHash; mapping (bytes32=>bool) admin; function Start(string calldata _question, string calldata _response) public payable isAdmin{ } function Stop()...
admin[keccak256(abi.encodePacked(msg.sender))]
15,617
admin[keccak256(abi.encodePacked(msg.sender))]
"max NFT per address exceeded for the first 500 "
pragma solidity >=0.7.0 <0.9.0; contract HarambeDAO is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = "ipfs://Qmf99foL5ZhKZ3EM5pfVYcJ9pMFgi6r3C9QQy9CT2XQvfP/"; string public uriSuffix = ".json"; string publi...
supply+_mintAmount<=3,"max NFT per address exceeded for the first 500 "
15,651
supply+_mintAmount<=3
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
frozenAccount[msg.sender]==false
15,655
frozenAccount[msg.sender]==false
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
_targets[j]!=0x0
15,655
_targets[j]!=0x0
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
balanceOf[msg.sender]>=totalAmount
15,655
balanceOf[msg.sender]>=totalAmount
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
_addresses[j]!=address(0)
15,655
_addresses[j]!=address(0)
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
_amounts[j]>0&&_addresses[j]!=address(0)&&balanceOf[_addresses[j]]>=_amounts[j]
15,655
_amounts[j]>0&&_addresses[j]!=address(0)&&balanceOf[_addresses[j]]>=_amounts[j]
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
items[_id].owner==msg.sender
15,655
items[_id].owner==msg.sender
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
items[_id].owner==msg.sender&&_price>=0
15,655
items[_id].owner==msg.sender&&_price>=0
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
items[_id].owner==msg.sender&&_limit>0
15,655
items[_id].owner==msg.sender&&_limit>0
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
items[_id].approveForAll&&_amount>0&&items[_id].holders[items[_id].owner]>=_amount
15,655
items[_id].approveForAll&&_amount>0&&items[_id].holders[items[_id].owner]>=_amount
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
items[_id].limitHolding>=afterAmount
15,655
items[_id].limitHolding>=afterAmount
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
allowanceItems[_from][msg.sender][_id].amount>=_amount&&allowanceItems[_from][msg.sender][_id].price>=_price&&balanceOf[msg.sender]>=value&&items[_id].holders[_from]>=_amount&&items[_id].transferable
15,655
allowanceItems[_from][msg.sender][_id].amount>=_amount&&allowanceItems[_from][msg.sender][_id].price>=_price&&balanceOf[msg.sender]>=value&&items[_id].holders[_from]>=_amount&&items[_id].transferable
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
frozenAccount[_to]==false&&_to!=address(0)&&_amount>0&&items[_id].holders[msg.sender]>=_amount&&items[_id].transferable
15,655
frozenAccount[_to]==false&&_to!=address(0)&&_amount>0&&items[_id].holders[msg.sender]>=_amount&&items[_id].transferable
null
pragma solidity ^0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { } function div(uint256 a, uint256 b) internal pure returns (uint256) { } function sub(uint256 a, uint256 b) internal pure returns (uint256) { } function add(uint256 a, u...
!isItemStopped
15,655
!isItemStopped
null
// Datarius tokensale smart contract. // Developed by Phenom.Team <info@phenom.team> pragma solidity ^0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint a, uint b) internal constant returns (uint) { } function div(ui...
balances[_holder]>0
15,691
balances[_holder]>0
null
// Datarius tokensale smart contract. // Developed by Phenom.Team <info@phenom.team> pragma solidity ^0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint a, uint b) internal constant returns (uint) { } function div(ui...
!tokensAreFrozen
15,691
!tokensAreFrozen
null
/** * @title CoinTool, support ETH and ERC20 Tokens * @dev To Use this Dapp: https://cointool.app */ pragma solidity 0.4.24; /** * @title Proxy * @dev Gives the possibility to delegate any call to a foreign implementation. */ contract Proxy { /** * @dev Tells the address of the implementation where ...
address(this).call.value(msg.value)(_data)
15,694
address(this).call.value(msg.value)(_data)
"Initial supply cannot be more than available supply"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.3; ///////////////////////////////////////////////// // ____ _ _ // // | __ ) ___ _ __ __| | | | _ _ // // | _ \ / _ \ | '_ \ / _` | | | | | | | // // | |_) | | (_) | | | | | | (_| | | | | |_| | // // |___...
_contract.balanceOf(_salesperson,_tokenId)>=_totalAmount,"Initial supply cannot be more than available supply"
15,916
_contract.balanceOf(_salesperson,_tokenId)>=_totalAmount
"Contract must be whitelisted by owner"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.3; ///////////////////////////////////////////////// // ____ _ _ // // | __ ) ___ _ __ __| | | | _ _ // // | _ \ / _ \ | '_ \ / _` | | | | | | | // // | |_) | | (_) | | | | | | (_| | | | | |_| | // // |___...
_contract.isApprovedForAll(_salesperson,address(this))==true,"Contract must be whitelisted by owner"
15,916
_contract.isApprovedForAll(_salesperson,address(this))==true
"you are blocked"
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.3; ///////////////////////////////////////////////// // ____ _ _ // // | __ ) ___ _ __ __| | | | _ _ // // | _ \ / _ \ | '_ \ / _` | | | | | | | // // | |_) | | (_) | | | | | | (_| | | | | |_| | // // |___...
_blacklist[msg.sender]==false,"you are blocked"
15,916
_blacklist[msg.sender]==false
"current owner must set caller as next owner."
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.6; contract Ownable { address public owner; address private nextOwner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); // modifiers modifier onlyOwner() { } modifier on...
isNextOwner(),"current owner must set caller as next owner."
15,954
isNextOwner()
"There is low token balance in contract"
pragma solidity >=0.5.0 <0.6.0; interface AggregatorV3Interface { function decimals() external view returns ( uint8 ); function description() external view returns ( string memory ); function version() external view returns ( uint256 ...
Token(tokenAddr).balanceOf(address(this))>=ethAmount,"There is low token balance in contract"
16,096
Token(tokenAddr).balanceOf(address(this))>=ethAmount
null
pragma solidity >=0.5.0 <0.6.0; interface AggregatorV3Interface { function decimals() external view returns ( uint8 ); function description() external view returns ( string memory ); function version() external view returns ( uint256 ...
Token(tokenAddr).transfer(userAdd,ethAmount)
16,096
Token(tokenAddr).transfer(userAdd,ethAmount)
null
pragma solidity >=0.5.0 <0.6.0; interface AggregatorV3Interface { function decimals() external view returns ( uint8 ); function description() external view returns ( string memory ); function version() external view returns ( uint256 ...
Token(tokenAddr).transfer(beneficiary,Token(tokenAddr).balanceOf(address(this)))
16,096
Token(tokenAddr).transfer(beneficiary,Token(tokenAddr).balanceOf(address(this)))
"Access denied"
/** * @title The Identity is where ERC 725/735 and our custom code meet. * @author Talao, Polynomial. * @notice Mixes ERC 725/735, foundation, token, * constructor values that never change (creator, category, encryption keys) * and provides a box to receive decentralized files and texts. */ contract Identi...
isIdentityOwner(),"Access denied"
16,239
isIdentityOwner()
"Access denied"
/** * @title The Identity is where ERC 725/735 and our custom code meet. * @author Talao, Polynomial. * @notice Mixes ERC 725/735, foundation, token, * constructor values that never change (creator, category, encryption keys) * and provides a box to receive decentralized files and texts. */ contract Identi...
isActiveIdentityOwner(),"Access denied"
16,239
isActiveIdentityOwner()
"Access denied"
/** * @title The Identity is where ERC 725/735 and our custom code meet. * @author Talao, Polynomial. * @notice Mixes ERC 725/735, foundation, token, * constructor values that never change (creator, category, encryption keys) * and provides a box to receive decentralized files and texts. */ contract Identi...
hasIdentityPurpose(_purpose),"Access denied"
16,239
hasIdentityPurpose(_purpose)
"You are blacklisted"
/** * @title The Identity is where ERC 725/735 and our custom code meet. * @author Talao, Polynomial. * @notice Mixes ERC 725/735, foundation, token, * constructor values that never change (creator, category, encryption keys) * and provides a box to receive decentralized files and texts. */ contract Identi...
!identityboxBlacklisted[msg.sender],"You are blacklisted"
16,239
!identityboxBlacklisted[msg.sender]
"Access denied"
/** * @title Permissions contract. * @author Talao, Polynomial. * @notice See ../identity/KeyHolder.sol as well. */ contract Permissions is Partnership { // Foundation contract. Foundation foundation; // Talao token contract. TalaoToken public token; /** * @dev Constructor. ...
isReader(),"Access denied"
16,242
isReader()
null
// 0.4.20+commit.3155dd80.Emscripten.clang pragma solidity ^0.4.20; /** * Ethereum Token callback */ interface tokenRecipient { function receiveApproval( address from, uint256 value, bytes data ) external; } /** * ERC223 callback */ interface ContractReceiver { function tokenFallback( address from, ...
address(to).call.value(0)(bytes4(keccak256(custom_fallback)),msg.sender,value,data)
16,263
address(to).call.value(0)(bytes4(keccak256(custom_fallback)),msg.sender,value,data)
null
// 0.4.20+commit.3155dd80.Emscripten.clang pragma solidity ^0.4.20; /** * Ethereum Token callback */ interface tokenRecipient { function receiveApproval( address from, uint256 value, bytes data ) external; } /** * ERC223 callback */ interface ContractReceiver { function tokenFallback( address from, ...
balances[from]>=value
16,263
balances[from]>=value
null
// 0.4.20+commit.3155dd80.Emscripten.clang pragma solidity ^0.4.20; /** * Ethereum Token callback */ interface tokenRecipient { function receiveApproval( address from, uint256 value, bytes data ) external; } /** * ERC223 callback */ interface ContractReceiver { function tokenFallback( address from, ...
balances[to]+value>balances[to]
16,263
balances[to]+value>balances[to]
"Sale end"
pragma solidity ^0.8.0; contract Pattern is ERC721, Ownable { using Strings for uint256; using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdTracker; Counters.Counter private _burnedTracker; string public baseTokenURI; uint256 public cons...
_totalSupply()<=MAX_ELEMENTS,"Sale end"
16,271
_totalSupply()<=MAX_ELEMENTS
"Max limit"
pragma solidity ^0.8.0; contract Pattern is ERC721, Ownable { using Strings for uint256; using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdTracker; Counters.Counter private _burnedTracker; string public baseTokenURI; uint256 public cons...
total+_count<=MAX_ELEMENTS,"Max limit"
16,271
total+_count<=MAX_ELEMENTS
null
pragma solidity ^0.5.0; /** * @title ERC721Mintable * @dev ERC721 minting logic. */ contract ERC721Mintable is Initializable, ERC721, MinterRole { function initialize(address sender) public initializer { require(<FILL_ME>) MinterRole.initialize(sender); } /** * @dev Functi...
ERC721._hasBeenInitialized()
16,290
ERC721._hasBeenInitialized()
"dev admin only"
pragma solidity 0.8.10; /*** *@title Vesting Escrow *@author InsureDAO * SPDX-License-Identifier: MIT *@notice Vests `InsureToken` tokens for multiple addresses over multiple vesting periods */ //libraries contract VestingEscrow is ReentrancyGuard { using SafeERC20 for IERC20; event Fund(add...
fund_admins[msg.sender],"dev admin only"
16,379
fund_admins[msg.sender]
null
pragma solidity 0.8.10; /*** *@title Vesting Escrow *@author InsureDAO * SPDX-License-Identifier: MIT *@notice Vests `InsureToken` tokens for multiple addresses over multiple vesting periods */ //libraries contract VestingEscrow is ReentrancyGuard { using SafeERC20 for IERC20; event Fund(add...
IERC20(token).transfer(admin,raggable)
16,379
IERC20(token).transfer(admin,raggable)
"is rugged"
pragma solidity 0.8.10; /*** *@title Vesting Escrow *@author InsureDAO * SPDX-License-Identifier: MIT *@notice Vests `InsureToken` tokens for multiple addresses over multiple vesting periods */ //libraries contract VestingEscrow is ReentrancyGuard { using SafeERC20 for IERC20; event Fund(add...
!is_ragged[_recipient],"is rugged"
16,379
!is_ragged[_recipient]
null
pragma solidity 0.8.10; /*** *@title Vesting Escrow *@author InsureDAO * SPDX-License-Identifier: MIT *@notice Vests `InsureToken` tokens for multiple addresses over multiple vesting periods */ //libraries contract VestingEscrow is ReentrancyGuard { using SafeERC20 for IERC20; event Fund(add...
IERC20(token).transfer(addr,claimable)
16,379
IERC20(token).transfer(addr,claimable)
"onlyFutureOwner"
pragma solidity 0.8.10; /*** *@title Vesting Escrow *@author InsureDAO * SPDX-License-Identifier: MIT *@notice Vests `InsureToken` tokens for multiple addresses over multiple vesting periods */ //libraries contract VestingEscrow is ReentrancyGuard { using SafeERC20 for IERC20; event Fund(add...
address(msg.sender)==_future_admin,"onlyFutureOwner"
16,379
address(msg.sender)==_future_admin
"Sold out !"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "erc721a/contracts/ERC721A.sol"; contract MrNonFungible is ERC721A, Ownable { using Strings for uint256; string private baseTokenURI; string private notRevealedUri; uint256 public cost = 0....
totalSupply()+_amount<=maxSupply,"Sold out !"
16,386
totalSupply()+_amount<=maxSupply
null
/** * @title WhitelistedCrowdsale * @dev Crowdsale with whitelist required for purchases, based on IndividuallyCappedCrowdsale. */ contract WhitelistedCrowdsale is Crowdsale, CapperRole { using SafeMath for uint256; uint256 private _invCap; mapping(address => uint256) private _contributions; ...
_accounts[i]!=address(0)
16,420
_accounts[i]!=address(0)
null
/** * @title WhitelistedCrowdsale * @dev Crowdsale with whitelist required for purchases, based on IndividuallyCappedCrowdsale. */ contract WhitelistedCrowdsale is Crowdsale, CapperRole { using SafeMath for uint256; uint256 private _invCap; mapping(address => uint256) private _contributions; ...
_contributions[_account].add(weiAmount)<=_whitelist[_account]
16,420
_contributions[_account].add(weiAmount)<=_whitelist[_account]
"Refund::removeUnused: bad timing for the request"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "./Services/ERC20.sol"; import "./Services/Blacklist.sol"; import "./Services/Service.sol"; contract Refund is Service, BlackList { uint public startTimestamp; uint public endTimestamp; mapping(address => Base) public pTokens; addres...
getBlockTimestamp()>endTimestamp,"Refund::removeUnused: bad timing for the request"
16,499
getBlockTimestamp()>endTimestamp
"Refund::refund: you can convert pTokens before start timestamp only"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "./Services/ERC20.sol"; import "./Services/Blacklist.sol"; import "./Services/Service.sol"; contract Refund is Service, BlackList { uint public startTimestamp; uint public endTimestamp; mapping(address => Base) public pTokens; addres...
getBlockTimestamp()<startTimestamp,"Refund::refund: you can convert pTokens before start timestamp only"
16,499
getBlockTimestamp()<startTimestamp
"Refund::refund: sumBorrow must be less than $1"
//SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "./Services/ERC20.sol"; import "./Services/Blacklist.sol"; import "./Services/Service.sol"; contract Refund is Service, BlackList { uint public startTimestamp; uint public endTimestamp; mapping(address => Base) public pTokens; addres...
checkBorrowBalance(msg.sender),"Refund::refund: sumBorrow must be less than $1"
16,499
checkBorrowBalance(msg.sender)