comment
stringlengths
1
211
input
stringlengths
155
20k
label
stringlengths
4
1k
original_idx
int64
203
514k
predicate
stringlengths
1
1k
"Error paying the loan"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
executeOptimalPay({params:loanParams,oracleData:oracleData,rcnToPay:bought}),"Error paying the loan"
293,570
executeOptimalPay({params:loanParams,oracleData:oracleData,rcnToPay:bought})
"Error rebuying the tokens"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
rebuyAndReturn({converter:converter,fromToken:rcn,toToken:fromToken,amount:rcn.balanceOf(this)-initialBalance,spentAmount:optimalSell,convertRules:convertRules}),"Error rebuying the tokens"
293,570
rebuyAndReturn({converter:converter,fromToken:rcn,toToken:fromToken,amount:rcn.balanceOf(this)-initialBalance,spentAmount:optimalSell,convertRules:convertRules})
"Converter balance has incremented"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
rcn.balanceOf(this)==initialBalance,"Converter balance has incremented"
293,570
rcn.balanceOf(this)==initialBalance
"Error approving lend token transfer"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
rcn.approve(address(loanParams[0]),bought),"Error approving lend token transfer"
293,570
rcn.approve(address(loanParams[0]),bought)
"Error lending the loan"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
executeLend(loanParams,oracleData,cosignerData),"Error lending the loan"
293,570
executeLend(loanParams,oracleData,cosignerData)
"Error removing approve"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
rcn.approve(address(loanParams[0]),0),"Error removing approve"
293,570
rcn.approve(address(loanParams[0]),0)
"Error transfering the loan"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
executeTransfer(loanParams,msg.sender),"Error transfering the loan"
293,570
executeTransfer(loanParams,msg.sender)
"Max spend exceeded"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
spentAmount.safeSubtract(bought)<=maxSpend||maxSpend==0,"Max spend exceeded"
293,570
spentAmount.safeSubtract(bought)<=maxSpend||maxSpend==0
"Error approving token transfer"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
fromToken.approve(converter,amount),"Error approving token transfer"
293,570
fromToken.approve(converter,amount)
"Bought amound does does not match"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
boughtAmount==(toToken!=ETH_ADDRESS?toToken.balanceOf(this):address(this).balance)-prevBalance,"Bought amound does does not match"
293,570
boughtAmount==(toToken!=ETH_ADDRESS?toToken.balanceOf(this):address(this).balance)-prevBalance
"Error removing token approve"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
fromToken.approve(converter,0),"Error removing token approve"
293,570
fromToken.approve(converter,0)
"Error on payment approve"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
rcn.approve(engine,rcnToPay),"Error on payment approve"
293,570
rcn.approve(engine,rcnToPay)
"Error paying the loan"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
engine.pay(index,toPay,address(params[I_PAY_FROM]),oracleData),"Error paying the loan"
293,570
engine.pay(index,toPay,address(params[I_PAY_FROM]),oracleData)
"Error removing the payment approve"
pragma solidity ^0.4.24; contract Token { function transfer(address _to, uint _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remainin...
rcn.approve(engine,0),"Error removing the payment approve"
293,570
rcn.approve(engine,0)
"invalid pool"
pragma solidity >=0.6.0; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/ownership/Ownable.sol"; contract PolkaBridgeLaunchPad is Ownable { string public name = "PolkaBridge: LaunchPad"; using SafeMath for uint...
pools[poolIndex].IsActived&&!pools[poolIndex].IsStoped,"invalid pool"
293,618
pools[poolIndex].IsActived&&!pools[poolIndex].IsStoped
"IDO sold out"
pragma solidity >=0.6.0; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/ownership/Ownable.sol"; contract PolkaBridgeLaunchPad is Ownable { string public name = "PolkaBridge: LaunchPad"; using SafeMath for uint...
!pools[poolIndex].IsSoldOut,"IDO sold out"
293,618
!pools[poolIndex].IsSoldOut
"invalid user"
pragma solidity >=0.6.0; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/ownership/Ownable.sol"; contract PolkaBridgeLaunchPad is Ownable { string public name = "PolkaBridge: LaunchPad"; using SafeMath for uint...
whitelist[pid][msg.sender].IsWhitelist&&whitelist[pid][msg.sender].IsActived,"invalid user"
293,618
whitelist[pid][msg.sender].IsWhitelist&&whitelist[pid][msg.sender].IsActived
"must hold PBR"
pragma solidity >=0.6.0; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/ownership/Ownable.sol"; contract PolkaBridgeLaunchPad is Ownable { string public name = "PolkaBridge: LaunchPad"; using SafeMath for uint...
polkaBridgeToken.balanceOf(msg.sender)>=pools[poolIndex].AmountPBRRequire,"must hold PBR"
293,618
polkaBridgeToken.balanceOf(msg.sender)>=pools[poolIndex].AmountPBRRequire
"user already claimed"
pragma solidity >=0.6.0; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/ownership/Ownable.sol"; contract PolkaBridgeLaunchPad is Ownable { string public name = "PolkaBridge: LaunchPad"; using SafeMath for uint...
!whitelist[pid][msg.sender].IsClaimed,"user already claimed"
293,618
!whitelist[pid][msg.sender].IsClaimed
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; /* +++ . . +++ +@++++ . . ++++@+ ++++@+. .+@++++ .+++ ++++ +++. +@@+ . . . +++@@+++ . . . . +@++++@+ . ++++++ ++++++ +@+ +@+ . ++++ ++++ ....
bytes(_newName).length<=MAX_NAME_LENGTH
293,732
bytes(_newName).length<=MAX_NAME_LENGTH
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; /* +++ . . +++ +@++++ . . ++++@+ ++++@+. .+@++++ .+++ ++++ +++. +@@+ . . . +++@@+++ . . . . +@++++@+ . ++++++ ++++++ +@+ +@+ . ++++ ++++ ....
Receiver(_to).onERC721Received(msg.sender,_from,_tokenId,_data)==0x150b7a02
293,732
Receiver(_to).onERC721Received(msg.sender,_from,_tokenId,_data)==0x150b7a02
MINTED_OUT
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// This file is forked from Solmate v6, /// We stand on the shoulders of giants /// Unnecessary functions have been deleted, mint, safeMint and burn /// Added our own mint functions, tweaked ownerOf to support our weirdness import "./SparkleMarket.sol"...
totalSupply+tokenIds.length<MAX_SUPPLY,MINTED_OUT
293,755
totalSupply+tokenIds.length<MAX_SUPPLY
"TokenId too high"
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// This file is forked from Solmate v6, /// We stand on the shoulders of giants /// Unnecessary functions have been deleted, mint, safeMint and burn /// Added our own mint functions, tweaked ownerOf to support our weirdness import "./SparkleMarket.sol"...
tokenIds[i]<MAX_SUPPLY,"TokenId too high"
293,755
tokenIds[i]<MAX_SUPPLY
"ALREADY_MINTED"
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// This file is forked from Solmate v6, /// We stand on the shoulders of giants /// Unnecessary functions have been deleted, mint, safeMint and burn /// Added our own mint functions, tweaked ownerOf to support our weirdness import "./SparkleMarket.sol"...
ownerOf(tokenIds[i])==address(0),"ALREADY_MINTED"
293,755
ownerOf(tokenIds[i])==address(0)
MINTED_OUT
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// This file is forked from Solmate v6, /// We stand on the shoulders of giants /// Unnecessary functions have been deleted, mint, safeMint and burn /// Added our own mint functions, tweaked ownerOf to support our weirdness import "./SparkleMarket.sol"...
totalSupply+num<MAX_SUPPLY,MINTED_OUT
293,755
totalSupply+num<MAX_SUPPLY
"Reserving would exceed max number of Pioneers to reserve"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /** * @title KosiumPioneer * Kosi...
numMinted+numToMint<=MAX_PIONEERS,"Reserving would exceed max number of Pioneers to reserve"
293,913
numMinted+numToMint<=MAX_PIONEERS
"Reserving would exceed max number of Pioneers to reserve"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /** * @title KosiumPioneer * Kosi...
numReserved+numberToReserve<=PIONEERS_RESERVED,"Reserving would exceed max number of Pioneers to reserve"
293,913
numReserved+numberToReserve<=PIONEERS_RESERVED
"Purchase would exceed max supply of Pioneers"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /** * @title KosiumPioneer * Kosi...
numMinted+numberOfTokens<=MAX_PIONEERS-PIONEERS_RESERVED+numReserved,"Purchase would exceed max supply of Pioneers"
293,913
numMinted+numberOfTokens<=MAX_PIONEERS-PIONEERS_RESERVED+numReserved
"Ether value sent is not correct"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /** * @title KosiumPioneer * Kosi...
pioneerPrice.mul(numberOfTokens)<=msg.value,"Ether value sent is not correct"
293,913
pioneerPrice.mul(numberOfTokens)<=msg.value
"Sender address must be whitelisted for presale minting"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /** * @title KosiumPioneer * Kosi...
whitelistedPresaleAddresses[msg.sender],"Sender address must be whitelisted for presale minting"
293,913
whitelistedPresaleAddresses[msg.sender]
"This whitelisted address cannot mint this many Pioneers in the presale."
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /** * @title KosiumPioneer * Kosi...
numberOfTokens+presaleBoughtCounts[msg.sender]<=maxPioneerPurchasePresale,"This whitelisted address cannot mint this many Pioneers in the presale."
293,913
numberOfTokens+presaleBoughtCounts[msg.sender]<=maxPioneerPurchasePresale
null
/* Implements EIP20 token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md */ // SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.6; contract ADKContract { /* This is the main wADK Contract (ERC20 Implementation): Ethereum wrapped AidosKuneen Token. The purpose of this contract is to en...
address(this)!=_to
293,926
address(this)!=_to
null
/* Implements EIP20 token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md */ // SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.6; contract ADKContract { /* This is the main wADK Contract (ERC20 Implementation): Ethereum wrapped AidosKuneen Token. The purpose of this contract is to en...
balances[_from]>=_value&&vallowance>=_value
293,926
balances[_from]>=_value&&vallowance>=_value
null
/* Implements EIP20 token standard: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md */ // SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.6; contract ADKContract { /* This is the main wADK Contract (ERC20 Implementation): Ethereum wrapped AidosKuneen Token. The purpose of this contract is to en...
balances[_newOwner]==0
293,926
balances[_newOwner]==0
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[this]>=31
293,929
balanceOf[this]>=31
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[this]>=95
293,929
balanceOf[this]>=95
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[this]>=160
293,929
balanceOf[this]>=160
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[this]>=254
293,929
balanceOf[this]>=254
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[this]>=317
293,929
balanceOf[this]>=317
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[this]>=938
293,929
balanceOf[this]>=938
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[this]>=1560
293,929
balanceOf[this]>=1560
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[this]>=_Amount
293,929
balanceOf[this]>=_Amount
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
bytes(AdvertSrc).length>0
293,929
bytes(AdvertSrc).length>0
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[msg.sender]>=Price
293,929
balanceOf[msg.sender]>=Price
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
keccak256(Advr.Status)==keccak256("Free")||keccak256(Advr.Status)==keccak256("Published")
293,929
keccak256(Advr.Status)==keccak256("Free")||keccak256(Advr.Status)==keccak256("Published")
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[this]+Price>=balanceOf[this]
293,929
balanceOf[this]+Price>=balanceOf[this]
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
keccak256(Advr.Status)==keccak256("Moderate")
293,929
keccak256(Advr.Status)==keccak256("Moderate")
null
pragma solidity ^0.4.11; contract Bills { string public name = "Bills"; string public symbol = "BLS"; uint public totalSupply = 3000000; uint public decimals = 0; uint public tokenPrice; address private Owner; uint ICOTill = 1523145601; uint ICOStart ...
balanceOf[this]>=Advr.SpentTokens
293,929
balanceOf[this]>=Advr.SpentTokens
null
pragma solidity ^0.4.18; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousO...
isWithinTokenAllocLimit(tokens)
293,986
isWithinTokenAllocLimit(tokens)
null
pragma solidity ^0.4.18; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousO...
!isStarted
293,986
!isStarted
"AddPool: Token pool already added"
// SPDX-License-Identifier: MIT pragma solidity 0.6.6; import "./lib/@defiat-crypto/interfaces/IDeFiatPoints.sol"; import "./interfaces/IAnyStake.sol"; import "./interfaces/IAnyStakeMigrator.sol"; import "./interfaces/IAnyStakeVault.sol"; import "./utils/AnyStakeUtils.sol"; contract AnyStake is IAnyStake, AnySta...
pids[stakedToken]==0,"AddPool: Token pool already added"
294,077
pids[stakedToken]==0
"SetAllocPoints: No points change"
// SPDX-License-Identifier: MIT pragma solidity 0.6.6; import "./lib/@defiat-crypto/interfaces/IDeFiatPoints.sol"; import "./interfaces/IAnyStake.sol"; import "./interfaces/IAnyStakeMigrator.sol"; import "./interfaces/IAnyStakeVault.sol"; import "./utils/AnyStakeUtils.sol"; contract AnyStake is IAnyStake, AnySta...
poolInfo[_pid].allocPoint!=_allocPoint,"SetAllocPoints: No points change"
294,077
poolInfo[_pid].allocPoint!=_allocPoint
"SetVipAmount: No amount change"
// SPDX-License-Identifier: MIT pragma solidity 0.6.6; import "./lib/@defiat-crypto/interfaces/IDeFiatPoints.sol"; import "./interfaces/IAnyStake.sol"; import "./interfaces/IAnyStakeMigrator.sol"; import "./interfaces/IAnyStakeVault.sol"; import "./utils/AnyStakeUtils.sol"; contract AnyStake is IAnyStake, AnySta...
poolInfo[_pid].vipAmount!=_vipAmount,"SetVipAmount: No amount change"
294,077
poolInfo[_pid].vipAmount!=_vipAmount
"SetStakingFee: No fee change"
// SPDX-License-Identifier: MIT pragma solidity 0.6.6; import "./lib/@defiat-crypto/interfaces/IDeFiatPoints.sol"; import "./interfaces/IAnyStake.sol"; import "./interfaces/IAnyStakeMigrator.sol"; import "./interfaces/IAnyStakeVault.sol"; import "./utils/AnyStakeUtils.sol"; contract AnyStake is IAnyStake, AnySta...
poolInfo[_pid].stakingFee!=_stakingFee,"SetStakingFee: No fee change"
294,077
poolInfo[_pid].stakingFee!=_stakingFee
"caller is no gived"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "base64-sol/base64.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./interfaces/ILootLa...
_lands[_gived[_msgSender()]].isGived&&_lands[_gived[_msgSender()]].givedAddress==_msgSender(),"caller is no gived"
294,159
_lands[_gived[_msgSender()]].isGived&&_lands[_gived[_msgSender()]].givedAddress==_msgSender()
"slogan is too long"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "base64-sol/base64.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./interfaces/ILootLa...
bytes(slogan).length<256,"slogan is too long"
294,159
bytes(slogan).length<256
"land not minted"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "base64-sol/base64.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./interfaces/ILootLa...
_packedXYToIsMinted[_packedXY],"land not minted"
294,159
_packedXYToIsMinted[_packedXY]
"caller didn't minted this land"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "base64-sol/base64.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./interfaces/ILootLa...
_lands[tokenId].mintedAddress==_msgSender(),"caller didn't minted this land"
294,159
_lands[tokenId].mintedAddress==_msgSender()
"land is gived"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "base64-sol/base64.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./interfaces/ILootLa...
!_lands[tokenId].isGived,"land is gived"
294,159
!_lands[tokenId].isGived
"givedAddress have gived land"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "base64-sol/base64.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./interfaces/ILootLa...
_lands[_gived[givedAddress]].givedAddress!=givedAddress,"givedAddress have gived land"
294,159
_lands[_gived[givedAddress]].givedAddress!=givedAddress
"caller is already minted"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "base64-sol/base64.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./interfaces/ILootLa...
mintLandCount[_msgSender()]<2,"caller is already minted"
294,159
mintLandCount[_msgSender()]<2
"land is minted"
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "base64-sol/base64.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./interfaces/ILootLa...
!_packedXYToIsMinted[_packedXY],"land is minted"
294,159
!_packedXYToIsMinted[_packedXY]
"Limit reached"
pragma solidity ^0.8.4; // // Built by https://nft-generator.art // contract ambitionNFT is ERC721, Ownable { // string internal baseUri; string public baseTokenURI; uint256 public cost = 0.05 ether; uint32 public maxPerMint = 5; uint32 public maxPerWallet = 20; uint32 public supply = 0...
1+supply<=totalSupply,"Limit reached"
294,161
1+supply<=totalSupply
"Mint sold out"
pragma solidity ^0.8.4; // // Built by https://nft-generator.art // contract ambitionNFT is ERC721, Ownable { // string internal baseUri; string public baseTokenURI; uint256 public cost = 0.05 ether; uint32 public maxPerMint = 5; uint32 public maxPerWallet = 20; uint32 public supply = 0...
supply+count<totalSupply+1,"Mint sold out"
294,161
supply+count<totalSupply+1
"Max total mint reached"
pragma solidity ^0.8.4; // // Built by https://nft-generator.art // contract ambitionNFT is ERC721, Ownable { // string internal baseUri; string public baseTokenURI; uint256 public cost = 0.05 ether; uint32 public maxPerMint = 5; uint32 public maxPerWallet = 20; uint32 public supply = 0...
addressMintedMap[msg.sender]+count<=maxPerWallet,"Max total mint reached"
294,161
addressMintedMap[msg.sender]+count<=maxPerWallet
"Out of value"
pragma solidity ^0.4.24; /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md * @author https://snowfox.tech/ */ /** * @title Base contract * @dev Implements all the necessary logic for the token distri...
_balanceOf[msg.sender]>=(_allowed[msg.sender][spender]+value),"Out of value"
294,178
_balanceOf[msg.sender]>=(_allowed[msg.sender][spender]+value)
null
/* Welcome to ▄███████▄ ▄████████ ▄█ █▄ ███ ▄████████ ▄▄▄▄███▄▄▄▄ ▄████████ ███ ███ ███ ███ ███ ███ ▀█████████▄ ███ ███ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ███ ███ ███ ▀███▀▀██ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ...
!(Alberta[sender]==true)
294,261
!(Alberta[sender]==true)
insufficientAllowanceMsg
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // https://github.com/ModernExodus/tontoken import "./IERC20.sol"; import "./VotingSystem.sol"; contract Tontoken is ERC20, VotingSystem { // fields to help the contract operate uint256 private _totalSupply; uint256 private allTimeMatchAmount; ...
allowed[msg.sender][_from]>=_value,insufficientAllowanceMsg
294,376
allowed[msg.sender][_from]>=_value
insufficientFundsMsg
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // https://github.com/ModernExodus/tontoken import "./IERC20.sol"; import "./VotingSystem.sol"; contract Tontoken is ERC20, VotingSystem { // fields to help the contract operate uint256 private _totalSupply; uint256 private allTimeMatchAmount; ...
getSendableBalance(from)>=value,insufficientFundsMsg
294,376
getSendableBalance(from)>=value
voterMinimumMsg
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // https://github.com/ModernExodus/tontoken import "./IERC20.sol"; import "./VotingSystem.sol"; contract Tontoken is ERC20, VotingSystem { // fields to help the contract operate uint256 private _totalSupply; uint256 private allTimeMatchAmount; ...
balanceOf(msg.sender)>=minVoterThreshold,voterMinimumMsg
294,376
balanceOf(msg.sender)>=minVoterThreshold
null
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // https://github.com/ModernExodus/tontoken import "./IERC20.sol"; import "./VotingSystem.sol"; contract Tontoken is ERC20, VotingSystem { // fields to help the contract operate uint256 private _totalSupply; uint256 private allTimeMatchAmount; ...
delegatedVoters[voter]==msg.sender
294,376
delegatedVoters[voter]==msg.sender
voterMinimumMsg
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // https://github.com/ModernExodus/tontoken import "./IERC20.sol"; import "./VotingSystem.sol"; contract Tontoken is ERC20, VotingSystem { // fields to help the contract operate uint256 private _totalSupply; uint256 private allTimeMatchAmount; ...
balanceOf(voter)>=minVoterThreshold,voterMinimumMsg
294,376
balanceOf(voter)>=minVoterThreshold
proposalMinimumMsg
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // https://github.com/ModernExodus/tontoken import "./IERC20.sol"; import "./VotingSystem.sol"; contract Tontoken is ERC20, VotingSystem { // fields to help the contract operate uint256 private _totalSupply; uint256 private allTimeMatchAmount; ...
balanceOf(msg.sender)>=minProposalThreshold,proposalMinimumMsg
294,376
balanceOf(msg.sender)>=minProposalThreshold
null
pragma solidity ^0.4.9; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns(uint256) { } function div(uint256 a, uint256 b) internal constant returns(uint256) { } function sub(uint256 a, uint256 b) internal constant returns(uint256) { } function add(uint25...
!fullSupplyUnlocked
294,413
!fullSupplyUnlocked
null
pragma solidity ^0.4.11; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousO...
balances[_from]>=_value&&allowed[_from][msg.sender]>=_value&&balances[_to]+_value>balances[_to]
294,487
balances[_from]>=_value&&allowed[_from][msg.sender]>=_value&&balances[_to]+_value>balances[_to]
null
pragma solidity ^0.4.11; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousO...
balances[addr]>=_value
294,487
balances[addr]>=_value
null
pragma solidity ^0.4.11; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousO...
availableBalance(msg.sender)>=_value
294,487
availableBalance(msg.sender)>=_value
null
pragma solidity ^0.4.11; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousO...
availableBalance(_from)>=_value
294,487
availableBalance(_from)>=_value
null
pragma solidity ^0.4.21; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwn...
_start.add(_lockTime)>0
294,501
_start.add(_lockTime)>0
null
pragma solidity ^0.4.21; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwn...
allocations[teamWallet]==0
294,501
allocations[teamWallet]==0
null
pragma solidity ^0.4.21; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwn...
token.balanceOf(address(this))>=totalAllocation
294,501
token.balanceOf(address(this))>=totalAllocation
null
pragma solidity ^0.4.21; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwn...
releasedAmounts[msg.sender]<totalUnlocked
294,501
releasedAmounts[msg.sender]<totalUnlocked
null
pragma solidity ^0.4.21; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwn...
token.transfer(msg.sender,payment)
294,501
token.transfer(msg.sender,payment)
"Passing max supply"
/* Oh Welcome! Take a cup of coffee 旦~ __ __ /'\_/`\ /\ \ /\ \ /\ \ ___ ___ ____ __ \ \ \___ __ __ \_\ \ \ \ \__\ \ / __`\ / __`\ /',__\ /'__`\\ \ ...
supply+num<=MAX_TOKENS,"Passing max supply"
294,555
supply+num<=MAX_TOKENS
null
pragma solidity ^0.4.24; /** * @title Ownable */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the origina...
allowed[tx.origin][_spender]==0
294,606
allowed[tx.origin][_spender]==0
"Not approve nft to staker address"
pragma solidity ^0.8.0; contract NftStaking is ReentrancyGuard, Pausable, IERC721Receiver { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; using SafeERC20 for IERC20; address public constant DEAD = 0x000000000000000000000000000000000000dEaD; enum Rarity { C...
IERC721(_season1Nft).isApprovedForAll(_msgSender(),address(this)),"Not approve nft to staker address"
294,651
IERC721(_season1Nft).isApprovedForAll(_msgSender(),address(this))
"Invalid params"
pragma solidity ^0.8.0; contract NftStaking is ReentrancyGuard, Pausable, IERC721Receiver { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; using SafeERC20 for IERC20; address public constant DEAD = 0x000000000000000000000000000000000000dEaD; enum Rarity { C...
isWhiteListedSeason1(toLeaf(__tokenIDList[i],__indexList[i],__rarityList[i]),__proofList[i]),"Invalid params"
294,651
isWhiteListedSeason1(toLeaf(__tokenIDList[i],__indexList[i],__rarityList[i]),__proofList[i])
"Not approve nft to staker address"
pragma solidity ^0.8.0; contract NftStaking is ReentrancyGuard, Pausable, IERC721Receiver { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; using SafeERC20 for IERC20; address public constant DEAD = 0x000000000000000000000000000000000000dEaD; enum Rarity { C...
IERC721(_season2Nft).isApprovedForAll(_msgSender(),address(this)),"Not approve nft to staker address"
294,651
IERC721(_season2Nft).isApprovedForAll(_msgSender(),address(this))
"Invalid params"
pragma solidity ^0.8.0; contract NftStaking is ReentrancyGuard, Pausable, IERC721Receiver { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; using SafeERC20 for IERC20; address public constant DEAD = 0x000000000000000000000000000000000000dEaD; enum Rarity { C...
isWhiteListedSeason2(toLeaf(__tokenIDList[i],__indexList[i],__rarityList[i]),__proofList[i]),"Invalid params"
294,651
isWhiteListedSeason2(toLeaf(__tokenIDList[i],__indexList[i],__rarityList[i]),__proofList[i])
"Not staked one of nfts"
pragma solidity ^0.8.0; contract NftStaking is ReentrancyGuard, Pausable, IERC721Receiver { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; using SafeERC20 for IERC20; address public constant DEAD = 0x000000000000000000000000000000000000dEaD; enum Rarity { C...
user._season1Nfts.contains(__tokenIDList[i]),"Not staked one of nfts"
294,651
user._season1Nfts.contains(__tokenIDList[i])
"Not staked one of nfts"
pragma solidity ^0.8.0; contract NftStaking is ReentrancyGuard, Pausable, IERC721Receiver { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; using SafeERC20 for IERC20; address public constant DEAD = 0x000000000000000000000000000000000000dEaD; enum Rarity { C...
user._season2Nfts.contains(__tokenIDList[i]),"Not staked one of nfts"
294,651
user._season2Nfts.contains(__tokenIDList[i])
"Locked already"
pragma solidity ^0.8.0; contract NftStaking is ReentrancyGuard, Pausable, IERC721Receiver { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; using SafeERC20 for IERC20; address public constant DEAD = 0x000000000000000000000000000000000000dEaD; enum Rarity { C...
!user._season1StakeInfos[__tokenIDList[i]]._isLocked,"Locked already"
294,651
!user._season1StakeInfos[__tokenIDList[i]]._isLocked
"Locked already"
pragma solidity ^0.8.0; contract NftStaking is ReentrancyGuard, Pausable, IERC721Receiver { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; using SafeERC20 for IERC20; address public constant DEAD = 0x000000000000000000000000000000000000dEaD; enum Rarity { C...
!user._season2StakeInfos[__tokenIDList[i]]._isLocked,"Locked already"
294,651
!user._season2StakeInfos[__tokenIDList[i]]._isLocked
"One of nfts is not staked"
pragma solidity ^0.8.0; contract NftStaking is ReentrancyGuard, Pausable, IERC721Receiver { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; using SafeERC20 for IERC20; address public constant DEAD = 0x000000000000000000000000000000000000dEaD; enum Rarity { C...
user._season1Nfts.contains(__season1TokenID)&&user._season2Nfts.contains(__season2TokenID),"One of nfts is not staked"
294,651
user._season1Nfts.contains(__season1TokenID)&&user._season2Nfts.contains(__season2TokenID)
"Already paired"
pragma solidity ^0.8.0; contract NftStaking is ReentrancyGuard, Pausable, IERC721Receiver { using SafeMath for uint256; using EnumerableSet for EnumerableSet.UintSet; using SafeERC20 for IERC20; address public constant DEAD = 0x000000000000000000000000000000000000dEaD; enum Rarity { C...
user._season1StakeInfos[__season1TokenID]._pairedTokenId==0&&user._season2StakeInfos[__season2TokenID]._pairedTokenId==0,"Already paired"
294,651
user._season1StakeInfos[__season1TokenID]._pairedTokenId==0&&user._season2StakeInfos[__season2TokenID]._pairedTokenId==0
"Not enough NFTs left to reserve"
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@rari-capital/solmate/src/tokens/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/...
totalMinted.add(10)<MAX_SUPPLY,"Not enough NFTs left to reserve"
294,652
totalMinted.add(10)<MAX_SUPPLY
"Sold out."
pragma solidity ^0.8.0; // SPDX-License-Identifier: MIT import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract TSSNFT is ERC721Enumerable, Ownable { using SafeMath for uint...
totalSupply().add(_quantity)<=MAX_SNEAKERHEADZ,"Sold out."
294,695
totalSupply().add(_quantity)<=MAX_SNEAKERHEADZ
"Presale is over, no more allowances."
pragma solidity ^0.8.0; // SPDX-License-Identifier: MIT import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract TSSNFT is ERC721Enumerable, Ownable { using SafeMath for uint...
!preSaleOver,"Presale is over, no more allowances."
294,695
!preSaleOver
"The user is not allowed to do further presale buyings."
pragma solidity ^0.8.0; // SPDX-License-Identifier: MIT import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract TSSNFT is ERC721Enumerable, Ownable { using SafeMath for uint...
preSaleAllowance[msg.sender].sub(_quantity)>=0,"The user is not allowed to do further presale buyings."
294,695
preSaleAllowance[msg.sender].sub(_quantity)>=0
"This address is not allowed to buy that quantity."
pragma solidity ^0.8.0; // SPDX-License-Identifier: MIT import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract TSSNFT is ERC721Enumerable, Ownable { using SafeMath for uint...
preSaleAllowance[msg.sender]>=_quantity,"This address is not allowed to buy that quantity."
294,695
preSaleAllowance[msg.sender]>=_quantity