Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 130 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw Balance... | 18818456 | 808 days ago | IN | 0 ETH | 0.00108663 | ||||
| Withdraw Balance... | 18494275 | 854 days ago | IN | 0 ETH | 0.00039755 | ||||
| Withdraw Balance... | 18135692 | 904 days ago | IN | 0 ETH | 0.00041203 | ||||
| Withdraw Balance... | 16870663 | 1082 days ago | IN | 0 ETH | 0.00076163 | ||||
| Withdraw Balance... | 16700155 | 1106 days ago | IN | 0 ETH | 0.00089112 | ||||
| Withdraw Marketi... | 16699930 | 1106 days ago | IN | 0 ETH | 0.00093313 | ||||
| Withdraw Balance... | 16680977 | 1108 days ago | IN | 0 ETH | 0.00068636 | ||||
| Withdraw Balance... | 16674898 | 1109 days ago | IN | 0 ETH | 0.00087493 | ||||
| Withdraw Balance... | 16674591 | 1109 days ago | IN | 0 ETH | 0.00074048 | ||||
| Withdraw Balance... | 16666988 | 1110 days ago | IN | 0 ETH | 0.00064741 | ||||
| Withdraw Balance... | 16665982 | 1111 days ago | IN | 0 ETH | 0.00074857 | ||||
| Withdraw Balance... | 16657836 | 1112 days ago | IN | 0 ETH | 0.00063761 | ||||
| Withdraw Balance... | 16651520 | 1113 days ago | IN | 0 ETH | 0.00113315 | ||||
| Withdraw Balance... | 16623589 | 1117 days ago | IN | 0 ETH | 0.00130636 | ||||
| Withdraw Balance... | 16284989 | 1164 days ago | IN | 0 ETH | 0.00068547 | ||||
| Withdraw Balance... | 15970888 | 1208 days ago | IN | 0 ETH | 0.00044995 | ||||
| Withdraw Balance... | 15970886 | 1208 days ago | IN | 0 ETH | 0.00064812 | ||||
| Withdraw Balance... | 15962930 | 1209 days ago | IN | 0 ETH | 0.00065304 | ||||
| Withdraw Balance... | 15913836 | 1216 days ago | IN | 0 ETH | 0.00031951 | ||||
| Withdraw Balance... | 15893302 | 1219 days ago | IN | 0 ETH | 0.00045599 | ||||
| Withdraw Balance... | 15624723 | 1256 days ago | IN | 0 ETH | 0.00061026 | ||||
| Withdraw Balance... | 15343202 | 1300 days ago | IN | 0 ETH | 0.00039827 | ||||
| Withdraw Balance... | 15202755 | 1321 days ago | IN | 0 ETH | 0.00023257 | ||||
| Withdraw Balance... | 15141184 | 1331 days ago | IN | 0 ETH | 0.00257148 | ||||
| Withdraw Balance... | 15064936 | 1343 days ago | IN | 0 ETH | 0.00028698 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 16700155 | 1106 days ago | 0.06978908 ETH | ||||
| Transfer | 16699930 | 1106 days ago | 0.4056739 ETH | ||||
| Transfer | 16674898 | 1109 days ago | 0.02235007 ETH | ||||
| Transfer | 16674591 | 1109 days ago | 0.02501519 ETH | ||||
| Transfer | 16671379 | 1110 days ago | 0.11175038 ETH | ||||
| Transfer | 16666988 | 1110 days ago | 0.01269779 ETH | ||||
| Transfer | 16665982 | 1111 days ago | 0.16898735 ETH | ||||
| Transfer | 16664194 | 1111 days ago | 0.05514512 ETH | ||||
| Transfer | 16660604 | 1111 days ago | 0.00834384 ETH | ||||
| Transfer | 16657836 | 1112 days ago | 0.00184316 ETH | ||||
| Transfer | 16657831 | 1112 days ago | 0.0092158 ETH | ||||
| Transfer | 16651520 | 1113 days ago | 0.03771348 ETH | ||||
| Transfer | 16651359 | 1113 days ago | 0.02508021 ETH | ||||
| Transfer | 16644551 | 1114 days ago | 0.04061659 ETH | ||||
| Transfer | 16623589 | 1117 days ago | 0.00347956 ETH | ||||
| Transfer | 16599005 | 1120 days ago | 0.01706631 ETH | ||||
| Transfer | 16389119 | 1149 days ago | 0.01772937 ETH | ||||
| Transfer | 16284989 | 1164 days ago | 0.01084479 ETH | ||||
| Transfer | 16264383 | 1167 days ago | 0.00721384 ETH | ||||
| Transfer | 16176532 | 1179 days ago | 0.00917338 ETH | ||||
| Transfer | 16176070 | 1179 days ago | 0.01673633 ETH | ||||
| Transfer | 16120600 | 1187 days ago | 0.01320515 ETH | ||||
| Transfer | 16099716 | 1190 days ago | 0.01992089 ETH | ||||
| Transfer | 16005343 | 1203 days ago | 0.02182529 ETH | ||||
| Transfer | 15970886 | 1208 days ago | 0.01631574 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PaymentContract
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.12;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
contract PaymentContract is AccessControl {
using SafeMath for uint256;
string public name = "Cino Payment Contract";
address public owner;
uint256 public decimals = 10 ** 18;
// list of addresses for owners and marketing wallet
address[] private owners = [0xB3BEB19190DbfDaf17782A656210A9D5DbC84BB3, 0xe10E9a58B3139Fe0EE67EbF18C27D0C41aE0668C, 0x7b43DCC7c7DaF141F83D5e902C66cE7C01aC5Bdf, 0xdA3DFBb438340516AeC7E55e87Ea92b00e5290B9];
address private marketing = 0x638a49da4955D4fb575a98224C6D16B37a550183;
uint256 private totalPercent = 100;
mapping (address => uint256 ) public shares;
// mapping will allow us to create a relationship of investor to their current remaining balance
mapping( address => uint256 ) public _currentBalance;
uint256 public marketingWalletPortion = 40;
uint256 public shareholdersPercentage = totalPercent.sub(marketingWalletPortion);
uint256 public individualShareholderPercent = shareholdersPercentage.div(3);
event MarketingWalletPercentageChanged( uint256 newPercentage);
event EtherReceived(address from, uint256 amount);
bytes32 public constant OWNERS = keccak256("OWNERS");
bytes32 public constant MARKETING = keccak256("MARKETING");
constructor () public {
owner = msg.sender;
_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
_setupRole(OWNERS, owners[0]);
_setupRole(OWNERS, owners[1]);
_setupRole(OWNERS, owners[2]);
_setupRole(OWNERS, owners[3]);
_setupRole(MARKETING, marketing);
for(uint256 i=0; i < owners.length; i++){
if(owners[i] == owners[0] || owners[i] == owners[1]){
shares[owners[i]] = 4;
} else if (owners[i] == owners[2] || owners[i] == owners[3]){
shares[owners[i]] = 2;
}
}
}
receive() external payable {
uint256 ethSent = msg.value;
uint256 marketingShare = (ethSent * marketingWalletPortion) / 100;
uint256 leftOver = ethSent.sub(marketingShare);
uint256 shareholdersShare = leftOver.div(12);
for(uint256 i=0; i < owners.length; i++){
_currentBalance[owners[i]] = _currentBalance[owners[i]].add(shareholdersShare.mul(shares[owners[i]]));
}
_currentBalance[marketing] = _currentBalance[marketing].add(marketingShare);
emit EtherReceived(msg.sender, msg.value);
}
function updateMarketingPercentage(uint256 newMarketingCut) public {
if( hasRole(OWNERS, msg.sender) == true) {
if(newMarketingCut <= 40){
marketingWalletPortion = newMarketingCut;
shareholdersPercentage = totalPercent.sub(marketingWalletPortion);
individualShareholderPercent = shareholdersPercentage.div(3);
emit MarketingWalletPercentageChanged(newMarketingCut);
}
}
}
function withdrawBalanceOwner() public {
if(_currentBalance[msg.sender] > 0){
uint256 amountToPay = _currentBalance[msg.sender];
address payable withdrawee;
if(hasRole(OWNERS, msg.sender)){
_currentBalance[msg.sender] = _currentBalance[msg.sender].sub(amountToPay);
withdrawee = payable(msg.sender);
withdrawee.transfer(amountToPay);
}
}
}
function checkBalance() external view returns (uint256 balance){
return _currentBalance[msg.sender];
}
function checkTotalBalance() external view returns (uint256 totalBalance) {
if(hasRole(OWNERS, msg.sender) || hasRole(MARKETING, msg.sender)){
return address(this).balance;
}
}
function withdrawMarketing() public {
if(hasRole(MARKETING, msg.sender)){
uint256 amountToPay = _currentBalance[msg.sender];
if(amountToPay > 0){
_currentBalance[msg.sender] = _currentBalance[msg.sender].sub(amountToPay);
address payable marketingPayable = payable(marketing);
marketingPayable.transfer(amountToPay);
}
}
}
function updateMarketingWalletAddress(address newAddress) public {
if(hasRole(DEFAULT_ADMIN_ROLE, msg.sender)){
address oldAddress = marketing;
if(newAddress != oldAddress){
revokeRole(MARKETING, marketing);
grantRole(MARKETING, newAddress);
marketing = newAddress;
_currentBalance[newAddress] = _currentBalance[oldAddress];
_currentBalance[oldAddress] = 0;
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard 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, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
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) {
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) {
// 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) {
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) {
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) {
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) {
require(b <= a, "SafeMath: subtraction overflow");
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) {
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, reverting 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) {
require(b > 0, "SafeMath: division by zero");
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) {
require(b > 0, "SafeMath: modulo by zero");
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) {
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.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryDiv}.
*
* 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);
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) {
require(b > 0, errorMessage);
return a % b;
}
}// SPDX-License-Identifier: MIT
pragma solidity >= 0.6.0 < 0.8.0;
import "../utils/EnumerableSet.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context {
using EnumerableSet for EnumerableSet.AddressSet;
using Address for address;
struct RoleData {
EnumerableSet.AddressSet members;
bytes32 adminRole;
}
mapping (bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view returns (bool) {
return _roles[role].members.contains(account);
}
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) public view returns (uint256) {
return _roles[role].members.length();
}
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
return _roles[role].members.at(index);
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual {
require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual {
require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
_roles[role].adminRole = adminRole;
}
function _grantRole(bytes32 role, address account) private {
if (_roles[role].members.add(account)) {
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (_roles[role].members.remove(account)) {
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: MIT
pragma solidity >= 0.6.0 < 0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
* and `uint256` (`UintSet`) are supported.
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping (bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) { // Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
// When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
// so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.
bytes32 lastvalue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastvalue;
// Update the index for the moved value
set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
require(set._values.length > index, "EnumerableSet: index out of bounds");
return set._values[index];
}
// Bytes32Set
struct Bytes32Set {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _add(set._inner, value);
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _remove(set._inner, value);
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
return _contains(set._inner, value);
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(Bytes32Set storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
return _at(set._inner, index);
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint160(uint256(_at(set._inner, index))));
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <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;
// 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");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(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");
// solhint-disable-next-line avoid-low-level-calls
(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");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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
// 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 <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 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;
}
}{
"optimizer": {
"enabled": false,
"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[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EtherReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"MarketingWalletPercentageChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MARKETING","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNERS","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_currentBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkTotalBalance","outputs":[{"internalType":"uint256","name":"totalBalance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"individualShareholderPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWalletPortion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shareholdersPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMarketingCut","type":"uint256"}],"name":"updateMarketingPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateMarketingWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawBalanceOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMarketing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60806040526040518060400160405280601581526020017f43696e6f205061796d656e7420436f6e74726163740000000000000000000000815250600190805190602001906200005192919062000aff565b50670de0b6b3a7640000600355604051806080016040528073b3beb19190dbfdaf17782a656210a9d5dbc84bb373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173e10e9a58b3139fe0ee67ebf18c27d0c41ae0668c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001737b43dcc7c7daf141f83d5e902c66ce7c01ac5bdf73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173da3dfbb438340516aec7e55e87ea92b00e5290b973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525060049060046200019192919062000b86565b5073638a49da4955d4fb575a98224c6d16b37a550183600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606460065560286009556200020f6009546006546200085a60201b62000ae41790919060201c565b600a556200022f6003600a54620008de60201b62000b671790919060201c565b600b553480156200023f57600080fd5b5033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620002966000801b336200096960201b60201c565b620003017f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f6004600081548110620002ca57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200096960201b60201c565b6200036c7f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f60046001815481106200033557fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200096960201b60201c565b620003d77f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f6004600281548110620003a057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200096960201b60201c565b620004427f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f60046003815481106200040b57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200096960201b60201c565b620004967f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a5600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200096960201b60201c565b60005b60048054905081101562000853576004600081548110620004b657fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600482815481106200050557fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480620005ef575060046001815481106200055d57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660048281548110620005ac57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b156200067857600460076000600484815481106200060957fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555062000845565b60046002815481106200068757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660048281548110620006d657fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480620007c0575060046003815481106200072e57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600482815481106200077d57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b15620008445760026007600060048481548110620007da57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b808060010191505062000499565b5062000c71565b600082821115620008d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080821162000956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816200096057fe5b04905092915050565b6200097b82826200097f60201b60201c565b5050565b620009ad8160008085815260200190815260200160002060000162000a2260201b620017321790919060201c565b1562000a1e57620009c362000a5a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600062000a52836000018373ffffffffffffffffffffffffffffffffffffffff1660001b62000a6260201b60201c565b905092915050565b600033905090565b600062000a76838362000adc60201b60201c565b62000ad157826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000ad6565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000b4257805160ff191683800117855562000b73565b8280016001018555821562000b73579182015b8281111562000b7257825182559160200191906001019062000b55565b5b50905062000b82919062000c15565b5090565b82805482825590600052602060002090810192821562000c02579160200282015b8281111562000c015782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000ba7565b5b50905062000c11919062000c34565b5090565b5b8082111562000c3057600081600090555060010162000c16565b5090565b5b8082111562000c6d57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010162000c35565b5090565b611c358062000c816000396000f3fe60806040526004361061014f5760003560e01c80639b5ac3ee116100b6578063ce7c2ac21161006f578063ce7c2ac214610968578063d3626077146109cd578063d547741f14610a08578063d801b70d14610a63578063e530a7d014610a8e578063fe9882da14610ab957610478565b80639b5ac3ee14610856578063a217fddf14610881578063a4b34ffd146108ac578063c2e65e42146108d7578063c71daccb146108ee578063ca15c8731461091957610478565b80635cf4f865116101085780635cf4f86514610668578063702789921461067f5780638da5cb5b146106e45780639010d07c1461072557806391d1485414610794578063969e24d81461080557610478565b806306fdde031461047d578063248a9ca31461050d5780632a9078d61461055c5780632f2ff15d14610587578063313ce567146105e257806336568abe1461060d57610478565b366104785760003490506000606460095483028161016957fe5b04905060006101818284610ae490919063ffffffff16565b90506000610199600c83610b6790919063ffffffff16565b905060005b600480549050811015610343576102bc61023760076000600485815481106101c257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610bf090919063ffffffff16565b600860006004858154811061024857fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c7690919063ffffffff16565b60086000600484815481106102cd57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808060010191505061019e565b506103b88360086000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c7690919063ffffffff16565b60086000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b3334604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150505050005b600080fd5b34801561048957600080fd5b50610492610cfe565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104d25780820151818401526020810190506104b7565b50505050905090810190601f1680156104ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561051957600080fd5b506105466004803603602081101561053057600080fd5b8101908080359060200190929190505050610d9c565b6040518082815260200191505060405180910390f35b34801561056857600080fd5b50610571610dbb565b6040518082815260200191505060405180910390f35b34801561059357600080fd5b506105e0600480360360408110156105aa57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ddf565b005b3480156105ee57600080fd5b506105f7610e68565b6040518082815260200191505060405180910390f35b34801561061957600080fd5b506106666004803603604081101561063057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e6e565b005b34801561067457600080fd5b5061067d610f07565b005b34801561068b57600080fd5b506106ce600480360360208110156106a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061108c565b6040518082815260200191505060405180910390f35b3480156106f057600080fd5b506106f96110a4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561073157600080fd5b506107686004803603604081101561074857600080fd5b8101908080359060200190929190803590602001909291905050506110ca565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156107a057600080fd5b506107ed600480360360408110156107b757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110fb565b60405180821515815260200191505060405180910390f35b34801561081157600080fd5b506108546004803603602081101561082857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061112c565b005b34801561086257600080fd5b5061086b61131d565b6040518082815260200191505060405180910390f35b34801561088d57600080fd5b50610896611323565b6040518082815260200191505060405180910390f35b3480156108b857600080fd5b506108c161132a565b6040518082815260200191505060405180910390f35b3480156108e357600080fd5b506108ec611330565b005b3480156108fa57600080fd5b506109036114d2565b6040518082815260200191505060405180910390f35b34801561092557600080fd5b506109526004803603602081101561093c57600080fd5b8101908080359060200190929190505050611519565b6040518082815260200191505060405180910390f35b34801561097457600080fd5b506109b76004803603602081101561098b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061153f565b6040518082815260200191505060405180910390f35b3480156109d957600080fd5b50610a06600480360360208110156109f057600080fd5b8101908080359060200190929190505050611557565b005b348015610a1457600080fd5b50610a6160048036036040811015610a2b57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611611565b005b348015610a6f57600080fd5b50610a7861169a565b6040518082815260200191505060405180910390f35b348015610a9a57600080fd5b50610aa36116a0565b6040518082815260200191505060405180910390f35b348015610ac557600080fd5b50610ace6116c4565b6040518082815260200191505060405180910390f35b600082821115610b5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000808211610bde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381610be757fe5b04905092915050565b600080831415610c035760009050610c70565b6000828402905082848281610c1457fe5b0414610c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611bb06021913960400191505060405180910390fd5b809150505b92915050565b600080828401905083811015610cf4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d945780601f10610d6957610100808354040283529160200191610d94565b820191906000526020600020905b815481529060010190602001808311610d7757829003601f168201915b505050505081565b6000806000838152602001908152602001600020600201549050919050565b7f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f81565b610e0560008084815260200190815260200160002060020154610e00611762565b6110fb565b610e5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180611b51602f913960400191505060405180910390fd5b610e64828261176a565b5050565b60035481565b610e76611762565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ef9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180611bd1602f913960400191505060405180910390fd5b610f0382826117fd565b5050565b610f317f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a5336110fb565b1561108a576000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081111561108857610fd581600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ae490919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611085573d6000803e3d6000fd5b50505b505b565b60086020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006110f38260008086815260200190815260200160002060000161189090919063ffffffff16565b905092915050565b6000611124826000808681526020019081526020016000206000016118aa90919063ffffffff16565b905092915050565b6111396000801b336110fb565b1561131a576000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611318576111e47f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a5600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611611565b61120e7f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a583610ddf565b81600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b505b50565b60095481565b6000801b81565b600a5481565b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156114d0576000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006113e87f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f336110fb565b156114cd5761143f82600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ae490919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503390508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156114cb573d6000803e3d6000fd5b505b50505b565b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60006115386000808481526020019081526020016000206000016118da565b9050919050565b60076020528060005260406000206000915090505481565b600115156115857f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f336110fb565b1515141561160e576028811161160d57806009819055506115b3600954600654610ae490919063ffffffff16565b600a819055506115cf6003600a54610b6790919063ffffffff16565b600b819055507f287f7db84de26e34c025d1c227b26e235b8806917d6e01c34a363c60a668b82a816040518082815260200191505060405180910390a15b5b50565b61163760008084815260200190815260200160002060020154611632611762565b6110fb565b61168c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180611b806030913960400191505060405180910390fd5b61169682826117fd565b5050565b600b5481565b7f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a581565b60006116f07f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f336110fb565b8061172157506117207f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a5336110fb565b5b1561172e5747905061172f565b5b90565b600061175a836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6118ef565b905092915050565b600033905090565b6117918160008085815260200190815260200160002060000161173290919063ffffffff16565b156117f95761179e611762565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6118248160008085815260200190815260200160002060000161195f90919063ffffffff16565b1561188c57611831611762565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600061189f836000018361198f565b60001c905092915050565b60006118d2836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611a12565b905092915050565b60006118e882600001611a35565b9050919050565b60006118fb8383611a12565b611954578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611959565b600090505b92915050565b6000611987836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611a46565b905092915050565b6000818360000180549050116119f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611b2f6022913960400191505060405180910390fd5b8260000182815481106119ff57fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b60008083600101600084815260200190815260200160002054905060008114611b225760006001820390506000600186600001805490500390506000866000018281548110611a9157fe5b9060005260206000200154905080876000018481548110611aae57fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480611ae657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611b28565b60009150505b9291505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220672ed2993e7973cd2682289dc9f18d6eb68640e2efedc1a89e5ff7593a9917fc64736f6c634300060c0033
Deployed Bytecode
0x60806040526004361061014f5760003560e01c80639b5ac3ee116100b6578063ce7c2ac21161006f578063ce7c2ac214610968578063d3626077146109cd578063d547741f14610a08578063d801b70d14610a63578063e530a7d014610a8e578063fe9882da14610ab957610478565b80639b5ac3ee14610856578063a217fddf14610881578063a4b34ffd146108ac578063c2e65e42146108d7578063c71daccb146108ee578063ca15c8731461091957610478565b80635cf4f865116101085780635cf4f86514610668578063702789921461067f5780638da5cb5b146106e45780639010d07c1461072557806391d1485414610794578063969e24d81461080557610478565b806306fdde031461047d578063248a9ca31461050d5780632a9078d61461055c5780632f2ff15d14610587578063313ce567146105e257806336568abe1461060d57610478565b366104785760003490506000606460095483028161016957fe5b04905060006101818284610ae490919063ffffffff16565b90506000610199600c83610b6790919063ffffffff16565b905060005b600480549050811015610343576102bc61023760076000600485815481106101c257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610bf090919063ffffffff16565b600860006004858154811061024857fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c7690919063ffffffff16565b60086000600484815481106102cd57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808060010191505061019e565b506103b88360086000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c7690919063ffffffff16565b60086000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b3334604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150505050005b600080fd5b34801561048957600080fd5b50610492610cfe565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104d25780820151818401526020810190506104b7565b50505050905090810190601f1680156104ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561051957600080fd5b506105466004803603602081101561053057600080fd5b8101908080359060200190929190505050610d9c565b6040518082815260200191505060405180910390f35b34801561056857600080fd5b50610571610dbb565b6040518082815260200191505060405180910390f35b34801561059357600080fd5b506105e0600480360360408110156105aa57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ddf565b005b3480156105ee57600080fd5b506105f7610e68565b6040518082815260200191505060405180910390f35b34801561061957600080fd5b506106666004803603604081101561063057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e6e565b005b34801561067457600080fd5b5061067d610f07565b005b34801561068b57600080fd5b506106ce600480360360208110156106a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061108c565b6040518082815260200191505060405180910390f35b3480156106f057600080fd5b506106f96110a4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561073157600080fd5b506107686004803603604081101561074857600080fd5b8101908080359060200190929190803590602001909291905050506110ca565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156107a057600080fd5b506107ed600480360360408110156107b757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110fb565b60405180821515815260200191505060405180910390f35b34801561081157600080fd5b506108546004803603602081101561082857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061112c565b005b34801561086257600080fd5b5061086b61131d565b6040518082815260200191505060405180910390f35b34801561088d57600080fd5b50610896611323565b6040518082815260200191505060405180910390f35b3480156108b857600080fd5b506108c161132a565b6040518082815260200191505060405180910390f35b3480156108e357600080fd5b506108ec611330565b005b3480156108fa57600080fd5b506109036114d2565b6040518082815260200191505060405180910390f35b34801561092557600080fd5b506109526004803603602081101561093c57600080fd5b8101908080359060200190929190505050611519565b6040518082815260200191505060405180910390f35b34801561097457600080fd5b506109b76004803603602081101561098b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061153f565b6040518082815260200191505060405180910390f35b3480156109d957600080fd5b50610a06600480360360208110156109f057600080fd5b8101908080359060200190929190505050611557565b005b348015610a1457600080fd5b50610a6160048036036040811015610a2b57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611611565b005b348015610a6f57600080fd5b50610a7861169a565b6040518082815260200191505060405180910390f35b348015610a9a57600080fd5b50610aa36116a0565b6040518082815260200191505060405180910390f35b348015610ac557600080fd5b50610ace6116c4565b6040518082815260200191505060405180910390f35b600082821115610b5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000808211610bde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381610be757fe5b04905092915050565b600080831415610c035760009050610c70565b6000828402905082848281610c1457fe5b0414610c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611bb06021913960400191505060405180910390fd5b809150505b92915050565b600080828401905083811015610cf4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d945780601f10610d6957610100808354040283529160200191610d94565b820191906000526020600020905b815481529060010190602001808311610d7757829003601f168201915b505050505081565b6000806000838152602001908152602001600020600201549050919050565b7f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f81565b610e0560008084815260200190815260200160002060020154610e00611762565b6110fb565b610e5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180611b51602f913960400191505060405180910390fd5b610e64828261176a565b5050565b60035481565b610e76611762565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ef9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180611bd1602f913960400191505060405180910390fd5b610f0382826117fd565b5050565b610f317f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a5336110fb565b1561108a576000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081111561108857610fd581600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ae490919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611085573d6000803e3d6000fd5b50505b505b565b60086020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006110f38260008086815260200190815260200160002060000161189090919063ffffffff16565b905092915050565b6000611124826000808681526020019081526020016000206000016118aa90919063ffffffff16565b905092915050565b6111396000801b336110fb565b1561131a576000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611318576111e47f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a5600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611611565b61120e7f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a583610ddf565b81600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b505b50565b60095481565b6000801b81565b600a5481565b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156114d0576000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060006113e87f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f336110fb565b156114cd5761143f82600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ae490919063ffffffff16565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503390508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156114cb573d6000803e3d6000fd5b505b50505b565b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60006115386000808481526020019081526020016000206000016118da565b9050919050565b60076020528060005260406000206000915090505481565b600115156115857f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f336110fb565b1515141561160e576028811161160d57806009819055506115b3600954600654610ae490919063ffffffff16565b600a819055506115cf6003600a54610b6790919063ffffffff16565b600b819055507f287f7db84de26e34c025d1c227b26e235b8806917d6e01c34a363c60a668b82a816040518082815260200191505060405180910390a15b5b50565b61163760008084815260200190815260200160002060020154611632611762565b6110fb565b61168c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180611b806030913960400191505060405180910390fd5b61169682826117fd565b5050565b600b5481565b7f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a581565b60006116f07f442e70e83397770c9f1520820e5555e76d9d4f0a415d9c72548c8daac6944e1f336110fb565b8061172157506117207f40dcdde54fce2b4da56afd2611356f44203c8f196ff812f0012760468fe766a5336110fb565b5b1561172e5747905061172f565b5b90565b600061175a836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6118ef565b905092915050565b600033905090565b6117918160008085815260200190815260200160002060000161173290919063ffffffff16565b156117f95761179e611762565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6118248160008085815260200190815260200160002060000161195f90919063ffffffff16565b1561188c57611831611762565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600061189f836000018361198f565b60001c905092915050565b60006118d2836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611a12565b905092915050565b60006118e882600001611a35565b9050919050565b60006118fb8383611a12565b611954578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611959565b600090505b92915050565b6000611987836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611a46565b905092915050565b6000818360000180549050116119f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611b2f6022913960400191505060405180910390fd5b8260000182815481106119ff57fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b60008083600101600084815260200190815260200160002054905060008114611b225760006001820390506000600186600001805490500390506000866000018281548110611a9157fe5b9060005260206000200154905080876000018481548110611aae57fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480611ae657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611b28565b60009150505b9291505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220672ed2993e7973cd2682289dc9f18d6eb68640e2efedc1a89e5ff7593a9917fc64736f6c634300060c0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$44.26
Net Worth in ETH
0.02235
Token Allocations
ETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $1,980.14 | 0.0224 | $44.26 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.