Feature Tip: Add private address tag to any address under My Name Tag !
Overview
Max Total Supply
0
Holders
0
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EmissionsSplitter
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* This contract receives XRUNE token emissions, approximately once a day. It them allows it's `run` method to be called wich will split up it's current balance between the private investors, tema, dao and ecosystem contracts/addresses following their respective vesting curves. */ import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC777/IERC777Recipient.sol"; import "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol"; import "@openzeppelin/contracts/utils/introspection/ERC1820Implementer.sol"; interface IEmissionsPrivateDispenser { function deposit(uint amount) external; } contract EmissionsSplitter is Ownable, IERC777Recipient, ERC1820Implementer { using SafeERC20 for IERC20; uint public constant ONE_YEAR = 31536000; uint public constant INVESTORS_EMISSIONS_HALF1 = 45000000e18; uint public constant INVESTORS_EMISSIONS_HALF2 = 30000000e18; uint public constant TEAM_EMISSIONS_HALF1 = 66000000e18; uint public constant TEAM_EMISSIONS_HALF2 = 44000000e18; uint public constant ECOSYSTEM_EMISSIONS = 250000000e18; bytes32 public constant ERC777_RECIPIENT_INTERFACE_HASH = keccak256("ERC777TokensRecipient"); IERC20 public token; uint public emissionsStart; address public dao; // DAO contract address address public ecosystem; // Coucil Gnosis Safe address address public team; // Team Gnosis Safe address address public investors; // EmissionsPrivateDispenser address uint public sentToTeam; uint public sentToInvestors; uint public sentToEcosystem; event Split(uint amount, uint dao, uint team, uint investors, uint ecosystem); constructor(address _token, uint _emissionsStart, address _dao, address _team, address _investors, address _ecosystem) Ownable() { token = IERC20(_token); emissionsStart = _emissionsStart; dao = _dao; team = _team; investors = _investors; ecosystem = _ecosystem; _registerInterfaceForAddress(ERC777_RECIPIENT_INTERFACE_HASH, address(this)); IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24).setInterfaceImplementer(address(0), ERC777_RECIPIENT_INTERFACE_HASH, address(this)); require(dao != address(0), "!zero dao"); require(team != address(0), "!zero team"); require(investors != address(0), "!zero investors"); require(ecosystem != address(0), "!zero ecosystem"); sentToTeam = 1910236015974000000000000; sentToInvestors = 2604867294510000000000000; sentToEcosystem = 1447148496750000000000000; } function setDao(address value) external onlyOwner { require(dao != address(0), "!zero dao"); dao = value; } function setEcosystem(address value) external onlyOwner { require(ecosystem != address(0), "!zero ecosystem"); ecosystem = value; } function setTeam(address value) external onlyOwner { require(team != address(0), "!zero team"); team = value; } function setInvestors(address value) external onlyOwner { require(investors != address(0), "!zero investors"); investors = value; } function shouldRun() public view returns (bool) { return token.balanceOf(address(this)) > 0; } function run() external { uint initialAmount = token.balanceOf(address(this)); uint amount = initialAmount; require(amount > 0, "no balance to split"); uint sentToInvestorsNow = 0; { // Investors get 45M tokens linearly over the first year uint investorsProgress = _min(((block.timestamp - emissionsStart) * 1e12) / ONE_YEAR, 1e12); uint investorsUnlocked = (investorsProgress * INVESTORS_EMISSIONS_HALF1) / 1e12; uint investorsAmount = _min(investorsUnlocked - sentToInvestors, amount); if (investorsAmount > 0) { sentToInvestorsNow += investorsAmount; sentToInvestors += investorsAmount; amount -= investorsAmount; token.safeApprove(investors, investorsAmount); IEmissionsPrivateDispenser(investors).deposit(investorsAmount); } } { // Investors get their remaining 30M tokens linearly over the second year uint elapsed = block.timestamp - emissionsStart; elapsed -= _min(elapsed, ONE_YEAR); uint investorsProgress = _min((elapsed * 1e12) / ONE_YEAR, 1e12); uint investorsUnlocked = (investorsProgress * INVESTORS_EMISSIONS_HALF2) / 1e12; uint investorsAmount = _min(investorsUnlocked - _min(investorsUnlocked, sentToInvestors), amount); if (investorsAmount > 0) { sentToInvestorsNow += investorsAmount; sentToInvestors += investorsAmount; amount -= investorsAmount; token.safeApprove(investors, investorsAmount); IEmissionsPrivateDispenser(investors).deposit(investorsAmount); } } uint sentToTeamNow = 0; { // Team get 66M tokens linearly over the first 2 years uint teamProgress = _min(((block.timestamp - emissionsStart) * 1e12) / (2 * ONE_YEAR), 1e12); uint teamUnlocked = (teamProgress * TEAM_EMISSIONS_HALF1) / 1e12; uint teamAmount = _min(teamUnlocked - sentToTeam, amount); if (teamAmount > 0) { sentToTeamNow += teamAmount; sentToTeam += teamAmount; amount -= teamAmount; token.safeTransfer(team, teamAmount); } } { // Team get their remaining 44M tokens linearly over the next 2 years uint elapsed = block.timestamp - emissionsStart; elapsed -= _min(elapsed, 2 * ONE_YEAR); uint teamProgress = _min((elapsed * 1e12) / (2 * ONE_YEAR), 1e12); uint teamUnlocked = (teamProgress * TEAM_EMISSIONS_HALF2) / 1e12; uint teamAmount = _min(teamUnlocked - _min(teamUnlocked, sentToTeam), amount); if (teamAmount > 0) { sentToTeamNow += teamAmount; sentToTeam += teamAmount; amount -= teamAmount; token.safeTransfer(team, teamAmount); } } uint ecosystemProgress = _min(((block.timestamp - emissionsStart) * 1e12) / (10 * ONE_YEAR), 1e12); uint ecosystemUnlocked = (ecosystemProgress * ECOSYSTEM_EMISSIONS) / 1e12; uint ecosystemAmount = _min(ecosystemUnlocked - sentToEcosystem, amount); if (ecosystemAmount > 0) { sentToEcosystem += ecosystemAmount; amount -= ecosystemAmount; token.safeTransfer(ecosystem, ecosystemAmount); } if (amount > 0) { token.safeTransfer(dao, amount); } emit Split(initialAmount, amount, sentToTeamNow, sentToInvestorsNow, ecosystemAmount); } function tokensReceived(address operator, address from, address to, uint amount, bytes calldata userData, bytes calldata operatorData) external override { } function _min(uint a, uint b) private pure returns (uint) { return a < b ? a : b; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @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 `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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 {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC777TokensRecipient standard as defined in the EIP. * * Accounts can be notified of {IERC777} tokens being sent to them by having a * contract implement this interface (contract holders can be their own * implementer) and registering it on the * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry]. * * See {IERC1820Registry} and {ERC1820Implementer}. */ interface IERC777Recipient { /** * @dev Called by an {IERC777} token contract whenever tokens are being * moved or created into a registered account (`to`). The type of operation * is conveyed by `from` being the zero address or not. * * This call occurs _after_ the token contract's state is updated, so * {IERC777-balanceOf}, etc., can be used to query the post-operation state. * * This function may revert to prevent the operation from being executed. */ function tokensReceived( address operator, address from, address to, uint256 amount, bytes calldata userData, bytes calldata operatorData ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the global ERC1820 Registry, as defined in the * https://eips.ethereum.org/EIPS/eip-1820[EIP]. Accounts may register * implementers for interfaces in this registry, as well as query support. * * Implementers may be shared by multiple accounts, and can also implement more * than a single interface for each account. Contracts can implement interfaces * for themselves, but externally-owned accounts (EOA) must delegate this to a * contract. * * {IERC165} interfaces can also be queried via the registry. * * For an in-depth explanation and source code analysis, see the EIP text. */ interface IERC1820Registry { /** * @dev Sets `newManager` as the manager for `account`. A manager of an * account is able to set interface implementers for it. * * By default, each account is its own manager. Passing a value of `0x0` in * `newManager` will reset the manager to this initial state. * * Emits a {ManagerChanged} event. * * Requirements: * * - the caller must be the current manager for `account`. */ function setManager(address account, address newManager) external; /** * @dev Returns the manager for `account`. * * See {setManager}. */ function getManager(address account) external view returns (address); /** * @dev Sets the `implementer` contract as ``account``'s implementer for * `interfaceHash`. * * `account` being the zero address is an alias for the caller's address. * The zero address can also be used in `implementer` to remove an old one. * * See {interfaceHash} to learn how these are created. * * Emits an {InterfaceImplementerSet} event. * * Requirements: * * - the caller must be the current manager for `account`. * - `interfaceHash` must not be an {IERC165} interface id (i.e. it must not * end in 28 zeroes). * - `implementer` must implement {IERC1820Implementer} and return true when * queried for support, unless `implementer` is the caller. See * {IERC1820Implementer-canImplementInterfaceForAddress}. */ function setInterfaceImplementer( address account, bytes32 _interfaceHash, address implementer ) external; /** * @dev Returns the implementer of `interfaceHash` for `account`. If no such * implementer is registered, returns the zero address. * * If `interfaceHash` is an {IERC165} interface id (i.e. it ends with 28 * zeroes), `account` will be queried for support of it. * * `account` being the zero address is an alias for the caller's address. */ function getInterfaceImplementer(address account, bytes32 _interfaceHash) external view returns (address); /** * @dev Returns the interface hash for an `interfaceName`, as defined in the * corresponding * https://eips.ethereum.org/EIPS/eip-1820#interface-name[section of the EIP]. */ function interfaceHash(string calldata interfaceName) external pure returns (bytes32); /** * @notice Updates the cache with whether the contract implements an ERC165 interface or not. * @param account Address of the contract for which to update the cache. * @param interfaceId ERC165 interface for which to update the cache. */ function updateERC165Cache(address account, bytes4 interfaceId) external; /** * @notice Checks whether a contract implements an ERC165 interface or not. * If the result is not cached a direct lookup on the contract address is performed. * If the result is not cached or the cached value is out-of-date, the cache MUST be updated manually by calling * {updateERC165Cache} with the contract address. * @param account Address of the contract to check. * @param interfaceId ERC165 interface to check. * @return True if `account` implements `interfaceId`, false otherwise. */ function implementsERC165Interface(address account, bytes4 interfaceId) external view returns (bool); /** * @notice Checks whether a contract implements an ERC165 interface or not without using nor updating the cache. * @param account Address of the contract to check. * @param interfaceId ERC165 interface to check. * @return True if `account` implements `interfaceId`, false otherwise. */ function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) external view returns (bool); event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer); event ManagerChanged(address indexed account, address indexed newManager); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC1820Implementer.sol"; /** * @dev Implementation of the {IERC1820Implementer} interface. * * Contracts may inherit from this and call {_registerInterfaceForAddress} to * declare their willingness to be implementers. * {IERC1820Registry-setInterfaceImplementer} should then be called for the * registration to be complete. */ contract ERC1820Implementer is IERC1820Implementer { bytes32 private constant _ERC1820_ACCEPT_MAGIC = keccak256("ERC1820_ACCEPT_MAGIC"); mapping(bytes32 => mapping(address => bool)) private _supportedInterfaces; /** * @dev See {IERC1820Implementer-canImplementInterfaceForAddress}. */ function canImplementInterfaceForAddress(bytes32 interfaceHash, address account) public view virtual override returns (bytes32) { return _supportedInterfaces[interfaceHash][account] ? _ERC1820_ACCEPT_MAGIC : bytes32(0x00); } /** * @dev Declares the contract as willing to be an implementer of * `interfaceHash` for `account`. * * See {IERC1820Registry-setInterfaceImplementer} and * {IERC1820Registry-interfaceHash}. */ function _registerInterfaceForAddress(bytes32 interfaceHash, address account) internal virtual { _supportedInterfaces[interfaceHash][account] = true; } }
// SPDX-License-Identifier: MIT pragma solidity ^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 is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface for an ERC1820 implementer, as defined in the * https://eips.ethereum.org/EIPS/eip-1820#interface-implementation-erc1820implementerinterface[EIP]. * Used by contracts that will be registered as implementers in the * {IERC1820Registry}. */ interface IERC1820Implementer { /** * @dev Returns a special value (`ERC1820_ACCEPT_MAGIC`) if this contract * implements `interfaceHash` for `account`. * * See {IERC1820Registry-setInterfaceImplementer}. */ function canImplementInterfaceForAddress(bytes32 interfaceHash, address account) external view returns (bytes32); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_emissionsStart","type":"uint256"},{"internalType":"address","name":"_dao","type":"address"},{"internalType":"address","name":"_team","type":"address"},{"internalType":"address","name":"_investors","type":"address"},{"internalType":"address","name":"_ecosystem","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"dao","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"team","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"investors","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ecosystem","type":"uint256"}],"name":"Split","type":"event"},{"inputs":[],"name":"ECOSYSTEM_EMISSIONS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC777_RECIPIENT_INTERFACE_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INVESTORS_EMISSIONS_HALF1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INVESTORS_EMISSIONS_HALF2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ONE_YEAR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_EMISSIONS_HALF1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_EMISSIONS_HALF2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"interfaceHash","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"canImplementInterfaceForAddress","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dao","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ecosystem","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emissionsStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"investors","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"run","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sentToEcosystem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sentToInvestors","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sentToTeam","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"value","type":"address"}],"name":"setDao","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"value","type":"address"}],"name":"setEcosystem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"value","type":"address"}],"name":"setInvestors","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"value","type":"address"}],"name":"setTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shouldRun","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"team","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"userData","type":"bytes"},{"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"tokensReceived","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620018ca380380620018ca833981016040819052620000349162000339565b6200003f33620002cc565b600280546001600160a01b03199081166001600160a01b03898116919091179092556003879055600480548216878416179055600680548216868416179055600780548216858416179055600580549091169183169190911790553060009081527ff75bd52644a06f60f92a1fcfd01b70efc8336d409cd07619e0734353cb55a9d960205260409020805460ff191660011790556040516329965a1d60e01b8152600060048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b6024820152306044820152731820a4b7618bde71dce8cdc73aab6c95905fad24906329965a1d90606401600060405180830381600087803b1580156200014d57600080fd5b505af115801562000162573d6000803e3d6000fd5b50506004546001600160a01b031615159150620001b490505760405162461bcd60e51b8152602060048201526009602482015268217a65726f2064616f60b81b60448201526064015b60405180910390fd5b6006546001600160a01b0316620001fb5760405162461bcd60e51b815260206004820152600a602482015269217a65726f207465616d60b01b6044820152606401620001ab565b6007546001600160a01b0316620002475760405162461bcd60e51b815260206004820152600f60248201526e217a65726f20696e766573746f727360881b6044820152606401620001ab565b6005546001600160a01b0316620002935760405162461bcd60e51b815260206004820152600f60248201526e217a65726f2065636f73797374656d60881b6044820152606401620001ab565b50506a0194821a17b02e0194600060085550506a02279a2394aa6d47f8e00060095550506a01327213c3a8c85c5ce000600a55620003b1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200033457600080fd5b919050565b60008060008060008060c087890312156200035357600080fd5b6200035e876200031c565b95506020870151945062000375604088016200031c565b935062000385606088016200031c565b925062000395608088016200031c565b9150620003a560a088016200031c565b90509295509295509295565b61150980620003c16000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c806373feac2a116100f9578063aa13f8e111610097578063e895c51411610071578063e895c51414610361578063f2fde38b14610374578063f478e43114610387578063fc0c546a1461039957600080fd5b8063aa13f8e11461033e578063c040622614610347578063e0a6666c1461034f57600080fd5b80638ac27f5f116100d35780638ac27f5f146102e05780638da5cb5b146102f35780638e6a2586146103045780639c74a5791461032b57600080fd5b806373feac2a146102ac578063838e9958146102b557806385f2aef2146102cd57600080fd5b80632789062a116101665780634162169f116101405780634162169f1461025d5780636637b882146102885780636aeee42b1461029b578063715018a6146102a457600080fd5b80632789062a146102275780632f216a3e146102395780633b60692b1461024b57600080fd5b806223de29146101ad578063095cf5c6146101c75780630ccb7412146101da5780630d99f40a146101f657806316d3bfbb14610209578063249cb3fa14610214575b600080fd5b6101c56101bb366004611287565b5050505050505050565b005b6101c56101d536600461126c565b6103ac565b6101e360095481565b6040519081526020015b60405180910390f35b6101c561020436600461126c565b610446565b6101e36301e1338081565b6101e3610222366004611354565b6104dc565b6101e36a24655cc78b38d7ac00000081565b6101e36a18d0bf423c03d8de00000081565b6101e36a25391ee35a05c54d00000081565b600454610270906001600160a01b031681565b6040516001600160a01b0390911681526020016101ed565b6101c561029636600461126c565b610536565b6101e3600a5481565b6101c56105c6565b6101e360035481565b6102bd6105fc565b60405190151581526020016101ed565b600654610270906001600160a01b031681565b600754610270906001600160a01b031681565b6000546001600160a01b0316610270565b6101e37fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b81565b600554610270906001600160a01b031681565b6101e360085481565b6101c5610682565b6101e36a36980b2b50d5438200000081565b6101c561036f36600461126c565b610c9a565b6101c561038236600461126c565b610d30565b6101e36acecb8f27f4200f3a00000081565b600254610270906001600160a01b031681565b6000546001600160a01b031633146103df5760405162461bcd60e51b81526004016103d6906113e8565b60405180910390fd5b6006546001600160a01b03166104245760405162461bcd60e51b815260206004820152600a602482015269217a65726f207465616d60b01b60448201526064016103d6565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104705760405162461bcd60e51b81526004016103d6906113e8565b6007546001600160a01b03166104ba5760405162461bcd60e51b815260206004820152600f60248201526e217a65726f20696e766573746f727360881b60448201526064016103d6565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526001602090815260408083206001600160a01b038516845290915281205460ff1661050d57600061052f565b7fa2ef4600d742022d532d4747cb3547474667d6f13804902513b2ec01c848f4b45b9392505050565b6000546001600160a01b031633146105605760405162461bcd60e51b81526004016103d6906113e8565b6004546001600160a01b03166105a45760405162461bcd60e51b8152602060048201526009602482015268217a65726f2064616f60b81b60448201526064016103d6565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146105f05760405162461bcd60e51b81526004016103d6906113e8565b6105fa6000610dcb565b565b6002546040516370a0823160e01b815230600482015260009182916001600160a01b03909116906370a082319060240160206040518083038186803b15801561064457600080fd5b505afa158015610658573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190611380565b11905090565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156106c657600080fd5b505afa1580156106da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fe9190611380565b905080806107445760405162461bcd60e51b81526020600482015260136024820152721b9bc818985b185b98d9481d1bc81cdc1b1a5d606a1b60448201526064016103d6565b6000806107816301e133806003544261075d9190611476565b61076c9064e8d4a51000611457565b6107769190611435565b64e8d4a51000610e1b565b9050600064e8d4a510006107a06a25391ee35a05c54d00000084611457565b6107aa9190611435565b905060006107c5600954836107bf9190611476565b86610e1b565b9050801561087a576107d7818561141d565b935080600960008282546107eb919061141d565b909155506107fb90508186611476565b60075460025491965061081b916001600160a01b03908116911683610e31565b60075460405163b6b55f2560e01b8152600481018390526001600160a01b039091169063b6b55f2590602401600060405180830381600087803b15801561086157600080fd5b505af1158015610875573d6000803e3d6000fd5b505050505b50505060006003544261088d9190611476565b905061089d816301e13380610e1b565b6108a79082611476565b905060006108c26301e1338061076c8464e8d4a51000611457565b9050600064e8d4a510006108e16a18d0bf423c03d8de00000084611457565b6108eb9190611435565b9050600061090e6108fe83600954610e1b565b6109089084611476565b87610e1b565b905080156109c357610920818661141d565b94508060096000828254610934919061141d565b9091555061094490508187611476565b600754600254919750610964916001600160a01b03908116911683610e31565b60075460405163b6b55f2560e01b8152600481018390526001600160a01b039091169063b6b55f2590602401600060405180830381600087803b1580156109aa57600080fd5b505af11580156109be573d6000803e3d6000fd5b505050505b505050506000806109eb6301e1338060026109de9190611457565b60035461075d9042611476565b9050600064e8d4a51000610a0a6a36980b2b50d5438200000084611457565b610a149190611435565b90506000610a29600854836109089190611476565b90508015610a7f57610a3b818561141d565b93508060086000828254610a4f919061141d565b90915550610a5f90508187611476565b600654600254919750610a7f916001600160a01b03908116911683610f8d565b505050600060035442610a929190611476565b9050610aac81610aa76301e133806002611457565b610e1b565b610ab69082611476565b90506000610adb610acc6301e133806002611457565b61076c8464e8d4a51000611457565b9050600064e8d4a51000610afa6a24655cc78b38d7ac00000084611457565b610b049190611435565b90506000610b27610b1783600854610e1b565b610b219084611476565b88610e1b565b90508015610b7d57610b39818661141d565b94508060086000828254610b4d919061141d565b90915550610b5d90508188611476565b600654600254919850610b7d916001600160a01b03908116911683610f8d565b505050506000610b976301e13380600a6109de9190611457565b9050600064e8d4a51000610bb66acecb8f27f4200f3a00000084611457565b610bc09190611435565b90506000610bd5600a54836109089190611476565b90508015610c1f5780600a6000828254610bef919061141d565b90915550610bff90508187611476565b600554600254919750610c1f916001600160a01b03908116911683610f8d565b8515610c4257600454600254610c42916001600160a01b03918216911688610f8d565b604080518881526020810188905290810185905260608101869052608081018290527fd5a15689c53a32eca246cb4a702c43e49d1eaf97d016d93844e873e7ac3885999060a00160405180910390a150505050505050565b6000546001600160a01b03163314610cc45760405162461bcd60e51b81526004016103d6906113e8565b6005546001600160a01b0316610d0e5760405162461bcd60e51b815260206004820152600f60248201526e217a65726f2065636f73797374656d60881b60448201526064016103d6565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610d5a5760405162461bcd60e51b81526004016103d6906113e8565b6001600160a01b038116610dbf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103d6565b610dc881610dcb565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000818310610e2a578161052f565b5090919050565b801580610eba5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b158015610e8057600080fd5b505afa158015610e94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb89190611380565b155b610f255760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016103d6565b6040516001600160a01b038316602482015260448101829052610f8890849063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610fbd565b505050565b6040516001600160a01b038316602482015260448101829052610f8890849063a9059cbb60e01b90606401610f51565b6000611012826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661108f9092919063ffffffff16565b805190915015610f8857808060200190518101906110309190611332565b610f885760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103d6565b606061109e84846000856110a6565b949350505050565b6060824710156111075760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103d6565b843b6111555760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103d6565b600080866001600160a01b031685876040516111719190611399565b60006040518083038185875af1925050503d80600081146111ae576040519150601f19603f3d011682016040523d82523d6000602084013e6111b3565b606091505b50915091506111c38282866111ce565b979650505050505050565b606083156111dd57508161052f565b8251156111ed5782518084602001fd5b8160405162461bcd60e51b81526004016103d691906113b5565b80356001600160a01b038116811461121e57600080fd5b919050565b60008083601f84011261123557600080fd5b50813567ffffffffffffffff81111561124d57600080fd5b60208301915083602082850101111561126557600080fd5b9250929050565b60006020828403121561127e57600080fd5b61052f82611207565b60008060008060008060008060c0898b0312156112a357600080fd5b6112ac89611207565b97506112ba60208a01611207565b96506112c860408a01611207565b955060608901359450608089013567ffffffffffffffff808211156112ec57600080fd5b6112f88c838d01611223565b909650945060a08b013591508082111561131157600080fd5b5061131e8b828c01611223565b999c989b5096995094979396929594505050565b60006020828403121561134457600080fd5b8151801515811461052f57600080fd5b6000806040838503121561136757600080fd5b8235915061137760208401611207565b90509250929050565b60006020828403121561139257600080fd5b5051919050565b600082516113ab81846020870161148d565b9190910192915050565b60208152600082518060208401526113d481604085016020870161148d565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611430576114306114bd565b500190565b60008261145257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611471576114716114bd565b500290565b600082821015611488576114886114bd565b500390565b60005b838110156114a8578181015183820152602001611490565b838111156114b7576000848401525b50505050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220dda51384abf30352d3c48e70bb0a450fe54c918449d7eb8fc10392f797674a4a64736f6c6343000807003300000000000000000000000069fa0fee221ad11012bab0fdb45d444d3d2ce71c00000000000000000000000000000000000000000000000000000000612e35e00000000000000000000000005b1b8bdbcc534b17e9f8e03a3308172c7657f4a3000000000000000000000000b90642fd1a7f39970c2643b57a71bc553f6ebded0000000000000000000000008f283547ca7b872f15d50861b1a676a301fc6d42000000000000000000000000cc2d8fca73f79a2d5643d448e16c6410d753dec1
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a85760003560e01c806373feac2a116100f9578063aa13f8e111610097578063e895c51411610071578063e895c51414610361578063f2fde38b14610374578063f478e43114610387578063fc0c546a1461039957600080fd5b8063aa13f8e11461033e578063c040622614610347578063e0a6666c1461034f57600080fd5b80638ac27f5f116100d35780638ac27f5f146102e05780638da5cb5b146102f35780638e6a2586146103045780639c74a5791461032b57600080fd5b806373feac2a146102ac578063838e9958146102b557806385f2aef2146102cd57600080fd5b80632789062a116101665780634162169f116101405780634162169f1461025d5780636637b882146102885780636aeee42b1461029b578063715018a6146102a457600080fd5b80632789062a146102275780632f216a3e146102395780633b60692b1461024b57600080fd5b806223de29146101ad578063095cf5c6146101c75780630ccb7412146101da5780630d99f40a146101f657806316d3bfbb14610209578063249cb3fa14610214575b600080fd5b6101c56101bb366004611287565b5050505050505050565b005b6101c56101d536600461126c565b6103ac565b6101e360095481565b6040519081526020015b60405180910390f35b6101c561020436600461126c565b610446565b6101e36301e1338081565b6101e3610222366004611354565b6104dc565b6101e36a24655cc78b38d7ac00000081565b6101e36a18d0bf423c03d8de00000081565b6101e36a25391ee35a05c54d00000081565b600454610270906001600160a01b031681565b6040516001600160a01b0390911681526020016101ed565b6101c561029636600461126c565b610536565b6101e3600a5481565b6101c56105c6565b6101e360035481565b6102bd6105fc565b60405190151581526020016101ed565b600654610270906001600160a01b031681565b600754610270906001600160a01b031681565b6000546001600160a01b0316610270565b6101e37fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b81565b600554610270906001600160a01b031681565b6101e360085481565b6101c5610682565b6101e36a36980b2b50d5438200000081565b6101c561036f36600461126c565b610c9a565b6101c561038236600461126c565b610d30565b6101e36acecb8f27f4200f3a00000081565b600254610270906001600160a01b031681565b6000546001600160a01b031633146103df5760405162461bcd60e51b81526004016103d6906113e8565b60405180910390fd5b6006546001600160a01b03166104245760405162461bcd60e51b815260206004820152600a602482015269217a65726f207465616d60b01b60448201526064016103d6565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104705760405162461bcd60e51b81526004016103d6906113e8565b6007546001600160a01b03166104ba5760405162461bcd60e51b815260206004820152600f60248201526e217a65726f20696e766573746f727360881b60448201526064016103d6565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526001602090815260408083206001600160a01b038516845290915281205460ff1661050d57600061052f565b7fa2ef4600d742022d532d4747cb3547474667d6f13804902513b2ec01c848f4b45b9392505050565b6000546001600160a01b031633146105605760405162461bcd60e51b81526004016103d6906113e8565b6004546001600160a01b03166105a45760405162461bcd60e51b8152602060048201526009602482015268217a65726f2064616f60b81b60448201526064016103d6565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146105f05760405162461bcd60e51b81526004016103d6906113e8565b6105fa6000610dcb565b565b6002546040516370a0823160e01b815230600482015260009182916001600160a01b03909116906370a082319060240160206040518083038186803b15801561064457600080fd5b505afa158015610658573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c9190611380565b11905090565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156106c657600080fd5b505afa1580156106da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fe9190611380565b905080806107445760405162461bcd60e51b81526020600482015260136024820152721b9bc818985b185b98d9481d1bc81cdc1b1a5d606a1b60448201526064016103d6565b6000806107816301e133806003544261075d9190611476565b61076c9064e8d4a51000611457565b6107769190611435565b64e8d4a51000610e1b565b9050600064e8d4a510006107a06a25391ee35a05c54d00000084611457565b6107aa9190611435565b905060006107c5600954836107bf9190611476565b86610e1b565b9050801561087a576107d7818561141d565b935080600960008282546107eb919061141d565b909155506107fb90508186611476565b60075460025491965061081b916001600160a01b03908116911683610e31565b60075460405163b6b55f2560e01b8152600481018390526001600160a01b039091169063b6b55f2590602401600060405180830381600087803b15801561086157600080fd5b505af1158015610875573d6000803e3d6000fd5b505050505b50505060006003544261088d9190611476565b905061089d816301e13380610e1b565b6108a79082611476565b905060006108c26301e1338061076c8464e8d4a51000611457565b9050600064e8d4a510006108e16a18d0bf423c03d8de00000084611457565b6108eb9190611435565b9050600061090e6108fe83600954610e1b565b6109089084611476565b87610e1b565b905080156109c357610920818661141d565b94508060096000828254610934919061141d565b9091555061094490508187611476565b600754600254919750610964916001600160a01b03908116911683610e31565b60075460405163b6b55f2560e01b8152600481018390526001600160a01b039091169063b6b55f2590602401600060405180830381600087803b1580156109aa57600080fd5b505af11580156109be573d6000803e3d6000fd5b505050505b505050506000806109eb6301e1338060026109de9190611457565b60035461075d9042611476565b9050600064e8d4a51000610a0a6a36980b2b50d5438200000084611457565b610a149190611435565b90506000610a29600854836109089190611476565b90508015610a7f57610a3b818561141d565b93508060086000828254610a4f919061141d565b90915550610a5f90508187611476565b600654600254919750610a7f916001600160a01b03908116911683610f8d565b505050600060035442610a929190611476565b9050610aac81610aa76301e133806002611457565b610e1b565b610ab69082611476565b90506000610adb610acc6301e133806002611457565b61076c8464e8d4a51000611457565b9050600064e8d4a51000610afa6a24655cc78b38d7ac00000084611457565b610b049190611435565b90506000610b27610b1783600854610e1b565b610b219084611476565b88610e1b565b90508015610b7d57610b39818661141d565b94508060086000828254610b4d919061141d565b90915550610b5d90508188611476565b600654600254919850610b7d916001600160a01b03908116911683610f8d565b505050506000610b976301e13380600a6109de9190611457565b9050600064e8d4a51000610bb66acecb8f27f4200f3a00000084611457565b610bc09190611435565b90506000610bd5600a54836109089190611476565b90508015610c1f5780600a6000828254610bef919061141d565b90915550610bff90508187611476565b600554600254919750610c1f916001600160a01b03908116911683610f8d565b8515610c4257600454600254610c42916001600160a01b03918216911688610f8d565b604080518881526020810188905290810185905260608101869052608081018290527fd5a15689c53a32eca246cb4a702c43e49d1eaf97d016d93844e873e7ac3885999060a00160405180910390a150505050505050565b6000546001600160a01b03163314610cc45760405162461bcd60e51b81526004016103d6906113e8565b6005546001600160a01b0316610d0e5760405162461bcd60e51b815260206004820152600f60248201526e217a65726f2065636f73797374656d60881b60448201526064016103d6565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610d5a5760405162461bcd60e51b81526004016103d6906113e8565b6001600160a01b038116610dbf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103d6565b610dc881610dcb565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000818310610e2a578161052f565b5090919050565b801580610eba5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b158015610e8057600080fd5b505afa158015610e94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb89190611380565b155b610f255760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016103d6565b6040516001600160a01b038316602482015260448101829052610f8890849063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610fbd565b505050565b6040516001600160a01b038316602482015260448101829052610f8890849063a9059cbb60e01b90606401610f51565b6000611012826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661108f9092919063ffffffff16565b805190915015610f8857808060200190518101906110309190611332565b610f885760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103d6565b606061109e84846000856110a6565b949350505050565b6060824710156111075760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103d6565b843b6111555760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103d6565b600080866001600160a01b031685876040516111719190611399565b60006040518083038185875af1925050503d80600081146111ae576040519150601f19603f3d011682016040523d82523d6000602084013e6111b3565b606091505b50915091506111c38282866111ce565b979650505050505050565b606083156111dd57508161052f565b8251156111ed5782518084602001fd5b8160405162461bcd60e51b81526004016103d691906113b5565b80356001600160a01b038116811461121e57600080fd5b919050565b60008083601f84011261123557600080fd5b50813567ffffffffffffffff81111561124d57600080fd5b60208301915083602082850101111561126557600080fd5b9250929050565b60006020828403121561127e57600080fd5b61052f82611207565b60008060008060008060008060c0898b0312156112a357600080fd5b6112ac89611207565b97506112ba60208a01611207565b96506112c860408a01611207565b955060608901359450608089013567ffffffffffffffff808211156112ec57600080fd5b6112f88c838d01611223565b909650945060a08b013591508082111561131157600080fd5b5061131e8b828c01611223565b999c989b5096995094979396929594505050565b60006020828403121561134457600080fd5b8151801515811461052f57600080fd5b6000806040838503121561136757600080fd5b8235915061137760208401611207565b90509250929050565b60006020828403121561139257600080fd5b5051919050565b600082516113ab81846020870161148d565b9190910192915050565b60208152600082518060208401526113d481604085016020870161148d565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611430576114306114bd565b500190565b60008261145257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611471576114716114bd565b500290565b600082821015611488576114886114bd565b500390565b60005b838110156114a8578181015183820152602001611490565b838111156114b7576000848401525b50505050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220dda51384abf30352d3c48e70bb0a450fe54c918449d7eb8fc10392f797674a4a64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000069fa0fee221ad11012bab0fdb45d444d3d2ce71c00000000000000000000000000000000000000000000000000000000612e35e00000000000000000000000005b1b8bdbcc534b17e9f8e03a3308172c7657f4a3000000000000000000000000b90642fd1a7f39970c2643b57a71bc553f6ebded0000000000000000000000008f283547ca7b872f15d50861b1a676a301fc6d42000000000000000000000000cc2d8fca73f79a2d5643d448e16c6410d753dec1
-----Decoded View---------------
Arg [0] : _token (address): 0x69fa0feE221AD11012BAb0FdB45d444D3D2Ce71c
Arg [1] : _emissionsStart (uint256): 1630418400
Arg [2] : _dao (address): 0x5b1b8BdbcC534B17E9f8E03a3308172c7657F4a3
Arg [3] : _team (address): 0xb90642fd1a7F39970C2643B57a71bC553F6EBDEd
Arg [4] : _investors (address): 0x8f283547cA7B872F15d50861b1a676a301fC6d42
Arg [5] : _ecosystem (address): 0xcC2D8Fca73F79A2d5643d448E16C6410D753Dec1
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000069fa0fee221ad11012bab0fdb45d444d3d2ce71c
Arg [1] : 00000000000000000000000000000000000000000000000000000000612e35e0
Arg [2] : 0000000000000000000000005b1b8bdbcc534b17e9f8e03a3308172c7657f4a3
Arg [3] : 000000000000000000000000b90642fd1a7f39970c2643b57a71bc553f6ebded
Arg [4] : 0000000000000000000000008f283547ca7b872f15d50861b1a676a301fc6d42
Arg [5] : 000000000000000000000000cc2d8fca73f79a2d5643d448e16c6410d753dec1
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.