Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 53 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Cancel Order | 13651273 | 1574 days ago | IN | 0 ETH | 0.0031558 | ||||
| Cancel Order | 13651273 | 1574 days ago | IN | 0 ETH | 0.00360061 | ||||
| Cancel Order | 13651273 | 1574 days ago | IN | 0 ETH | 0.00360061 | ||||
| Cancel Order | 13651273 | 1574 days ago | IN | 0 ETH | 0.00359654 | ||||
| Cancel Order | 13651273 | 1574 days ago | IN | 0 ETH | 0.00324113 | ||||
| Cancel Order | 13651231 | 1574 days ago | IN | 0 ETH | 0.00293507 | ||||
| Cancel Order | 13651229 | 1574 days ago | IN | 0 ETH | 0.00348343 | ||||
| Cancel Order | 13651218 | 1574 days ago | IN | 0 ETH | 0.00348969 | ||||
| Cancel Order | 13651212 | 1574 days ago | IN | 0 ETH | 0.00370899 | ||||
| Execute Order | 13376854 | 1617 days ago | IN | 0 ETH | 0.02258465 | ||||
| Create Order | 13336255 | 1623 days ago | IN | 0 ETH | 0.00705976 | ||||
| Create Order | 13336255 | 1623 days ago | IN | 0 ETH | 0.00648099 | ||||
| Create Order | 13336255 | 1623 days ago | IN | 0 ETH | 0.00577326 | ||||
| Create Order | 13336255 | 1623 days ago | IN | 0 ETH | 0.00512997 | ||||
| Create Order | 13336255 | 1623 days ago | IN | 0 ETH | 0.00483994 | ||||
| Create Order | 13336106 | 1623 days ago | IN | 0 ETH | 0.00539091 | ||||
| Create Order | 13336104 | 1623 days ago | IN | 0 ETH | 0.00563392 | ||||
| Create Order | 13336104 | 1623 days ago | IN | 0 ETH | 0.00541401 | ||||
| Create Order | 13336079 | 1623 days ago | IN | 0 ETH | 0.00537207 | ||||
| Execute Order | 13327495 | 1625 days ago | IN | 0 ETH | 0.01864322 | ||||
| Execute Order | 13321850 | 1626 days ago | IN | 0 ETH | 0.01707077 | ||||
| Execute Order | 13308778 | 1628 days ago | IN | 0 ETH | 0.01452588 | ||||
| Execute Order | 13246975 | 1637 days ago | IN | 0 ETH | 0.00893516 | ||||
| Execute Order | 13246778 | 1637 days ago | IN | 0 ETH | 0.00867315 | ||||
| Execute Order | 13234241 | 1639 days ago | IN | 0 ETH | 0.01002712 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Marketplace
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-07-01
*/
// File: @openzeppelin/contracts/math/SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
/**
* @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;
}
}
// File: @openzeppelin/contracts/utils/Address.sol
pragma solidity ^0.7.6;
/**
* @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);
}
}
}
}
// File: contracts/marketplace/MarketplaceStorage.sol
pragma solidity ^0.7.6;
/**
* @title Interface for contracts conforming to ERC-20
*/
interface ERC20Interface {
function transferFrom(address from, address to, uint tokens) external returns (bool success);
}
/**
* @title Interface for contracts conforming to ERC-721
*/
interface ERC721Interface {
function ownerOf(uint256 _tokenId) external view returns (address _owner);
function approve(address _to, uint256 _tokenId) external;
function getApproved(uint256 _tokenId) external view returns (address);
function isApprovedForAll(address _owner, address _operator) external view returns (bool);
function safeTransferFrom(address _from, address _to, uint256 _tokenId) external;
function supportsInterface(bytes4) external view returns (bool);
}
interface ERC721Verifiable is ERC721Interface {
function verifyFingerprint(uint256, bytes memory) external view returns (bool);
}
contract MarketplaceStorage {
using Address for address;
ERC20Interface public immutable acceptedToken;
constructor(address _acceptedToken){
require(_acceptedToken.isContract(), "The accepted token address must be a deployed contract");
acceptedToken = ERC20Interface(_acceptedToken);
}
struct Order {
// Order ID
bytes32 id;
// Owner of the NFT
address seller;
// NFT registry address
address nftAddress;
// Price (in wei) for the published item
uint256 price;
// Time when this sale ends
uint256 expiresAt;
}
// From ERC721 registry assetId to Order (to avoid asset collision)
mapping (address => mapping(uint256 => Order)) public orderByAssetId;
uint256 public ownerCutPerMillion;
uint256 public publicationFeeInWei;
uint256 public transactionFeePerMillion;
bytes4 public constant InterfaceId_ValidateFingerprint = bytes4(
keccak256("verifyFingerprint(uint256,bytes)")
);
bytes4 public constant ERC721_Interface = bytes4(0x80ac58cd);
// EVENTS
event OrderCreated(
bytes32 id,
uint256 indexed assetId,
address indexed seller,
address nftAddress,
uint256 priceInWei,
uint256 expiresAt
);
event OrderSuccessful(
bytes32 id,
uint256 indexed assetId,
address indexed seller,
address nftAddress,
uint256 totalPrice,
address indexed buyer
);
event OrderCancelled(
bytes32 id,
uint256 indexed assetId,
address indexed seller,
address nftAddress
);
event ChangedPublicationFee(uint256 publicationFee);
event ChangedTransactionFeePerMillion(uint256 transactionFeePerMillion);
event ChangedOwnerCutPerMillion(uint256 ownerCutPerMillion);
event SpayMining(
bytes32 id,
uint256 indexed assetId,
address indexed seller,
address indexed buyer,
address nftAddress,
uint256 priceInWei,
uint256 minedSpay
);
}
// File: contracts/commons/ContextMixin.sol
pragma solidity ^0.7.6;
contract ContextMixin {
function _msgSender()
internal
view
returns (address sender)
{
if (msg.sender == address(this)) {
bytes memory array = msg.data;
uint256 index = msg.data.length;
assembly {
// Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
sender := and(
mload(add(array, index)),
0xffffffffffffffffffffffffffffffffffffffff
)
}
} else {
sender = msg.sender;
}
return sender;
}
}
// File: contracts/commons/Ownable.sol
pragma solidity ^0.7.6;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is ContextMixin {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() external 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;
}
}
// File: contracts/commons/Pausable.sol
pragma solidity ^0.7.6;
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is ContextMixin {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor () {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(paused(), "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// File: contracts/commons/EIP712Base.sol
pragma solidity ^0.7.6;
contract EIP712Base {
struct EIP712Domain {
string name;
string version;
address verifyingContract;
bytes32 salt;
}
bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
bytes(
"EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
)
);
bytes32 public domainSeparator;
// supposed to be called once while initializing.
// one of the contractsa that inherits this contract follows proxy pattern
// so it is not possible to do this in a constructor
function _initializeEIP712(
string memory name,
string memory version
)
internal
{
domainSeparator = keccak256(
abi.encode(
EIP712_DOMAIN_TYPEHASH,
keccak256(bytes(name)),
keccak256(bytes(version)),
address(this),
bytes32(getChainId())
)
);
}
function getChainId() public view virtual returns (uint256) {
uint256 id;
assembly {
id := chainid()
}
return id;
}
/**
* Accept message hash and returns hash message in EIP712 compatible form
* So that it can be used to recover signer from signature signed using EIP712 formatted data
* https://eips.ethereum.org/EIPS/eip-712
* "\\x19" makes the encoding deterministic
* "\\x01" is the version byte to make it compatible to EIP-191
*/
function toTypedMessageHash(bytes32 messageHash)
internal
view
returns (bytes32)
{
return
keccak256(
abi.encodePacked("\x19\x01", domainSeparator, messageHash)
);
}
}
// File: contracts/commons/NativeMetaTransaction.sol
pragma solidity ^0.7.6;
contract NativeMetaTransaction is EIP712Base {
bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
bytes(
"MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
)
);
event MetaTransactionExecuted(
address userAddress,
address relayerAddress,
bytes functionSignature
);
mapping(address => uint256) nonces;
/*
* Meta transaction structure.
* No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
* He should call the desired function directly in that case.
*/
struct MetaTransaction {
uint256 nonce;
address from;
bytes functionSignature;
}
function executeMetaTransaction(
address userAddress,
bytes memory functionSignature,
bytes32 sigR,
bytes32 sigS,
uint8 sigV
) external payable returns (bytes memory) {
MetaTransaction memory metaTx = MetaTransaction({
nonce: nonces[userAddress],
from: userAddress,
functionSignature: functionSignature
});
require(
verify(userAddress, metaTx, sigR, sigS, sigV),
"NMT#executeMetaTransaction: SIGNER_AND_SIGNATURE_DO_NOT_MATCH"
);
// increase nonce for user (to avoid re-use)
nonces[userAddress] = nonces[userAddress] + 1;
emit MetaTransactionExecuted(
userAddress,
msg.sender,
functionSignature
);
// Append userAddress and relayer address at the end to extract it from calling context
(bool success, bytes memory returnData) = address(this).call(
abi.encodePacked(functionSignature, userAddress)
);
require(success, "NMT#executeMetaTransaction: CALL_FAILED");
return returnData;
}
function hashMetaTransaction(MetaTransaction memory metaTx)
internal
pure
returns (bytes32)
{
return
keccak256(
abi.encode(
META_TRANSACTION_TYPEHASH,
metaTx.nonce,
metaTx.from,
keccak256(metaTx.functionSignature)
)
);
}
function getNonce(address user) external view returns (uint256 nonce) {
nonce = nonces[user];
}
function verify(
address signer,
MetaTransaction memory metaTx,
bytes32 sigR,
bytes32 sigS,
uint8 sigV
) internal view returns (bool) {
require(signer != address(0), "NMT#verify: INVALID_SIGNER");
return
signer ==
ecrecover(
toTypedMessageHash(hashMetaTransaction(metaTx)),
sigV,
sigR,
sigS
);
}
}
// File: contracts/marketplace/Marketplace.sol
pragma solidity ^0.7.6;
contract Marketplace is Ownable, Pausable, MarketplaceStorage, NativeMetaTransaction {
using SafeMath for uint256;
using Address for address;
address immutable sellerAddress;
/**
* @dev Initialize this contract. Acts as a constructor
* @param _acceptedToken - Address of the ERC20 accepted for this marketplace
* @param _ownerCutPerMillion - owner cut per million
*/
constructor (
address _acceptedToken,
uint256 _ownerCutPerMillion,
address _owner,
address _seller
) MarketplaceStorage( _acceptedToken)
{
// EIP712 init
_initializeEIP712('SpaceY Marketplace', '1');
// Fee init
setOwnerCutPerMillion(_ownerCutPerMillion);
require(_owner != address(0), "Invalid owner");
transferOwnership(_owner);
require(_seller != address(0), "Invalid seller");
sellerAddress = _seller;
}
/**
* @dev Sets the publication fee that's charged to users to publish items
* @param _publicationFee - Fee amount in wei this contract charges to publish an item
*/
function setPublicationFee(uint256 _publicationFee) external onlyOwner {
publicationFeeInWei = _publicationFee;
emit ChangedPublicationFee(publicationFeeInWei);
}
function setTransactionFeePerMillion(uint256 _transactionFeePerMillion) external onlyOwner {
require(_transactionFeePerMillion < 1000000, "The transaction fee should be between 0 and 999,999");
transactionFeePerMillion = _transactionFeePerMillion;
emit ChangedTransactionFeePerMillion(transactionFeePerMillion);
}
/**
* @dev Sets the share cut for the owner of the contract that's
* charged to the seller on a successful sale
* @param _ownerCutPerMillion - Share amount, from 0 to 999,999
*/
function setOwnerCutPerMillion(uint256 _ownerCutPerMillion) public onlyOwner {
require(_ownerCutPerMillion < 1000000, "The owner cut should be between 0 and 999,999");
ownerCutPerMillion = _ownerCutPerMillion;
emit ChangedOwnerCutPerMillion(ownerCutPerMillion);
}
/**
* @dev Creates a new order
* @param nftAddress - Non fungible registry address
* @param assetId - ID of the published NFT
* @param priceInWei - Price in Wei for the supported coin
* @param expiresAt - Duration of the order (in hours)
*/
function createOrder(
address nftAddress,
uint256 assetId,
uint256 priceInWei,
uint256 expiresAt
)
external
whenNotPaused
{
_createOrder(
nftAddress,
assetId,
priceInWei,
expiresAt
);
}
/**
* @dev Cancel an already published order
* can only be canceled by seller or the contract owner
* @param nftAddress - Address of the NFT registry
* @param assetId - ID of the published NFT
*/
function cancelOrder(address nftAddress, uint256 assetId) external whenNotPaused {
_cancelOrder(nftAddress, assetId);
}
/**
* @dev Executes the sale for a published NFT and checks for the asset fingerprint
* @param nftAddress - Address of the NFT registry
* @param assetId - ID of the published NFT
* @param price - Order price
* @param fingerprint - Verification info for the asset
*/
function safeExecuteOrder(
address nftAddress,
uint256 assetId,
uint256 price,
bytes memory fingerprint
)
external
whenNotPaused
{
_executeOrder(
nftAddress,
assetId,
price,
fingerprint
);
}
/**
* @dev Executes the sale for a published NFT
* @param nftAddress - Address of the NFT registry
* @param assetId - ID of the published NFT
* @param price - Order price
*/
function executeOrder(
address nftAddress,
uint256 assetId,
uint256 price
)
external
whenNotPaused
{
_executeOrder(
nftAddress,
assetId,
price,
""
);
}
/**
* @dev Creates a new order
* @param nftAddress - Non fungible registry address
* @param assetId - ID of the published NFT
* @param priceInWei - Price in Wei for the supported coin
* @param expiresAt - Duration of the order (in hours)
*/
function _createOrder(
address nftAddress,
uint256 assetId,
uint256 priceInWei,
uint256 expiresAt
)
internal
{
_requireERC721(nftAddress);
address sender = _msgSender();
ERC721Interface nftRegistry = ERC721Interface(nftAddress);
address assetOwner = nftRegistry.ownerOf(assetId);
require(sender == assetOwner, "Only the owner can create orders");
require(
nftRegistry.getApproved(assetId) == address(this) || nftRegistry.isApprovedForAll(assetOwner, address(this)),
"The contract is not authorized to manage the asset"
);
require(priceInWei > 0, "Price should be bigger than 0");
require(expiresAt > block.timestamp.add(1 minutes), "Publication should be more than 1 minute in the future");
bytes32 orderId = keccak256(
abi.encodePacked(
block.timestamp,
assetOwner,
assetId,
nftAddress,
priceInWei
)
);
orderByAssetId[nftAddress][assetId] = Order({
id: orderId,
seller: assetOwner,
nftAddress: nftAddress,
price: priceInWei,
expiresAt: expiresAt
});
// Check if there's a publication fee and
// transfer the amount to marketplace owner
if (publicationFeeInWei > 0) {
require(
acceptedToken.transferFrom(sender, owner(), publicationFeeInWei),
"Transfering the publication fee to the Marketplace owner failed"
);
}
emit OrderCreated(
orderId,
assetId,
assetOwner,
nftAddress,
priceInWei,
expiresAt
);
}
/**
* @dev Cancel an already published order
* can only be canceled by seller or the contract owner
* @param nftAddress - Address of the NFT registry
* @param assetId - ID of the published NFT
*/
function _cancelOrder(address nftAddress, uint256 assetId) internal returns (Order memory) {
address sender = _msgSender();
Order memory order = orderByAssetId[nftAddress][assetId];
require(order.id != 0, "Asset not published");
require(order.seller == sender || sender == owner(), "Unauthorized user");
bytes32 orderId = order.id;
address orderSeller = order.seller;
address orderNftAddress = order.nftAddress;
delete orderByAssetId[nftAddress][assetId];
emit OrderCancelled(
orderId,
assetId,
orderSeller,
orderNftAddress
);
return order;
}
/**
* @dev Executes the sale for a published NFT
* @param nftAddress - Address of the NFT registry
* @param assetId - ID of the published NFT
* @param price - Order price
* @param fingerprint - Verification info for the asset
*/
function _executeOrder(
address nftAddress,
uint256 assetId,
uint256 price,
bytes memory fingerprint
)
internal returns (Order memory)
{
_requireERC721(nftAddress);
address sender = _msgSender();
ERC721Verifiable nftRegistry = ERC721Verifiable(nftAddress);
if (nftRegistry.supportsInterface(InterfaceId_ValidateFingerprint)) {
require(
nftRegistry.verifyFingerprint(assetId, fingerprint),
"The asset fingerprint is not valid"
);
}
Order memory order = orderByAssetId[nftAddress][assetId];
require(order.id != 0, "Asset not published");
address seller = order.seller;
require(seller != address(0), "Invalid address");
require(seller != sender, "Unauthorized user");
require(order.price == price, "The price is not correct");
require(block.timestamp < order.expiresAt, "The order expired");
require(seller == nftRegistry.ownerOf(assetId), "The seller is no longer the owner");
uint mineShareAmount = 0;
bytes32 orderId = order.id;
delete orderByAssetId[nftAddress][assetId];
if (ownerCutPerMillion > 0 && seller == sellerAddress) {
// Calculate sale share
mineShareAmount = price.mul(ownerCutPerMillion).div(1000000);
emit SpayMining(
orderId,
assetId,
seller,
sender,
nftAddress,
price,
mineShareAmount
);
}
if (transactionFeePerMillion >0 && seller != sellerAddress){
mineShareAmount=price.mul(transactionFeePerMillion).div(1000000);
//Transfer transaction fee amount to owner
require(
acceptedToken.transferFrom(sender, owner(), mineShareAmount),
"Transfering the sale amount to the owner failed"
);
price-=mineShareAmount;
//now use mineShareAmount as mineShareAmount
mineShareAmount = mineShareAmount.mul(ownerCutPerMillion).div(1000000);
emit SpayMining(
orderId,
assetId,
seller,
sender,
nftAddress,
price,
mineShareAmount
);
}
// Transfer sale amount to seller
require(
acceptedToken.transferFrom(sender, seller, price),
"Transfering the sale amount to the seller failed"
);
// Transfer asset owner
nftRegistry.safeTransferFrom(
seller,
sender,
assetId
);
emit OrderSuccessful(
orderId,
assetId,
seller,
nftAddress,
price,
sender
);
return order;
}
function _requireERC721(address nftAddress) internal view {
require(nftAddress.isContract(), "The NFT Address should be a contract");
ERC721Interface nftRegistry = ERC721Interface(nftAddress);
require(
nftRegistry.supportsInterface(ERC721_Interface),
"The NFT contract has an invalid ERC721 implementation"
);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_acceptedToken","type":"address"},{"internalType":"uint256","name":"_ownerCutPerMillion","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_seller","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"ownerCutPerMillion","type":"uint256"}],"name":"ChangedOwnerCutPerMillion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"publicationFee","type":"uint256"}],"name":"ChangedPublicationFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"transactionFeePerMillion","type":"uint256"}],"name":"ChangedTransactionFeePerMillion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"assetId","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"}],"name":"OrderCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"assetId","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"priceInWei","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expiresAt","type":"uint256"}],"name":"OrderCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"assetId","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalPrice","type":"uint256"},{"indexed":true,"internalType":"address","name":"buyer","type":"address"}],"name":"OrderSuccessful","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"assetId","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"priceInWei","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minedSpay","type":"uint256"}],"name":"SpayMining","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ERC721_Interface","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"InterfaceId_ValidateFingerprint","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptedToken","outputs":[{"internalType":"contract ERC20Interface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"assetId","type":"uint256"}],"name":"cancelOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"assetId","type":"uint256"},{"internalType":"uint256","name":"priceInWei","type":"uint256"},{"internalType":"uint256","name":"expiresAt","type":"uint256"}],"name":"createOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"domainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"assetId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"executeOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"orderByAssetId","outputs":[{"internalType":"bytes32","name":"id","type":"bytes32"},{"internalType":"address","name":"seller","type":"address"},{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"expiresAt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerCutPerMillion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicationFeeInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"},{"internalType":"uint256","name":"assetId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bytes","name":"fingerprint","type":"bytes"}],"name":"safeExecuteOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ownerCutPerMillion","type":"uint256"}],"name":"setOwnerCutPerMillion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicationFee","type":"uint256"}],"name":"setPublicationFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_transactionFeePerMillion","type":"uint256"}],"name":"setTransactionFeePerMillion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transactionFeePerMillion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60c06040523480156200001157600080fd5b506040516200456038038062004560833981810160405260808110156200003757600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190505050836000620000796200041360201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff0219169083151502179055506200015d8173ffffffffffffffffffffffffffffffffffffffff16620004c660201b620017b81760201c565b620001b4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180620044886036913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050620002686040518060400160405280601281526020017f537061636559204d61726b6574706c61636500000000000000000000000000008152506040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250620004d960201b60201c565b62000279836200058060201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200031d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f496e76616c6964206f776e65720000000000000000000000000000000000000081525060200191505060405180910390fd5b6200032e82620006e060201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620003d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f496e76616c69642073656c6c657200000000000000000000000000000000000081525060200191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505050506200091b565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620004bf57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620004c3565b3390505b90565b600080823b905060008111915050919050565b6040518060800160405280604f8152602001620044e4604f91398051906020012082805190602001208280519060200120306200051b620008e560201b60201c565b60001b604051602001808681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200195505050505050604051602081830303815290604052805190602001206005819055505050565b620005906200041360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005b6620008f260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000640576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b620f424081106200069d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018062004533602d913960400191505060405180910390fd5b806002819055507ffa406a120a9e7f2b332bfb7a43d3bf1c3f079262202907a6b69c94b2821a02c66002546040518082815260200191505060405180910390a150565b620006f06200041360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000716620008f260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620007a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000828576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180620044be6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000804690508091505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60805160601c60a05160601c613b2f6200095960003980612d6c5280612e8f525080610ee352806123965280612f11528061311d5250613b2f6000f3fe6080604052600436106101355760003560e01c80636f652e1a116100ab578063ae4f11981161006f578063ae4f11981461072b578063ae7b033314610756578063af8996f1146107bb578063e61f3851146107f6578063f2fde38b146108ad578063f698da25146108fe57610135565b80636f652e1a1461053d578063715018a6146105ac5780638da5cb5b146105c35780639b214f7714610604578063a01f79d41461070057610135565b80633408e470116100fd5780633408e470146103c457806337f82f37146103ef578063451c3d80146104395780635952fee51461047a5780635c975abb146104b55780636a206137146104e257610135565b80630c53c51c1461013a57806319dad16d146102af5780632b08f1af146102ea5780632b4c32be146103155780632d0335ab1461035f575b600080fd5b610234600480360360a081101561015057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561018d57600080fd5b82018360208201111561019f57600080fd5b803590602001918460018302840111640100000000831117156101c157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019092919080359060200190929190803560ff169060200190929190505050610929565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610274578082015181840152602081019050610259565b50505050905090810190601f1680156102a15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102bb57600080fd5b506102e8600480360360208110156102d257600080fd5b8101908080359060200190929190505050610d09565b005b3480156102f657600080fd5b506102ff610e56565b6040518082815260200191505060405180910390f35b34801561032157600080fd5b5061032a610e5c565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b34801561036b57600080fd5b506103ae6004803603602081101561038257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e67565b6040518082815260200191505060405180910390f35b3480156103d057600080fd5b506103d9610eb0565b6040518082815260200191505060405180910390f35b3480156103fb57600080fd5b50610404610ebd565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b34801561044557600080fd5b5061044e610ee1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561048657600080fd5b506104b36004803603602081101561049d57600080fd5b8101908080359060200190929190505050610f05565b005b3480156104c157600080fd5b506104ca611052565b60405180821515815260200191505060405180910390f35b3480156104ee57600080fd5b5061053b6004803603604081101561050557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611068565b005b34801561054957600080fd5b506105aa6004803603608081101561056057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001909291905050506110f2565b005b3480156105b857600080fd5b506105c161117f565b005b3480156105cf57600080fd5b506105d86112ec565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561061057600080fd5b506106fe6004803603608081101561062757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019064010000000081111561067857600080fd5b82018360208201111561068a57600080fd5b803590602001918460018302840111640100000000831117156106ac57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611315565b005b34801561070c57600080fd5b506107156113a3565b6040518082815260200191505060405180910390f35b34801561073757600080fd5b506107406113a9565b6040518082815260200191505060405180910390f35b34801561076257600080fd5b506107b96004803603606081101561077957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291905050506113af565b005b3480156107c757600080fd5b506107f4600480360360208110156107de57600080fd5b810190808035906020019092919050505061144b565b005b34801561080257600080fd5b5061084f6004803603604081101561081957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061153d565b604051808681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019550505050505060405180910390f35b3480156108b957600080fd5b506108fc600480360360208110156108d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115c0565b005b34801561090a57600080fd5b506109136117b2565b6040518082815260200191505060405180910390f35b606060006040518060600160405280600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781525090506109ac87828787876117cb565b610a01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d81526020018061394c603d913960400191505060405180910390fd5b6001600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b23578082015181840152602081019050610b08565b50505050905090810190601f168015610b505780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a6040516020018083805190602001908083835b60208310610bb15780518252602082019150602081019050602083039250610b8e565b6001836020036101000a0380198251168184511680821785525050505050509050018273ffffffffffffffffffffffffffffffffffffffff1660601b8152601401925050506040516020818303038152906040526040518082805190602001908083835b60208310610c385780518252602082019150602081019050602083039250610c15565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610c9a576040519150601f19603f3d011682016040523d82523d6000602084013e610c9f565b606091505b509150915081610cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180613a2b6027913960400191505060405180910390fd5b80935050505095945050505050565b610d1161191c565b73ffffffffffffffffffffffffffffffffffffffff16610d2f6112ec565b73ffffffffffffffffffffffffffffffffffffffff1614610db8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b620f42408110610e13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d8152602001806139dd602d913960400191505060405180910390fd5b806002819055507ffa406a120a9e7f2b332bfb7a43d3bf1c3f079262202907a6b69c94b2821a02c66002546040518082815260200191505060405180910390a150565b60045481565b6380ac58cd60e01b81565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000804690508091505090565b7f8f9f4b63fb27ea36c52c6e650320201c8f2c6d7c1dfa95f40f5d5da52392016881565b7f000000000000000000000000000000000000000000000000000000000000000081565b610f0d61191c565b73ffffffffffffffffffffffffffffffffffffffff16610f2b6112ec565b73ffffffffffffffffffffffffffffffffffffffff1614610fb4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b620f4240811061100f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180613a526033913960400191505060405180910390fd5b806004819055507f6ea75f53e23fd3f3148bf80d201cd100fe807d78211b5bd66319c2a0477773896004546040518082815260200191505060405180910390a150565b60008060149054906101000a900460ff16905090565b611070611052565b156110e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6110ed82826119cd565b505050565b6110fa611052565b1561116d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b61117984848484611db8565b50505050565b61118761191c565b73ffffffffffffffffffffffffffffffffffffffff166111a56112ec565b73ffffffffffffffffffffffffffffffffffffffff161461122e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61131d611052565b15611390576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b61139c84848484612564565b5050505050565b60025481565b60035481565b6113b7611052565b1561142a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b61144583838360405180602001604052806000815250612564565b50505050565b61145361191c565b73ffffffffffffffffffffffffffffffffffffffff166114716112ec565b73ffffffffffffffffffffffffffffffffffffffff16146114fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806003819055507fe7fa8737293f41b5dfa0d5c3e552860a06275bed7015581b083c7be7003308ba6003546040518082815260200191505060405180910390a150565b6001602052816000526040600020602052806000526040600020600091509150508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030154908060040154905085565b6115c861191c565b73ffffffffffffffffffffffffffffffffffffffff166115e66112ec565b73ffffffffffffffffffffffffffffffffffffffff161461166f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061387c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60055481565b600080823b905060008111915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561186f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4e4d54237665726966793a20494e56414c49445f5349474e455200000000000081525060200191505060405180910390fd5b600161188261187d8761339e565b61342e565b83868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa1580156118d9573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156119c657600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506119ca565b3390505b90565b6119d56137ab565b60006119df61191c565b90506000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000206040518060a0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815260200160048201548152505090506000801b81600001511415611b87576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4173736574206e6f74207075626c69736865640000000000000000000000000081525060200191505060405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff161480611bf75750611bc86112ec565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b611c69576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f556e617574686f72697a6564207573657200000000000000000000000000000081525060200191505060405180910390fd5b600081600001519050600082602001519050600083604001519050600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008881526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556003820160009055600482016000905550508173ffffffffffffffffffffffffffffffffffffffff16877f0325426328de5b91ae4ad8462ad4076de4bcaf4551e81556185cacde5a425c6b8584604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a3839550505050505092915050565b611dc184613490565b6000611dcb61191c565b9050600085905060008173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611e2557600080fd5b505afa158015611e39573d6000803e3d6000fd5b505050506040513d6020811015611e4f57600080fd5b810190808051906020019092919050505090508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611f03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f6e6c7920746865206f776e65722063616e20637265617465206f726465727381525060200191505060405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1663081812fc886040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611f6b57600080fd5b505afa158015611f7f573d6000803e3d6000fd5b505050506040513d6020811015611f9557600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff16148061208457508173ffffffffffffffffffffffffffffffffffffffff1663e985e9c582306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561204857600080fd5b505afa15801561205c573d6000803e3d6000fd5b505050506040513d602081101561207257600080fd5b81019080805190602001909291905050505b6120d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806139896032913960400191505060405180910390fd5b6000851161214f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f50726963652073686f756c6420626520626967676572207468616e203000000081525060200191505060405180910390fd5b612163603c4261361490919063ffffffff16565b84116121ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806138a26036913960400191505060405180910390fd5b60004282888a89604051602001808681526020018573ffffffffffffffffffffffffffffffffffffffff1660601b81526014018481526020018373ffffffffffffffffffffffffffffffffffffffff1660601b8152601401828152602001955050505050506040516020818303038152906040528051906020012090506040518060a001604052808281526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff16815260200187815260200186815250600160008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008981526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506060820151816003015560808201518160040155905050600060035411156124dd577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd856123d96112ec565b6003546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561244c57600080fd5b505af1158015612460573d6000803e3d6000fd5b505050506040513d602081101561247657600080fd5b81019080805190602001909291905050506124dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f8152602001806138d8603f913960400191505060405180910390fd5b5b8173ffffffffffffffffffffffffffffffffffffffff16877f84c66c3f7ba4b390e20e8e8233e2a516f3ce34a72749e4f12bd010dfba238039838b8a8a604051808581526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200194505050505060405180910390a35050505050505050565b61256c6137ab565b61257585613490565b600061257f61191c565b905060008690508073ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f8f9f4b63fb27ea36c52c6e650320201c8f2c6d7c1dfa95f40f5d5da5239201686040518263ffffffff1660e01b815260040180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060206040518083038186803b15801561261657600080fd5b505afa15801561262a573d6000803e3d6000fd5b505050506040513d602081101561264057600080fd5b8101908080519060200190929190505050156127a5578073ffffffffffffffffffffffffffffffffffffffff16638f9f4b6387866040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156126c95780820151818401526020810190506126ae565b50505050905090810190601f1680156126f65780820380516001836020036101000a031916815260200191505b50935050505060206040518083038186803b15801561271457600080fd5b505afa158015612728573d6000803e3d6000fd5b505050506040513d602081101561273e57600080fd5b81019080805190602001909291905050506127a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806139bb6022913960400191505060405180910390fd5b5b6000600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008881526020019081526020016000206040518060a0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815260200160048201548152505090506000801b8160000151141561294b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4173736574206e6f74207075626c69736865640000000000000000000000000081525060200191505060405180910390fd5b600081602001519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f496e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f556e617574686f72697a6564207573657200000000000000000000000000000081525060200191505060405180910390fd5b86826060015114612b12576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f546865207072696365206973206e6f7420636f7272656374000000000000000081525060200191505060405180910390fd5b81608001514210612b8b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f546865206f72646572206578706972656400000000000000000000000000000081525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16636352211e896040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612bdc57600080fd5b505afa158015612bf0573d6000803e3d6000fd5b505050506040513d6020811015612c0657600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613ad96021913960400191505060405180910390fd5b60008083600001519050600160008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008b81526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556003820160009055600482016000905550506000600254118015612dba57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b15612e8057612de9620f4240612ddb6002548c61369c90919063ffffffff16565b61372290919063ffffffff16565b91508573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168b7f5baa156b6be117f373c22d667acf56562fccd5a677982979b7d80776a87336d6848f8e88604051808581526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200194505050505060405180910390a45b6000600454118015612ede57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b1561311b57612f0d620f4240612eff6004548c61369c90919063ffffffff16565b61372290919063ffffffff16565b91507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd87612f546112ec565b856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015612fc557600080fd5b505af1158015612fd9573d6000803e3d6000fd5b505050506040513d6020811015612fef57600080fd5b8101908080519060200190929190505050613055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061380a602f913960400191505060405180910390fd5b8189039850613084620f42406130766002548561369c90919063ffffffff16565b61372290919063ffffffff16565b91508573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168b7f5baa156b6be117f373c22d667acf56562fccd5a677982979b7d80776a87336d6848f8e88604051808581526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200194505050505060405180910390a45b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd87858c6040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156131ca57600080fd5b505af11580156131de573d6000803e3d6000fd5b505050506040513d60208110156131f457600080fd5b810190808051906020019092919050505061325a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613aa96030913960400191505060405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff166342842e0e84888d6040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156132e957600080fd5b505af11580156132fd573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168b7f695ec315e8a642a74d450a4505eeea53df699b47a7378c7d752e97d5b16eb9bb848f8e604051808481526020018373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a4839650505050505050949350505050565b6000604051806080016040528060438152602001613839604391398051906020012082600001518360200151846040015180519060200120604051602001808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001945050505050604051602081830303815290604052805190602001209050919050565b60006005548260405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b6134af8173ffffffffffffffffffffffffffffffffffffffff166117b8565b613504576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613a856024913960400191505060405180910390fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff166301ffc9a76380ac58cd60e01b6040518263ffffffff1660e01b815260040180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060206040518083038186803b15801561358057600080fd5b505afa158015613594573d6000803e3d6000fd5b505050506040513d60208110156135aa57600080fd5b8101908080519060200190929190505050613610576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806139176035913960400191505060405180910390fd5b5050565b600080828401905083811015613692576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000808314156136af576000905061371c565b60008284029050828482816136c057fe5b0414613717576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613a0a6021913960400191505060405180910390fd5b809150505b92915050565b6000808211613799576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816137a257fe5b04905092915050565b6040518060a0016040528060008019168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152509056fe5472616e73666572696e67207468652073616c6520616d6f756e7420746f20746865206f776e6572206661696c65644d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735075626c69636174696f6e2073686f756c64206265206d6f7265207468616e2031206d696e75746520696e20746865206675747572655472616e73666572696e6720746865207075626c69636174696f6e2066656520746f20746865204d61726b6574706c616365206f776e6572206661696c6564546865204e465420636f6e74726163742068617320616e20696e76616c69642045524337323120696d706c656d656e746174696f6e4e4d5423657865637574654d6574615472616e73616374696f6e3a205349474e45525f414e445f5349474e41545552455f444f5f4e4f545f4d4154434854686520636f6e7472616374206973206e6f7420617574686f72697a656420746f206d616e616765207468652061737365745468652061737365742066696e6765727072696e74206973206e6f742076616c6964546865206f776e6572206375742073686f756c64206265206265747765656e203020616e64203939392c393939536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774e4d5423657865637574654d6574615472616e73616374696f6e3a2043414c4c5f4641494c4544546865207472616e73616374696f6e206665652073686f756c64206265206265747765656e203020616e64203939392c393939546865204e465420416464726573732073686f756c64206265206120636f6e74726163745472616e73666572696e67207468652073616c6520616d6f756e7420746f207468652073656c6c6572206661696c65645468652073656c6c6572206973206e6f206c6f6e67657220746865206f776e6572a2646970667358221220c582c9fd0344a28939b2d053c57cb294a55af9405901040b04745a9da9cfef2564736f6c6343000706003354686520616363657074656420746f6b656e2061646472657373206d7573742062652061206465706c6f79656420636f6e74726163744f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429546865206f776e6572206375742073686f756c64206265206265747765656e203020616e64203939392c39393900000000000000000000000058fad9e3c3ae54c9ba98c3f0e4bf88ab3e8cf3c500000000000000000000000000000000000000000000000000000000000186a00000000000000000000000007e307e41b6d31b8591145bd9625e3d1bcab55d950000000000000000000000007e307e41b6d31b8591145bd9625e3d1bcab55d95
Deployed Bytecode
0x6080604052600436106101355760003560e01c80636f652e1a116100ab578063ae4f11981161006f578063ae4f11981461072b578063ae7b033314610756578063af8996f1146107bb578063e61f3851146107f6578063f2fde38b146108ad578063f698da25146108fe57610135565b80636f652e1a1461053d578063715018a6146105ac5780638da5cb5b146105c35780639b214f7714610604578063a01f79d41461070057610135565b80633408e470116100fd5780633408e470146103c457806337f82f37146103ef578063451c3d80146104395780635952fee51461047a5780635c975abb146104b55780636a206137146104e257610135565b80630c53c51c1461013a57806319dad16d146102af5780632b08f1af146102ea5780632b4c32be146103155780632d0335ab1461035f575b600080fd5b610234600480360360a081101561015057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561018d57600080fd5b82018360208201111561019f57600080fd5b803590602001918460018302840111640100000000831117156101c157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019092919080359060200190929190803560ff169060200190929190505050610929565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610274578082015181840152602081019050610259565b50505050905090810190601f1680156102a15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102bb57600080fd5b506102e8600480360360208110156102d257600080fd5b8101908080359060200190929190505050610d09565b005b3480156102f657600080fd5b506102ff610e56565b6040518082815260200191505060405180910390f35b34801561032157600080fd5b5061032a610e5c565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b34801561036b57600080fd5b506103ae6004803603602081101561038257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e67565b6040518082815260200191505060405180910390f35b3480156103d057600080fd5b506103d9610eb0565b6040518082815260200191505060405180910390f35b3480156103fb57600080fd5b50610404610ebd565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b34801561044557600080fd5b5061044e610ee1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561048657600080fd5b506104b36004803603602081101561049d57600080fd5b8101908080359060200190929190505050610f05565b005b3480156104c157600080fd5b506104ca611052565b60405180821515815260200191505060405180910390f35b3480156104ee57600080fd5b5061053b6004803603604081101561050557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611068565b005b34801561054957600080fd5b506105aa6004803603608081101561056057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001909291905050506110f2565b005b3480156105b857600080fd5b506105c161117f565b005b3480156105cf57600080fd5b506105d86112ec565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561061057600080fd5b506106fe6004803603608081101561062757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019064010000000081111561067857600080fd5b82018360208201111561068a57600080fd5b803590602001918460018302840111640100000000831117156106ac57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611315565b005b34801561070c57600080fd5b506107156113a3565b6040518082815260200191505060405180910390f35b34801561073757600080fd5b506107406113a9565b6040518082815260200191505060405180910390f35b34801561076257600080fd5b506107b96004803603606081101561077957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291905050506113af565b005b3480156107c757600080fd5b506107f4600480360360208110156107de57600080fd5b810190808035906020019092919050505061144b565b005b34801561080257600080fd5b5061084f6004803603604081101561081957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061153d565b604051808681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019550505050505060405180910390f35b3480156108b957600080fd5b506108fc600480360360208110156108d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115c0565b005b34801561090a57600080fd5b506109136117b2565b6040518082815260200191505060405180910390f35b606060006040518060600160405280600660008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781525090506109ac87828787876117cb565b610a01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d81526020018061394c603d913960400191505060405180910390fd5b6001600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401600660008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b23578082015181840152602081019050610b08565b50505050905090810190601f168015610b505780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a6040516020018083805190602001908083835b60208310610bb15780518252602082019150602081019050602083039250610b8e565b6001836020036101000a0380198251168184511680821785525050505050509050018273ffffffffffffffffffffffffffffffffffffffff1660601b8152601401925050506040516020818303038152906040526040518082805190602001908083835b60208310610c385780518252602082019150602081019050602083039250610c15565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610c9a576040519150601f19603f3d011682016040523d82523d6000602084013e610c9f565b606091505b509150915081610cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180613a2b6027913960400191505060405180910390fd5b80935050505095945050505050565b610d1161191c565b73ffffffffffffffffffffffffffffffffffffffff16610d2f6112ec565b73ffffffffffffffffffffffffffffffffffffffff1614610db8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b620f42408110610e13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d8152602001806139dd602d913960400191505060405180910390fd5b806002819055507ffa406a120a9e7f2b332bfb7a43d3bf1c3f079262202907a6b69c94b2821a02c66002546040518082815260200191505060405180910390a150565b60045481565b6380ac58cd60e01b81565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000804690508091505090565b7f8f9f4b63fb27ea36c52c6e650320201c8f2c6d7c1dfa95f40f5d5da52392016881565b7f00000000000000000000000058fad9e3c3ae54c9ba98c3f0e4bf88ab3e8cf3c581565b610f0d61191c565b73ffffffffffffffffffffffffffffffffffffffff16610f2b6112ec565b73ffffffffffffffffffffffffffffffffffffffff1614610fb4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b620f4240811061100f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180613a526033913960400191505060405180910390fd5b806004819055507f6ea75f53e23fd3f3148bf80d201cd100fe807d78211b5bd66319c2a0477773896004546040518082815260200191505060405180910390a150565b60008060149054906101000a900460ff16905090565b611070611052565b156110e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6110ed82826119cd565b505050565b6110fa611052565b1561116d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b61117984848484611db8565b50505050565b61118761191c565b73ffffffffffffffffffffffffffffffffffffffff166111a56112ec565b73ffffffffffffffffffffffffffffffffffffffff161461122e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61131d611052565b15611390576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b61139c84848484612564565b5050505050565b60025481565b60035481565b6113b7611052565b1561142a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b61144583838360405180602001604052806000815250612564565b50505050565b61145361191c565b73ffffffffffffffffffffffffffffffffffffffff166114716112ec565b73ffffffffffffffffffffffffffffffffffffffff16146114fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806003819055507fe7fa8737293f41b5dfa0d5c3e552860a06275bed7015581b083c7be7003308ba6003546040518082815260200191505060405180910390a150565b6001602052816000526040600020602052806000526040600020600091509150508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030154908060040154905085565b6115c861191c565b73ffffffffffffffffffffffffffffffffffffffff166115e66112ec565b73ffffffffffffffffffffffffffffffffffffffff161461166f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061387c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60055481565b600080823b905060008111915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561186f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4e4d54237665726966793a20494e56414c49445f5349474e455200000000000081525060200191505060405180910390fd5b600161188261187d8761339e565b61342e565b83868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa1580156118d9573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156119c657600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506119ca565b3390505b90565b6119d56137ab565b60006119df61191c565b90506000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000206040518060a0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815260200160048201548152505090506000801b81600001511415611b87576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4173736574206e6f74207075626c69736865640000000000000000000000000081525060200191505060405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff161480611bf75750611bc86112ec565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b611c69576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f556e617574686f72697a6564207573657200000000000000000000000000000081525060200191505060405180910390fd5b600081600001519050600082602001519050600083604001519050600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008881526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556003820160009055600482016000905550508173ffffffffffffffffffffffffffffffffffffffff16877f0325426328de5b91ae4ad8462ad4076de4bcaf4551e81556185cacde5a425c6b8584604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a3839550505050505092915050565b611dc184613490565b6000611dcb61191c565b9050600085905060008173ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611e2557600080fd5b505afa158015611e39573d6000803e3d6000fd5b505050506040513d6020811015611e4f57600080fd5b810190808051906020019092919050505090508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611f03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f6e6c7920746865206f776e65722063616e20637265617465206f726465727381525060200191505060405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1663081812fc886040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611f6b57600080fd5b505afa158015611f7f573d6000803e3d6000fd5b505050506040513d6020811015611f9557600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff16148061208457508173ffffffffffffffffffffffffffffffffffffffff1663e985e9c582306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561204857600080fd5b505afa15801561205c573d6000803e3d6000fd5b505050506040513d602081101561207257600080fd5b81019080805190602001909291905050505b6120d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806139896032913960400191505060405180910390fd5b6000851161214f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f50726963652073686f756c6420626520626967676572207468616e203000000081525060200191505060405180910390fd5b612163603c4261361490919063ffffffff16565b84116121ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806138a26036913960400191505060405180910390fd5b60004282888a89604051602001808681526020018573ffffffffffffffffffffffffffffffffffffffff1660601b81526014018481526020018373ffffffffffffffffffffffffffffffffffffffff1660601b8152601401828152602001955050505050506040516020818303038152906040528051906020012090506040518060a001604052808281526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff16815260200187815260200186815250600160008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008981526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506060820151816003015560808201518160040155905050600060035411156124dd577f00000000000000000000000058fad9e3c3ae54c9ba98c3f0e4bf88ab3e8cf3c573ffffffffffffffffffffffffffffffffffffffff166323b872dd856123d96112ec565b6003546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561244c57600080fd5b505af1158015612460573d6000803e3d6000fd5b505050506040513d602081101561247657600080fd5b81019080805190602001909291905050506124dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f8152602001806138d8603f913960400191505060405180910390fd5b5b8173ffffffffffffffffffffffffffffffffffffffff16877f84c66c3f7ba4b390e20e8e8233e2a516f3ce34a72749e4f12bd010dfba238039838b8a8a604051808581526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200194505050505060405180910390a35050505050505050565b61256c6137ab565b61257585613490565b600061257f61191c565b905060008690508073ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f8f9f4b63fb27ea36c52c6e650320201c8f2c6d7c1dfa95f40f5d5da5239201686040518263ffffffff1660e01b815260040180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060206040518083038186803b15801561261657600080fd5b505afa15801561262a573d6000803e3d6000fd5b505050506040513d602081101561264057600080fd5b8101908080519060200190929190505050156127a5578073ffffffffffffffffffffffffffffffffffffffff16638f9f4b6387866040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156126c95780820151818401526020810190506126ae565b50505050905090810190601f1680156126f65780820380516001836020036101000a031916815260200191505b50935050505060206040518083038186803b15801561271457600080fd5b505afa158015612728573d6000803e3d6000fd5b505050506040513d602081101561273e57600080fd5b81019080805190602001909291905050506127a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806139bb6022913960400191505060405180910390fd5b5b6000600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008881526020019081526020016000206040518060a0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815260200160048201548152505090506000801b8160000151141561294b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4173736574206e6f74207075626c69736865640000000000000000000000000081525060200191505060405180910390fd5b600081602001519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f496e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f556e617574686f72697a6564207573657200000000000000000000000000000081525060200191505060405180910390fd5b86826060015114612b12576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f546865207072696365206973206e6f7420636f7272656374000000000000000081525060200191505060405180910390fd5b81608001514210612b8b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f546865206f72646572206578706972656400000000000000000000000000000081525060200191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16636352211e896040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612bdc57600080fd5b505afa158015612bf0573d6000803e3d6000fd5b505050506040513d6020811015612c0657600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613ad96021913960400191505060405180910390fd5b60008083600001519050600160008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008b81526020019081526020016000206000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556003820160009055600482016000905550506000600254118015612dba57507f0000000000000000000000007e307e41b6d31b8591145bd9625e3d1bcab55d9573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b15612e8057612de9620f4240612ddb6002548c61369c90919063ffffffff16565b61372290919063ffffffff16565b91508573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168b7f5baa156b6be117f373c22d667acf56562fccd5a677982979b7d80776a87336d6848f8e88604051808581526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200194505050505060405180910390a45b6000600454118015612ede57507f0000000000000000000000007e307e41b6d31b8591145bd9625e3d1bcab55d9573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b1561311b57612f0d620f4240612eff6004548c61369c90919063ffffffff16565b61372290919063ffffffff16565b91507f00000000000000000000000058fad9e3c3ae54c9ba98c3f0e4bf88ab3e8cf3c573ffffffffffffffffffffffffffffffffffffffff166323b872dd87612f546112ec565b856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015612fc557600080fd5b505af1158015612fd9573d6000803e3d6000fd5b505050506040513d6020811015612fef57600080fd5b8101908080519060200190929190505050613055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061380a602f913960400191505060405180910390fd5b8189039850613084620f42406130766002548561369c90919063ffffffff16565b61372290919063ffffffff16565b91508573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168b7f5baa156b6be117f373c22d667acf56562fccd5a677982979b7d80776a87336d6848f8e88604051808581526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182815260200194505050505060405180910390a45b7f00000000000000000000000058fad9e3c3ae54c9ba98c3f0e4bf88ab3e8cf3c573ffffffffffffffffffffffffffffffffffffffff166323b872dd87858c6040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156131ca57600080fd5b505af11580156131de573d6000803e3d6000fd5b505050506040513d60208110156131f457600080fd5b810190808051906020019092919050505061325a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613aa96030913960400191505060405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff166342842e0e84888d6040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156132e957600080fd5b505af11580156132fd573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff168b7f695ec315e8a642a74d450a4505eeea53df699b47a7378c7d752e97d5b16eb9bb848f8e604051808481526020018373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a4839650505050505050949350505050565b6000604051806080016040528060438152602001613839604391398051906020012082600001518360200151846040015180519060200120604051602001808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001945050505050604051602081830303815290604052805190602001209050919050565b60006005548260405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b6134af8173ffffffffffffffffffffffffffffffffffffffff166117b8565b613504576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613a856024913960400191505060405180910390fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff166301ffc9a76380ac58cd60e01b6040518263ffffffff1660e01b815260040180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060206040518083038186803b15801561358057600080fd5b505afa158015613594573d6000803e3d6000fd5b505050506040513d60208110156135aa57600080fd5b8101908080519060200190929190505050613610576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806139176035913960400191505060405180910390fd5b5050565b600080828401905083811015613692576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000808314156136af576000905061371c565b60008284029050828482816136c057fe5b0414613717576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613a0a6021913960400191505060405180910390fd5b809150505b92915050565b6000808211613799576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816137a257fe5b04905092915050565b6040518060a0016040528060008019168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152509056fe5472616e73666572696e67207468652073616c6520616d6f756e7420746f20746865206f776e6572206661696c65644d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735075626c69636174696f6e2073686f756c64206265206d6f7265207468616e2031206d696e75746520696e20746865206675747572655472616e73666572696e6720746865207075626c69636174696f6e2066656520746f20746865204d61726b6574706c616365206f776e6572206661696c6564546865204e465420636f6e74726163742068617320616e20696e76616c69642045524337323120696d706c656d656e746174696f6e4e4d5423657865637574654d6574615472616e73616374696f6e3a205349474e45525f414e445f5349474e41545552455f444f5f4e4f545f4d4154434854686520636f6e7472616374206973206e6f7420617574686f72697a656420746f206d616e616765207468652061737365745468652061737365742066696e6765727072696e74206973206e6f742076616c6964546865206f776e6572206375742073686f756c64206265206265747765656e203020616e64203939392c393939536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774e4d5423657865637574654d6574615472616e73616374696f6e3a2043414c4c5f4641494c4544546865207472616e73616374696f6e206665652073686f756c64206265206265747765656e203020616e64203939392c393939546865204e465420416464726573732073686f756c64206265206120636f6e74726163745472616e73666572696e67207468652073616c6520616d6f756e7420746f207468652073656c6c6572206661696c65645468652073656c6c6572206973206e6f206c6f6e67657220746865206f776e6572a2646970667358221220c582c9fd0344a28939b2d053c57cb294a55af9405901040b04745a9da9cfef2564736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000058fad9e3c3ae54c9ba98c3f0e4bf88ab3e8cf3c500000000000000000000000000000000000000000000000000000000000186a00000000000000000000000007e307e41b6d31b8591145bd9625e3d1bcab55d950000000000000000000000007e307e41b6d31b8591145bd9625e3d1bcab55d95
-----Decoded View---------------
Arg [0] : _acceptedToken (address): 0x58FaD9E3C3AE54c9BA98c3f0E4bF88aB3E8Cf3c5
Arg [1] : _ownerCutPerMillion (uint256): 100000
Arg [2] : _owner (address): 0x7E307e41B6D31b8591145Bd9625E3D1bcaB55d95
Arg [3] : _seller (address): 0x7E307e41B6D31b8591145Bd9625E3D1bcaB55d95
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000058fad9e3c3ae54c9ba98c3f0e4bf88ab3e8cf3c5
Arg [1] : 00000000000000000000000000000000000000000000000000000000000186a0
Arg [2] : 0000000000000000000000007e307e41b6d31b8591145bd9625e3d1bcab55d95
Arg [3] : 0000000000000000000000007e307e41b6d31b8591145bd9625e3d1bcab55d95
Deployed Bytecode Sourcemap
28791:10050:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26507:1180;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30601:283;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17312:39;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17485:60;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;28113:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24843:169;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17358:120;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;16558:45;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30062:331;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22564:86;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31657:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31164:262;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20947:150;;;;;;;;;;;;;:::i;:::-;;20296:87;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32089:265;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17235:33;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17273:34;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32562:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29881:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17160:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21252:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24190:30;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26507:1180;26710:12;26735:29;26767:152;;;;;;;;26805:6;:19;26812:11;26805:19;;;;;;;;;;;;;;;;26767:152;;;;26845:11;26767:152;;;;;;26890:17;26767:152;;;26735:184;;26954:45;26961:11;26974:6;26982:4;26988;26994;26954:6;:45::i;:::-;26932:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27199:1;27177:6;:19;27184:11;27177:19;;;;;;;;;;;;;;;;:23;27155:6;:19;27162:11;27155:19;;;;;;;;;;;;;;;:45;;;;27218:117;27256:11;27282:10;27307:17;27218:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27446:12;27460:23;27495:4;27487:18;;27537:17;27556:11;27520:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27487:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27445:134;;;;27598:7;27590:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27669:10;27662:17;;;;;26507:1180;;;;;;;:::o;30601:283::-;20527:12;:10;:12::i;:::-;20516:23;;:7;:5;:7::i;:::-;:23;;;20508:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30715:7:::1;30693:19;:29;30685:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30802:19;30781:18;:40;;;;30833:45;30859:18;;30833:45;;;;;;;;;;;;;;;;;;30601:283:::0;:::o;17312:39::-;;;;:::o;17485:60::-;17534:10;17527:18;;17485:60;:::o;28113:109::-;28168:13;28202:6;:12;28209:4;28202:12;;;;;;;;;;;;;;;;28194:20;;28113:109;;;:::o;24843:169::-;24894:7;24914:10;24965:9;24959:15;;25002:2;24995:9;;;24843:169;:::o;17358:120::-;17428:45;17358:120;:::o;16558:45::-;;;:::o;30062:331::-;20527:12;:10;:12::i;:::-;20516:23;;:7;:5;:7::i;:::-;:23;;;20508:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30196:7:::1;30168:25;:35;30160:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30293:25;30266:24;:52;;;;30330:57;30362:24;;30330:57;;;;;;;;;;;;;;;;;;30062:331:::0;:::o;22564:86::-;22611:4;22635:7;;;;;;;;;;;22628:14;;22564:86;:::o;31657:127::-;22890:8;:6;:8::i;:::-;22889:9;22881:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31745:33:::1;31758:10;31770:7;31745:12;:33::i;:::-;;31657:127:::0;;:::o;31164:262::-;22890:8;:6;:8::i;:::-;22889:9;22881:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31329:91:::1;31350:10;31369:7;31385:10;31404:9;31329:12;:91::i;:::-;31164:262:::0;;;;:::o;20947:150::-;20527:12;:10;:12::i;:::-;20516:23;;:7;:5;:7::i;:::-;:23;;;20508:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21056:1:::1;21019:40;;21040:6;::::0;::::1;;;;;;;;21019:40;;;;;;;;;;;;21087:1;21070:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;20947:150::o:0;20296:87::-;20342:7;20369:6;;;;;;;;;;;20362:13;;20296:87;:::o;32089:265::-;22890:8;:6;:8::i;:::-;22889:9;22881:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32259:89:::1;32281:10;32300:7;32316:5;32330:11;32259:13;:89::i;:::-;;32089:265:::0;;;;:::o;17235:33::-;;;;:::o;17273:34::-;;;;:::o;32562:221::-;22890:8;:6;:8::i;:::-;22889:9;22881:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32697:80:::1;32719:10;32738:7;32754:5;32697:80;;;;;;;;;;;::::0;:13:::1;:80::i;:::-;;32562:221:::0;;;:::o;29881:175::-;20527:12;:10;:12::i;:::-;20516:23;;:7;:5;:7::i;:::-;:23;;;20508:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29981:15:::1;29959:19;:37;;;;30008:42;30030:19;;30008:42;;;;;;;;;;;;;;;;;;29881:175:::0;:::o;17160:68::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21252:244::-;20527:12;:10;:12::i;:::-;20516:23;;:7;:5;:7::i;:::-;:23;;;20508:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21361:1:::1;21341:22;;:8;:22;;;;21333:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21451:8;21422:38;;21443:6;::::0;::::1;;;;;;;;21422:38;;;;;;;;;;;;21480:8;21471:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;21252:244:::0;:::o;24190:30::-;;;;:::o;8249:422::-;8309:4;8517:12;8628:7;8616:20;8608:28;;8662:1;8655:4;:8;8648:15;;;8249:422;;;:::o;28230:475::-;28408:4;28451:1;28433:20;;:6;:20;;;;28425:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28538:159;28566:47;28585:27;28605:6;28585:19;:27::i;:::-;28566:18;:47::i;:::-;28632:4;28655;28678;28538:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28515:182;;:6;:182;;;28495:202;;28230:475;;;;;;;:::o;18571:634::-;18643:14;18701:4;18679:27;;:10;:27;;;18675:499;;;18723:18;18744:8;;18723:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18767:13;18783:8;;:15;;18767:31;;19035:42;19005:5;18998;18994:17;18988:24;18962:134;18952:144;;18822:289;;;;;19152:10;19143:19;;18675:499;18571:634;:::o;34920:636::-;34997:12;;:::i;:::-;35018:14;35035:12;:10;:12::i;:::-;35018:29;;35054:18;35075:14;:26;35090:10;35075:26;;;;;;;;;;;;;;;:35;35102:7;35075:35;;;;;;;;;;;35054:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35139:1;35127:13;;:5;:8;;;:13;;35119:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35195:6;35179:22;;:5;:12;;;:22;;;:43;;;;35215:7;:5;:7::i;:::-;35205:17;;:6;:17;;;35179:43;35171:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35253:15;35271:5;:8;;;35253:26;;35286:19;35308:5;:12;;;35286:34;;35327:23;35353:5;:16;;;35327:42;;35383:14;:26;35398:10;35383:26;;;;;;;;;;;;;;;:35;35410:7;35383:35;;;;;;;;;;;;35376:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35487:11;35432:97;;35471:7;35432:97;35455:7;35507:15;35432:97;;;;;;;;;;;;;;;;;;;;;;;;;;35545:5;35538:12;;;;;;;34920:636;;;;:::o;33063:1626::-;33210:26;33225:10;33210:14;:26::i;:::-;33245:14;33262:12;:10;:12::i;:::-;33245:29;;33283:27;33329:10;33283:57;;33347:18;33368:11;:19;;;33388:7;33368:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33347:49;;33423:10;33413:20;;:6;:20;;;33405:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33537:4;33493:49;;:11;:23;;;33517:7;33493:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:49;;;:108;;;;33546:11;:28;;;33575:10;33595:4;33546:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33493:108;33477:192;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33697:1;33684:10;:14;33676:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33759:30;33779:9;33759:15;:19;;:30;;;;:::i;:::-;33747:9;:42;33739:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33857:15;33920;33946:10;33967:7;33985:10;34006;33893:132;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33875:157;;;;;;33857:175;;34079:147;;;;;;;;34098:7;34079:147;;;;34122:10;34079:147;;;;;;34153:10;34079:147;;;;;;34179:10;34079:147;;;;34209:9;34079:147;;;34041:14;:26;34056:10;34041:26;;;;;;;;;;;;;;;:35;34068:7;34041:35;;;;;;;;;;;:185;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34357:1;34335:19;;:23;34331:213;;;34387:13;:26;;;34414:6;34422:7;:5;:7::i;:::-;34431:19;;34387:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34369:167;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34331:213;34610:10;34557:126;;34594:7;34557:126;34578:7;34629:10;34648;34667:9;34557:126;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33063:1626;;;;;;;;:::o;35824:2658::-;35972:12;;:::i;:::-;35996:26;36011:10;35996:14;:26::i;:::-;36031:14;36048:12;:10;:12::i;:::-;36031:29;;36069:28;36117:10;36069:59;;36141:11;:29;;;17428:45;36141:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36137:210;;;36232:11;:29;;;36262:7;36271:11;36232:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36214:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36137:210;36353:18;36374:14;:26;36389:10;36374:26;;;;;;;;;;;;;;;:35;36401:7;36374:35;;;;;;;;;;;36353:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36438:1;36426:13;;:5;:8;;;:13;;36418:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36472:14;36489:5;:12;;;36472:29;;36536:1;36518:20;;:6;:20;;;;36510:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36583:6;36573:16;;:6;:16;;;;36565:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36641:5;36626;:11;;;:20;36618:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36708:5;:15;;;36690;:33;36682:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36770:11;:19;;;36790:7;36770:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36760:38;;:6;:38;;;36752:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36845:20;36878:15;36896:5;:8;;;36878:26;;36918:14;:26;36933:10;36918:26;;;;;;;;;;;;;;;:35;36945:7;36918:35;;;;;;;;;;;;36911:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36987:1;36966:18;;:22;:49;;;;;37002:13;36992:23;;:6;:23;;;36966:49;36962:339;;;37075:42;37109:7;37075:29;37085:18;;37075:5;:9;;:29;;;;:::i;:::-;:33;;:42;;;;:::i;:::-;37057:60;;37207:6;37133:152;;37190:6;37133:152;;37172:7;37133:152;37154:7;37224:10;37245:5;37261:15;37133:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36962:339;37339:1;37313:24;;:27;:54;;;;;37354:13;37344:23;;:6;:23;;;;37313:54;37309:718;;;37395:48;37435:7;37395:35;37405:24;;37395:5;:9;;:35;;;;:::i;:::-;:39;;:48;;;;:::i;:::-;37379:64;;37530:13;:26;;;37557:6;37565:7;:5;:7::i;:::-;37574:15;37530:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37508:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37683:15;37676:22;;;;37783:52;37827:7;37783:39;37803:18;;37783:15;:19;;:39;;;;:::i;:::-;:43;;:52;;;;:::i;:::-;37765:70;;37933:6;37851:168;;37914:6;37851:168;;37894:7;37851:168;37874:7;37952:10;37975:5;37993:15;37851:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37309:718;38090:13;:26;;;38117:6;38125;38133:5;38090:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38074:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38243:11;:28;;;38280:6;38295;38310:7;38243:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38442:6;38338:117;;38394:6;38338:117;;38378:7;38338:117;38362:7;38409:10;38428:5;38338:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38471:5;38464:12;;;;;;;;35824:2658;;;;;;:::o;27695:410::-;27805:7;25851:100;;;;;;;;;;;;;;;;;25831:127;;;;;;27959:6;:12;;;27994:6;:11;;;28038:6;:24;;;28028:35;;;;;;27878:204;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27850:247;;;;;;27830:267;;27695:410;;;:::o;25381:253::-;25480:7;25582:15;;25599:11;25553:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25525:101;;;;;;25505:121;;25381:253;;;:::o;38488:350::-;38561:23;:10;:21;;;:23::i;:::-;38553:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38634:27;38680:10;38634:57;;38714:11;:29;;;17534:10;17527:18;;38714:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38698:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38488:350;;:::o;2820:179::-;2878:7;2898:9;2914:1;2910;:5;2898:17;;2939:1;2934;:6;;2926:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2990:1;2983:8;;;2820:179;;;;:::o;3699:220::-;3757:7;3786:1;3781;:6;3777:20;;;3796:1;3789:8;;;;3777:20;3808:9;3824:1;3820;:5;3808:17;;3853:1;3848;3844;:5;;;;;;:10;3836:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3910:1;3903:8;;;3699:220;;;;;:::o;4397:153::-;4455:7;4487:1;4483;:5;4475:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4541:1;4537;:5;;;;;;4530:12;;4397:153;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://c582c9fd0344a28939b2d053c57cb294a55af9405901040b04745a9da9cfef25
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.