More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 720 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 21436997 | 40 hrs ago | IN | 0 ETH | 0.00175492 | ||||
Approve | 21366863 | 11 days ago | IN | 0 ETH | 0.00129615 | ||||
Approve | 21322853 | 17 days ago | IN | 0 ETH | 0.00277742 | ||||
Approve | 21228781 | 30 days ago | IN | 0 ETH | 0.00051771 | ||||
Approve | 21225936 | 31 days ago | IN | 0 ETH | 0.00047082 | ||||
Approve | 21217322 | 32 days ago | IN | 0 ETH | 0.00080631 | ||||
Approve | 21211611 | 33 days ago | IN | 0 ETH | 0.00043311 | ||||
Transfer | 21208110 | 33 days ago | IN | 0 ETH | 0.00091605 | ||||
Transfer | 21208101 | 33 days ago | IN | 0 ETH | 0.00091193 | ||||
Transfer | 21208088 | 33 days ago | IN | 0 ETH | 0.00113948 | ||||
Approve | 21207037 | 33 days ago | IN | 0 ETH | 0.00020288 | ||||
Approve | 21206995 | 33 days ago | IN | 0 ETH | 0.0002043 | ||||
Approve | 21206927 | 33 days ago | IN | 0 ETH | 0.00022164 | ||||
Approve | 21204605 | 34 days ago | IN | 0 ETH | 0.0004317 | ||||
Approve | 21110180 | 47 days ago | IN | 0 ETH | 0.00008889 | ||||
Approve | 20997432 | 63 days ago | IN | 0 ETH | 0.00019879 | ||||
Approve | 20997385 | 63 days ago | IN | 0 ETH | 0.00040262 | ||||
Approve | 20925239 | 73 days ago | IN | 0 ETH | 0.00071339 | ||||
Approve | 20853035 | 83 days ago | IN | 0 ETH | 0.00013307 | ||||
Approve | 20852987 | 83 days ago | IN | 0 ETH | 0.0001404 | ||||
Approve | 20852882 | 83 days ago | IN | 0 ETH | 0.00015608 | ||||
Approve | 20852871 | 83 days ago | IN | 0 ETH | 0.00025519 | ||||
Approve | 20819120 | 87 days ago | IN | 0 ETH | 0.00052739 | ||||
Approve | 20708721 | 103 days ago | IN | 0 ETH | 0.00003612 | ||||
Transfer | 20688667 | 106 days ago | IN | 0 ETH | 0.00023612 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
21443527 | 18 hrs ago | 0 ETH | |||||
21443527 | 18 hrs ago | 0 ETH | |||||
21443527 | 18 hrs ago | 0 ETH | |||||
21443527 | 18 hrs ago | 0 ETH | |||||
21443525 | 18 hrs ago | 0 ETH | |||||
21443525 | 18 hrs ago | 0 ETH | |||||
21443525 | 18 hrs ago | 0 ETH | |||||
21443525 | 18 hrs ago | 0 ETH | |||||
21366864 | 11 days ago | 0 ETH | |||||
21366864 | 11 days ago | 0 ETH | |||||
21366864 | 11 days ago | 0 ETH | |||||
21366864 | 11 days ago | 0 ETH | |||||
21350653 | 13 days ago | 0 ETH | |||||
21350653 | 13 days ago | 0 ETH | |||||
21350653 | 13 days ago | 0 ETH | |||||
21346689 | 14 days ago | 0 ETH | |||||
21346689 | 14 days ago | 0 ETH | |||||
21346689 | 14 days ago | 0 ETH | |||||
21346689 | 14 days ago | 0 ETH | |||||
21346689 | 14 days ago | 0 ETH | |||||
21346689 | 14 days ago | 0 ETH | |||||
21346689 | 14 days ago | 0 ETH | |||||
21302416 | 20 days ago | 0 ETH | |||||
21302416 | 20 days ago | 0 ETH | |||||
21302416 | 20 days ago | 0 ETH |
Loading...
Loading
Contract Name:
ASI
Compiler Version
v0.6.6+commit.6c089d02
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* * Copyright © 2021 asi.finance. ALL RIGHTS RESERVED. */ pragma solidity ^0.6.0; import '@openzeppelin/contracts/GSN/Context.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/math/SafeMath.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract ASI is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping(address => uint256) private _mock; mapping(address => uint256) private _scores; mapping(address => mapping(address => uint256)) private _allowances; uint256 private constant _totalSupply = 10 * 10**6 * 10**18; uint256 private constant _antiBotsPeriod = 45; uint256 private _totalFees; uint256 private _totalScores; uint256 private _rate; mapping(address => bool) private _exchanges; mapping(address => uint256) private _lastTransactionPerUser; string private _name = 'asi.finance'; string private _symbol = 'ASI'; uint8 private _decimals = 18; constructor() public { _balances[_msgSender()] = _totalSupply; _exchanges[_msgSender()] = true; emit Transfer(address(0), _msgSender(), _totalSupply); } // ERC20 STRUCTURE function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { if (_exchanges[account]) return _balances[account]; return _calculateBalance(account); } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, 'ERC20: transfer amount exceeds allowance')); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, 'ERC20: decreased allowance below zero')); return true; } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), 'ERC20: approve from the zero address'); require(spender != address(0), 'ERC20: approve to the zero address'); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer( address sender, address recipient, uint256 amount ) private { require(sender != address(0), 'ERC20: transfer from the zero address'); require(recipient != address(0), 'ERC20: transfer to the zero address'); if (_exchanges[sender] && !_exchanges[recipient]) { _transferFromExchangeToUser(sender, recipient, amount); } else if (!_exchanges[sender] && _exchanges[recipient]) { _transferFromUserToExchange(sender, recipient, amount); } else if (!_exchanges[sender] && !_exchanges[recipient]) { _transferFromUserToUser(sender, recipient, amount); } else if (_exchanges[sender] && _exchanges[recipient]) { _transferFromExchangeToExchange(sender, recipient, amount); } else { _transferFromUserToUser(sender, recipient, amount); } } // SETTERS function _transferFromExchangeToUser( address exchange, address user, uint256 amount ) private { require(_calculateBalance(exchange) >= amount, 'ERC20: transfer amount exceeds balance'); (uint256 fees,, uint256 scoreRate, uint256 amountSubFees) = _getWorth(_calculateBalance(user).add(amount), user, amount, true); _balances[exchange] = _calculateBalance(exchange).sub(amount); _balances[user] = _calculateBalance(user).add(amountSubFees); _reScore(user, scoreRate); _reRate(fees); _lastTransactionPerUser[user] = block.number; emit Transfer(exchange, user, amount); } function _transferFromUserToExchange( address user, address exchange, uint256 amount ) private { require(_calculateBalance(user) >= amount, 'ERC20: transfer amount exceeds balance'); (uint256 fees,, uint256 scoreRate, uint256 amountSubFees) = _getWorth(_calculateBalance(user), user, amount, true); _balances[exchange] = _calculateBalance(exchange).add(amountSubFees); _balances[user] = _calculateBalance(user).sub(amount); _reScore(user, scoreRate); _reRate(fees); _lastTransactionPerUser[user] = block.number; emit Transfer(user, exchange, amount); } function _transferFromUserToUser( address sender, address recipient, uint256 amount ) private { require(_calculateBalance(sender) >= amount, 'ERC20: transfer amount exceeds balance'); (uint256 fees,, uint256 senderScoreRate, uint256 amountSubFees) = _getWorth(_calculateBalance(sender), sender, amount, true); (,, uint256 recipientScoreRate,) = _getWorth(_calculateBalance(recipient).add(amount), recipient, amount, false); _balances[recipient] = _calculateBalance(recipient).add(amountSubFees); _balances[sender] = _calculateBalance(sender).sub(amount); _reScore(sender, senderScoreRate); _reScore(recipient, recipientScoreRate); _reRate(fees); _lastTransactionPerUser[sender] = block.number; emit Transfer(sender, recipient, amount); } function _transferFromExchangeToExchange( address sender, address recipient, uint256 amount ) private { require(_calculateBalance(sender) >= amount, 'ERC20: transfer amount exceeds balance'); _balances[sender] = _calculateBalance(sender).sub(amount); _balances[recipient] = _calculateBalance(recipient).add(amount); emit Transfer(sender, recipient, amount); } function _reScore(address account, uint256 score) private { _totalScores = _totalScores.sub(_scores[account]); _scores[account] = _balances[account].mul(score); _mock[account] = _scores[account].mul(_rate).div(1e18); _totalScores = _totalScores.add(_scores[account]); } function _reRate(uint256 fees) private { _totalFees = _totalFees.add(fees); if(_totalScores > 0) _rate = _rate.add(fees.mul(1e18).div(_totalScores)); } function setExchange(address account) public onlyOwner() { require(!_exchanges[account], 'Account is already exchange'); _balances[account] = _calculateBalance(account); _totalScores = _totalScores.sub(_scores[account]); _scores[account] = 0; _exchanges[account] = true; } function removeExchange(address account) public onlyOwner() { require(_exchanges[account], 'Account not exchange'); (,, uint256 scoreRate,) = _getWorth(_calculateBalance(account), account, _calculateBalance(account), false); _balances[account] = _calculateBalance(account); if (scoreRate > 0) _reScore(account, scoreRate); _exchanges[account] = false; } // PUBLIC GETTERS function getScore(address account) public view returns (uint256) { return _scores[account]; } function getTotalScores() public view returns (uint256) { return _totalScores; } function getTotalFees() public view returns (uint256) { return _totalFees; } function isExchange(address account) public view returns (bool) { return _exchanges[account]; } function getTradingFees(address account) public view returns (uint256) { (, uint256 feesRate,,) = _getWorth(_calculateBalance(account), account, 0, true); return feesRate; } function getLastTransactionPerUser(address account) public view returns (uint256) { return _lastTransactionPerUser[account]; } // PRIVATE GETTERS function _getWorth( uint256 balance, address account, uint256 amount, bool antiBots ) private view returns ( uint256, uint256, uint256, uint256 ) { uint256 fees; uint256 feesRate; uint256 scoreRate; uint256 _startCategory = 500 * 10**18; if (balance < _startCategory) { feesRate = 120; fees = amount.mul(feesRate).div(10000); scoreRate = 10; } else if (balance >= _startCategory && balance < _startCategory.mul(10)) { feesRate = 110; fees = amount.mul(feesRate).div(10000); scoreRate = 100; } else if (balance >= _startCategory.mul(10) && balance < _startCategory.mul(50)) { feesRate = 100; fees = amount.mul(feesRate).div(10000); scoreRate = 110; } else if (balance >= _startCategory.mul(50) && balance < _startCategory.mul(100)) { feesRate = 90; fees = amount.mul(feesRate).div(10000); scoreRate = 120; } else if (balance >= _startCategory.mul(100) && balance < _startCategory.mul(200)) { feesRate = 75; fees = amount.mul(feesRate).div(10000); scoreRate = 130; } else if (balance >= _startCategory.mul(200)) { feesRate = 50; fees = amount.mul(feesRate).div(10000); scoreRate = 140; } else { feesRate = 100; fees = amount.mul(feesRate).div(10000); scoreRate = 0; } if (antiBots == true && block.number < _lastTransactionPerUser[account].add(_antiBotsPeriod)) { feesRate = 500; fees = amount.mul(feesRate).div(10000); } uint256 amountSubFees = amount.sub(fees); return (fees, feesRate, scoreRate, amountSubFees); } function _calculateFeesForUser(address account) private view returns (uint256) { return _scores[account] > 0 ? _scores[account].mul(_rate).div(1e18).sub(_mock[account]) : 0; } function _calculateBalance(address account) private view returns (uint256) { return _calculateFeesForUser(account) > 0 ? _calculateFeesForUser(account).add(_balances[account]) : _balances[account]; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.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.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @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 sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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 mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /** * @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 in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "../GSN/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. */ 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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
{ "optimizer": { "enabled": true, "runs": 500 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getLastTransactionPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getScore","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalScores","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getTradingFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExchange","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeExchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setExchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600b60808190526a6173692e66696e616e636560a81b60a09081526200002e91600a9190620001c6565b506040805180820190915260038082526241534960e81b60209092019182526200005b91600b91620001c6565b50600c805460ff191660121790553480156200007657600080fd5b5060006200008c6001600160e01b03620001c116565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506a084595161401484a00000060016000620000f96001600160e01b03620001c116565b6001600160a01b03166001600160a01b031681526020019081526020016000208190555060016008600062000133620001c160201b60201c565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905562000165620001c1565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6a084595161401484a0000006040518082815260200191505060405180910390a362000268565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200020957805160ff191683800117855562000239565b8280016001018555821562000239579182015b82811115620002395782518255916020019190600101906200021c565b50620002479291506200024b565b5090565b620001c391905b8082111562000247576000815560010162000252565b611c3f80620002786000396000f3fe608060405234801561001057600080fd5b50600436106101615760003560e01c8063715018a6116100c857806395d89b411161008c578063d47875d011610066578063d47875d01461043f578063dd62ed3e14610465578063f2fde38b1461049357610161565b806395d89b41146103df578063a457c2d7146103e7578063a9059cbb1461041357610161565b8063715018a61461035f578063726a96f5146103675780638da5cb5b1461038d5780638e0be369146103b15780639471676c146103d757610161565b8063313ce5671161012a578063626e1ae711610104578063626e1ae71461030957806367b1f5df1461031157806370a082311461033957610161565b8063313ce5671461029957806339509351146102b75780633cbeda18146102e357610161565b806236d2d31461016657806306fdde03146101a0578063095ea7b31461021d57806318160ddd1461024957806323b872dd14610263575b600080fd5b61018c6004803603602081101561017c57600080fd5b50356001600160a01b03166104b9565b604080519115158252519081900360200190f35b6101a86104db565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101e25781810151838201526020016101ca565b50505050905090810190601f16801561020f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61018c6004803603604081101561023357600080fd5b506001600160a01b038135169060200135610571565b61025161058f565b60408051918252519081900360200190f35b61018c6004803603606081101561027957600080fd5b506001600160a01b0381358116916020810135909116906040013561059e565b6102a161062b565b6040805160ff9092168252519081900360200190f35b61018c600480360360408110156102cd57600080fd5b506001600160a01b038135169060200135610634565b610251600480360360208110156102f957600080fd5b50356001600160a01b0316610688565b6102516106ac565b6103376004803603602081101561032757600080fd5b50356001600160a01b03166106b2565b005b6102516004803603602081101561034f57600080fd5b50356001600160a01b03166107fe565b610337610847565b6102516004803603602081101561037d57600080fd5b50356001600160a01b0316610908565b610395610923565b604080516001600160a01b039092168252519081900360200190f35b610337600480360360208110156103c757600080fd5b50356001600160a01b0316610932565b610251610a81565b6101a8610a87565b61018c600480360360408110156103fd57600080fd5b506001600160a01b038135169060200135610ae8565b61018c6004803603604081101561042957600080fd5b506001600160a01b038135169060200135610b56565b6102516004803603602081101561045557600080fd5b50356001600160a01b0316610b6a565b6102516004803603604081101561047b57600080fd5b506001600160a01b0381358116916020013516610b85565b610337600480360360208110156104a957600080fd5b50356001600160a01b0316610bb0565b6001600160a01b03811660009081526008602052604090205460ff165b919050565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105675780601f1061053c57610100808354040283529160200191610567565b820191906000526020600020905b81548152906001019060200180831161054a57829003601f168201915b5050505050905090565b600061058561057e610cc7565b8484610ccb565b5060015b92915050565b6a084595161401484a00000090565b60006105ab848484610db7565b610621846105b7610cc7565b61061c85604051806060016040528060288152602001611b74602891396001600160a01b038a166000908152600460205260408120906105f5610cc7565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610f9a16565b610ccb565b5060019392505050565b600c5460ff1690565b6000610585610641610cc7565b8461061c8560046000610652610cc7565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61103116565b6000806106a161069784611092565b84600060016110f3565b509095945050505050565b60055490565b6106ba610cc7565b6000546001600160a01b0390811691161461071c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811660009081526008602052604090205460ff161561078a576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c72656164792065786368616e67650000000000604482015290519081900360640190fd5b61079381611092565b6001600160a01b0382166000908152600160209081526040808320939093556003905220546006546107ca9163ffffffff61137416565b6006556001600160a01b0316600090815260036020908152604080832083905560089091529020805460ff19166001179055565b6001600160a01b03811660009081526008602052604081205460ff161561083e57506001600160a01b0381166000908152600160205260409020546104d6565b61058982611092565b61084f610cc7565b6000546001600160a01b039081169116146108b1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6001600160a01b031660009081526009602052604090205490565b6000546001600160a01b031690565b61093a610cc7565b6000546001600160a01b0390811691161461099c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811660009081526008602052604090205460ff16610a09576040805162461bcd60e51b815260206004820152601460248201527f4163636f756e74206e6f742065786368616e6765000000000000000000000000604482015290519081900360640190fd5b6000610a28610a1783611092565b83610a2185611092565b60006110f3565b5092505050610a3682611092565b6001600160a01b0383166000908152600160205260409020558015610a5f57610a5f82826113b6565b506001600160a01b03166000908152600860205260409020805460ff19169055565b60065490565b600b8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105675780601f1061053c57610100808354040283529160200191610567565b6000610585610af5610cc7565b8461061c85604051806060016040528060258152602001611be56025913960046000610b1f610cc7565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610f9a16565b6000610585610b63610cc7565b8484610db7565b6001600160a01b031660009081526003602052604090205490565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b610bb8610cc7565b6000546001600160a01b03908116911614610c1a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610c5f5760405162461bcd60e51b8152600401808060200182810382526026815260200180611ae56026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b3390565b6001600160a01b038316610d105760405162461bcd60e51b8152600401808060200182810382526024815260200180611bc16024913960400191505060405180910390fd5b6001600160a01b038216610d555760405162461bcd60e51b8152600401808060200182810382526022815260200180611b0b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610dfc5760405162461bcd60e51b8152600401808060200182810382526025815260200180611b9c6025913960400191505060405180910390fd5b6001600160a01b038216610e415760405162461bcd60e51b8152600401808060200182810382526023815260200180611ac26023913960400191505060405180910390fd5b6001600160a01b03831660009081526008602052604090205460ff168015610e8257506001600160a01b03821660009081526008602052604090205460ff16155b15610e9757610e92838383611487565b610f95565b6001600160a01b03831660009081526008602052604090205460ff16158015610ed857506001600160a01b03821660009081526008602052604090205460ff165b15610ee857610e928383836115bc565b6001600160a01b03831660009081526008602052604090205460ff16158015610f2a57506001600160a01b03821660009081526008602052604090205460ff16155b15610f3a57610e928383836116e0565b6001600160a01b03831660009081526008602052604090205460ff168015610f7a57506001600160a01b03821660009081526008602052604090205460ff165b15610f8a57610e92838383611826565b610f958383836116e0565b505050565b600081848411156110295760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fee578181015183820152602001610fd6565b50505050905090810190601f16801561101b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561108b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008061109e836118fc565b116110c1576001600160a01b038216600090815260016020526040902054610589565b6001600160a01b038216600090815260016020526040902054610589906110e7846118fc565b9063ffffffff61103116565b6000808080808080681b1ae4d6e2ef500000808c101561113e57607892506111336127106111278c8663ffffffff61196a16565b9063ffffffff6119c316565b9350600a91506112ef565b808c1015801561115d575061115a81600a63ffffffff61196a16565b8c105b1561118757606e925061117c6127106111278c8663ffffffff61196a16565b9350606491506112ef565b61119881600a63ffffffff61196a16565b8c101580156111b657506111b381603263ffffffff61196a16565b8c105b156111e057606492506111d56127106111278c8663ffffffff61196a16565b9350606e91506112ef565b6111f181603263ffffffff61196a16565b8c1015801561120f575061120c81606463ffffffff61196a16565b8c105b1561123957605a925061122e6127106111278c8663ffffffff61196a16565b9350607891506112ef565b61124a81606463ffffffff61196a16565b8c1015801561126857506112658160c863ffffffff61196a16565b8c105b1561129257604b92506112876127106111278c8663ffffffff61196a16565b9350608291506112ef565b6112a38160c863ffffffff61196a16565b8c106112ce57603292506112c36127106111278c8663ffffffff61196a16565b9350608c91506112ef565b606492506112e86127106111278c8663ffffffff61196a16565b9350600091505b600189151514801561132957506001600160a01b038b1660009081526009602052604090205461132690602d63ffffffff61103116565b43105b1561134c576101f492506113496127106111278c8663ffffffff61196a16565b93505b600061135e8b8663ffffffff61137416565b949d939c50919a50929850909650505050505050565b600061108b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f9a565b6001600160a01b0382166000908152600360205260409020546006546113e19163ffffffff61137416565b6006556001600160a01b03821660009081526001602052604090205461140d908263ffffffff61196a16565b6001600160a01b038316600090815260036020526040902081905560075461144991670de0b6b3a764000091611127919063ffffffff61196a16565b6001600160a01b0383166000908152600260209081526040808320939093556003905220546006546114809163ffffffff61103116565b6006555050565b8061149184611092565b10156114ce5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b2d6026913960400191505060405180910390fd5b60008060006114ec6114e3856110e788611092565b868660016110f3565b9350935050925061150c8461150088611092565b9063ffffffff61137416565b6001600160a01b038716600090815260016020526040902055611532816110e787611092565b6001600160a01b03861660009081526001602052604090205561155585836113b6565b61155e83611a05565b6001600160a01b038086166000818152600960209081526040918290204390558151888152915192938a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050505050565b806115c684611092565b10156116035760405162461bcd60e51b8152600401808060200182810382526026815260200180611b2d6026913960400191505060405180910390fd5b600080600061161d61161487611092565b878660016110f3565b93509350509250611631816110e787611092565b6001600160a01b0386166000908152600160205260409020556116578461150088611092565b6001600160a01b03871660009081526001602052604090205561167a86836113b6565b61168383611a05565b6001600160a01b0380871660008181526009602090815260409182902043905581518881529151938916937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050505050565b806116ea84611092565b10156117275760405162461bcd60e51b8152600401808060200182810382526026815260200180611b2d6026913960400191505060405180910390fd5b600080600061173861161487611092565b93509350509250600061175a611751866110e789611092565b878760006110f3565b509250505061176c826110e788611092565b6001600160a01b0387166000908152600160205260409020556117928561150089611092565b6001600160a01b0388166000908152600160205260409020556117b587846113b6565b6117bf86826113b6565b6117c884611a05565b6001600160a01b0380881660008181526009602090815260409182902043905581518981529151938a16937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350505050505050565b8061183084611092565b101561186d5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b2d6026913960400191505060405180910390fd5b61187a8161150085611092565b6001600160a01b0384166000908152600160205260409020556118a0816110e784611092565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b038116600090815260036020526040812054611920576000610589565b6001600160a01b0382166000908152600260209081526040808320546007546003909352922054610589929161150091670de0b6b3a764000091611127919063ffffffff61196a16565b60008261197957506000610589565b8282028284828161198657fe5b041461108b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611b536021913960400191505060405180910390fd5b600061108b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611a5c565b600554611a18908263ffffffff61103116565b60055560065415611a5957600654611a5590611a469061112784670de0b6b3a764000063ffffffff61196a16565b6007549063ffffffff61103116565b6007555b50565b60008183611aab5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610fee578181015183820152602001610fd6565b506000838581611ab757fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220aa38210b19159a59b3690885a2378ffc15a475bfdb9b0ad3fd90a3f125ef361164736f6c63430006060033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101615760003560e01c8063715018a6116100c857806395d89b411161008c578063d47875d011610066578063d47875d01461043f578063dd62ed3e14610465578063f2fde38b1461049357610161565b806395d89b41146103df578063a457c2d7146103e7578063a9059cbb1461041357610161565b8063715018a61461035f578063726a96f5146103675780638da5cb5b1461038d5780638e0be369146103b15780639471676c146103d757610161565b8063313ce5671161012a578063626e1ae711610104578063626e1ae71461030957806367b1f5df1461031157806370a082311461033957610161565b8063313ce5671461029957806339509351146102b75780633cbeda18146102e357610161565b806236d2d31461016657806306fdde03146101a0578063095ea7b31461021d57806318160ddd1461024957806323b872dd14610263575b600080fd5b61018c6004803603602081101561017c57600080fd5b50356001600160a01b03166104b9565b604080519115158252519081900360200190f35b6101a86104db565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101e25781810151838201526020016101ca565b50505050905090810190601f16801561020f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61018c6004803603604081101561023357600080fd5b506001600160a01b038135169060200135610571565b61025161058f565b60408051918252519081900360200190f35b61018c6004803603606081101561027957600080fd5b506001600160a01b0381358116916020810135909116906040013561059e565b6102a161062b565b6040805160ff9092168252519081900360200190f35b61018c600480360360408110156102cd57600080fd5b506001600160a01b038135169060200135610634565b610251600480360360208110156102f957600080fd5b50356001600160a01b0316610688565b6102516106ac565b6103376004803603602081101561032757600080fd5b50356001600160a01b03166106b2565b005b6102516004803603602081101561034f57600080fd5b50356001600160a01b03166107fe565b610337610847565b6102516004803603602081101561037d57600080fd5b50356001600160a01b0316610908565b610395610923565b604080516001600160a01b039092168252519081900360200190f35b610337600480360360208110156103c757600080fd5b50356001600160a01b0316610932565b610251610a81565b6101a8610a87565b61018c600480360360408110156103fd57600080fd5b506001600160a01b038135169060200135610ae8565b61018c6004803603604081101561042957600080fd5b506001600160a01b038135169060200135610b56565b6102516004803603602081101561045557600080fd5b50356001600160a01b0316610b6a565b6102516004803603604081101561047b57600080fd5b506001600160a01b0381358116916020013516610b85565b610337600480360360208110156104a957600080fd5b50356001600160a01b0316610bb0565b6001600160a01b03811660009081526008602052604090205460ff165b919050565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105675780601f1061053c57610100808354040283529160200191610567565b820191906000526020600020905b81548152906001019060200180831161054a57829003601f168201915b5050505050905090565b600061058561057e610cc7565b8484610ccb565b5060015b92915050565b6a084595161401484a00000090565b60006105ab848484610db7565b610621846105b7610cc7565b61061c85604051806060016040528060288152602001611b74602891396001600160a01b038a166000908152600460205260408120906105f5610cc7565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610f9a16565b610ccb565b5060019392505050565b600c5460ff1690565b6000610585610641610cc7565b8461061c8560046000610652610cc7565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61103116565b6000806106a161069784611092565b84600060016110f3565b509095945050505050565b60055490565b6106ba610cc7565b6000546001600160a01b0390811691161461071c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811660009081526008602052604090205460ff161561078a576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c72656164792065786368616e67650000000000604482015290519081900360640190fd5b61079381611092565b6001600160a01b0382166000908152600160209081526040808320939093556003905220546006546107ca9163ffffffff61137416565b6006556001600160a01b0316600090815260036020908152604080832083905560089091529020805460ff19166001179055565b6001600160a01b03811660009081526008602052604081205460ff161561083e57506001600160a01b0381166000908152600160205260409020546104d6565b61058982611092565b61084f610cc7565b6000546001600160a01b039081169116146108b1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6001600160a01b031660009081526009602052604090205490565b6000546001600160a01b031690565b61093a610cc7565b6000546001600160a01b0390811691161461099c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811660009081526008602052604090205460ff16610a09576040805162461bcd60e51b815260206004820152601460248201527f4163636f756e74206e6f742065786368616e6765000000000000000000000000604482015290519081900360640190fd5b6000610a28610a1783611092565b83610a2185611092565b60006110f3565b5092505050610a3682611092565b6001600160a01b0383166000908152600160205260409020558015610a5f57610a5f82826113b6565b506001600160a01b03166000908152600860205260409020805460ff19169055565b60065490565b600b8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105675780601f1061053c57610100808354040283529160200191610567565b6000610585610af5610cc7565b8461061c85604051806060016040528060258152602001611be56025913960046000610b1f610cc7565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610f9a16565b6000610585610b63610cc7565b8484610db7565b6001600160a01b031660009081526003602052604090205490565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b610bb8610cc7565b6000546001600160a01b03908116911614610c1a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610c5f5760405162461bcd60e51b8152600401808060200182810382526026815260200180611ae56026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b3390565b6001600160a01b038316610d105760405162461bcd60e51b8152600401808060200182810382526024815260200180611bc16024913960400191505060405180910390fd5b6001600160a01b038216610d555760405162461bcd60e51b8152600401808060200182810382526022815260200180611b0b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610dfc5760405162461bcd60e51b8152600401808060200182810382526025815260200180611b9c6025913960400191505060405180910390fd5b6001600160a01b038216610e415760405162461bcd60e51b8152600401808060200182810382526023815260200180611ac26023913960400191505060405180910390fd5b6001600160a01b03831660009081526008602052604090205460ff168015610e8257506001600160a01b03821660009081526008602052604090205460ff16155b15610e9757610e92838383611487565b610f95565b6001600160a01b03831660009081526008602052604090205460ff16158015610ed857506001600160a01b03821660009081526008602052604090205460ff165b15610ee857610e928383836115bc565b6001600160a01b03831660009081526008602052604090205460ff16158015610f2a57506001600160a01b03821660009081526008602052604090205460ff16155b15610f3a57610e928383836116e0565b6001600160a01b03831660009081526008602052604090205460ff168015610f7a57506001600160a01b03821660009081526008602052604090205460ff165b15610f8a57610e92838383611826565b610f958383836116e0565b505050565b600081848411156110295760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fee578181015183820152602001610fd6565b50505050905090810190601f16801561101b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561108b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008061109e836118fc565b116110c1576001600160a01b038216600090815260016020526040902054610589565b6001600160a01b038216600090815260016020526040902054610589906110e7846118fc565b9063ffffffff61103116565b6000808080808080681b1ae4d6e2ef500000808c101561113e57607892506111336127106111278c8663ffffffff61196a16565b9063ffffffff6119c316565b9350600a91506112ef565b808c1015801561115d575061115a81600a63ffffffff61196a16565b8c105b1561118757606e925061117c6127106111278c8663ffffffff61196a16565b9350606491506112ef565b61119881600a63ffffffff61196a16565b8c101580156111b657506111b381603263ffffffff61196a16565b8c105b156111e057606492506111d56127106111278c8663ffffffff61196a16565b9350606e91506112ef565b6111f181603263ffffffff61196a16565b8c1015801561120f575061120c81606463ffffffff61196a16565b8c105b1561123957605a925061122e6127106111278c8663ffffffff61196a16565b9350607891506112ef565b61124a81606463ffffffff61196a16565b8c1015801561126857506112658160c863ffffffff61196a16565b8c105b1561129257604b92506112876127106111278c8663ffffffff61196a16565b9350608291506112ef565b6112a38160c863ffffffff61196a16565b8c106112ce57603292506112c36127106111278c8663ffffffff61196a16565b9350608c91506112ef565b606492506112e86127106111278c8663ffffffff61196a16565b9350600091505b600189151514801561132957506001600160a01b038b1660009081526009602052604090205461132690602d63ffffffff61103116565b43105b1561134c576101f492506113496127106111278c8663ffffffff61196a16565b93505b600061135e8b8663ffffffff61137416565b949d939c50919a50929850909650505050505050565b600061108b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f9a565b6001600160a01b0382166000908152600360205260409020546006546113e19163ffffffff61137416565b6006556001600160a01b03821660009081526001602052604090205461140d908263ffffffff61196a16565b6001600160a01b038316600090815260036020526040902081905560075461144991670de0b6b3a764000091611127919063ffffffff61196a16565b6001600160a01b0383166000908152600260209081526040808320939093556003905220546006546114809163ffffffff61103116565b6006555050565b8061149184611092565b10156114ce5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b2d6026913960400191505060405180910390fd5b60008060006114ec6114e3856110e788611092565b868660016110f3565b9350935050925061150c8461150088611092565b9063ffffffff61137416565b6001600160a01b038716600090815260016020526040902055611532816110e787611092565b6001600160a01b03861660009081526001602052604090205561155585836113b6565b61155e83611a05565b6001600160a01b038086166000818152600960209081526040918290204390558151888152915192938a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050505050565b806115c684611092565b10156116035760405162461bcd60e51b8152600401808060200182810382526026815260200180611b2d6026913960400191505060405180910390fd5b600080600061161d61161487611092565b878660016110f3565b93509350509250611631816110e787611092565b6001600160a01b0386166000908152600160205260409020556116578461150088611092565b6001600160a01b03871660009081526001602052604090205561167a86836113b6565b61168383611a05565b6001600160a01b0380871660008181526009602090815260409182902043905581518881529151938916937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050505050565b806116ea84611092565b10156117275760405162461bcd60e51b8152600401808060200182810382526026815260200180611b2d6026913960400191505060405180910390fd5b600080600061173861161487611092565b93509350509250600061175a611751866110e789611092565b878760006110f3565b509250505061176c826110e788611092565b6001600160a01b0387166000908152600160205260409020556117928561150089611092565b6001600160a01b0388166000908152600160205260409020556117b587846113b6565b6117bf86826113b6565b6117c884611a05565b6001600160a01b0380881660008181526009602090815260409182902043905581518981529151938a16937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350505050505050565b8061183084611092565b101561186d5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b2d6026913960400191505060405180910390fd5b61187a8161150085611092565b6001600160a01b0384166000908152600160205260409020556118a0816110e784611092565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b038116600090815260036020526040812054611920576000610589565b6001600160a01b0382166000908152600260209081526040808320546007546003909352922054610589929161150091670de0b6b3a764000091611127919063ffffffff61196a16565b60008261197957506000610589565b8282028284828161198657fe5b041461108b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611b536021913960400191505060405180910390fd5b600061108b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611a5c565b600554611a18908263ffffffff61103116565b60055560065415611a5957600654611a5590611a469061112784670de0b6b3a764000063ffffffff61196a16565b6007549063ffffffff61103116565b6007555b50565b60008183611aab5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610fee578181015183820152602001610fd6565b506000838581611ab757fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220aa38210b19159a59b3690885a2378ffc15a475bfdb9b0ad3fd90a3f125ef361164736f6c63430006060033
Loading...
Loading
Loading...
Loading
OVERVIEW
A smart token designed to distribute the rewards automatically by applying 1% or less transaction fee.Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $1.41 | 5.4763 | $7.72 |
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.