contract_name stringlengths 1 238 | file_path stringlengths 4 23.2k | contract_address stringlengths 42 42 | language stringclasses 2
values | source_code stringlengths 1 896k | abi stringlengths 2 46.2k | compiler_version stringclasses 297
values | optimization_used bool 2
classes | runs float64 1 1,000M ⌀ | constructor_arguments stringlengths 0 214k | evm_version stringclasses 11
values | library stringclasses 376
values | license_type stringclasses 16
values | proxy bool 2
classes | implementation stringlengths 0 42 | swarm_source stringlengths 0 71 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UniversalVault | contracts/Geyser.sol | 0xf3344451577c3221f41e91e78806d7fd5322b766 | Solidity | // SPDX-License-Identifier: GPL-3.0-only
pragma solidity 0.7.6;
pragma abicoder v2;
import {SafeMath} from "@openzeppelin/contracts/math/SafeMath.sol";
import {EnumerableSet} from "@openzeppelin/contracts/utils/EnumerableSet.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {OwnableUp... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":... | v0.7.6+commit.7338295f | true | 1,000 | Default | false | |||||
OriginsDao | OriginsDao.sol | 0x786f3f107fb54bac3eef866afcc7077d082f729f | Solidity | pragma solidity ^0.8.10;
// SPDX-License-Identifier: MIT
interface Origins {
function deposit() external payable;
}
contract OriginsDao {
fallback() payable external {}
receive() external payable {}
address originsContract;
Origins origins;
constructor() {
origins... | [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getContractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"s... | v0.8.10+commit.fc410830 | true | 200 | Default | MIT | false | ipfs://ec6d014c58f8483a3327d4b5e9527732d4be0b3d8f58125eb1c2f6dd9f28c8d4 | |||
StandardERC20 | @openzeppelin/contracts/token/ERC20/ERC20.sol | 0xa5818edd69408cd16c44d3957bede92b1051400e | Solidity | pragma solidity ^0.8.0;
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a det... | [{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"initialBalance_","type":"uint256"},{"internalType":"address payable","name":"feeReceiver_","type":"... | v0.8.5+commit.a4f2e591 | true | 200 | 00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000314dc6448d9338c15b0a00000000000000000000000000000000332de880430383f9a57d61c2d7926b52cbecbb36... | Default | MIT | false | |||
READVISE | contracts\READVISE.sol | 0xfdc548d61487b403582657b7a8b6120169303cba | Solidity | /*
* Copyright 2021 readvise.io ALL RIGHTS RESERVED.
*/
pragma solidity ^0.6.2;
contract READVISE is Context, IERC20, Ownable {
using SafeMath for uint256;
using Address for address;
mapping (address => uint256) private _rOwned;
mapping (address => uint256) private _tOwned;
... | [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}... | v0.6.2+commit.bacdbe57 | true | 200 | Default | MIT | false | ipfs://8d6a9c4c1252acf2e802e4c18630ee79e09f5f98c7b20113def93c4db5a1147c | |||
CP | contracts/lib/DecimalMath.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | /**
* @title DecimalMath
* @author DODO Breeder
*
* @notice Functions for fixed point number with 18 decimals
*/
library DecimalMath {
using SafeMath for uint256;
uint256 internal constant ONE = 10**18;
uint256 internal constant ONE2 = 10**36;
function mulFloor(uint256 target, uint256... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/lib/Ownable.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | /**
* @title Ownable
* @author DODO Breeder
*
* @notice Ownership related functions
*/
contract Ownable {
address public _OWNER_;
address public _NEW_OWNER_;
// ============ Events ============
event OwnershipTransferPrepared(address indexed previousOwner, address indexed newOwner);
... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/intf/IERC20.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | /**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function name() external vi... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/lib/SafeERC20.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | /**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/lib/InitializableOwnable.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | /**
* @title Ownable
* @author DODO Breeder
*
* @notice Ownership related functions
*/
contract InitializableOwnable {
address public _OWNER_;
address public _NEW_OWNER_;
bool internal _INITIALIZED_;
// ============ Events ============
event OwnershipTransferPrepared(address inde... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/lib/CloneFactory.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | interface ICloneFactory {
function clone(address prototype) external returns (address proxy);
}
// introduction of proxy mode design: https://docs.openzeppelin.com/upgrades/2.8/
// minimum implementation of transparent proxy: https://eips.ethereum.org/EIPS/eip-1167
contract CloneFactory is ICloneFactory {
... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/lib/ReentrancyGuard.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | /**
* @title ReentrancyGuard
* @author DODO Breeder
*
* @notice Protect functions from Reentrancy Attack
*/
contract ReentrancyGuard {
// https://solidity.readthedocs.io/en/latest/control-structures.html?highlight=zero-state#scoping-and-declarations
// zero-state of _ENTERED_ is false
bool pri... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/lib/PermissionManager.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | interface IPermissionManager {
function initOwner(address) external;
function isAllowed(address) external view returns (bool);
}
contract PermissionManager is InitializableOwnable {
bool public _WHITELIST_MODE_ON_;
mapping(address => bool) internal _whitelist_;
mapping(address => bool) ... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/lib/FeeRateModel.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | interface IFeeRateImpl {
function getFeeRate(address pool, address trader) external view returns (uint256);
}
interface IFeeRateModel {
function getFeeRate(address trader) external view returns (uint256);
}
contract FeeRateModel is InitializableOwnable {
address public feeRateImpl;
functio... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/CrowdPooling/impl/CPStorage.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | contract CPStorage is InitializableOwnable, ReentrancyGuard {
using SafeMath for uint256;
// ============ Constant ============
uint256 internal constant _SETTLEMENT_EXPIRE_ = 86400 * 7;
uint256 internal constant _SETTEL_FUND_ = 200 finney;
bool public _IS_OPEN_TWAP_ = false;
// ... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/lib/DODOMath.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | /**
* @title DODOMath
* @author DODO Breeder
*
* @notice Functions for complex calculating. Including ONE Integration and TWO Quadratic solutions
*/
library DODOMath {
using SafeMath for uint256;
/*
Integrate dodo curve from V1 to V2
require V0>=V1>=V2>0
res = (1-k)i(V1... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/lib/PMMPricing.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | /**
* @title Pricing
* @author DODO Breeder
*
* @notice DODO Pricing model
*/
library PMMPricing {
using SafeMath for uint256;
enum RState {ONE, ABOVE_ONE, BELOW_ONE}
struct PMMState {
uint256 i;
uint256 K;
uint256 B;
uint256 Q;
uint256 B0;
... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/intf/IDODOCallee.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | interface IDODOCallee {
function DVMSellShareCall(
address sender,
uint256 burnShareAmount,
uint256 baseAmount,
uint256 quoteAmount,
bytes calldata data
) external;
function DVMFlashLoanCall(
address sender,
uint256 baseAmount,
uin... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
CP | contracts/CrowdPooling/impl/CPVesting.sol | 0xaa0c17f9722a28e6ca4e0e5c0d8be77671ae7001 | Solidity | /**
* @title CPVesting
* @author DODO Breeder
*
* @notice Lock Token and release it linearly
*/
contract CPVesting is CPFunding {
using SafeMath for uint256;
using SafeERC20 for IERC20;
// ============ Events ============
event Claim(address user, uint256 baseAmount, uint256 quo... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed"... | v0.6.9+commit.3e3065ac | true | 200 | Default | Apache-2.0 | false | ipfs://c2cd0615f5c06401d941c3419758c2a159f3e6dd1dd0105e658d6a91d912402d | |||
AntiRunnersBaseRenderer | contracts/AntiRunnersRenderer.sol | 0xdd757d52bdee215c98afa267b71be4af12ba1667 | Solidity | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./core/ChainRunnersTypes.sol";
import "./interfaces/IChainRunnersRenderer.sol";
import "./interfaces/IBlitmapCRConverter.sol";
// _____ ... | [{"inputs":[{"internalType":"address","name":"chainRunnersBaseRendererAddress","type":"address"},{"internalType":"address","name":"blitmapConverterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner"... | v0.8.9+commit.e5eed63a | false | 200 | 0000000000000000000000006e3ea8d497abd438367b57cba35b37eb5839da5b000000000000000000000000d3a5c4fc4f911e89c2d52998ffc72fe62e4a3b08 | Default | false | ||||
AntiRunnersBaseRenderer | contracts/interfaces/IChainRunnersRenderer.sol | 0xdd757d52bdee215c98afa267b71be4af12ba1667 | Solidity | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "../core/ChainRunnersTypes.sol";
interface IChainRunnersRenderer {
struct Layer {
string name;
bytes hexString;
}
struct Color {
string hexString;
uint alpha;
uint red;
uint green;
ui... | [{"inputs":[{"internalType":"address","name":"chainRunnersBaseRendererAddress","type":"address"},{"internalType":"address","name":"blitmapConverterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner"... | v0.8.9+commit.e5eed63a | false | 200 | 0000000000000000000000006e3ea8d497abd438367b57cba35b37eb5839da5b000000000000000000000000d3a5c4fc4f911e89c2d52998ffc72fe62e4a3b08 | Default | false | ||||
AntiRunnersBaseRenderer | contracts/interfaces/IBlitmapCRConverter.sol | 0xdd757d52bdee215c98afa267b71be4af12ba1667 | Solidity | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
interface IBlitmapCRConverter {
function getBlitmapLayer(uint256 tokenId) external view returns (bytes memory);
function tokenNameOf(uint256 tokenId) external view returns (string memory);
} | [{"inputs":[{"internalType":"address","name":"chainRunnersBaseRendererAddress","type":"address"},{"internalType":"address","name":"blitmapConverterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner"... | v0.8.9+commit.e5eed63a | false | 200 | 0000000000000000000000006e3ea8d497abd438367b57cba35b37eb5839da5b000000000000000000000000d3a5c4fc4f911e89c2d52998ffc72fe62e4a3b08 | Default | false | ||||
ACOToken | Address.sol | 0x4a1f4ce939ee589c26f1f302df8b0b3fc348dea6 | Solidity | pragma solidity ^0.6.6;
// Contract on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{... | v0.6.6+commit.6c089d02 | true | 200 | Default | None | false | ipfs://dcde1afc97ef6c36a055fb7dbd30210732ce5dead7fa6c3dca1d8e72f18b0b79 | |||
ACOToken | BokkyPooBahsDateTimeLibrary.sol | 0x4a1f4ce939ee589c26f1f302df8b0b3fc348dea6 | Solidity | pragma solidity ^0.6.6;
// ----------------------------------------------------------------------------
// BokkyPooBah's DateTime Library v1.01
//
// A gas-efficient Solidity date and time library
//
// https://github.com/bokkypoobah/BokkyPooBahsDateTimeLibrary
//
// Tested date range 1970/01/01 to 2345/12/31... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{... | v0.6.6+commit.6c089d02 | true | 200 | Default | None | false | ipfs://dcde1afc97ef6c36a055fb7dbd30210732ce5dead7fa6c3dca1d8e72f18b0b79 | |||
ACOToken | ERC20.sol | 0x4a1f4ce939ee589c26f1f302df8b0b3fc348dea6 | Solidity | pragma solidity ^0.6.6;
import "./SafeMath.sol";
import "./IERC20.sol";
/**
* @title ERC20
* @dev Base implementation of ERC20 token.
*/
abstract contract ERC20 is IERC20 {
using SafeMath for uint256;
uint256 private _totalSupply;
mapping (address => uint256) private _balances;
m... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{... | v0.6.6+commit.6c089d02 | true | 200 | Default | None | false | ipfs://dcde1afc97ef6c36a055fb7dbd30210732ce5dead7fa6c3dca1d8e72f18b0b79 | |||
ACOToken | Strings.sol | 0x4a1f4ce939ee589c26f1f302df8b0b3fc348dea6 | Solidity | pragma solidity ^0.6.6;
// Contract on https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts
/**
* @dev String operations.
*/
library Strings {
/**
* @dev Converts a `uint256` to its ASCII `string` representation.
*/
function toString(uint256 value) internal pure ... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{... | v0.6.6+commit.6c089d02 | true | 200 | Default | None | false | ipfs://dcde1afc97ef6c36a055fb7dbd30210732ce5dead7fa6c3dca1d8e72f18b0b79 | |||
AdminUpgradeabilityProxy | AdminUpgradeabilityProxy.sol | 0xa5c0eee420113a488dbfd353e023afed92fe4149 | Solidity | // SPDX-License-Identifier: MIT
pragma solidity 0.6.8;
//
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this... | [{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"interna... | v0.6.8+commit.0bbfe453 | true | 250 | 000000000000000000000000cb6ead646878f84dc603e76605f970b83b9272b100000000000000000000000047016545d9e196095324f37b6c5736859c8baf5a | Default | MIT | false | ipfs://b05794efb34ed3573a1cd849d7708118c953609dfa210dac3dcfeef5e82fd4e6 | ||
ERC20PresetMinterPauser | @openzeppelin/contracts/utils/Address.sol | 0x12efaa892bf2021565c859f5e97c1e157a4f8eee | Solidity | pragma solidity >=0.6.2 <0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false... | [{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"addre... | v0.6.12+commit.27d51765 | false | 200 | 00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000752657761726473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003... | Default | MIT | false | ipfs://009f66598501208be1e1f7a1b737b2b3a0653ecceb7b7c23f947951281134519 | ||
ERC20PresetMinterPauser | @openzeppelin/contracts/math/SafeMath.sol | 0x12efaa892bf2021565c859f5e97c1e157a4f8eee | Solidity | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard be... | [{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"addre... | v0.6.12+commit.27d51765 | false | 200 | 00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000752657761726473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003... | Default | MIT | false | ipfs://009f66598501208be1e1f7a1b737b2b3a0653ecceb7b7c23f947951281134519 | ||
ERC20PresetMinterPauser | @openzeppelin/contracts/token/ERC20/ERC20.sol | 0x12efaa892bf2021565c859f5e97c1e157a4f8eee | Solidity | pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
... | [{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"addre... | v0.6.12+commit.27d51765 | false | 200 | 00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000752657761726473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003... | Default | MIT | false | ipfs://009f66598501208be1e1f7a1b737b2b3a0653ecceb7b7c23f947951281134519 | ||
TokenFactory | TokenFactory.sol | 0xa972f97ad5ff673edc201e6c61fc32ba598a51eb | Solidity | pragma solidity ^0.4.11;
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) constant returns (uint256);
function transfer(address to, uint256 value) returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
contract ERC20 is ERC20Bas... | [{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"sta... | v0.4.19+commit.c4cbbb05 | true | 200 | 00000000000000000000000000000000000000000000000000001319718a50000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000a... | Default | false | bzzr://194c9cc1d852ffa7274c02d879492a9d342965aad86fa954b03e73fa86d00039 | |||
CompoundFinance | CompoundFinance.sol | 0xef4b60fa013eacb34c0029b4f04dce8f46141f49 | Solidity | /**
*compound finance staking
*/
/**
*
*/
pragma solidity >=0.4.22 <0.6.0;
contract ERC20 {
function totalSupply() public view returns (uint supply);
function balanceOf(address who) public view returns (uint value);
function allowance(address owner, address spender) public view returns (ui... | [{"inputs":[],"payable":true,"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type... | v0.5.17+commit.d19bba13 | false | 200 | Default | None | false | bzzr://4f780f9952d0c39ac9825f3e8793fa840a310515443a536d89317788b643e28a | |||
JOHO | contracts/JOHO.sol | 0x289cf7e6d84d96b7ff5f028bfdaf3741b606349a | Solidity | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: Joshua Holland
/// @author: manifold.xyz
import "./ERC721Creator.sol";
/////////////////////////////////////////////////////////////////////////////////////////////////
// ... | [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}] | v0.8.7+commit.e28d00a7 | true | 300 | Default | true | 0xe4e4003afe3765aca8149a82fc064c0b125b9e5a | ||||
SJRK | contracts/SJRK.sol | 0x1f0d94d5dfe5ec17abdd7af47caf080cffb58824 | Solidity | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: shinjuroukai
/// @author: manifold.xyz
import "./ERC1155Creator.sol";
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// ... | [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}] | v0.8.7+commit.e28d00a7 | true | 300 | Default | true | 0x142fd5b9d67721efda3a5e2e9be47a96c9b724a4 | ||||
PUR | PUR.sol | 0xcc11bf2b24735c84948e63f9d6183ea6474e2f34 | Solidity | pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a... | [{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":fals... | v0.4.24+commit.e67f0147 | false | 200 | Default | None | false | bzzr://f6e606d5c56645d960affc301ba50dd347d52682f5101583cad75641bc808a28 | |||
SakeUniV2 | @openzeppelin/contracts/token/ERC20/ERC20.sol | 0x08b5d682e13eba206b2d772294ee5fbd52348bb3 | Solidity | pragma solidity ^0.6.0;
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* ... | [{"inputs":[{"internalType":"contract SakeMaster","name":"_sakeMaster","type":"address"},{"internalType":"address","name":"_uniLpToken","type":"address"},{"internalType":"address","name":"_uniStaking","type":"address"},{"internalType":"address","name":"_uniToken","type":"address"},{"internalType":"contract SakeToken","... | v0.6.12+commit.27d51765 | true | 200 | 0000000000000000000000000ec1f1573f3a2db0ad396c843e6a079e2a53e5570000000000000000000000000d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000006c3e4cb2e96b01f4b866965a91ed4437839a121a0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984000000000000000000000000066798d9ef0833ccc719076dab77199ecbd178b0... | Default | MIT | false | ipfs://49786436b45318dae7b596334ee4fd1f193979bc0e7a3a30ec7299e17f721850 | ||
SakeUniV2 | contracts/SakeToken.sol | 0x08b5d682e13eba206b2d772294ee5fbd52348bb3 | Solidity | pragma solidity 0.6.12;
// SakeToken with Governance.
contract SakeToken is Context, IERC20, Ownable {
using SafeMath for uint256;
using Address for address;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
... | [{"inputs":[{"internalType":"contract SakeMaster","name":"_sakeMaster","type":"address"},{"internalType":"address","name":"_uniLpToken","type":"address"},{"internalType":"address","name":"_uniStaking","type":"address"},{"internalType":"address","name":"_uniToken","type":"address"},{"internalType":"contract SakeToken","... | v0.6.12+commit.27d51765 | true | 200 | 0000000000000000000000000ec1f1573f3a2db0ad396c843e6a079e2a53e5570000000000000000000000000d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000006c3e4cb2e96b01f4b866965a91ed4437839a121a0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984000000000000000000000000066798d9ef0833ccc719076dab77199ecbd178b0... | Default | MIT | false | ipfs://49786436b45318dae7b596334ee4fd1f193979bc0e7a3a30ec7299e17f721850 | ||
SakeUniV2 | contracts/SakeMaster.sol | 0x08b5d682e13eba206b2d772294ee5fbd52348bb3 | Solidity | pragma solidity 0.6.12;
// SakeMaster is the master of Sake. He can make Sake and he is a fair guy.
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once SAKE is sufficiently
// distributed and the community can ... | [{"inputs":[{"internalType":"contract SakeMaster","name":"_sakeMaster","type":"address"},{"internalType":"address","name":"_uniLpToken","type":"address"},{"internalType":"address","name":"_uniStaking","type":"address"},{"internalType":"address","name":"_uniToken","type":"address"},{"internalType":"contract SakeToken","... | v0.6.12+commit.27d51765 | true | 200 | 0000000000000000000000000ec1f1573f3a2db0ad396c843e6a079e2a53e5570000000000000000000000000d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000006c3e4cb2e96b01f4b866965a91ed4437839a121a0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984000000000000000000000000066798d9ef0833ccc719076dab77199ecbd178b0... | Default | MIT | false | ipfs://49786436b45318dae7b596334ee4fd1f193979bc0e7a3a30ec7299e17f721850 | ||
SakeUniV2 | contracts/interfaces/IStakingRewards.sol | 0x08b5d682e13eba206b2d772294ee5fbd52348bb3 | Solidity | pragma solidity 0.6.12;
// Uniswap Liquidity Mining
interface IStakingRewards {
function earned(address account) external view returns (uint256);
function stake(uint256 amount) external;
function withdraw(uint256 amount) external;
function getReward() external;
function exit() exter... | [{"inputs":[{"internalType":"contract SakeMaster","name":"_sakeMaster","type":"address"},{"internalType":"address","name":"_uniLpToken","type":"address"},{"internalType":"address","name":"_uniStaking","type":"address"},{"internalType":"address","name":"_uniToken","type":"address"},{"internalType":"contract SakeToken","... | v0.6.12+commit.27d51765 | true | 200 | 0000000000000000000000000ec1f1573f3a2db0ad396c843e6a079e2a53e5570000000000000000000000000d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000006c3e4cb2e96b01f4b866965a91ed4437839a121a0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984000000000000000000000000066798d9ef0833ccc719076dab77199ecbd178b0... | Default | MIT | false | ipfs://49786436b45318dae7b596334ee4fd1f193979bc0e7a3a30ec7299e17f721850 | ||
SakeUniV2 | contracts/SakeUniV2.sol | 0x08b5d682e13eba206b2d772294ee5fbd52348bb3 | Solidity | pragma solidity 0.6.12;
contract SakeUniV2 is Ownable, ERC20("Wrapped UniSwap Liquidity Token", "WULP") {
using SafeERC20 for IERC20;
using SafeMath for uint256;
// Info of each user.
struct UserInfo {
uint256 amount; // How many LP tokens the user has provided.
ui... | [{"inputs":[{"internalType":"contract SakeMaster","name":"_sakeMaster","type":"address"},{"internalType":"address","name":"_uniLpToken","type":"address"},{"internalType":"address","name":"_uniStaking","type":"address"},{"internalType":"address","name":"_uniToken","type":"address"},{"internalType":"contract SakeToken","... | v0.6.12+commit.27d51765 | true | 200 | 0000000000000000000000000ec1f1573f3a2db0ad396c843e6a079e2a53e5570000000000000000000000000d4a11d5eeaac28ec3f61d100daf4d40471f18520000000000000000000000006c3e4cb2e96b01f4b866965a91ed4437839a121a0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984000000000000000000000000066798d9ef0833ccc719076dab77199ecbd178b0... | Default | MIT | false | ipfs://49786436b45318dae7b596334ee4fd1f193979bc0e7a3a30ec7299e17f721850 | ||
FarmMain | contracts\farming\FarmData.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | //SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
struct FarmingPositionRequest {
uint256 setupIndex; // index of the chosen setup.
uint256 amount0; // amount of main token or liquidity pool token.
uint256 amount1; // amount of other token or liquidity pool token. Needed for gen2
address po... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | contracts\farming\IFarmFactory.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | //SPDX_License_Identifier: MIT
pragma solidity ^0.7.6;
interface IFarmFactory {
event ExtensionCloned(address indexed);
function feePercentageInfo() external view returns (uint256, address);
function farmDefaultExtension() external view returns(address);
function cloneFarmDefaultExtension() ... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | contracts\farming\util\IERC20.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: MIT
pragma solidity ^0.7.6;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | @openzeppelin\contracts\token\ERC721\IERC721Enumerable.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: MIT
pragma solidity ^0.7.0;
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the c... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | node_modules\@uniswap\v3-periphery\contracts\interfaces\IPoolInitializer.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
//pragma abicoder v2;
/// @title Creates and initializes V3 Pools
/// @notice Provides a method for creating and initializing a pool, if necessary, for bundling with other methods that
/// require the pool to exist.
interface IPoolInitializer... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | node_modules\@uniswap\v3-periphery\contracts\interfaces\IERC721Permit.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
/// @title ERC721 with permit
/// @notice Extension to ERC721 that includes a permit function for signature based approvals
interface IERC721Permit is IERC721 {
/// @notice The permit typehash used in the permit signature
/// @retur... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | node_modules\@uniswap\v3-periphery\contracts\interfaces\IPeripheryPayments.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
/// @title Periphery Payments
/// @notice Functions to ease deposits and withdrawals of ETH
interface IPeripheryPayments {
/// @notice Unwraps the contract's WETH9 balance and sends it to recipient as ETH.
/// @dev The amountMinimum p... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | node_modules\@uniswap\v3-periphery\contracts\interfaces\IPeripheryImmutableState.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title Immutable state
/// @notice Functions that return immutable state of the router
interface IPeripheryImmutableState {
/// @return Returns the address of the Uniswap V3 factory
function factory() external view returns (addres... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | node_modules\@uniswap\v3-periphery\contracts\libraries\PoolAddress.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title Provides functions for deriving a pool address from the factory, tokens, and the fee
library PoolAddress {
bytes32 internal constant POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;
... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | @uniswap\v3-periphery\contracts\interfaces\INonfungiblePositionManager.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
//pragma abicoder v2;
/// @title Non-fungible token for positions
/// @notice Wraps Uniswap V3 positions in a non-fungible token interface which allows for them to be transferred
/// and authorized.
interface INonfungiblePositio... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | contracts\farming\util\IUniswapV3Library.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | //SPDX_License_Identifier: MIT
pragma solidity ^0.7.6;
interface IUniswapV3Library {
function fetchUpdatedFeesInfo(INonfungiblePositionManager nonFungiblePositionManager, uint256 nftId) external view returns (uint256 tokensOwed0, uint256 tokensOwed1);
} | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | node_modules\@uniswap\v3-core\contracts\interfaces\pool\IUniswapV3PoolImmutables.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title Pool state that never changes
/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values
interface IUniswapV3PoolImmutables {
/// @notice The contract that deployed the pool, ... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | node_modules\@uniswap\v3-core\contracts\interfaces\pool\IUniswapV3PoolDerivedState.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title Pool state that is not stored
/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the
/// blockchain. The functions here may have variable gas costs.
interface IUniswapV3P... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | node_modules\@uniswap\v3-core\contracts\interfaces\pool\IUniswapV3PoolActions.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title Permissionless pool actions
/// @notice Contains pool methods that can be called by anyone
interface IUniswapV3PoolActions {
/// @notice Sets the initial price for the pool
/// @dev Price is represented as a sqrt(amountToke... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | node_modules\@uniswap\v3-core\contracts\interfaces\pool\IUniswapV3PoolOwnerActions.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title Permissioned pool actions
/// @notice Contains pool methods that may only be called by the factory owner
interface IUniswapV3PoolOwnerActions {
/// @notice Set the denominator of the protocol's % share of the fees
/// @para... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | node_modules\@uniswap\v3-core\contracts\interfaces\pool\IUniswapV3PoolEvents.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title Events emitted by a pool
/// @notice Contains all events emitted by the pool
interface IUniswapV3PoolEvents {
/// @notice Emitted exactly once by a pool when #initialize is first called on the pool
/// @dev Mint/Burn/Swap c... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | @uniswap\v3-core\contracts\interfaces\IUniswapV3Pool.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title The interface for a Uniswap V3 Pool
/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform
/// to the ERC20 specification
/// @dev The pool interface is b... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | @uniswap\v3-core\contracts\libraries\TickMath.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title Math library for computing sqrt prices from ticks and vice versa
/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports
/// prices between 2**-128 and 2**128
library ... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
FarmMain | @uniswap\v3-periphery\contracts\interfaces\IMulticall.sol | 0xff82f5338be6fdbfdfa52159b992b6e680e7060f | Solidity | // SPDX_License_Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
//pragma abicoder v2;
/// @title Multicall interface
/// @notice Enables calling multiple methods in a single call to the contract
interface IMulticall {
/// @notice Call multiple functions in the current contract and return the data from... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardTokenAddress","type":"address"}],"name":"RewardToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mainToken","type":"address"},{"indexed":true,"internalType":"address","name":"involvedT... | v0.7.6+commit.7338295f | true | 200 | Default | MIT | false | ipfs://72669cf7368782eca32a0fda25391205fb3e140368e390e2f8ceda9db257d31c | |||
GrokCore | /contracts/GrokCore.sol | 0x21d486f6b7eb7b556978c5a0c96c79a08eb841de | Solidity | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.6 <0.9.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "./Utils.sol";
/**
* Grok Core Contract
*/
contract GrokCore is Base, ERC20, ERC20Burnable {
uint... | [{"inputs":[{"internalType":"uint256","name":"total_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed... | v0.8.9+commit.e5eed63a | false | 200 | 000000000000000000000000000000000000000000000000000000e8d4a51000 | Default | false | ||||
GrokCore | /contracts/Utils.sol | 0x21d486f6b7eb7b556978c5a0c96c79a08eb841de | Solidity | // SPDX-License-Identifier: MIT
pragma solidity >=0.7.6 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
contract Base is Ownable... | [{"inputs":[{"internalType":"uint256","name":"total_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed... | v0.8.9+commit.e5eed63a | false | 200 | 000000000000000000000000000000000000000000000000000000e8d4a51000 | Default | false | ||||
GrokCore | @openzeppelin/contracts/utils/introspection/ERC165.sol | 0x21d486f6b7eb7b556978c5a0c96c79a08eb841de | Solidity | // SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to ... | [{"inputs":[{"internalType":"uint256","name":"total_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed... | v0.8.9+commit.e5eed63a | false | 200 | 000000000000000000000000000000000000000000000000000000e8d4a51000 | Default | false | ||||
WEMINTS | WEMINTS.sol | 0x6e1adc61b843aad33b1ff0d6f1abaf2d49fb31a6 | Solidity | /**
#WEMINTS attributes:
Fee auto added to the liquidity and locked.
Fee auto distributed to all holders.
*/
pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceO... | [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}... | v0.6.12+commit.27d51765 | true | 200 | Default | MIT | false | ipfs://f4a611acd3bd10c41e342c4bfd55a18694ae798bc46cc66af4cd4ae82d267ea9 | |||
EOSO | EOSO.sol | 0xb08d55ebb8af25e591900eee577fd157e435122b | Solidity | pragma solidity ^0.4.23;
// openzeppelin-solidity@1.10.0 from NPM
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint2... | [{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"sta... | v0.4.24+commit.e67f0147 | false | 200 | Default | false | bzzr://fea87453971b812687b876cf3212301edcaa86ecd04746baf72b5fce79eba28f | ||||
MICFRAXPool | contracts/interfaces/IRewardDistributionRecipient.sol | 0x3b3ce26239ddc65dc3fd2124d242ad056338eaf1 | Solidity | pragma solidity ^0.6.0;
abstract contract IRewardDistributionRecipient is Ownable {
address public rewardDistribution;
function notifyRewardAmount(uint256 reward) external virtual;
modifier onlyRewardDistribution() {
require(
_msgSender() == rewardDistribution,
... | [{"inputs":[{"internalType":"address","name":"mithCash_","type":"address"},{"internalType":"address","name":"frax_","type":"address"},{"internalType":"uint256","name":"starttime_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address... | v0.6.12+commit.27d51765 | false | 200 | 000000000000000000000000368b3a58b5f49392e5c9e4c998cb0bb966752e51000000000000000000000000853d955acef822db058eb8505911ed77f175b99e000000000000000000000000000000000000000000000000000000005febdf20 | Default | None | false | ipfs://08d16c91aeb87f59c88ab79ab61a8110eb8be29a55299cad7d470aeca3ad14f2 | ||
MICFRAXPool | contracts/distribution/MICFRAXPool.sol | 0x3b3ce26239ddc65dc3fd2124d242ad056338eaf1 | Solidity | pragma solidity ^0.6.0;
/**
*Submitted for verification at Etherscan.io on 2020-07-17
*/
/*
____ __ __ __ _
/ __/__ __ ___ / /_ / / ___ / /_ (_)__ __
_\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
/___/
* Synthetix: BASISCA... | [{"inputs":[{"internalType":"address","name":"mithCash_","type":"address"},{"internalType":"address","name":"frax_","type":"address"},{"internalType":"uint256","name":"starttime_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address... | v0.6.12+commit.27d51765 | false | 200 | 000000000000000000000000368b3a58b5f49392e5c9e4c998cb0bb966752e51000000000000000000000000853d955acef822db058eb8505911ed77f175b99e000000000000000000000000000000000000000000000000000000005febdf20 | Default | None | false | ipfs://08d16c91aeb87f59c88ab79ab61a8110eb8be29a55299cad7d470aeca3ad14f2 | ||
SaffronPool | contracts/interfaces/ISaffronBase.sol | 0x631b471033bee99b8c9e9854d804a4b22a8e351e | Solidity | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.1;
interface ISaffronBase {
enum Tranche {S, AA, A}
enum LPTokenType {dsec, principal}
// Store values (balances, dsec, vdsec) with TrancheUint256
struct TrancheUint256 {
uint256 S;
uint256 AA;
uint256 A;
}
struct epoch_para... | [{"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_base_asset","type":"address"},{"internalType":"address","name":"_SFI_address","type":"address"},{"internalType":"uint256","name":"_SFI_ratio","type":"uint256"},{"internalType":"bool","name":"epoch_cycle_reset",... | v0.7.4+commit.3f05b770 | true | 99,999 | 0000000000000000000000005834afa9612f029351646ef0ea18f35b7da77a280000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000b753428af26e81097e7fd17f40c88aaa3e04902c00000000000000000000000000000000000000000000001b1ae4d6e2ef5000000000000000000000000000000000000000000000000000000000000000000000 | Default | MIT | false | ipfs://000793727aa4d4f27247a897487b9a32ef4db4db4a90d3a680eb6fa761785e09 | ||
SaffronPool | contracts/interfaces/ISaffronStrategy.sol | 0x631b471033bee99b8c9e9854d804a4b22a8e351e | Solidity | pragma solidity ^0.7.1;
interface ISaffronStrategy is ISaffronBase{
function deploy_all_capital() external;
function select_adapter_for_liquidity_removal() external returns(address);
function add_adapter(address adapter_address) external;
function add_pool(address pool_address) external;
function de... | [{"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_base_asset","type":"address"},{"internalType":"address","name":"_SFI_address","type":"address"},{"internalType":"uint256","name":"_SFI_ratio","type":"uint256"},{"internalType":"bool","name":"epoch_cycle_reset",... | v0.7.4+commit.3f05b770 | true | 99,999 | 0000000000000000000000005834afa9612f029351646ef0ea18f35b7da77a280000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000b753428af26e81097e7fd17f40c88aaa3e04902c00000000000000000000000000000000000000000000001b1ae4d6e2ef5000000000000000000000000000000000000000000000000000000000000000000000 | Default | MIT | false | ipfs://000793727aa4d4f27247a897487b9a32ef4db4db4a90d3a680eb6fa761785e09 | ||
SaffronPool | contracts/interfaces/ISaffronPool.sol | 0x631b471033bee99b8c9e9854d804a4b22a8e351e | Solidity | pragma solidity ^0.7.1;
interface ISaffronPool is ISaffronBase {
function add_liquidity(uint256 amount, Tranche tranche) external;
function remove_liquidity(address v1_dsec_token_address, uint256 dsec_amount, address v1_principal_token_address, uint256 principal_amount) external;
function get_base_asset_add... | [{"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_base_asset","type":"address"},{"internalType":"address","name":"_SFI_address","type":"address"},{"internalType":"uint256","name":"_SFI_ratio","type":"uint256"},{"internalType":"bool","name":"epoch_cycle_reset",... | v0.7.4+commit.3f05b770 | true | 99,999 | 0000000000000000000000005834afa9612f029351646ef0ea18f35b7da77a280000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000b753428af26e81097e7fd17f40c88aaa3e04902c00000000000000000000000000000000000000000000001b1ae4d6e2ef5000000000000000000000000000000000000000000000000000000000000000000000 | Default | MIT | false | ipfs://000793727aa4d4f27247a897487b9a32ef4db4db4a90d3a680eb6fa761785e09 | ||
SaffronPool | contracts/interfaces/ISaffronAdapter.sol | 0x631b471033bee99b8c9e9854d804a4b22a8e351e | Solidity | pragma solidity ^0.7.1;
interface ISaffronAdapter is ISaffronBase {
function deploy_capital(uint256 amount) external;
function return_capital(uint256 base_asset_amount, address to) external;
function approve_transfer(address addr,uint256 amount) external;
function get_base_asset_address() externa... | [{"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_base_asset","type":"address"},{"internalType":"address","name":"_SFI_address","type":"address"},{"internalType":"uint256","name":"_SFI_ratio","type":"uint256"},{"internalType":"bool","name":"epoch_cycle_reset",... | v0.7.4+commit.3f05b770 | true | 99,999 | 0000000000000000000000005834afa9612f029351646ef0ea18f35b7da77a280000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000b753428af26e81097e7fd17f40c88aaa3e04902c00000000000000000000000000000000000000000000001b1ae4d6e2ef5000000000000000000000000000000000000000000000000000000000000000000000 | Default | MIT | false | ipfs://000793727aa4d4f27247a897487b9a32ef4db4db4a90d3a680eb6fa761785e09 | ||
SaffronPool | contracts/SFI.sol | 0x631b471033bee99b8c9e9854d804a4b22a8e351e | Solidity | pragma solidity ^0.7.1;
contract SFI is ERC20 {
using SafeERC20 for IERC20;
address public governance;
address public SFI_minter;
uint256 public MAX_TOKENS = 100000 ether;
constructor (string memory name, string memory symbol) ERC20(name, symbol) {
// Initial governance is Saffron Deploye... | [{"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_base_asset","type":"address"},{"internalType":"address","name":"_SFI_address","type":"address"},{"internalType":"uint256","name":"_SFI_ratio","type":"uint256"},{"internalType":"bool","name":"epoch_cycle_reset",... | v0.7.4+commit.3f05b770 | true | 99,999 | 0000000000000000000000005834afa9612f029351646ef0ea18f35b7da77a280000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000b753428af26e81097e7fd17f40c88aaa3e04902c00000000000000000000000000000000000000000000001b1ae4d6e2ef5000000000000000000000000000000000000000000000000000000000000000000000 | Default | MIT | false | ipfs://000793727aa4d4f27247a897487b9a32ef4db4db4a90d3a680eb6fa761785e09 | ||
DTokenProxy | DTokenProxy.sol | 0xe3412d2751f6cfa117a4c5eb71e84aa63a5ee5ff | Solidity | pragma solidity 0.5.12;
contract Proxy {
function() external payable {
_fallback();
}
function _implementation() internal view returns (address);
function _delegate(address implementation) internal {
assembly {
calldatacopy(0, 0, calldatasize)
let... | [{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmi... | v0.5.12+commit.7709ece9 | true | 200 | 0000000000000000000000001ec23c059ee091fae1d5b1862b2296a32942229f | Default | None | false | bzzr://1d250b4abe3dfdc43dd4828b03b8496f0d6b055e1ceebbd3392a639e98f1c8c4 | ||
BET | BET.sol | 0xc9590856c0a35b86a6c1f917d15ff151098d1b56 | Solidity | pragma solidity ^0.4.4;
contract Token {
function totalSupply() constant returns (uint256 supply) {}
function balanceOf(address _owner) constant returns (uint256 balance) {}
function transfer(address _to, uint256 _value) returns (bool success) {}
function transferFrom(address _from, address _to... | [{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":fal... | v0.4.23+commit.124ca40d | false | 200 | Default | false | bzzr://2b2452d07391eceaa6e3641cd2493b7ee8e6ebb088d3fc20510089e81349171b | ||||
BPool | /Users/ahmedali/Desktop/work/mainnet-deployment/ocean-contracts/contracts/balancer/BPool.sol | 0xc49ba70588430cca11aa8ac6d523754e4ddd6527 | Solidity | pragma solidity ^0.5.7;
// Copyright BigchainDB GmbH and Ocean Protocol contributors
// SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
// Code is Apache-2.0 and docs are CC-BY-4.0
import './BToken.sol';
import './BMath.sol';
/**
* @title BPool
*
* @dev Used by the (Ocean version) BFactory contract as a bytecod... | [{"constant":false,"inputs":[{"name":"tokenOut","type":"address"},{"name":"tokenAmountOut","type":"uint256"},{"name":"maxPoolAmountIn","type":"uint256"}],"name":"exitswapExternAmountOut","outputs":[{"name":"poolAmountIn","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":tr... | v0.5.7+commit.6da8b019 | true | 200 | byzantium | false | |||||
Username | Username.sol | 0x86c59ef431f51d218f32b5ccef12cfd363a2abc6 | Solidity | pragma solidity >0.4.99 <0.6.0;
contract Username {
event Updated(address indexed user, string indexed username);
mapping(address => string) public username;
mapping(string => address) public owner;
function Update(string memory _username) public {
require(owner[_username] == address(0));
s... | [{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"username","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_username","type":"string"}],"name":"Update","outputs":[],"payable":false,"stateMutability":"nonpayable","t... | v0.5.10+commit.5a6ea5b1 | false | 200 | Default | MIT | false | bzzr://8382b9df0b3bf0e0bd70ca5111b2969e9923e5ea4a350dfcfc3ad3c8bb398bce | |||
WalletImpl | contracts/lib/Ownable.sol | 0xf648112833601d62d647f84b600271d59e02f8d8 | Solidity | // Copyright 2017 Loopring Technology Limited.
/// @title Ownable
/// @author Brecht Devos - <brecht@loopring.org>
/// @dev The Ownable contract has an owner address, and provides basic
/// authorization control functions, this simplifies the implementation of
/// "user permissions".
contract Ownabl... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newController","type":"address"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"method","type":"bytes4"},{"indexed":false,"internalType":"address","name":"module","t... | v0.7.0+commit.9e61f92b | true | 999,999 | Default | Apache-2.0 | false | ipfs://14c6d2b1be13a9f3aa4e61bf3379aafb2222afe1e4b02416a906b522d6583877 | |||
WalletImpl | contracts/iface/Wallet.sol | 0xf648112833601d62d647f84b600271d59e02f8d8 | Solidity | // Copyright 2017 Loopring Technology Limited.
/// @title Wallet
/// @dev Base contract for smart wallets.
/// Sub-contracts must NOT use non-default constructor to initialize
/// wallet states, instead, `init` shall be used. This is to enable
/// proxies to be deployed in front of the real wall... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newController","type":"address"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"method","type":"bytes4"},{"indexed":false,"internalType":"address","name":"module","t... | v0.7.0+commit.9e61f92b | true | 999,999 | Default | Apache-2.0 | false | ipfs://14c6d2b1be13a9f3aa4e61bf3379aafb2222afe1e4b02416a906b522d6583877 | |||
WalletImpl | contracts/iface/Module.sol | 0xf648112833601d62d647f84b600271d59e02f8d8 | Solidity | // Copyright 2017 Loopring Technology Limited.
/// @title Module
/// @dev Base contract for all smart wallet modules.
///
/// @author Daniel Wang - <daniel@loopring.org>
interface Module
{
/// @dev Activates the module for the given wallet (msg.sender) after the module is added.
/// Warning... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newController","type":"address"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"method","type":"bytes4"},{"indexed":false,"internalType":"address","name":"module","t... | v0.7.0+commit.9e61f92b | true | 999,999 | Default | Apache-2.0 | false | ipfs://14c6d2b1be13a9f3aa4e61bf3379aafb2222afe1e4b02416a906b522d6583877 | |||
WalletImpl | contracts/lib/ERC20.sol | 0xf648112833601d62d647f84b600271d59e02f8d8 | Solidity | // Copyright 2017 Loopring Technology Limited.
/// @title ERC20 Token Interface
/// @dev see https://github.com/ethereum/EIPs/issues/20
/// @author Daniel Wang - <daniel@loopring.org>
abstract contract ERC20
{
function totalSupply()
public
view
virtual
returns (uint);
... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newController","type":"address"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"method","type":"bytes4"},{"indexed":false,"internalType":"address","name":"module","t... | v0.7.0+commit.9e61f92b | true | 999,999 | Default | Apache-2.0 | false | ipfs://14c6d2b1be13a9f3aa4e61bf3379aafb2222afe1e4b02416a906b522d6583877 | |||
WalletImpl | contracts/lib/ReentrancyGuard.sol | 0xf648112833601d62d647f84b600271d59e02f8d8 | Solidity | // Copyright 2017 Loopring Technology Limited.
/// @title ReentrancyGuard
/// @author Brecht Devos - <brecht@loopring.org>
/// @dev Exposes a modifier that guards a function against reentrancy
/// Changing the value of the same storage value multiple times in a transaction
/// is cheap (starting from... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newController","type":"address"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"method","type":"bytes4"},{"indexed":false,"internalType":"address","name":"module","t... | v0.7.0+commit.9e61f92b | true | 999,999 | Default | Apache-2.0 | false | ipfs://14c6d2b1be13a9f3aa4e61bf3379aafb2222afe1e4b02416a906b522d6583877 | |||
WalletImpl | contracts/iface/ModuleRegistry.sol | 0xf648112833601d62d647f84b600271d59e02f8d8 | Solidity | // Copyright 2017 Loopring Technology Limited.
/// @title ModuleRegistry
/// @dev A registry for modules.
///
/// @author Daniel Wang - <daniel@loopring.org>
interface ModuleRegistry
{
/// @dev Registers and enables a new module.
function registerModule(address module) external;
/// @dev Disable... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newController","type":"address"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"method","type":"bytes4"},{"indexed":false,"internalType":"address","name":"module","t... | v0.7.0+commit.9e61f92b | true | 999,999 | Default | Apache-2.0 | false | ipfs://14c6d2b1be13a9f3aa4e61bf3379aafb2222afe1e4b02416a906b522d6583877 | |||
WalletImpl | contracts/base/Controller.sol | 0xf648112833601d62d647f84b600271d59e02f8d8 | Solidity | // Copyright 2017 Loopring Technology Limited.
/// @title Controller
///
/// @author Daniel Wang - <daniel@loopring.org>
abstract contract Controller
{
function moduleRegistry()
external
view
virtual
returns (ModuleRegistry);
function walletFactory()
e... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newController","type":"address"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"method","type":"bytes4"},{"indexed":false,"internalType":"address","name":"module","t... | v0.7.0+commit.9e61f92b | true | 999,999 | Default | Apache-2.0 | false | ipfs://14c6d2b1be13a9f3aa4e61bf3379aafb2222afe1e4b02416a906b522d6583877 | |||
WalletImpl | contracts/base/BaseWallet.sol | 0xf648112833601d62d647f84b600271d59e02f8d8 | Solidity | // Copyright 2017 Loopring Technology Limited.
/// @title BaseWallet
/// @dev This contract provides basic implementation for a Wallet.
///
/// @author Daniel Wang - <daniel@loopring.org>
abstract contract BaseWallet is ReentrancyGuard, Wallet
{
// WARNING: do not delete wallet state data to ma... | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newController","type":"address"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"method","type":"bytes4"},{"indexed":false,"internalType":"address","name":"module","t... | v0.7.0+commit.9e61f92b | true | 999,999 | Default | Apache-2.0 | false | ipfs://14c6d2b1be13a9f3aa4e61bf3379aafb2222afe1e4b02416a906b522d6583877 | |||
WalletImpl | contracts/modules/WalletImpl.sol | 0xf648112833601d62d647f84b600271d59e02f8d8 | Solidity | // Copyright 2017 Loopring Technology Limited.
/// @title WalletImpl
contract WalletImpl is BaseWallet {
function version()
public
override
pure
returns (string memory)
{
// 使用中国省会作为别名
return "1.2.0 (daqing)";
}
} | [{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newController","type":"address"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"method","type":"bytes4"},{"indexed":false,"internalType":"address","name":"module","t... | v0.7.0+commit.9e61f92b | true | 999,999 | Default | Apache-2.0 | false | ipfs://14c6d2b1be13a9f3aa4e61bf3379aafb2222afe1e4b02416a906b522d6583877 | |||
BaseToken | @openzeppelin/contracts/token/ERC20/ERC20.sol | 0x7833bb649af7b5916ddf365b06b01abc448e1aae | Solidity | pragma solidity ^0.7.0;
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For... | [{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalTy... | v0.7.1+commit.f4a555be | true | 200 | 00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000056bc75e2d63100000... | Default | MIT | false | ipfs://1bdc17d91ba9aa4ca49c7c27effbc9bb968811752416c63c61fd8676ea143547 | ||
BaseToken | @vittominacori/erc20-token/contracts/access/Roles.sol | 0x7833bb649af7b5916ddf365b06b01abc448e1aae | Solidity | pragma solidity ^0.7.0;
contract Roles is AccessControl {
bytes32 public constant MINTER_ROLE = keccak256("MINTER");
bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR");
constructor () {
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
_setupRole(MINTER_ROLE, _msgSender())... | [{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalTy... | v0.7.1+commit.f4a555be | true | 200 | 00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000056bc75e2d63100000... | Default | MIT | false | ipfs://1bdc17d91ba9aa4ca49c7c27effbc9bb968811752416c63c61fd8676ea143547 | ||
BaseToken | @vittominacori/erc20-token/contracts/ERC20Base.sol | 0x7833bb649af7b5916ddf365b06b01abc448e1aae | Solidity | pragma solidity ^0.7.0;
/**
* @title ERC20Base
* @author Vittorio Minacori (https://github.com/vittominacori)
* @dev Implementation of the ERC20Base
*/
contract ERC20Base is ERC20Capped, ERC20Burnable, ERC1363, Roles, TokenRecover {
// indicates if minting is finished
bool private _mintingFinish... | [{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalTy... | v0.7.1+commit.f4a555be | true | 200 | 00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000056bc75e2d63100000... | Default | MIT | false | ipfs://1bdc17d91ba9aa4ca49c7c27effbc9bb968811752416c63c61fd8676ea143547 | ||
BaseToken | contracts/BaseToken.sol | 0x7833bb649af7b5916ddf365b06b01abc448e1aae | Solidity | pragma solidity ^0.7.1;
/**
* @title BaseToken
* @author Vittorio Minacori (https://github.com/vittominacori)
* @dev Implementation of the BaseToken
*/
contract BaseToken is ERC20Base {
string private constant _GENERATOR = "https://vittominacori.github.io/erc20-generator";
string private constant _V... | [{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalTy... | v0.7.1+commit.f4a555be | true | 200 | 00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000056bc75e2d63100000... | Default | MIT | false | ipfs://1bdc17d91ba9aa4ca49c7c27effbc9bb968811752416c63c61fd8676ea143547 | ||
OolongSushiOolongLpPool | @openzeppelin/contracts/ownership/Ownable.sol | 0xe899866eb5cfbd2ec4e7a2fa34a2da50f6923cf9 | Solidity | pragma solidity ^0.5.0;
/**
* @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 ca... | [{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewar... | v0.5.17+commit.d19bba13 | true | 50,000 | istanbul | None | false | bzzr://4a9aa02ac7429c5a5226db769696db823948810a48ad21be8f503c10871a84c9 | |||
AlgaeToken | @openzeppelin/contracts/utils/Address.sol | 0x874df1fee0e7ce666696a5d35f81cf075d645b34 | Solidity | @v3.4.0
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owne... | [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}... | v0.7.0+commit.9e61f92b | true | 200 | Default | MIT | false | ipfs://54bf796dec2122ac696e0c78fad50cb17da6b0526da4df16fcb3b950472f301e | |||
AlgaeToken | @openzeppelin/contracts/token/ERC721/ERC721.sol | 0x874df1fee0e7ce666696a5d35f81cf075d645b34 | Solidity | @v3.4.0
/**
* @title ERC721 Non-Fungible Token Standard basic implementation
* @dev see https://eips.ethereum.org/EIPS/eip-721
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
using SafeMath for uint256;
using Address for address;
using ... | [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}... | v0.7.0+commit.9e61f92b | true | 200 | Default | MIT | false | ipfs://54bf796dec2122ac696e0c78fad50cb17da6b0526da4df16fcb3b950472f301e | |||
AlgaeToken | @openzeppelin/contracts/access/Ownable.sol | 0x874df1fee0e7ce666696a5d35f81cf075d645b34 | Solidity | @v3.4.0
/**
* @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.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transfe... | [{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}... | v0.7.0+commit.9e61f92b | true | 200 | Default | MIT | false | ipfs://54bf796dec2122ac696e0c78fad50cb17da6b0526da4df16fcb3b950472f301e | |||
CollectionContract | contracts/libraries/solc8/AccountMigration.sol | 0x1fa7af68797d5fdbcdfa9e5441727b3b55115447 | Solidity | // SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-solc-8/utils/cryptography/SignatureChecker.sol";
import "@openzeppelin/contracts-solc-8/utils/Strings.sol";
/**
* @notice Checks for a valid signature authorizing the migration of an account to a new address.
* @d... | [{"inputs":[{"internalType":"address","name":"_collectionFactory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"... | v0.8.9+commit.e5eed63a | true | 1,337 | 0000000000000000000000003b612a5b49e025a6e4ba4ee4fb1ef46d13588059 | Default | false | ||||
CollectionContract | contracts/libraries/solc8/BytesLibrary.sol | 0x1fa7af68797d5fdbcdfa9e5441727b3b55115447 | Solidity | // SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.0;
/**
* @notice A library for manipulation of byte arrays.
*/
library BytesLibrary {
/**
* @dev Replace the address at the given location in a byte array if the contents at that location
* match the expected address.
*/
function replac... | [{"inputs":[{"internalType":"address","name":"_collectionFactory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"... | v0.8.9+commit.e5eed63a | true | 1,337 | 0000000000000000000000003b612a5b49e025a6e4ba4ee4fb1ef46d13588059 | Default | false | ||||
GoldenDigitalBonus | GoldenDigitalBonus.sol | 0x2846925fb3710051c3234fa0e8b929623f1d43e6 | Solidity | pragma solidity ^0.4.23;
/**
* @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 pre... | [{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"sta... | v0.4.23+commit.124ca40d | false | 200 | Default | None | false | bzzr://33e5d3f0d1c6f5256309e79ee93866e8d052f458be4fd46523ec8a27ebd6f562 | |||
VanityToken | VanityToken.sol | 0x7777777189c4e413bbe6ea9df6c2b4f34f53cdd3 | Solidity | pragma solidity ^0.4.11;
//
// SafeMath
//
// Ownable
// Destructible
// Pausable
//
// ERC20Basic
// ERC20 : ERC20Basic
// BasicToken : ERC20Basic
// StandardToken : ERC20, BasicToken
// MintableToken : StandardToken, Ownable
// PausableToken : StandardToken, Pausable
//
// CAToken : MintableToken, Pa... | [{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"input... | v0.4.19+commit.c4cbbb05 | true | 200 | 000000000000000000000000111111150b873d4bc367c41f39325c01a7263ac5 | Default | false | bzzr://cf40974e9f027bc6cde5dc488b76fff6aebe6ec63c174f3e5c3387dc076b9708 | |||
Token | Token.sol | 0x4ca74185532dc1789527194e5b9c866dd33f4e82 | Solidity | pragma solidity ^0.4.11;
contract Token {
string public symbol = "";
string public name = "";
uint8 public constant decimals = 18;
uint256 _totalSupply = 0;
address owner = 0;
bool setupDone = false;
event Transfer(address indexed _from, address indexed _to, uint256 _value);
... | [{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"... | v0.4.11+commit.68ef5810 | true | 200 | 000000000000000000000000e64286a1d33c57dc5173297146edd713211eed85 | Default | false | bzzr://9d6ef1f481ef42049dd53d6f31f15f92c1532312114fb69b98813275b2fcc894 | |||
Fees | Fees.sol | 0x6096b8d46e1e4e00fa1beadfc071bbe500ed397b | Solidity | pragma solidity 0.4.24;
contract Fees {
uint FIWDATM;
uint FIWNTM;
address constant private Admin = 0x92Bf51aB8C48B93a96F8dde8dF07A1504aA393fD;
function FeeDATM(uint FeeInWeiDATM){
require(msg.sender==Admin);
if (msg.sender==Admin){
FIWDATM=FeeInWeiDATM;
}
... | [{"constant":false,"inputs":[{"name":"FeeInWeiNTM","type":"uint256"}],"name":"FeeNTM","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"GetFeeDATM","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"... | v0.4.24+commit.e67f0147 | false | 200 | Default | false | bzzr://7f71a5efedfe469b6a9f9ca2a08381fea2622850704fd843ec0da535cfb2521e | ||||
XiaokaoFinance | XiaokaoFinance.sol | 0x08d7457a25b0ad095ae44914433fdcf7d9d8e3c2 | Solidity | //Token Name : Xiaokao Finance
//symbol : XIAO
//decimals : 8
//website : https://www.xiaokao.finance/
//description : Blockchain Powered Decentralized Advertisement
//exchanger : Uniswap, Hotbit, Bittrex, Binance, Poloniex, etc
pragma solidity ^0.4.23;
contract ERC20Basi... | [{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":fal... | v0.4.24+commit.e67f0147 | true | 200 | Default | None | false | bzzr://a9ae9e8218dc041c91566111863d20a0fd19928efad0a594e84b0cd2e2e3ac48 | |||
AdminUpgradeabilityProxy | @openzeppelin/upgrades/contracts/upgradeability/Proxy.sol | 0xbbcddd6c81c4c51b9dac55e4364c60002c07346d | Solidity | pragma solidity ^0.5.0;
/**
* @title Proxy
* @dev Implements delegation of calls to other contracts, with proper
* forwarding of return values and bubbling of failures.
* It defines a fallback function that delegates all calls to the address
* returned by the abstract _implementation() internal function.
... | [{"constant":false,"inputs":[{"name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newImplementation","type":"address"},{"name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"... | v0.5.3+commit.10d17f24 | false | 200 | 000000000000000000000000fe614f9d61f388b101b10d659e22a04c6460b7bf0000000000000000000000008a33b9d723472869e815a6af0d40ccf2925d37bd000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000844ec81af1000000000000000000000000521b0fef9cdcf250abaf8e7bc798cbe1... | constantinople | MIT | false | bzzr://3a61cbfff803b053d8f397cf95cfa0c8c53ef12ce921c5d484b275b58be38897 | ||
AdminUpgradeabilityProxy | @openzeppelin/upgrades/contracts/utils/Address.sol | 0xbbcddd6c81c4c51b9dac55e4364c60002c07346d | Solidity | pragma solidity ^0.5.0;
/**
* Utility library of inline functions on addresses
*
* Source https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-solidity/v2.1.3/contracts/utils/Address.sol
* This contract is copied here and renamed from the original to avoid clashes in the compiled artifacts
* when th... | [{"constant":false,"inputs":[{"name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newImplementation","type":"address"},{"name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"... | v0.5.3+commit.10d17f24 | false | 200 | 000000000000000000000000fe614f9d61f388b101b10d659e22a04c6460b7bf0000000000000000000000008a33b9d723472869e815a6af0d40ccf2925d37bd000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000844ec81af1000000000000000000000000521b0fef9cdcf250abaf8e7bc798cbe1... | constantinople | MIT | false | bzzr://3a61cbfff803b053d8f397cf95cfa0c8c53ef12ce921c5d484b275b58be38897 |
Subsets and Splits
Count Solidity 0.8 Contracts
Counts the total number of Solidity smart contracts using Solidity version 0.8.x, providing insight into the adoption of a specific language version.
Distinct Solidity Contracts
Retrieves unique contract names and their source code starting with 'pragma solidity', providing a basic overview of smart contract sources.
Solidity Contracts Source Code
Retrieves unique contract names and their source code that start with 'pragma solidity', providing a basic overview of smart contract sources.
Solidity Contracts Source Code
Retrieves unique contract names and their source code that start with 'pragma solidity', providing a basic overview of smart contract sources.
Solidity Contracts Source Code
Retrieves the names and source code of contracts that use Solidity, providing a basic overview of a subset of contracts in the dataset.
Solidity Contracts Source Code
Retrieves the names and source code of smart contracts that use Solidity, providing a basic overview of a subset of the dataset.