Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 86 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Sell | 13993292 | 1196 days ago | IN | 0 ETH | 0.00911271 | ||||
Sell | 12870452 | 1371 days ago | IN | 0 ETH | 0.00213082 | ||||
Buy | 12813783 | 1380 days ago | IN | 0.09252282 ETH | 0.00647271 | ||||
Buy | 12679959 | 1401 days ago | IN | 0.00863237 ETH | 0.00274065 | ||||
Buy | 12600916 | 1413 days ago | IN | 0.01777463 ETH | 0.00258886 | ||||
Add Stock | 12600868 | 1413 days ago | IN | 0 ETH | 0.0007411 | ||||
Buy | 12523237 | 1425 days ago | IN | 0.66767594 ETH | 0.00424612 | ||||
Set Reserve | 12517659 | 1426 days ago | IN | 0.83964329 ETH | 0.00092086 | ||||
Buy | 12517651 | 1426 days ago | IN | 0.01757666 ETH | 0.00611325 | ||||
Add Stock | 12517396 | 1426 days ago | IN | 0 ETH | 0.00185324 | ||||
Buy | 12427149 | 1440 days ago | IN | 0.00657418 ETH | 0.01576277 | ||||
Add Stock | 12424107 | 1440 days ago | IN | 0 ETH | 0.0056075 | ||||
Sell | 12337150 | 1454 days ago | IN | 0 ETH | 0.00579826 | ||||
Sell | 12337057 | 1454 days ago | IN | 0 ETH | 0.00265084 | ||||
Set Reserve | 12330170 | 1455 days ago | IN | 9.71719827 ETH | 0.0029354 | ||||
Buy | 12330141 | 1455 days ago | IN | 0.28280172 ETH | 0.02106047 | ||||
Buy | 12330140 | 1455 days ago | IN | 0.2827225 ETH | 0.00563812 | ||||
Buy | 12323226 | 1456 days ago | IN | 0.29162695 ETH | 0.00269175 | ||||
Buy | 12323192 | 1456 days ago | IN | 0.29115976 ETH | 0.00269086 | ||||
Add Stock | 12323167 | 1456 days ago | IN | 0 ETH | 0.00342849 | ||||
Set Reserve | 12313926 | 1457 days ago | IN | 0 ETH | 0.00120863 | ||||
Set Reserve | 12285450 | 1462 days ago | IN | 0.38556847 ETH | 0.00397448 | ||||
Sell | 12285446 | 1462 days ago | IN | 0 ETH | 0.01612788 | ||||
Sell | 12285435 | 1462 days ago | IN | 0 ETH | 0.00679932 | ||||
Set Reserve | 12285429 | 1462 days ago | IN | 0.72938364 ETH | 0.00401344 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Method | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|---|
- | 12870452 | 1371 days ago | 0.0967302 ETH | ||||
- | 12813783 | 1380 days ago | 0.09252282 ETH | ||||
- | 12679959 | 1401 days ago | 0.00863237 ETH | ||||
- | 12600916 | 1413 days ago | 0.01777463 ETH | ||||
- | 12523237 | 1425 days ago | 0.66767594 ETH | ||||
- | 12337150 | 1454 days ago | 0.86379414 ETH | ||||
- | 12285446 | 1462 days ago | 0.38556847 ETH | ||||
- | 12285351 | 1462 days ago | 0.3873982 ETH | ||||
- | 12284183 | 1462 days ago | 0.13140386 ETH | ||||
- | 12284179 | 1462 days ago | 1.18494317 ETH | ||||
- | 12284175 | 1462 days ago | 1.18761696 ETH | ||||
- | 12284166 | 1462 days ago | 1.18879247 ETH | ||||
- | 12284161 | 1462 days ago | 1.18734533 ETH | ||||
- | 12246656 | 1468 days ago | 1.04034846 ETH | ||||
- | 12245873 | 1468 days ago | 0.94831808 ETH | ||||
- | 12245867 | 1468 days ago | 1.08260691 ETH | ||||
- | 12245781 | 1468 days ago | 0.54132286 ETH | ||||
- | 12245748 | 1468 days ago | 1.2038175 ETH | ||||
- | 12245745 | 1468 days ago | 1.20879767 ETH | ||||
- | 12245549 | 1468 days ago | 0.80952003 ETH | ||||
- | 12245540 | 1468 days ago | 0.80625315 ETH | ||||
- | 12240168 | 1469 days ago | 0.85331745 ETH | ||||
- | 12239977 | 1469 days ago | 0.54901084 ETH | ||||
- | 12239644 | 1469 days ago | 0.68159108 ETH | ||||
- | 12239624 | 1469 days ago | 0.17055951 ETH |
Loading...
Loading
Contract Name:
WStock3
Compiler Version
v0.7.3+commit.9bfce1f6
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; import "./SafeMath.sol"; import "./IERC20.sol"; import "./Context.sol"; import "./ReentrancyGuard.sol"; import "./Ownable.sol"; contract WStock3 is ReentrancyGuard, Context, Ownable { using SafeMath for uint256; constructor (address _gasToken ,address _authAddress, address payable _holdingAddress, uint256 _feeRate, uint256 _acceptableTolerance, uint256 _reserve) { GAS_TOKEN = IERC20(_gasToken); authAddress = _authAddress; holdingAddress = _holdingAddress; feeRate = _feeRate; acceptableTolerance = _acceptableTolerance; reserve = _reserve; } modifier onlyAuthorized() { require(authAddress == _msgSender(), "Unauthorized usage"); _; } IERC20 private GAS_TOKEN; mapping(bytes32 => IERC20) public stocks; address private authAddress; address payable private holdingAddress; uint256 private feeRate; uint256 private acceptableTolerance; uint256 private reserve; uint256 public totalTrades; event Trade(uint256 indexed tradeId, address account, bytes32 ticker, bool isBuy, uint256 amount, uint256 total, uint256 fee); event Reload(uint256 indexed amount, uint256 timestamp); function buy(bytes32 ticker, uint256 amount, uint256 timestamp, uint8 v, bytes32 r, bytes32 s) public payable nonReentrant { // replaced total with msg.value require(amount > 0, "Must buy an amount of tokens"); require(msg.value > 0, "total must be greater than zero"); bytes32 hash = keccak256(abi.encode(_msgSender(), ticker, amount, msg.value, timestamp)); address signer = ecrecover(hash, v, r, s); require(signer == authAddress, "Invalid signature"); require(timestamp.add(acceptableTolerance) > block.timestamp, "Expired Order"); require(address(stocks[ticker]) != address(0), "unsupported asset"); uint256 fee = msg.value.mul(feeRate); require(fee <= GAS_TOKEN.balanceOf(_msgSender()), 'insufficient gas token balance'); totalTrades++; emit Trade(totalTrades, _msgSender(), ticker, true, amount, msg.value, fee); stocks[ticker].mint(_msgSender(), amount); GAS_TOKEN.transferFrom(_msgSender(), holdingAddress, fee); if (address(this).balance >= reserve) { _safeTransfer(holdingAddress, msg.value); } else { emit Reload(reserve.sub(address(this).balance), block.timestamp); } } function sell(bytes32 ticker, uint256 amount, uint256 total, uint256 timestamp, uint8 v, bytes32 r, bytes32 s) public nonReentrant { require(amount > 0, "Must select an amount of tokens"); require(total > 0, "total must be greater than zero"); require(amount <= stocks[ticker].balanceOf(_msgSender()), "Cannot sell more than balance"); bytes32 hash = keccak256(abi.encode(_msgSender(), ticker, amount, total, timestamp)); address signer = ecrecover(hash, v, r, s); require(signer == authAddress, "Invalid signature"); require(timestamp.add(acceptableTolerance) > block.timestamp, "Expired Order"); require(total <= address(this).balance, "insufficient funds, try again later"); require(address(stocks[ticker]) != address(0), "unsupported asset"); uint256 fee = total.mul(feeRate); require(fee <= GAS_TOKEN.balanceOf(_msgSender()), 'insufficient gas token balance'); totalTrades++; emit Trade(totalTrades, _msgSender(), ticker, false, amount, total, fee); stocks[ticker].transferFrom(_msgSender(), address(this), amount); stocks[ticker].burn(amount); GAS_TOKEN.transferFrom(_msgSender(), holdingAddress, fee); _safeTransfer(_msgSender(), total); if (address(this).balance < reserve) { emit Reload(reserve.sub(address(this).balance), block.timestamp); } } function addStock(bytes32 _ticker, IERC20 _asset) public onlyAuthorized { stocks[_ticker] = _asset; } function getReserve() public view returns(uint256) { return reserve; } function setReserve(uint256 _reserve) public payable onlyAuthorized { reserve = _reserve; } function getAuthAddress() public view returns (address) { return authAddress; } function setAuthAddress(address payable _authAddress) public onlyAuthorized { authAddress = _authAddress; } function getFeeRate() public view returns (uint256) { return feeRate; } function setFeeRate(uint256 _feeRate) public onlyAuthorized { feeRate = _feeRate; } function getAcceptableTolerance() public view returns(uint256) { return acceptableTolerance; } function setAcceptableTolerance(uint256 _acceptableTolerance) public onlyAuthorized { acceptableTolerance = _acceptableTolerance; } function _safeTransfer(address payable to, uint256 amount) internal { uint256 balance; balance = address(this).balance; if (amount > balance) { amount = balance; } Address.sendValue(to, amount); } }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; interface IERC1155 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external; function mint(address to, uint256 id, uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; import "./IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; interface IERC1155Receiver { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns(bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns(bytes4); }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; import "./Address.sol"; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); function mint(address to, uint256 amount) external; function burn(uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; import "./SafeMath.sol"; import "./IERC20.sol"; import "./Context.sol"; import "./ReentrancyGuard.sol"; import "./Ownable.sol"; contract PrivateSale is ReentrancyGuard, Context, Ownable { using SafeMath for uint256; constructor (address _gasToken , address payable _holdingAddress, uint256 _price) { GAS_TOKEN = IERC20(_gasToken); holdingAddress = _holdingAddress; isFrozen = false; price = _price; } IERC20 private GAS_TOKEN; bool private isFrozen; uint256 public price; address payable private holdingAddress; function buy(uint256 amount) public payable nonReentrant { // replaced total with msg.value require(amount > 0, "Must buy an amount of tokens"); require(msg.value >= amount.mul(price), "insufficient payment"); require(!isFrozen, "contract is frozen"); GAS_TOKEN.transferFrom(holdingAddress, _msgSender(), amount.mul(1e18)); _safeTransfer(holdingAddress, msg.value); } function getIsFrozen() public view returns(bool) { return isFrozen; } function setIsFrozen(bool _isFrozen) public onlyOwner { isFrozen = _isFrozen; } function getPrice() public view returns(uint256) { return price; } function setPrice(uint256 _price) public onlyOwner { price = _price; } function _safeTransfer(address payable to, uint256 amount) internal { uint256 balance; balance = address(this).balance; if (amount > balance) { amount = balance; } Address.sendValue(to, amount); } }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity 0.7.3; import "./Context.sol"; import "./IERC20.sol"; import "./SafeMath.sol"; import "./Ownable.sol"; import "./ReentrancyGuard.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract StockToken is Context, ReentrancyGuard, IERC20, Ownable { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 public _totalSupply; string public _name; string public _symbol; uint8 public _decimals; address[] public minters; // mapping (address => bool) public whitelist; // bool public isWhitelistEnabled; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _decimals = 18; } function getMinters() public view returns(address[] memory) { return minters; } function addMinter(address _minter) public onlyOwner { require(!isMinter(_minter), "Address is already a minter"); minters.push(_minter); } function removeMinter(address _minter) public onlyOwner { require(isMinter(_minter), "Address is not a minter") ; for (uint i = 0; i < minters.length; i++) { if (minters[i] == _minter) { minters[i] = minters[minters.length - 1]; minters.pop(); return; } } } function isMinter(address _minter)public view returns (bool result) { for (uint i = 0; i < minters.length; i++) { if (minters[i] == _minter) { return true; } } return false; } // function getIsWhitelistEnabled() public view returns (bool) { // return isWhitelistEnabled; // } // function setIsWhitelistEnabled(bool value) public onlyOwner nonReentrant { // isWhitelistEnabled = value; // } // function isWhitelisted(address _addr) public view returns (bool) { // return whitelist[_addr]; // } // function addToWhitelist(address _addr) public onlyOwner nonReentrant { // whitelist[_addr] = true; // } // function removeFromWhitelist(address _addr) public onlyOwner nonReentrant { // if (whitelist[_addr]) { // delete whitelist[_addr]; // } // } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public override nonReentrant returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public override nonReentrant returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public override nonReentrant returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual nonReentrant returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual nonReentrant returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } function mint(address to, uint256 amount) public override nonReentrant { require(isMinter(_msgSender()), "Only minter can mint"); _mint(to, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } function burn(uint256 amount) public override nonReentrant { require(amount <= balanceOf(_msgSender()), "Burn more than balance"); _burn(_msgSender(), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_gasToken","type":"address"},{"internalType":"address","name":"_authAddress","type":"address"},{"internalType":"address payable","name":"_holdingAddress","type":"address"},{"internalType":"uint256","name":"_feeRate","type":"uint256"},{"internalType":"uint256","name":"_acceptableTolerance","type":"uint256"},{"internalType":"uint256","name":"_reserve","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Reload","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tradeId","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bytes32","name":"ticker","type":"bytes32"},{"indexed":false,"internalType":"bool","name":"isBuy","type":"bool"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"total","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Trade","type":"event"},{"inputs":[{"internalType":"bytes32","name":"_ticker","type":"bytes32"},{"internalType":"contract IERC20","name":"_asset","type":"address"}],"name":"addStock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"ticker","type":"bytes32"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getAcceptableTolerance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAuthAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFeeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"ticker","type":"bytes32"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"total","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"sell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_acceptableTolerance","type":"uint256"}],"name":"setAcceptableTolerance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_authAddress","type":"address"}],"name":"setAuthAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeRate","type":"uint256"}],"name":"setFeeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reserve","type":"uint256"}],"name":"setReserve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"stocks","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTrades","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
608060405234801561001057600080fd5b506040516200287838038062002878833981810160405260c081101561003557600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050506001600081905550600061009061021260201b60201c565b905080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35085600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600681905550816007819055508060088190555050505050505061021a565b600033905090565b61264e806200022a6000396000f3fe6080604052600436106100f35760003560e01c8063715018a61161008a578063b5f6b3ef11610059578063b5f6b3ef1461041e578063dc76f98a14610479578063e275c997146104a4578063f2fde38b146104cf576100f3565b8063715018a61461032157806384e5eed0146103385780638da5cb5b146103635780639cef4c70146103a4576100f3565b806345596e2e116100c657806345596e2e1461023f5780635590278e1461027a57806359bf5d39146102b557806366c3c92a146102e0576100f3565b806309f82153146100f85780630da857281461015d57806310265693146101c05780634256dbe314610211575b600080fd5b34801561010457600080fd5b506101316004803603602081101561011b57600080fd5b8101908080359060200190929190505050610520565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101be600480360360c081101561017357600080fd5b81019080803590602001909291908035906020019092919080359060200190929190803560ff1690602001909291908035906020019092919080359060200190929190505050610553565b005b3480156101cc57600080fd5b5061020f600480360360208110156101e357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e12565b005b61023d6004803603602081101561022757600080fd5b8101908080359060200190929190505050610f20565b005b34801561024b57600080fd5b506102786004803603602081101561026257600080fd5b8101908080359060200190929190505050610ff4565b005b34801561028657600080fd5b506102b36004803603602081101561029d57600080fd5b81019080803590602001909291905050506110c8565b005b3480156102c157600080fd5b506102ca61119c565b6040518082815260200191505060405180910390f35b3480156102ec57600080fd5b506102f56111a6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561032d57600080fd5b506103366111d0565b005b34801561034457600080fd5b5061034d61135b565b6040518082815260200191505060405180910390f35b34801561036f57600080fd5b50610378611365565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103b057600080fd5b5061041c600480360360e08110156103c757600080fd5b8101908080359060200190929190803590602001909291908035906020019092919080359060200190929190803560ff169060200190929190803590602001909291908035906020019092919050505061138f565b005b34801561042a57600080fd5b506104776004803603604081101561044157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611eba565b005b34801561048557600080fd5b5061048e611fda565b6040518082815260200191505060405180910390f35b3480156104b057600080fd5b506104b9611fe4565b6040518082815260200191505060405180910390f35b3480156104db57600080fd5b5061051e600480360360208110156104f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611fea565b005b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260005414156105cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506000851161064a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4d7573742062757920616e20616d6f756e74206f6620746f6b656e730000000081525060200191505060405180910390fd5b600034116106c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f746f74616c206d7573742062652067726561746572207468616e207a65726f0081525060200191505060405180910390fd5b60006106ca6121fa565b87873488604051602001808673ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200183815260200182815260200195505050505050604051602081830303815290604052805190602001209050600060018286868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610784573d6000803e3d6000fd5b505050602060405103519050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610853576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f496e76616c6964207369676e617475726500000000000000000000000000000081525060200191505060405180910390fd5b426108696007548861220290919063ffffffff16565b116108dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f45787069726564204f726465720000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360008a815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f756e737570706f7274656420617373657400000000000000000000000000000081525060200191505060405180910390fd5b60006109c96006543461228a90919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231610a116121fa565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a5b57600080fd5b505afa158015610a6f573d6000803e3d6000fd5b505050506040513d6020811015610a8557600080fd5b8101908080519060200190929190505050811115610b0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f696e73756666696369656e742067617320746f6b656e2062616c616e6365000081525060200191505060405180910390fd5b6009600081548092919060010191905055506009547f2390012f9f3f55c6cd486205a2705f3b0632a0171e531c6ff2105237107d3ebc610b496121fa565b8b60018c3487604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018515158152602001848152602001838152602001828152602001965050505050505060405180910390a2600360008a815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610bf66121fa565b8a6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610c4a57600080fd5b505af1158015610c5e573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610ca86121fa565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015610d3c57600080fd5b505af1158015610d50573d6000803e3d6000fd5b505050506040513d6020811015610d6657600080fd5b8101908080519060200190929190505050506008544710610db257610dad600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1634612310565b610dff565b610dc74760085461233090919063ffffffff16565b7fb4be0029a34928dd22f31169dfc7e4783427bb61fd5fde3172275f17a42ff8db426040518082815260200191505060405180910390a25b5050506001600081905550505050505050565b610e1a6121fa565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610edc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f556e617574686f72697a6564207573616765000000000000000000000000000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610f286121fa565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f556e617574686f72697a6564207573616765000000000000000000000000000081525060200191505060405180910390fd5b8060088190555050565b610ffc6121fa565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f556e617574686f72697a6564207573616765000000000000000000000000000081525060200191505060405180910390fd5b8060068190555050565b6110d06121fa565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f556e617574686f72697a6564207573616765000000000000000000000000000081525060200191505060405180910390fd5b8060078190555050565b6000600854905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111d86121fa565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461129a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600654905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026000541415611408576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555060008611611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4d7573742073656c65637420616e20616d6f756e74206f6620746f6b656e730081525060200191505060405180910390fd5b600085116114fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f746f74616c206d7573742062652067726561746572207468616e207a65726f0081525060200191505060405180910390fd5b6003600088815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082316115536121fa565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561159d57600080fd5b505afa1580156115b1573d6000803e3d6000fd5b505050506040513d60208110156115c757600080fd5b810190808051906020019092919050505086111561164d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f43616e6e6f742073656c6c206d6f7265207468616e2062616c616e636500000081525060200191505060405180910390fd5b60006116576121fa565b88888888604051602001808673ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200183815260200182815260200195505050505050604051602081830303815290604052805190602001209050600060018286868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611711573d6000803e3d6000fd5b505050602060405103519050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146117e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f496e76616c6964207369676e617475726500000000000000000000000000000081525060200191505060405180910390fd5b426117f66007548861220290919063ffffffff16565b11611869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f45787069726564204f726465720000000000000000000000000000000000000081525060200191505060405180910390fd5b478711156118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806125d56023913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360008b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611998576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f756e737570706f7274656420617373657400000000000000000000000000000081525060200191505060405180910390fd5b60006119af6006548961228a90919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082316119f76121fa565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611a4157600080fd5b505afa158015611a55573d6000803e3d6000fd5b505050506040513d6020811015611a6b57600080fd5b8101908080519060200190929190505050811115611af1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f696e73756666696369656e742067617320746f6b656e2062616c616e6365000081525060200191505060405180910390fd5b6009600081548092919060010191905055506009547f2390012f9f3f55c6cd486205a2705f3b0632a0171e531c6ff2105237107d3ebc611b2f6121fa565b8c60008d8d87604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018515158152602001848152602001838152602001828152602001965050505050505060405180910390a2600360008b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd611bdc6121fa565b308c6040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015611c4e57600080fd5b505af1158015611c62573d6000803e3d6000fd5b505050506040513d6020811015611c7857600080fd5b810190808051906020019092919050505050600360008b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c688a6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611d1057600080fd5b505af1158015611d24573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd611d6e6121fa565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015611e0257600080fd5b505af1158015611e16573d6000803e3d6000fd5b505050506040513d6020811015611e2c57600080fd5b810190808051906020019092919050505050611e4f611e496121fa565b89612310565b600854471015611ea657611e6e4760085461233090919063ffffffff16565b7fb4be0029a34928dd22f31169dfc7e4783427bb61fd5fde3172275f17a42ff8db426040518082815260200191505060405180910390a25b505050600160008190555050505050505050565b611ec26121fa565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f556e617574686f72697a6564207573616765000000000000000000000000000081525060200191505060405180910390fd5b806003600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000600754905090565b60095481565b611ff26121fa565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561213a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125756026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600080828401905083811015612280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561229d576000905061230a565b60008284029050828482816122ae57fe5b0414612305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806125f86021913960400191505060405180910390fd5b809150505b92915050565b600047905080821115612321578091505b61232b838361237a565b505050565b600061237283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506124b4565b905092915050565b804710156123f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a20696e73756666696369656e742062616c616e636500000081525060200191505060405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d8060008114612450576040519150601f19603f3d011682016040523d82523d6000602084013e612455565b606091505b50509050806124af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a81526020018061259b603a913960400191505060405180910390fd5b505050565b6000838311158290612561576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561252657808201518184015260208101905061250b565b50505050905090810190601f1680156125535780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838503905080915050939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564696e73756666696369656e742066756e64732c2074727920616761696e206c61746572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122078840b6f2094a78d457d7edef1e52a0cf2b80efdaf9d4aa82a3ccc000df928d264736f6c6343000703003300000000000000000000000035b55c25731e9b05b1d8480ba39463d52c9d021100000000000000000000000099e12094c228f550809f20ba196dcc95e6b8faea00000000000000000000000099e12094c228f550809f20ba196dcc95e6b8faea000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000960000000000000000000000000000000000000000000000008ac7230489e80000
Deployed Bytecode
0x6080604052600436106100f35760003560e01c8063715018a61161008a578063b5f6b3ef11610059578063b5f6b3ef1461041e578063dc76f98a14610479578063e275c997146104a4578063f2fde38b146104cf576100f3565b8063715018a61461032157806384e5eed0146103385780638da5cb5b146103635780639cef4c70146103a4576100f3565b806345596e2e116100c657806345596e2e1461023f5780635590278e1461027a57806359bf5d39146102b557806366c3c92a146102e0576100f3565b806309f82153146100f85780630da857281461015d57806310265693146101c05780634256dbe314610211575b600080fd5b34801561010457600080fd5b506101316004803603602081101561011b57600080fd5b8101908080359060200190929190505050610520565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101be600480360360c081101561017357600080fd5b81019080803590602001909291908035906020019092919080359060200190929190803560ff1690602001909291908035906020019092919080359060200190929190505050610553565b005b3480156101cc57600080fd5b5061020f600480360360208110156101e357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e12565b005b61023d6004803603602081101561022757600080fd5b8101908080359060200190929190505050610f20565b005b34801561024b57600080fd5b506102786004803603602081101561026257600080fd5b8101908080359060200190929190505050610ff4565b005b34801561028657600080fd5b506102b36004803603602081101561029d57600080fd5b81019080803590602001909291905050506110c8565b005b3480156102c157600080fd5b506102ca61119c565b6040518082815260200191505060405180910390f35b3480156102ec57600080fd5b506102f56111a6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561032d57600080fd5b506103366111d0565b005b34801561034457600080fd5b5061034d61135b565b6040518082815260200191505060405180910390f35b34801561036f57600080fd5b50610378611365565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103b057600080fd5b5061041c600480360360e08110156103c757600080fd5b8101908080359060200190929190803590602001909291908035906020019092919080359060200190929190803560ff169060200190929190803590602001909291908035906020019092919050505061138f565b005b34801561042a57600080fd5b506104776004803603604081101561044157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611eba565b005b34801561048557600080fd5b5061048e611fda565b6040518082815260200191505060405180910390f35b3480156104b057600080fd5b506104b9611fe4565b6040518082815260200191505060405180910390f35b3480156104db57600080fd5b5061051e600480360360208110156104f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611fea565b005b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260005414156105cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506000851161064a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4d7573742062757920616e20616d6f756e74206f6620746f6b656e730000000081525060200191505060405180910390fd5b600034116106c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f746f74616c206d7573742062652067726561746572207468616e207a65726f0081525060200191505060405180910390fd5b60006106ca6121fa565b87873488604051602001808673ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200183815260200182815260200195505050505050604051602081830303815290604052805190602001209050600060018286868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610784573d6000803e3d6000fd5b505050602060405103519050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610853576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f496e76616c6964207369676e617475726500000000000000000000000000000081525060200191505060405180910390fd5b426108696007548861220290919063ffffffff16565b116108dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f45787069726564204f726465720000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360008a815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f756e737570706f7274656420617373657400000000000000000000000000000081525060200191505060405180910390fd5b60006109c96006543461228a90919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231610a116121fa565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a5b57600080fd5b505afa158015610a6f573d6000803e3d6000fd5b505050506040513d6020811015610a8557600080fd5b8101908080519060200190929190505050811115610b0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f696e73756666696369656e742067617320746f6b656e2062616c616e6365000081525060200191505060405180910390fd5b6009600081548092919060010191905055506009547f2390012f9f3f55c6cd486205a2705f3b0632a0171e531c6ff2105237107d3ebc610b496121fa565b8b60018c3487604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018515158152602001848152602001838152602001828152602001965050505050505060405180910390a2600360008a815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610bf66121fa565b8a6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610c4a57600080fd5b505af1158015610c5e573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610ca86121fa565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015610d3c57600080fd5b505af1158015610d50573d6000803e3d6000fd5b505050506040513d6020811015610d6657600080fd5b8101908080519060200190929190505050506008544710610db257610dad600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1634612310565b610dff565b610dc74760085461233090919063ffffffff16565b7fb4be0029a34928dd22f31169dfc7e4783427bb61fd5fde3172275f17a42ff8db426040518082815260200191505060405180910390a25b5050506001600081905550505050505050565b610e1a6121fa565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610edc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f556e617574686f72697a6564207573616765000000000000000000000000000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610f286121fa565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f556e617574686f72697a6564207573616765000000000000000000000000000081525060200191505060405180910390fd5b8060088190555050565b610ffc6121fa565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f556e617574686f72697a6564207573616765000000000000000000000000000081525060200191505060405180910390fd5b8060068190555050565b6110d06121fa565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f556e617574686f72697a6564207573616765000000000000000000000000000081525060200191505060405180910390fd5b8060078190555050565b6000600854905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111d86121fa565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461129a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600654905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026000541415611408576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555060008611611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4d7573742073656c65637420616e20616d6f756e74206f6620746f6b656e730081525060200191505060405180910390fd5b600085116114fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f746f74616c206d7573742062652067726561746572207468616e207a65726f0081525060200191505060405180910390fd5b6003600088815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082316115536121fa565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561159d57600080fd5b505afa1580156115b1573d6000803e3d6000fd5b505050506040513d60208110156115c757600080fd5b810190808051906020019092919050505086111561164d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f43616e6e6f742073656c6c206d6f7265207468616e2062616c616e636500000081525060200191505060405180910390fd5b60006116576121fa565b88888888604051602001808673ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200183815260200182815260200195505050505050604051602081830303815290604052805190602001209050600060018286868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611711573d6000803e3d6000fd5b505050602060405103519050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146117e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f496e76616c6964207369676e617475726500000000000000000000000000000081525060200191505060405180910390fd5b426117f66007548861220290919063ffffffff16565b11611869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f45787069726564204f726465720000000000000000000000000000000000000081525060200191505060405180910390fd5b478711156118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806125d56023913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360008b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611998576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f756e737570706f7274656420617373657400000000000000000000000000000081525060200191505060405180910390fd5b60006119af6006548961228a90919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082316119f76121fa565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611a4157600080fd5b505afa158015611a55573d6000803e3d6000fd5b505050506040513d6020811015611a6b57600080fd5b8101908080519060200190929190505050811115611af1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f696e73756666696369656e742067617320746f6b656e2062616c616e6365000081525060200191505060405180910390fd5b6009600081548092919060010191905055506009547f2390012f9f3f55c6cd486205a2705f3b0632a0171e531c6ff2105237107d3ebc611b2f6121fa565b8c60008d8d87604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018515158152602001848152602001838152602001828152602001965050505050505060405180910390a2600360008b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd611bdc6121fa565b308c6040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015611c4e57600080fd5b505af1158015611c62573d6000803e3d6000fd5b505050506040513d6020811015611c7857600080fd5b810190808051906020019092919050505050600360008b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c688a6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611d1057600080fd5b505af1158015611d24573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd611d6e6121fa565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015611e0257600080fd5b505af1158015611e16573d6000803e3d6000fd5b505050506040513d6020811015611e2c57600080fd5b810190808051906020019092919050505050611e4f611e496121fa565b89612310565b600854471015611ea657611e6e4760085461233090919063ffffffff16565b7fb4be0029a34928dd22f31169dfc7e4783427bb61fd5fde3172275f17a42ff8db426040518082815260200191505060405180910390a25b505050600160008190555050505050505050565b611ec26121fa565b73ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f556e617574686f72697a6564207573616765000000000000000000000000000081525060200191505060405180910390fd5b806003600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000600754905090565b60095481565b611ff26121fa565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561213a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125756026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600080828401905083811015612280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561229d576000905061230a565b60008284029050828482816122ae57fe5b0414612305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806125f86021913960400191505060405180910390fd5b809150505b92915050565b600047905080821115612321578091505b61232b838361237a565b505050565b600061237283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506124b4565b905092915050565b804710156123f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a20696e73756666696369656e742062616c616e636500000081525060200191505060405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d8060008114612450576040519150601f19603f3d011682016040523d82523d6000602084013e612455565b606091505b50509050806124af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a81526020018061259b603a913960400191505060405180910390fd5b505050565b6000838311158290612561576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561252657808201518184015260208101905061250b565b50505050905090810190601f1680156125535780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838503905080915050939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564696e73756666696369656e742066756e64732c2074727920616761696e206c61746572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122078840b6f2094a78d457d7edef1e52a0cf2b80efdaf9d4aa82a3ccc000df928d264736f6c63430007030033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000035b55c25731e9b05b1d8480ba39463d52c9d021100000000000000000000000099e12094c228f550809f20ba196dcc95e6b8faea00000000000000000000000099e12094c228f550809f20ba196dcc95e6b8faea000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000960000000000000000000000000000000000000000000000008ac7230489e80000
-----Decoded View---------------
Arg [0] : _gasToken (address): 0x35b55c25731E9b05B1d8480ba39463d52C9D0211
Arg [1] : _authAddress (address): 0x99E12094c228F550809F20Ba196DCc95E6b8faeA
Arg [2] : _holdingAddress (address): 0x99E12094c228F550809F20Ba196DCc95E6b8faeA
Arg [3] : _feeRate (uint256): 10
Arg [4] : _acceptableTolerance (uint256): 150
Arg [5] : _reserve (uint256): 10000000000000000000
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000035b55c25731e9b05b1d8480ba39463d52c9d0211
Arg [1] : 00000000000000000000000099e12094c228f550809f20ba196dcc95e6b8faea
Arg [2] : 00000000000000000000000099e12094c228f550809f20ba196dcc95e6b8faea
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [5] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Deployed Bytecode Sourcemap
186:4671:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;771:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;1202:1165;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4093:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3904:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4290:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4487:137;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3824:77;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4005:85;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;1683:145:6;;;;;;;;;;;;;:::i;:::-;;4210:77:11;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1060::6;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2371:1338:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3713:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4383:101;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;982:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1977:240:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;771:40:11;;;;;;;;;;;;;;;;;;;;;;:::o;1202:1165::-;1679:1:8;2259:7;;:19;;2251:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1679:1;2389:7;:18;;;;1381:1:11::1;1372:6;:10;1364:51;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;1441:1;1429:9;:13;1421:57;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;1484:12;1520;:10;:12::i;:::-;1534:6;1542;1550:9;1561;1509:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1499:73;;;;;;1484:88;;1578:14;1595:24;1605:4;1611:1;1614;1617;1595:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;1578:41;;1643:11;;;;;;;;;;;1633:21;;:6;:21;;;1625:51;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;1727:15;1690:34;1704:19;;1690:9;:13;;:34;;;;:::i;:::-;:52;1682:78;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;1809:1;1774:37;;1782:6;:14;1789:6;1782:14;;;;;;;;;;;;;;;;;;;;;1774:37;;;;1766:67;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;1839:11;1853:22;1867:7;;1853:9;:13;;:22;;;;:::i;:::-;1839:36;;1896:9;;;;;;;;;;;:19;;;1916:12;:10;:12::i;:::-;1896:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;1889:3;:40;;1881:83;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;1971:11;;:13;;;;;;;;;;;;;2001:11;;1995:70;2014:12;:10;:12::i;:::-;2028:6;2036:4;2042:6;2050:9;2061:3;1995:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2071:6;:14;2078:6;2071:14;;;;;;;;;;;;;;;;;;;;;:19;;;2091:12;:10;:12::i;:::-;2105:6;2071:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;2118:9;;;;;;;;;;;:22;;;2141:12;:10;:12::i;:::-;2155:14;;;;;;;;;;;2171:3;2118:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;2210:7;;2185:21;:32;2181:182;;2227:40;2241:14;;;;;;;;;;;2257:9;2227:13;:40::i;:::-;2181:182;;;2304:34;2316:21;2304:7;;:11;;:34;;;;:::i;:::-;2297:59;2340:15;2297:59;;;;;;;;;;;;;;;;;;2181:182;2418:1:8;;;1636::::0;2562:7;:22;;;;1202:1165:11;;;;;;:::o;4093:113::-;692:12;:10;:12::i;:::-;677:27;;:11;;;;;;;;;;;:27;;;669:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4189:12:::1;4175:11;;:26;;;;;;;;;;;;;;;;;;4093:113:::0;:::o;3904:97::-;692:12;:10;:12::i;:::-;677:27;;:11;;;;;;;;;;;:27;;;669:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3988:8:::1;3978:7;:18;;;;3904:97:::0;:::o;4290:89::-;692:12;:10;:12::i;:::-;677:27;;:11;;;;;;;;;;;:27;;;669:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4366:8:::1;4356:7;:18;;;;4290:89:::0;:::o;4487:137::-;692:12;:10;:12::i;:::-;677:27;;:11;;;;;;;;;;;:27;;;669:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4599:20:::1;4577:19;:42;;;;4487:137:::0;:::o;3824:77::-;3867:7;3889;;3882:14;;3824:77;:::o;4005:85::-;4052:7;4074:11;;;;;;;;;;;4067:18;;4005:85;:::o;1683:145:6:-;1274:12;:10;:12::i;:::-;1264:22;;:6;;;;;;;;;;;:22;;;1256:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1789:1:::1;1752:40;;1773:6;;;;;;;;;;;1752:40;;;;;;;;;;;;1819:1;1802:6;;:19;;;;;;;;;;;;;;;;;;1683:145::o:0;4210:77:11:-;4253:7;4275;;4268:14;;4210:77;:::o;1060::6:-;1098:7;1124:6;;;;;;;;;;;1117:13;;1060:77;:::o;2371:1338:11:-;1679:1:8;2259:7;;:19;;2251:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1679:1;2389:7;:18;;;;2525:1:11::1;2516:6;:10;2508:54;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;2584:1;2576:5;:9;2568:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;2645:6;:14;2652:6;2645:14;;;;;;;;;;;;;;;;;;;;;:24;;;2670:12;:10;:12::i;:::-;2645:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;2635:6;:48;;2627:90;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;2723:12;2759;:10;:12::i;:::-;2773:6;2781;2789:5;2796:9;2748:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2738:69;;;;;;2723:84;;2813:14;2830:24;2840:4;2846:1;2849;2852;2830:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;2813:41;;2878:11;;;;;;;;;;;2868:21;;:6;:21;;;2860:51;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;2962:15;2925:34;2939:19;;2925:9;:13;;:34;;;;:::i;:::-;:52;2917:78;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;3018:21;3009:5;:30;;3001:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3128:1;3093:37;;3101:6;:14;3108:6;3101:14;;;;;;;;;;;;;;;;;;;;;3093:37;;;;3085:67;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;3158:11;3172:18;3182:7;;3172:5;:9;;:18;;;;:::i;:::-;3158:32;;3211:9;;;;;;;;;;;:19;;;3231:12;:10;:12::i;:::-;3211:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;3204:3;:40;;3196:83;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;3286:11;;:13;;;;;;;;;;;;;3316:11;;3310:67;3329:12;:10;:12::i;:::-;3343:6;3351:5;3358:6;3366:5;3373:3;3310:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3383:6;:14;3390:6;3383:14;;;;;;;;;;;;;;;;;;;;;:27;;;3411:12;:10;:12::i;:::-;3433:4;3440:6;3383:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;3453:6;:14;3460:6;3453:14;;;;;;;;;;;;;;;;;;;;;:19;;;3473:6;3453:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3486:9;;;;;;;;;;;:22;;;3509:12;:10;:12::i;:::-;3523:14;;;;;;;;;;;3539:3;3486:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;3549:34;3563:12;:10;:12::i;:::-;3577:5;3549:13;:34::i;:::-;3617:7;;3593:21;:31;3589:116;;;3646:34;3658:21;3646:7;;:11;;:34;;;;:::i;:::-;3639:59;3682:15;3639:59;;;;;;;;;;;;;;;;;;3589:116;2418:1:8;;;1636::::0;2562:7;:22;;;;2371:1338:11;;;;;;;:::o;3713:107::-;692:12;:10;:12::i;:::-;677:27;;:11;;;;;;;;;;;:27;;;669:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3809:6:::1;3791;:15;3798:7;3791:15;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;3713:107:::0;;:::o;4383:101::-;4438:7;4460:19;;4453:26;;4383:101;:::o;982:26::-;;;;:::o;1977:240:6:-;1274:12;:10;:12::i;:::-;1264:22;;:6;;;;;;;;;;;:22;;;1256:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2085:1:::1;2065:22;;:8;:22;;;;2057:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2174:8;2145:38;;2166:6;;;;;;;;;;;2145:38;;;;;;;;;;;;2202:8;2193:6;;:17;;;;;;;;;;;;;;;;;;1977:240:::0;:::o;589:104:1:-;642:15;676:10;669:17;;589:104;:::o;873:176:9:-;931:7;950:9;966:1;962;:5;950:17;;990:1;985;:6;;977:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1041:1;1034:8;;;873:176;;;;:::o;2179:459::-;2237:7;2483:1;2478;:6;2474:45;;;2507:1;2500:8;;;;2474:45;2529:9;2545:1;2541;:5;2529:17;;2573:1;2568;2564;:5;;;;;;:10;2556:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2630:1;2623:8;;;2179:459;;;;;:::o;4628:226:11:-;4702:15;4733:21;4723:31;;4773:7;4764:6;:16;4760:55;;;4801:7;4792:16;;4760:55;4820:29;4838:2;4842:6;4820:17;:29::i;:::-;4628:226;;;:::o;1320:134:9:-;1378:7;1404:43;1408:1;1411;1404:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1397:50;;1320:134;;;;:::o;2047:391:0:-;2161:6;2136:21;:31;;2128:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2290:12;2308:9;:14;;2331:6;2308:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2289:54;;;2361:7;2353:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2047:391;;;:::o;1745:187:9:-;1831:7;1863:1;1858;:6;;1866:12;1850:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1889:9;1905:1;1901;:5;1889:17;;1924:1;1917:8;;;1745:187;;;;;:::o
Swarm Source
ipfs://78840b6f2094a78d457d7edef1e52a0cf2b80efdaf9d4aa82a3ccc000df928d2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $1,773.48 | 14.9033 | $26,430.69 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.