Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
LockedMON
Compiler Version
v0.8.14+commit.80d49f37
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.14;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "../Dependencies/CheckContract.sol";
/*
This contract is reserved for Linear Vesting to the Team members and the Advisors team.
*/
contract LockedMON is Ownable, ReentrancyGuard, CheckContract {
using SafeERC20 for IERC20;
using SafeMath for uint256;
struct Rule {
uint256 createdDate;
uint256 totalSupply;
uint256 startVestingDate;
uint256 endVestingDate;
uint256 claimed;
}
string public constant NAME = "LockedMON";
uint256 public constant TWO_YEARS = 730 days;
uint256 public constant ONE_YEAR = 365 days;
bool public isInitialized;
IERC20 private monToken;
uint256 private assignedMONTokens;
mapping(address => Rule) public entitiesVesting;
modifier entityRuleExists(address _entity) {
require(entitiesVesting[_entity].createdDate != 0, "Entity doesn't have a Vesting Rule");
_;
}
function setAddresses(address _monAddress) external onlyOwner {
require(!isInitialized, "Already Initialized");
checkContract(_monAddress);
isInitialized = true;
monToken = IERC20(_monAddress);
}
function addEntityVestingBatch(
address[] memory _entities,
uint256[] memory _totalSupplies,
uint256 _startTime
) external onlyOwner {
require(_entities.length == _totalSupplies.length, "Array length missmatch");
uint256 _sumTotalSupplies = 0;
for (uint256 i = 0; i < _entities.length; i++) {
address _entity = _entities[i];
uint256 _totalSupply = _totalSupplies[i];
require(address(0) != _entity, "Invalid Address");
require(entitiesVesting[_entity].createdDate == 0, "Entity already has a Vesting Rule");
entitiesVesting[_entity] = Rule(
_startTime,
_totalSupply,
_startTime.add(ONE_YEAR),
_startTime.add(TWO_YEARS),
0
);
_sumTotalSupplies += _totalSupply;
}
assignedMONTokens += _sumTotalSupplies;
monToken.safeTransferFrom(msg.sender, address(this), _sumTotalSupplies);
}
function addEntityVesting(
address _entity,
uint256 _totalSupply,
uint256 _startTime
) external onlyOwner {
require(address(0) != _entity, "Invalid Address");
require(entitiesVesting[_entity].createdDate == 0, "Entity already has a Vesting Rule");
assignedMONTokens += _totalSupply;
entitiesVesting[_entity] = Rule(
_startTime,
_totalSupply,
_startTime.add(ONE_YEAR),
_startTime.add(TWO_YEARS),
0
);
monToken.safeTransferFrom(msg.sender, address(this), _totalSupply);
}
function lowerEntityVesting(address _entity, uint256 newTotalSupply)
external
nonReentrant
onlyOwner
entityRuleExists(_entity)
{
sendMONTokenToEntity(_entity);
Rule storage vestingRule = entitiesVesting[_entity];
require(
newTotalSupply > vestingRule.claimed,
"Total Supply goes lower or equal than the claimed total."
);
vestingRule.totalSupply = newTotalSupply;
}
function removeEntityVesting(address _entity)
external
nonReentrant
onlyOwner
entityRuleExists(_entity)
{
sendMONTokenToEntity(_entity);
Rule memory vestingRule = entitiesVesting[_entity];
assignedMONTokens = assignedMONTokens.sub(
vestingRule.totalSupply.sub(vestingRule.claimed)
);
delete entitiesVesting[_entity];
}
function claimMONToken() public entityRuleExists(msg.sender) {
sendMONTokenToEntity(msg.sender);
}
function sendMONTokenToEntity(address _entity) private {
uint256 unclaimedAmount = getClaimableMON(_entity);
if (unclaimedAmount == 0) return;
Rule storage entityRule = entitiesVesting[_entity];
entityRule.claimed += unclaimedAmount;
assignedMONTokens = assignedMONTokens.sub(unclaimedAmount);
monToken.safeTransfer(_entity, unclaimedAmount);
}
function transferUnassignedMON() external onlyOwner {
uint256 unassignedTokens = getUnassignMONTokensAmount();
if (unassignedTokens == 0) return;
monToken.safeTransfer(msg.sender, unassignedTokens);
}
function getClaimableMON(address _entity) public view returns (uint256 claimable) {
Rule memory entityRule = entitiesVesting[_entity];
claimable = 0;
if (entityRule.startVestingDate > block.timestamp) return claimable;
if (block.timestamp >= entityRule.endVestingDate) {
claimable = entityRule.totalSupply.sub(entityRule.claimed);
} else {
claimable = entityRule
.totalSupply
.mul(block.timestamp.sub(entityRule.startVestingDate))
.div(ONE_YEAR)
.sub(entityRule.claimed);
}
return claimable;
}
function getUnassignMONTokensAmount() public view returns (uint256) {
return monToken.balanceOf(address(this)).sub(assignedMONTokens);
}
function isEntityExits(address _entity) public view returns (bool) {
return entitiesVesting[_entity].createdDate != 0;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// 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 Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
contract CheckContract {
function checkContract(address _account) internal view {
require(_account != address(0), "Account cannot be zero address");
uint256 size;
assembly {
size := extcodesize(_account)
}
require(size > 0, "Account code size cannot be zero");
}
}// 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;
/**
* @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;
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ONE_YEAR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TWO_YEARS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_entity","type":"address"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"addEntityVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_entities","type":"address[]"},{"internalType":"uint256[]","name":"_totalSupplies","type":"uint256[]"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"addEntityVestingBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimMONToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"entitiesVesting","outputs":[{"internalType":"uint256","name":"createdDate","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"startVestingDate","type":"uint256"},{"internalType":"uint256","name":"endVestingDate","type":"uint256"},{"internalType":"uint256","name":"claimed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_entity","type":"address"}],"name":"getClaimableMON","outputs":[{"internalType":"uint256","name":"claimable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnassignMONTokensAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_entity","type":"address"}],"name":"isEntityExits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_entity","type":"address"},{"internalType":"uint256","name":"newTotalSupply","type":"uint256"}],"name":"lowerEntityVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_entity","type":"address"}],"name":"removeEntityVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_monAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferUnassignedMON","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b5061001a33610023565b60018055610073565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6115c4806100826000396000f3fe608060405234801561001057600080fd5b50600436106101155760003560e01c806381d3c435116100a2578063c4ca831811610071578063c4ca831814610294578063c9a4a9761461029c578063f2fde38b146102af578063f69c98cf146102c2578063fa0fb0c3146102d557600080fd5b806381d3c435146102065780638da5cb5b14610219578063a3f4df7e14610234578063aac12e291461026957600080fd5b8063392e53cd116100e9578063392e53cd146101555780633aee8bb4146101725780635403b5dd1461018557806357fe764014610198578063715018a6146101fe57600080fd5b80623498ad1461011a578063014a8cc21461012457806301edf6a01461012c57806316d3bfbb1461014a575b600080fd5b6101226102e8565b005b610122610352565b6101376303c2670081565b6040519081526020015b60405180910390f35b6101376301e1338081565b6002546101629060ff1681565b6040519015158152602001610141565b61012261018036600461122a565b610389565b6101226101933660046112f3565b6105b0565b6101d66101a6366004611326565b60046020819052600091825260409091208054600182015460028301546003840154939094015491939092909185565b604080519586526020860194909452928401919091526060830152608082015260a001610141565b61012261071a565b610122610214366004611326565b61074e565b6000546040516001600160a01b039091168152602001610141565b61025c604051806040016040528060098152602001682637b1b5b2b226a7a760b91b81525081565b604051610141919061136d565b610162610277366004611326565b6001600160a01b0316600090815260046020526040902054151590565b6101376107f4565b6101226102aa3660046113a0565b61087b565b6101226102bd366004611326565b6109df565b6101376102d0366004611326565b610a77565b6101226102e3366004611326565b610b3f565b6000546001600160a01b0316331461031b5760405162461bcd60e51b8152600401610312906113ca565b60405180910390fd5b60006103256107f4565b9050806000036103325750565b60025461034e9061010090046001600160a01b03163383610cab565b505b565b3360008181526004602052604081205490036103805760405162461bcd60e51b8152600401610312906113ff565b61034e33610d0e565b6000546001600160a01b031633146103b35760405162461bcd60e51b8152600401610312906113ca565b81518351146103fd5760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f240d8cadccee8d040dad2e6e6dac2e8c6d60531b6044820152606401610312565b6000805b845181101561057557600085828151811061041e5761041e611441565b60200260200101519050600085838151811061043c5761043c611441565b60200260200101519050816001600160a01b031660006001600160a01b03160361049a5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964204164647265737360881b6044820152606401610312565b6001600160a01b038216600090815260046020526040902054156104d05760405162461bcd60e51b815260040161031290611457565b6040805160a081018252868152602081018390529081016104f5876301e13380610d86565b8152602001610508876303c26700610d86565b8152600060209182018190526001600160a01b03851681526004808352604091829020845181559284015160018401559083015160028301556060830151600383015560809092015191015561055e81856114ae565b93505050808061056d906114c6565b915050610401565b50806003600082825461058891906114ae565b90915550506002546105aa9061010090046001600160a01b0316333084610d99565b50505050565b6000546001600160a01b031633146105da5760405162461bcd60e51b8152600401610312906113ca565b6001600160a01b0383166000036106255760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964204164647265737360881b6044820152606401610312565b6001600160a01b0383166000908152600460205260409020541561065b5760405162461bcd60e51b815260040161031290611457565b816003600082825461066d91906114ae565b90915550506040805160a08101825282815260208101849052908101610697836301e13380610d86565b81526020016106aa836303c26700610d86565b8152600060209182018190526001600160a01b0380871682526004808452604092839020855181559385015160018501559184015160028085019190915560608501516003850155608090940151929091019190915590546107159161010090910416333085610d99565b505050565b6000546001600160a01b031633146107445760405162461bcd60e51b8152600401610312906113ca565b6103506000610dd1565b6000546001600160a01b031633146107785760405162461bcd60e51b8152600401610312906113ca565b60025460ff16156107c15760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e48125b9a5d1a585b1a5e9959606a1b6044820152606401610312565b6107ca81610e21565b600280546001600160a01b03909216610100026001600160a81b0319909216919091176001179055565b6003546002546040516370a0823160e01b81523060048201526000926108769290916101009091046001600160a01b0316906370a0823190602401602060405180830381865afa15801561084c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087091906114df565b90610eca565b905090565b6002600154036108cd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610312565b60026001556000546001600160a01b031633146108fc5760405162461bcd60e51b8152600401610312906113ca565b6001600160a01b0382166000908152600460205260408120548391036109345760405162461bcd60e51b8152600401610312906113ff565b61093d83610d0e565b6001600160a01b03831660009081526004602081905260409091209081015483116109d05760405162461bcd60e51b815260206004820152603860248201527f546f74616c20537570706c7920676f6573206c6f776572206f7220657175616c60448201527f207468616e2074686520636c61696d656420746f74616c2e00000000000000006064820152608401610312565b60019081019290925550805550565b6000546001600160a01b03163314610a095760405162461bcd60e51b8152600401610312906113ca565b6001600160a01b038116610a6e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610312565b61034e81610dd1565b6001600160a01b0381166000908152600460208181526040808420815160a0810183528154815260018201549381019390935260028101549183018290526003810154606084015290920154608082015290421015610ad65750919050565b80606001514210610afb5760808101516020820151610af491610eca565b9150610b39565b610b3681608001516108706301e13380610b30610b25866040015142610eca90919063ffffffff16565b602087015190610ed6565b90610ee2565b91505b50919050565b600260015403610b915760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610312565b60026001556000546001600160a01b03163314610bc05760405162461bcd60e51b8152600401610312906113ca565b6001600160a01b038116600090815260046020526040812054829103610bf85760405162461bcd60e51b8152600401610312906113ff565b610c0182610d0e565b6001600160a01b038216600090815260046020818152604092839020835160a081018552815481526001820154928101839052600282015494810194909452600381015460608501529091015460808301819052610c6b91610c6291610eca565b60035490610eca565b60039081556001600160a01b0390931660009081526004602081905260408220828155600180820184905560028201849055958101839055015550508055565b6040516001600160a01b03831660248201526044810182905261071590849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610eee565b6000610d1982610a77565b905080600003610d27575050565b6001600160a01b03821660009081526004602081905260408220908101805491928492610d559084906114ae565b9091555050600354610d679083610eca565b6003556002546107159061010090046001600160a01b03168484610cab565b6000610d9282846114ae565b9392505050565b6040516001600160a01b03808516602483015283166044820152606481018290526105aa9085906323b872dd60e01b90608401610cd7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116610e775760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e742063616e6e6f74206265207a65726f206164647265737300006044820152606401610312565b803b80610ec65760405162461bcd60e51b815260206004820181905260248201527f4163636f756e7420636f64652073697a652063616e6e6f74206265207a65726f6044820152606401610312565b5050565b6000610d9282846114f8565b6000610d92828461150f565b6000610d92828461152e565b6000610f43826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fc09092919063ffffffff16565b8051909150156107155780806020019051810190610f619190611550565b6107155760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610312565b6060610fcf8484600085610fd7565b949350505050565b6060824710156110385760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610312565b843b6110865760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610312565b600080866001600160a01b031685876040516110a29190611572565b60006040518083038185875af1925050503d80600081146110df576040519150601f19603f3d011682016040523d82523d6000602084013e6110e4565b606091505b50915091506110f48282866110ff565b979650505050505050565b6060831561110e575081610d92565b82511561111e5782518084602001fd5b8160405162461bcd60e51b8152600401610312919061136d565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561117757611177611138565b604052919050565b600067ffffffffffffffff82111561119957611199611138565b5060051b60200190565b80356001600160a01b03811681146111ba57600080fd5b919050565b600082601f8301126111d057600080fd5b813560206111e56111e08361117f565b61114e565b82815260059290921b8401810191818101908684111561120457600080fd5b8286015b8481101561121f5780358352918301918301611208565b509695505050505050565b60008060006060848603121561123f57600080fd5b833567ffffffffffffffff8082111561125757600080fd5b818601915086601f83011261126b57600080fd5b8135602061127b6111e08361117f565b82815260059290921b8401810191818101908a84111561129a57600080fd5b948201945b838610156112bf576112b0866111a3565b8252948201949082019061129f565b975050870135925050808211156112d557600080fd5b506112e2868287016111bf565b925050604084013590509250925092565b60008060006060848603121561130857600080fd5b611311846111a3565b95602085013595506040909401359392505050565b60006020828403121561133857600080fd5b610d92826111a3565b60005b8381101561135c578181015183820152602001611344565b838111156105aa5750506000910152565b602081526000825180602084015261138c816040850160208701611341565b601f01601f19169190910160400192915050565b600080604083850312156113b357600080fd5b6113bc836111a3565b946020939093013593505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f456e7469747920646f65736e2774206861766520612056657374696e672052756040820152616c6560f01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f456e7469747920616c72656164792068617320612056657374696e672052756c6040820152606560f81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156114c1576114c1611498565b500190565b6000600182016114d8576114d8611498565b5060010190565b6000602082840312156114f157600080fd5b5051919050565b60008282101561150a5761150a611498565b500390565b600081600019048311821515161561152957611529611498565b500290565b60008261154b57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561156257600080fd5b81518015158114610d9257600080fd5b60008251611584818460208701611341565b919091019291505056fea26469706673582212206a26515584a0886425d44ddea5b2040a74b8d3eb0750e3f0f057329c5f72085a64736f6c634300080e0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101155760003560e01c806381d3c435116100a2578063c4ca831811610071578063c4ca831814610294578063c9a4a9761461029c578063f2fde38b146102af578063f69c98cf146102c2578063fa0fb0c3146102d557600080fd5b806381d3c435146102065780638da5cb5b14610219578063a3f4df7e14610234578063aac12e291461026957600080fd5b8063392e53cd116100e9578063392e53cd146101555780633aee8bb4146101725780635403b5dd1461018557806357fe764014610198578063715018a6146101fe57600080fd5b80623498ad1461011a578063014a8cc21461012457806301edf6a01461012c57806316d3bfbb1461014a575b600080fd5b6101226102e8565b005b610122610352565b6101376303c2670081565b6040519081526020015b60405180910390f35b6101376301e1338081565b6002546101629060ff1681565b6040519015158152602001610141565b61012261018036600461122a565b610389565b6101226101933660046112f3565b6105b0565b6101d66101a6366004611326565b60046020819052600091825260409091208054600182015460028301546003840154939094015491939092909185565b604080519586526020860194909452928401919091526060830152608082015260a001610141565b61012261071a565b610122610214366004611326565b61074e565b6000546040516001600160a01b039091168152602001610141565b61025c604051806040016040528060098152602001682637b1b5b2b226a7a760b91b81525081565b604051610141919061136d565b610162610277366004611326565b6001600160a01b0316600090815260046020526040902054151590565b6101376107f4565b6101226102aa3660046113a0565b61087b565b6101226102bd366004611326565b6109df565b6101376102d0366004611326565b610a77565b6101226102e3366004611326565b610b3f565b6000546001600160a01b0316331461031b5760405162461bcd60e51b8152600401610312906113ca565b60405180910390fd5b60006103256107f4565b9050806000036103325750565b60025461034e9061010090046001600160a01b03163383610cab565b505b565b3360008181526004602052604081205490036103805760405162461bcd60e51b8152600401610312906113ff565b61034e33610d0e565b6000546001600160a01b031633146103b35760405162461bcd60e51b8152600401610312906113ca565b81518351146103fd5760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f240d8cadccee8d040dad2e6e6dac2e8c6d60531b6044820152606401610312565b6000805b845181101561057557600085828151811061041e5761041e611441565b60200260200101519050600085838151811061043c5761043c611441565b60200260200101519050816001600160a01b031660006001600160a01b03160361049a5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964204164647265737360881b6044820152606401610312565b6001600160a01b038216600090815260046020526040902054156104d05760405162461bcd60e51b815260040161031290611457565b6040805160a081018252868152602081018390529081016104f5876301e13380610d86565b8152602001610508876303c26700610d86565b8152600060209182018190526001600160a01b03851681526004808352604091829020845181559284015160018401559083015160028301556060830151600383015560809092015191015561055e81856114ae565b93505050808061056d906114c6565b915050610401565b50806003600082825461058891906114ae565b90915550506002546105aa9061010090046001600160a01b0316333084610d99565b50505050565b6000546001600160a01b031633146105da5760405162461bcd60e51b8152600401610312906113ca565b6001600160a01b0383166000036106255760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964204164647265737360881b6044820152606401610312565b6001600160a01b0383166000908152600460205260409020541561065b5760405162461bcd60e51b815260040161031290611457565b816003600082825461066d91906114ae565b90915550506040805160a08101825282815260208101849052908101610697836301e13380610d86565b81526020016106aa836303c26700610d86565b8152600060209182018190526001600160a01b0380871682526004808452604092839020855181559385015160018501559184015160028085019190915560608501516003850155608090940151929091019190915590546107159161010090910416333085610d99565b505050565b6000546001600160a01b031633146107445760405162461bcd60e51b8152600401610312906113ca565b6103506000610dd1565b6000546001600160a01b031633146107785760405162461bcd60e51b8152600401610312906113ca565b60025460ff16156107c15760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e48125b9a5d1a585b1a5e9959606a1b6044820152606401610312565b6107ca81610e21565b600280546001600160a01b03909216610100026001600160a81b0319909216919091176001179055565b6003546002546040516370a0823160e01b81523060048201526000926108769290916101009091046001600160a01b0316906370a0823190602401602060405180830381865afa15801561084c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087091906114df565b90610eca565b905090565b6002600154036108cd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610312565b60026001556000546001600160a01b031633146108fc5760405162461bcd60e51b8152600401610312906113ca565b6001600160a01b0382166000908152600460205260408120548391036109345760405162461bcd60e51b8152600401610312906113ff565b61093d83610d0e565b6001600160a01b03831660009081526004602081905260409091209081015483116109d05760405162461bcd60e51b815260206004820152603860248201527f546f74616c20537570706c7920676f6573206c6f776572206f7220657175616c60448201527f207468616e2074686520636c61696d656420746f74616c2e00000000000000006064820152608401610312565b60019081019290925550805550565b6000546001600160a01b03163314610a095760405162461bcd60e51b8152600401610312906113ca565b6001600160a01b038116610a6e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610312565b61034e81610dd1565b6001600160a01b0381166000908152600460208181526040808420815160a0810183528154815260018201549381019390935260028101549183018290526003810154606084015290920154608082015290421015610ad65750919050565b80606001514210610afb5760808101516020820151610af491610eca565b9150610b39565b610b3681608001516108706301e13380610b30610b25866040015142610eca90919063ffffffff16565b602087015190610ed6565b90610ee2565b91505b50919050565b600260015403610b915760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610312565b60026001556000546001600160a01b03163314610bc05760405162461bcd60e51b8152600401610312906113ca565b6001600160a01b038116600090815260046020526040812054829103610bf85760405162461bcd60e51b8152600401610312906113ff565b610c0182610d0e565b6001600160a01b038216600090815260046020818152604092839020835160a081018552815481526001820154928101839052600282015494810194909452600381015460608501529091015460808301819052610c6b91610c6291610eca565b60035490610eca565b60039081556001600160a01b0390931660009081526004602081905260408220828155600180820184905560028201849055958101839055015550508055565b6040516001600160a01b03831660248201526044810182905261071590849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610eee565b6000610d1982610a77565b905080600003610d27575050565b6001600160a01b03821660009081526004602081905260408220908101805491928492610d559084906114ae565b9091555050600354610d679083610eca565b6003556002546107159061010090046001600160a01b03168484610cab565b6000610d9282846114ae565b9392505050565b6040516001600160a01b03808516602483015283166044820152606481018290526105aa9085906323b872dd60e01b90608401610cd7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116610e775760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e742063616e6e6f74206265207a65726f206164647265737300006044820152606401610312565b803b80610ec65760405162461bcd60e51b815260206004820181905260248201527f4163636f756e7420636f64652073697a652063616e6e6f74206265207a65726f6044820152606401610312565b5050565b6000610d9282846114f8565b6000610d92828461150f565b6000610d92828461152e565b6000610f43826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fc09092919063ffffffff16565b8051909150156107155780806020019051810190610f619190611550565b6107155760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610312565b6060610fcf8484600085610fd7565b949350505050565b6060824710156110385760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610312565b843b6110865760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610312565b600080866001600160a01b031685876040516110a29190611572565b60006040518083038185875af1925050503d80600081146110df576040519150601f19603f3d011682016040523d82523d6000602084013e6110e4565b606091505b50915091506110f48282866110ff565b979650505050505050565b6060831561110e575081610d92565b82511561111e5782518084602001fd5b8160405162461bcd60e51b8152600401610312919061136d565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561117757611177611138565b604052919050565b600067ffffffffffffffff82111561119957611199611138565b5060051b60200190565b80356001600160a01b03811681146111ba57600080fd5b919050565b600082601f8301126111d057600080fd5b813560206111e56111e08361117f565b61114e565b82815260059290921b8401810191818101908684111561120457600080fd5b8286015b8481101561121f5780358352918301918301611208565b509695505050505050565b60008060006060848603121561123f57600080fd5b833567ffffffffffffffff8082111561125757600080fd5b818601915086601f83011261126b57600080fd5b8135602061127b6111e08361117f565b82815260059290921b8401810191818101908a84111561129a57600080fd5b948201945b838610156112bf576112b0866111a3565b8252948201949082019061129f565b975050870135925050808211156112d557600080fd5b506112e2868287016111bf565b925050604084013590509250925092565b60008060006060848603121561130857600080fd5b611311846111a3565b95602085013595506040909401359392505050565b60006020828403121561133857600080fd5b610d92826111a3565b60005b8381101561135c578181015183820152602001611344565b838111156105aa5750506000910152565b602081526000825180602084015261138c816040850160208701611341565b601f01601f19169190910160400192915050565b600080604083850312156113b357600080fd5b6113bc836111a3565b946020939093013593505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f456e7469747920646f65736e2774206861766520612056657374696e672052756040820152616c6560f01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f456e7469747920616c72656164792068617320612056657374696e672052756c6040820152606560f81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156114c1576114c1611498565b500190565b6000600182016114d8576114d8611498565b5060010190565b6000602082840312156114f157600080fd5b5051919050565b60008282101561150a5761150a611498565b500390565b600081600019048311821515161561152957611529611498565b500290565b60008261154b57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561156257600080fd5b81518015158114610d9257600080fd5b60008251611584818460208701611341565b919091019291505056fea26469706673582212206a26515584a0886425d44ddea5b2040a74b8d3eb0750e3f0f057329c5f72085a64736f6c634300080e0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.