comment stringlengths 1 211 ⌀ | input stringlengths 155 20k | label stringlengths 4 1k | original_idx int64 203 514k | predicate stringlengths 1 1k |
|---|---|---|---|---|
"RICK-01" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
import "./ERC721Tradable.sol";
import "./Strings.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
/**
* @title Creature
* Creature - a contract for my non-fungible creatures.
*/
contract Creature is ERC721Tradable {
address payable private _owner;
... | _rickHash[rickHash]==false,"RICK-01" | 299,758 | _rickHash[rickHash]==false |
"RICK-03" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
import "./ERC721Tradable.sol";
import "./Strings.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
/**
* @title Creature
* Creature - a contract for my non-fungible creatures.
*/
contract Creature is ERC721Tradable {
address payable private _owner;
... | _rickProtectionHash[hashHair]==false,"RICK-03" | 299,758 | _rickProtectionHash[hashHair]==false |
"RICK-04" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
import "./ERC721Tradable.sol";
import "./Strings.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
/**
* @title Creature
* Creature - a contract for my non-fungible creatures.
*/
contract Creature is ERC721Tradable {
address payable private _owner;
... | _rickProtectionHash[hashShirt]==false,"RICK-04" | 299,758 | _rickProtectionHash[hashShirt]==false |
"RICK-05" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
import "./ERC721Tradable.sol";
import "./Strings.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
/**
* @title Creature
* Creature - a contract for my non-fungible creatures.
*/
contract Creature is ERC721Tradable {
address payable private _owner;
... | _rickProtectionHash[hashPants]==false,"RICK-05" | 299,758 | _rickProtectionHash[hashPants]==false |
"RICK-06" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
import "./ERC721Tradable.sol";
import "./Strings.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
/**
* @title Creature
* Creature - a contract for my non-fungible creatures.
*/
contract Creature is ERC721Tradable {
address payable private _owner;
... | _rickProtectionHash[hashShoes]==false,"RICK-06" | 299,758 | _rickProtectionHash[hashShoes]==false |
"RICK-07" | pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
import "./ERC721Tradable.sol";
import "./Strings.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
/**
* @title Creature
* Creature - a contract for my non-fungible creatures.
*/
contract Creature is ERC721Tradable {
address payable private _owner;
... | _rickProtectionHash[hashItem]==false,"RICK-07" | 299,758 | _rickProtectionHash[hashItem]==false |
null | pragma solidity ^0.4.16;
/**
* New Art Coin
*
* Invest into your future luxurious lifestyle.
*
* This is a luxurious token with the following properties:
* - 300.000.000 coins max supply
* - 150.000.000 coins mined for the company wallet
* - Investors receive bonus coins from the company wallet duri... | totalSupply_+tokens<=maxSupply | 299,771 | totalSupply_+tokens<=maxSupply |
null | pragma solidity ^0.4.11;
contract Ownable {
address public owner;
function Ownable() public {
}
function transferOwnership(address newOwner) onlyOwner public {
}
modifier onlyOwner() {
}
}
contract DnaMixer {
function mixDna(uint256 dna1, uint256 dna2, uint256 seed) public pure returns (uin... | girlIdToOwner[_girlId]==msg.sender | 299,933 | girlIdToOwner[_girlId]==msg.sender |
null | pragma solidity ^0.4.11;
contract Ownable {
address public owner;
function Ownable() public {
}
function transferOwnership(address newOwner) onlyOwner public {
}
modifier onlyOwner() {
}
}
contract DnaMixer {
function mixDna(uint256 dna1, uint256 dna2, uint256 seed) public pure returns (uin... | !auction.isCombine||(auction.isCombine&&_girlId>0) | 299,933 | !auction.isCombine||(auction.isCombine&&_girlId>0) |
null | pragma solidity ^0.4.11;
contract Ownable {
address public owner;
function Ownable() public {
}
function transferOwnership(address newOwner) onlyOwner public {
}
modifier onlyOwner() {
}
}
contract DnaMixer {
function mixDna(uint256 dna1, uint256 dna2, uint256 seed) public pure returns (uin... | girlIdToOwner[_girlId1]==msg.sender | 299,933 | girlIdToOwner[_girlId1]==msg.sender |
null | pragma solidity ^0.4.11;
contract Ownable {
address public owner;
function Ownable() public {
}
function transferOwnership(address newOwner) onlyOwner public {
}
modifier onlyOwner() {
}
}
contract DnaMixer {
function mixDna(uint256 dna1, uint256 dna2, uint256 seed) public pure returns (uin... | girlIdToOwner[_girlId2]==msg.sender | 299,933 | girlIdToOwner[_girlId2]==msg.sender |
"Mint quantity exceeds allowance for this address" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | addressMintedBal[msg.sender]+_quantity<=userMintLimit,"Mint quantity exceeds allowance for this address" | 299,985 | addressMintedBal[msg.sender]+_quantity<=userMintLimit |
"Sold out" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | _tokenIDCounter.current()<=maxSupply,"Sold out" | 299,985 | _tokenIDCounter.current()<=maxSupply |
"Mint quantity exceeds max supply" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | _tokenIDCounter.current()+_quantity<=maxSupply,"Mint quantity exceeds max supply" | 299,985 | _tokenIDCounter.current()+_quantity<=maxSupply |
"Collection was already revealed!" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | !collectionRevealed,"Collection was already revealed!" | 299,985 | !collectionRevealed |
"Mint quantity exceeds max supply" | // SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | _tokenIDCounter.current()+_inf.length<=maxSupply,"Mint quantity exceeds max supply" | 299,985 | _tokenIDCounter.current()+_inf.length<=maxSupply |
"Already staking" | //
// _ _ _ ___ ___
// | | | | | | |__ \ / _ \
// | | ___ | |_| |_ ___ _ __ _ _ ) || | | |
// | | / _ \| __| __/ _ \ '__| | | | / / | | | |
// | |___| (_) | |_| || __/ | | |_| | / /_ | |_| |
// |______\___/ \__|\__\___|_| \__, | |___... | !isStaking[msg.sender],"Already staking" | 300,033 | !isStaking[msg.sender] |
"Token Transfer failed" | //
// _ _ _ ___ ___
// | | | | | | |__ \ / _ \
// | | ___ | |_| |_ ___ _ __ _ _ ) || | | |
// | | / _ \| __| __/ _ \ '__| | | | / / | | | |
// | |___| (_) | |_| || __/ | | |_| | / /_ | |_| |
// |______\___/ \__|\__\___|_| \__, | |___... | lpToken.transferFrom(msg.sender,address(this),lpAmount),"Token Transfer failed" | 300,033 | lpToken.transferFrom(msg.sender,address(this),lpAmount) |
"Must wait 32 days to withdraw" | //
// _ _ _ ___ ___
// | | | | | | |__ \ / _ \
// | | ___ | |_| |_ ___ _ __ _ _ ) || | | |
// | | / _ \| __| __/ _ \ '__| | | | / / | | | |
// | |___| (_) | |_| || __/ | | |_| | / /_ | |_| |
// |______\___/ \__|\__\___|_| \__, | |___... | depositBlock[msg.sender]+blockTime<block.number,"Must wait 32 days to withdraw" | 300,033 | depositBlock[msg.sender]+blockTime<block.number |
null | //
// _ _ _ ___ ___
// | | | | | | |__ \ / _ \
// | | ___ | |_| |_ ___ _ __ _ _ ) || | | |
// | | / _ \| __| __/ _ \ '__| | | | / / | | | |
// | |___| (_) | |_| || __/ | | |_| | / /_ | |_| |
// |______\___/ \__|\__\___|_| \__, | |___... | lpToken.transfer(msg.sender,lpAmount) | 300,033 | lpToken.transfer(msg.sender,lpAmount) |
"User isn't staking" | //
// _ _ _ ___ ___
// | | | | | | |__ \ / _ \
// | | ___ | |_| |_ ___ _ __ _ _ ) || | | |
// | | / _ \| __| __/ _ \ '__| | | | / / | | | |
// | |___| (_) | |_| || __/ | | |_| | / /_ | |_| |
// |______\___/ \__|\__\___|_| \__, | |___... | isStaking[msg.sender],"User isn't staking" | 300,033 | isStaking[msg.sender] |
"You did not stake before the deadline" | //
// _ _ _ ___ ___
// | | | | | | |__ \ / _ \
// | | ___ | |_| |_ ___ _ __ _ _ ) || | | |
// | | / _ \| __| __/ _ \ '__| | | | / / | | | |
// | |___| (_) | |_| || __/ | | |_| | / /_ | |_| |
// |______\___/ \__|\__\___|_| \__, | |___... | depositBlock[msg.sender]<stakingDeadline,"You did not stake before the deadline" | 300,033 | depositBlock[msg.sender]<stakingDeadline |
"You have already minted a NFT" | //
// _ _ _ ___ ___
// | | | | | | |__ \ / _ \
// | | ___ | |_| |_ ___ _ __ _ _ ) || | | |
// | | / _ \| __| __/ _ \ '__| | | | / / | | | |
// | |___| (_) | |_| || __/ | | |_| | / /_ | |_| |
// |______\___/ \__|\__\___|_| \__, | |___... | (hasMinted[msg.sender][normalID]==false)&&(hasMinted[msg.sender][goldenID])==false,"You have already minted a NFT" | 300,033 | (hasMinted[msg.sender][normalID]==false)&&(hasMinted[msg.sender][goldenID])==false |
"!minter" | pragma solidity 0.6.12;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
// Standard ERC20 token with mint and burn
contract MOSToken is ERC20 {
address public governance;
bool public transferEnable;
mapping (address => bool) public isMinter;
constructor () public ERC20("MetaOasis DAO", "MOS") {
... | isMinter[msg.sender]==true,"!minter" | 300,096 | isMinter[msg.sender]==true |
"Max supply exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
/*LOVExoXXXXXXXXLOVEXXXXXNNNXXKKOkdollldxxxxxxxocoOOkkOOOOOkkOOOOOOkxolc::;;... | totalSupply+count<=MAX_SUPPLY,"Max supply exceeded" | 300,097 | totalSupply+count<=MAX_SUPPLY |
"_to cannot mint" | /**
* @title Compliant Token
*/
contract CompliantToken is ModularPausableToken {
// In order to deposit USD and receive newly minted TrueUSD, or to burn TrueUSD to
// redeem it for USD, users must first go through a KYC/AML check (which includes proving they
// control their ethereum address using ... | registry.hasAttribute1ButNotAttribute2(_to,HAS_PASSED_KYC_AML,IS_BLACKLISTED),"_to cannot mint" | 300,178 | registry.hasAttribute1ButNotAttribute2(_to,HAS_PASSED_KYC_AML,IS_BLACKLISTED) |
"_burner cannot burn" | /**
* @title Compliant Token
*/
contract CompliantToken is ModularPausableToken {
// In order to deposit USD and receive newly minted TrueUSD, or to burn TrueUSD to
// redeem it for USD, users must first go through a KYC/AML check (which includes proving they
// control their ethereum address using ... | registry.hasAttribute1ButNotAttribute2(_burner,CAN_BURN,IS_BLACKLISTED),"_burner cannot burn" | 300,178 | registry.hasAttribute1ButNotAttribute2(_burner,CAN_BURN,IS_BLACKLISTED) |
"_spender is blacklisted" | /**
* @title Compliant Token
*/
contract CompliantToken is ModularPausableToken {
// In order to deposit USD and receive newly minted TrueUSD, or to burn TrueUSD to
// redeem it for USD, users must first go through a KYC/AML check (which includes proving they
// control their ethereum address using ... | !registry.hasAttribute(_spender,IS_BLACKLISTED),"_spender is blacklisted" | 300,178 | !registry.hasAttribute(_spender,IS_BLACKLISTED) |
"blacklisted" | /**
* @title Compliant Token
*/
contract CompliantToken is ModularPausableToken {
// In order to deposit USD and receive newly minted TrueUSD, or to burn TrueUSD to
// redeem it for USD, users must first go through a KYC/AML check (which includes proving they
// control their ethereum address using ... | !registry.eitherHaveAttribute(_from,_to,IS_BLACKLISTED),"blacklisted" | 300,178 | !registry.eitherHaveAttribute(_from,_to,IS_BLACKLISTED) |
_transferErrorMessage | pragma solidity ^0.8.7;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can ... | st.transferFrom(msg.sender,address(this),amount),_transferErrorMessage | 300,357 | st.transferFrom(msg.sender,address(this),amount) |
"reward transfer failed" | pragma solidity ^0.8.7;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can ... | rewardToken.transfer(msg.sender,reward),"reward transfer failed" | 300,357 | rewardToken.transfer(msg.sender,reward) |
"Billionaire: Can't add a zero address" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "./P... | _addresses[ind]!=address(0),"Billionaire: Can't add a zero address" | 300,455 | _addresses[ind]!=address(0) |
"Billionaire: max total supply exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "./P... | totalNFT+_addresses.length<=maxTotalSupply,"Billionaire: max total supply exceeded" | 300,455 | totalNFT+_addresses.length<=maxTotalSupply |
"Bilionaire: max gift supply exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "./P... | giftCount+_addresses.length<=maxGiftSupply,"Bilionaire: max gift supply exceeded" | 300,455 | giftCount+_addresses.length<=maxGiftSupply |
" Caller is not on the presale list" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "./P... | _presaleList[msg.sender]==true," Caller is not on the presale list" | 300,455 | _presaleList[msg.sender]==true |
"Bilionaire: Can only mint 2 tokens" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "./P... | _presaleClaimed[msg.sender]+_amount<=_presaleConfig.maxCount,"Bilionaire: Can only mint 2 tokens" | 300,455 | _presaleClaimed[msg.sender]+_amount<=_presaleConfig.maxCount |
"Bilionaire: max supply exceeded" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "./P... | totalNFT+_amount<=maxTotalSupply,"Bilionaire: max supply exceeded" | 300,455 | totalNFT+_amount<=maxTotalSupply |
"Invalid admin address" | /**
_______ __ ______ .__ __. _______. ___ .______ .___ ___. ____ ____
| ____|| | / __ \ | \ | | / | / \ | _ \ | \/ | \ \ / /
| |__ | | | | | | | \| | | (----` / ^ \ | |_) | | \ / | \ \... | _msgSender()==_administratorAddress,"Invalid admin address" | 300,628 | _msgSender()==_administratorAddress |
"New taxs can't be higher than the start tax" | /**
_______ __ ______ .__ __. _______. ___ .______ .___ ___. ____ ____
| ____|| | / __ \ | \ | | / | / \ | _ \ | \/ | \ \ / /
| |__ | | | | | | | \| | | (----` / ^ \ | |_) | | \ / | \ \... | _newRTax.add(_newTTax)<=12,"New taxs can't be higher than the start tax" | 300,628 | _newRTax.add(_newTTax)<=12 |
"Need at least one bloot" | // contracts/BlootElves.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.6;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BlootElves is ERC721, Ownable {
using SafeMath for uint256;
... | bloot.balanceOf(msg.sender)>=1,"Need at least one bloot" | 300,638 | bloot.balanceOf(msg.sender)>=1 |
"Purchase more bloot" | // contracts/BlootElves.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.6;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract BlootElves is ERC721, Ownable {
using SafeMath for uint256;
... | super.balanceOf(msg.sender)<bloot.balanceOf(msg.sender)*MINT_PER_BLOOT,"Purchase more bloot" | 300,638 | super.balanceOf(msg.sender)<bloot.balanceOf(msg.sender)*MINT_PER_BLOOT |
"seller doesn't have enough coupons at that epoch" | pragma solidity 0.7.5;
// SPDX-License-Identifier: MIT
interface IESDS {
function transferCoupons(address _sender, address _recipient, uint256 _epoch, uint256 _amount) external;
function balanceOfCoupons(address _account, uint256 _epoch) external view returns (uint256);
function allowanceCoupons(addres... | ESDS.balanceOfCoupons(msg.sender,_epoch)>=_numCoupons,"seller doesn't have enough coupons at that epoch" | 300,798 | ESDS.balanceOfCoupons(msg.sender,_epoch)>=_numCoupons |
"seller hasn't approved this contract to move enough coupons" | pragma solidity 0.7.5;
// SPDX-License-Identifier: MIT
interface IESDS {
function transferCoupons(address _sender, address _recipient, uint256 _epoch, uint256 _amount) external;
function balanceOfCoupons(address _account, uint256 _epoch) external view returns (uint256);
function allowanceCoupons(addres... | ESDS.allowanceCoupons(msg.sender,address(this))>=_numCoupons,"seller hasn't approved this contract to move enough coupons" | 300,798 | ESDS.allowanceCoupons(msg.sender,address(this))>=_numCoupons |
"could not pay seller" | pragma solidity 0.7.5;
// SPDX-License-Identifier: MIT
interface IESDS {
function transferCoupons(address _sender, address _recipient, uint256 _epoch, uint256 _amount) external;
function balanceOfCoupons(address _account, uint256 _epoch) external view returns (uint256);
function allowanceCoupons(addres... | USDC.transferFrom(msg.sender,_seller,sellerTake),"could not pay seller" | 300,798 | USDC.transferFrom(msg.sender,_seller,sellerTake) |
"could not pay house" | pragma solidity 0.7.5;
// SPDX-License-Identifier: MIT
interface IESDS {
function transferCoupons(address _sender, address _recipient, uint256 _epoch, uint256 _amount) external;
function balanceOfCoupons(address _account, uint256 _epoch) external view returns (uint256);
function allowanceCoupons(addres... | USDC.transferFrom(msg.sender,house,houseTake),"could not pay house" | 300,798 | USDC.transferFrom(msg.sender,house,houseTake) |
"ERC20: token must be unlocked before transfer.Visit https://stakeshare.org/ for more info'" | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.0;
pragma abicoder v2;
interface genesisCalls {
function AllowAddressToDestroyGenesis ( address _from, address _address ) external;
function AllowReceiveGenesisTransfers ( address _from ) external;
function BurnTokens ( address _from, uint256... | _unlocked[sender],"ERC20: token must be unlocked before transfer.Visit https://stakeshare.org/ for more info'" | 300,814 | _unlocked[sender] |
null | pragma solidity 0.4.26;
interface tokenRecipient {function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external;}
contract owned {
address public owner;
constructor() public {
}
modifier onlyOwner {
}
function transferOwnership(address newOwner) onlyO... | balances[_burner]>0 | 300,932 | balances[_burner]>0 |
null | pragma solidity ^0.4.23;
/**
* @title IngressRegistrar
*/
contract IngressRegistrar {
address private owner;
bool public paused;
struct Manifest {
address registrant;
bytes32 name;
bytes32 version;
uint256 index;
bytes32 hashTypeName;
string checksum;
uint256 createdOn;
}
struct Has... | hashTypeIdLookup[name]==0 | 300,964 | hashTypeIdLookup[name]==0 |
null | pragma solidity ^0.4.23;
/**
* @title IngressRegistrar
*/
contract IngressRegistrar {
address private owner;
bool public paused;
struct Manifest {
address registrant;
bytes32 name;
bytes32 version;
uint256 index;
bytes32 hashTypeName;
string checksum;
uint256 createdOn;
}
struct Has... | hashTypeIdLookup[name]>0 | 300,964 | hashTypeIdLookup[name]>0 |
null | pragma solidity ^0.4.23;
/**
* @title IngressRegistrar
*/
contract IngressRegistrar {
address private owner;
bool public paused;
struct Manifest {
address registrant;
bytes32 name;
bytes32 version;
uint256 index;
bytes32 hashTypeName;
string checksum;
uint256 createdOn;
}
struct Has... | manifests[manifestId].name!=bytes32(0x0) | 300,964 | manifests[manifestId].name!=bytes32(0x0) |
null | pragma solidity ^0.4.23;
/**
* @title IngressRegistrar
*/
contract IngressRegistrar {
address private owner;
bool public paused;
struct Manifest {
address registrant;
bytes32 name;
bytes32 version;
uint256 index;
bytes32 hashTypeName;
string checksum;
uint256 createdOn;
}
struct Has... | registrantNameManifests[registrantNameIndex].length>0 | 300,964 | registrantNameManifests[registrantNameIndex].length>0 |
null | pragma solidity ^0.4.23;
/**
* @title IngressRegistrar
*/
contract IngressRegistrar {
address private owner;
bool public paused;
struct Manifest {
address registrant;
bytes32 name;
bytes32 version;
uint256 index;
bytes32 hashTypeName;
string checksum;
uint256 createdOn;
}
struct Has... | registrantManifests[registrant].length>0 | 300,964 | registrantManifests[registrant].length>0 |
"Failed Authentication" | @v4.1.0
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
constructor (string memory name_, ... | !_claims[to]&&verify(authority,to,_amount,signature),"Failed Authentication" | 300,998 | !_claims[to]&&verify(authority,to,_amount,signature) |
"NOT_AVAILABLE" | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzep... | (getAvailable()>0),"NOT_AVAILABLE" | 301,068 | (getAvailable()>0) |
'INVALID_ID' | //SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzep... | exists(token_id),'INVALID_ID' | 301,068 | exists(token_id) |
"Unit Protocol: NOT_SPAWNED_POSITION" | /*
Copyright 2020 Unit Protocol: Artem Zakharov (az@unit.xyz).
*/
pragma solidity ^0.7.1;
/**
* @title VaultManagerKeydonixMainAsset
* @author Unit Protocol: Artem Zakharov (az@unit.xyz), Alexander Ponomorev (@bcngod)
**/
contract VaultManagerKeydonixMainAsset is ReentrancyGuard {
using SafeMath for u... | vault.getTotalDebt(asset,user)!=0,"Unit Protocol: NOT_SPAWNED_POSITION" | 301,091 | vault.getTotalDebt(asset,user)!=0 |
"Unit Protocol: WRONG_ORACLE_TYPE" | /*
Copyright 2020 Unit Protocol: Artem Zakharov (az@unit.xyz).
*/
pragma solidity ^0.7.1;
/**
* @title VaultManagerKeydonixMainAsset
* @author Unit Protocol: Artem Zakharov (az@unit.xyz), Alexander Ponomorev (@bcngod)
**/
contract VaultManagerKeydonixMainAsset is ReentrancyGuard {
using SafeMath for u... | vault.oracleType(asset,user)==ORACLE_TYPE,"Unit Protocol: WRONG_ORACLE_TYPE" | 301,091 | vault.oracleType(asset,user)==ORACLE_TYPE |
"Unit Protocol: SPAWNED_POSITION" | /*
Copyright 2020 Unit Protocol: Artem Zakharov (az@unit.xyz).
*/
pragma solidity ^0.7.1;
/**
* @title VaultManagerKeydonixMainAsset
* @author Unit Protocol: Artem Zakharov (az@unit.xyz), Alexander Ponomorev (@bcngod)
**/
contract VaultManagerKeydonixMainAsset is ReentrancyGuard {
using SafeMath for u... | vault.getTotalDebt(asset,msg.sender)==0,"Unit Protocol: SPAWNED_POSITION" | 301,091 | vault.getTotalDebt(asset,msg.sender)==0 |
"Unit Protocol: WRONG_ORACLE_TYPE" | /*
Copyright 2020 Unit Protocol: Artem Zakharov (az@unit.xyz).
*/
pragma solidity ^0.7.1;
/**
* @title VaultManagerKeydonixMainAsset
* @author Unit Protocol: Artem Zakharov (az@unit.xyz), Alexander Ponomorev (@bcngod)
**/
contract VaultManagerKeydonixMainAsset is ReentrancyGuard {
using SafeMath for u... | vault.vaultParameters().isOracleTypeEnabled(ORACLE_TYPE,asset),"Unit Protocol: WRONG_ORACLE_TYPE" | 301,091 | vault.vaultParameters().isOracleTypeEnabled(ORACLE_TYPE,asset) |
"Unit Protocol: SPAWNED_POSITION" | /*
Copyright 2020 Unit Protocol: Artem Zakharov (az@unit.xyz).
*/
pragma solidity ^0.7.1;
/**
* @title VaultManagerKeydonixMainAsset
* @author Unit Protocol: Artem Zakharov (az@unit.xyz), Alexander Ponomorev (@bcngod)
**/
contract VaultManagerKeydonixMainAsset is ReentrancyGuard {
using SafeMath for u... | vault.getTotalDebt(vault.weth(),msg.sender)==0,"Unit Protocol: SPAWNED_POSITION" | 301,091 | vault.getTotalDebt(vault.weth(),msg.sender)==0 |
"Unit Protocol: WRONG_ORACLE_TYPE" | /*
Copyright 2020 Unit Protocol: Artem Zakharov (az@unit.xyz).
*/
pragma solidity ^0.7.1;
/**
* @title VaultManagerKeydonixMainAsset
* @author Unit Protocol: Artem Zakharov (az@unit.xyz), Alexander Ponomorev (@bcngod)
**/
contract VaultManagerKeydonixMainAsset is ReentrancyGuard {
using SafeMath for u... | vault.vaultParameters().isOracleTypeEnabled(ORACLE_TYPE,vault.weth()),"Unit Protocol: WRONG_ORACLE_TYPE" | 301,091 | vault.vaultParameters().isOracleTypeEnabled(ORACLE_TYPE,vault.weth()) |
"Unit Protocol: UNDERCOLLATERALIZED" | /*
Copyright 2020 Unit Protocol: Artem Zakharov (az@unit.xyz).
*/
pragma solidity ^0.7.1;
/**
* @title VaultManagerKeydonixMainAsset
* @author Unit Protocol: Artem Zakharov (az@unit.xyz), Alexander Ponomorev (@bcngod)
**/
contract VaultManagerKeydonixMainAsset is ReentrancyGuard {
using SafeMath for u... | vault.getTotalDebt(asset,user)<=usdLimit,"Unit Protocol: UNDERCOLLATERALIZED" | 301,091 | vault.getTotalDebt(asset,user)<=usdLimit |
"User is not on the Whitelist" | //SPDX-License-Identifier: MIT
/// @title CitaDaoNft
/// @notice this contract allows for the minting of the 9500 art pieces that represent
/// membership to the CitaDAONFT DAO
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzep... | isTier1WL(msg.sender)||isTier2WL(msg.sender)||isTier3WL(msg.sender),"User is not on the Whitelist" | 301,166 | isTier1WL(msg.sender)||isTier2WL(msg.sender)||isTier3WL(msg.sender) |
"The Max NFTs per address exceeded" | //SPDX-License-Identifier: MIT
/// @title CitaDaoNft
/// @notice this contract allows for the minting of the 9500 art pieces that represent
/// membership to the CitaDAONFT DAO
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzep... | whitelistTier1OwnerMintCount+_mintAmount<=nftPerWhiteListTier1AddressLimit,"The Max NFTs per address exceeded" | 301,166 | whitelistTier1OwnerMintCount+_mintAmount<=nftPerWhiteListTier1AddressLimit |
"The Max NFTs per address exceeded" | //SPDX-License-Identifier: MIT
/// @title CitaDaoNft
/// @notice this contract allows for the minting of the 9500 art pieces that represent
/// membership to the CitaDAONFT DAO
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzep... | whitelistTier2OwnerMintCount+_mintAmount<=nftPerWhiteListTier2AddressLimit,"The Max NFTs per address exceeded" | 301,166 | whitelistTier2OwnerMintCount+_mintAmount<=nftPerWhiteListTier2AddressLimit |
"The Max NFTs per address exceeded" | //SPDX-License-Identifier: MIT
/// @title CitaDaoNft
/// @notice this contract allows for the minting of the 9500 art pieces that represent
/// membership to the CitaDAONFT DAO
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzep... | whitelistTier3OwnerMintCount+_mintAmount<=nftPerWhiteListTier3AddressLimit,"The Max NFTs per address exceeded" | 301,166 | whitelistTier3OwnerMintCount+_mintAmount<=nftPerWhiteListTier3AddressLimit |
"The Max NFTs per address exceeded" | //SPDX-License-Identifier: MIT
/// @title CitaDaoNft
/// @notice this contract allows for the minting of the 9500 art pieces that represent
/// membership to the CitaDAONFT DAO
pragma solidity >=0.7.0 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzep... | PublicOwnerMintCount+_mintAmount<=nftPerPublicAddressLimit,"The Max NFTs per address exceeded" | 301,166 | PublicOwnerMintCount+_mintAmount<=nftPerPublicAddressLimit |
"Caller not whitelisted" | pragma solidity ^0.5.12;
contract TwistedSisterAuction {
using SafeMath for uint256;
event BidAccepted(
uint256 indexed _round,
uint256 _timeStamp,
uint256 _param,
uint256 _amount,
address indexed _bidder
);
event BidderRefunded(
uint256 indexed... | accessControls.isWhitelisted(msg.sender),"Caller not whitelisted" | 301,176 | accessControls.isWhitelisted(msg.sender) |
"This round's bidding window is not open" | pragma solidity ^0.5.12;
contract TwistedSisterAuction {
using SafeMath for uint256;
event BidAccepted(
uint256 indexed _round,
uint256 _timeStamp,
uint256 _param,
uint256 _amount,
address indexed _bidder
);
event BidderRefunded(
uint256 indexed... | _isWithinBiddingWindowForRound(),"This round's bidding window is not open" | 301,176 | _isWithinBiddingWindowForRound() |
"Current round still active" | pragma solidity ^0.5.12;
contract TwistedSisterAuction {
using SafeMath for uint256;
event BidAccepted(
uint256 indexed _round,
uint256 _timeStamp,
uint256 _param,
uint256 _amount,
address indexed _bidder
);
event BidderRefunded(
uint256 indexed... | !_isWithinBiddingWindowForRound(),"Current round still active" | 301,176 | !_isWithinBiddingWindowForRound() |
"Not Accountancy Role" | pragma solidity ^0.8.0;
/* Market Contract
** sell unit by fixed prie
*/
contract MarketSale is IMarketSale, IMarketSaleEnum, Pausable, AccessControlEnumerable, ERC721Holder {
struct Sale {
address payable seller;
uint256 price;
uint64 startedAt;
}
// pauser role
bytes... | isAdmin||isAccountancy,"Not Accountancy Role" | 301,209 | isAdmin||isAccountancy |
"Not unit owner" | pragma solidity ^0.8.0;
/* Market Contract
** sell unit by fixed prie
*/
contract MarketSale is IMarketSale, IMarketSaleEnum, Pausable, AccessControlEnumerable, ERC721Holder {
struct Sale {
address payable seller;
uint256 price;
uint64 startedAt;
}
// pauser role
bytes... | _checkMsgSenderMatchOwner(tokenId),"Not unit owner" | 301,209 | _checkMsgSenderMatchOwner(tokenId) |
"Token is not on sale" | pragma solidity ^0.8.0;
/* Market Contract
** sell unit by fixed prie
*/
contract MarketSale is IMarketSale, IMarketSaleEnum, Pausable, AccessControlEnumerable, ERC721Holder {
struct Sale {
address payable seller;
uint256 price;
uint64 startedAt;
}
// pauser role
bytes... | _isOnSale(s),"Token is not on sale" | 301,209 | _isOnSale(s) |
"address has been greylisted" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
// Stolen with love from Synthetixio
// https://raw.githubusercontent.com/Synthetixio/synthetix/develop/contracts/StakingRewards.sol
import "./Math.sol";
import "./SafeMath.sol";
import "./ERC20.sol";
import './TransferHelper.sol'... | greylist[msg.sender]==false,"address has been greylisted" | 301,243 | greylist[msg.sender]==false |
"Not enough STS available for rewards!" | // SPDX-License-Identifier: MIT
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
// Stolen with love from Synthetixio
// https://raw.githubusercontent.com/Synthetixio/synthetix/develop/contracts/StakingRewards.sol
import "./Math.sol";
import "./SafeMath.sol";
import "./ERC20.sol";
import './TransferHelper.sol'... | rewardRate.mul(rewardsDuration).mul(1e6).mul(num_periods_elapsed+1).div(PRICE_PRECISION)<=balance,"Not enough STS available for rewards!" | 301,243 | rewardRate.mul(rewardsDuration).mul(1e6).mul(num_periods_elapsed+1).div(PRICE_PRECISION)<=balance |
null | pragma solidity ^0.5.9;
contract ImmDomains {
address public owner;
address public registrar;
mapping(bytes => address) public addresses;
event OwnerUpdate(address _owner);
event RegistrarUpdate(address _registrar);
event Registration(bytes _domain, address _address);
constructor() public {
}
... | isValidDomain(_domain) | 301,287 | isValidDomain(_domain) |
null | pragma solidity ^0.5.9;
contract ImmDomains {
address public owner;
address public registrar;
mapping(bytes => address) public addresses;
event OwnerUpdate(address _owner);
event RegistrarUpdate(address _registrar);
event Registration(bytes _domain, address _address);
constructor() public {
}
... | addresses[_domain]==address(0) | 301,287 | addresses[_domain]==address(0) |
"The entire presale has been sold. Check back for public mint." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | SafeMath.add(_tokenIdCounter.current(),_numberOfDonuts)<=MAX_TOTAL_MINT,"The entire presale has been sold. Check back for public mint." | 301,318 | SafeMath.add(_tokenIdCounter.current(),_numberOfDonuts)<=MAX_TOTAL_MINT |
"Amount of Ether sent is not correct." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | getNFTPrice(_numberOfDonuts)<=msg.value,"Amount of Ether sent is not correct." | 301,318 | getNFTPrice(_numberOfDonuts)<=msg.value |
"This amount exceeds the quantity you are allowed to mint during presale." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | SafeMath.add(addressMinted[msg.sender],_numberOfDonuts)<=_maxMintAmount,"This amount exceeds the quantity you are allowed to mint during presale." | 301,318 | SafeMath.add(addressMinted[msg.sender],_numberOfDonuts)<=_maxMintAmount |
"This amount exceeds the quantity you are allowed to mint during public." | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | SafeMath.add(addressMinted[msg.sender],_numberOfDonuts)<=MAX_PER_WALLET_FOR_PUBLIC,"This amount exceeds the quantity you are allowed to mint during public." | 301,318 | SafeMath.add(addressMinted[msg.sender],_numberOfDonuts)<=MAX_PER_WALLET_FOR_PUBLIC |
null | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | SafeMath.add(_tokenIdCounter.current(),sum)<=MAX_TOTAL_MINT | 301,318 | SafeMath.add(_tokenIdCounter.current(),sum)<=MAX_TOTAL_MINT |
"_maxTotalMint not large enough" | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin... | totalSupply()<=_maxTotalMint,"_maxTotalMint not large enough" | 301,318 | totalSupply()<=_maxTotalMint |
"Invalid pair" | pragma solidity >=0.4.24;
/**
* @title TokenSwap.
* @author Eidoo SAGL.
* @dev A swap asset contract. The offerAmount and wantAmount are collected and sent into the contract itself.
*/
contract WrappedTokenSwap is Withdrawable, Pausable, Destructible, WithFee, IErc20Swap
{
using SafeMath for uint;
usin... | success&&src==underlying,"Invalid pair" | 301,456 | success&&src==underlying |
"ERC20 allowance < srcAmount" | pragma solidity >=0.4.24;
/**
* @title TokenSwap.
* @author Eidoo SAGL.
* @dev A swap asset contract. The offerAmount and wantAmount are collected and sent into the contract itself.
*/
contract WrappedTokenSwap is Withdrawable, Pausable, Destructible, WithFee, IErc20Swap
{
using SafeMath for uint;
usin... | IBadStaticCallERC20(src).allowance(msg.sender,address(this))>=srcAmount,"ERC20 allowance < srcAmount" | 301,456 | IBadStaticCallERC20(src).allowance(msg.sender,address(this))>=srcAmount |
"Uint64Chain: the node is aleady linked" | pragma solidity >=0.5.0 <0.6.0;
/// @title Uint64Chain
/// @notice Uint64 Type 체인 정의 및 관리
/// @dev 시간대 별 이벤트와 같은 TIME-BASE 인덱스 리스트 관리에 쓰인다.
/// @author jhhong
contract Uint64Chain {
using SafeMath64 for uint64;
// 구조체 : 노드 정보
struct NodeInfo {
uint64 prev; // 이전 노드
uint64 next; // ... | !isLinked(node),"Uint64Chain: the node is aleady linked" | 301,583 | !isLinked(node) |
"Uint64Chain: the node is aleady unlinked" | pragma solidity >=0.5.0 <0.6.0;
/// @title Uint64Chain
/// @notice Uint64 Type 체인 정의 및 관리
/// @dev 시간대 별 이벤트와 같은 TIME-BASE 인덱스 리스트 관리에 쓰인다.
/// @author jhhong
contract Uint64Chain {
using SafeMath64 for uint64;
// 구조체 : 노드 정보
struct NodeInfo {
uint64 prev; // 이전 노드
uint64 next; // ... | isLinked(node),"Uint64Chain: the node is aleady unlinked" | 301,583 | isLinked(node) |
"Not the right proposal type" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | addressProposalStore[_proposal].proposalType==0,"Not the right proposal type" | 301,591 | addressProposalStore[_proposal].proposalType==0 |
"Already Signed" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | addressProposalStore[_proposal].signed==false,"Already Signed" | 301,591 | addressProposalStore[_proposal].signed==false |
"Not the right proposal type" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | addressProposalStore[_proposal].proposalType==1,"Not the right proposal type" | 301,591 | addressProposalStore[_proposal].proposalType==1 |
"Not the right proposal type" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | addressProposalStore[_proposal].proposalType==2,"Not the right proposal type" | 301,591 | addressProposalStore[_proposal].proposalType==2 |
"Not the right proposal type" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | addressProposalStore[_proposal].proposalType==3,"Not the right proposal type" | 301,591 | addressProposalStore[_proposal].proposalType==3 |
"Not the right proposal type" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | addressProposalStore[_proposal].proposalType==4,"Not the right proposal type" | 301,591 | addressProposalStore[_proposal].proposalType==4 |
"Not the right proposal type" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | addressProposalStore[_proposal].proposalType==5,"Not the right proposal type" | 301,591 | addressProposalStore[_proposal].proposalType==5 |
"Not the right proposal type" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | addressProposalStore[_proposal].proposalType==6,"Not the right proposal type" | 301,591 | addressProposalStore[_proposal].proposalType==6 |
"Not the right proposal type" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | addressProposalStore[_proposal].proposalType==7,"Not the right proposal type" | 301,591 | addressProposalStore[_proposal].proposalType==7 |
"Already Signed" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | thresholdProposalStore[_proposal].signed==false,"Already Signed" | 301,591 | thresholdProposalStore[_proposal].signed==false |
"Can't be less signatories than threshold" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | thresholdProposalStore[_proposal].proposal<=signatories.length,"Can't be less signatories than threshold" | 301,591 | thresholdProposalStore[_proposal].proposal<=signatories.length |
"You have already voted" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | addressProposalStore[_proposal].signatures[i]!=msg.sender,"You have already voted" | 301,591 | addressProposalStore[_proposal].signatures[i]!=msg.sender |
"You have already voted" | pragma solidity 0.8.4;
contract VaultMultiSig is Ownable {
Vault private vault;
address[] private signatories;
uint256[] private outstandingAddressProposalsIndex;
uint256[] private outstandingThresholdProposalsIndex;
uint256 private threshold = 1;
uint256 private uuid = 0;
/*Proposal... | thresholdProposalStore[_proposal].signatures[i]!=msg.sender,"You have already voted" | 301,591 | thresholdProposalStore[_proposal].signatures[i]!=msg.sender |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.